@coalescesoftware/coa 7.15.1 → 7.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/coa.js CHANGED
@@ -176,7 +176,7 @@ ${v}`),h.pop(),`{${N}}`}case"number":return isFinite(A)?String(A):t?t(A):"null";
176
176
  `+s):i.stack=s}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=que(this.defaults,n);let{transitional:i,paramsSerializer:o,headers:s}=n;i!==void 0&&TIr.assertOptions(i,{silentJSONParsing:eK.transitional(eK.boolean),forcedJSONParsing:eK.transitional(eK.boolean),clarifyTimeoutError:eK.transitional(eK.boolean)},!1),o!=null&&(mr.isFunction(o)?n.paramsSerializer={serialize:o}:TIr.assertOptions(o,{encode:eK.function,serialize:eK.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&mr.merge(s.common,s[n.method]);s&&mr.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=g4.concat(a,s);let l=[],c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(c=c&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});let u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let d,p=0,f;if(!c){let h=[yAi.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);p<f;)d=d.then(h[p++],h[p++]);return d}f=l.length;let A=n;for(p=0;p<f;){let h=l[p++],y=l[p++];try{A=h(A)}catch(C){y.call(this,C);break}}try{d=yAi.call(this,A)}catch(h){return Promise.reject(h)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=que(this.defaults,t);let n=kIr(t.baseURL,t.url);return xIr(n,t.params,t.paramsSerializer)}};mr.forEach(["delete","get","head","options"],function(t){QEe.prototype[t]=function(n,i){return this.request(que(i||{},{method:t,url:n,data:(i||{}).data}))}});mr.forEach(["post","put","patch"],function(t){function n(i){return function(s,a,l){return this.request(que(l||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}QEe.prototype[t]=n(),QEe.prototype[t+"Form"]=n(!0)});var T2t=QEe,wIr=class r{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});let i=this;this.promise.then(o=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](o);i._listeners=null}),this.promise.then=o=>{let s,a=new Promise(l=>{i.subscribe(l),s=l}).then(o);return a.cancel=function(){i.unsubscribe(s)},a},t(function(s,a,l){i.reason||(i.reason=new iK(s,a,l),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new r(function(o){t=o}),cancel:t}}},Msl=wIr;function Dsl(r){return function(n){return r.apply(null,n)}}function Nsl(r){return mr.isObject(r)&&r.isAxiosError===!0}var RIr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(RIr).forEach(([r,t])=>{RIr[t]=r});var Psl=RIr;function WAi(r){let t=new T2t(r),n=vAi(T2t.prototype.request,t);return mr.extend(n,T2t.prototype,t,{allOwnKeys:!0}),mr.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return WAi(que(r,o))},n}var Fg=WAi(PIr);Fg.Axios=T2t;Fg.CanceledError=iK;Fg.CancelToken=Msl;Fg.isCancel=QAi;Fg.VERSION=w2t;Fg.toFormData=P2t;Fg.AxiosError=qo;Fg.Cancel=Fg.CanceledError;Fg.all=function(t){return Promise.all(t)};Fg.spread=Dsl;Fg.isAxiosError=Nsl;Fg.mergeConfig=que;Fg.AxiosHeaders=g4;Fg.formToJSON=r=>kAi(mr.isHTMLForm(r)?new FormData(r):r);Fg.getAdapter=GAi.getAdapter;Fg.HttpStatusCode=Psl;Fg.default=Fg;HAi.exports=Fg});var qIr=I(ex=>{"use strict";Object.defineProperty(ex,"__esModule",{value:!0});ex.RequiredError=ex.BaseAPI=ex.COLLECTION_FORMATS=ex.BASE_PATH=void 0;var ksl=LIr();ex.BASE_PATH="https://app.launchdarkly.com".replace(/\/+$/,"");ex.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};var FIr=class{constructor(t,n=ex.BASE_PATH,i=ksl.default){this.basePath=n,this.axios=i,t&&(this.configuration=t,this.basePath=t.basePath||this.basePath)}};ex.BaseAPI=FIr;var zIr=class extends Error{constructor(t,n){super(n),this.field=t,this.name="RequiredError"}};ex.RequiredError=zIr});var VAi=I(df=>{"use strict";var UIr=df&&df.__awaiter||function(r,t,n,i){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function l(d){try{u(i.next(d))}catch(p){a(p)}}function c(d){try{u(i.throw(d))}catch(p){a(p)}}function u(d){d.done?s(d.value):o(d.value).then(l,c)}u((i=i.apply(r,t||[])).next())})};Object.defineProperty(df,"__esModule",{value:!0});df.createRequestFunction=df.toPathString=df.serializeDataIfNeeded=df.setSearchParams=df.setOAuthToObject=df.setBearerAuthToObject=df.setBasicAuthToObject=df.setApiKeyToObject=df.assertParamExists=df.DUMMY_BASE_URL=void 0;var Qsl=qIr();df.DUMMY_BASE_URL="https://example.com";var Lsl=function(r,t,n){if(n==null)throw new Qsl.RequiredError(t,`Required parameter ${t} was null or undefined when calling ${r}.`)};df.assertParamExists=Lsl;var Fsl=function(r,t,n){return UIr(this,void 0,void 0,function*(){if(n&&n.apiKey){let i=typeof n.apiKey=="function"?yield n.apiKey(t):yield n.apiKey;r[t]=i}})};df.setApiKeyToObject=Fsl;var zsl=function(r,t){t&&(t.username||t.password)&&(r.auth={username:t.username,password:t.password})};df.setBasicAuthToObject=zsl;var qsl=function(r,t){return UIr(this,void 0,void 0,function*(){if(t&&t.accessToken){let n=typeof t.accessToken=="function"?yield t.accessToken():yield t.accessToken;r.Authorization="Bearer "+n}})};df.setBearerAuthToObject=qsl;var Usl=function(r,t,n,i){return UIr(this,void 0,void 0,function*(){if(i&&i.accessToken){let o=typeof i.accessToken=="function"?yield i.accessToken(t,n):yield i.accessToken;r.Authorization="Bearer "+o}})};df.setOAuthToObject=Usl;var jsl=function(r,...t){let n=new URLSearchParams(r.search);for(let i of t)for(let o in i)if(Array.isArray(i[o])){n.delete(o);for(let s of i[o])n.append(o,s)}else n.set(o,i[o]);r.search=n.toString()};df.setSearchParams=jsl;var Gsl=function(r,t,n){let i=typeof r!="string";return(i&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):i)?JSON.stringify(r!==void 0?r:{}):r||""};df.serializeDataIfNeeded=Gsl;var Wsl=function(r){return r.pathname+r.search+r.hash};df.toPathString=Wsl;var Hsl=function(r,t,n,i){return(o=t,s=n)=>{let a=Object.assign(Object.assign({},r.options),{url:(i?.basePath||s)+r.url});return o.request(a)}};df.createRequestFunction=Hsl});var YAi=I(ce=>{"use strict";var Pe=ce&&ce.__awaiter||function(r,t,n,i){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function l(d){try{u(i.next(d))}catch(p){a(p)}}function c(d){try{u(i.throw(d))}catch(p){a(p)}}function u(d){d.done?s(d.value):o(d.value).then(l,c)}u((i=i.apply(r,t||[])).next())})};Object.defineProperty(ce,"__esModule",{value:!0});ce.NamingConventionCaseEnum=ce.MetricV2RepUnitAggregationTypeEnum=ce.MetricV2RepKindEnum=ce.MetricRepAnalysisTypeEnum=ce.MetricRepUnitAggregationTypeEnum=ce.MetricRepSuccessCriteriaEnum=ce.MetricRepKindEnum=ce.MetricPostUnitAggregationTypeEnum=ce.MetricPostSuccessCriteriaEnum=ce.MetricPostKindEnum=ce.MetricListingRepAnalysisTypeEnum=ce.MetricListingRepUnitAggregationTypeEnum=ce.MetricListingRepSuccessCriteriaEnum=ce.MetricListingRepKindEnum=ce.MetricInGroupRepUnitAggregationTypeEnum=ce.MetricInGroupRepKindEnum=ce.MetricGroupRepKindEnum=ce.MetricGroupPostKindEnum=ce.InstructionUserRequestKindEnum=ce.HoldoutRepStatusEnum=ce.HoldoutDetailRepStatusEnum=ce.FlagStatusRepNameEnum=ce.FlagImportStatusStatusEnum=ce.FlagImportIntegrationIntegrationKeyEnum=ce.FlagEventImpactRepSizeEnum=ce.FlagCopyConfigPostExcludedActionsEnum=ce.FlagCopyConfigPostIncludedActionsEnum=ce.FlagConfigApprovalRequestResponseStatusEnum=ce.FlagConfigApprovalRequestResponseReviewStatusEnum=ce.FeatureFlagStatusNameEnum=ce.FeatureFlagBodyPurposeEnum=ce.FeatureFlagKindEnum=ce.ExpandedFlagRepKindEnum=ce.ExpandableApprovalRequestResponseStatusEnum=ce.ExpandableApprovalRequestResponseReviewStatusEnum=ce.DistributionKindEnum=ce.DestinationPostKindEnum=ce.DestinationKindEnum=ce.DependentMetricOrMetricGroupRepKindEnum=ce.DependentMetricGroupRepWithMetricsKindEnum=ce.DependentMetricGroupRepKindEnum=ce.CreateCopyFlagConfigApprovalRequestRequestExcludedActionsEnum=ce.CreateCopyFlagConfigApprovalRequestRequestIncludedActionsEnum=ce.BigSegmentStoreIntegrationIntegrationKeyEnum=ce.ApprovalRequestResponseStatusEnum=ce.ApprovalRequestResponseReviewStatusEnum=ce.ApplicationRepKindEnum=ce.AccessTokenPostRoleEnum=ce.AccessDeniedReasonEffectEnum=ce.AccessAllowedReasonEffectEnum=void 0;ce.AuditLogApiFactory=ce.AuditLogApiFp=ce.AuditLogApiAxiosParamCreator=ce.ApprovalsBetaApi=ce.ApprovalsBetaApiFactory=ce.ApprovalsBetaApiFp=ce.ApprovalsBetaApiAxiosParamCreator=ce.ApprovalsApi=ce.ApprovalsApiFactory=ce.ApprovalsApiFp=ce.ApprovalsApiAxiosParamCreator=ce.ApplicationsBetaApi=ce.ApplicationsBetaApiFactory=ce.ApplicationsBetaApiFp=ce.ApplicationsBetaApiAxiosParamCreator=ce.AccountUsageBetaApi=ce.AccountUsageBetaApiFactory=ce.AccountUsageBetaApiFp=ce.AccountUsageBetaApiAxiosParamCreator=ce.AccountMembersBetaApi=ce.AccountMembersBetaApiFactory=ce.AccountMembersBetaApiFp=ce.AccountMembersBetaApiAxiosParamCreator=ce.AccountMembersApi=ce.AccountMembersApiFactory=ce.AccountMembersApiFp=ce.AccountMembersApiAxiosParamCreator=ce.AccessTokensApi=ce.AccessTokensApiFactory=ce.AccessTokensApiFp=ce.AccessTokensApiAxiosParamCreator=ce.UrlPostKindEnum=ce.TreatmentResultRepModelEnum=ce.StatisticRepTypeEnum=ce.StatementPostEffectEnum=ce.StatementEffectEnum=ce.RuleClauseOpEnum=ce.ReviewResponseKindEnum=ce.RepositoryRepTypeEnum=ce.RepositoryPostTypeEnum=ce.RandomizationUnitInputStandardRandomizationUnitEnum=ce.PostDeploymentEventInputEventTypeEnum=ce.PostDeploymentEventInputApplicationKindEnum=ce.PostApprovalRequestReviewRequestKindEnum=ce.PermissionGrantInputActionSetEnum=ce.PatchSegmentInstructionTargetTypeEnum=ce.PatchSegmentInstructionKindEnum=ce.PatchSegmentExpiringTargetInstructionTargetTypeEnum=ce.PatchSegmentExpiringTargetInstructionKindEnum=ce.NewMemberFormRoleEnum=void 0;ce.HoldoutsBetaApiAxiosParamCreator=ce.FollowFlagsApi=ce.FollowFlagsApiFactory=ce.FollowFlagsApiFp=ce.FollowFlagsApiAxiosParamCreator=ce.FlagTriggersApi=ce.FlagTriggersApiFactory=ce.FlagTriggersApiFp=ce.FlagTriggersApiAxiosParamCreator=ce.FlagLinksBetaApi=ce.FlagLinksBetaApiFactory=ce.FlagLinksBetaApiFp=ce.FlagLinksBetaApiAxiosParamCreator=ce.FeatureFlagsBetaApi=ce.FeatureFlagsBetaApiFactory=ce.FeatureFlagsBetaApiFp=ce.FeatureFlagsBetaApiAxiosParamCreator=ce.FeatureFlagsApi=ce.FeatureFlagsApiFactory=ce.FeatureFlagsApiFp=ce.FeatureFlagsApiAxiosParamCreator=ce.ExperimentsApi=ce.ExperimentsApiFactory=ce.ExperimentsApiFp=ce.ExperimentsApiAxiosParamCreator=ce.EnvironmentsApi=ce.EnvironmentsApiFactory=ce.EnvironmentsApiFp=ce.EnvironmentsApiAxiosParamCreator=ce.DataExportDestinationsApi=ce.DataExportDestinationsApiFactory=ce.DataExportDestinationsApiFp=ce.DataExportDestinationsApiAxiosParamCreator=ce.CustomRolesApi=ce.CustomRolesApiFactory=ce.CustomRolesApiFp=ce.CustomRolesApiAxiosParamCreator=ce.ContextsApi=ce.ContextsApiFactory=ce.ContextsApiFp=ce.ContextsApiAxiosParamCreator=ce.ContextSettingsApi=ce.ContextSettingsApiFactory=ce.ContextSettingsApiFp=ce.ContextSettingsApiAxiosParamCreator=ce.CodeReferencesApi=ce.CodeReferencesApiFactory=ce.CodeReferencesApiFp=ce.CodeReferencesApiAxiosParamCreator=ce.AuditLogApi=void 0;ce.MetricsBetaApiFactory=ce.MetricsBetaApiFp=ce.MetricsBetaApiAxiosParamCreator=ce.MetricsApi=ce.MetricsApiFactory=ce.MetricsApiFp=ce.MetricsApiAxiosParamCreator=ce.LayersBetaApi=ce.LayersBetaApiFactory=ce.LayersBetaApiFp=ce.LayersBetaApiAxiosParamCreator=ce.IntegrationsBetaApi=ce.IntegrationsBetaApiFactory=ce.IntegrationsBetaApiFp=ce.IntegrationsBetaApiAxiosParamCreator=ce.IntegrationDeliveryConfigurationsBetaApi=ce.IntegrationDeliveryConfigurationsBetaApiFactory=ce.IntegrationDeliveryConfigurationsBetaApiFp=ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator=ce.IntegrationAuditLogSubscriptionsApi=ce.IntegrationAuditLogSubscriptionsApiFactory=ce.IntegrationAuditLogSubscriptionsApiFp=ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator=ce.InsightsScoresBetaApi=ce.InsightsScoresBetaApiFactory=ce.InsightsScoresBetaApiFp=ce.InsightsScoresBetaApiAxiosParamCreator=ce.InsightsRepositoriesBetaApi=ce.InsightsRepositoriesBetaApiFactory=ce.InsightsRepositoriesBetaApiFp=ce.InsightsRepositoriesBetaApiAxiosParamCreator=ce.InsightsPullRequestsBetaApi=ce.InsightsPullRequestsBetaApiFactory=ce.InsightsPullRequestsBetaApiFp=ce.InsightsPullRequestsBetaApiAxiosParamCreator=ce.InsightsFlagEventsBetaApi=ce.InsightsFlagEventsBetaApiFactory=ce.InsightsFlagEventsBetaApiFp=ce.InsightsFlagEventsBetaApiAxiosParamCreator=ce.InsightsDeploymentsBetaApi=ce.InsightsDeploymentsBetaApiFactory=ce.InsightsDeploymentsBetaApiFp=ce.InsightsDeploymentsBetaApiAxiosParamCreator=ce.InsightsChartsBetaApi=ce.InsightsChartsBetaApiFactory=ce.InsightsChartsBetaApiFp=ce.InsightsChartsBetaApiAxiosParamCreator=ce.HoldoutsBetaApi=ce.HoldoutsBetaApiFactory=ce.HoldoutsBetaApiFp=void 0;ce.UserSettingsApiAxiosParamCreator=ce.TeamsBetaApi=ce.TeamsBetaApiFactory=ce.TeamsBetaApiFp=ce.TeamsBetaApiAxiosParamCreator=ce.TeamsApi=ce.TeamsApiFactory=ce.TeamsApiFp=ce.TeamsApiAxiosParamCreator=ce.TagsApi=ce.TagsApiFactory=ce.TagsApiFp=ce.TagsApiAxiosParamCreator=ce.SegmentsBetaApi=ce.SegmentsBetaApiFactory=ce.SegmentsBetaApiFp=ce.SegmentsBetaApiAxiosParamCreator=ce.SegmentsApi=ce.SegmentsApiFactory=ce.SegmentsApiFp=ce.SegmentsApiAxiosParamCreator=ce.ScheduledChangesApi=ce.ScheduledChangesApiFactory=ce.ScheduledChangesApiFp=ce.ScheduledChangesApiAxiosParamCreator=ce.ReleasesBetaApi=ce.ReleasesBetaApiFactory=ce.ReleasesBetaApiFp=ce.ReleasesBetaApiAxiosParamCreator=ce.ReleasePipelinesBetaApi=ce.ReleasePipelinesBetaApiFactory=ce.ReleasePipelinesBetaApiFp=ce.ReleasePipelinesBetaApiAxiosParamCreator=ce.RelayProxyConfigurationsApi=ce.RelayProxyConfigurationsApiFactory=ce.RelayProxyConfigurationsApiFp=ce.RelayProxyConfigurationsApiAxiosParamCreator=ce.ProjectsApi=ce.ProjectsApiFactory=ce.ProjectsApiFp=ce.ProjectsApiAxiosParamCreator=ce.OtherApi=ce.OtherApiFactory=ce.OtherApiFp=ce.OtherApiAxiosParamCreator=ce.OAuth2ClientsApi=ce.OAuth2ClientsApiFactory=ce.OAuth2ClientsApiFp=ce.OAuth2ClientsApiAxiosParamCreator=ce.MetricsBetaApi=void 0;ce.WorkflowsApi=ce.WorkflowsApiFactory=ce.WorkflowsApiFp=ce.WorkflowsApiAxiosParamCreator=ce.WorkflowTemplatesApi=ce.WorkflowTemplatesApiFactory=ce.WorkflowTemplatesApiFp=ce.WorkflowTemplatesApiAxiosParamCreator=ce.WebhooksApi=ce.WebhooksApiFactory=ce.WebhooksApiFp=ce.WebhooksApiAxiosParamCreator=ce.UsersBetaApi=ce.UsersBetaApiFactory=ce.UsersBetaApiFp=ce.UsersBetaApiAxiosParamCreator=ce.UsersApi=ce.UsersApiFactory=ce.UsersApiFp=ce.UsersApiAxiosParamCreator=ce.UserSettingsApi=ce.UserSettingsApiFactory=ce.UserSettingsApiFp=void 0;var It=LIr(),B=VAi(),At=qIr();ce.AccessAllowedReasonEffectEnum={Allow:"allow",Deny:"deny"};ce.AccessDeniedReasonEffectEnum={Allow:"allow",Deny:"deny"};ce.AccessTokenPostRoleEnum={Reader:"reader",Writer:"writer",Admin:"admin"};ce.ApplicationRepKindEnum={Browser:"browser",Mobile:"mobile",Server:"server"};ce.ApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.ApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.BigSegmentStoreIntegrationIntegrationKeyEnum={Redis:"redis",Dynamodb:"dynamodb"};ce.CreateCopyFlagConfigApprovalRequestRequestIncludedActionsEnum={UpdateOn:"updateOn",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdateRules:"updateRules",UpdateTargets:"updateTargets",UpdatePrerequisites:"updatePrerequisites"};ce.CreateCopyFlagConfigApprovalRequestRequestExcludedActionsEnum={UpdateOn:"updateOn",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdateRules:"updateRules",UpdateTargets:"updateTargets",UpdatePrerequisites:"updatePrerequisites"};ce.DependentMetricGroupRepKindEnum={Funnel:"funnel",Standard:"standard"};ce.DependentMetricGroupRepWithMetricsKindEnum={Funnel:"funnel",Standard:"standard"};ce.DependentMetricOrMetricGroupRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom",Funnel:"funnel",Standard:"standard"};ce.DestinationKindEnum={GooglePubsub:"google-pubsub",Kinesis:"kinesis",Mparticle:"mparticle",Segment:"segment",AzureEventHubs:"azure-event-hubs"};ce.DestinationPostKindEnum={GooglePubsub:"google-pubsub",Kinesis:"kinesis",Mparticle:"mparticle",Segment:"segment",AzureEventHubs:"azure-event-hubs"};ce.DistributionKindEnum={Normal:"normal",Beta:"beta"};ce.ExpandableApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.ExpandableApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.ExpandedFlagRepKindEnum={Boolean:"boolean",Multivariate:"multivariate"};ce.FeatureFlagKindEnum={Boolean:"boolean",Multivariate:"multivariate"};ce.FeatureFlagBodyPurposeEnum={Migration:"migration",Holdout:"holdout"};ce.FeatureFlagStatusNameEnum={New:"new",Inactive:"inactive",Active:"active",Launched:"launched"};ce.FlagConfigApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.FlagConfigApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.FlagCopyConfigPostIncludedActionsEnum={UpdateOn:"updateOn",UpdateRules:"updateRules",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdatePrerequisites:"updatePrerequisites",UpdateTargets:"updateTargets",UpdateFlagConfigMigrationSettings:"updateFlagConfigMigrationSettings"};ce.FlagCopyConfigPostExcludedActionsEnum={UpdateOn:"updateOn",UpdateRules:"updateRules",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdatePrerequisites:"updatePrerequisites",UpdateTargets:"updateTargets",UpdateFlagConfigMigrationSettings:"updateFlagConfigMigrationSettings"};ce.FlagEventImpactRepSizeEnum={None:"none",Small:"small",Medium:"medium",Large:"large"};ce.FlagImportIntegrationIntegrationKeyEnum={Split:"split",Unleash:"unleash"};ce.FlagImportStatusStatusEnum={Complete:"complete",Importing:"importing",Pending:"pending",Failed:"failed",Partial:"partial"};ce.FlagStatusRepNameEnum={New:"new",Inactive:"inactive",Active:"active",Launched:"launched"};ce.HoldoutDetailRepStatusEnum={Created:"created",Enabled:"enabled",Running:"running",Ended:"ended"};ce.HoldoutRepStatusEnum={Created:"created",Enabled:"enabled",Running:"running",Ended:"ended"};ce.InstructionUserRequestKindEnum={AddExpireUserTargetDate:"addExpireUserTargetDate",UpdateExpireUserTargetDate:"updateExpireUserTargetDate",RemoveExpireUserTargetDate:"removeExpireUserTargetDate"};ce.MetricGroupPostKindEnum={Funnel:"funnel"};ce.MetricGroupRepKindEnum={Funnel:"funnel",Standard:"standard"};ce.MetricInGroupRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricInGroupRepUnitAggregationTypeEnum={Sum:"sum",Average:"average"};ce.MetricListingRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricListingRepSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricListingRepUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricListingRepAnalysisTypeEnum={Mean:"mean",Percentile:"percentile"};ce.MetricPostKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricPostSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricPostUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricRepSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricRepUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricRepAnalysisTypeEnum={Mean:"mean",Percentile:"percentile"};ce.MetricV2RepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricV2RepUnitAggregationTypeEnum={Sum:"sum",Average:"average"};ce.NamingConventionCaseEnum={None:"none",CamelCase:"camelCase",UpperCamelCase:"upperCamelCase",SnakeCase:"snakeCase",KebabCase:"kebabCase"};ce.NewMemberFormRoleEnum={Reader:"reader",Writer:"writer",Admin:"admin",NoAccess:"no_access"};ce.PatchSegmentExpiringTargetInstructionKindEnum={AddExpiringTarget:"addExpiringTarget",UpdateExpiringTarget:"updateExpiringTarget",RemoveExpiringTarget:"removeExpiringTarget"};ce.PatchSegmentExpiringTargetInstructionTargetTypeEnum={Included:"included",Excluded:"excluded"};ce.PatchSegmentInstructionKindEnum={AddExpireUserTargetDate:"addExpireUserTargetDate",UpdateExpireUserTargetDate:"updateExpireUserTargetDate",RemoveExpireUserTargetDate:"removeExpireUserTargetDate"};ce.PatchSegmentInstructionTargetTypeEnum={Included:"included",Excluded:"excluded"};ce.PermissionGrantInputActionSetEnum={MaintainTeam:"maintainTeam"};ce.PostApprovalRequestReviewRequestKindEnum={Approve:"approve",Comment:"comment",Decline:"decline"};ce.PostDeploymentEventInputApplicationKindEnum={Server:"server",Browser:"browser",Mobile:"mobile"};ce.PostDeploymentEventInputEventTypeEnum={Started:"started",Failed:"failed",Finished:"finished",Custom:"custom"};ce.RandomizationUnitInputStandardRandomizationUnitEnum={Guest:"guest",GuestTime:"guestTime",Organization:"organization",Request:"request",User:"user",UserTime:"userTime"};ce.RepositoryPostTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.RepositoryRepTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.ReviewResponseKindEnum={Approve:"approve",Decline:"decline",Comment:"comment"};ce.RuleClauseOpEnum={In:"in",EndsWith:"endsWith",StartsWith:"startsWith",Matches:"matches",Contains:"contains",LessThan:"lessThan",LessThanOrEqual:"lessThanOrEqual",GreaterThan:"greaterThan",GreaterThanOrEqual:"greaterThanOrEqual",Before:"before",After:"after",SegmentMatch:"segmentMatch",SemVerEqual:"semVerEqual",SemVerLessThan:"semVerLessThan",SemVerGreaterThan:"semVerGreaterThan"};ce.StatementEffectEnum={Allow:"allow",Deny:"deny"};ce.StatementPostEffectEnum={Allow:"allow",Deny:"deny"};ce.StatisticRepTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.TreatmentResultRepModelEnum={BayesianNormal:"bayesianNormal",BayesianBeta:"bayesianBeta"};ce.UrlPostKindEnum={Exact:"exact",Canonical:"canonical",Substring:"substring",Regex:"regex"};var Vsl=function(r){return{deleteToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteToken","id",t);let i="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getToken","id",t);let i="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getTokens:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){let s="/api/v2/tokens",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.showAll=t),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchToken:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchToken","id",t),(0,B.assertParamExists)("patchToken","patchOperation",n);let o="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postToken","accessTokenPost",t);let i="/api/v2/tokens",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),resetToken:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetToken","id",t);let o="/api/v2/tokens/{id}/reset".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expiry=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.AccessTokensApiAxiosParamCreator=Vsl;var Ysl=function(r){let t=(0,ce.AccessTokensApiAxiosParamCreator)(r);return{deleteToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteToken(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getToken(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getTokens(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTokens(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchToken(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchToken(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postToken(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},resetToken(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetToken(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.AccessTokensApiFp=Ysl;var Ksl=function(r,t,n){let i=(0,ce.AccessTokensApiFp)(r);return{deleteToken(o,s){return i.deleteToken(o,s).then(a=>a(n,t))},getToken(o,s){return i.getToken(o,s).then(a=>a(n,t))},getTokens(o,s,a,l){return i.getTokens(o,s,a,l).then(c=>c(n,t))},patchToken(o,s,a){return i.patchToken(o,s,a).then(l=>l(n,t))},postToken(o,s){return i.postToken(o,s).then(a=>a(n,t))},resetToken(o,s,a){return i.resetToken(o,s,a).then(l=>l(n,t))}}};ce.AccessTokensApiFactory=Ksl;var jIr=class extends At.BaseAPI{deleteToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).deleteToken(t,n).then(i=>i(this.axios,this.basePath))}getToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).getToken(t,n).then(i=>i(this.axios,this.basePath))}getTokens(t,n,i,o){return(0,ce.AccessTokensApiFp)(this.configuration).getTokens(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchToken(t,n,i){return(0,ce.AccessTokensApiFp)(this.configuration).patchToken(t,n,i).then(o=>o(this.axios,this.basePath))}postToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).postToken(t,n).then(i=>i(this.axios,this.basePath))}resetToken(t,n,i){return(0,ce.AccessTokensApiFp)(this.configuration).resetToken(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.AccessTokensApi=jIr;var Jsl=function(r){return{deleteMember:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMember","id",t);let i="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getMember:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMember","id",t);let o="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMembers:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/members",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.filter=i),o!==void 0&&(f.expand=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchMember:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMember","id",t),(0,B.assertParamExists)("patchMember","patchOperation",n);let o="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postMemberTeams:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMemberTeams","id",t),(0,B.assertParamExists)("postMemberTeams","memberTeamsPostInput",n);let o="/api/v2/members/{id}/teams".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postMembers:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMembers","newMemberForm",t);let i="/api/v2/members",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountMembersApiAxiosParamCreator=Jsl;var Xsl=function(r){let t=(0,ce.AccountMembersApiAxiosParamCreator)(r);return{deleteMember(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteMember(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getMember(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getMember(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getMembers(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getMembers(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchMember(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchMember(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postMemberTeams(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postMemberTeams(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postMembers(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postMembers(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.AccountMembersApiFp=Xsl;var $sl=function(r,t,n){let i=(0,ce.AccountMembersApiFp)(r);return{deleteMember(o,s){return i.deleteMember(o,s).then(a=>a(n,t))},getMember(o,s,a){return i.getMember(o,s,a).then(l=>l(n,t))},getMembers(o,s,a,l,c,u){return i.getMembers(o,s,a,l,c,u).then(d=>d(n,t))},patchMember(o,s,a){return i.patchMember(o,s,a).then(l=>l(n,t))},postMemberTeams(o,s,a){return i.postMemberTeams(o,s,a).then(l=>l(n,t))},postMembers(o,s){return i.postMembers(o,s).then(a=>a(n,t))}}};ce.AccountMembersApiFactory=$sl;var GIr=class extends At.BaseAPI{deleteMember(t,n){return(0,ce.AccountMembersApiFp)(this.configuration).deleteMember(t,n).then(i=>i(this.axios,this.basePath))}getMember(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).getMember(t,n,i).then(o=>o(this.axios,this.basePath))}getMembers(t,n,i,o,s,a){return(0,ce.AccountMembersApiFp)(this.configuration).getMembers(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchMember(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).patchMember(t,n,i).then(o=>o(this.axios,this.basePath))}postMemberTeams(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).postMemberTeams(t,n,i).then(o=>o(this.axios,this.basePath))}postMembers(t,n){return(0,ce.AccountMembersApiFp)(this.configuration).postMembers(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountMembersApi=GIr;var Zsl=function(r){return{patchMembers:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMembers","membersPatchInput",t);let i="/api/v2/members",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PATCH"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountMembersBetaApiAxiosParamCreator=Zsl;var eal=function(r){let t=(0,ce.AccountMembersBetaApiAxiosParamCreator)(r);return{patchMembers(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.patchMembers(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.AccountMembersBetaApiFp=eal;var tal=function(r,t,n){let i=(0,ce.AccountMembersBetaApiFp)(r);return{patchMembers(o,s){return i.patchMembers(o,s).then(a=>a(n,t))}}};ce.AccountMembersBetaApiFactory=tal;var WIr=class extends At.BaseAPI{patchMembers(t,n){return(0,ce.AccountMembersBetaApiFp)(this.configuration).patchMembers(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountMembersBetaApi=WIr;var ral=function(r){return{getDataExportEventsUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/data-export-events",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getEvaluationsUsage:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEvaluationsUsage","projectKey",t),(0,B.assertParamExists)("getEvaluationsUsage","environmentKey",n),(0,B.assertParamExists)("getEvaluationsUsage","featureFlagKey",i);let c="/api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),o!==void 0&&(A.from=o),s!==void 0&&(A.to=s),a!==void 0&&(A.tz=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getEventsUsage:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEventsUsage","type",t);let s="/api/v2/usage/events/{type}".replace("{type}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.from=n),i!==void 0&&(d.to=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExperimentationKeysUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/experimentation-keys",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getExperimentationUnitsUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/experimentation-units",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getMauSdksByType:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){let s="/api/v2/usage/mau/sdks",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.from=t),n!==void 0&&(d.to=n),i!==void 0&&(d.sdktype=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getMauUsage:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){let d="/api/v2/usage/mau",p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"GET"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),t!==void 0&&(y.from=t),n!==void 0&&(y.to=n),i!==void 0&&(y.project=i),o!==void 0&&(y.environment=o),s!==void 0&&(y.sdktype=s),a!==void 0&&(y.sdk=a),l!==void 0&&(y.anonymous=l),c!==void 0&&(y.groupby=c),(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),{url:(0,B.toPathString)(p),options:A}}),getMauUsageByCategory:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/usage/mau/bycategory",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.from=t),n!==void 0&&(u.to=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getServiceConnectionUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/service-connections",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getStreamUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsage","source",t);let a="/api/v2/usage/streams/{source}".replace("{source}",encodeURIComponent(String(t))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),n!==void 0&&(p.from=n),i!==void 0&&(p.to=i),o!==void 0&&(p.tz=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getStreamUsageBySdkVersion:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsageBySdkVersion","source",t);let c="/api/v2/usage/streams/{source}/bysdkversion".replace("{source}",encodeURIComponent(String(t))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),n!==void 0&&(A.from=n),i!==void 0&&(A.to=i),o!==void 0&&(A.tz=o),s!==void 0&&(A.sdk=s),a!==void 0&&(A.version=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getStreamUsageSdkversion:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsageSdkversion","source",t);let i="/api/v2/usage/streams/{source}/sdkversions".replace("{source}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountUsageBetaApiAxiosParamCreator=ral;var nal=function(r){let t=(0,ce.AccountUsageBetaApiAxiosParamCreator)(r);return{getDataExportEventsUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getDataExportEventsUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getEvaluationsUsage(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getEvaluationsUsage(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},getEventsUsage(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getEventsUsage(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getExperimentationKeysUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperimentationKeysUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getExperimentationUnitsUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperimentationUnitsUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getMauSdksByType(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getMauSdksByType(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getMauUsage(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.getMauUsage(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,At.BASE_PATH,r)})},getMauUsageByCategory(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getMauUsageByCategory(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getServiceConnectionUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getServiceConnectionUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getStreamUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getStreamUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getStreamUsageBySdkVersion(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getStreamUsageBySdkVersion(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},getStreamUsageSdkversion(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getStreamUsageSdkversion(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.AccountUsageBetaApiFp=nal;var ial=function(r,t,n){let i=(0,ce.AccountUsageBetaApiFp)(r);return{getDataExportEventsUsage(o,s,a,l,c){return i.getDataExportEventsUsage(o,s,a,l,c).then(u=>u(n,t))},getEvaluationsUsage(o,s,a,l,c,u,d){return i.getEvaluationsUsage(o,s,a,l,c,u,d).then(p=>p(n,t))},getEventsUsage(o,s,a,l){return i.getEventsUsage(o,s,a,l).then(c=>c(n,t))},getExperimentationKeysUsage(o,s,a,l,c){return i.getExperimentationKeysUsage(o,s,a,l,c).then(u=>u(n,t))},getExperimentationUnitsUsage(o,s,a,l,c){return i.getExperimentationUnitsUsage(o,s,a,l,c).then(u=>u(n,t))},getMauSdksByType(o,s,a,l){return i.getMauSdksByType(o,s,a,l).then(c=>c(n,t))},getMauUsage(o,s,a,l,c,u,d,p,f){return i.getMauUsage(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},getMauUsageByCategory(o,s,a){return i.getMauUsageByCategory(o,s,a).then(l=>l(n,t))},getServiceConnectionUsage(o,s,a,l,c){return i.getServiceConnectionUsage(o,s,a,l,c).then(u=>u(n,t))},getStreamUsage(o,s,a,l,c){return i.getStreamUsage(o,s,a,l,c).then(u=>u(n,t))},getStreamUsageBySdkVersion(o,s,a,l,c,u,d){return i.getStreamUsageBySdkVersion(o,s,a,l,c,u,d).then(p=>p(n,t))},getStreamUsageSdkversion(o,s){return i.getStreamUsageSdkversion(o,s).then(a=>a(n,t))}}};ce.AccountUsageBetaApiFactory=ial;var HIr=class extends At.BaseAPI{getDataExportEventsUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getDataExportEventsUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getEvaluationsUsage(t,n,i,o,s,a,l){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getEvaluationsUsage(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getEventsUsage(t,n,i,o){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getEventsUsage(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExperimentationKeysUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getExperimentationKeysUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperimentationUnitsUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getExperimentationUnitsUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getMauSdksByType(t,n,i,o){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauSdksByType(t,n,i,o).then(s=>s(this.axios,this.basePath))}getMauUsage(t,n,i,o,s,a,l,c,u){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauUsage(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}getMauUsageByCategory(t,n,i){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauUsageByCategory(t,n,i).then(o=>o(this.axios,this.basePath))}getServiceConnectionUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getServiceConnectionUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getStreamUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getStreamUsageBySdkVersion(t,n,i,o,s,a,l){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsageBySdkVersion(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getStreamUsageSdkversion(t,n){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsageSdkversion(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountUsageBetaApi=HIr;var oal=function(r){return{deleteApplication:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApplication","applicationKey",t);let i="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),deleteApplicationVersion:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApplicationVersion","applicationKey",t),(0,B.assertParamExists)("deleteApplicationVersion","versionKey",n);let o="/api/v2/applications/{applicationKey}/versions/{versionKey}".replace("{applicationKey}",encodeURIComponent(String(t))).replace("{versionKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApplication:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApplication","applicationKey",t);let o="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApplicationVersions:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApplicationVersions","applicationKey",t);let l="/api/v2/applications/{applicationKey}/versions".replace("{applicationKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.filter=n),i!==void 0&&(f.limit=i),o!==void 0&&(f.offset=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getApplications:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/applications",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.filter=t),n!==void 0&&(f.limit=n),i!==void 0&&(f.offset=i),o!==void 0&&(f.sort=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchApplication:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApplication","applicationKey",t),(0,B.assertParamExists)("patchApplication","patchOperation",n);let o="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),patchApplicationVersion:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApplicationVersion","applicationKey",t),(0,B.assertParamExists)("patchApplicationVersion","versionKey",n),(0,B.assertParamExists)("patchApplicationVersion","patchOperation",i);let s="/api/v2/applications/{applicationKey}/versions/{versionKey}".replace("{applicationKey}",encodeURIComponent(String(t))).replace("{versionKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.ApplicationsBetaApiAxiosParamCreator=oal;var sal=function(r){let t=(0,ce.ApplicationsBetaApiAxiosParamCreator)(r);return{deleteApplication(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteApplication(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteApplicationVersion(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteApplicationVersion(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getApplication(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getApplication(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getApplicationVersions(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getApplicationVersions(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getApplications(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getApplications(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchApplication(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchApplication(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchApplicationVersion(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchApplicationVersion(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.ApplicationsBetaApiFp=sal;var aal=function(r,t,n){let i=(0,ce.ApplicationsBetaApiFp)(r);return{deleteApplication(o,s){return i.deleteApplication(o,s).then(a=>a(n,t))},deleteApplicationVersion(o,s,a){return i.deleteApplicationVersion(o,s,a).then(l=>l(n,t))},getApplication(o,s,a){return i.getApplication(o,s,a).then(l=>l(n,t))},getApplicationVersions(o,s,a,l,c,u){return i.getApplicationVersions(o,s,a,l,c,u).then(d=>d(n,t))},getApplications(o,s,a,l,c,u){return i.getApplications(o,s,a,l,c,u).then(d=>d(n,t))},patchApplication(o,s,a){return i.patchApplication(o,s,a).then(l=>l(n,t))},patchApplicationVersion(o,s,a,l){return i.patchApplicationVersion(o,s,a,l).then(c=>c(n,t))}}};ce.ApplicationsBetaApiFactory=aal;var VIr=class extends At.BaseAPI{deleteApplication(t,n){return(0,ce.ApplicationsBetaApiFp)(this.configuration).deleteApplication(t,n).then(i=>i(this.axios,this.basePath))}deleteApplicationVersion(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).deleteApplicationVersion(t,n,i).then(o=>o(this.axios,this.basePath))}getApplication(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplication(t,n,i).then(o=>o(this.axios,this.basePath))}getApplicationVersions(t,n,i,o,s,a){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplicationVersions(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getApplications(t,n,i,o,s,a){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplications(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchApplication(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).patchApplication(t,n,i).then(o=>o(this.axios,this.basePath))}patchApplicationVersion(t,n,i,o){return(0,ce.ApplicationsBetaApiFp)(this.configuration).patchApplicationVersion(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.ApplicationsBetaApi=VIr;var lal=function(r){return{deleteApprovalRequest:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApprovalRequest","id",t);let i="/api/v2/approval-requests/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),deleteApprovalRequestForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApprovalRequestForFlag","projectKey",t),(0,B.assertParamExists)("deleteApprovalRequestForFlag","featureFlagKey",n),(0,B.assertParamExists)("deleteApprovalRequestForFlag","environmentKey",i),(0,B.assertParamExists)("deleteApprovalRequestForFlag","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalForFlag","projectKey",t),(0,B.assertParamExists)("getApprovalForFlag","featureFlagKey",n),(0,B.assertParamExists)("getApprovalForFlag","environmentKey",i),(0,B.assertParamExists)("getApprovalForFlag","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalRequest:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalRequest","id",t);let o="/api/v2/approval-requests/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApprovalRequests:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/approval-requests",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.filter=t),n!==void 0&&(p.expand=n),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalsForFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalsForFlag","projectKey",t),(0,B.assertParamExists)("getApprovalsForFlag","featureFlagKey",n),(0,B.assertParamExists)("getApprovalsForFlag","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),postApprovalRequest:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequest","createApprovalRequestRequest",t);let i="/api/v2/approval-requests",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),postApprovalRequestApply:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestApply","id",t),(0,B.assertParamExists)("postApprovalRequestApply","postApprovalRequestApplyRequest",n);let o="/api/v2/approval-requests/{id}/apply".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postApprovalRequestApplyForFlag:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestApplyForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","id",o),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","postApprovalRequestApplyRequest",s);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),postApprovalRequestForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestForFlag","createFlagConfigApprovalRequestRequest",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postApprovalRequestReview:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestReview","id",t),(0,B.assertParamExists)("postApprovalRequestReview","postApprovalRequestReviewRequest",n);let o="/api/v2/approval-requests/{id}/reviews".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postApprovalRequestReviewForFlag:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestReviewForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","id",o),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","postApprovalRequestReviewRequest",s);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),postFlagCopyConfigApprovalRequest:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","projectKey",t),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","featureFlagKey",n),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","environmentKey",i),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","createCopyFlagConfigApprovalRequestRequest",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.ApprovalsApiAxiosParamCreator=lal;var ual=function(r){let t=(0,ce.ApprovalsApiAxiosParamCreator)(r);return{deleteApprovalRequest(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteApprovalRequest(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteApprovalRequestForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteApprovalRequestForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getApprovalForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getApprovalForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getApprovalRequest(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getApprovalRequest(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getApprovalRequests(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getApprovalRequests(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getApprovalsForFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getApprovalsForFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postApprovalRequest(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postApprovalRequest(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},postApprovalRequestApply(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postApprovalRequestApply(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postApprovalRequestApplyForFlag(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postApprovalRequestApplyForFlag(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},postApprovalRequestForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postApprovalRequestForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},postApprovalRequestReview(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postApprovalRequestReview(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postApprovalRequestReviewForFlag(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postApprovalRequestReviewForFlag(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},postFlagCopyConfigApprovalRequest(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postFlagCopyConfigApprovalRequest(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.ApprovalsApiFp=ual;var cal=function(r,t,n){let i=(0,ce.ApprovalsApiFp)(r);return{deleteApprovalRequest(o,s){return i.deleteApprovalRequest(o,s).then(a=>a(n,t))},deleteApprovalRequestForFlag(o,s,a,l,c){return i.deleteApprovalRequestForFlag(o,s,a,l,c).then(u=>u(n,t))},getApprovalForFlag(o,s,a,l,c){return i.getApprovalForFlag(o,s,a,l,c).then(u=>u(n,t))},getApprovalRequest(o,s,a){return i.getApprovalRequest(o,s,a).then(l=>l(n,t))},getApprovalRequests(o,s,a,l,c){return i.getApprovalRequests(o,s,a,l,c).then(u=>u(n,t))},getApprovalsForFlag(o,s,a,l){return i.getApprovalsForFlag(o,s,a,l).then(c=>c(n,t))},postApprovalRequest(o,s){return i.postApprovalRequest(o,s).then(a=>a(n,t))},postApprovalRequestApply(o,s,a){return i.postApprovalRequestApply(o,s,a).then(l=>l(n,t))},postApprovalRequestApplyForFlag(o,s,a,l,c,u){return i.postApprovalRequestApplyForFlag(o,s,a,l,c,u).then(d=>d(n,t))},postApprovalRequestForFlag(o,s,a,l,c){return i.postApprovalRequestForFlag(o,s,a,l,c).then(u=>u(n,t))},postApprovalRequestReview(o,s,a){return i.postApprovalRequestReview(o,s,a).then(l=>l(n,t))},postApprovalRequestReviewForFlag(o,s,a,l,c,u){return i.postApprovalRequestReviewForFlag(o,s,a,l,c,u).then(d=>d(n,t))},postFlagCopyConfigApprovalRequest(o,s,a,l,c){return i.postFlagCopyConfigApprovalRequest(o,s,a,l,c).then(u=>u(n,t))}}};ce.ApprovalsApiFactory=cal;var YIr=class extends At.BaseAPI{deleteApprovalRequest(t,n){return(0,ce.ApprovalsApiFp)(this.configuration).deleteApprovalRequest(t,n).then(i=>i(this.axios,this.basePath))}deleteApprovalRequestForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).deleteApprovalRequestForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalRequest(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalRequest(t,n,i).then(o=>o(this.axios,this.basePath))}getApprovalRequests(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalRequests(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalsForFlag(t,n,i,o){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalsForFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}postApprovalRequest(t,n){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequest(t,n).then(i=>i(this.axios,this.basePath))}postApprovalRequestApply(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestApply(t,n,i).then(o=>o(this.axios,this.basePath))}postApprovalRequestApplyForFlag(t,n,i,o,s,a){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestApplyForFlag(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}postApprovalRequestForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postApprovalRequestReview(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestReview(t,n,i).then(o=>o(this.axios,this.basePath))}postApprovalRequestReviewForFlag(t,n,i,o,s,a){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestReviewForFlag(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}postFlagCopyConfigApprovalRequest(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).postFlagCopyConfigApprovalRequest(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ApprovalsApi=YIr;var dal=function(r){return{patchApprovalRequest:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApprovalRequest","projectKey",t),(0,B.assertParamExists)("patchApprovalRequest","featureFlagKey",n),(0,B.assertParamExists)("patchApprovalRequest","environmentKey",i),(0,B.assertParamExists)("patchApprovalRequest","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.ApprovalsBetaApiAxiosParamCreator=dal;var pal=function(r){let t=(0,ce.ApprovalsBetaApiAxiosParamCreator)(r);return{patchApprovalRequest(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchApprovalRequest(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.ApprovalsBetaApiFp=pal;var fal=function(r,t,n){let i=(0,ce.ApprovalsBetaApiFp)(r);return{patchApprovalRequest(o,s,a,l,c){return i.patchApprovalRequest(o,s,a,l,c).then(u=>u(n,t))}}};ce.ApprovalsBetaApiFactory=fal;var KIr=class extends At.BaseAPI{patchApprovalRequest(t,n,i,o,s){return(0,ce.ApprovalsBetaApiFp)(this.configuration).patchApprovalRequest(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ApprovalsBetaApi=KIr;var Aal=function(r){return{getAuditLogEntries:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/auditlog",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.before=t),n!==void 0&&(f.after=n),i!==void 0&&(f.q=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.spec=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getAuditLogEntry:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAuditLogEntry","id",t);let i="/api/v2/auditlog/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),postAuditLogEntries:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/auditlog",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.before=t),n!==void 0&&(f.after=n),i!==void 0&&(f.q=i),o!==void 0&&(f.limit=o),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.AuditLogApiAxiosParamCreator=Aal;var hal=function(r){let t=(0,ce.AuditLogApiAxiosParamCreator)(r);return{getAuditLogEntries(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getAuditLogEntries(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getAuditLogEntry(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getAuditLogEntry(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},postAuditLogEntries(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postAuditLogEntries(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})}}};ce.AuditLogApiFp=hal;var gal=function(r,t,n){let i=(0,ce.AuditLogApiFp)(r);return{getAuditLogEntries(o,s,a,l,c,u){return i.getAuditLogEntries(o,s,a,l,c,u).then(d=>d(n,t))},getAuditLogEntry(o,s){return i.getAuditLogEntry(o,s).then(a=>a(n,t))},postAuditLogEntries(o,s,a,l,c,u){return i.postAuditLogEntries(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.AuditLogApiFactory=gal;var JIr=class extends At.BaseAPI{getAuditLogEntries(t,n,i,o,s,a){return(0,ce.AuditLogApiFp)(this.configuration).getAuditLogEntries(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getAuditLogEntry(t,n){return(0,ce.AuditLogApiFp)(this.configuration).getAuditLogEntry(t,n).then(i=>i(this.axios,this.basePath))}postAuditLogEntries(t,n,i,o,s,a){return(0,ce.AuditLogApiFp)(this.configuration).postAuditLogEntries(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.AuditLogApi=JIr;var mal=function(r){return{deleteBranches:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteBranches","repo",t),(0,B.assertParamExists)("deleteBranches","requestBody",n);let o="/api/v2/code-refs/repositories/{repo}/branch-delete-tasks".replace("{repo}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRepository","repo",t);let i="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getBranch:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBranch","repo",t),(0,B.assertParamExists)("getBranch","branch",n);let a="/api/v2/code-refs/repositories/{repo}/branches/{branch}".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.projKey=i),o!==void 0&&(p.flagKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBranches:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBranches","repo",t);let i="/api/v2/code-refs/repositories/{repo}/branches".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getExtinctions:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){let c="/api/v2/code-refs/extinctions",u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),t!==void 0&&(A.repoName=t),n!==void 0&&(A.branchName=n),i!==void 0&&(A.projKey=i),o!==void 0&&(A.flagKey=o),s!==void 0&&(A.from=s),a!==void 0&&(A.to=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getRepositories:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/code-refs/repositories",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.withBranches=t),n!==void 0&&(p.withReferencesForDefaultBranch=n),i!==void 0&&(p.projKey=i),o!==void 0&&(p.flagKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getRepository","repo",t);let i="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRootStatistic:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/code-refs/statistics",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getStatistics:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStatistics","projectKey",t);let o="/api/v2/code-refs/statistics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.flagKey=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchRepository:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchRepository","repo",t),(0,B.assertParamExists)("patchRepository","patchOperation",n);let o="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postExtinction:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postExtinction","repo",t),(0,B.assertParamExists)("postExtinction","branch",n),(0,B.assertParamExists)("postExtinction","extinction",i);let s="/api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postRepository","repositoryPost",t);let i="/api/v2/code-refs/repositories",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),putBranch:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putBranch","repo",t),(0,B.assertParamExists)("putBranch","branch",n),(0,B.assertParamExists)("putBranch","putBranch",i);let s="/api/v2/code-refs/repositories/{repo}/branches/{branch}".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.CodeReferencesApiAxiosParamCreator=mal;var yal=function(r){let t=(0,ce.CodeReferencesApiAxiosParamCreator)(r);return{deleteBranches(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteBranches(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},deleteRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteRepository(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getBranch(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBranch(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getBranches(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getBranches(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getExtinctions(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getExtinctions(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},getRepositories(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getRepositories(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getRepository(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getRootStatistic(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRootStatistic(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getStatistics(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getStatistics(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchRepository(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchRepository(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postExtinction(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postExtinction(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postRepository(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},putBranch(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.putBranch(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.CodeReferencesApiFp=yal;var Eal=function(r,t,n){let i=(0,ce.CodeReferencesApiFp)(r);return{deleteBranches(o,s,a){return i.deleteBranches(o,s,a).then(l=>l(n,t))},deleteRepository(o,s){return i.deleteRepository(o,s).then(a=>a(n,t))},getBranch(o,s,a,l,c){return i.getBranch(o,s,a,l,c).then(u=>u(n,t))},getBranches(o,s){return i.getBranches(o,s).then(a=>a(n,t))},getExtinctions(o,s,a,l,c,u,d){return i.getExtinctions(o,s,a,l,c,u,d).then(p=>p(n,t))},getRepositories(o,s,a,l,c){return i.getRepositories(o,s,a,l,c).then(u=>u(n,t))},getRepository(o,s){return i.getRepository(o,s).then(a=>a(n,t))},getRootStatistic(o){return i.getRootStatistic(o).then(s=>s(n,t))},getStatistics(o,s,a){return i.getStatistics(o,s,a).then(l=>l(n,t))},patchRepository(o,s,a){return i.patchRepository(o,s,a).then(l=>l(n,t))},postExtinction(o,s,a,l){return i.postExtinction(o,s,a,l).then(c=>c(n,t))},postRepository(o,s){return i.postRepository(o,s).then(a=>a(n,t))},putBranch(o,s,a,l){return i.putBranch(o,s,a,l).then(c=>c(n,t))}}};ce.CodeReferencesApiFactory=Eal;var XIr=class extends At.BaseAPI{deleteBranches(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).deleteBranches(t,n,i).then(o=>o(this.axios,this.basePath))}deleteRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).deleteRepository(t,n).then(i=>i(this.axios,this.basePath))}getBranch(t,n,i,o,s){return(0,ce.CodeReferencesApiFp)(this.configuration).getBranch(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBranches(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).getBranches(t,n).then(i=>i(this.axios,this.basePath))}getExtinctions(t,n,i,o,s,a,l){return(0,ce.CodeReferencesApiFp)(this.configuration).getExtinctions(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getRepositories(t,n,i,o,s){return(0,ce.CodeReferencesApiFp)(this.configuration).getRepositories(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).getRepository(t,n).then(i=>i(this.axios,this.basePath))}getRootStatistic(t){return(0,ce.CodeReferencesApiFp)(this.configuration).getRootStatistic(t).then(n=>n(this.axios,this.basePath))}getStatistics(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).getStatistics(t,n,i).then(o=>o(this.axios,this.basePath))}patchRepository(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).patchRepository(t,n,i).then(o=>o(this.axios,this.basePath))}postExtinction(t,n,i,o){return(0,ce.CodeReferencesApiFp)(this.configuration).postExtinction(t,n,i,o).then(s=>s(this.axios,this.basePath))}postRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).postRepository(t,n).then(i=>i(this.axios,this.basePath))}putBranch(t,n,i,o){return(0,ce.CodeReferencesApiFp)(this.configuration).putBranch(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.CodeReferencesApi=XIr;var bal=function(r){return{putContextFlagSetting:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putContextFlagSetting","projectKey",t),(0,B.assertParamExists)("putContextFlagSetting","environmentKey",n),(0,B.assertParamExists)("putContextFlagSetting","contextKind",i),(0,B.assertParamExists)("putContextFlagSetting","contextKey",o),(0,B.assertParamExists)("putContextFlagSetting","featureFlagKey",s),(0,B.assertParamExists)("putContextFlagSetting","valuePut",a);let c="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{contextKind}/{contextKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{contextKind}",encodeURIComponent(String(i))).replace("{contextKey}",encodeURIComponent(String(o))).replace("{featureFlagKey}",encodeURIComponent(String(s))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"PUT"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(a,p,r),{url:(0,B.toPathString)(u),options:p}})}};ce.ContextSettingsApiAxiosParamCreator=bal;var Cal=function(r){let t=(0,ce.ContextSettingsApiAxiosParamCreator)(r);return{putContextFlagSetting(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.putContextFlagSetting(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})}}};ce.ContextSettingsApiFp=Cal;var Ial=function(r,t,n){let i=(0,ce.ContextSettingsApiFp)(r);return{putContextFlagSetting(o,s,a,l,c,u,d){return i.putContextFlagSetting(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.ContextSettingsApiFactory=Ial;var $Ir=class extends At.BaseAPI{putContextFlagSetting(t,n,i,o,s,a,l){return(0,ce.ContextSettingsApiFp)(this.configuration).putContextFlagSetting(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.ContextSettingsApi=$Ir;var Sal=function(r){return{deleteContextInstances:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteContextInstances","projectKey",t),(0,B.assertParamExists)("deleteContextInstances","environmentKey",n),(0,B.assertParamExists)("deleteContextInstances","id",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),evaluateContextInstance:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("evaluateContextInstance","projectKey",t),(0,B.assertParamExists)("evaluateContextInstance","environmentKey",n),(0,B.assertParamExists)("evaluateContextInstance","requestBody",i);let u="/api/v2/projects/{projectKey}/environments/{environmentKey}/flags/evaluate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"POST"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),o!==void 0&&(h.limit=o),s!==void 0&&(h.offset=s),a!==void 0&&(h.sort=a),l!==void 0&&(h.filter=l),A["Content-Type"]="application/json",(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),f.data=(0,B.serializeDataIfNeeded)(i,f,r),{url:(0,B.toPathString)(d),options:f}}),getContextAttributeNames:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextAttributeNames","projectKey",t),(0,B.assertParamExists)("getContextAttributeNames","environmentKey",n);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.filter=i),o!==void 0&&(p.limit=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getContextAttributeValues:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextAttributeValues","projectKey",t),(0,B.assertParamExists)("getContextAttributeValues","environmentKey",n),(0,B.assertParamExists)("getContextAttributeValues","attributeName",i);let l="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{attributeName}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),o!==void 0&&(f.filter=o),s!==void 0&&(f.limit=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getContextInstances:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextInstances","projectKey",t),(0,B.assertParamExists)("getContextInstances","environmentKey",n),(0,B.assertParamExists)("getContextInstances","id",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"GET"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),{url:(0,B.toPathString)(p),options:A}}),getContextKindsByProjectKey:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextKindsByProjectKey","projectKey",t);let i="/api/v2/projects/{projectKey}/context-kinds".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getContexts:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContexts","projectKey",t),(0,B.assertParamExists)("getContexts","environmentKey",n),(0,B.assertParamExists)("getContexts","kind",i),(0,B.assertParamExists)("getContexts","key",o);let p="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{kind}/{key}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{kind}",encodeURIComponent(String(i))).replace("{key}",encodeURIComponent(String(o))),f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),s!==void 0&&(C.limit=s),a!==void 0&&(C.continuationToken=a),l!==void 0&&(C.sort=l),c!==void 0&&(C.filter=c),u!==void 0&&(C.includeTotalCount=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),putContextKind:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putContextKind","projectKey",t),(0,B.assertParamExists)("putContextKind","key",n),(0,B.assertParamExists)("putContextKind","upsertContextKindPayload",i);let s="/api/v2/projects/{projectKey}/context-kinds/{key}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),searchContextInstances:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("searchContextInstances","projectKey",t),(0,B.assertParamExists)("searchContextInstances","environmentKey",n),(0,B.assertParamExists)("searchContextInstances","contextInstanceSearch",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/search".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"POST"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),h["Content-Type"]="application/json",(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),A.data=(0,B.serializeDataIfNeeded)(i,A,r),{url:(0,B.toPathString)(p),options:A}}),searchContexts:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("searchContexts","projectKey",t),(0,B.assertParamExists)("searchContexts","environmentKey",n),(0,B.assertParamExists)("searchContexts","contextSearch",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/search".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"POST"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),h["Content-Type"]="application/json",(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),A.data=(0,B.serializeDataIfNeeded)(i,A,r),{url:(0,B.toPathString)(p),options:A}})}};ce.ContextsApiAxiosParamCreator=Sal;var _al=function(r){let t=(0,ce.ContextsApiAxiosParamCreator)(r);return{deleteContextInstances(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteContextInstances(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},evaluateContextInstance(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.evaluateContextInstance(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,At.BASE_PATH,r)})},getContextAttributeNames(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getContextAttributeNames(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getContextAttributeValues(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getContextAttributeValues(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getContextInstances(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.getContextInstances(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,At.BASE_PATH,r)})},getContextKindsByProjectKey(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getContextKindsByProjectKey(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getContexts(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getContexts(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,At.BASE_PATH,r)})},putContextKind(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.putContextKind(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},searchContextInstances(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.searchContextInstances(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,At.BASE_PATH,r)})},searchContexts(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.searchContexts(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,At.BASE_PATH,r)})}}};ce.ContextsApiFp=_al;var Oal=function(r,t,n){let i=(0,ce.ContextsApiFp)(r);return{deleteContextInstances(o,s,a,l){return i.deleteContextInstances(o,s,a,l).then(c=>c(n,t))},evaluateContextInstance(o,s,a,l,c,u,d,p){return i.evaluateContextInstance(o,s,a,l,c,u,d,p).then(f=>f(n,t))},getContextAttributeNames(o,s,a,l,c){return i.getContextAttributeNames(o,s,a,l,c).then(u=>u(n,t))},getContextAttributeValues(o,s,a,l,c,u){return i.getContextAttributeValues(o,s,a,l,c,u).then(d=>d(n,t))},getContextInstances(o,s,a,l,c,u,d,p,f){return i.getContextInstances(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},getContextKindsByProjectKey(o,s){return i.getContextKindsByProjectKey(o,s).then(a=>a(n,t))},getContexts(o,s,a,l,c,u,d,p,f,A){return i.getContexts(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},putContextKind(o,s,a,l){return i.putContextKind(o,s,a,l).then(c=>c(n,t))},searchContextInstances(o,s,a,l,c,u,d,p,f){return i.searchContextInstances(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},searchContexts(o,s,a,l,c,u,d,p,f){return i.searchContexts(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))}}};ce.ContextsApiFactory=Oal;var ZIr=class extends At.BaseAPI{deleteContextInstances(t,n,i,o){return(0,ce.ContextsApiFp)(this.configuration).deleteContextInstances(t,n,i,o).then(s=>s(this.axios,this.basePath))}evaluateContextInstance(t,n,i,o,s,a,l,c){return(0,ce.ContextsApiFp)(this.configuration).evaluateContextInstance(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}getContextAttributeNames(t,n,i,o,s){return(0,ce.ContextsApiFp)(this.configuration).getContextAttributeNames(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getContextAttributeValues(t,n,i,o,s,a){return(0,ce.ContextsApiFp)(this.configuration).getContextAttributeValues(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getContextInstances(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).getContextInstances(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}getContextKindsByProjectKey(t,n){return(0,ce.ContextsApiFp)(this.configuration).getContextKindsByProjectKey(t,n).then(i=>i(this.axios,this.basePath))}getContexts(t,n,i,o,s,a,l,c,u,d){return(0,ce.ContextsApiFp)(this.configuration).getContexts(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}putContextKind(t,n,i,o){return(0,ce.ContextsApiFp)(this.configuration).putContextKind(t,n,i,o).then(s=>s(this.axios,this.basePath))}searchContextInstances(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).searchContextInstances(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}searchContexts(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).searchContexts(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}};ce.ContextsApi=ZIr;var Tal=function(r){return{deleteCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteCustomRole","customRoleKey",t);let i="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getCustomRole","customRoleKey",t);let i="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getCustomRoles:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/roles",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.limit=t),n!==void 0&&(u.offset=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchCustomRole:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchCustomRole","customRoleKey",t),(0,B.assertParamExists)("patchCustomRole","patchWithComment",n);let o="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postCustomRole","customRolePost",t);let i="/api/v2/roles",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.CustomRolesApiAxiosParamCreator=Tal;var wal=function(r){let t=(0,ce.CustomRolesApiAxiosParamCreator)(r);return{deleteCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getCustomRoles(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getCustomRoles(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchCustomRole(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchCustomRole(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.CustomRolesApiFp=wal;var Ral=function(r,t,n){let i=(0,ce.CustomRolesApiFp)(r);return{deleteCustomRole(o,s){return i.deleteCustomRole(o,s).then(a=>a(n,t))},getCustomRole(o,s){return i.getCustomRole(o,s).then(a=>a(n,t))},getCustomRoles(o,s,a){return i.getCustomRoles(o,s,a).then(l=>l(n,t))},patchCustomRole(o,s,a){return i.patchCustomRole(o,s,a).then(l=>l(n,t))},postCustomRole(o,s){return i.postCustomRole(o,s).then(a=>a(n,t))}}};ce.CustomRolesApiFactory=Ral;var evr=class extends At.BaseAPI{deleteCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).deleteCustomRole(t,n).then(i=>i(this.axios,this.basePath))}getCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).getCustomRole(t,n).then(i=>i(this.axios,this.basePath))}getCustomRoles(t,n,i){return(0,ce.CustomRolesApiFp)(this.configuration).getCustomRoles(t,n,i).then(o=>o(this.axios,this.basePath))}patchCustomRole(t,n,i){return(0,ce.CustomRolesApiFp)(this.configuration).patchCustomRole(t,n,i).then(o=>o(this.axios,this.basePath))}postCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).postCustomRole(t,n).then(i=>i(this.axios,this.basePath))}};ce.CustomRolesApi=evr;var Bal=function(r){return{deleteDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteDestination","projectKey",t),(0,B.assertParamExists)("deleteDestination","environmentKey",n),(0,B.assertParamExists)("deleteDestination","id",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDestination","projectKey",t),(0,B.assertParamExists)("getDestination","environmentKey",n),(0,B.assertParamExists)("getDestination","id",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getDestinations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/destinations",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchDestination:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchDestination","projectKey",t),(0,B.assertParamExists)("patchDestination","environmentKey",n),(0,B.assertParamExists)("patchDestination","id",i),(0,B.assertParamExists)("patchDestination","patchOperation",o);let a="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postDestination","projectKey",t),(0,B.assertParamExists)("postDestination","environmentKey",n),(0,B.assertParamExists)("postDestination","destinationPost",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.DataExportDestinationsApiAxiosParamCreator=Bal;var xal=function(r){let t=(0,ce.DataExportDestinationsApiAxiosParamCreator)(r);return{deleteDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getDestinations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getDestinations(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},patchDestination(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchDestination(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},postDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.DataExportDestinationsApiFp=xal;var Mal=function(r,t,n){let i=(0,ce.DataExportDestinationsApiFp)(r);return{deleteDestination(o,s,a,l){return i.deleteDestination(o,s,a,l).then(c=>c(n,t))},getDestination(o,s,a,l){return i.getDestination(o,s,a,l).then(c=>c(n,t))},getDestinations(o){return i.getDestinations(o).then(s=>s(n,t))},patchDestination(o,s,a,l,c){return i.patchDestination(o,s,a,l,c).then(u=>u(n,t))},postDestination(o,s,a,l){return i.postDestination(o,s,a,l).then(c=>c(n,t))}}};ce.DataExportDestinationsApiFactory=Mal;var tvr=class extends At.BaseAPI{deleteDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).deleteDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}getDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).getDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}getDestinations(t){return(0,ce.DataExportDestinationsApiFp)(this.configuration).getDestinations(t).then(n=>n(this.axios,this.basePath))}patchDestination(t,n,i,o,s){return(0,ce.DataExportDestinationsApiFp)(this.configuration).patchDestination(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).postDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.DataExportDestinationsApi=tvr;var Dal=function(r){return{deleteEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteEnvironment","projectKey",t),(0,B.assertParamExists)("deleteEnvironment","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEnvironment","projectKey",t),(0,B.assertParamExists)("getEnvironment","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getEnvironmentsByProject:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEnvironmentsByProject","projectKey",t);let l="/api/v2/projects/{projectKey}/environments".replace("{projectKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.limit=n),i!==void 0&&(f.offset=i),o!==void 0&&(f.filter=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchEnvironment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchEnvironment","projectKey",t),(0,B.assertParamExists)("patchEnvironment","environmentKey",n),(0,B.assertParamExists)("patchEnvironment","patchOperation",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postEnvironment","projectKey",t),(0,B.assertParamExists)("postEnvironment","environmentPost",n);let o="/api/v2/projects/{projectKey}/environments".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),resetEnvironmentMobileKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetEnvironmentMobileKey","projectKey",t),(0,B.assertParamExists)("resetEnvironmentMobileKey","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}/mobileKey".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),resetEnvironmentSDKKey:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetEnvironmentSDKKey","projectKey",t),(0,B.assertParamExists)("resetEnvironmentSDKKey","environmentKey",n);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/apiKey".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expiry=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.EnvironmentsApiAxiosParamCreator=Dal;var Nal=function(r){let t=(0,ce.EnvironmentsApiAxiosParamCreator)(r);return{deleteEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getEnvironmentsByProject(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getEnvironmentsByProject(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchEnvironment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchEnvironment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},resetEnvironmentMobileKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetEnvironmentMobileKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},resetEnvironmentSDKKey(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.resetEnvironmentSDKKey(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.EnvironmentsApiFp=Nal;var Pal=function(r,t,n){let i=(0,ce.EnvironmentsApiFp)(r);return{deleteEnvironment(o,s,a){return i.deleteEnvironment(o,s,a).then(l=>l(n,t))},getEnvironment(o,s,a){return i.getEnvironment(o,s,a).then(l=>l(n,t))},getEnvironmentsByProject(o,s,a,l,c,u){return i.getEnvironmentsByProject(o,s,a,l,c,u).then(d=>d(n,t))},patchEnvironment(o,s,a,l){return i.patchEnvironment(o,s,a,l).then(c=>c(n,t))},postEnvironment(o,s,a){return i.postEnvironment(o,s,a).then(l=>l(n,t))},resetEnvironmentMobileKey(o,s,a){return i.resetEnvironmentMobileKey(o,s,a).then(l=>l(n,t))},resetEnvironmentSDKKey(o,s,a,l){return i.resetEnvironmentSDKKey(o,s,a,l).then(c=>c(n,t))}}};ce.EnvironmentsApiFactory=Pal;var rvr=class extends At.BaseAPI{deleteEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).deleteEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).getEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getEnvironmentsByProject(t,n,i,o,s,a){return(0,ce.EnvironmentsApiFp)(this.configuration).getEnvironmentsByProject(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchEnvironment(t,n,i,o){return(0,ce.EnvironmentsApiFp)(this.configuration).patchEnvironment(t,n,i,o).then(s=>s(this.axios,this.basePath))}postEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).postEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}resetEnvironmentMobileKey(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).resetEnvironmentMobileKey(t,n,i).then(o=>o(this.axios,this.basePath))}resetEnvironmentSDKKey(t,n,i,o){return(0,ce.EnvironmentsApiFp)(this.configuration).resetEnvironmentSDKKey(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.EnvironmentsApi=rvr;var kal=function(r){return{createExperiment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createExperiment","projectKey",t),(0,B.assertParamExists)("createExperiment","environmentKey",n),(0,B.assertParamExists)("createExperiment","experimentPost",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),createIteration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createIteration","projectKey",t),(0,B.assertParamExists)("createIteration","environmentKey",n),(0,B.assertParamExists)("createIteration","experimentKey",i),(0,B.assertParamExists)("createIteration","iterationInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),getExperiment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperiment","projectKey",t),(0,B.assertParamExists)("getExperiment","environmentKey",n),(0,B.assertParamExists)("getExperiment","experimentKey",i);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getExperimentResults:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentResults","projectKey",t),(0,B.assertParamExists)("getExperimentResults","environmentKey",n),(0,B.assertParamExists)("getExperimentResults","experimentKey",i),(0,B.assertParamExists)("getExperimentResults","metricKey",o);let c="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))).replace("{metricKey}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.iterationId=s),a!==void 0&&(A.expand=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getExperimentResultsForMetricGroup:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentResultsForMetricGroup","projectKey",t),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","environmentKey",n),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","experimentKey",i),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","metricGroupKey",o);let l="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metric-groups/{metricGroupKey}/results".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))).replace("{metricGroupKey}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),s!==void 0&&(f.iterationId=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getExperimentationSettings:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentationSettings","projectKey",t);let i="/api/v2/projects/{projectKey}/experimentation-settings".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getExperiments:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperiments","projectKey",t),(0,B.assertParamExists)("getExperiments","environmentKey",n);let u="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),i!==void 0&&(h.limit=i),o!==void 0&&(h.offset=o),s!==void 0&&(h.filter=s),a!==void 0&&(h.expand=a),l!==void 0&&(h.lifecycleState=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}}),getLegacyExperimentResults:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLegacyExperimentResults","projectKey",t),(0,B.assertParamExists)("getLegacyExperimentResults","featureFlagKey",n),(0,B.assertParamExists)("getLegacyExperimentResults","environmentKey",i),(0,B.assertParamExists)("getLegacyExperimentResults","metricKey",o);let c="/api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{metricKey}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.from=s),a!==void 0&&(A.to=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchExperiment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExperiment","projectKey",t),(0,B.assertParamExists)("patchExperiment","environmentKey",n),(0,B.assertParamExists)("patchExperiment","experimentKey",i),(0,B.assertParamExists)("patchExperiment","experimentPatchInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),putExperimentationSettings:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putExperimentationSettings","projectKey",t),(0,B.assertParamExists)("putExperimentationSettings","randomizationSettingsPut",n);let o="/api/v2/projects/{projectKey}/experimentation-settings".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PUT"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ExperimentsApiAxiosParamCreator=kal;var Qal=function(r){let t=(0,ce.ExperimentsApiAxiosParamCreator)(r);return{createExperiment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createExperiment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},createIteration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createIteration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getExperiment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperiment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getExperimentResults(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getExperimentResults(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},getExperimentResultsForMetricGroup(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getExperimentResultsForMetricGroup(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getExperimentationSettings(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getExperimentationSettings(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getExperiments(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getExperiments(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,At.BASE_PATH,r)})},getLegacyExperimentResults(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getLegacyExperimentResults(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},patchExperiment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExperiment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},putExperimentationSettings(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.putExperimentationSettings(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.ExperimentsApiFp=Qal;var Lal=function(r,t,n){let i=(0,ce.ExperimentsApiFp)(r);return{createExperiment(o,s,a,l){return i.createExperiment(o,s,a,l).then(c=>c(n,t))},createIteration(o,s,a,l,c){return i.createIteration(o,s,a,l,c).then(u=>u(n,t))},getExperiment(o,s,a,l,c){return i.getExperiment(o,s,a,l,c).then(u=>u(n,t))},getExperimentResults(o,s,a,l,c,u,d){return i.getExperimentResults(o,s,a,l,c,u,d).then(p=>p(n,t))},getExperimentResultsForMetricGroup(o,s,a,l,c,u){return i.getExperimentResultsForMetricGroup(o,s,a,l,c,u).then(d=>d(n,t))},getExperimentationSettings(o,s){return i.getExperimentationSettings(o,s).then(a=>a(n,t))},getExperiments(o,s,a,l,c,u,d,p){return i.getExperiments(o,s,a,l,c,u,d,p).then(f=>f(n,t))},getLegacyExperimentResults(o,s,a,l,c,u,d){return i.getLegacyExperimentResults(o,s,a,l,c,u,d).then(p=>p(n,t))},patchExperiment(o,s,a,l,c){return i.patchExperiment(o,s,a,l,c).then(u=>u(n,t))},putExperimentationSettings(o,s,a){return i.putExperimentationSettings(o,s,a).then(l=>l(n,t))}}};ce.ExperimentsApiFactory=Lal;var nvr=class extends At.BaseAPI{createExperiment(t,n,i,o){return(0,ce.ExperimentsApiFp)(this.configuration).createExperiment(t,n,i,o).then(s=>s(this.axios,this.basePath))}createIteration(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).createIteration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperiment(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).getExperiment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperimentResults(t,n,i,o,s,a,l){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentResults(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getExperimentResultsForMetricGroup(t,n,i,o,s,a){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentResultsForMetricGroup(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getExperimentationSettings(t,n){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentationSettings(t,n).then(i=>i(this.axios,this.basePath))}getExperiments(t,n,i,o,s,a,l,c){return(0,ce.ExperimentsApiFp)(this.configuration).getExperiments(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}getLegacyExperimentResults(t,n,i,o,s,a,l){return(0,ce.ExperimentsApiFp)(this.configuration).getLegacyExperimentResults(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchExperiment(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).patchExperiment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}putExperimentationSettings(t,n,i){return(0,ce.ExperimentsApiFp)(this.configuration).putExperimentationSettings(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ExperimentsApi=nvr;var Fal=function(r){return{copyFeatureFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("copyFeatureFlag","projectKey",t),(0,B.assertParamExists)("copyFeatureFlag","featureFlagKey",n),(0,B.assertParamExists)("copyFeatureFlag","flagCopyConfigPost",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/copy".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteFeatureFlag:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFeatureFlag","projectKey",t),(0,B.assertParamExists)("deleteFeatureFlag","featureFlagKey",n);let o="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getExpiringContextTargets:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringContextTargets","projectKey",t),(0,B.assertParamExists)("getExpiringContextTargets","environmentKey",n),(0,B.assertParamExists)("getExpiringContextTargets","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExpiringUserTargets:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringUserTargets","projectKey",t),(0,B.assertParamExists)("getExpiringUserTargets","environmentKey",n),(0,B.assertParamExists)("getExpiringUserTargets","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlag","projectKey",t),(0,B.assertParamExists)("getFeatureFlag","featureFlagKey",n);let a="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.env=i),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFeatureFlagStatus:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatus","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatus","environmentKey",n),(0,B.assertParamExists)("getFeatureFlagStatus","featureFlagKey",i);let s="/api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlagStatusAcrossEnvironments:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatusAcrossEnvironments","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatusAcrossEnvironments","featureFlagKey",n);let s="/api/v2/flag-status/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.env=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlagStatuses:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatuses","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatuses","environmentKey",n);let o="/api/v2/flag-statuses/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getFeatureFlags:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlags","projectKey",t);let A="/api/v2/flags/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),n!==void 0&&(O.env=n),i!==void 0&&(O.tag=i),o!==void 0&&(O.limit=o),s!==void 0&&(O.offset=s),a!==void 0&&(O.archived=a),l!==void 0&&(O.summary=l),c!==void 0&&(O.filter=c),u!==void 0&&(O.sort=u),d!==void 0&&(O.compare=d),p!==void 0&&(O.expand=p),(0,B.setSearchParams)(h,O);let T=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),T),f.headers),{url:(0,B.toPathString)(h),options:C}}),patchExpiringTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringTargets","projectKey",t),(0,B.assertParamExists)("patchExpiringTargets","environmentKey",n),(0,B.assertParamExists)("patchExpiringTargets","featureFlagKey",i),(0,B.assertParamExists)("patchExpiringTargets","patchFlagsRequest",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchExpiringUserTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringUserTargets","projectKey",t),(0,B.assertParamExists)("patchExpiringUserTargets","environmentKey",n),(0,B.assertParamExists)("patchExpiringUserTargets","featureFlagKey",i),(0,B.assertParamExists)("patchExpiringUserTargets","patchFlagsRequest",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchFeatureFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFeatureFlag","projectKey",t),(0,B.assertParamExists)("patchFeatureFlag","featureFlagKey",n),(0,B.assertParamExists)("patchFeatureFlag","patchWithComment",i);let a="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.ignoreConflicts=o),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(i,u,r),{url:(0,B.toPathString)(l),options:u}}),postFeatureFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFeatureFlag","projectKey",t),(0,B.assertParamExists)("postFeatureFlag","featureFlagBody",n);let s="/api/v2/flags/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.clone=i),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(n,c,r),{url:(0,B.toPathString)(a),options:c}}),postMigrationSafetyIssues:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMigrationSafetyIssues","projectKey",t),(0,B.assertParamExists)("postMigrationSafetyIssues","flagKey",n),(0,B.assertParamExists)("postMigrationSafetyIssues","environmentKey",i),(0,B.assertParamExists)("postMigrationSafetyIssues","flagSempatch",o);let a="/api/v2/projects/{projectKey}/flags/{flagKey}/environments/{environmentKey}/migration-safety-issues".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.FeatureFlagsApiAxiosParamCreator=Fal;var zal=function(r){let t=(0,ce.FeatureFlagsApiAxiosParamCreator)(r);return{copyFeatureFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.copyFeatureFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},deleteFeatureFlag(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteFeatureFlag(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getExpiringContextTargets(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringContextTargets(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getExpiringUserTargets(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringUserTargets(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFeatureFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getFeatureFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getFeatureFlagStatus(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFeatureFlagStatus(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFeatureFlagStatusAcrossEnvironments(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFeatureFlagStatusAcrossEnvironments(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFeatureFlagStatuses(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFeatureFlagStatuses(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getFeatureFlags(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getFeatureFlags(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,At.BASE_PATH,r)})},patchExpiringTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},patchExpiringUserTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringUserTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},patchFeatureFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchFeatureFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},postFeatureFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postFeatureFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postMigrationSafetyIssues(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postMigrationSafetyIssues(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.FeatureFlagsApiFp=zal;var qal=function(r,t,n){let i=(0,ce.FeatureFlagsApiFp)(r);return{copyFeatureFlag(o,s,a,l){return i.copyFeatureFlag(o,s,a,l).then(c=>c(n,t))},deleteFeatureFlag(o,s,a){return i.deleteFeatureFlag(o,s,a).then(l=>l(n,t))},getExpiringContextTargets(o,s,a,l){return i.getExpiringContextTargets(o,s,a,l).then(c=>c(n,t))},getExpiringUserTargets(o,s,a,l){return i.getExpiringUserTargets(o,s,a,l).then(c=>c(n,t))},getFeatureFlag(o,s,a,l,c){return i.getFeatureFlag(o,s,a,l,c).then(u=>u(n,t))},getFeatureFlagStatus(o,s,a,l){return i.getFeatureFlagStatus(o,s,a,l).then(c=>c(n,t))},getFeatureFlagStatusAcrossEnvironments(o,s,a,l){return i.getFeatureFlagStatusAcrossEnvironments(o,s,a,l).then(c=>c(n,t))},getFeatureFlagStatuses(o,s,a){return i.getFeatureFlagStatuses(o,s,a).then(l=>l(n,t))},getFeatureFlags(o,s,a,l,c,u,d,p,f,A,h,y){return i.getFeatureFlags(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},patchExpiringTargets(o,s,a,l,c){return i.patchExpiringTargets(o,s,a,l,c).then(u=>u(n,t))},patchExpiringUserTargets(o,s,a,l,c){return i.patchExpiringUserTargets(o,s,a,l,c).then(u=>u(n,t))},patchFeatureFlag(o,s,a,l,c){return i.patchFeatureFlag(o,s,a,l,c).then(u=>u(n,t))},postFeatureFlag(o,s,a,l){return i.postFeatureFlag(o,s,a,l).then(c=>c(n,t))},postMigrationSafetyIssues(o,s,a,l,c){return i.postMigrationSafetyIssues(o,s,a,l,c).then(u=>u(n,t))}}};ce.FeatureFlagsApiFactory=qal;var ivr=class extends At.BaseAPI{copyFeatureFlag(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).copyFeatureFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteFeatureFlag(t,n,i){return(0,ce.FeatureFlagsApiFp)(this.configuration).deleteFeatureFlag(t,n,i).then(o=>o(this.axios,this.basePath))}getExpiringContextTargets(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getExpiringContextTargets(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringUserTargets(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getExpiringUserTargets(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlag(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFeatureFlagStatus(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatus(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlagStatusAcrossEnvironments(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatusAcrossEnvironments(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlagStatuses(t,n,i){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatuses(t,n,i).then(o=>o(this.axios,this.basePath))}getFeatureFlags(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlags(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}patchExpiringTargets(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchExpiringTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchExpiringUserTargets(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchExpiringUserTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchFeatureFlag(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchFeatureFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postFeatureFlag(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).postFeatureFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}postMigrationSafetyIssues(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).postMigrationSafetyIssues(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FeatureFlagsApi=ivr;var Ual=function(r){return{getDependentFlags:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDependentFlags","projectKey",t),(0,B.assertParamExists)("getDependentFlags","featureFlagKey",n);let o="/api/v2/flags/{projectKey}/{featureFlagKey}/dependent-flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getDependentFlagsByEnv:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDependentFlagsByEnv","projectKey",t),(0,B.assertParamExists)("getDependentFlagsByEnv","environmentKey",n),(0,B.assertParamExists)("getDependentFlagsByEnv","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.FeatureFlagsBetaApiAxiosParamCreator=Ual;var jal=function(r){let t=(0,ce.FeatureFlagsBetaApiAxiosParamCreator)(r);return{getDependentFlags(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getDependentFlags(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getDependentFlagsByEnv(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getDependentFlagsByEnv(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.FeatureFlagsBetaApiFp=jal;var Gal=function(r,t,n){let i=(0,ce.FeatureFlagsBetaApiFp)(r);return{getDependentFlags(o,s,a){return i.getDependentFlags(o,s,a).then(l=>l(n,t))},getDependentFlagsByEnv(o,s,a,l){return i.getDependentFlagsByEnv(o,s,a,l).then(c=>c(n,t))}}};ce.FeatureFlagsBetaApiFactory=Gal;var ovr=class extends At.BaseAPI{getDependentFlags(t,n,i){return(0,ce.FeatureFlagsBetaApiFp)(this.configuration).getDependentFlags(t,n,i).then(o=>o(this.axios,this.basePath))}getDependentFlagsByEnv(t,n,i,o){return(0,ce.FeatureFlagsBetaApiFp)(this.configuration).getDependentFlagsByEnv(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.FeatureFlagsBetaApi=ovr;var Wal=function(r){return{createFlagLink:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createFlagLink","projectKey",t),(0,B.assertParamExists)("createFlagLink","featureFlagKey",n),(0,B.assertParamExists)("createFlagLink","flagLinkPost",i);let s="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteFlagLink:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagLink","projectKey",t),(0,B.assertParamExists)("deleteFlagLink","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagLink","id",i);let s="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFlagLinks:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagLinks","projectKey",t),(0,B.assertParamExists)("getFlagLinks","featureFlagKey",n);let o="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),updateFlagLink:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateFlagLink","projectKey",t),(0,B.assertParamExists)("updateFlagLink","featureFlagKey",n),(0,B.assertParamExists)("updateFlagLink","id",i),(0,B.assertParamExists)("updateFlagLink","patchOperation",o);let a="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.FlagLinksBetaApiAxiosParamCreator=Wal;var Hal=function(r){let t=(0,ce.FlagLinksBetaApiAxiosParamCreator)(r);return{createFlagLink(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createFlagLink(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},deleteFlagLink(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteFlagLink(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFlagLinks(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFlagLinks(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},updateFlagLink(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateFlagLink(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.FlagLinksBetaApiFp=Hal;var Val=function(r,t,n){let i=(0,ce.FlagLinksBetaApiFp)(r);return{createFlagLink(o,s,a,l){return i.createFlagLink(o,s,a,l).then(c=>c(n,t))},deleteFlagLink(o,s,a,l){return i.deleteFlagLink(o,s,a,l).then(c=>c(n,t))},getFlagLinks(o,s,a){return i.getFlagLinks(o,s,a).then(l=>l(n,t))},updateFlagLink(o,s,a,l,c){return i.updateFlagLink(o,s,a,l,c).then(u=>u(n,t))}}};ce.FlagLinksBetaApiFactory=Val;var svr=class extends At.BaseAPI{createFlagLink(t,n,i,o){return(0,ce.FlagLinksBetaApiFp)(this.configuration).createFlagLink(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteFlagLink(t,n,i,o){return(0,ce.FlagLinksBetaApiFp)(this.configuration).deleteFlagLink(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFlagLinks(t,n,i){return(0,ce.FlagLinksBetaApiFp)(this.configuration).getFlagLinks(t,n,i).then(o=>o(this.axios,this.basePath))}updateFlagLink(t,n,i,o,s){return(0,ce.FlagLinksBetaApiFp)(this.configuration).updateFlagLink(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FlagLinksBetaApi=svr;var Yal=function(r){return{createTriggerWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("createTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("createTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("createTriggerWorkflow","triggerPost",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),deleteTriggerWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("deleteTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("deleteTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("deleteTriggerWorkflow","id",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getTriggerWorkflowById:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTriggerWorkflowById","projectKey",t),(0,B.assertParamExists)("getTriggerWorkflowById","featureFlagKey",n),(0,B.assertParamExists)("getTriggerWorkflowById","environmentKey",i),(0,B.assertParamExists)("getTriggerWorkflowById","id",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getTriggerWorkflows:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTriggerWorkflows","projectKey",t),(0,B.assertParamExists)("getTriggerWorkflows","environmentKey",n),(0,B.assertParamExists)("getTriggerWorkflows","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchTriggerWorkflow:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("patchTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("patchTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("patchTriggerWorkflow","id",o),(0,B.assertParamExists)("patchTriggerWorkflow","flagTriggerInput",s);let l="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.FlagTriggersApiAxiosParamCreator=Yal;var Kal=function(r){let t=(0,ce.FlagTriggersApiAxiosParamCreator)(r);return{createTriggerWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createTriggerWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},deleteTriggerWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteTriggerWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getTriggerWorkflowById(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getTriggerWorkflowById(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getTriggerWorkflows(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTriggerWorkflows(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchTriggerWorkflow(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchTriggerWorkflow(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})}}};ce.FlagTriggersApiFp=Kal;var Jal=function(r,t,n){let i=(0,ce.FlagTriggersApiFp)(r);return{createTriggerWorkflow(o,s,a,l,c){return i.createTriggerWorkflow(o,s,a,l,c).then(u=>u(n,t))},deleteTriggerWorkflow(o,s,a,l,c){return i.deleteTriggerWorkflow(o,s,a,l,c).then(u=>u(n,t))},getTriggerWorkflowById(o,s,a,l,c){return i.getTriggerWorkflowById(o,s,a,l,c).then(u=>u(n,t))},getTriggerWorkflows(o,s,a,l){return i.getTriggerWorkflows(o,s,a,l).then(c=>c(n,t))},patchTriggerWorkflow(o,s,a,l,c,u){return i.patchTriggerWorkflow(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.FlagTriggersApiFactory=Jal;var avr=class extends At.BaseAPI{createTriggerWorkflow(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).createTriggerWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteTriggerWorkflow(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).deleteTriggerWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getTriggerWorkflowById(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).getTriggerWorkflowById(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getTriggerWorkflows(t,n,i,o){return(0,ce.FlagTriggersApiFp)(this.configuration).getTriggerWorkflows(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchTriggerWorkflow(t,n,i,o,s,a){return(0,ce.FlagTriggersApiFp)(this.configuration).patchTriggerWorkflow(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.FlagTriggersApi=avr;var Xal=function(r){return{deleteFlagFollower:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagFollower","projectKey",t),(0,B.assertParamExists)("deleteFlagFollower","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagFollower","environmentKey",i),(0,B.assertParamExists)("deleteFlagFollower","memberId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{memberId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFlagFollowers:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagFollowers","projectKey",t),(0,B.assertParamExists)("getFlagFollowers","featureFlagKey",n),(0,B.assertParamExists)("getFlagFollowers","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFollowersByProjEnv:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFollowersByProjEnv","projectKey",t),(0,B.assertParamExists)("getFollowersByProjEnv","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}/followers".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),putFlagFollower:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagFollower","projectKey",t),(0,B.assertParamExists)("putFlagFollower","featureFlagKey",n),(0,B.assertParamExists)("putFlagFollower","environmentKey",i),(0,B.assertParamExists)("putFlagFollower","memberId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{memberId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PUT"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.FollowFlagsApiAxiosParamCreator=Xal;var $al=function(r){let t=(0,ce.FollowFlagsApiAxiosParamCreator)(r);return{deleteFlagFollower(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteFlagFollower(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getFlagFollowers(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagFollowers(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFollowersByProjEnv(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFollowersByProjEnv(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},putFlagFollower(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.putFlagFollower(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.FollowFlagsApiFp=$al;var Zal=function(r,t,n){let i=(0,ce.FollowFlagsApiFp)(r);return{deleteFlagFollower(o,s,a,l,c){return i.deleteFlagFollower(o,s,a,l,c).then(u=>u(n,t))},getFlagFollowers(o,s,a,l){return i.getFlagFollowers(o,s,a,l).then(c=>c(n,t))},getFollowersByProjEnv(o,s,a){return i.getFollowersByProjEnv(o,s,a).then(l=>l(n,t))},putFlagFollower(o,s,a,l,c){return i.putFlagFollower(o,s,a,l,c).then(u=>u(n,t))}}};ce.FollowFlagsApiFactory=Zal;var lvr=class extends At.BaseAPI{deleteFlagFollower(t,n,i,o,s){return(0,ce.FollowFlagsApiFp)(this.configuration).deleteFlagFollower(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFlagFollowers(t,n,i,o){return(0,ce.FollowFlagsApiFp)(this.configuration).getFlagFollowers(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFollowersByProjEnv(t,n,i){return(0,ce.FollowFlagsApiFp)(this.configuration).getFollowersByProjEnv(t,n,i).then(o=>o(this.axios,this.basePath))}putFlagFollower(t,n,i,o,s){return(0,ce.FollowFlagsApiFp)(this.configuration).putFlagFollower(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FollowFlagsApi=lvr;var ell=function(r){return{getAllHoldouts:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllHoldouts","projectKey",t),(0,B.assertParamExists)("getAllHoldouts","environmentKey",n);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getHoldout:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getHoldout","projectKey",t),(0,B.assertParamExists)("getHoldout","environmentKey",n),(0,B.assertParamExists)("getHoldout","holdoutKey",i);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getHoldoutById:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getHoldoutById","projectKey",t),(0,B.assertParamExists)("getHoldoutById","environmentKey",n),(0,B.assertParamExists)("getHoldoutById","holdoutId",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchHoldout:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchHoldout","projectKey",t),(0,B.assertParamExists)("patchHoldout","environmentKey",n),(0,B.assertParamExists)("patchHoldout","holdoutKey",i),(0,B.assertParamExists)("patchHoldout","holdoutPatchInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postHoldout:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postHoldout","projectKey",t),(0,B.assertParamExists)("postHoldout","environmentKey",n),(0,B.assertParamExists)("postHoldout","holdoutPostRequest",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.HoldoutsBetaApiAxiosParamCreator=ell;var tll=function(r){let t=(0,ce.HoldoutsBetaApiAxiosParamCreator)(r);return{getAllHoldouts(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getAllHoldouts(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getHoldout(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getHoldout(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getHoldoutById(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getHoldoutById(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchHoldout(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchHoldout(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},postHoldout(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postHoldout(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.HoldoutsBetaApiFp=tll;var rll=function(r,t,n){let i=(0,ce.HoldoutsBetaApiFp)(r);return{getAllHoldouts(o,s,a,l,c){return i.getAllHoldouts(o,s,a,l,c).then(u=>u(n,t))},getHoldout(o,s,a,l,c){return i.getHoldout(o,s,a,l,c).then(u=>u(n,t))},getHoldoutById(o,s,a,l){return i.getHoldoutById(o,s,a,l).then(c=>c(n,t))},patchHoldout(o,s,a,l,c){return i.patchHoldout(o,s,a,l,c).then(u=>u(n,t))},postHoldout(o,s,a,l){return i.postHoldout(o,s,a,l).then(c=>c(n,t))}}};ce.HoldoutsBetaApiFactory=rll;var uvr=class extends At.BaseAPI{getAllHoldouts(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getAllHoldouts(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getHoldout(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getHoldout(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getHoldoutById(t,n,i,o){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getHoldoutById(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchHoldout(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).patchHoldout(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postHoldout(t,n,i,o){return(0,ce.HoldoutsBetaApiFp)(this.configuration).postHoldout(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.HoldoutsBetaApi=uvr;var nll=function(r){return{getDeploymentFrequencyChart:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){let p="/api/v2/engineering-insights/charts/deployments/frequency",f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),t!==void 0&&(C.projectKey=t),n!==void 0&&(C.environmentKey=n),i!==void 0&&(C.applicationKey=i),o!==void 0&&(C.from=o instanceof Date?o.toISOString():o),s!==void 0&&(C.to=s instanceof Date?s.toISOString():s),a!==void 0&&(C.bucketType=a),l!==void 0&&(C.bucketMs=l),c!==void 0&&(C.groupBy=c),u!==void 0&&(C.expand=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getFlagStatusChart:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagStatusChart","projectKey",t),(0,B.assertParamExists)("getFlagStatusChart","environmentKey",n);let s="/api/v2/engineering-insights/charts/flags/status",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.projectKey=t),n!==void 0&&(d.environmentKey=n),i!==void 0&&(d.applicationKey=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getLeadTimeChart:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLeadTimeChart","projectKey",t);let p="/api/v2/engineering-insights/charts/lead-time",f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),t!==void 0&&(C.projectKey=t),n!==void 0&&(C.environmentKey=n),i!==void 0&&(C.applicationKey=i),o!==void 0&&(C.from=o),s!==void 0&&(C.to=s),a!==void 0&&(C.bucketType=a),l!==void 0&&(C.bucketMs=l),c!==void 0&&(C.groupBy=c),u!==void 0&&(C.expand=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getReleaseFrequencyChart:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleaseFrequencyChart","projectKey",t),(0,B.assertParamExists)("getReleaseFrequencyChart","environmentKey",n);let A="/api/v2/engineering-insights/charts/releases/frequency",h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),t!==void 0&&(O.projectKey=t),n!==void 0&&(O.environmentKey=n),i!==void 0&&(O.applicationKey=i),o!==void 0&&(O.hasExperiments=o),s!==void 0&&(O.global=s),a!==void 0&&(O.groupBy=a),l!==void 0&&(O.from=l instanceof Date?l.toISOString():l),c!==void 0&&(O.to=c instanceof Date?c.toISOString():c),u!==void 0&&(O.bucketType=u),d!==void 0&&(O.bucketMs=d),p!==void 0&&(O.expand=p),(0,B.setSearchParams)(h,O);let T=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),T),f.headers),{url:(0,B.toPathString)(h),options:C}}),getStaleFlagsChart:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStaleFlagsChart","projectKey",t),(0,B.assertParamExists)("getStaleFlagsChart","environmentKey",n);let u="/api/v2/engineering-insights/charts/flags/stale",d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),t!==void 0&&(h.projectKey=t),n!==void 0&&(h.environmentKey=n),i!==void 0&&(h.applicationKey=i),o!==void 0&&(h.groupBy=o),s!==void 0&&(h.maintainerId=s),a!==void 0&&(h.maintainerTeamKey=a),l!==void 0&&(h.expand=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}})}};ce.InsightsChartsBetaApiAxiosParamCreator=nll;var ill=function(r){let t=(0,ce.InsightsChartsBetaApiAxiosParamCreator)(r);return{getDeploymentFrequencyChart(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getDeploymentFrequencyChart(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,At.BASE_PATH,r)})},getFlagStatusChart(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagStatusChart(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getLeadTimeChart(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getLeadTimeChart(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,At.BASE_PATH,r)})},getReleaseFrequencyChart(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getReleaseFrequencyChart(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,At.BASE_PATH,r)})},getStaleFlagsChart(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getStaleFlagsChart(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,At.BASE_PATH,r)})}}};ce.InsightsChartsBetaApiFp=ill;var oll=function(r,t,n){let i=(0,ce.InsightsChartsBetaApiFp)(r);return{getDeploymentFrequencyChart(o,s,a,l,c,u,d,p,f,A){return i.getDeploymentFrequencyChart(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getFlagStatusChart(o,s,a,l){return i.getFlagStatusChart(o,s,a,l).then(c=>c(n,t))},getLeadTimeChart(o,s,a,l,c,u,d,p,f,A){return i.getLeadTimeChart(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getReleaseFrequencyChart(o,s,a,l,c,u,d,p,f,A,h,y){return i.getReleaseFrequencyChart(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},getStaleFlagsChart(o,s,a,l,c,u,d,p){return i.getStaleFlagsChart(o,s,a,l,c,u,d,p).then(f=>f(n,t))}}};ce.InsightsChartsBetaApiFactory=oll;var cvr=class extends At.BaseAPI{getDeploymentFrequencyChart(t,n,i,o,s,a,l,c,u,d){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getDeploymentFrequencyChart(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getFlagStatusChart(t,n,i,o){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getFlagStatusChart(t,n,i,o).then(s=>s(this.axios,this.basePath))}getLeadTimeChart(t,n,i,o,s,a,l,c,u,d){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getLeadTimeChart(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getReleaseFrequencyChart(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getReleaseFrequencyChart(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}getStaleFlagsChart(t,n,i,o,s,a,l,c){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getStaleFlagsChart(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}};ce.InsightsChartsBetaApi=cvr;var sll=function(r){return{createDeploymentEvent:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createDeploymentEvent","postDeploymentEventInput",t);let i="/api/v2/engineering-insights/deployment-events",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),getDeployment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDeployment","deploymentID",t);let o="/api/v2/engineering-insights/deployments/{deploymentID}".replace("{deploymentID}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getDeployments:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDeployments","projectKey",t),(0,B.assertParamExists)("getDeployments","environmentKey",n);let A="/api/v2/engineering-insights/deployments",h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),t!==void 0&&(O.projectKey=t),n!==void 0&&(O.environmentKey=n),i!==void 0&&(O.applicationKey=i),o!==void 0&&(O.limit=o),s!==void 0&&(O.expand=s),a!==void 0&&(O.from=a),l!==void 0&&(O.to=l),c!==void 0&&(O.after=c),u!==void 0&&(O.before=u),d!==void 0&&(O.kind=d),p!==void 0&&(O.status=p),(0,B.setSearchParams)(h,O);let T=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),T),f.headers),{url:(0,B.toPathString)(h),options:C}}),updateDeployment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateDeployment","deploymentID",t),(0,B.assertParamExists)("updateDeployment","patchOperation",n);let o="/api/v2/engineering-insights/deployments/{deploymentID}".replace("{deploymentID}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.InsightsDeploymentsBetaApiAxiosParamCreator=sll;var all=function(r){let t=(0,ce.InsightsDeploymentsBetaApiAxiosParamCreator)(r);return{createDeploymentEvent(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createDeploymentEvent(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getDeployment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getDeployment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getDeployments(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getDeployments(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,At.BASE_PATH,r)})},updateDeployment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.updateDeployment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.InsightsDeploymentsBetaApiFp=all;var lll=function(r,t,n){let i=(0,ce.InsightsDeploymentsBetaApiFp)(r);return{createDeploymentEvent(o,s){return i.createDeploymentEvent(o,s).then(a=>a(n,t))},getDeployment(o,s,a){return i.getDeployment(o,s,a).then(l=>l(n,t))},getDeployments(o,s,a,l,c,u,d,p,f,A,h,y){return i.getDeployments(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},updateDeployment(o,s,a){return i.updateDeployment(o,s,a).then(l=>l(n,t))}}};ce.InsightsDeploymentsBetaApiFactory=lll;var dvr=class extends At.BaseAPI{createDeploymentEvent(t,n){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).createDeploymentEvent(t,n).then(i=>i(this.axios,this.basePath))}getDeployment(t,n,i){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).getDeployment(t,n,i).then(o=>o(this.axios,this.basePath))}getDeployments(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).getDeployments(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}updateDeployment(t,n,i){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).updateDeployment(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.InsightsDeploymentsBetaApi=dvr;var ull=function(r){return{getFlagEvents:(t,n,i,o,s,a,l,c,u,d,p,f,A,h={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagEvents","projectKey",t),(0,B.assertParamExists)("getFlagEvents","environmentKey",n);let y="/api/v2/engineering-insights/flag-events",C=new URL(y,B.DUMMY_BASE_URL),v;r&&(v=r.baseOptions);let O=Object.assign(Object.assign({method:"GET"},v),h),T={},R={};yield(0,B.setApiKeyToObject)(T,"Authorization",r),t!==void 0&&(R.projectKey=t),n!==void 0&&(R.environmentKey=n),i!==void 0&&(R.applicationKey=i),o!==void 0&&(R.query=o),s!==void 0&&(R.impactSize=s),a!==void 0&&(R.hasExperiments=a),l!==void 0&&(R.global=l),c!==void 0&&(R.expand=c),u!==void 0&&(R.limit=u),d!==void 0&&(R.from=d),p!==void 0&&(R.to=p),f!==void 0&&(R.after=f),A!==void 0&&(R.before=A),(0,B.setSearchParams)(C,R);let N=v&&v.headers?v.headers:{};return O.headers=Object.assign(Object.assign(Object.assign({},T),N),h.headers),{url:(0,B.toPathString)(C),options:O}})}};ce.InsightsFlagEventsBetaApiAxiosParamCreator=ull;var cll=function(r){let t=(0,ce.InsightsFlagEventsBetaApiAxiosParamCreator)(r);return{getFlagEvents(n,i,o,s,a,l,c,u,d,p,f,A,h,y){return Pe(this,void 0,void 0,function*(){let C=yield t.getFlagEvents(n,i,o,s,a,l,c,u,d,p,f,A,h,y);return(0,B.createRequestFunction)(C,It.default,At.BASE_PATH,r)})}}};ce.InsightsFlagEventsBetaApiFp=cll;var dll=function(r,t,n){let i=(0,ce.InsightsFlagEventsBetaApiFp)(r);return{getFlagEvents(o,s,a,l,c,u,d,p,f,A,h,y,C,v){return i.getFlagEvents(o,s,a,l,c,u,d,p,f,A,h,y,C,v).then(O=>O(n,t))}}};ce.InsightsFlagEventsBetaApiFactory=dll;var pvr=class extends At.BaseAPI{getFlagEvents(t,n,i,o,s,a,l,c,u,d,p,f,A,h){return(0,ce.InsightsFlagEventsBetaApiFp)(this.configuration).getFlagEvents(t,n,i,o,s,a,l,c,u,d,p,f,A,h).then(y=>y(this.axios,this.basePath))}};ce.InsightsFlagEventsBetaApi=pvr;var pll=function(r){return{getPullRequests:(t,n,i,o,s,a,l,c,u,d,p,f,A={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getPullRequests","projectKey",t);let h="/api/v2/engineering-insights/pull-requests",y=new URL(h,B.DUMMY_BASE_URL),C;r&&(C=r.baseOptions);let v=Object.assign(Object.assign({method:"GET"},C),A),O={},T={};yield(0,B.setApiKeyToObject)(O,"Authorization",r),t!==void 0&&(T.projectKey=t),n!==void 0&&(T.environmentKey=n),i!==void 0&&(T.applicationKey=i),o!==void 0&&(T.status=o),s!==void 0&&(T.query=s),a!==void 0&&(T.limit=a),l!==void 0&&(T.expand=l),c!==void 0&&(T.sort=c),u!==void 0&&(T.from=u instanceof Date?u.toISOString():u),d!==void 0&&(T.to=d instanceof Date?d.toISOString():d),p!==void 0&&(T.after=p),f!==void 0&&(T.before=f),(0,B.setSearchParams)(y,T);let R=C&&C.headers?C.headers:{};return v.headers=Object.assign(Object.assign(Object.assign({},O),R),A.headers),{url:(0,B.toPathString)(y),options:v}})}};ce.InsightsPullRequestsBetaApiAxiosParamCreator=pll;var fll=function(r){let t=(0,ce.InsightsPullRequestsBetaApiAxiosParamCreator)(r);return{getPullRequests(n,i,o,s,a,l,c,u,d,p,f,A,h){return Pe(this,void 0,void 0,function*(){let y=yield t.getPullRequests(n,i,o,s,a,l,c,u,d,p,f,A,h);return(0,B.createRequestFunction)(y,It.default,At.BASE_PATH,r)})}}};ce.InsightsPullRequestsBetaApiFp=fll;var All=function(r,t,n){let i=(0,ce.InsightsPullRequestsBetaApiFp)(r);return{getPullRequests(o,s,a,l,c,u,d,p,f,A,h,y,C){return i.getPullRequests(o,s,a,l,c,u,d,p,f,A,h,y,C).then(v=>v(n,t))}}};ce.InsightsPullRequestsBetaApiFactory=All;var fvr=class extends At.BaseAPI{getPullRequests(t,n,i,o,s,a,l,c,u,d,p,f,A){return(0,ce.InsightsPullRequestsBetaApiFp)(this.configuration).getPullRequests(t,n,i,o,s,a,l,c,u,d,p,f,A).then(h=>h(this.axios,this.basePath))}};ce.InsightsPullRequestsBetaApi=fvr;var hll=function(r){return{associateRepositoriesAndProjects:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("associateRepositoriesAndProjects","insightsRepositoryProjectMappings",t);let i="/api/v2/engineering-insights/repositories/projects",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PUT"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteRepositoryProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRepositoryProject","repositoryKey",t),(0,B.assertParamExists)("deleteRepositoryProject","projectKey",n);let o="/api/v2/engineering-insights/repositories/{repositoryKey}/projects/{projectKey}".replace("{repositoryKey}",encodeURIComponent(String(t))).replace("{projectKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getInsightsRepositories:(t,n={})=>Pe(this,void 0,void 0,function*(){let i="/api/v2/engineering-insights/repositories",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),t!==void 0&&(c.expand=t),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}})}};ce.InsightsRepositoriesBetaApiAxiosParamCreator=hll;var gll=function(r){let t=(0,ce.InsightsRepositoriesBetaApiAxiosParamCreator)(r);return{associateRepositoriesAndProjects(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.associateRepositoriesAndProjects(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteRepositoryProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteRepositoryProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getInsightsRepositories(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getInsightsRepositories(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.InsightsRepositoriesBetaApiFp=gll;var mll=function(r,t,n){let i=(0,ce.InsightsRepositoriesBetaApiFp)(r);return{associateRepositoriesAndProjects(o,s){return i.associateRepositoriesAndProjects(o,s).then(a=>a(n,t))},deleteRepositoryProject(o,s,a){return i.deleteRepositoryProject(o,s,a).then(l=>l(n,t))},getInsightsRepositories(o,s){return i.getInsightsRepositories(o,s).then(a=>a(n,t))}}};ce.InsightsRepositoriesBetaApiFactory=mll;var Avr=class extends At.BaseAPI{associateRepositoriesAndProjects(t,n){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).associateRepositoriesAndProjects(t,n).then(i=>i(this.axios,this.basePath))}deleteRepositoryProject(t,n,i){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).deleteRepositoryProject(t,n,i).then(o=>o(this.axios,this.basePath))}getInsightsRepositories(t,n){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).getInsightsRepositories(t,n).then(i=>i(this.axios,this.basePath))}};ce.InsightsRepositoriesBetaApi=Avr;var yll=function(r){return{createInsightGroup:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createInsightGroup","postInsightGroupParams",t);let i="/api/v2/engineering-insights/insights/group",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteInsightGroup:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteInsightGroup","insightGroupKey",t);let i="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getInsightGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getInsightGroup","insightGroupKey",t);let o="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getInsightGroups:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/engineering-insights/insights/groups",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.sort=i),o!==void 0&&(f.query=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getInsightsScores:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getInsightsScores","projectKey",t),(0,B.assertParamExists)("getInsightsScores","environmentKey",n);let s="/api/v2/engineering-insights/insights/scores",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.projectKey=t),n!==void 0&&(d.environmentKey=n),i!==void 0&&(d.applicationKey=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchInsightGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchInsightGroup","insightGroupKey",t),(0,B.assertParamExists)("patchInsightGroup","patchOperation",n);let o="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.InsightsScoresBetaApiAxiosParamCreator=yll;var Ell=function(r){let t=(0,ce.InsightsScoresBetaApiAxiosParamCreator)(r);return{createInsightGroup(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createInsightGroup(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteInsightGroup(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteInsightGroup(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getInsightGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getInsightGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getInsightGroups(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getInsightGroups(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getInsightsScores(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getInsightsScores(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchInsightGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchInsightGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.InsightsScoresBetaApiFp=Ell;var bll=function(r,t,n){let i=(0,ce.InsightsScoresBetaApiFp)(r);return{createInsightGroup(o,s){return i.createInsightGroup(o,s).then(a=>a(n,t))},deleteInsightGroup(o,s){return i.deleteInsightGroup(o,s).then(a=>a(n,t))},getInsightGroup(o,s,a){return i.getInsightGroup(o,s,a).then(l=>l(n,t))},getInsightGroups(o,s,a,l,c,u){return i.getInsightGroups(o,s,a,l,c,u).then(d=>d(n,t))},getInsightsScores(o,s,a,l){return i.getInsightsScores(o,s,a,l).then(c=>c(n,t))},patchInsightGroup(o,s,a){return i.patchInsightGroup(o,s,a).then(l=>l(n,t))}}};ce.InsightsScoresBetaApiFactory=bll;var hvr=class extends At.BaseAPI{createInsightGroup(t,n){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).createInsightGroup(t,n).then(i=>i(this.axios,this.basePath))}deleteInsightGroup(t,n){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).deleteInsightGroup(t,n).then(i=>i(this.axios,this.basePath))}getInsightGroup(t,n,i){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightGroup(t,n,i).then(o=>o(this.axios,this.basePath))}getInsightGroups(t,n,i,o,s,a){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightGroups(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getInsightsScores(t,n,i,o){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightsScores(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchInsightGroup(t,n,i){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).patchInsightGroup(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.InsightsScoresBetaApi=hvr;var Cll=function(r){return{createSubscription:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createSubscription","integrationKey",t),(0,B.assertParamExists)("createSubscription","subscriptionPost",n);let o="/api/v2/integrations/{integrationKey}".replace("{integrationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteSubscription:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteSubscription","integrationKey",t),(0,B.assertParamExists)("deleteSubscription","id",n);let o="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getSubscriptionByID:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSubscriptionByID","integrationKey",t),(0,B.assertParamExists)("getSubscriptionByID","id",n);let o="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getSubscriptions:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSubscriptions","integrationKey",t);let i="/api/v2/integrations/{integrationKey}".replace("{integrationKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),updateSubscription:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateSubscription","integrationKey",t),(0,B.assertParamExists)("updateSubscription","id",n),(0,B.assertParamExists)("updateSubscription","patchOperation",i);let s="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator=Cll;var Ill=function(r){let t=(0,ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator)(r);return{createSubscription(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createSubscription(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},deleteSubscription(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteSubscription(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getSubscriptionByID(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getSubscriptionByID(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getSubscriptions(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getSubscriptions(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},updateSubscription(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.updateSubscription(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.IntegrationAuditLogSubscriptionsApiFp=Ill;var vll=function(r,t,n){let i=(0,ce.IntegrationAuditLogSubscriptionsApiFp)(r);return{createSubscription(o,s,a){return i.createSubscription(o,s,a).then(l=>l(n,t))},deleteSubscription(o,s,a){return i.deleteSubscription(o,s,a).then(l=>l(n,t))},getSubscriptionByID(o,s,a){return i.getSubscriptionByID(o,s,a).then(l=>l(n,t))},getSubscriptions(o,s){return i.getSubscriptions(o,s).then(a=>a(n,t))},updateSubscription(o,s,a,l){return i.updateSubscription(o,s,a,l).then(c=>c(n,t))}}};ce.IntegrationAuditLogSubscriptionsApiFactory=vll;var gvr=class extends At.BaseAPI{createSubscription(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).createSubscription(t,n,i).then(o=>o(this.axios,this.basePath))}deleteSubscription(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).deleteSubscription(t,n,i).then(o=>o(this.axios,this.basePath))}getSubscriptionByID(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).getSubscriptionByID(t,n,i).then(o=>o(this.axios,this.basePath))}getSubscriptions(t,n){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).getSubscriptions(t,n).then(i=>i(this.axios,this.basePath))}updateSubscription(t,n,i,o){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).updateSubscription(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.IntegrationAuditLogSubscriptionsApi=gvr;var Sll=function(r){return{createIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","integrationDeliveryConfigurationPost",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),deleteIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getIntegrationDeliveryConfigurationByEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getIntegrationDeliveryConfigurationByEnvironment","projectKey",t),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationByEnvironment","environmentKey",n);let o="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getIntegrationDeliveryConfigurationById:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","projectKey",t),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","environmentKey",n),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","integrationKey",i),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getIntegrationDeliveryConfigurations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/featureStore",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchIntegrationDeliveryConfiguration:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","id",o),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","patchOperation",s);let l="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),validateIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator=Sll;var _ll=function(r){let t=(0,ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator)(r);return{createIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},deleteIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getIntegrationDeliveryConfigurationByEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getIntegrationDeliveryConfigurationByEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getIntegrationDeliveryConfigurationById(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getIntegrationDeliveryConfigurationById(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getIntegrationDeliveryConfigurations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getIntegrationDeliveryConfigurations(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},patchIntegrationDeliveryConfiguration(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchIntegrationDeliveryConfiguration(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},validateIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.validateIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.IntegrationDeliveryConfigurationsBetaApiFp=_ll;var Oll=function(r,t,n){let i=(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(r);return{createIntegrationDeliveryConfiguration(o,s,a,l,c){return i.createIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))},deleteIntegrationDeliveryConfiguration(o,s,a,l,c){return i.deleteIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))},getIntegrationDeliveryConfigurationByEnvironment(o,s,a){return i.getIntegrationDeliveryConfigurationByEnvironment(o,s,a).then(l=>l(n,t))},getIntegrationDeliveryConfigurationById(o,s,a,l,c){return i.getIntegrationDeliveryConfigurationById(o,s,a,l,c).then(u=>u(n,t))},getIntegrationDeliveryConfigurations(o){return i.getIntegrationDeliveryConfigurations(o).then(s=>s(n,t))},patchIntegrationDeliveryConfiguration(o,s,a,l,c,u){return i.patchIntegrationDeliveryConfiguration(o,s,a,l,c,u).then(d=>d(n,t))},validateIntegrationDeliveryConfiguration(o,s,a,l,c){return i.validateIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))}}};ce.IntegrationDeliveryConfigurationsBetaApiFactory=Oll;var mvr=class extends At.BaseAPI{createIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).createIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).deleteIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getIntegrationDeliveryConfigurationByEnvironment(t,n,i){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurationByEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getIntegrationDeliveryConfigurationById(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurationById(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getIntegrationDeliveryConfigurations(t){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurations(t).then(n=>n(this.axios,this.basePath))}patchIntegrationDeliveryConfiguration(t,n,i,o,s,a){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).patchIntegrationDeliveryConfiguration(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}validateIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).validateIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.IntegrationDeliveryConfigurationsBetaApi=mvr;var Tll=function(r){return{createBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("createBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("createBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("createBigSegmentStoreIntegration","integrationDeliveryConfigurationPost",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),createFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("createFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("createFlagImportConfiguration","flagImportConfigurationPost",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","integrationId",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),deleteFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("deleteFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("deleteFlagImportConfiguration","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("getBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("getBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("getBigSegmentStoreIntegration","integrationId",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBigSegmentStoreIntegrations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/big-segment-store",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("getFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("getFlagImportConfiguration","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFlagImportConfigurations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/flag-import",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchBigSegmentStoreIntegration:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","integrationId",o),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","patchOperation",s);let l="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),patchFlagImportConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("patchFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("patchFlagImportConfiguration","integrationId",i),(0,B.assertParamExists)("patchFlagImportConfiguration","patchOperation",o);let a="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),triggerFlagImportJob:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("triggerFlagImportJob","projectKey",t),(0,B.assertParamExists)("triggerFlagImportJob","integrationKey",n),(0,B.assertParamExists)("triggerFlagImportJob","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.IntegrationsBetaApiAxiosParamCreator=Tll;var wll=function(r){let t=(0,ce.IntegrationsBetaApiAxiosParamCreator)(r);return{createBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},createFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},deleteBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},deleteFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getBigSegmentStoreIntegrations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getBigSegmentStoreIntegrations(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getFlagImportConfigurations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getFlagImportConfigurations(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},patchBigSegmentStoreIntegration(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchBigSegmentStoreIntegration(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchFlagImportConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchFlagImportConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},triggerFlagImportJob(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.triggerFlagImportJob(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.IntegrationsBetaApiFp=wll;var Rll=function(r,t,n){let i=(0,ce.IntegrationsBetaApiFp)(r);return{createBigSegmentStoreIntegration(o,s,a,l,c){return i.createBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},createFlagImportConfiguration(o,s,a,l){return i.createFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},deleteBigSegmentStoreIntegration(o,s,a,l,c){return i.deleteBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},deleteFlagImportConfiguration(o,s,a,l){return i.deleteFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},getBigSegmentStoreIntegration(o,s,a,l,c){return i.getBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},getBigSegmentStoreIntegrations(o){return i.getBigSegmentStoreIntegrations(o).then(s=>s(n,t))},getFlagImportConfiguration(o,s,a,l){return i.getFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},getFlagImportConfigurations(o){return i.getFlagImportConfigurations(o).then(s=>s(n,t))},patchBigSegmentStoreIntegration(o,s,a,l,c,u){return i.patchBigSegmentStoreIntegration(o,s,a,l,c,u).then(d=>d(n,t))},patchFlagImportConfiguration(o,s,a,l,c){return i.patchFlagImportConfiguration(o,s,a,l,c).then(u=>u(n,t))},triggerFlagImportJob(o,s,a,l){return i.triggerFlagImportJob(o,s,a,l).then(c=>c(n,t))}}};ce.IntegrationsBetaApiFactory=Rll;var yvr=class extends At.BaseAPI{createBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).createBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}createFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).createFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).deleteBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).deleteFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}getBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBigSegmentStoreIntegrations(t){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getBigSegmentStoreIntegrations(t).then(n=>n(this.axios,this.basePath))}getFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFlagImportConfigurations(t){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getFlagImportConfigurations(t).then(n=>n(this.axios,this.basePath))}patchBigSegmentStoreIntegration(t,n,i,o,s,a){return(0,ce.IntegrationsBetaApiFp)(this.configuration).patchBigSegmentStoreIntegration(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchFlagImportConfiguration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).patchFlagImportConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}triggerFlagImportJob(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).triggerFlagImportJob(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.IntegrationsBetaApi=yvr;var Bll=function(r){return{createLayer:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createLayer","projectKey",t),(0,B.assertParamExists)("createLayer","layerPost",n);let o="/api/v2/projects/{projectKey}/layers".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),getLayers:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLayers","projectKey",t);let o="/api/v2/projects/{projectKey}/layers".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.filter=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),updateLayer:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateLayer","projectKey",t),(0,B.assertParamExists)("updateLayer","layerKey",n),(0,B.assertParamExists)("updateLayer","layerPatchInput",i);let s="/api/v2/projects/{projectKey}/layers/{layerKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{layerKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.LayersBetaApiAxiosParamCreator=Bll;var xll=function(r){let t=(0,ce.LayersBetaApiAxiosParamCreator)(r);return{createLayer(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createLayer(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getLayers(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getLayers(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},updateLayer(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.updateLayer(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.LayersBetaApiFp=xll;var Mll=function(r,t,n){let i=(0,ce.LayersBetaApiFp)(r);return{createLayer(o,s,a){return i.createLayer(o,s,a).then(l=>l(n,t))},getLayers(o,s,a){return i.getLayers(o,s,a).then(l=>l(n,t))},updateLayer(o,s,a,l){return i.updateLayer(o,s,a,l).then(c=>c(n,t))}}};ce.LayersBetaApiFactory=Mll;var Evr=class extends At.BaseAPI{createLayer(t,n,i){return(0,ce.LayersBetaApiFp)(this.configuration).createLayer(t,n,i).then(o=>o(this.axios,this.basePath))}getLayers(t,n,i){return(0,ce.LayersBetaApiFp)(this.configuration).getLayers(t,n,i).then(o=>o(this.axios,this.basePath))}updateLayer(t,n,i,o){return(0,ce.LayersBetaApiFp)(this.configuration).updateLayer(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.LayersBetaApi=Evr;var Dll=function(r){return{deleteMetric:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMetric","projectKey",t),(0,B.assertParamExists)("deleteMetric","metricKey",n);let o="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMetric:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetric","projectKey",t),(0,B.assertParamExists)("getMetric","metricKey",n);let a="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.expand=i),o!==void 0&&(p.versionId=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getMetrics:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetrics","projectKey",t);let c="/api/v2/metrics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),n!==void 0&&(A.expand=n),i!==void 0&&(A.limit=i),o!==void 0&&(A.offset=o),s!==void 0&&(A.sort=s),a!==void 0&&(A.filter=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchMetric:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMetric","projectKey",t),(0,B.assertParamExists)("patchMetric","metricKey",n),(0,B.assertParamExists)("patchMetric","patchOperation",i);let s="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postMetric:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMetric","projectKey",t),(0,B.assertParamExists)("postMetric","metricPost",n);let o="/api/v2/metrics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.MetricsApiAxiosParamCreator=Dll;var Nll=function(r){let t=(0,ce.MetricsApiAxiosParamCreator)(r);return{deleteMetric(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteMetric(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getMetric(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getMetric(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getMetrics(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getMetrics(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},patchMetric(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchMetric(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postMetric(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postMetric(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.MetricsApiFp=Nll;var Pll=function(r,t,n){let i=(0,ce.MetricsApiFp)(r);return{deleteMetric(o,s,a){return i.deleteMetric(o,s,a).then(l=>l(n,t))},getMetric(o,s,a,l,c){return i.getMetric(o,s,a,l,c).then(u=>u(n,t))},getMetrics(o,s,a,l,c,u,d){return i.getMetrics(o,s,a,l,c,u,d).then(p=>p(n,t))},patchMetric(o,s,a,l){return i.patchMetric(o,s,a,l).then(c=>c(n,t))},postMetric(o,s,a){return i.postMetric(o,s,a).then(l=>l(n,t))}}};ce.MetricsApiFactory=Pll;var bvr=class extends At.BaseAPI{deleteMetric(t,n,i){return(0,ce.MetricsApiFp)(this.configuration).deleteMetric(t,n,i).then(o=>o(this.axios,this.basePath))}getMetric(t,n,i,o,s){return(0,ce.MetricsApiFp)(this.configuration).getMetric(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getMetrics(t,n,i,o,s,a,l){return(0,ce.MetricsApiFp)(this.configuration).getMetrics(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchMetric(t,n,i,o){return(0,ce.MetricsApiFp)(this.configuration).patchMetric(t,n,i,o).then(s=>s(this.axios,this.basePath))}postMetric(t,n,i){return(0,ce.MetricsApiFp)(this.configuration).postMetric(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.MetricsApi=bvr;var kll=function(r){return{createMetricGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createMetricGroup","projectKey",t),(0,B.assertParamExists)("createMetricGroup","metricGroupPost",n);let o="/api/v2/projects/{projectKey}/metric-groups".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteMetricGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMetricGroup","projectKey",t),(0,B.assertParamExists)("deleteMetricGroup","metricGroupKey",n);let o="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMetricGroup:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetricGroup","projectKey",t),(0,B.assertParamExists)("getMetricGroup","metricGroupKey",n);let s="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expand=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getMetricGroups:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetricGroups","projectKey",t);let l="/api/v2/projects/{projectKey}/metric-groups".replace("{projectKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.filter=n),i!==void 0&&(f.expand=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.offset=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchMetricGroup:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMetricGroup","projectKey",t),(0,B.assertParamExists)("patchMetricGroup","metricGroupKey",n),(0,B.assertParamExists)("patchMetricGroup","patchOperation",i);let s="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.MetricsBetaApiAxiosParamCreator=kll;var Qll=function(r){let t=(0,ce.MetricsBetaApiAxiosParamCreator)(r);return{createMetricGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createMetricGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},deleteMetricGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteMetricGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getMetricGroup(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getMetricGroup(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getMetricGroups(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getMetricGroups(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchMetricGroup(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchMetricGroup(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})}}};ce.MetricsBetaApiFp=Qll;var Lll=function(r,t,n){let i=(0,ce.MetricsBetaApiFp)(r);return{createMetricGroup(o,s,a){return i.createMetricGroup(o,s,a).then(l=>l(n,t))},deleteMetricGroup(o,s,a){return i.deleteMetricGroup(o,s,a).then(l=>l(n,t))},getMetricGroup(o,s,a,l){return i.getMetricGroup(o,s,a,l).then(c=>c(n,t))},getMetricGroups(o,s,a,l,c,u){return i.getMetricGroups(o,s,a,l,c,u).then(d=>d(n,t))},patchMetricGroup(o,s,a,l){return i.patchMetricGroup(o,s,a,l).then(c=>c(n,t))}}};ce.MetricsBetaApiFactory=Lll;var Cvr=class extends At.BaseAPI{createMetricGroup(t,n,i){return(0,ce.MetricsBetaApiFp)(this.configuration).createMetricGroup(t,n,i).then(o=>o(this.axios,this.basePath))}deleteMetricGroup(t,n,i){return(0,ce.MetricsBetaApiFp)(this.configuration).deleteMetricGroup(t,n,i).then(o=>o(this.axios,this.basePath))}getMetricGroup(t,n,i,o){return(0,ce.MetricsBetaApiFp)(this.configuration).getMetricGroup(t,n,i,o).then(s=>s(this.axios,this.basePath))}getMetricGroups(t,n,i,o,s,a){return(0,ce.MetricsBetaApiFp)(this.configuration).getMetricGroups(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchMetricGroup(t,n,i,o){return(0,ce.MetricsBetaApiFp)(this.configuration).patchMetricGroup(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.MetricsBetaApi=Cvr;var Fll=function(r){return{createOAuth2Client:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createOAuth2Client","oauthClientPost",t);let i="/api/v2/oauth/clients",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteOAuthClient:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteOAuthClient","clientId",t);let i="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getOAuthClientById:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getOAuthClientById","clientId",t);let i="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getOAuthClients:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/oauth/clients",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchOAuthClient:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchOAuthClient","clientId",t),(0,B.assertParamExists)("patchOAuthClient","patchOperation",n);let o="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.OAuth2ClientsApiAxiosParamCreator=Fll;var zll=function(r){let t=(0,ce.OAuth2ClientsApiAxiosParamCreator)(r);return{createOAuth2Client(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createOAuth2Client(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteOAuthClient(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteOAuthClient(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getOAuthClientById(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getOAuthClientById(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getOAuthClients(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getOAuthClients(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},patchOAuthClient(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchOAuthClient(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.OAuth2ClientsApiFp=zll;var qll=function(r,t,n){let i=(0,ce.OAuth2ClientsApiFp)(r);return{createOAuth2Client(o,s){return i.createOAuth2Client(o,s).then(a=>a(n,t))},deleteOAuthClient(o,s){return i.deleteOAuthClient(o,s).then(a=>a(n,t))},getOAuthClientById(o,s){return i.getOAuthClientById(o,s).then(a=>a(n,t))},getOAuthClients(o){return i.getOAuthClients(o).then(s=>s(n,t))},patchOAuthClient(o,s,a){return i.patchOAuthClient(o,s,a).then(l=>l(n,t))}}};ce.OAuth2ClientsApiFactory=qll;var Ivr=class extends At.BaseAPI{createOAuth2Client(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).createOAuth2Client(t,n).then(i=>i(this.axios,this.basePath))}deleteOAuthClient(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).deleteOAuthClient(t,n).then(i=>i(this.axios,this.basePath))}getOAuthClientById(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).getOAuthClientById(t,n).then(i=>i(this.axios,this.basePath))}getOAuthClients(t){return(0,ce.OAuth2ClientsApiFp)(this.configuration).getOAuthClients(t).then(n=>n(this.axios,this.basePath))}patchOAuthClient(t,n,i){return(0,ce.OAuth2ClientsApiFp)(this.configuration).patchOAuthClient(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.OAuth2ClientsApi=Ivr;var Ull=function(r){return{getCallerIdentity:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/caller-identity",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getIps:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/public-ip-list",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getOpenapiSpec:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/openapi.json",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getRoot:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getVersions:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/versions",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}})}};ce.OtherApiAxiosParamCreator=Ull;var jll=function(r){let t=(0,ce.OtherApiAxiosParamCreator)(r);return{getCallerIdentity(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getCallerIdentity(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getIps(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getIps(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getOpenapiSpec(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getOpenapiSpec(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getRoot(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRoot(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getVersions(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getVersions(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})}}};ce.OtherApiFp=jll;var Gll=function(r,t,n){let i=(0,ce.OtherApiFp)(r);return{getCallerIdentity(o){return i.getCallerIdentity(o).then(s=>s(n,t))},getIps(o){return i.getIps(o).then(s=>s(n,t))},getOpenapiSpec(o){return i.getOpenapiSpec(o).then(s=>s(n,t))},getRoot(o){return i.getRoot(o).then(s=>s(n,t))},getVersions(o){return i.getVersions(o).then(s=>s(n,t))}}};ce.OtherApiFactory=Gll;var vvr=class extends At.BaseAPI{getCallerIdentity(t){return(0,ce.OtherApiFp)(this.configuration).getCallerIdentity(t).then(n=>n(this.axios,this.basePath))}getIps(t){return(0,ce.OtherApiFp)(this.configuration).getIps(t).then(n=>n(this.axios,this.basePath))}getOpenapiSpec(t){return(0,ce.OtherApiFp)(this.configuration).getOpenapiSpec(t).then(n=>n(this.axios,this.basePath))}getRoot(t){return(0,ce.OtherApiFp)(this.configuration).getRoot(t).then(n=>n(this.axios,this.basePath))}getVersions(t){return(0,ce.OtherApiFp)(this.configuration).getVersions(t).then(n=>n(this.axios,this.basePath))}};ce.OtherApi=vvr;var Wll=function(r){return{deleteProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteProject","projectKey",t);let i="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getFlagDefaultsByProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagDefaultsByProject","projectKey",t);let i="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getProject","projectKey",t);let o="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getProjects:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/projects",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.filter=i),o!==void 0&&(f.sort=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchFlagDefaultsByProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagDefaultsByProject","projectKey",t),(0,B.assertParamExists)("patchFlagDefaultsByProject","patchOperation",n);let o="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),patchProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchProject","projectKey",t),(0,B.assertParamExists)("patchProject","patchOperation",n);let o="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postProject","projectPost",t);let i="/api/v2/projects",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),putFlagDefaultsByProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagDefaultsByProject","projectKey",t),(0,B.assertParamExists)("putFlagDefaultsByProject","upsertFlagDefaultsPayload",n);let o="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PUT"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ProjectsApiAxiosParamCreator=Wll;var Hll=function(r){let t=(0,ce.ProjectsApiAxiosParamCreator)(r);return{deleteProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteProject(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getFlagDefaultsByProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getFlagDefaultsByProject(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getProjects(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getProjects(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},patchFlagDefaultsByProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchFlagDefaultsByProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postProject(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},putFlagDefaultsByProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.putFlagDefaultsByProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.ProjectsApiFp=Hll;var Vll=function(r,t,n){let i=(0,ce.ProjectsApiFp)(r);return{deleteProject(o,s){return i.deleteProject(o,s).then(a=>a(n,t))},getFlagDefaultsByProject(o,s){return i.getFlagDefaultsByProject(o,s).then(a=>a(n,t))},getProject(o,s,a){return i.getProject(o,s,a).then(l=>l(n,t))},getProjects(o,s,a,l,c,u){return i.getProjects(o,s,a,l,c,u).then(d=>d(n,t))},patchFlagDefaultsByProject(o,s,a){return i.patchFlagDefaultsByProject(o,s,a).then(l=>l(n,t))},patchProject(o,s,a){return i.patchProject(o,s,a).then(l=>l(n,t))},postProject(o,s){return i.postProject(o,s).then(a=>a(n,t))},putFlagDefaultsByProject(o,s,a){return i.putFlagDefaultsByProject(o,s,a).then(l=>l(n,t))}}};ce.ProjectsApiFactory=Vll;var Svr=class extends At.BaseAPI{deleteProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).deleteProject(t,n).then(i=>i(this.axios,this.basePath))}getFlagDefaultsByProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).getFlagDefaultsByProject(t,n).then(i=>i(this.axios,this.basePath))}getProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).getProject(t,n,i).then(o=>o(this.axios,this.basePath))}getProjects(t,n,i,o,s,a){return(0,ce.ProjectsApiFp)(this.configuration).getProjects(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchFlagDefaultsByProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).patchFlagDefaultsByProject(t,n,i).then(o=>o(this.axios,this.basePath))}patchProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).patchProject(t,n,i).then(o=>o(this.axios,this.basePath))}postProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).postProject(t,n).then(i=>i(this.axios,this.basePath))}putFlagDefaultsByProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).putFlagDefaultsByProject(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ProjectsApi=Svr;var Yll=function(r){return{deleteRelayAutoConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRelayAutoConfig","id",t);let i="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRelayProxyConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getRelayProxyConfig","id",t);let i="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRelayProxyConfigs:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/account/relay-auto-configs",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchRelayAutoConfig:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchRelayAutoConfig","id",t),(0,B.assertParamExists)("patchRelayAutoConfig","patchWithComment",n);let o="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postRelayAutoConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postRelayAutoConfig","relayAutoConfigPost",t);let i="/api/v2/account/relay-auto-configs",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),resetRelayAutoConfig:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetRelayAutoConfig","id",t);let o="/api/v2/account/relay-auto-configs/{id}/reset".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expiry=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.RelayProxyConfigurationsApiAxiosParamCreator=Yll;var Kll=function(r){let t=(0,ce.RelayProxyConfigurationsApiAxiosParamCreator)(r);return{deleteRelayAutoConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteRelayAutoConfig(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getRelayProxyConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getRelayProxyConfig(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getRelayProxyConfigs(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRelayProxyConfigs(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},patchRelayAutoConfig(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchRelayAutoConfig(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postRelayAutoConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postRelayAutoConfig(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},resetRelayAutoConfig(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetRelayAutoConfig(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.RelayProxyConfigurationsApiFp=Kll;var Jll=function(r,t,n){let i=(0,ce.RelayProxyConfigurationsApiFp)(r);return{deleteRelayAutoConfig(o,s){return i.deleteRelayAutoConfig(o,s).then(a=>a(n,t))},getRelayProxyConfig(o,s){return i.getRelayProxyConfig(o,s).then(a=>a(n,t))},getRelayProxyConfigs(o){return i.getRelayProxyConfigs(o).then(s=>s(n,t))},patchRelayAutoConfig(o,s,a){return i.patchRelayAutoConfig(o,s,a).then(l=>l(n,t))},postRelayAutoConfig(o,s){return i.postRelayAutoConfig(o,s).then(a=>a(n,t))},resetRelayAutoConfig(o,s,a){return i.resetRelayAutoConfig(o,s,a).then(l=>l(n,t))}}};ce.RelayProxyConfigurationsApiFactory=Jll;var _vr=class extends At.BaseAPI{deleteRelayAutoConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).deleteRelayAutoConfig(t,n).then(i=>i(this.axios,this.basePath))}getRelayProxyConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).getRelayProxyConfig(t,n).then(i=>i(this.axios,this.basePath))}getRelayProxyConfigs(t){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).getRelayProxyConfigs(t).then(n=>n(this.axios,this.basePath))}patchRelayAutoConfig(t,n,i){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).patchRelayAutoConfig(t,n,i).then(o=>o(this.axios,this.basePath))}postRelayAutoConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).postRelayAutoConfig(t,n).then(i=>i(this.axios,this.basePath))}resetRelayAutoConfig(t,n,i){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).resetRelayAutoConfig(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.RelayProxyConfigurationsApi=_vr;var Xll=function(r){return{deleteReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteReleasePipeline","projectKey",t),(0,B.assertParamExists)("deleteReleasePipeline","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getAllReleasePipelines:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllReleasePipelines","projectKey",t);let a="/api/v2/projects/{projectKey}/release-pipelines".replace("{projectKey}",encodeURIComponent(String(t))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),n!==void 0&&(p.filter=n),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getAllReleaseProgressionsForReleasePipeline:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllReleaseProgressionsForReleasePipeline","projectKey",t),(0,B.assertParamExists)("getAllReleaseProgressionsForReleasePipeline","pipelineKey",n);let l="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}/releases".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),i!==void 0&&(f.filter=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.offset=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getReleasePipelineByKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleasePipelineByKey","projectKey",t),(0,B.assertParamExists)("getReleasePipelineByKey","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchReleasePipeline","projectKey",t),(0,B.assertParamExists)("patchReleasePipeline","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),postReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postReleasePipeline","projectKey",t),(0,B.assertParamExists)("postReleasePipeline","createReleasePipelineInput",n);let o="/api/v2/projects/{projectKey}/release-pipelines".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ReleasePipelinesBetaApiAxiosParamCreator=Xll;var $ll=function(r){let t=(0,ce.ReleasePipelinesBetaApiAxiosParamCreator)(r);return{deleteReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getAllReleasePipelines(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getAllReleasePipelines(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getAllReleaseProgressionsForReleasePipeline(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getAllReleaseProgressionsForReleasePipeline(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getReleasePipelineByKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getReleasePipelineByKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.ReleasePipelinesBetaApiFp=$ll;var Zll=function(r,t,n){let i=(0,ce.ReleasePipelinesBetaApiFp)(r);return{deleteReleasePipeline(o,s,a){return i.deleteReleasePipeline(o,s,a).then(l=>l(n,t))},getAllReleasePipelines(o,s,a,l,c){return i.getAllReleasePipelines(o,s,a,l,c).then(u=>u(n,t))},getAllReleaseProgressionsForReleasePipeline(o,s,a,l,c,u){return i.getAllReleaseProgressionsForReleasePipeline(o,s,a,l,c,u).then(d=>d(n,t))},getReleasePipelineByKey(o,s,a){return i.getReleasePipelineByKey(o,s,a).then(l=>l(n,t))},patchReleasePipeline(o,s,a){return i.patchReleasePipeline(o,s,a).then(l=>l(n,t))},postReleasePipeline(o,s,a){return i.postReleasePipeline(o,s,a).then(l=>l(n,t))}}};ce.ReleasePipelinesBetaApiFactory=Zll;var Ovr=class extends At.BaseAPI{deleteReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).deleteReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}getAllReleasePipelines(t,n,i,o,s){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getAllReleasePipelines(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getAllReleaseProgressionsForReleasePipeline(t,n,i,o,s,a){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getAllReleaseProgressionsForReleasePipeline(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getReleasePipelineByKey(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getReleasePipelineByKey(t,n,i).then(o=>o(this.axios,this.basePath))}patchReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).patchReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}postReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).postReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ReleasePipelinesBetaApi=Ovr;var eul=function(r){return{createReleaseForFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createReleaseForFlag","projectKey",t),(0,B.assertParamExists)("createReleaseForFlag","flagKey",n),(0,B.assertParamExists)("createReleaseForFlag","createReleaseInput",i);let s="/api/v2/projects/{projectKey}/flags/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteReleaseByFlagKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("deleteReleaseByFlagKey","flagKey",n);let o="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getReleaseByFlagKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("getReleaseByFlagKey","flagKey",n);let o="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchReleaseByFlagKey:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("patchReleaseByFlagKey","flagKey",n),(0,B.assertParamExists)("patchReleaseByFlagKey","patchOperation",i);let s="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),updatePhaseStatus:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updatePhaseStatus","projectKey",t),(0,B.assertParamExists)("updatePhaseStatus","flagKey",n),(0,B.assertParamExists)("updatePhaseStatus","phaseId",i),(0,B.assertParamExists)("updatePhaseStatus","updatePhaseStatusInput",o);let a="/api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))).replace("{phaseId}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PUT"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.ReleasesBetaApiAxiosParamCreator=eul;var tul=function(r){let t=(0,ce.ReleasesBetaApiAxiosParamCreator)(r);return{createReleaseForFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createReleaseForFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},deleteReleaseByFlagKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteReleaseByFlagKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getReleaseByFlagKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getReleaseByFlagKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},patchReleaseByFlagKey(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchReleaseByFlagKey(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},updatePhaseStatus(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updatePhaseStatus(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.ReleasesBetaApiFp=tul;var rul=function(r,t,n){let i=(0,ce.ReleasesBetaApiFp)(r);return{createReleaseForFlag(o,s,a,l){return i.createReleaseForFlag(o,s,a,l).then(c=>c(n,t))},deleteReleaseByFlagKey(o,s,a){return i.deleteReleaseByFlagKey(o,s,a).then(l=>l(n,t))},getReleaseByFlagKey(o,s,a){return i.getReleaseByFlagKey(o,s,a).then(l=>l(n,t))},patchReleaseByFlagKey(o,s,a,l){return i.patchReleaseByFlagKey(o,s,a,l).then(c=>c(n,t))},updatePhaseStatus(o,s,a,l,c){return i.updatePhaseStatus(o,s,a,l,c).then(u=>u(n,t))}}};ce.ReleasesBetaApiFactory=rul;var Tvr=class extends At.BaseAPI{createReleaseForFlag(t,n,i,o){return(0,ce.ReleasesBetaApiFp)(this.configuration).createReleaseForFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteReleaseByFlagKey(t,n,i){return(0,ce.ReleasesBetaApiFp)(this.configuration).deleteReleaseByFlagKey(t,n,i).then(o=>o(this.axios,this.basePath))}getReleaseByFlagKey(t,n,i){return(0,ce.ReleasesBetaApiFp)(this.configuration).getReleaseByFlagKey(t,n,i).then(o=>o(this.axios,this.basePath))}patchReleaseByFlagKey(t,n,i,o){return(0,ce.ReleasesBetaApiFp)(this.configuration).patchReleaseByFlagKey(t,n,i,o).then(s=>s(this.axios,this.basePath))}updatePhaseStatus(t,n,i,o,s){return(0,ce.ReleasesBetaApiFp)(this.configuration).updatePhaseStatus(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ReleasesBetaApi=Tvr;var nul=function(r){return{deleteFlagConfigScheduledChanges:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","environmentKey",i),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFeatureFlagScheduledChange:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagScheduledChange","projectKey",t),(0,B.assertParamExists)("getFeatureFlagScheduledChange","featureFlagKey",n),(0,B.assertParamExists)("getFeatureFlagScheduledChange","environmentKey",i),(0,B.assertParamExists)("getFeatureFlagScheduledChange","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFlagConfigScheduledChanges:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("getFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("getFlagConfigScheduledChanges","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchFlagConfigScheduledChange:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagConfigScheduledChange","projectKey",t),(0,B.assertParamExists)("patchFlagConfigScheduledChange","featureFlagKey",n),(0,B.assertParamExists)("patchFlagConfigScheduledChange","environmentKey",i),(0,B.assertParamExists)("patchFlagConfigScheduledChange","id",o),(0,B.assertParamExists)("patchFlagConfigScheduledChange","flagScheduledChangesInput",s);let c="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"PATCH"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),a!==void 0&&(A.ignoreConflicts=a),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(s,p,r),{url:(0,B.toPathString)(u),options:p}}),postFlagConfigScheduledChanges:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("postFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("postFlagConfigScheduledChanges","environmentKey",i),(0,B.assertParamExists)("postFlagConfigScheduledChanges","postFlagScheduledChangesInput",o);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),s!==void 0&&(f.ignoreConflicts=s),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(o,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.ScheduledChangesApiAxiosParamCreator=nul;var iul=function(r){let t=(0,ce.ScheduledChangesApiAxiosParamCreator)(r);return{deleteFlagConfigScheduledChanges(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteFlagConfigScheduledChanges(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getFeatureFlagScheduledChange(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getFeatureFlagScheduledChange(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getFlagConfigScheduledChanges(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagConfigScheduledChanges(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchFlagConfigScheduledChange(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.patchFlagConfigScheduledChange(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},postFlagConfigScheduledChanges(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postFlagConfigScheduledChanges(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})}}};ce.ScheduledChangesApiFp=iul;var oul=function(r,t,n){let i=(0,ce.ScheduledChangesApiFp)(r);return{deleteFlagConfigScheduledChanges(o,s,a,l,c){return i.deleteFlagConfigScheduledChanges(o,s,a,l,c).then(u=>u(n,t))},getFeatureFlagScheduledChange(o,s,a,l,c){return i.getFeatureFlagScheduledChange(o,s,a,l,c).then(u=>u(n,t))},getFlagConfigScheduledChanges(o,s,a,l){return i.getFlagConfigScheduledChanges(o,s,a,l).then(c=>c(n,t))},patchFlagConfigScheduledChange(o,s,a,l,c,u,d){return i.patchFlagConfigScheduledChange(o,s,a,l,c,u,d).then(p=>p(n,t))},postFlagConfigScheduledChanges(o,s,a,l,c,u){return i.postFlagConfigScheduledChanges(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.ScheduledChangesApiFactory=oul;var wvr=class extends At.BaseAPI{deleteFlagConfigScheduledChanges(t,n,i,o,s){return(0,ce.ScheduledChangesApiFp)(this.configuration).deleteFlagConfigScheduledChanges(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFeatureFlagScheduledChange(t,n,i,o,s){return(0,ce.ScheduledChangesApiFp)(this.configuration).getFeatureFlagScheduledChange(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFlagConfigScheduledChanges(t,n,i,o){return(0,ce.ScheduledChangesApiFp)(this.configuration).getFlagConfigScheduledChanges(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchFlagConfigScheduledChange(t,n,i,o,s,a,l){return(0,ce.ScheduledChangesApiFp)(this.configuration).patchFlagConfigScheduledChange(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}postFlagConfigScheduledChanges(t,n,i,o,s,a){return(0,ce.ScheduledChangesApiFp)(this.configuration).postFlagConfigScheduledChanges(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.ScheduledChangesApi=wvr;var sul=function(r){return{deleteSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteSegment","projectKey",t),(0,B.assertParamExists)("deleteSegment","environmentKey",n),(0,B.assertParamExists)("deleteSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getContextInstanceSegmentsMembershipByEnv:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","projectKey",t),(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","environmentKey",n),(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","requestBody",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/segments/evaluate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),getExpiringTargetsForSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringTargetsForSegment","projectKey",t),(0,B.assertParamExists)("getExpiringTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("getExpiringTargetsForSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExpiringUserTargetsForSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringUserTargetsForSegment","projectKey",t),(0,B.assertParamExists)("getExpiringUserTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("getExpiringUserTargetsForSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegment","projectKey",t),(0,B.assertParamExists)("getSegment","environmentKey",n),(0,B.assertParamExists)("getSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSegmentMembershipForContext:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegmentMembershipForContext","projectKey",t),(0,B.assertParamExists)("getSegmentMembershipForContext","environmentKey",n),(0,B.assertParamExists)("getSegmentMembershipForContext","segmentKey",i),(0,B.assertParamExists)("getSegmentMembershipForContext","contextKey",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{contextKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getSegmentMembershipForUser:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegmentMembershipForUser","projectKey",t),(0,B.assertParamExists)("getSegmentMembershipForUser","environmentKey",n),(0,B.assertParamExists)("getSegmentMembershipForUser","segmentKey",i),(0,B.assertParamExists)("getSegmentMembershipForUser","userKey",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{userKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getSegments:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegments","projectKey",t),(0,B.assertParamExists)("getSegments","environmentKey",n);let c="/api/v2/segments/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),i!==void 0&&(A.limit=i),o!==void 0&&(A.offset=o),s!==void 0&&(A.sort=s),a!==void 0&&(A.filter=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchExpiringTargetsForSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringTargetsForSegment","projectKey",t),(0,B.assertParamExists)("patchExpiringTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("patchExpiringTargetsForSegment","segmentKey",i),(0,B.assertParamExists)("patchExpiringTargetsForSegment","patchSegmentExpiringTargetInputRep",o);let a="/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchExpiringUserTargetsForSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","projectKey",t),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","segmentKey",i),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","patchSegmentRequest",o);let a="/api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchSegment","projectKey",t),(0,B.assertParamExists)("patchSegment","environmentKey",n),(0,B.assertParamExists)("patchSegment","segmentKey",i),(0,B.assertParamExists)("patchSegment","patchWithComment",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postSegment","projectKey",t),(0,B.assertParamExists)("postSegment","environmentKey",n),(0,B.assertParamExists)("postSegment","segmentBody",i);let s="/api/v2/segments/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),updateBigSegmentContextTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateBigSegmentContextTargets","projectKey",t),(0,B.assertParamExists)("updateBigSegmentContextTargets","environmentKey",n),(0,B.assertParamExists)("updateBigSegmentContextTargets","segmentKey",i),(0,B.assertParamExists)("updateBigSegmentContextTargets","segmentUserState",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),updateBigSegmentTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateBigSegmentTargets","projectKey",t),(0,B.assertParamExists)("updateBigSegmentTargets","environmentKey",n),(0,B.assertParamExists)("updateBigSegmentTargets","segmentKey",i),(0,B.assertParamExists)("updateBigSegmentTargets","segmentUserState",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.SegmentsApiAxiosParamCreator=sul;var aul=function(r){let t=(0,ce.SegmentsApiAxiosParamCreator)(r);return{deleteSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getContextInstanceSegmentsMembershipByEnv(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getContextInstanceSegmentsMembershipByEnv(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getExpiringTargetsForSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringTargetsForSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getExpiringUserTargetsForSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringUserTargetsForSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getSegmentMembershipForContext(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getSegmentMembershipForContext(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getSegmentMembershipForUser(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getSegmentMembershipForUser(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getSegments(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getSegments(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})},patchExpiringTargetsForSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringTargetsForSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},patchExpiringUserTargetsForSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringUserTargetsForSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},patchSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},postSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},updateBigSegmentContextTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateBigSegmentContextTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},updateBigSegmentTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateBigSegmentTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.SegmentsApiFp=aul;var lul=function(r,t,n){let i=(0,ce.SegmentsApiFp)(r);return{deleteSegment(o,s,a,l){return i.deleteSegment(o,s,a,l).then(c=>c(n,t))},getContextInstanceSegmentsMembershipByEnv(o,s,a,l){return i.getContextInstanceSegmentsMembershipByEnv(o,s,a,l).then(c=>c(n,t))},getExpiringTargetsForSegment(o,s,a,l){return i.getExpiringTargetsForSegment(o,s,a,l).then(c=>c(n,t))},getExpiringUserTargetsForSegment(o,s,a,l){return i.getExpiringUserTargetsForSegment(o,s,a,l).then(c=>c(n,t))},getSegment(o,s,a,l){return i.getSegment(o,s,a,l).then(c=>c(n,t))},getSegmentMembershipForContext(o,s,a,l,c){return i.getSegmentMembershipForContext(o,s,a,l,c).then(u=>u(n,t))},getSegmentMembershipForUser(o,s,a,l,c){return i.getSegmentMembershipForUser(o,s,a,l,c).then(u=>u(n,t))},getSegments(o,s,a,l,c,u,d){return i.getSegments(o,s,a,l,c,u,d).then(p=>p(n,t))},patchExpiringTargetsForSegment(o,s,a,l,c){return i.patchExpiringTargetsForSegment(o,s,a,l,c).then(u=>u(n,t))},patchExpiringUserTargetsForSegment(o,s,a,l,c){return i.patchExpiringUserTargetsForSegment(o,s,a,l,c).then(u=>u(n,t))},patchSegment(o,s,a,l,c){return i.patchSegment(o,s,a,l,c).then(u=>u(n,t))},postSegment(o,s,a,l){return i.postSegment(o,s,a,l).then(c=>c(n,t))},updateBigSegmentContextTargets(o,s,a,l,c){return i.updateBigSegmentContextTargets(o,s,a,l,c).then(u=>u(n,t))},updateBigSegmentTargets(o,s,a,l,c){return i.updateBigSegmentTargets(o,s,a,l,c).then(u=>u(n,t))}}};ce.SegmentsApiFactory=lul;var Rvr=class extends At.BaseAPI{deleteSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).deleteSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getContextInstanceSegmentsMembershipByEnv(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getContextInstanceSegmentsMembershipByEnv(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringTargetsForSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getExpiringTargetsForSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringUserTargetsForSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getExpiringUserTargetsForSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSegmentMembershipForContext(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).getSegmentMembershipForContext(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getSegmentMembershipForUser(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).getSegmentMembershipForUser(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getSegments(t,n,i,o,s,a,l){return(0,ce.SegmentsApiFp)(this.configuration).getSegments(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchExpiringTargetsForSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchExpiringTargetsForSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchExpiringUserTargetsForSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchExpiringUserTargetsForSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).postSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}updateBigSegmentContextTargets(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).updateBigSegmentContextTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}updateBigSegmentTargets(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).updateBigSegmentTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.SegmentsApi=Rvr;var uul=function(r){return{createBigSegmentExport:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentExport","projectKey",t),(0,B.assertParamExists)("createBigSegmentExport","environmentKey",n),(0,B.assertParamExists)("createBigSegmentExport","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),createBigSegmentImport:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentImport","projectKey",t),(0,B.assertParamExists)("createBigSegmentImport","environmentKey",n),(0,B.assertParamExists)("createBigSegmentImport","segmentKey",i);let l="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={},A=new(r&&r.formDataCtor||FormData);yield(0,B.setApiKeyToObject)(p,"Authorization",r),o!==void 0&&A.append("file",o),s!==void 0&&A.append("mode",s),p["Content-Type"]="multipart/form-data",(0,B.setSearchParams)(c,f);let h=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),h),a.headers),d.data=A,{url:(0,B.toPathString)(c),options:d}}),getBigSegmentExport:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentExport","projectKey",t),(0,B.assertParamExists)("getBigSegmentExport","environmentKey",n),(0,B.assertParamExists)("getBigSegmentExport","segmentKey",i),(0,B.assertParamExists)("getBigSegmentExport","exportID",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{exportID}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBigSegmentImport:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentImport","projectKey",t),(0,B.assertParamExists)("getBigSegmentImport","environmentKey",n),(0,B.assertParamExists)("getBigSegmentImport","segmentKey",i),(0,B.assertParamExists)("getBigSegmentImport","importID",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{importID}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.SegmentsBetaApiAxiosParamCreator=uul;var cul=function(r){let t=(0,ce.SegmentsBetaApiAxiosParamCreator)(r);return{createBigSegmentExport(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createBigSegmentExport(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},createBigSegmentImport(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.createBigSegmentImport(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})},getBigSegmentExport(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentExport(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getBigSegmentImport(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentImport(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.SegmentsBetaApiFp=cul;var dul=function(r,t,n){let i=(0,ce.SegmentsBetaApiFp)(r);return{createBigSegmentExport(o,s,a,l){return i.createBigSegmentExport(o,s,a,l).then(c=>c(n,t))},createBigSegmentImport(o,s,a,l,c,u){return i.createBigSegmentImport(o,s,a,l,c,u).then(d=>d(n,t))},getBigSegmentExport(o,s,a,l,c){return i.getBigSegmentExport(o,s,a,l,c).then(u=>u(n,t))},getBigSegmentImport(o,s,a,l,c){return i.getBigSegmentImport(o,s,a,l,c).then(u=>u(n,t))}}};ce.SegmentsBetaApiFactory=dul;var Bvr=class extends At.BaseAPI{createBigSegmentExport(t,n,i,o){return(0,ce.SegmentsBetaApiFp)(this.configuration).createBigSegmentExport(t,n,i,o).then(s=>s(this.axios,this.basePath))}createBigSegmentImport(t,n,i,o,s,a){return(0,ce.SegmentsBetaApiFp)(this.configuration).createBigSegmentImport(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getBigSegmentExport(t,n,i,o,s){return(0,ce.SegmentsBetaApiFp)(this.configuration).getBigSegmentExport(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBigSegmentImport(t,n,i,o,s){return(0,ce.SegmentsBetaApiFp)(this.configuration).getBigSegmentImport(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.SegmentsBetaApi=Bvr;var pul=function(r){return{getTags:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){let c="/api/v2/tags",u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),t&&(A.kind=t),n!==void 0&&(A.pre=n),i!==void 0&&(A.archived=i),o!==void 0&&(A.limit=o),s!==void 0&&(A.offset=s),a!==void 0&&(A.asOf=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}})}};ce.TagsApiAxiosParamCreator=pul;var ful=function(r){let t=(0,ce.TagsApiAxiosParamCreator)(r);return{getTags(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getTags(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})}}};ce.TagsApiFp=ful;var Aul=function(r,t,n){let i=(0,ce.TagsApiFp)(r);return{getTags(o,s,a,l,c,u,d){return i.getTags(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.TagsApiFactory=Aul;var xvr=class extends At.BaseAPI{getTags(t,n,i,o,s,a,l){return(0,ce.TagsApiFp)(this.configuration).getTags(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.TagsApi=xvr;var hul=function(r){return{deleteTeam:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteTeam","teamKey",t);let i="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getTeam:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeam","teamKey",t);let o="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getTeamMaintainers:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeamMaintainers","teamKey",t);let s="/api/v2/teams/{teamKey}/maintainers".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getTeamRoles:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeamRoles","teamKey",t);let s="/api/v2/teams/{teamKey}/roles".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getTeams:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/teams",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.limit=t),n!==void 0&&(p.offset=n),i!==void 0&&(p.filter=i),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),patchTeam:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTeam","teamKey",t),(0,B.assertParamExists)("patchTeam","teamPatchInput",n);let s="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expand=i),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(n,c,r),{url:(0,B.toPathString)(a),options:c}}),postTeam:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postTeam","teamPostInput",t);let o="/api/v2/teams",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(t,l,r),{url:(0,B.toPathString)(s),options:l}}),postTeamMembers:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postTeamMembers","teamKey",t);let o="/api/v2/teams/{teamKey}/members".replace("{teamKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={},d=new(r&&r.formDataCtor||FormData);yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&d.append("file",n),c["Content-Type"]="multipart/form-data",(0,B.setSearchParams)(s,u);let p=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),p),i.headers),l.data=d,{url:(0,B.toPathString)(s),options:l}})}};ce.TeamsApiAxiosParamCreator=hul;var gul=function(r){let t=(0,ce.TeamsApiAxiosParamCreator)(r);return{deleteTeam(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteTeam(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getTeam(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getTeam(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},getTeamMaintainers(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTeamMaintainers(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getTeamRoles(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTeamRoles(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getTeams(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getTeams(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},patchTeam(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchTeam(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},postTeam(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postTeam(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postTeamMembers(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postTeamMembers(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.TeamsApiFp=gul;var mul=function(r,t,n){let i=(0,ce.TeamsApiFp)(r);return{deleteTeam(o,s){return i.deleteTeam(o,s).then(a=>a(n,t))},getTeam(o,s,a){return i.getTeam(o,s,a).then(l=>l(n,t))},getTeamMaintainers(o,s,a,l){return i.getTeamMaintainers(o,s,a,l).then(c=>c(n,t))},getTeamRoles(o,s,a,l){return i.getTeamRoles(o,s,a,l).then(c=>c(n,t))},getTeams(o,s,a,l,c){return i.getTeams(o,s,a,l,c).then(u=>u(n,t))},patchTeam(o,s,a,l){return i.patchTeam(o,s,a,l).then(c=>c(n,t))},postTeam(o,s,a){return i.postTeam(o,s,a).then(l=>l(n,t))},postTeamMembers(o,s,a){return i.postTeamMembers(o,s,a).then(l=>l(n,t))}}};ce.TeamsApiFactory=mul;var Mvr=class extends At.BaseAPI{deleteTeam(t,n){return(0,ce.TeamsApiFp)(this.configuration).deleteTeam(t,n).then(i=>i(this.axios,this.basePath))}getTeam(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).getTeam(t,n,i).then(o=>o(this.axios,this.basePath))}getTeamMaintainers(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).getTeamMaintainers(t,n,i,o).then(s=>s(this.axios,this.basePath))}getTeamRoles(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).getTeamRoles(t,n,i,o).then(s=>s(this.axios,this.basePath))}getTeams(t,n,i,o,s){return(0,ce.TeamsApiFp)(this.configuration).getTeams(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchTeam(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).patchTeam(t,n,i,o).then(s=>s(this.axios,this.basePath))}postTeam(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).postTeam(t,n,i).then(o=>o(this.axios,this.basePath))}postTeamMembers(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).postTeamMembers(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.TeamsApi=Mvr;var yul=function(r){return{patchTeams:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTeams","teamsPatchInput",t);let i="/api/v2/teams",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PATCH"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.TeamsBetaApiAxiosParamCreator=yul;var Eul=function(r){let t=(0,ce.TeamsBetaApiAxiosParamCreator)(r);return{patchTeams(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.patchTeams(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.TeamsBetaApiFp=Eul;var bul=function(r,t,n){let i=(0,ce.TeamsBetaApiFp)(r);return{patchTeams(o,s){return i.patchTeams(o,s).then(a=>a(n,t))}}};ce.TeamsBetaApiFactory=bul;var Dvr=class extends At.BaseAPI{patchTeams(t,n){return(0,ce.TeamsBetaApiFp)(this.configuration).patchTeams(t,n).then(i=>i(this.axios,this.basePath))}};ce.TeamsBetaApi=Dvr;var Cul=function(r){return{getExpiringFlagsForUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringFlagsForUser","projectKey",t),(0,B.assertParamExists)("getExpiringFlagsForUser","userKey",n),(0,B.assertParamExists)("getExpiringFlagsForUser","environmentKey",i);let s="/api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{userKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getUserFlagSetting:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserFlagSetting","projectKey",t),(0,B.assertParamExists)("getUserFlagSetting","environmentKey",n),(0,B.assertParamExists)("getUserFlagSetting","userKey",i),(0,B.assertParamExists)("getUserFlagSetting","featureFlagKey",o);let a="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))).replace("{featureFlagKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getUserFlagSettings:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserFlagSettings","projectKey",t),(0,B.assertParamExists)("getUserFlagSettings","environmentKey",n),(0,B.assertParamExists)("getUserFlagSettings","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchExpiringFlagsForUser:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringFlagsForUser","projectKey",t),(0,B.assertParamExists)("patchExpiringFlagsForUser","userKey",n),(0,B.assertParamExists)("patchExpiringFlagsForUser","environmentKey",i),(0,B.assertParamExists)("patchExpiringFlagsForUser","patchUsersRequest",o);let a="/api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{userKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),putFlagSetting:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagSetting","projectKey",t),(0,B.assertParamExists)("putFlagSetting","environmentKey",n),(0,B.assertParamExists)("putFlagSetting","userKey",i),(0,B.assertParamExists)("putFlagSetting","featureFlagKey",o),(0,B.assertParamExists)("putFlagSetting","valuePut",s);let l="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))).replace("{featureFlagKey}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PUT"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.UserSettingsApiAxiosParamCreator=Cul;var Iul=function(r){let t=(0,ce.UserSettingsApiAxiosParamCreator)(r);return{getExpiringFlagsForUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringFlagsForUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getUserFlagSetting(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getUserFlagSetting(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getUserFlagSettings(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getUserFlagSettings(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},patchExpiringFlagsForUser(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringFlagsForUser(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},putFlagSetting(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.putFlagSetting(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,At.BASE_PATH,r)})}}};ce.UserSettingsApiFp=Iul;var vul=function(r,t,n){let i=(0,ce.UserSettingsApiFp)(r);return{getExpiringFlagsForUser(o,s,a,l){return i.getExpiringFlagsForUser(o,s,a,l).then(c=>c(n,t))},getUserFlagSetting(o,s,a,l,c){return i.getUserFlagSetting(o,s,a,l,c).then(u=>u(n,t))},getUserFlagSettings(o,s,a,l){return i.getUserFlagSettings(o,s,a,l).then(c=>c(n,t))},patchExpiringFlagsForUser(o,s,a,l,c){return i.patchExpiringFlagsForUser(o,s,a,l,c).then(u=>u(n,t))},putFlagSetting(o,s,a,l,c,u){return i.putFlagSetting(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.UserSettingsApiFactory=vul;var Nvr=class extends At.BaseAPI{getExpiringFlagsForUser(t,n,i,o){return(0,ce.UserSettingsApiFp)(this.configuration).getExpiringFlagsForUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getUserFlagSetting(t,n,i,o,s){return(0,ce.UserSettingsApiFp)(this.configuration).getUserFlagSetting(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getUserFlagSettings(t,n,i,o){return(0,ce.UserSettingsApiFp)(this.configuration).getUserFlagSettings(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchExpiringFlagsForUser(t,n,i,o,s){return(0,ce.UserSettingsApiFp)(this.configuration).patchExpiringFlagsForUser(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}putFlagSetting(t,n,i,o,s,a){return(0,ce.UserSettingsApiFp)(this.configuration).putFlagSetting(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.UserSettingsApi=Nvr;var Sul=function(r){return{deleteUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteUser","projectKey",t),(0,B.assertParamExists)("deleteUser","environmentKey",n),(0,B.assertParamExists)("deleteUser","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSearchUsers:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSearchUsers","projectKey",t),(0,B.assertParamExists)("getSearchUsers","environmentKey",n);let p="/api/v2/user-search/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),i!==void 0&&(C.q=i),o!==void 0&&(C.limit=o),s!==void 0&&(C.offset=s),a!==void 0&&(C.after=a),l!==void 0&&(C.sort=l),c!==void 0&&(C.searchAfter=c),u!==void 0&&(C.filter=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUser","projectKey",t),(0,B.assertParamExists)("getUser","environmentKey",n),(0,B.assertParamExists)("getUser","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getUsers:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUsers","projectKey",t),(0,B.assertParamExists)("getUsers","environmentKey",n);let a="/api/v2/users/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.limit=i),o!==void 0&&(p.searchAfter=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.UsersApiAxiosParamCreator=Sul;var _ul=function(r){let t=(0,ce.UsersApiAxiosParamCreator)(r);return{deleteUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getSearchUsers(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getSearchUsers(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,At.BASE_PATH,r)})},getUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,At.BASE_PATH,r)})},getUsers(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getUsers(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})}}};ce.UsersApiFp=_ul;var Oul=function(r,t,n){let i=(0,ce.UsersApiFp)(r);return{deleteUser(o,s,a,l){return i.deleteUser(o,s,a,l).then(c=>c(n,t))},getSearchUsers(o,s,a,l,c,u,d,p,f,A){return i.getSearchUsers(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getUser(o,s,a,l){return i.getUser(o,s,a,l).then(c=>c(n,t))},getUsers(o,s,a,l,c){return i.getUsers(o,s,a,l,c).then(u=>u(n,t))}}};ce.UsersApiFactory=Oul;var Pvr=class extends At.BaseAPI{deleteUser(t,n,i,o){return(0,ce.UsersApiFp)(this.configuration).deleteUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSearchUsers(t,n,i,o,s,a,l,c,u,d){return(0,ce.UsersApiFp)(this.configuration).getSearchUsers(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getUser(t,n,i,o){return(0,ce.UsersApiFp)(this.configuration).getUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getUsers(t,n,i,o,s){return(0,ce.UsersApiFp)(this.configuration).getUsers(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.UsersApi=Pvr;var Tul=function(r){return{getUserAttributeNames:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserAttributeNames","projectKey",t),(0,B.assertParamExists)("getUserAttributeNames","environmentKey",n);let o="/api/v2/user-attributes/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.UsersBetaApiAxiosParamCreator=Tul;var wul=function(r){let t=(0,ce.UsersBetaApiAxiosParamCreator)(r);return{getUserAttributeNames(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getUserAttributeNames(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.UsersBetaApiFp=wul;var Rul=function(r,t,n){let i=(0,ce.UsersBetaApiFp)(r);return{getUserAttributeNames(o,s,a){return i.getUserAttributeNames(o,s,a).then(l=>l(n,t))}}};ce.UsersBetaApiFactory=Rul;var kvr=class extends At.BaseAPI{getUserAttributeNames(t,n,i){return(0,ce.UsersBetaApiFp)(this.configuration).getUserAttributeNames(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.UsersBetaApi=kvr;var Bul=function(r){return{deleteWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWebhook","id",t);let i="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getAllWebhooks:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/webhooks",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getWebhook","id",t);let i="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),patchWebhook:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchWebhook","id",t),(0,B.assertParamExists)("patchWebhook","patchOperation",n);let o="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postWebhook","webhookPost",t);let i="/api/v2/webhooks",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.WebhooksApiAxiosParamCreator=Bul;var xul=function(r){let t=(0,ce.WebhooksApiAxiosParamCreator)(r);return{deleteWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getAllWebhooks(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getAllWebhooks(n);return(0,B.createRequestFunction)(i,It.default,At.BASE_PATH,r)})},getWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},patchWebhook(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchWebhook(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})},postWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})}}};ce.WebhooksApiFp=xul;var Mul=function(r,t,n){let i=(0,ce.WebhooksApiFp)(r);return{deleteWebhook(o,s){return i.deleteWebhook(o,s).then(a=>a(n,t))},getAllWebhooks(o){return i.getAllWebhooks(o).then(s=>s(n,t))},getWebhook(o,s){return i.getWebhook(o,s).then(a=>a(n,t))},patchWebhook(o,s,a){return i.patchWebhook(o,s,a).then(l=>l(n,t))},postWebhook(o,s){return i.postWebhook(o,s).then(a=>a(n,t))}}};ce.WebhooksApiFactory=Mul;var Qvr=class extends At.BaseAPI{deleteWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).deleteWebhook(t,n).then(i=>i(this.axios,this.basePath))}getAllWebhooks(t){return(0,ce.WebhooksApiFp)(this.configuration).getAllWebhooks(t).then(n=>n(this.axios,this.basePath))}getWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).getWebhook(t,n).then(i=>i(this.axios,this.basePath))}patchWebhook(t,n,i){return(0,ce.WebhooksApiFp)(this.configuration).patchWebhook(t,n,i).then(o=>o(this.axios,this.basePath))}postWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).postWebhook(t,n).then(i=>i(this.axios,this.basePath))}};ce.WebhooksApi=Qvr;var Dul=function(r){return{createWorkflowTemplate:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createWorkflowTemplate","createWorkflowTemplateInput",t);let i="/api/v2/templates",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteWorkflowTemplate:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWorkflowTemplate","templateKey",t);let i="/api/v2/templates/{templateKey}".replace("{templateKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getWorkflowTemplates:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/templates",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.summary=t),n!==void 0&&(u.search=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.WorkflowTemplatesApiAxiosParamCreator=Dul;var Nul=function(r){let t=(0,ce.WorkflowTemplatesApiAxiosParamCreator)(r);return{createWorkflowTemplate(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createWorkflowTemplate(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},deleteWorkflowTemplate(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteWorkflowTemplate(n,i);return(0,B.createRequestFunction)(o,It.default,At.BASE_PATH,r)})},getWorkflowTemplates(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getWorkflowTemplates(n,i,o);return(0,B.createRequestFunction)(s,It.default,At.BASE_PATH,r)})}}};ce.WorkflowTemplatesApiFp=Nul;var Pul=function(r,t,n){let i=(0,ce.WorkflowTemplatesApiFp)(r);return{createWorkflowTemplate(o,s){return i.createWorkflowTemplate(o,s).then(a=>a(n,t))},deleteWorkflowTemplate(o,s){return i.deleteWorkflowTemplate(o,s).then(a=>a(n,t))},getWorkflowTemplates(o,s,a){return i.getWorkflowTemplates(o,s,a).then(l=>l(n,t))}}};ce.WorkflowTemplatesApiFactory=Pul;var Lvr=class extends At.BaseAPI{createWorkflowTemplate(t,n){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).createWorkflowTemplate(t,n).then(i=>i(this.axios,this.basePath))}deleteWorkflowTemplate(t,n){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).deleteWorkflowTemplate(t,n).then(i=>i(this.axios,this.basePath))}getWorkflowTemplates(t,n,i){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).getWorkflowTemplates(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.WorkflowTemplatesApi=Lvr;var kul=function(r){return{deleteWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWorkflow","projectKey",t),(0,B.assertParamExists)("deleteWorkflow","featureFlagKey",n),(0,B.assertParamExists)("deleteWorkflow","environmentKey",i),(0,B.assertParamExists)("deleteWorkflow","workflowId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{workflowId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getCustomWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getCustomWorkflow","projectKey",t),(0,B.assertParamExists)("getCustomWorkflow","featureFlagKey",n),(0,B.assertParamExists)("getCustomWorkflow","environmentKey",i),(0,B.assertParamExists)("getCustomWorkflow","workflowId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{workflowId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getWorkflows:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getWorkflows","projectKey",t),(0,B.assertParamExists)("getWorkflows","featureFlagKey",n),(0,B.assertParamExists)("getWorkflows","environmentKey",i);let u="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),o!==void 0&&(h.status=o),s!==void 0&&(h.sort=s),a!==void 0&&(h.limit=a),l!==void 0&&(h.offset=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}}),postWorkflow:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postWorkflow","projectKey",t),(0,B.assertParamExists)("postWorkflow","featureFlagKey",n),(0,B.assertParamExists)("postWorkflow","environmentKey",i),(0,B.assertParamExists)("postWorkflow","customWorkflowInput",o);let c="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"POST"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.templateKey=s),a!==void 0&&(A.dryRun=a),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(o,p,r),{url:(0,B.toPathString)(u),options:p}})}};ce.WorkflowsApiAxiosParamCreator=kul;var Qul=function(r){let t=(0,ce.WorkflowsApiAxiosParamCreator)(r);return{deleteWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getCustomWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getCustomWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,At.BASE_PATH,r)})},getWorkflows(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getWorkflows(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,At.BASE_PATH,r)})},postWorkflow(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.postWorkflow(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,At.BASE_PATH,r)})}}};ce.WorkflowsApiFp=Qul;var Lul=function(r,t,n){let i=(0,ce.WorkflowsApiFp)(r);return{deleteWorkflow(o,s,a,l,c){return i.deleteWorkflow(o,s,a,l,c).then(u=>u(n,t))},getCustomWorkflow(o,s,a,l,c){return i.getCustomWorkflow(o,s,a,l,c).then(u=>u(n,t))},getWorkflows(o,s,a,l,c,u,d,p){return i.getWorkflows(o,s,a,l,c,u,d,p).then(f=>f(n,t))},postWorkflow(o,s,a,l,c,u,d){return i.postWorkflow(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.WorkflowsApiFactory=Lul;var Fvr=class extends At.BaseAPI{deleteWorkflow(t,n,i,o,s){return(0,ce.WorkflowsApiFp)(this.configuration).deleteWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getCustomWorkflow(t,n,i,o,s){return(0,ce.WorkflowsApiFp)(this.configuration).getCustomWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getWorkflows(t,n,i,o,s,a,l,c){return(0,ce.WorkflowsApiFp)(this.configuration).getWorkflows(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}postWorkflow(t,n,i,o,s,a,l){return(0,ce.WorkflowsApiFp)(this.configuration).postWorkflow(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.WorkflowsApi=Fvr});var KAi=I(Q2t=>{"use strict";Object.defineProperty(Q2t,"__esModule",{value:!0});Q2t.Configuration=void 0;var zvr=class{constructor(t={}){this.apiKey=t.apiKey,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.baseOptions=t.baseOptions,this.formDataCtor=t.formDataCtor}isJsonMime(t){let n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return t!==null&&(n.test(t)||t.toLowerCase()==="application/json-patch+json")}};Q2t.Configuration=zvr});var XAi=I(sK=>{"use strict";var Ful=sK&&sK.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(r,i,o)}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),JAi=sK&&sK.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Ful(t,r,n)};Object.defineProperty(sK,"__esModule",{value:!0});JAi(YAi(),sK);JAi(KAi(),sK)});var L2t,ZAi,$Ai,qvr,F2t,zul,Uvr,jvr,ehi=et(()=>{"use strict";L2t=Ct(XAi()),ZAi=Ct(us());XY();wr();y2t();m2t();$Ai="default",qvr=r=>{let t=parseInt(process.env.LAUNCHDARKLY_INIT_TIMEOUT_SEC??"");return isNaN(t)?r:t},F2t=r=>{let t={kind:"multi"};return r.user&&(t.user={key:r.user.id,name:r.user.name,anonymous:r.user.id===kue.user.id}),r.org&&(t.organization={key:r.org.id,name:r.org.name}),r.subdomain&&(t.subdomain={key:r.subdomain.id}),t},zul=r=>{switch(r){case"org":return"organization";case"subdomain":return"subdomain";case"user":return"user";default:throw new mt(`Unsupported feature flags context kind '${r}'`)}},Uvr=async(r,t,n,i,o,s)=>{let a=process.env.LAUNCHDARKLY_API_KEY;F3(!!a,"Missing LAUNCHDARKLY_API_KEY environment variable",o);let l=process.env.LAUNCHDARKLY_ENVIRONMENT;F3(!!l,"Missing LAUNCHDARKLY_ENVIRONMENT environment variable",o),s||(s=new L2t.FeatureFlagsApi(new L2t.Configuration({apiKey:a})));let c=zul(r),{data:u}=await s.getFeatureFlag($Ai,n,l),d=u.variations.findIndex(h=>(0,ZAi.isEqual)(h.value,i));if(d<0)throw new mt(`No LaunchDarkly variation found for flag '${n}' value '${i}'`);let p=u.variations[d]._id,f=u.environments[l]?.contextTargets?.find(h=>h.contextKind===c&&h.values.includes(t))?.variation??-1,A=f>=0?u.variations[f]._id:void 0;if(o.info(`Setting LaunchDarkly feature flag '${n}' to '${i}' for ${r} '${t}' in environment ${l}`),f!==d){let h=[{kind:"addTargets",contextKind:c,values:[t],variationId:p}];A&&h.unshift({kind:"removeTargets",contextKind:c,values:[t],variationId:A}),await s.patchFeatureFlag($Ai,n,{comment:"Updating target via automation",environmentKey:l,instructions:h},!1,{headers:{"Content-Type":"application/json; domain-model=launchdarkly.semanticpatch"}})}},jvr=r=>Object.keys(r).reduce((t,n)=>(Y2[n]&&!Y2[n].isLegacyOrgFlag&&(t[n]=r[n]),t),{})});var Gvr,Uue,Wvr,thi=et(()=>{"use strict";Uue=()=>(Gvr||(Gvr=new Wvr),Gvr),Wvr=class{listeners=new Set;flags=new Map;listen(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async setFlag(t,n,i,o){let s=`${t}:${n}`,a=this.flags.get(s);a||(a={},this.flags.set(s,a));let l=a[i];if(a[i]=o,l!==o)for(let c of this.listeners)c(t,n,i,l,o)}getFlags(t){let n={};for(let i in t){let o=t[i].id,s=this.flags.get(`${i}:${o}`);s&&(n={...n,...s})}return n}async clear(){this.flags=new Map,this.listeners=new Set}}});var Hvr,z2t,rhi=et(()=>{"use strict";XY();ugt();QCr();thi();Hvr=class{constructor(t){this.logger=t}async initialize(t){}get isInitialized(){return!0}async identify(t){return new Kq(Uue().getFlags(t),this.logger)}async close(){}setTestFlag(t,n,i,o){return Uue().setFlag(t,n,i,o)}},z2t=class extends Hvr{listeners=new Set;_context;flags;constructor(t){super(t),this.flags=new sN(this.logger,()=>Uue().getFlags(this.currentContext),n=>Uue().getFlags(this.currentContext)[n]),Uue().listen(this.onFlagChange.bind(this))}async initialize(t){await super.initialize(t),this._context=t.context}get isInitialized(){return!!this._context}get currentContext(){return F3(!!this._context,"MockFeatureFlagsClientService is not initialized",this.logger),this._context}get currentFlags(){return this.flags}onChange(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async identify(t){let n=Uue(),i=n.getFlags(this.currentContext);this._context=t;let o=n.getFlags(t),s={},a=new Set([...Object.keys(o),...Object.keys(i)]);for(let c of a){let u=o[c],d=i[c];u!==d&&(s[c]={current:u,previous:d})}let l=uI();return await setTimeout(()=>{this.notifyListeners(s),l.resolve(this.flags)}),l.promise}notifyListeners(t){for(let n of this.listeners)n(t)}onFlagChange(t,n,i,o,s){this.currentContext[t]?.id===n&&this.notifyListeners({[i]:{current:s,previous:o}})}}});var aK=et(()=>{"use strict";m2t();sfi();y2t();QCr();ehi();rhi()});var gqd,Vvr,Kvr,Yvr,nhi,$2,Jq=et(()=>{"use strict";cn();kCr();aK();gqd=w.object({orgID:h2t.optional(),userID:g2t.optional(),requestID:w.string().optional()}),Kvr=()=>(Vvr||(Vvr={logContext:{},featureFlags:new Kq({})}),Vvr),Yvr=Kvr,nhi=r=>{let t=Yvr;return Yvr=r,t},$2=()=>Yvr()});var ihi,ohi,shi=et(()=>{"use strict";ihi=()=>{let r=new WeakSet;return(t,n)=>{if(typeof n=="object"&&n!==null){if(r.has(n))return;r.add(n)}return n}},ohi=r=>{switch(typeof r){case"object":if(r===null)return"null";try{switch(r?.constructor?.name){case"Object":case"Array":return JSON.stringify(r,ihi());case"Set":return JSON.stringify(Array.from(r),ihi());case"Error":{let t=r.toString();try{let n=JSON.stringify(r);n!=="{}"&&(t=n)}catch{}return t}case"Null":return"null";case"Function":case"RegExp":return r.toString();case"Date":return r.toDateString();case"ReferenceError":case"TypeError":case"SyntaxError":case"JestAssertionError":return r.toString();case void 0:default:return`attempting to stringify object w/ constructor: ${r?.constructor?.name}; ${JSON.stringify(r)}`}}catch(t){return`Error converting object to string: ${t}`}case"undefined":return typeof r;case"bigint":case"number":case"symbol":return r.toString();case"boolean":return String(r);case"string":return r;default:return"Can't convert arg to string"}}});var Jvr,Zvr,q2t,Dm,aN,ahi,lhi,e4r,qul,Xvr,$vr,uhi,Uul,jul,chi,dhi,t4r,d0,Lg=et(()=>{"use strict";Jvr=Ct(n0i()),Zvr=Ct(Gq()),q2t=Ct(us()),Dm=Ct(Pue());cn();Jq();shi();aN=r=>(0,q2t.cloneDeepWith)(r,(t,n)=>{if(typeof t=="string"&&typeof n=="string"&&n.match(/(password|token|keypair)/i))return"<REDACTED>"}),ahi={emerg:"error",alert:"error",crit:"error",error:"error",warn:"warn",notice:"info",info:"info",debug:"debug"},lhi=Dm.default.format((r,t)=>({...r,...$2().logContext})),e4r=w.object({NODE_ENV:w.string().default("development"),LOG_LEVEL:w.string().default("info").optional(),REACT_APP_COALESCE_VERSION:w.string().default("").optional(),HOSTNAME:w.string().default("").optional(),RUNTIME_ENVIRONMENT:w.string().default("").optional()}),qul=(r,t)=>({host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.NODE_ENV},coalesceSoftwareVersion:${t.REACT_APP_COALESCE_VERSION}&ddsource=nodejs&service=${r}`,ssl:!0}),Xvr=class extends Zvr.default{constructor(t){super(t)}log(t,n){Jvr.datadogLogs.logger&&Jvr.datadogLogs.logger.log(t,{},ahi[t.level]??"info"),n()}},$vr=class extends Zvr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:t.level,status:ahi[t.level]},n)}},uhi=(r,t)=>Dm.default.createLogger({levels:Dm.default.config.syslog.levels,level:t.LOG_LEVEL,format:Dm.default.format.combine(Dm.default.format.timestamp(),lhi(),Dm.default.format.json()),defaultMeta:{service:r,category:"global",coalescesoftwareversion:t.REACT_APP_COALESCE_VERSION,hostname:t.HOSTNAME,env:t.RUNTIME_ENVIRONMENT},transports:[new Dm.default.transports.Console,new $vr(new Dm.default.transports.Http(qul(r,t)))]}),Uul=()=>Dm.default.format.combine(Dm.default.format.timestamp(),Dm.default.format.colorize(),Dm.default.format.printf(r=>`${r.timestamp}|${r.category}|${ohi((0,q2t.omit)(r,"timestamp","message","category","hostname","env","coalescesoftwareversion","level","service"))}|${r.level}:${r.message}`)),jul=r=>new Dm.default.transports.Console({format:Uul(),silent:r}),chi=(r,t)=>Dm.default.createLogger({levels:Dm.default.config.syslog.levels,level:r.LOG_LEVEL,format:Dm.default.format.combine(Dm.default.format.timestamp(),lhi(),Dm.default.format.json()),defaultMeta:{service:"Frontend",category:"frontend",coalescesoftwareversion:r.REACT_APP_COALESCE_VERSION,hostname:r.HOSTNAME,env:r.RUNTIME_ENVIRONMENT},transports:[new Xvr,jul(!t)]}),t4r=r=>{dhi=r},d0=()=>dhi});var r4r,phi=et(()=>{"use strict";Lg();r4r=(r,t,n,...i)=>{let o=d0(),s={...t,area:r};o[n](...i,s)}});var lK,fhi,Tw,FEe,U2t=et(()=>{"use strict";wr();Lg();phi();lK=class{valid=!1;failures;originalValue;constructor(t,n){this.originalValue=aN(t),this.failures=n}get failureMessage(){return this.failures.map(t=>t.path.length>0?`${t.path}: ${t.message}`:t.message).join(`
177
177
  `)}},fhi=null,Tw=class extends mt{code;result;constructor(t,n,i=400){super(t,typeof n=="string"?n:n?.failureMessage),this.result=typeof n=="string"?void 0:n,this.code=i}statusCode(){return this.code}get validationResult(){return this.result}get failureDetails(){return this.result?`${this.message}: ${this.result.failureMessage}`:this.message}},FEe=class{constructor(t){this.name=t}is(t){return this.validate(t).valid}assert(t,n){return this.doAssert(t,!0,n)}verify(t,n){let i=!!(n?.throwOnVerify??!1);return this.doAssert(t,i,n)}doAssert(t,n,i){let{logContext:o,logArea:s,failureLogLevel:a,successLogLevel:l,statusCode:c,errorMessage:u}=i||{},d=this.validate(t),p=i?.additionalValidation?.(t)||{valid:!0},f=p.valid?d:p;if(!f.valid){let A=typeof u=="function"?u(f):u??`Found ${f.failures.length} validation failure(s) for ${this.name}`,h=new Tw(A,f,c);if(a!==fhi){let y=t;y&&typeof y=="object"&&(y=aN(y)),r4r(s,o,a||"error",h,y)}if(n)throw h;return t}return l&&r4r(s,o,l,`${this.name} validation succeeded`,t),f.value}}});var n4r,Pd,i4r=et(()=>{"use strict";Lg();wr();U2t();n4r=class extends FEe{constructor(n,i){super(n);this.runtype=i;if(!i)throw new mt(`Missing runtype for ${n} validator. Did you use a circular import?`)}validate(n){try{let i=this.runtype.validate(n);return i.success?{valid:!0,value:n}:this.createValidationFailedResult(i,n)}catch(i){return d0().error(`RuntypesValidator: Unable to validate ${this.name} value. `,`
178
178
  Error: `,i,`
179
- Value: `,n),new lK(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new lK(i,o)}},Pd=(r,t)=>new n4r(r,t)});var s4r,Gul,Wul,o4r,Ir,Ahi=et(()=>{"use strict";s4r=Ct(us());wr();Lg();U2t();cn();Gul=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,Wul=r=>s4r.default.sum(r.issues.map(t=>Gul(t))),o4r=class extends FEe{constructor(n,i){super(n);this.zodType=i;if(!i)throw new mt(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=s4r.default.minBy(o.unionErrors,a=>Wul(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new lK(n,o)}catch(i){let o=i instanceof w.ZodError?[i.flatten(),i.issues]:[];return d0().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new lK(n,[{path:"",message:"value triggered unknown Zod error"}])}}},Ir=(r,t)=>new o4r(r,t)});var zEe=et(()=>{"use strict";i4r();U2t();Ahi()});var Hul,Vul,hhi,j2t,nqe,a4r,G2t,l4r,u4r,c4r,d4r,p4r,f4r,W2t,iqe,A4r,ghi,tx=et(()=>{"use strict";cn();V1r();xY();h3r();M3r();rEe();pli();zq();zEe();Hul=w.object({auth:w.string(),firestore:w.string(),storage:w.string()}),Vul=w.object({apiKey:w.string(),authDomain:w.string(),projectId:w.string(),storageBucket:w.string(),messagingSenderId:w.string(),appId:w.string(),measurementId:w.string(),emulatorInfo:Hul.optional()}),hhi=Ir("FirebaseConfig",Vul),j2t=r=>{q7("firestore.delete",{path:r})},nqe=r=>{q7("firestore.set",{path:r})},a4r=r=>{q7("firestore.update",{path:r})},G2t=r=>{q7("firestore.get",{path:r})},l4r=r=>{q7("firestore.transaction.get",{path:r})},u4r=r=>{q7("firestore.transaction.set",{path:r})},c4r=r=>{q7("firestore.transaction.update",{path:r})},d4r=r=>{q7("firestore.transaction.delete",{path:r})},p4r=()=>{q7("firestore.batch")},f4r=U8.getTracer("firestore"),W2t=async r=>(j2t(r.path),f4r.startActiveSpan(`delete ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","delete");let n=await r.delete();return t.end(),n})),iqe=(r,t,n)=>(nqe(r.path),f4r.startActiveSpan(`set ${r.path}`,async i=>{if(i.setAttribute("path",r.path),i.setAttribute("operation","set"),n){let o=await r.set(t,n);return i.end(),o}else{let o=await r.set(t);return i.end(),o}})),A4r=r=>(G2t(r.path),f4r.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),ghi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await u4(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var H2t,V2t,mhi,jue=et(()=>{"use strict";H2t={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",warn:"warn",alert:"alert",app:"app"},V2t={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6,warn:4},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",warn:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}},mhi=["Authorization","Token","Password","Secret","idToken","id_token","clientID","clientSecret"]});var h4r,ww,oqe=et(()=>{"use strict";h4r=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JDBC_SERVICE","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP","AI_COLUMN_DESCRIPTIONS","AI_NODE_DESCRIPTIONS","AI_GIT_COMMIT_MESSAGE"],ww={...Object.fromEntries(h4r.map(r=>[r,{level:"info"}]))}});var Rw,qEe,zg,Y2t=et(()=>{"use strict";Rw=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),qEe=(r,t)=>{r.runID=t},zg={}});var Ehi=I(yhi=>{"use strict";Object.defineProperty(yhi,"__esModule",{value:!0})});var g4r=I(K2t=>{"use strict";Object.defineProperty(K2t,"__esModule",{value:!0});K2t.Failcode=void 0;K2t.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var jEe=I(UEe=>{"use strict";var Yul=UEe&&UEe.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(UEe,"__esModule",{value:!0});UEe.ValidationError=void 0;var Kul=function(r){Yul(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);UEe.ValidationError=Kul});var sqe=I(m4r=>{"use strict";Object.defineProperty(m4r,"__esModule",{value:!0});var J2t=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||J2t(r)(t.underlying);case"union":return t.alternatives.map(J2t(r)).join(" | ");case"intersect":return t.intersectees.map(J2t(r)).join(" & ");default:break}return"`${".concat(y5(!1,r)(t),"}`")}},X2t=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):X2t(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return X2t(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return X2t(r)(n.reflect)}break;default:break}return"${".concat(y5(!1,r)(t),"}")}},y5=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return J2t(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=X2t(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(bhi(n)).concat(y5(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(y5(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(bhi(n)).concat(u).concat(Jul(n,u),": ").concat(n.fields[u].tag==="optional"?y5(!1,t)(n.fields[u].underlying):y5(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(y5(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(y5(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(y5(!0,t)).join(" & ")));case"optional":return y5(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||y5(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return y5(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};m4r.default=y5(!1,new Set);function Jul(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function bhi(r){var t=r.isReadonly;return t?"readonly ":""}});var pf=I(kd=>{"use strict";var y4r=kd&&kd.__assign||function(){return y4r=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},y4r.apply(this,arguments)};Object.defineProperty(kd,"__esModule",{value:!0});kd.FAILURE=kd.SUCCESS=kd.enumerableKeysOf=kd.typeOf=kd.hasKey=void 0;var lN=g4r(),Gue=sqe();function Xul(r,t){return typeof t=="object"&&t!==null&&r in t}kd.hasKey=Xul;var $ul=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};kd.typeOf=$ul;var Zul=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};kd.enumerableKeysOf=Zul;function ecl(r){return{success:!0,value:r}}kd.SUCCESS=ecl;kd.FAILURE=Object.assign(function(r,t,n){return y4r({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,Gue.default)(r)):(0,Gue.default)(r),", but was ").concat((0,kd.typeOf)(t));return(0,kd.FAILURE)(lN.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,kd.FAILURE)(lN.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,kd.FAILURE)(lN.Failcode.KEY_INCORRECT,"Expected ".concat((0,Gue.default)(r)," key to be ").concat((0,Gue.default)(t),", but was ").concat((0,kd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,Gue.default)(r),", but was incompatible");return(0,kd.FAILURE)(lN.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,kd.FAILURE)(lN.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,kd.FAILURE)(lN.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,kd.FAILURE)(lN.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,Gue.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,Gue.default)(r),", but was missing");return(0,kd.FAILURE)(lN.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,kd.typeOf)(r));return(0,kd.FAILURE)(lN.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,kd.typeOf)(r));return(0,kd.FAILURE)(lN.Failcode.NOTHING_EXPECTED,t)}})});var Chi=I(uK=>{"use strict";var tcl=uK&&uK.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},rcl=uK&&uK.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(uK,"__esModule",{value:!0});uK.Contract=void 0;var ncl=jEe(),icl=pf();function ocl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=icl.FAILURE.ARGUMENT_INCORRECT(c);throw new ncl.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,rcl([],tcl(a),!1)))}}}}uK.Contract=ocl});var Shi=I(cK=>{"use strict";var scl=cK&&cK.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},acl=cK&&cK.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(cK,"__esModule",{value:!0});cK.AsyncContract=void 0;var Ihi=jEe(),vhi=pf();function lcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=vhi.FAILURE.ARGUMENT_INCORRECT(c);throw new Ihi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,acl([],scl(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=vhi.FAILURE.RETURN_INCORRECT(c);throw new Ihi.ValidationError(u)}return p.then(o.check)}}}}cK.AsyncContract=lcl});var _hi=I(uN=>{"use strict";var ucl=uN&&uN.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ccl=uN&&uN.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(uN,"__esModule",{value:!0});uN.when=uN.match=void 0;function dcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=ucl(r),a=s.next();!a.done;a=s.next()){var l=ccl(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}uN.match=dcl;function pcl(r,t){return[r,t]}uN.when=pcl});var YA=I(pK=>{"use strict";Object.defineProperty(pK,"__esModule",{value:!0});pK.innerValidate=pK.create=pK.isRuntype=void 0;var dK=z3(),fcl=sqe(),Acl=jEe(),Ohi=pf(),Thi=Symbol(),hcl=function(r){return(0,Ohi.hasKey)(Thi,r)};pK.isRuntype=hcl;function gcl(r,t){return t[Thi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,Ohi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,ycl())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,fcl.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new Acl.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,dK.Union)(t,p)}function s(p){return(0,dK.Intersect)(t,p)}function a(){return(0,dK.Optional)(t)}function l(){return(0,dK.Union)(t,dK.Null)}function c(p,f){return(0,dK.Constraint)(t,p,f)}function u(p,f){return(0,dK.Constraint)(t,p,f)}function d(p){return(0,dK.Brand)(p,t)}}pK.create=gcl;function mcl(r,t,n){return r._innerValidate(t,n)}pK.innerValidate=mcl;function ycl(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var Z2t=I($2t=>{"use strict";Object.defineProperty($2t,"__esModule",{value:!0});$2t.Unknown=void 0;var Ecl=YA(),bcl=pf(),Ccl={tag:"unknown"};$2t.Unknown=(0,Ecl.create)(function(r){return(0,bcl.SUCCESS)(r)},Ccl)});var whi=I(eyt=>{"use strict";Object.defineProperty(eyt,"__esModule",{value:!0});eyt.Never=void 0;var Icl=YA(),vcl=pf(),Scl={tag:"never"};eyt.Never=(0,Icl.create)(vcl.FAILURE.NOTHING_EXPECTED,Scl)});var Rhi=I(tyt=>{"use strict";Object.defineProperty(tyt,"__esModule",{value:!0});tyt.Void=void 0;var _cl=Z2t();tyt.Void=_cl.Unknown});var E4r=I(GEe=>{"use strict";var ryt=GEe&&GEe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(GEe,"__esModule",{value:!0});GEe.Union=void 0;var nyt=YA(),aqe=pf();function Ocl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,nyt.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=ryt(r),y=h.next();!y.done;y=h.next()){var C=y.value;if((0,nyt.innerValidate)(C,o,s).success)return(0,aqe.SUCCESS)(o)}}catch(J){a={error:J}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return aqe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var O=ryt(r),T=O.next();!T.done;T=O.next()){var C=T.value;if(C.reflect.tag==="record"){var R=function(Y){var L=C.reflect.fields[Y];L.tag==="literal"&&(v[Y]?v[Y].every(function(X){return X!==L.value})&&v[Y].push(L.value):v[Y]=[L.value])};for(var N in C.reflect.fields)R(N)}}}catch(J){c={error:J}}finally{try{T&&!T.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}for(var N in v)if(v[N].length===r.length)try{for(var z=(d=void 0,ryt(r)),W=z.next();!W.done;W=z.next()){var C=W.value;if(C.reflect.tag==="record"){var V=C.reflect.fields[N];if(V.tag==="literal"&&(0,aqe.hasKey)(N,o)&&o[N]===V.value)return(0,nyt.innerValidate)(C,o,s)}}}catch(Y){d={error:Y}}finally{try{W&&!W.done&&(p=z.return)&&p.call(z)}finally{if(d)throw d.error}}try{for(var $=ryt(r),K=$.next();!K.done;K=$.next()){var F=K.value;if((0,nyt.innerValidate)(F,o,s).success)return(0,aqe.SUCCESS)(o)}}catch(J){f={error:J}}finally{try{K&&!K.done&&(A=$.return)&&A.call($)}finally{if(f)throw f.error}}return aqe.FAILURE.TYPE_INCORRECT(i,o)},i)}GEe.Union=Ocl});var I4r=I(m4=>{"use strict";Object.defineProperty(m4,"__esModule",{value:!0});m4.Nullish=m4.Null=m4.Undefined=m4.Literal=m4.literal=void 0;var Tcl=YA(),Bhi=pf(),wcl=E4r();function b4r(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}m4.literal=b4r;function C4r(r){var t={tag:"literal",value:r};return(0,Tcl.create)(function(n){return n===r?(0,Bhi.SUCCESS)(n):Bhi.FAILURE.VALUE_INCORRECT("literal","`".concat(b4r(r),"`"),"`".concat(b4r(n),"`"))},t)}m4.Literal=C4r;m4.Undefined=C4r(void 0);m4.Null=C4r(null);m4.Nullish=(0,wcl.Union)(m4.Null,m4.Undefined)});var Phi=I(cN=>{"use strict";var fK=cN&&cN.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},v4r=cN&&cN.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},xhi=cN&&cN.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(cN,"__esModule",{value:!0});cN.Template=void 0;var iyt=YA(),Mhi=sqe(),Xq=pf(),Nhi=I4r(),S4r=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Rcl=function(r){if(0<r.length&&Array.isArray(r[0])){var t=fK(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,iyt.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(iyt.isRuntype);return[n,i]}},Bcl=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,v4r([n,1],fK(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,v4r(v4r([n,2,r[n]+l],fK(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=cqe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=cqe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},xcl=function(r){var t=fK(Rcl(r),2),n=t[0],i=t[1];return Bcl(n,i),[n,i]},cqe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return cqe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return cqe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return cqe(r.reflect.intersectees[0]);break;default:break}throw void 0},Dhi=function(r){return r},_4r={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},lqe=function(r){switch(r.tag){case"literal":{var t=fK(_4r[(0,Xq.typeOf)(r.value)]||[Dhi],1),n=t[0];return n}case"brand":return lqe(r.entity);case"constraint":return lqe(r.underlying);case"union":return r.alternatives.map(lqe);case"intersect":return r.intersectees.map(lqe);default:var i=fK(_4r[r.tag]||[Dhi],1),o=i[0];return o}},O4r=function(r,t){return function(n){var i,o,s,a,l=lqe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=xhi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=O4r(d.reflect,t)(n);if(p.success)return p}}catch(C){i={error:C}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return Xq.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=xhi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=O4r(h.reflect,t)(n);if(!p.success)return p}}catch(C){s={error:C}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,Xq.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,iyt.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?Xq.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,Nhi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},uqe=function(r){switch(r.tag){case"literal":return S4r(String(r.value));case"brand":return uqe(r.entity);case"constraint":return uqe(r.underlying);case"union":return r.alternatives.map(uqe).join("|");case"template":return r.strings.map(S4r).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(uqe(l.reflect),")"):a},"");default:var t=fK(_4r[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},Mcl=function(r){var t=r.strings.map(S4r).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(uqe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function Dcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=fK(xcl(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=Mcl(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=O4r(A.reflect,u)(h);if(!y.success)return y}return(0,Xq.SUCCESS)(c)}else return Xq.FAILURE.VALUE_INCORRECT("string","".concat((0,Mhi.default)(s)),'"'.concat((0,Nhi.literal)(c),'"'))};return(0,iyt.create)(function(c,u){if(typeof c!="string")return Xq.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,Xq.SUCCESS)(c);var p=Xq.FAILURE.VALUE_INCORRECT("string","".concat((0,Mhi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}cN.Template=Dcl});var Lhi=I(oyt=>{"use strict";Object.defineProperty(oyt,"__esModule",{value:!0});oyt.Boolean=void 0;var Ncl=YA(),khi=pf(),Qhi={tag:"boolean"};oyt.Boolean=(0,Ncl.create)(function(r){return typeof r=="boolean"?(0,khi.SUCCESS)(r):khi.FAILURE.TYPE_INCORRECT(Qhi,r)},Qhi)});var qhi=I(syt=>{"use strict";Object.defineProperty(syt,"__esModule",{value:!0});syt.Number=void 0;var Pcl=YA(),Fhi=pf(),zhi={tag:"number"};syt.Number=(0,Pcl.create)(function(r){return typeof r=="number"?(0,Fhi.SUCCESS)(r):Fhi.FAILURE.TYPE_INCORRECT(zhi,r)},zhi)});var Ghi=I(ayt=>{"use strict";Object.defineProperty(ayt,"__esModule",{value:!0});ayt.BigInt=void 0;var kcl=YA(),Uhi=pf(),jhi={tag:"bigint"};ayt.BigInt=(0,kcl.create)(function(r){return typeof r=="bigint"?(0,Uhi.SUCCESS)(r):Uhi.FAILURE.TYPE_INCORRECT(jhi,r)},jhi)});var T4r=I(lyt=>{"use strict";Object.defineProperty(lyt,"__esModule",{value:!0});lyt.String=void 0;var Qcl=YA(),Whi=pf(),Hhi={tag:"string"};lyt.String=(0,Qcl.create)(function(r){return typeof r=="string"?(0,Whi.SUCCESS)(r):Whi.FAILURE.TYPE_INCORRECT(Hhi,r)},Hhi)});var Jhi=I(uyt=>{"use strict";Object.defineProperty(uyt,"__esModule",{value:!0});uyt.Symbol=void 0;var Khi=YA(),dqe=pf(),Lcl=function(r){var t={tag:"symbol",key:r};return(0,Khi.create)(function(n){if(typeof n!="symbol")return dqe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?dqe.FAILURE.VALUE_INCORRECT("symbol key",Yhi(r),Yhi(i)):(0,dqe.SUCCESS)(n)},t)},Vhi={tag:"symbol"};uyt.Symbol=(0,Khi.create)(function(r){return typeof r=="symbol"?(0,dqe.SUCCESS)(r):dqe.FAILURE.TYPE_INCORRECT(Vhi,r)},Object.assign(Lcl,Vhi));var Yhi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var Zhi=I(cyt=>{"use strict";Object.defineProperty(cyt,"__esModule",{value:!0});cyt.Array=void 0;var Xhi=YA(),pqe=pf();function $hi(r,t){var n={tag:"array",isReadonly:t,element:r};return zcl((0,Xhi.create)(function(i,o){if(!Array.isArray(i))return pqe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,pqe.enumerableKeysOf)(i),a=s.map(function(c){return(0,Xhi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,pqe.enumerableKeysOf)(l).length!==0?pqe.FAILURE.CONTENT_INCORRECT(n,l):(0,pqe.SUCCESS)(i)},n))}function Fcl(r){return $hi(r,!1)}cyt.Array=Fcl;function zcl(r){return r.asReadonly=t,r;function t(){return $hi(r.element,!0)}}});var tgi=I(dyt=>{"use strict";Object.defineProperty(dyt,"__esModule",{value:!0});dyt.Tuple=void 0;var egi=YA(),WEe=pf();function qcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,egi.create)(function(i,o){if(!Array.isArray(i))return WEe.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return WEe.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,WEe.enumerableKeysOf)(i),a=s.map(function(c){return(0,egi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,WEe.enumerableKeysOf)(l).length!==0?WEe.FAILURE.CONTENT_INCORRECT(n,l):(0,WEe.SUCCESS)(i)},n)}dyt.Tuple=qcl});var ngi=I(Bw=>{"use strict";var w4r=Bw&&Bw.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},R4r=Bw&&Bw.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(Bw,"__esModule",{value:!0});Bw.Partial=Bw.Record=Bw.InternalRecord=void 0;var rgi=YA(),y4=pf();function AK(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return Gcl((0,rgi.create)(function(o,s){if(o==null)return y4.FAILURE.TYPE_INCORRECT(i,o);var a=(0,y4.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return y4.FAILURE.TYPE_INCORRECT(i,o);var l=R4r([],w4r(new Set(R4r(R4r([],w4r(a),!1),w4r((0,y4.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,y4.hasKey)(p,r),A=(0,y4.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var C=o[p];y&&C===void 0?d[p]=(0,y4.SUCCESS)(C):d[p]=(0,rgi.innerValidate)(h,C,s)}else y?d[p]=(0,y4.SUCCESS)(void 0):d[p]=y4.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var C=o[p];d[p]=(0,y4.SUCCESS)(C)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,y4.enumerableKeysOf)(u).length!==0?y4.FAILURE.CONTENT_INCORRECT(i,u):(0,y4.SUCCESS)(o)},i))}Bw.InternalRecord=AK;function Ucl(r){return AK(r,!1,!1)}Bw.Record=Ucl;function jcl(r){return AK(r,!0,!1)}Bw.Partial=jcl;function Gcl(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return AK(r.fields,!0,r.isReadonly)}function n(){return AK(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),AK(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,y4.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),AK(c,r.isPartial,r.isReadonly)}function s(a){return AK(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var x4r=I(HEe=>{"use strict";Object.defineProperty(HEe,"__esModule",{value:!0});HEe.Guard=HEe.Constraint=void 0;var Wcl=YA(),B4r=pf(),Hcl=Z2t();function Vcl(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,Wcl.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?B4r.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,B4r.SUCCESS)(l.value):B4r.FAILURE.CONSTRAINT_FAILED(s)},s)}HEe.Constraint=Vcl;var Ycl=function(r,t){return Hcl.Unknown.withGuard(r,t)};HEe.Guard=Ycl});var ogi=I(pyt=>{"use strict";Object.defineProperty(pyt,"__esModule",{value:!0});pyt.Dictionary=void 0;var igi=YA(),M4r=T4r(),Kcl=x4r(),Jcl=sqe(),Wue=pf(),Xcl=(0,Kcl.Constraint)(M4r.String,function(r){return!isNaN(+r)},{name:"number"});function $cl(r,t){var n=t===void 0||t==="string"?M4r.String:t==="number"?Xcl:t,i=(0,Jcl.default)(n),o={tag:"dictionary",key:i,value:r};return(0,igi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return Wue.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,Wue.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=Wue.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,igi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,Wue.enumerableKeysOf)(d).length!==0?Wue.FAILURE.CONTENT_INCORRECT(o,d):(0,Wue.SUCCESS)(s)},o)}pyt.Dictionary=$cl});var agi=I(VEe=>{"use strict";var Zcl=VEe&&VEe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(VEe,"__esModule",{value:!0});VEe.Intersect=void 0;var sgi=YA(),e0l=pf();function t0l(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,sgi.create)(function(i,o){var s,a;try{for(var l=Zcl(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,sgi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,e0l.SUCCESS)(i)},n)}VEe.Intersect=t0l});var lgi=I(fyt=>{"use strict";Object.defineProperty(fyt,"__esModule",{value:!0});fyt.Optional=void 0;var r0l=YA(),n0l=pf();function i0l(r){var t={tag:"optional",underlying:r};return(0,r0l.create)(function(n){return n===void 0?(0,n0l.SUCCESS)(n):r.validate(n)},t)}fyt.Optional=i0l});var dgi=I(Ayt=>{"use strict";Object.defineProperty(Ayt,"__esModule",{value:!0});Ayt.Function=void 0;var o0l=YA(),ugi=pf(),cgi={tag:"function"};Ayt.Function=(0,o0l.create)(function(r){return typeof r=="function"?(0,ugi.SUCCESS)(r):ugi.FAILURE.TYPE_INCORRECT(cgi,r)},cgi)});var fgi=I(hyt=>{"use strict";Object.defineProperty(hyt,"__esModule",{value:!0});hyt.InstanceOf=void 0;var s0l=YA(),pgi=pf();function a0l(r){var t={tag:"instanceof",ctor:r};return(0,s0l.create)(function(n){return n instanceof r?(0,pgi.SUCCESS)(n):pgi.FAILURE.TYPE_INCORRECT(t,n)},t)}hyt.InstanceOf=a0l});var Agi=I(gyt=>{"use strict";Object.defineProperty(gyt,"__esModule",{value:!0});gyt.Lazy=void 0;var l0l=YA();function u0l(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,l0l.create)(function(o){return i().validate(o)},t)}gyt.Lazy=u0l});var hgi=I(myt=>{"use strict";Object.defineProperty(myt,"__esModule",{value:!0});myt.Brand=void 0;var c0l=YA();function d0l(r,t){var n={tag:"brand",brand:r,entity:t};return(0,c0l.create)(function(i){return t.validate(i)},n)}myt.Brand=d0l});var ggi=I(YEe=>{"use strict";Object.defineProperty(YEe,"__esModule",{value:!0});YEe.checked=YEe.check=void 0;var p0l=jEe(),f0l=pf(),D4r=new WeakMap;function A0l(r,t,n){var i=D4r.get(r)||new Map;D4r.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}YEe.check=A0l;function h0l(r,t,n){var i=D4r.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function g0l(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=h0l(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=f0l.FAILURE.ARGUMENT_INCORRECT(h);throw new p0l.ValidationError(y)}}),s.apply(this,c)}}}YEe.checked=g0l});var z3=I(Cl=>{"use strict";var m0l=Cl&&Cl.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),ap=Cl&&Cl.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&m0l(t,r,n)};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.InstanceOf=Cl.Nullish=Cl.Null=Cl.Undefined=Cl.Literal=void 0;ap(Ehi(),Cl);ap(g4r(),Cl);ap(Chi(),Cl);ap(Shi(),Cl);ap(_hi(),Cl);ap(jEe(),Cl);ap(Z2t(),Cl);ap(whi(),Cl);ap(Rhi(),Cl);var yyt=I4r();Object.defineProperty(Cl,"Literal",{enumerable:!0,get:function(){return yyt.Literal}});Object.defineProperty(Cl,"Undefined",{enumerable:!0,get:function(){return yyt.Undefined}});Object.defineProperty(Cl,"Null",{enumerable:!0,get:function(){return yyt.Null}});Object.defineProperty(Cl,"Nullish",{enumerable:!0,get:function(){return yyt.Nullish}});ap(Phi(),Cl);ap(Lhi(),Cl);ap(qhi(),Cl);ap(Ghi(),Cl);ap(T4r(),Cl);ap(Jhi(),Cl);ap(Zhi(),Cl);ap(tgi(),Cl);ap(ngi(),Cl);ap(ogi(),Cl);ap(E4r(),Cl);ap(agi(),Cl);ap(lgi(),Cl);ap(dgi(),Cl);var y0l=fgi();Object.defineProperty(Cl,"InstanceOf",{enumerable:!0,get:function(){return y0l.InstanceOf}});ap(Agi(),Cl);ap(x4r(),Cl);ap(hgi(),Cl);ap(ggi(),Cl)});var fqe=I((NUd,mgi)=>{var E0l="2.0.0",b0l=Number.MAX_SAFE_INTEGER||9007199254740991,C0l=16,I0l=250,v0l=["major","premajor","minor","preminor","patch","prepatch","prerelease"];mgi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:C0l,MAX_SAFE_BUILD_LENGTH:I0l,MAX_SAFE_INTEGER:b0l,RELEASE_TYPES:v0l,SEMVER_SPEC_VERSION:E0l,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Aqe=I((PUd,ygi)=>{var S0l=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ygi.exports=S0l});var KEe=I(($q,Egi)=>{var{MAX_SAFE_COMPONENT_LENGTH:N4r,MAX_SAFE_BUILD_LENGTH:_0l,MAX_LENGTH:O0l}=fqe(),T0l=Aqe();$q=Egi.exports={};var w0l=$q.re=[],R0l=$q.safeRe=[],cs=$q.src=[],ds=$q.t={},B0l=0,P4r="[a-zA-Z0-9-]",x0l=[["\\s",1],["\\d",O0l],[P4r,_0l]],M0l=r=>{for(let[t,n]of x0l)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},au=(r,t,n)=>{let i=M0l(t),o=B0l++;T0l(r,o,t),ds[r]=o,cs[o]=t,w0l[o]=new RegExp(t,n?"g":void 0),R0l[o]=new RegExp(i,n?"g":void 0)};au("NUMERICIDENTIFIER","0|[1-9]\\d*");au("NUMERICIDENTIFIERLOOSE","\\d+");au("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${P4r}*`);au("MAINVERSION",`(${cs[ds.NUMERICIDENTIFIER]})\\.(${cs[ds.NUMERICIDENTIFIER]})\\.(${cs[ds.NUMERICIDENTIFIER]})`);au("MAINVERSIONLOOSE",`(${cs[ds.NUMERICIDENTIFIERLOOSE]})\\.(${cs[ds.NUMERICIDENTIFIERLOOSE]})\\.(${cs[ds.NUMERICIDENTIFIERLOOSE]})`);au("PRERELEASEIDENTIFIER",`(?:${cs[ds.NUMERICIDENTIFIER]}|${cs[ds.NONNUMERICIDENTIFIER]})`);au("PRERELEASEIDENTIFIERLOOSE",`(?:${cs[ds.NUMERICIDENTIFIERLOOSE]}|${cs[ds.NONNUMERICIDENTIFIER]})`);au("PRERELEASE",`(?:-(${cs[ds.PRERELEASEIDENTIFIER]}(?:\\.${cs[ds.PRERELEASEIDENTIFIER]})*))`);au("PRERELEASELOOSE",`(?:-?(${cs[ds.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${cs[ds.PRERELEASEIDENTIFIERLOOSE]})*))`);au("BUILDIDENTIFIER",`${P4r}+`);au("BUILD",`(?:\\+(${cs[ds.BUILDIDENTIFIER]}(?:\\.${cs[ds.BUILDIDENTIFIER]})*))`);au("FULLPLAIN",`v?${cs[ds.MAINVERSION]}${cs[ds.PRERELEASE]}?${cs[ds.BUILD]}?`);au("FULL",`^${cs[ds.FULLPLAIN]}$`);au("LOOSEPLAIN",`[v=\\s]*${cs[ds.MAINVERSIONLOOSE]}${cs[ds.PRERELEASELOOSE]}?${cs[ds.BUILD]}?`);au("LOOSE",`^${cs[ds.LOOSEPLAIN]}$`);au("GTLT","((?:<|>)?=?)");au("XRANGEIDENTIFIERLOOSE",`${cs[ds.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);au("XRANGEIDENTIFIER",`${cs[ds.NUMERICIDENTIFIER]}|x|X|\\*`);au("XRANGEPLAIN",`[v=\\s]*(${cs[ds.XRANGEIDENTIFIER]})(?:\\.(${cs[ds.XRANGEIDENTIFIER]})(?:\\.(${cs[ds.XRANGEIDENTIFIER]})(?:${cs[ds.PRERELEASE]})?${cs[ds.BUILD]}?)?)?`);au("XRANGEPLAINLOOSE",`[v=\\s]*(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:\\.(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:\\.(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:${cs[ds.PRERELEASELOOSE]})?${cs[ds.BUILD]}?)?)?`);au("XRANGE",`^${cs[ds.GTLT]}\\s*${cs[ds.XRANGEPLAIN]}$`);au("XRANGELOOSE",`^${cs[ds.GTLT]}\\s*${cs[ds.XRANGEPLAINLOOSE]}$`);au("COERCE",`(^|[^\\d])(\\d{1,${N4r}})(?:\\.(\\d{1,${N4r}}))?(?:\\.(\\d{1,${N4r}}))?(?:$|[^\\d])`);au("COERCERTL",cs[ds.COERCE],!0);au("LONETILDE","(?:~>?)");au("TILDETRIM",`(\\s*)${cs[ds.LONETILDE]}\\s+`,!0);$q.tildeTrimReplace="$1~";au("TILDE",`^${cs[ds.LONETILDE]}${cs[ds.XRANGEPLAIN]}$`);au("TILDELOOSE",`^${cs[ds.LONETILDE]}${cs[ds.XRANGEPLAINLOOSE]}$`);au("LONECARET","(?:\\^)");au("CARETTRIM",`(\\s*)${cs[ds.LONECARET]}\\s+`,!0);$q.caretTrimReplace="$1^";au("CARET",`^${cs[ds.LONECARET]}${cs[ds.XRANGEPLAIN]}$`);au("CARETLOOSE",`^${cs[ds.LONECARET]}${cs[ds.XRANGEPLAINLOOSE]}$`);au("COMPARATORLOOSE",`^${cs[ds.GTLT]}\\s*(${cs[ds.LOOSEPLAIN]})$|^$`);au("COMPARATOR",`^${cs[ds.GTLT]}\\s*(${cs[ds.FULLPLAIN]})$|^$`);au("COMPARATORTRIM",`(\\s*)${cs[ds.GTLT]}\\s*(${cs[ds.LOOSEPLAIN]}|${cs[ds.XRANGEPLAIN]})`,!0);$q.comparatorTrimReplace="$1$2$3";au("HYPHENRANGE",`^\\s*(${cs[ds.XRANGEPLAIN]})\\s+-\\s+(${cs[ds.XRANGEPLAIN]})\\s*$`);au("HYPHENRANGELOOSE",`^\\s*(${cs[ds.XRANGEPLAINLOOSE]})\\s+-\\s+(${cs[ds.XRANGEPLAINLOOSE]})\\s*$`);au("STAR","(<|>)?=?\\s*\\*");au("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");au("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Eyt=I((kUd,bgi)=>{var D0l=Object.freeze({loose:!0}),N0l=Object.freeze({}),P0l=r=>r?typeof r!="object"?D0l:r:N0l;bgi.exports=P0l});var k4r=I((QUd,vgi)=>{var Cgi=/^[0-9]+$/,Igi=(r,t)=>{let n=Cgi.test(r),i=Cgi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},k0l=(r,t)=>Igi(t,r);vgi.exports={compareIdentifiers:Igi,rcompareIdentifiers:k0l}});var _b=I((LUd,Tgi)=>{var byt=Aqe(),{MAX_LENGTH:Sgi,MAX_SAFE_INTEGER:Cyt}=fqe(),{safeRe:_gi,t:Ogi}=KEe(),Q0l=Eyt(),{compareIdentifiers:JEe}=k4r(),Q4r=class r{constructor(t,n){if(n=Q0l(n),t instanceof r){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Sgi)throw new TypeError(`version is longer than ${Sgi} characters`);byt("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?_gi[Ogi.LOOSE]:_gi[Ogi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Cyt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Cyt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Cyt||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<Cyt)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(byt("SemVer.compare",this.version,this.options,t),!(t instanceof r)){if(typeof t=="string"&&t===this.version)return 0;t=new r(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof r||(t=new r(t,this.options)),JEe(this.major,t.major)||JEe(this.minor,t.minor)||JEe(this.patch,t.patch)}comparePre(t){if(t instanceof r||(t=new r(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(byt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return JEe(i,o)}while(++n)}compareBuild(t){t instanceof r||(t=new r(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(byt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return JEe(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),JEe(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Tgi.exports=Q4r});var Hue=I((FUd,Rgi)=>{var wgi=_b(),L0l=(r,t,n=!1)=>{if(r instanceof wgi)return r;try{return new wgi(r,t)}catch(i){if(!n)return null;throw i}};Rgi.exports=L0l});var xgi=I((zUd,Bgi)=>{var F0l=Hue(),z0l=(r,t)=>{let n=F0l(r,t);return n?n.version:null};Bgi.exports=z0l});var Dgi=I((qUd,Mgi)=>{var q0l=Hue(),U0l=(r,t)=>{let n=q0l(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Mgi.exports=U0l});var kgi=I((UUd,Pgi)=>{var Ngi=_b(),j0l=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new Ngi(r instanceof Ngi?r.version:r,n).inc(t,i,o).version}catch{return null}};Pgi.exports=j0l});var Fgi=I((jUd,Lgi)=>{var Qgi=Hue(),G0l=(r,t)=>{let n=Qgi(r,null,!0),i=Qgi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};Lgi.exports=G0l});var qgi=I((GUd,zgi)=>{var W0l=_b(),H0l=(r,t)=>new W0l(r,t).major;zgi.exports=H0l});var jgi=I((WUd,Ugi)=>{var V0l=_b(),Y0l=(r,t)=>new V0l(r,t).minor;Ugi.exports=Y0l});var Wgi=I((HUd,Ggi)=>{var K0l=_b(),J0l=(r,t)=>new K0l(r,t).patch;Ggi.exports=J0l});var Vgi=I((VUd,Hgi)=>{var X0l=Hue(),$0l=(r,t)=>{let n=X0l(r,t);return n&&n.prerelease.length?n.prerelease:null};Hgi.exports=$0l});var xw=I((YUd,Kgi)=>{var Ygi=_b(),Z0l=(r,t,n)=>new Ygi(r,n).compare(new Ygi(t,n));Kgi.exports=Z0l});var Xgi=I((KUd,Jgi)=>{var edl=xw(),tdl=(r,t,n)=>edl(t,r,n);Jgi.exports=tdl});var Zgi=I((JUd,$gi)=>{var rdl=xw(),ndl=(r,t)=>rdl(r,t,!0);$gi.exports=ndl});var Iyt=I((XUd,tmi)=>{var emi=_b(),idl=(r,t,n)=>{let i=new emi(r,n),o=new emi(t,n);return i.compare(o)||i.compareBuild(o)};tmi.exports=idl});var nmi=I(($Ud,rmi)=>{var odl=Iyt(),sdl=(r,t)=>r.sort((n,i)=>odl(n,i,t));rmi.exports=sdl});var omi=I((ZUd,imi)=>{var adl=Iyt(),ldl=(r,t)=>r.sort((n,i)=>adl(i,n,t));imi.exports=ldl});var hqe=I((ejd,smi)=>{var udl=xw(),cdl=(r,t,n)=>udl(r,t,n)>0;smi.exports=cdl});var vyt=I((tjd,ami)=>{var ddl=xw(),pdl=(r,t,n)=>ddl(r,t,n)<0;ami.exports=pdl});var L4r=I((rjd,lmi)=>{var fdl=xw(),Adl=(r,t,n)=>fdl(r,t,n)===0;lmi.exports=Adl});var F4r=I((njd,umi)=>{var hdl=xw(),gdl=(r,t,n)=>hdl(r,t,n)!==0;umi.exports=gdl});var Syt=I((ijd,cmi)=>{var mdl=xw(),ydl=(r,t,n)=>mdl(r,t,n)>=0;cmi.exports=ydl});var _yt=I((ojd,dmi)=>{var Edl=xw(),bdl=(r,t,n)=>Edl(r,t,n)<=0;dmi.exports=bdl});var z4r=I((sjd,pmi)=>{var Cdl=L4r(),Idl=F4r(),vdl=hqe(),Sdl=Syt(),_dl=vyt(),Odl=_yt(),Tdl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return Cdl(r,n,i);case"!=":return Idl(r,n,i);case">":return vdl(r,n,i);case">=":return Sdl(r,n,i);case"<":return _dl(r,n,i);case"<=":return Odl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};pmi.exports=Tdl});var Ami=I((ajd,fmi)=>{var wdl=_b(),Rdl=Hue(),{safeRe:Oyt,t:Tyt}=KEe(),Bdl=(r,t)=>{if(r instanceof wdl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Oyt[Tyt.COERCE]);else{let i;for(;(i=Oyt[Tyt.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Oyt[Tyt.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Oyt[Tyt.COERCERTL].lastIndex=-1}return n===null?null:Rdl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};fmi.exports=Bdl});var gmi=I((ljd,hmi)=>{"use strict";hmi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var q4r=I((ujd,mmi)=>{"use strict";mmi.exports=p0;p0.Node=Vue;p0.create=p0;function p0(r){var t=this;if(t instanceof p0||(t=new p0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}p0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};p0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};p0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};p0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Mdl(this,arguments[r]);return this.length};p0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Ddl(this,arguments[r]);return this.length};p0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};p0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};p0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};p0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};p0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};p0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};p0.prototype.map=function(r,t){t=t||this;for(var n=new p0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};p0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new p0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};p0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};p0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};p0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};p0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};p0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new p0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};p0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new p0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};p0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=xdl(this,o,n[i]);return s};p0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function xdl(r,t,n){var i=t===r.head?new Vue(n,null,t,r):new Vue(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Mdl(r,t){r.tail=new Vue(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Ddl(r,t){r.head=new Vue(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function Vue(r,t,n,i){if(!(this instanceof Vue))return new Vue(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{gmi()(p0)}catch{}});var ZEe=I((cjd,Cmi)=>{"use strict";var Ndl=q4r(),Yue=Symbol("max"),eU=Symbol("length"),XEe=Symbol("lengthCalculator"),mqe=Symbol("allowStale"),Kue=Symbol("maxAge"),Zq=Symbol("dispose"),ymi=Symbol("noDisposeOnSet"),Z2=Symbol("lruList"),rx=Symbol("cache"),bmi=Symbol("updateAgeOnGet"),U4r=()=>1,G4r=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[Yue]=t.max||1/0,i=t.length||U4r;if(this[XEe]=typeof i!="function"?U4r:i,this[mqe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Kue]=t.maxAge||0,this[Zq]=t.dispose,this[ymi]=t.noDisposeOnSet||!1,this[bmi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Yue]=t||1/0,gqe(this)}get max(){return this[Yue]}set allowStale(t){this[mqe]=!!t}get allowStale(){return this[mqe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Kue]=t,gqe(this)}get maxAge(){return this[Kue]}set lengthCalculator(t){typeof t!="function"&&(t=U4r),t!==this[XEe]&&(this[XEe]=t,this[eU]=0,this[Z2].forEach(n=>{n.length=this[XEe](n.value,n.key),this[eU]+=n.length})),gqe(this)}get lengthCalculator(){return this[XEe]}get length(){return this[eU]}get itemCount(){return this[Z2].length}rforEach(t,n){n=n||this;for(let i=this[Z2].tail;i!==null;){let o=i.prev;Emi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[Z2].head;i!==null;){let o=i.next;Emi(this,t,i,n),i=o}}keys(){return this[Z2].toArray().map(t=>t.key)}values(){return this[Z2].toArray().map(t=>t.value)}reset(){this[Zq]&&this[Z2]&&this[Z2].length&&this[Z2].forEach(t=>this[Zq](t.key,t.value)),this[rx]=new Map,this[Z2]=new Ndl,this[eU]=0}dump(){return this[Z2].map(t=>wyt(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Z2]}set(t,n,i){if(i=i||this[Kue],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[XEe](n,t);if(this[rx].has(t)){if(s>this[Yue])return $Ee(this,this[rx].get(t)),!1;let c=this[rx].get(t).value;return this[Zq]&&(this[ymi]||this[Zq](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[eU]+=s-c.length,c.length=s,this.get(t),gqe(this),!0}let a=new W4r(t,n,s,o,i);return a.length>this[Yue]?(this[Zq]&&this[Zq](t,n),!1):(this[eU]+=a.length,this[Z2].unshift(a),this[rx].set(t,this[Z2].head),gqe(this),!0)}has(t){if(!this[rx].has(t))return!1;let n=this[rx].get(t).value;return!wyt(this,n)}get(t){return j4r(this,t,!0)}peek(t){return j4r(this,t,!1)}pop(){let t=this[Z2].tail;return t?($Ee(this,t),t.value):null}del(t){$Ee(this,this[rx].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[rx].forEach((t,n)=>j4r(this,n,!1))}},j4r=(r,t,n)=>{let i=r[rx].get(t);if(i){let o=i.value;if(wyt(r,o)){if($Ee(r,i),!r[mqe])return}else n&&(r[bmi]&&(i.value.now=Date.now()),r[Z2].unshiftNode(i));return o.value}},wyt=(r,t)=>{if(!t||!t.maxAge&&!r[Kue])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[Kue]&&n>r[Kue]},gqe=r=>{if(r[eU]>r[Yue])for(let t=r[Z2].tail;r[eU]>r[Yue]&&t!==null;){let n=t.prev;$Ee(r,t),t=n}},$Ee=(r,t)=>{if(t){let n=t.value;r[Zq]&&r[Zq](n.key,n.value),r[eU]-=n.length,r[rx].delete(n.key),r[Z2].removeNode(t)}},W4r=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},Emi=(r,t,n,i)=>{let o=n.value;wyt(r,o)&&($Ee(r,n),r[mqe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};Cmi.exports=G4r});var Mw=I((djd,_mi)=>{var H4r=class r{constructor(t,n){if(n=kdl(n),t instanceof r)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new r(t.raw,n);if(t instanceof V4r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!vmi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&jdl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&qdl)|(this.options.loose&&Udl))+":"+t,o=Imi.get(i);if(o)return o;let s=this.options.loose,a=s?E4[gI.HYPHENRANGELOOSE]:E4[gI.HYPHENRANGE];t=t.replace(a,Zdl(this.options.includePrerelease)),O1("hyphen replace",t),t=t.replace(E4[gI.COMPARATORTRIM],Ldl),O1("comparator trim",t),t=t.replace(E4[gI.TILDETRIM],Fdl),O1("tilde trim",t),t=t.replace(E4[gI.CARETTRIM],zdl),O1("caret trim",t);let l=t.split(" ").map(p=>Gdl(p,this.options)).join(" ").split(/\s+/).map(p=>$dl(p,this.options));s&&(l=l.filter(p=>(O1("loose invalid filter",p,this.options),!!p.match(E4[gI.COMPARATORLOOSE])))),O1("range list",l);let c=new Map,u=l.map(p=>new V4r(p,this.options));for(let p of u){if(vmi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return Imi.set(i,d),d}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Range is required");return this.set.some(i=>Smi(i,n)&&t.set.some(o=>Smi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new Qdl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(epl(this.set[n],t,this.options))return!0;return!1}};_mi.exports=H4r;var Pdl=ZEe(),Imi=new Pdl({max:1e3}),kdl=Eyt(),V4r=yqe(),O1=Aqe(),Qdl=_b(),{safeRe:E4,t:gI,comparatorTrimReplace:Ldl,tildeTrimReplace:Fdl,caretTrimReplace:zdl}=KEe(),{FLAG_INCLUDE_PRERELEASE:qdl,FLAG_LOOSE:Udl}=fqe(),vmi=r=>r.value==="<0.0.0-0",jdl=r=>r.value==="",Smi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},Gdl=(r,t)=>(O1("comp",r,t),r=Vdl(r,t),O1("caret",r),r=Wdl(r,t),O1("tildes",r),r=Kdl(r,t),O1("xrange",r),r=Xdl(r,t),O1("stars",r),r),mI=r=>!r||r.toLowerCase()==="x"||r==="*",Wdl=(r,t)=>r.trim().split(/\s+/).map(n=>Hdl(n,t)).join(" "),Hdl=(r,t)=>{let n=t.loose?E4[gI.TILDELOOSE]:E4[gI.TILDE];return r.replace(n,(i,o,s,a,l)=>{O1("tilde",r,i,o,s,a,l);let c;return mI(o)?c="":mI(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:mI(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(O1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,O1("tilde return",c),c})},Vdl=(r,t)=>r.trim().split(/\s+/).map(n=>Ydl(n,t)).join(" "),Ydl=(r,t)=>{O1("caret",r,t);let n=t.loose?E4[gI.CARETLOOSE]:E4[gI.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{O1("caret",r,o,s,a,l,c);let u;return mI(s)?u="":mI(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:mI(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(O1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(O1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),O1("caret return",u),u})},Kdl=(r,t)=>(O1("replaceXRanges",r,t),r.split(/\s+/).map(n=>Jdl(n,t)).join(" ")),Jdl=(r,t)=>{r=r.trim();let n=t.loose?E4[gI.XRANGELOOSE]:E4[gI.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{O1("xRange",r,i,o,s,a,l,c);let u=mI(s),d=u||mI(a),p=d||mI(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),O1("xRange return",i),i})},Xdl=(r,t)=>(O1("replaceStars",r,t),r.trim().replace(E4[gI.STAR],"")),$dl=(r,t)=>(O1("replaceGTE0",r,t),r.trim().replace(E4[t.includePrerelease?gI.GTE0PRE:gI.GTE0],"")),Zdl=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(mI(i)?n="":mI(o)?n=`>=${i}.0.0${r?"-0":""}`:mI(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,mI(u)?c="":mI(d)?c=`<${+u+1}.0.0-0`:mI(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),epl=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(O1(r[i].semver),r[i].semver!==V4r.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var yqe=I((pjd,xmi)=>{var Eqe=Symbol("SemVer ANY"),J4r=class r{static get ANY(){return Eqe}constructor(t,n){if(n=Omi(n),t instanceof r){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),K4r("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===Eqe?this.value="":this.value=this.operator+this.semver.version,K4r("comp",this)}parse(t){let n=this.options.loose?Tmi[wmi.COMPARATORLOOSE]:Tmi[wmi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new Rmi(i[2],this.options.loose):this.semver=Eqe}toString(){return this.value}test(t){if(K4r("Comparator.test",t,this.options.loose),this.semver===Eqe||t===Eqe)return!0;if(typeof t=="string")try{t=new Rmi(t,this.options)}catch{return!1}return Y4r(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Bmi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new Bmi(this.value,n).test(t.semver):(n=Omi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Y4r(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Y4r(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};xmi.exports=J4r;var Omi=Eyt(),{safeRe:Tmi,t:wmi}=KEe(),Y4r=z4r(),K4r=Aqe(),Rmi=_b(),Bmi=Mw()});var bqe=I((fjd,Mmi)=>{var tpl=Mw(),rpl=(r,t,n)=>{try{t=new tpl(t,n)}catch{return!1}return t.test(r)};Mmi.exports=rpl});var Nmi=I((Ajd,Dmi)=>{var npl=Mw(),ipl=(r,t)=>new npl(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));Dmi.exports=ipl});var kmi=I((hjd,Pmi)=>{var opl=_b(),spl=Mw(),apl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new spl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new opl(i,n))}),i};Pmi.exports=apl});var Lmi=I((gjd,Qmi)=>{var lpl=_b(),upl=Mw(),cpl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new upl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new lpl(i,n))}),i};Qmi.exports=cpl});var qmi=I((mjd,zmi)=>{var X4r=_b(),dpl=Mw(),Fmi=hqe(),ppl=(r,t)=>{r=new dpl(r,t);let n=new X4r("0.0.0");if(r.test(n)||(n=new X4r("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new X4r(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Fmi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Fmi(n,s))&&(n=s)}return n&&r.test(n)?n:null};zmi.exports=ppl});var jmi=I((yjd,Umi)=>{var fpl=Mw(),Apl=(r,t)=>{try{return new fpl(r,t).range||"*"}catch{return null}};Umi.exports=Apl});var Ryt=I((Ejd,Vmi)=>{var hpl=_b(),Hmi=yqe(),{ANY:gpl}=Hmi,mpl=Mw(),ypl=bqe(),Gmi=hqe(),Wmi=vyt(),Epl=_yt(),bpl=Syt(),Cpl=(r,t,n,i)=>{r=new hpl(r,i),t=new mpl(t,i);let o,s,a,l,c;switch(n){case">":o=Gmi,s=Epl,a=Wmi,l=">",c=">=";break;case"<":o=Wmi,s=bpl,a=Gmi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ypl(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===gpl&&(A=new Hmi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};Vmi.exports=Cpl});var Kmi=I((bjd,Ymi)=>{var Ipl=Ryt(),vpl=(r,t,n)=>Ipl(r,t,">",n);Ymi.exports=vpl});var Xmi=I((Cjd,Jmi)=>{var Spl=Ryt(),_pl=(r,t,n)=>Spl(r,t,"<",n);Jmi.exports=_pl});var e2i=I((Ijd,Zmi)=>{var $mi=Mw(),Opl=(r,t,n)=>(r=new $mi(r,n),t=new $mi(t,n),r.intersects(t,n));Zmi.exports=Opl});var r2i=I((vjd,t2i)=>{var Tpl=bqe(),wpl=xw();t2i.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>wpl(d,p,n));for(let d of a)Tpl(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var l2i=I((Sjd,a2i)=>{var n2i=Mw(),Z4r=yqe(),{ANY:$4r}=Z4r,Cqe=bqe(),eSr=xw(),Rpl=(r,t,n={})=>{if(r===t)return!0;r=new n2i(r,n),t=new n2i(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=xpl(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},Bpl=[new Z4r(">=0.0.0-0")],i2i=[new Z4r(">=0.0.0")],xpl=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===$4r){if(t.length===1&&t[0].semver===$4r)return!0;n.includePrerelease?r=Bpl:r=i2i}if(t.length===1&&t[0].semver===$4r){if(n.includePrerelease)return!0;t=i2i}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=o2i(o,A,n):A.operator==="<"||A.operator==="<="?s=s2i(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=eSr(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!Cqe(A,String(o),n)||s&&!Cqe(A,String(s),n))return null;for(let h of t)if(!Cqe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=o2i(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!Cqe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=s2i(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!Cqe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},o2i=(r,t,n)=>{if(!r)return t;let i=eSr(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},s2i=(r,t,n)=>{if(!r)return t;let i=eSr(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};a2i.exports=Rpl});var ebe=I((_jd,d2i)=>{var tSr=KEe(),u2i=fqe(),Mpl=_b(),c2i=k4r(),Dpl=Hue(),Npl=xgi(),Ppl=Dgi(),kpl=kgi(),Qpl=Fgi(),Lpl=qgi(),Fpl=jgi(),zpl=Wgi(),qpl=Vgi(),Upl=xw(),jpl=Xgi(),Gpl=Zgi(),Wpl=Iyt(),Hpl=nmi(),Vpl=omi(),Ypl=hqe(),Kpl=vyt(),Jpl=L4r(),Xpl=F4r(),$pl=Syt(),Zpl=_yt(),e1l=z4r(),t1l=Ami(),r1l=yqe(),n1l=Mw(),i1l=bqe(),o1l=Nmi(),s1l=kmi(),a1l=Lmi(),l1l=qmi(),u1l=jmi(),c1l=Ryt(),d1l=Kmi(),p1l=Xmi(),f1l=e2i(),A1l=r2i(),h1l=l2i();d2i.exports={parse:Dpl,valid:Npl,clean:Ppl,inc:kpl,diff:Qpl,major:Lpl,minor:Fpl,patch:zpl,prerelease:qpl,compare:Upl,rcompare:jpl,compareLoose:Gpl,compareBuild:Wpl,sort:Hpl,rsort:Vpl,gt:Ypl,lt:Kpl,eq:Jpl,neq:Xpl,gte:$pl,lte:Zpl,cmp:e1l,coerce:t1l,Comparator:r1l,Range:n1l,satisfies:i1l,toComparators:o1l,maxSatisfying:s1l,minSatisfying:a1l,minVersion:l1l,validRange:u1l,outside:c1l,gtr:d1l,ltr:p1l,intersects:f1l,simplifyRange:A1l,subset:h1l,SemVer:Mpl,re:tSr.re,src:tSr.src,tokens:tSr.t,SEMVER_SPEC_VERSION:u2i.SEMVER_SPEC_VERSION,RELEASE_TYPES:u2i.RELEASE_TYPES,compareIdentifiers:c2i.compareIdentifiers,rcompareIdentifiers:c2i.rcompareIdentifiers}});var Iqe,g1l,Ojd,m1l,tU,tbe=et(()=>{"use strict";Iqe=Ct(z3()),g1l=Ct(ebe()),Ojd=(0,Iqe.Record)({version:Iqe.String,hash:Iqe.String}),m1l=()=>({version:"7.15.1-rc.1",hash:"6230a97849c91bb2cc5da3bdd29c78b75fadae9d"}),tU=m1l()});var p2i,Dw,f2i,rSr,nSr,E1l,Byt,b1l,vqe,xyt=et(()=>{"use strict";p2i=Ct(Pue());oqe();jue();Sqe();wu();tbe();f2i=r=>{Dw=r},rSr=r=>r.includes("production")?"production":r.includes("staging")?"staging":r.includes("qa")?"qa":"development",nSr=()=>{if(Xf()){let r=process.env.RUNTIME_ENVIRONMENT||"development";return vqn("coa")?process.env.COALESCE_COA_CLOUD_JOB_ID?rSr(r):void 0:rSr(r)}else{let r;try{r=self.ENVIRONMENT}catch{}return typeof r=="string"?rSr(r):void 0}},E1l=()=>{let r=Tu();if(r.isTest)return{};let t=nSr();return r.isNode?{firebaseEnv:t}:{windowInfo:{frontendURLHost:self.location.host},firebaseEnv:t}},Byt=r=>({coalesceSoftwareVersion:tU?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),b1l=r=>{let t=Byt(Dw);return{appEnv:E1l(),loggingArea:r,...t}},vqe=r=>{let t=ww[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=p2i.createLogger({levels:V2t.LEVELS,defaultMeta:b1l(r),level:t.level,transports:A2i(t)})),t.logger}});var aSr,b4,iSr,h2i,g2i,m2i,oSr,lSr,Myt,C1l,uSr,rbe,sSr,Dyt,cSr,A2i,Sqe=et(()=>{"use strict";aSr=Ct(Gq()),b4=Ct(Pue());jue();Y2t();xyt();wu();iSr=null,h2i=r=>{iSr=r},g2i={emerg:"error",assert:"warn",alert:"warn",error:"warn",warn:"warn",app:"info",info:"info",debug:"debug"},m2i={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",warn:"warn",debug:"debug"},oSr=class extends aSr.default{baseContext;constructor(t){super(t),this.baseContext=Byt(Dw)}log(t,n){iSr&&iSr.log({...t,level:m2i[t.level]},{...this.baseContext,...zg},g2i[t.level]),n()}},Myt=r=>{let t=Byt(r);lSr={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},C1l=!1,uSr=()=>b4.format.combine(b4.format.timestamp(),b4.format.colorize({colors:V2t.COLORS}),b4.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),rbe=r=>new b4.transports.Console({format:process.env.CONSOLE_JSON_LOGS?b4.format.combine(b4.format.timestamp(),b4.format.json()):uSr(),level:r.level,silent:C1l}),sSr=class extends aSr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:m2i[t.level],status:g2i[t.level]},n)}},Dyt=()=>{let r=new b4.transports.Http({...lSr,format:b4.format.combine(uSr(),b4.format.uncolorize())});return new sSr(r)},cSr=()=>new b4.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:uSr(),level:H2t.debug}),A2i=r=>{let t=[];return t.push(rbe(r)),lSr&&t.push(Dyt()),Tu().isTest&&t.push(cSr()),[new oSr,...t]}});var y2i,Nyt,Pyt,dSr,kyt,rU,E2i=et(()=>{"use strict";y2i=Ct(us()),Nyt=Ct(Pue());oqe();Sqe();wu();xyt();jue();Lg();Pyt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in ww||i.push(`invalid logging area '${n}'`),H2t[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=vqe(n),s=o.transports.filter(l=>l instanceof Nyt.transports.Console),a=o.transports;s.length||(a=[...a,rbe(ww[n])]),a.filter(l=>l instanceof Nyt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},dSr=()=>{Object.keys(ww).forEach(r=>{Pyt(r,"debug")})},kyt=(r,t)=>{for(let n in r){let i=n,o=vqe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(Tu().isTest&&s.length>0){let l=s[s.length-1];l instanceof Nyt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(cSr()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},rU=r=>{let t=y2i.default.mapValues(ww,(n,i)=>({}));kyt(t,r)}});function _qe(r,t){return function(){return r.apply(t,arguments)}}var pSr=et(()=>{"use strict"});function v1l(r){return r!==null&&!Oqe(r)&&r.constructor!==null&&!Oqe(r.constructor)&&E5(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function S1l(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&I2i(r.buffer),t}function Tqe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),nbe(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function S2i(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function ASr(){let{caseless:r}=_2i(this)&&this||{},t={},n=(i,o)=>{let s=r&&S2i(t,o)||o;Qyt(t[s])&&Qyt(i)?t[s]=ASr(t[s],i):Qyt(i)?t[s]=ASr({},i):nbe(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Tqe(arguments[i],n);return t}function rfl(r){return!!(r&&E5(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var I1l,hSr,Lyt,nx,Fyt,nbe,Oqe,I2i,_1l,E5,v2i,zyt,O1l,Qyt,T1l,w1l,R1l,B1l,x1l,M1l,D1l,N1l,P1l,k1l,Q1l,L1l,Jue,_2i,F1l,z1l,q1l,U1l,j1l,G1l,W1l,H1l,V1l,Y1l,K1l,b2i,J1l,O2i,X1l,$1l,Z1l,efl,fSr,C2i,T2i,tfl,nfl,ifl,ofl,w2i,sfl,er,Qd=et(()=>{"use strict";pSr();({toString:I1l}=Object.prototype),{getPrototypeOf:hSr}=Object,Lyt=(r=>t=>{let n=I1l.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nx=r=>(r=r.toLowerCase(),t=>Lyt(t)===r),Fyt=r=>t=>typeof t===r,{isArray:nbe}=Array,Oqe=Fyt("undefined");I2i=nx("ArrayBuffer");_1l=Fyt("string"),E5=Fyt("function"),v2i=Fyt("number"),zyt=r=>r!==null&&typeof r=="object",O1l=r=>r===!0||r===!1,Qyt=r=>{if(Lyt(r)!=="object")return!1;let t=hSr(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},T1l=nx("Date"),w1l=nx("File"),R1l=nx("Blob"),B1l=nx("FileList"),x1l=r=>zyt(r)&&E5(r.pipe),M1l=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||E5(r.append)&&((t=Lyt(r))==="formdata"||t==="object"&&E5(r.toString)&&r.toString()==="[object FormData]"))},D1l=nx("URLSearchParams"),[N1l,P1l,k1l,Q1l]=["ReadableStream","Request","Response","Headers"].map(nx),L1l=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");Jue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_2i=r=>!Oqe(r)&&r!==Jue;F1l=(r,t,n,{allOwnKeys:i}={})=>(Tqe(t,(o,s)=>{n&&E5(o)?r[s]=_qe(o,n):r[s]=o},{allOwnKeys:i}),r),z1l=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),q1l=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},U1l=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&hSr(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},j1l=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},G1l=r=>{if(!r)return null;if(nbe(r))return r;let t=r.length;if(!v2i(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},W1l=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&hSr(Uint8Array)),H1l=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},V1l=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},Y1l=nx("HTMLFormElement"),K1l=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),b2i=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),J1l=nx("RegExp"),O2i=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};Tqe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},X1l=r=>{O2i(r,(t,n)=>{if(E5(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(E5(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$1l=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return nbe(r)?i(r):i(String(r).split(t)),n},Z1l=()=>{},efl=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t,fSr="abcdefghijklmnopqrstuvwxyz",C2i="0123456789",T2i={DIGIT:C2i,ALPHA:fSr,ALPHA_DIGIT:fSr+fSr.toUpperCase()+C2i},tfl=(r=16,t=T2i.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};nfl=r=>{let t=new Array(10),n=(i,o)=>{if(zyt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=nbe(i)?[]:{};return Tqe(i,(a,l)=>{let c=n(a,o+1);!Oqe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},ifl=nx("AsyncFunction"),ofl=r=>r&&(zyt(r)||E5(r))&&E5(r.then)&&E5(r.catch),w2i=((r,t)=>r?setImmediate:t?((n,i)=>(Jue.addEventListener("message",({source:o,data:s})=>{o===Jue&&s===n&&i.length&&i.shift()()},!1),o=>{i.push(o),Jue.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",E5(Jue.postMessage)),sfl=typeof queueMicrotask<"u"?queueMicrotask.bind(Jue):typeof process<"u"&&process.nextTick||w2i,er={isArray:nbe,isArrayBuffer:I2i,isBuffer:v1l,isFormData:M1l,isArrayBufferView:S1l,isString:_1l,isNumber:v2i,isBoolean:O1l,isObject:zyt,isPlainObject:Qyt,isReadableStream:N1l,isRequest:P1l,isResponse:k1l,isHeaders:Q1l,isUndefined:Oqe,isDate:T1l,isFile:w1l,isBlob:R1l,isRegExp:J1l,isFunction:E5,isStream:x1l,isURLSearchParams:D1l,isTypedArray:W1l,isFileList:B1l,forEach:Tqe,merge:ASr,extend:F1l,trim:L1l,stripBOM:z1l,inherits:q1l,toFlatObject:U1l,kindOf:Lyt,kindOfTest:nx,endsWith:j1l,toArray:G1l,forEachEntry:H1l,matchAll:V1l,isHTMLForm:Y1l,hasOwnProperty:b2i,hasOwnProp:b2i,reduceDescriptors:O2i,freezeMethods:X1l,toObjectSet:$1l,toCamelCase:K1l,noop:Z1l,toFiniteNumber:efl,findKey:S2i,global:Jue,isContextDefined:_2i,ALPHABET:T2i,generateString:tfl,isSpecCompliantForm:rfl,toJSONObject:nfl,isAsyncFn:ifl,isThenable:ofl,setImmediate:w2i,asap:sfl}});function ibe(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}var R2i,B2i,so,b5=et(()=>{"use strict";Qd();er.inherits(ibe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:er.toJSONObject(this.config),code:this.code,status:this.status}}});R2i=ibe.prototype,B2i={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{B2i[r]={value:r}});Object.defineProperties(ibe,B2i);Object.defineProperty(R2i,"isAxiosError",{value:!0});ibe.from=(r,t,n,i,o,s)=>{let a=Object.create(R2i);return er.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),ibe.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};so=ibe});var x2i,qyt,gSr=et(()=>{x2i=Ct(Hze(),1),qyt=x2i.default});function mSr(r){return er.isPlainObject(r)||er.isArray(r)}function D2i(r){return er.endsWith(r,"[]")?r.slice(0,-2):r}function M2i(r,t,n){return r?r.concat(t).map(function(o,s){return o=D2i(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function afl(r){return er.isArray(r)&&!r.some(mSr)}function ufl(r,t,n){if(!er.isObject(r))throw new TypeError("target must be an object");t=t||new(qyt||FormData),n=er.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!er.isUndefined(C[y])});let i=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&er.isSpecCompliantForm(t);if(!er.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(er.isDate(h))return h.toISOString();if(!c&&er.isBlob(h))throw new so("Blob is not supported. Use a Buffer instead.");return er.isArrayBuffer(h)||er.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,y,C){let v=h;if(h&&!C&&typeof h=="object"){if(er.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(er.isArray(h)&&afl(h)||(er.isFileList(h)||er.endsWith(y,"[]"))&&(v=er.toArray(h)))return y=D2i(y),v.forEach(function(T,R){!(er.isUndefined(T)||T===null)&&t.append(a===!0?M2i([y],R,s):a===null?y:y+"[]",u(T))}),!1}return mSr(h)?!0:(t.append(M2i(C,y,s),u(h)),!1)}let p=[],f=Object.assign(lfl,{defaultVisitor:d,convertValue:u,isVisitable:mSr});function A(h,y){if(!er.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(h),er.forEach(h,function(v,O){(!(er.isUndefined(v)||v===null)&&o.call(t,v,er.isString(O)?O.trim():O,y,f))===!0&&A(v,y?y.concat(O):[O])}),p.pop()}}if(!er.isObject(r))throw new TypeError("data must be an object");return A(r),t}var lfl,hK,wqe=et(()=>{"use strict";Qd();b5();gSr();lfl=er.toFlatObject(er,{},null,function(t){return/^is[A-Z]/.test(t)});hK=ufl});function N2i(r){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function P2i(r,t){this._pairs=[],r&&hK(r,this,t)}var k2i,Q2i,L2i=et(()=>{"use strict";wqe();k2i=P2i.prototype;k2i.append=function(t,n){this._pairs.push([t,n])};k2i.toString=function(t){let n=t?function(i){return t.call(this,i,N2i)}:N2i;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};Q2i=P2i});function cfl(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xue(r,t,n){if(!t)return r;let i=n&&n.encode||cfl,o=n&&n.serialize,s;if(o?s=o(t,n):s=er.isURLSearchParams(t)?t.toString():new Q2i(t,n).toString(i),s){let a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}var Uyt=et(()=>{"use strict";Qd();L2i()});var ySr,ESr,F2i=et(()=>{"use strict";Qd();ySr=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){er.forEach(this.handlers,function(i){i!==null&&t(i)})}},ESr=ySr});var obe,jyt=et(()=>{"use strict";obe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var z2i,q2i,U2i=et(()=>{"use strict";z2i=Ct(require("url"),1),q2i=z2i.default.URLSearchParams});var j2i,G2i=et(()=>{U2i();gSr();j2i={isNode:!0,classes:{URLSearchParams:q2i,FormData:qyt,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]}});var ISr={};j_(ISr,{hasBrowserEnv:()=>CSr,hasStandardBrowserEnv:()=>dfl,hasStandardBrowserWebWorkerEnv:()=>pfl,navigator:()=>bSr,origin:()=>ffl});var CSr,bSr,dfl,pfl,ffl,W2i=et(()=>{CSr=typeof window<"u"&&typeof document<"u",bSr=typeof navigator=="object"&&navigator||void 0,dfl=CSr&&(!bSr||["ReactNative","NativeScript","NS"].indexOf(bSr.product)<0),pfl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ffl=CSr&&window.location.href||"http://localhost"});var lp,dN=et(()=>{G2i();W2i();lp={...ISr,...j2i}});function vSr(r,t){return hK(r,new lp.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,s){return lp.isNode&&er.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}var H2i=et(()=>{"use strict";Qd();wqe();dN()});function Afl(r){return er.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hfl(r){let t={},n=Object.keys(r),i,o=n.length,s;for(i=0;i<o;i++)s=n[i],t[s]=r[s];return t}function gfl(r){function t(n,i,o,s){let a=n[s++];if(a==="__proto__")return!0;let l=Number.isFinite(+a),c=s>=n.length;return a=!a&&er.isArray(o)?o.length:a,c?(er.hasOwnProp(o,a)?o[a]=[o[a],i]:o[a]=i,!l):((!o[a]||!er.isObject(o[a]))&&(o[a]=[]),t(n,i,o[a],s)&&er.isArray(o[a])&&(o[a]=hfl(o[a])),!l)}if(er.isFormData(r)&&er.isFunction(r.entries)){let n={};return er.forEachEntry(r,(i,o)=>{t(Afl(i),o,n,0)}),n}return null}var Gyt,SSr=et(()=>{"use strict";Qd();Gyt=gfl});function mfl(r,t,n){if(er.isString(r))try{return(t||JSON.parse)(r),er.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var _Sr,sbe,Wyt=et(()=>{"use strict";Qd();b5();jyt();wqe();H2i();dN();SSr();_Sr={transitional:obe,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let i=n.getContentType()||"",o=i.indexOf("application/json")>-1,s=er.isObject(t);if(s&&er.isHTMLForm(t)&&(t=new FormData(t)),er.isFormData(t))return o?JSON.stringify(Gyt(t)):t;if(er.isArrayBuffer(t)||er.isBuffer(t)||er.isStream(t)||er.isFile(t)||er.isBlob(t)||er.isReadableStream(t))return t;if(er.isArrayBufferView(t))return t.buffer;if(er.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return vSr(t,this.formSerializer).toString();if((l=er.isFileList(t))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return hK(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),mfl(t)):t}],transformResponse:[function(t){let n=this.transitional||_Sr.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(er.isResponse(t)||er.isReadableStream(t))return t;if(t&&er.isString(t)&&(i&&!this.responseType||o)){let a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?so.from(l,so.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lp.classes.FormData,Blob:lp.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};er.forEach(["delete","get","head","post","put","patch"],r=>{_Sr.headers[r]={}});sbe=_Sr});var yfl,V2i,Y2i=et(()=>{"use strict";Qd();yfl=er.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),V2i=r=>{let t={},n,i,o;return r&&r.split(`
179
+ Value: `,n),new lK(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new lK(i,o)}},Pd=(r,t)=>new n4r(r,t)});var s4r,Gul,Wul,o4r,Ir,Ahi=et(()=>{"use strict";s4r=Ct(us());wr();Lg();U2t();cn();Gul=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,Wul=r=>s4r.default.sum(r.issues.map(t=>Gul(t))),o4r=class extends FEe{constructor(n,i){super(n);this.zodType=i;if(!i)throw new mt(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=s4r.default.minBy(o.unionErrors,a=>Wul(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new lK(n,o)}catch(i){let o=i instanceof w.ZodError?[i.flatten(),i.issues]:[];return d0().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new lK(n,[{path:"",message:"value triggered unknown Zod error"}])}}},Ir=(r,t)=>new o4r(r,t)});var zEe=et(()=>{"use strict";i4r();U2t();Ahi()});var Hul,Vul,hhi,j2t,nqe,a4r,G2t,l4r,u4r,c4r,d4r,p4r,f4r,W2t,iqe,A4r,ghi,tx=et(()=>{"use strict";cn();V1r();xY();h3r();M3r();rEe();pli();zq();zEe();Hul=w.object({auth:w.string(),firestore:w.string(),storage:w.string()}),Vul=w.object({apiKey:w.string(),authDomain:w.string(),projectId:w.string(),storageBucket:w.string(),messagingSenderId:w.string(),appId:w.string(),measurementId:w.string(),emulatorInfo:Hul.optional()}),hhi=Ir("FirebaseConfig",Vul),j2t=r=>{q7("firestore.delete",{path:r})},nqe=r=>{q7("firestore.set",{path:r})},a4r=r=>{q7("firestore.update",{path:r})},G2t=r=>{q7("firestore.get",{path:r})},l4r=r=>{q7("firestore.transaction.get",{path:r})},u4r=r=>{q7("firestore.transaction.set",{path:r})},c4r=r=>{q7("firestore.transaction.update",{path:r})},d4r=r=>{q7("firestore.transaction.delete",{path:r})},p4r=()=>{q7("firestore.batch")},f4r=U8.getTracer("firestore"),W2t=async r=>(j2t(r.path),f4r.startActiveSpan(`delete ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","delete");let n=await r.delete();return t.end(),n})),iqe=(r,t,n)=>(nqe(r.path),f4r.startActiveSpan(`set ${r.path}`,async i=>{if(i.setAttribute("path",r.path),i.setAttribute("operation","set"),n){let o=await r.set(t,n);return i.end(),o}else{let o=await r.set(t);return i.end(),o}})),A4r=r=>(G2t(r.path),f4r.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),ghi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await u4(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var H2t,V2t,mhi,jue=et(()=>{"use strict";H2t={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",warn:"warn",alert:"alert",app:"app"},V2t={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6,warn:4},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",warn:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}},mhi=["Authorization","Token","Password","Secret","idToken","id_token","clientID","clientSecret"]});var h4r,ww,oqe=et(()=>{"use strict";h4r=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JDBC_SERVICE","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP","AI_COLUMN_DESCRIPTIONS","AI_NODE_DESCRIPTIONS","AI_GIT_COMMIT_MESSAGE"],ww={...Object.fromEntries(h4r.map(r=>[r,{level:"info"}]))}});var Rw,qEe,zg,Y2t=et(()=>{"use strict";Rw=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),qEe=(r,t)=>{r.runID=t},zg={}});var Ehi=I(yhi=>{"use strict";Object.defineProperty(yhi,"__esModule",{value:!0})});var g4r=I(K2t=>{"use strict";Object.defineProperty(K2t,"__esModule",{value:!0});K2t.Failcode=void 0;K2t.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var jEe=I(UEe=>{"use strict";var Yul=UEe&&UEe.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(UEe,"__esModule",{value:!0});UEe.ValidationError=void 0;var Kul=function(r){Yul(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);UEe.ValidationError=Kul});var sqe=I(m4r=>{"use strict";Object.defineProperty(m4r,"__esModule",{value:!0});var J2t=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||J2t(r)(t.underlying);case"union":return t.alternatives.map(J2t(r)).join(" | ");case"intersect":return t.intersectees.map(J2t(r)).join(" & ");default:break}return"`${".concat(y5(!1,r)(t),"}`")}},X2t=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):X2t(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return X2t(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return X2t(r)(n.reflect)}break;default:break}return"${".concat(y5(!1,r)(t),"}")}},y5=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return J2t(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=X2t(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(bhi(n)).concat(y5(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(y5(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(bhi(n)).concat(u).concat(Jul(n,u),": ").concat(n.fields[u].tag==="optional"?y5(!1,t)(n.fields[u].underlying):y5(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(y5(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(y5(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(y5(!0,t)).join(" & ")));case"optional":return y5(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||y5(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return y5(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};m4r.default=y5(!1,new Set);function Jul(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function bhi(r){var t=r.isReadonly;return t?"readonly ":""}});var pf=I(kd=>{"use strict";var y4r=kd&&kd.__assign||function(){return y4r=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},y4r.apply(this,arguments)};Object.defineProperty(kd,"__esModule",{value:!0});kd.FAILURE=kd.SUCCESS=kd.enumerableKeysOf=kd.typeOf=kd.hasKey=void 0;var lN=g4r(),Gue=sqe();function Xul(r,t){return typeof t=="object"&&t!==null&&r in t}kd.hasKey=Xul;var $ul=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};kd.typeOf=$ul;var Zul=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};kd.enumerableKeysOf=Zul;function ecl(r){return{success:!0,value:r}}kd.SUCCESS=ecl;kd.FAILURE=Object.assign(function(r,t,n){return y4r({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,Gue.default)(r)):(0,Gue.default)(r),", but was ").concat((0,kd.typeOf)(t));return(0,kd.FAILURE)(lN.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,kd.FAILURE)(lN.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,kd.FAILURE)(lN.Failcode.KEY_INCORRECT,"Expected ".concat((0,Gue.default)(r)," key to be ").concat((0,Gue.default)(t),", but was ").concat((0,kd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,Gue.default)(r),", but was incompatible");return(0,kd.FAILURE)(lN.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,kd.FAILURE)(lN.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,kd.FAILURE)(lN.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,kd.FAILURE)(lN.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,Gue.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,Gue.default)(r),", but was missing");return(0,kd.FAILURE)(lN.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,kd.typeOf)(r));return(0,kd.FAILURE)(lN.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,kd.typeOf)(r));return(0,kd.FAILURE)(lN.Failcode.NOTHING_EXPECTED,t)}})});var Chi=I(uK=>{"use strict";var tcl=uK&&uK.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},rcl=uK&&uK.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(uK,"__esModule",{value:!0});uK.Contract=void 0;var ncl=jEe(),icl=pf();function ocl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=icl.FAILURE.ARGUMENT_INCORRECT(c);throw new ncl.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,rcl([],tcl(a),!1)))}}}}uK.Contract=ocl});var Shi=I(cK=>{"use strict";var scl=cK&&cK.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},acl=cK&&cK.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(cK,"__esModule",{value:!0});cK.AsyncContract=void 0;var Ihi=jEe(),vhi=pf();function lcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=vhi.FAILURE.ARGUMENT_INCORRECT(c);throw new Ihi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,acl([],scl(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=vhi.FAILURE.RETURN_INCORRECT(c);throw new Ihi.ValidationError(u)}return p.then(o.check)}}}}cK.AsyncContract=lcl});var _hi=I(uN=>{"use strict";var ucl=uN&&uN.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ccl=uN&&uN.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(uN,"__esModule",{value:!0});uN.when=uN.match=void 0;function dcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=ucl(r),a=s.next();!a.done;a=s.next()){var l=ccl(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}uN.match=dcl;function pcl(r,t){return[r,t]}uN.when=pcl});var YA=I(pK=>{"use strict";Object.defineProperty(pK,"__esModule",{value:!0});pK.innerValidate=pK.create=pK.isRuntype=void 0;var dK=z3(),fcl=sqe(),Acl=jEe(),Ohi=pf(),Thi=Symbol(),hcl=function(r){return(0,Ohi.hasKey)(Thi,r)};pK.isRuntype=hcl;function gcl(r,t){return t[Thi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,Ohi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,ycl())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,fcl.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new Acl.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,dK.Union)(t,p)}function s(p){return(0,dK.Intersect)(t,p)}function a(){return(0,dK.Optional)(t)}function l(){return(0,dK.Union)(t,dK.Null)}function c(p,f){return(0,dK.Constraint)(t,p,f)}function u(p,f){return(0,dK.Constraint)(t,p,f)}function d(p){return(0,dK.Brand)(p,t)}}pK.create=gcl;function mcl(r,t,n){return r._innerValidate(t,n)}pK.innerValidate=mcl;function ycl(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var Z2t=I($2t=>{"use strict";Object.defineProperty($2t,"__esModule",{value:!0});$2t.Unknown=void 0;var Ecl=YA(),bcl=pf(),Ccl={tag:"unknown"};$2t.Unknown=(0,Ecl.create)(function(r){return(0,bcl.SUCCESS)(r)},Ccl)});var whi=I(eyt=>{"use strict";Object.defineProperty(eyt,"__esModule",{value:!0});eyt.Never=void 0;var Icl=YA(),vcl=pf(),Scl={tag:"never"};eyt.Never=(0,Icl.create)(vcl.FAILURE.NOTHING_EXPECTED,Scl)});var Rhi=I(tyt=>{"use strict";Object.defineProperty(tyt,"__esModule",{value:!0});tyt.Void=void 0;var _cl=Z2t();tyt.Void=_cl.Unknown});var E4r=I(GEe=>{"use strict";var ryt=GEe&&GEe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(GEe,"__esModule",{value:!0});GEe.Union=void 0;var nyt=YA(),aqe=pf();function Ocl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,nyt.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=ryt(r),y=h.next();!y.done;y=h.next()){var C=y.value;if((0,nyt.innerValidate)(C,o,s).success)return(0,aqe.SUCCESS)(o)}}catch(J){a={error:J}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return aqe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var O=ryt(r),T=O.next();!T.done;T=O.next()){var C=T.value;if(C.reflect.tag==="record"){var R=function(Y){var L=C.reflect.fields[Y];L.tag==="literal"&&(v[Y]?v[Y].every(function(X){return X!==L.value})&&v[Y].push(L.value):v[Y]=[L.value])};for(var N in C.reflect.fields)R(N)}}}catch(J){c={error:J}}finally{try{T&&!T.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}for(var N in v)if(v[N].length===r.length)try{for(var z=(d=void 0,ryt(r)),W=z.next();!W.done;W=z.next()){var C=W.value;if(C.reflect.tag==="record"){var V=C.reflect.fields[N];if(V.tag==="literal"&&(0,aqe.hasKey)(N,o)&&o[N]===V.value)return(0,nyt.innerValidate)(C,o,s)}}}catch(Y){d={error:Y}}finally{try{W&&!W.done&&(p=z.return)&&p.call(z)}finally{if(d)throw d.error}}try{for(var $=ryt(r),K=$.next();!K.done;K=$.next()){var F=K.value;if((0,nyt.innerValidate)(F,o,s).success)return(0,aqe.SUCCESS)(o)}}catch(J){f={error:J}}finally{try{K&&!K.done&&(A=$.return)&&A.call($)}finally{if(f)throw f.error}}return aqe.FAILURE.TYPE_INCORRECT(i,o)},i)}GEe.Union=Ocl});var I4r=I(m4=>{"use strict";Object.defineProperty(m4,"__esModule",{value:!0});m4.Nullish=m4.Null=m4.Undefined=m4.Literal=m4.literal=void 0;var Tcl=YA(),Bhi=pf(),wcl=E4r();function b4r(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}m4.literal=b4r;function C4r(r){var t={tag:"literal",value:r};return(0,Tcl.create)(function(n){return n===r?(0,Bhi.SUCCESS)(n):Bhi.FAILURE.VALUE_INCORRECT("literal","`".concat(b4r(r),"`"),"`".concat(b4r(n),"`"))},t)}m4.Literal=C4r;m4.Undefined=C4r(void 0);m4.Null=C4r(null);m4.Nullish=(0,wcl.Union)(m4.Null,m4.Undefined)});var Phi=I(cN=>{"use strict";var fK=cN&&cN.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},v4r=cN&&cN.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},xhi=cN&&cN.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(cN,"__esModule",{value:!0});cN.Template=void 0;var iyt=YA(),Mhi=sqe(),Xq=pf(),Nhi=I4r(),S4r=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Rcl=function(r){if(0<r.length&&Array.isArray(r[0])){var t=fK(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,iyt.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(iyt.isRuntype);return[n,i]}},Bcl=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,v4r([n,1],fK(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,v4r(v4r([n,2,r[n]+l],fK(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=cqe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=cqe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},xcl=function(r){var t=fK(Rcl(r),2),n=t[0],i=t[1];return Bcl(n,i),[n,i]},cqe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return cqe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return cqe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return cqe(r.reflect.intersectees[0]);break;default:break}throw void 0},Dhi=function(r){return r},_4r={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},lqe=function(r){switch(r.tag){case"literal":{var t=fK(_4r[(0,Xq.typeOf)(r.value)]||[Dhi],1),n=t[0];return n}case"brand":return lqe(r.entity);case"constraint":return lqe(r.underlying);case"union":return r.alternatives.map(lqe);case"intersect":return r.intersectees.map(lqe);default:var i=fK(_4r[r.tag]||[Dhi],1),o=i[0];return o}},O4r=function(r,t){return function(n){var i,o,s,a,l=lqe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=xhi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=O4r(d.reflect,t)(n);if(p.success)return p}}catch(C){i={error:C}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return Xq.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=xhi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=O4r(h.reflect,t)(n);if(!p.success)return p}}catch(C){s={error:C}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,Xq.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,iyt.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?Xq.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,Nhi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},uqe=function(r){switch(r.tag){case"literal":return S4r(String(r.value));case"brand":return uqe(r.entity);case"constraint":return uqe(r.underlying);case"union":return r.alternatives.map(uqe).join("|");case"template":return r.strings.map(S4r).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(uqe(l.reflect),")"):a},"");default:var t=fK(_4r[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},Mcl=function(r){var t=r.strings.map(S4r).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(uqe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function Dcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=fK(xcl(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=Mcl(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=O4r(A.reflect,u)(h);if(!y.success)return y}return(0,Xq.SUCCESS)(c)}else return Xq.FAILURE.VALUE_INCORRECT("string","".concat((0,Mhi.default)(s)),'"'.concat((0,Nhi.literal)(c),'"'))};return(0,iyt.create)(function(c,u){if(typeof c!="string")return Xq.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,Xq.SUCCESS)(c);var p=Xq.FAILURE.VALUE_INCORRECT("string","".concat((0,Mhi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}cN.Template=Dcl});var Lhi=I(oyt=>{"use strict";Object.defineProperty(oyt,"__esModule",{value:!0});oyt.Boolean=void 0;var Ncl=YA(),khi=pf(),Qhi={tag:"boolean"};oyt.Boolean=(0,Ncl.create)(function(r){return typeof r=="boolean"?(0,khi.SUCCESS)(r):khi.FAILURE.TYPE_INCORRECT(Qhi,r)},Qhi)});var qhi=I(syt=>{"use strict";Object.defineProperty(syt,"__esModule",{value:!0});syt.Number=void 0;var Pcl=YA(),Fhi=pf(),zhi={tag:"number"};syt.Number=(0,Pcl.create)(function(r){return typeof r=="number"?(0,Fhi.SUCCESS)(r):Fhi.FAILURE.TYPE_INCORRECT(zhi,r)},zhi)});var Ghi=I(ayt=>{"use strict";Object.defineProperty(ayt,"__esModule",{value:!0});ayt.BigInt=void 0;var kcl=YA(),Uhi=pf(),jhi={tag:"bigint"};ayt.BigInt=(0,kcl.create)(function(r){return typeof r=="bigint"?(0,Uhi.SUCCESS)(r):Uhi.FAILURE.TYPE_INCORRECT(jhi,r)},jhi)});var T4r=I(lyt=>{"use strict";Object.defineProperty(lyt,"__esModule",{value:!0});lyt.String=void 0;var Qcl=YA(),Whi=pf(),Hhi={tag:"string"};lyt.String=(0,Qcl.create)(function(r){return typeof r=="string"?(0,Whi.SUCCESS)(r):Whi.FAILURE.TYPE_INCORRECT(Hhi,r)},Hhi)});var Jhi=I(uyt=>{"use strict";Object.defineProperty(uyt,"__esModule",{value:!0});uyt.Symbol=void 0;var Khi=YA(),dqe=pf(),Lcl=function(r){var t={tag:"symbol",key:r};return(0,Khi.create)(function(n){if(typeof n!="symbol")return dqe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?dqe.FAILURE.VALUE_INCORRECT("symbol key",Yhi(r),Yhi(i)):(0,dqe.SUCCESS)(n)},t)},Vhi={tag:"symbol"};uyt.Symbol=(0,Khi.create)(function(r){return typeof r=="symbol"?(0,dqe.SUCCESS)(r):dqe.FAILURE.TYPE_INCORRECT(Vhi,r)},Object.assign(Lcl,Vhi));var Yhi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var Zhi=I(cyt=>{"use strict";Object.defineProperty(cyt,"__esModule",{value:!0});cyt.Array=void 0;var Xhi=YA(),pqe=pf();function $hi(r,t){var n={tag:"array",isReadonly:t,element:r};return zcl((0,Xhi.create)(function(i,o){if(!Array.isArray(i))return pqe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,pqe.enumerableKeysOf)(i),a=s.map(function(c){return(0,Xhi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,pqe.enumerableKeysOf)(l).length!==0?pqe.FAILURE.CONTENT_INCORRECT(n,l):(0,pqe.SUCCESS)(i)},n))}function Fcl(r){return $hi(r,!1)}cyt.Array=Fcl;function zcl(r){return r.asReadonly=t,r;function t(){return $hi(r.element,!0)}}});var tgi=I(dyt=>{"use strict";Object.defineProperty(dyt,"__esModule",{value:!0});dyt.Tuple=void 0;var egi=YA(),WEe=pf();function qcl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,egi.create)(function(i,o){if(!Array.isArray(i))return WEe.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return WEe.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,WEe.enumerableKeysOf)(i),a=s.map(function(c){return(0,egi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,WEe.enumerableKeysOf)(l).length!==0?WEe.FAILURE.CONTENT_INCORRECT(n,l):(0,WEe.SUCCESS)(i)},n)}dyt.Tuple=qcl});var ngi=I(Bw=>{"use strict";var w4r=Bw&&Bw.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},R4r=Bw&&Bw.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(Bw,"__esModule",{value:!0});Bw.Partial=Bw.Record=Bw.InternalRecord=void 0;var rgi=YA(),y4=pf();function AK(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return Gcl((0,rgi.create)(function(o,s){if(o==null)return y4.FAILURE.TYPE_INCORRECT(i,o);var a=(0,y4.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return y4.FAILURE.TYPE_INCORRECT(i,o);var l=R4r([],w4r(new Set(R4r(R4r([],w4r(a),!1),w4r((0,y4.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,y4.hasKey)(p,r),A=(0,y4.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var C=o[p];y&&C===void 0?d[p]=(0,y4.SUCCESS)(C):d[p]=(0,rgi.innerValidate)(h,C,s)}else y?d[p]=(0,y4.SUCCESS)(void 0):d[p]=y4.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var C=o[p];d[p]=(0,y4.SUCCESS)(C)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,y4.enumerableKeysOf)(u).length!==0?y4.FAILURE.CONTENT_INCORRECT(i,u):(0,y4.SUCCESS)(o)},i))}Bw.InternalRecord=AK;function Ucl(r){return AK(r,!1,!1)}Bw.Record=Ucl;function jcl(r){return AK(r,!0,!1)}Bw.Partial=jcl;function Gcl(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return AK(r.fields,!0,r.isReadonly)}function n(){return AK(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),AK(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,y4.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),AK(c,r.isPartial,r.isReadonly)}function s(a){return AK(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var x4r=I(HEe=>{"use strict";Object.defineProperty(HEe,"__esModule",{value:!0});HEe.Guard=HEe.Constraint=void 0;var Wcl=YA(),B4r=pf(),Hcl=Z2t();function Vcl(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,Wcl.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?B4r.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,B4r.SUCCESS)(l.value):B4r.FAILURE.CONSTRAINT_FAILED(s)},s)}HEe.Constraint=Vcl;var Ycl=function(r,t){return Hcl.Unknown.withGuard(r,t)};HEe.Guard=Ycl});var ogi=I(pyt=>{"use strict";Object.defineProperty(pyt,"__esModule",{value:!0});pyt.Dictionary=void 0;var igi=YA(),M4r=T4r(),Kcl=x4r(),Jcl=sqe(),Wue=pf(),Xcl=(0,Kcl.Constraint)(M4r.String,function(r){return!isNaN(+r)},{name:"number"});function $cl(r,t){var n=t===void 0||t==="string"?M4r.String:t==="number"?Xcl:t,i=(0,Jcl.default)(n),o={tag:"dictionary",key:i,value:r};return(0,igi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return Wue.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,Wue.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=Wue.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,igi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,Wue.enumerableKeysOf)(d).length!==0?Wue.FAILURE.CONTENT_INCORRECT(o,d):(0,Wue.SUCCESS)(s)},o)}pyt.Dictionary=$cl});var agi=I(VEe=>{"use strict";var Zcl=VEe&&VEe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(VEe,"__esModule",{value:!0});VEe.Intersect=void 0;var sgi=YA(),e0l=pf();function t0l(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,sgi.create)(function(i,o){var s,a;try{for(var l=Zcl(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,sgi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,e0l.SUCCESS)(i)},n)}VEe.Intersect=t0l});var lgi=I(fyt=>{"use strict";Object.defineProperty(fyt,"__esModule",{value:!0});fyt.Optional=void 0;var r0l=YA(),n0l=pf();function i0l(r){var t={tag:"optional",underlying:r};return(0,r0l.create)(function(n){return n===void 0?(0,n0l.SUCCESS)(n):r.validate(n)},t)}fyt.Optional=i0l});var dgi=I(Ayt=>{"use strict";Object.defineProperty(Ayt,"__esModule",{value:!0});Ayt.Function=void 0;var o0l=YA(),ugi=pf(),cgi={tag:"function"};Ayt.Function=(0,o0l.create)(function(r){return typeof r=="function"?(0,ugi.SUCCESS)(r):ugi.FAILURE.TYPE_INCORRECT(cgi,r)},cgi)});var fgi=I(hyt=>{"use strict";Object.defineProperty(hyt,"__esModule",{value:!0});hyt.InstanceOf=void 0;var s0l=YA(),pgi=pf();function a0l(r){var t={tag:"instanceof",ctor:r};return(0,s0l.create)(function(n){return n instanceof r?(0,pgi.SUCCESS)(n):pgi.FAILURE.TYPE_INCORRECT(t,n)},t)}hyt.InstanceOf=a0l});var Agi=I(gyt=>{"use strict";Object.defineProperty(gyt,"__esModule",{value:!0});gyt.Lazy=void 0;var l0l=YA();function u0l(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,l0l.create)(function(o){return i().validate(o)},t)}gyt.Lazy=u0l});var hgi=I(myt=>{"use strict";Object.defineProperty(myt,"__esModule",{value:!0});myt.Brand=void 0;var c0l=YA();function d0l(r,t){var n={tag:"brand",brand:r,entity:t};return(0,c0l.create)(function(i){return t.validate(i)},n)}myt.Brand=d0l});var ggi=I(YEe=>{"use strict";Object.defineProperty(YEe,"__esModule",{value:!0});YEe.checked=YEe.check=void 0;var p0l=jEe(),f0l=pf(),D4r=new WeakMap;function A0l(r,t,n){var i=D4r.get(r)||new Map;D4r.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}YEe.check=A0l;function h0l(r,t,n){var i=D4r.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function g0l(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=h0l(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=f0l.FAILURE.ARGUMENT_INCORRECT(h);throw new p0l.ValidationError(y)}}),s.apply(this,c)}}}YEe.checked=g0l});var z3=I(Cl=>{"use strict";var m0l=Cl&&Cl.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),ap=Cl&&Cl.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&m0l(t,r,n)};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.InstanceOf=Cl.Nullish=Cl.Null=Cl.Undefined=Cl.Literal=void 0;ap(Ehi(),Cl);ap(g4r(),Cl);ap(Chi(),Cl);ap(Shi(),Cl);ap(_hi(),Cl);ap(jEe(),Cl);ap(Z2t(),Cl);ap(whi(),Cl);ap(Rhi(),Cl);var yyt=I4r();Object.defineProperty(Cl,"Literal",{enumerable:!0,get:function(){return yyt.Literal}});Object.defineProperty(Cl,"Undefined",{enumerable:!0,get:function(){return yyt.Undefined}});Object.defineProperty(Cl,"Null",{enumerable:!0,get:function(){return yyt.Null}});Object.defineProperty(Cl,"Nullish",{enumerable:!0,get:function(){return yyt.Nullish}});ap(Phi(),Cl);ap(Lhi(),Cl);ap(qhi(),Cl);ap(Ghi(),Cl);ap(T4r(),Cl);ap(Jhi(),Cl);ap(Zhi(),Cl);ap(tgi(),Cl);ap(ngi(),Cl);ap(ogi(),Cl);ap(E4r(),Cl);ap(agi(),Cl);ap(lgi(),Cl);ap(dgi(),Cl);var y0l=fgi();Object.defineProperty(Cl,"InstanceOf",{enumerable:!0,get:function(){return y0l.InstanceOf}});ap(Agi(),Cl);ap(x4r(),Cl);ap(hgi(),Cl);ap(ggi(),Cl)});var fqe=I((NUd,mgi)=>{var E0l="2.0.0",b0l=Number.MAX_SAFE_INTEGER||9007199254740991,C0l=16,I0l=250,v0l=["major","premajor","minor","preminor","patch","prepatch","prerelease"];mgi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:C0l,MAX_SAFE_BUILD_LENGTH:I0l,MAX_SAFE_INTEGER:b0l,RELEASE_TYPES:v0l,SEMVER_SPEC_VERSION:E0l,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Aqe=I((PUd,ygi)=>{var S0l=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ygi.exports=S0l});var KEe=I(($q,Egi)=>{var{MAX_SAFE_COMPONENT_LENGTH:N4r,MAX_SAFE_BUILD_LENGTH:_0l,MAX_LENGTH:O0l}=fqe(),T0l=Aqe();$q=Egi.exports={};var w0l=$q.re=[],R0l=$q.safeRe=[],cs=$q.src=[],ds=$q.t={},B0l=0,P4r="[a-zA-Z0-9-]",x0l=[["\\s",1],["\\d",O0l],[P4r,_0l]],M0l=r=>{for(let[t,n]of x0l)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},au=(r,t,n)=>{let i=M0l(t),o=B0l++;T0l(r,o,t),ds[r]=o,cs[o]=t,w0l[o]=new RegExp(t,n?"g":void 0),R0l[o]=new RegExp(i,n?"g":void 0)};au("NUMERICIDENTIFIER","0|[1-9]\\d*");au("NUMERICIDENTIFIERLOOSE","\\d+");au("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${P4r}*`);au("MAINVERSION",`(${cs[ds.NUMERICIDENTIFIER]})\\.(${cs[ds.NUMERICIDENTIFIER]})\\.(${cs[ds.NUMERICIDENTIFIER]})`);au("MAINVERSIONLOOSE",`(${cs[ds.NUMERICIDENTIFIERLOOSE]})\\.(${cs[ds.NUMERICIDENTIFIERLOOSE]})\\.(${cs[ds.NUMERICIDENTIFIERLOOSE]})`);au("PRERELEASEIDENTIFIER",`(?:${cs[ds.NUMERICIDENTIFIER]}|${cs[ds.NONNUMERICIDENTIFIER]})`);au("PRERELEASEIDENTIFIERLOOSE",`(?:${cs[ds.NUMERICIDENTIFIERLOOSE]}|${cs[ds.NONNUMERICIDENTIFIER]})`);au("PRERELEASE",`(?:-(${cs[ds.PRERELEASEIDENTIFIER]}(?:\\.${cs[ds.PRERELEASEIDENTIFIER]})*))`);au("PRERELEASELOOSE",`(?:-?(${cs[ds.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${cs[ds.PRERELEASEIDENTIFIERLOOSE]})*))`);au("BUILDIDENTIFIER",`${P4r}+`);au("BUILD",`(?:\\+(${cs[ds.BUILDIDENTIFIER]}(?:\\.${cs[ds.BUILDIDENTIFIER]})*))`);au("FULLPLAIN",`v?${cs[ds.MAINVERSION]}${cs[ds.PRERELEASE]}?${cs[ds.BUILD]}?`);au("FULL",`^${cs[ds.FULLPLAIN]}$`);au("LOOSEPLAIN",`[v=\\s]*${cs[ds.MAINVERSIONLOOSE]}${cs[ds.PRERELEASELOOSE]}?${cs[ds.BUILD]}?`);au("LOOSE",`^${cs[ds.LOOSEPLAIN]}$`);au("GTLT","((?:<|>)?=?)");au("XRANGEIDENTIFIERLOOSE",`${cs[ds.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);au("XRANGEIDENTIFIER",`${cs[ds.NUMERICIDENTIFIER]}|x|X|\\*`);au("XRANGEPLAIN",`[v=\\s]*(${cs[ds.XRANGEIDENTIFIER]})(?:\\.(${cs[ds.XRANGEIDENTIFIER]})(?:\\.(${cs[ds.XRANGEIDENTIFIER]})(?:${cs[ds.PRERELEASE]})?${cs[ds.BUILD]}?)?)?`);au("XRANGEPLAINLOOSE",`[v=\\s]*(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:\\.(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:\\.(${cs[ds.XRANGEIDENTIFIERLOOSE]})(?:${cs[ds.PRERELEASELOOSE]})?${cs[ds.BUILD]}?)?)?`);au("XRANGE",`^${cs[ds.GTLT]}\\s*${cs[ds.XRANGEPLAIN]}$`);au("XRANGELOOSE",`^${cs[ds.GTLT]}\\s*${cs[ds.XRANGEPLAINLOOSE]}$`);au("COERCE",`(^|[^\\d])(\\d{1,${N4r}})(?:\\.(\\d{1,${N4r}}))?(?:\\.(\\d{1,${N4r}}))?(?:$|[^\\d])`);au("COERCERTL",cs[ds.COERCE],!0);au("LONETILDE","(?:~>?)");au("TILDETRIM",`(\\s*)${cs[ds.LONETILDE]}\\s+`,!0);$q.tildeTrimReplace="$1~";au("TILDE",`^${cs[ds.LONETILDE]}${cs[ds.XRANGEPLAIN]}$`);au("TILDELOOSE",`^${cs[ds.LONETILDE]}${cs[ds.XRANGEPLAINLOOSE]}$`);au("LONECARET","(?:\\^)");au("CARETTRIM",`(\\s*)${cs[ds.LONECARET]}\\s+`,!0);$q.caretTrimReplace="$1^";au("CARET",`^${cs[ds.LONECARET]}${cs[ds.XRANGEPLAIN]}$`);au("CARETLOOSE",`^${cs[ds.LONECARET]}${cs[ds.XRANGEPLAINLOOSE]}$`);au("COMPARATORLOOSE",`^${cs[ds.GTLT]}\\s*(${cs[ds.LOOSEPLAIN]})$|^$`);au("COMPARATOR",`^${cs[ds.GTLT]}\\s*(${cs[ds.FULLPLAIN]})$|^$`);au("COMPARATORTRIM",`(\\s*)${cs[ds.GTLT]}\\s*(${cs[ds.LOOSEPLAIN]}|${cs[ds.XRANGEPLAIN]})`,!0);$q.comparatorTrimReplace="$1$2$3";au("HYPHENRANGE",`^\\s*(${cs[ds.XRANGEPLAIN]})\\s+-\\s+(${cs[ds.XRANGEPLAIN]})\\s*$`);au("HYPHENRANGELOOSE",`^\\s*(${cs[ds.XRANGEPLAINLOOSE]})\\s+-\\s+(${cs[ds.XRANGEPLAINLOOSE]})\\s*$`);au("STAR","(<|>)?=?\\s*\\*");au("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");au("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Eyt=I((kUd,bgi)=>{var D0l=Object.freeze({loose:!0}),N0l=Object.freeze({}),P0l=r=>r?typeof r!="object"?D0l:r:N0l;bgi.exports=P0l});var k4r=I((QUd,vgi)=>{var Cgi=/^[0-9]+$/,Igi=(r,t)=>{let n=Cgi.test(r),i=Cgi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},k0l=(r,t)=>Igi(t,r);vgi.exports={compareIdentifiers:Igi,rcompareIdentifiers:k0l}});var _b=I((LUd,Tgi)=>{var byt=Aqe(),{MAX_LENGTH:Sgi,MAX_SAFE_INTEGER:Cyt}=fqe(),{safeRe:_gi,t:Ogi}=KEe(),Q0l=Eyt(),{compareIdentifiers:JEe}=k4r(),Q4r=class r{constructor(t,n){if(n=Q0l(n),t instanceof r){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Sgi)throw new TypeError(`version is longer than ${Sgi} characters`);byt("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?_gi[Ogi.LOOSE]:_gi[Ogi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Cyt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Cyt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Cyt||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<Cyt)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(byt("SemVer.compare",this.version,this.options,t),!(t instanceof r)){if(typeof t=="string"&&t===this.version)return 0;t=new r(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof r||(t=new r(t,this.options)),JEe(this.major,t.major)||JEe(this.minor,t.minor)||JEe(this.patch,t.patch)}comparePre(t){if(t instanceof r||(t=new r(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(byt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return JEe(i,o)}while(++n)}compareBuild(t){t instanceof r||(t=new r(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(byt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return JEe(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),JEe(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Tgi.exports=Q4r});var Hue=I((FUd,Rgi)=>{var wgi=_b(),L0l=(r,t,n=!1)=>{if(r instanceof wgi)return r;try{return new wgi(r,t)}catch(i){if(!n)return null;throw i}};Rgi.exports=L0l});var xgi=I((zUd,Bgi)=>{var F0l=Hue(),z0l=(r,t)=>{let n=F0l(r,t);return n?n.version:null};Bgi.exports=z0l});var Dgi=I((qUd,Mgi)=>{var q0l=Hue(),U0l=(r,t)=>{let n=q0l(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Mgi.exports=U0l});var kgi=I((UUd,Pgi)=>{var Ngi=_b(),j0l=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new Ngi(r instanceof Ngi?r.version:r,n).inc(t,i,o).version}catch{return null}};Pgi.exports=j0l});var Fgi=I((jUd,Lgi)=>{var Qgi=Hue(),G0l=(r,t)=>{let n=Qgi(r,null,!0),i=Qgi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};Lgi.exports=G0l});var qgi=I((GUd,zgi)=>{var W0l=_b(),H0l=(r,t)=>new W0l(r,t).major;zgi.exports=H0l});var jgi=I((WUd,Ugi)=>{var V0l=_b(),Y0l=(r,t)=>new V0l(r,t).minor;Ugi.exports=Y0l});var Wgi=I((HUd,Ggi)=>{var K0l=_b(),J0l=(r,t)=>new K0l(r,t).patch;Ggi.exports=J0l});var Vgi=I((VUd,Hgi)=>{var X0l=Hue(),$0l=(r,t)=>{let n=X0l(r,t);return n&&n.prerelease.length?n.prerelease:null};Hgi.exports=$0l});var xw=I((YUd,Kgi)=>{var Ygi=_b(),Z0l=(r,t,n)=>new Ygi(r,n).compare(new Ygi(t,n));Kgi.exports=Z0l});var Xgi=I((KUd,Jgi)=>{var edl=xw(),tdl=(r,t,n)=>edl(t,r,n);Jgi.exports=tdl});var Zgi=I((JUd,$gi)=>{var rdl=xw(),ndl=(r,t)=>rdl(r,t,!0);$gi.exports=ndl});var Iyt=I((XUd,tmi)=>{var emi=_b(),idl=(r,t,n)=>{let i=new emi(r,n),o=new emi(t,n);return i.compare(o)||i.compareBuild(o)};tmi.exports=idl});var nmi=I(($Ud,rmi)=>{var odl=Iyt(),sdl=(r,t)=>r.sort((n,i)=>odl(n,i,t));rmi.exports=sdl});var omi=I((ZUd,imi)=>{var adl=Iyt(),ldl=(r,t)=>r.sort((n,i)=>adl(i,n,t));imi.exports=ldl});var hqe=I((ejd,smi)=>{var udl=xw(),cdl=(r,t,n)=>udl(r,t,n)>0;smi.exports=cdl});var vyt=I((tjd,ami)=>{var ddl=xw(),pdl=(r,t,n)=>ddl(r,t,n)<0;ami.exports=pdl});var L4r=I((rjd,lmi)=>{var fdl=xw(),Adl=(r,t,n)=>fdl(r,t,n)===0;lmi.exports=Adl});var F4r=I((njd,umi)=>{var hdl=xw(),gdl=(r,t,n)=>hdl(r,t,n)!==0;umi.exports=gdl});var Syt=I((ijd,cmi)=>{var mdl=xw(),ydl=(r,t,n)=>mdl(r,t,n)>=0;cmi.exports=ydl});var _yt=I((ojd,dmi)=>{var Edl=xw(),bdl=(r,t,n)=>Edl(r,t,n)<=0;dmi.exports=bdl});var z4r=I((sjd,pmi)=>{var Cdl=L4r(),Idl=F4r(),vdl=hqe(),Sdl=Syt(),_dl=vyt(),Odl=_yt(),Tdl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return Cdl(r,n,i);case"!=":return Idl(r,n,i);case">":return vdl(r,n,i);case">=":return Sdl(r,n,i);case"<":return _dl(r,n,i);case"<=":return Odl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};pmi.exports=Tdl});var Ami=I((ajd,fmi)=>{var wdl=_b(),Rdl=Hue(),{safeRe:Oyt,t:Tyt}=KEe(),Bdl=(r,t)=>{if(r instanceof wdl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Oyt[Tyt.COERCE]);else{let i;for(;(i=Oyt[Tyt.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Oyt[Tyt.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Oyt[Tyt.COERCERTL].lastIndex=-1}return n===null?null:Rdl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};fmi.exports=Bdl});var gmi=I((ljd,hmi)=>{"use strict";hmi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var q4r=I((ujd,mmi)=>{"use strict";mmi.exports=p0;p0.Node=Vue;p0.create=p0;function p0(r){var t=this;if(t instanceof p0||(t=new p0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}p0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};p0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};p0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};p0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Mdl(this,arguments[r]);return this.length};p0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Ddl(this,arguments[r]);return this.length};p0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};p0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};p0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};p0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};p0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};p0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};p0.prototype.map=function(r,t){t=t||this;for(var n=new p0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};p0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new p0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};p0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};p0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};p0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};p0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};p0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new p0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};p0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new p0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};p0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=xdl(this,o,n[i]);return s};p0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function xdl(r,t,n){var i=t===r.head?new Vue(n,null,t,r):new Vue(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Mdl(r,t){r.tail=new Vue(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Ddl(r,t){r.head=new Vue(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function Vue(r,t,n,i){if(!(this instanceof Vue))return new Vue(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{gmi()(p0)}catch{}});var ZEe=I((cjd,Cmi)=>{"use strict";var Ndl=q4r(),Yue=Symbol("max"),eU=Symbol("length"),XEe=Symbol("lengthCalculator"),mqe=Symbol("allowStale"),Kue=Symbol("maxAge"),Zq=Symbol("dispose"),ymi=Symbol("noDisposeOnSet"),Z2=Symbol("lruList"),rx=Symbol("cache"),bmi=Symbol("updateAgeOnGet"),U4r=()=>1,G4r=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[Yue]=t.max||1/0,i=t.length||U4r;if(this[XEe]=typeof i!="function"?U4r:i,this[mqe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Kue]=t.maxAge||0,this[Zq]=t.dispose,this[ymi]=t.noDisposeOnSet||!1,this[bmi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Yue]=t||1/0,gqe(this)}get max(){return this[Yue]}set allowStale(t){this[mqe]=!!t}get allowStale(){return this[mqe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Kue]=t,gqe(this)}get maxAge(){return this[Kue]}set lengthCalculator(t){typeof t!="function"&&(t=U4r),t!==this[XEe]&&(this[XEe]=t,this[eU]=0,this[Z2].forEach(n=>{n.length=this[XEe](n.value,n.key),this[eU]+=n.length})),gqe(this)}get lengthCalculator(){return this[XEe]}get length(){return this[eU]}get itemCount(){return this[Z2].length}rforEach(t,n){n=n||this;for(let i=this[Z2].tail;i!==null;){let o=i.prev;Emi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[Z2].head;i!==null;){let o=i.next;Emi(this,t,i,n),i=o}}keys(){return this[Z2].toArray().map(t=>t.key)}values(){return this[Z2].toArray().map(t=>t.value)}reset(){this[Zq]&&this[Z2]&&this[Z2].length&&this[Z2].forEach(t=>this[Zq](t.key,t.value)),this[rx]=new Map,this[Z2]=new Ndl,this[eU]=0}dump(){return this[Z2].map(t=>wyt(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Z2]}set(t,n,i){if(i=i||this[Kue],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[XEe](n,t);if(this[rx].has(t)){if(s>this[Yue])return $Ee(this,this[rx].get(t)),!1;let c=this[rx].get(t).value;return this[Zq]&&(this[ymi]||this[Zq](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[eU]+=s-c.length,c.length=s,this.get(t),gqe(this),!0}let a=new W4r(t,n,s,o,i);return a.length>this[Yue]?(this[Zq]&&this[Zq](t,n),!1):(this[eU]+=a.length,this[Z2].unshift(a),this[rx].set(t,this[Z2].head),gqe(this),!0)}has(t){if(!this[rx].has(t))return!1;let n=this[rx].get(t).value;return!wyt(this,n)}get(t){return j4r(this,t,!0)}peek(t){return j4r(this,t,!1)}pop(){let t=this[Z2].tail;return t?($Ee(this,t),t.value):null}del(t){$Ee(this,this[rx].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[rx].forEach((t,n)=>j4r(this,n,!1))}},j4r=(r,t,n)=>{let i=r[rx].get(t);if(i){let o=i.value;if(wyt(r,o)){if($Ee(r,i),!r[mqe])return}else n&&(r[bmi]&&(i.value.now=Date.now()),r[Z2].unshiftNode(i));return o.value}},wyt=(r,t)=>{if(!t||!t.maxAge&&!r[Kue])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[Kue]&&n>r[Kue]},gqe=r=>{if(r[eU]>r[Yue])for(let t=r[Z2].tail;r[eU]>r[Yue]&&t!==null;){let n=t.prev;$Ee(r,t),t=n}},$Ee=(r,t)=>{if(t){let n=t.value;r[Zq]&&r[Zq](n.key,n.value),r[eU]-=n.length,r[rx].delete(n.key),r[Z2].removeNode(t)}},W4r=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},Emi=(r,t,n,i)=>{let o=n.value;wyt(r,o)&&($Ee(r,n),r[mqe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};Cmi.exports=G4r});var Mw=I((djd,_mi)=>{var H4r=class r{constructor(t,n){if(n=kdl(n),t instanceof r)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new r(t.raw,n);if(t instanceof V4r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!vmi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&jdl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&qdl)|(this.options.loose&&Udl))+":"+t,o=Imi.get(i);if(o)return o;let s=this.options.loose,a=s?E4[gI.HYPHENRANGELOOSE]:E4[gI.HYPHENRANGE];t=t.replace(a,Zdl(this.options.includePrerelease)),O1("hyphen replace",t),t=t.replace(E4[gI.COMPARATORTRIM],Ldl),O1("comparator trim",t),t=t.replace(E4[gI.TILDETRIM],Fdl),O1("tilde trim",t),t=t.replace(E4[gI.CARETTRIM],zdl),O1("caret trim",t);let l=t.split(" ").map(p=>Gdl(p,this.options)).join(" ").split(/\s+/).map(p=>$dl(p,this.options));s&&(l=l.filter(p=>(O1("loose invalid filter",p,this.options),!!p.match(E4[gI.COMPARATORLOOSE])))),O1("range list",l);let c=new Map,u=l.map(p=>new V4r(p,this.options));for(let p of u){if(vmi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return Imi.set(i,d),d}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Range is required");return this.set.some(i=>Smi(i,n)&&t.set.some(o=>Smi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new Qdl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(epl(this.set[n],t,this.options))return!0;return!1}};_mi.exports=H4r;var Pdl=ZEe(),Imi=new Pdl({max:1e3}),kdl=Eyt(),V4r=yqe(),O1=Aqe(),Qdl=_b(),{safeRe:E4,t:gI,comparatorTrimReplace:Ldl,tildeTrimReplace:Fdl,caretTrimReplace:zdl}=KEe(),{FLAG_INCLUDE_PRERELEASE:qdl,FLAG_LOOSE:Udl}=fqe(),vmi=r=>r.value==="<0.0.0-0",jdl=r=>r.value==="",Smi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},Gdl=(r,t)=>(O1("comp",r,t),r=Vdl(r,t),O1("caret",r),r=Wdl(r,t),O1("tildes",r),r=Kdl(r,t),O1("xrange",r),r=Xdl(r,t),O1("stars",r),r),mI=r=>!r||r.toLowerCase()==="x"||r==="*",Wdl=(r,t)=>r.trim().split(/\s+/).map(n=>Hdl(n,t)).join(" "),Hdl=(r,t)=>{let n=t.loose?E4[gI.TILDELOOSE]:E4[gI.TILDE];return r.replace(n,(i,o,s,a,l)=>{O1("tilde",r,i,o,s,a,l);let c;return mI(o)?c="":mI(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:mI(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(O1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,O1("tilde return",c),c})},Vdl=(r,t)=>r.trim().split(/\s+/).map(n=>Ydl(n,t)).join(" "),Ydl=(r,t)=>{O1("caret",r,t);let n=t.loose?E4[gI.CARETLOOSE]:E4[gI.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{O1("caret",r,o,s,a,l,c);let u;return mI(s)?u="":mI(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:mI(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(O1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(O1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),O1("caret return",u),u})},Kdl=(r,t)=>(O1("replaceXRanges",r,t),r.split(/\s+/).map(n=>Jdl(n,t)).join(" ")),Jdl=(r,t)=>{r=r.trim();let n=t.loose?E4[gI.XRANGELOOSE]:E4[gI.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{O1("xRange",r,i,o,s,a,l,c);let u=mI(s),d=u||mI(a),p=d||mI(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),O1("xRange return",i),i})},Xdl=(r,t)=>(O1("replaceStars",r,t),r.trim().replace(E4[gI.STAR],"")),$dl=(r,t)=>(O1("replaceGTE0",r,t),r.trim().replace(E4[t.includePrerelease?gI.GTE0PRE:gI.GTE0],"")),Zdl=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(mI(i)?n="":mI(o)?n=`>=${i}.0.0${r?"-0":""}`:mI(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,mI(u)?c="":mI(d)?c=`<${+u+1}.0.0-0`:mI(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),epl=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(O1(r[i].semver),r[i].semver!==V4r.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var yqe=I((pjd,xmi)=>{var Eqe=Symbol("SemVer ANY"),J4r=class r{static get ANY(){return Eqe}constructor(t,n){if(n=Omi(n),t instanceof r){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),K4r("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===Eqe?this.value="":this.value=this.operator+this.semver.version,K4r("comp",this)}parse(t){let n=this.options.loose?Tmi[wmi.COMPARATORLOOSE]:Tmi[wmi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new Rmi(i[2],this.options.loose):this.semver=Eqe}toString(){return this.value}test(t){if(K4r("Comparator.test",t,this.options.loose),this.semver===Eqe||t===Eqe)return!0;if(typeof t=="string")try{t=new Rmi(t,this.options)}catch{return!1}return Y4r(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Bmi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new Bmi(this.value,n).test(t.semver):(n=Omi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Y4r(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Y4r(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};xmi.exports=J4r;var Omi=Eyt(),{safeRe:Tmi,t:wmi}=KEe(),Y4r=z4r(),K4r=Aqe(),Rmi=_b(),Bmi=Mw()});var bqe=I((fjd,Mmi)=>{var tpl=Mw(),rpl=(r,t,n)=>{try{t=new tpl(t,n)}catch{return!1}return t.test(r)};Mmi.exports=rpl});var Nmi=I((Ajd,Dmi)=>{var npl=Mw(),ipl=(r,t)=>new npl(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));Dmi.exports=ipl});var kmi=I((hjd,Pmi)=>{var opl=_b(),spl=Mw(),apl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new spl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new opl(i,n))}),i};Pmi.exports=apl});var Lmi=I((gjd,Qmi)=>{var lpl=_b(),upl=Mw(),cpl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new upl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new lpl(i,n))}),i};Qmi.exports=cpl});var qmi=I((mjd,zmi)=>{var X4r=_b(),dpl=Mw(),Fmi=hqe(),ppl=(r,t)=>{r=new dpl(r,t);let n=new X4r("0.0.0");if(r.test(n)||(n=new X4r("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new X4r(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Fmi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Fmi(n,s))&&(n=s)}return n&&r.test(n)?n:null};zmi.exports=ppl});var jmi=I((yjd,Umi)=>{var fpl=Mw(),Apl=(r,t)=>{try{return new fpl(r,t).range||"*"}catch{return null}};Umi.exports=Apl});var Ryt=I((Ejd,Vmi)=>{var hpl=_b(),Hmi=yqe(),{ANY:gpl}=Hmi,mpl=Mw(),ypl=bqe(),Gmi=hqe(),Wmi=vyt(),Epl=_yt(),bpl=Syt(),Cpl=(r,t,n,i)=>{r=new hpl(r,i),t=new mpl(t,i);let o,s,a,l,c;switch(n){case">":o=Gmi,s=Epl,a=Wmi,l=">",c=">=";break;case"<":o=Wmi,s=bpl,a=Gmi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ypl(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===gpl&&(A=new Hmi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};Vmi.exports=Cpl});var Kmi=I((bjd,Ymi)=>{var Ipl=Ryt(),vpl=(r,t,n)=>Ipl(r,t,">",n);Ymi.exports=vpl});var Xmi=I((Cjd,Jmi)=>{var Spl=Ryt(),_pl=(r,t,n)=>Spl(r,t,"<",n);Jmi.exports=_pl});var e2i=I((Ijd,Zmi)=>{var $mi=Mw(),Opl=(r,t,n)=>(r=new $mi(r,n),t=new $mi(t,n),r.intersects(t,n));Zmi.exports=Opl});var r2i=I((vjd,t2i)=>{var Tpl=bqe(),wpl=xw();t2i.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>wpl(d,p,n));for(let d of a)Tpl(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var l2i=I((Sjd,a2i)=>{var n2i=Mw(),Z4r=yqe(),{ANY:$4r}=Z4r,Cqe=bqe(),eSr=xw(),Rpl=(r,t,n={})=>{if(r===t)return!0;r=new n2i(r,n),t=new n2i(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=xpl(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},Bpl=[new Z4r(">=0.0.0-0")],i2i=[new Z4r(">=0.0.0")],xpl=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===$4r){if(t.length===1&&t[0].semver===$4r)return!0;n.includePrerelease?r=Bpl:r=i2i}if(t.length===1&&t[0].semver===$4r){if(n.includePrerelease)return!0;t=i2i}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=o2i(o,A,n):A.operator==="<"||A.operator==="<="?s=s2i(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=eSr(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!Cqe(A,String(o),n)||s&&!Cqe(A,String(s),n))return null;for(let h of t)if(!Cqe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=o2i(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!Cqe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=s2i(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!Cqe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},o2i=(r,t,n)=>{if(!r)return t;let i=eSr(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},s2i=(r,t,n)=>{if(!r)return t;let i=eSr(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};a2i.exports=Rpl});var ebe=I((_jd,d2i)=>{var tSr=KEe(),u2i=fqe(),Mpl=_b(),c2i=k4r(),Dpl=Hue(),Npl=xgi(),Ppl=Dgi(),kpl=kgi(),Qpl=Fgi(),Lpl=qgi(),Fpl=jgi(),zpl=Wgi(),qpl=Vgi(),Upl=xw(),jpl=Xgi(),Gpl=Zgi(),Wpl=Iyt(),Hpl=nmi(),Vpl=omi(),Ypl=hqe(),Kpl=vyt(),Jpl=L4r(),Xpl=F4r(),$pl=Syt(),Zpl=_yt(),e1l=z4r(),t1l=Ami(),r1l=yqe(),n1l=Mw(),i1l=bqe(),o1l=Nmi(),s1l=kmi(),a1l=Lmi(),l1l=qmi(),u1l=jmi(),c1l=Ryt(),d1l=Kmi(),p1l=Xmi(),f1l=e2i(),A1l=r2i(),h1l=l2i();d2i.exports={parse:Dpl,valid:Npl,clean:Ppl,inc:kpl,diff:Qpl,major:Lpl,minor:Fpl,patch:zpl,prerelease:qpl,compare:Upl,rcompare:jpl,compareLoose:Gpl,compareBuild:Wpl,sort:Hpl,rsort:Vpl,gt:Ypl,lt:Kpl,eq:Jpl,neq:Xpl,gte:$pl,lte:Zpl,cmp:e1l,coerce:t1l,Comparator:r1l,Range:n1l,satisfies:i1l,toComparators:o1l,maxSatisfying:s1l,minSatisfying:a1l,minVersion:l1l,validRange:u1l,outside:c1l,gtr:d1l,ltr:p1l,intersects:f1l,simplifyRange:A1l,subset:h1l,SemVer:Mpl,re:tSr.re,src:tSr.src,tokens:tSr.t,SEMVER_SPEC_VERSION:u2i.SEMVER_SPEC_VERSION,RELEASE_TYPES:u2i.RELEASE_TYPES,compareIdentifiers:c2i.compareIdentifiers,rcompareIdentifiers:c2i.rcompareIdentifiers}});var Iqe,g1l,Ojd,m1l,tU,tbe=et(()=>{"use strict";Iqe=Ct(z3()),g1l=Ct(ebe()),Ojd=(0,Iqe.Record)({version:Iqe.String,hash:Iqe.String}),m1l=()=>({version:"7.15.2",hash:"c073bede74a205f5ba12366366ebfeed88e51da1"}),tU=m1l()});var p2i,Dw,f2i,rSr,nSr,E1l,Byt,b1l,vqe,xyt=et(()=>{"use strict";p2i=Ct(Pue());oqe();jue();Sqe();wu();tbe();f2i=r=>{Dw=r},rSr=r=>r.includes("production")?"production":r.includes("staging")?"staging":r.includes("qa")?"qa":"development",nSr=()=>{if(Xf()){let r=process.env.RUNTIME_ENVIRONMENT||"development";return vqn("coa")?process.env.COALESCE_COA_CLOUD_JOB_ID?rSr(r):void 0:rSr(r)}else{let r;try{r=self.ENVIRONMENT}catch{}return typeof r=="string"?rSr(r):void 0}},E1l=()=>{let r=Tu();if(r.isTest)return{};let t=nSr();return r.isNode?{firebaseEnv:t}:{windowInfo:{frontendURLHost:self.location.host},firebaseEnv:t}},Byt=r=>({coalesceSoftwareVersion:tU?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),b1l=r=>{let t=Byt(Dw);return{appEnv:E1l(),loggingArea:r,...t}},vqe=r=>{let t=ww[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=p2i.createLogger({levels:V2t.LEVELS,defaultMeta:b1l(r),level:t.level,transports:A2i(t)})),t.logger}});var aSr,b4,iSr,h2i,g2i,m2i,oSr,lSr,Myt,C1l,uSr,rbe,sSr,Dyt,cSr,A2i,Sqe=et(()=>{"use strict";aSr=Ct(Gq()),b4=Ct(Pue());jue();Y2t();xyt();wu();iSr=null,h2i=r=>{iSr=r},g2i={emerg:"error",assert:"warn",alert:"warn",error:"warn",warn:"warn",app:"info",info:"info",debug:"debug"},m2i={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",warn:"warn",debug:"debug"},oSr=class extends aSr.default{baseContext;constructor(t){super(t),this.baseContext=Byt(Dw)}log(t,n){iSr&&iSr.log({...t,level:m2i[t.level]},{...this.baseContext,...zg},g2i[t.level]),n()}},Myt=r=>{let t=Byt(r);lSr={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},C1l=!1,uSr=()=>b4.format.combine(b4.format.timestamp(),b4.format.colorize({colors:V2t.COLORS}),b4.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),rbe=r=>new b4.transports.Console({format:process.env.CONSOLE_JSON_LOGS?b4.format.combine(b4.format.timestamp(),b4.format.json()):uSr(),level:r.level,silent:C1l}),sSr=class extends aSr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:m2i[t.level],status:g2i[t.level]},n)}},Dyt=()=>{let r=new b4.transports.Http({...lSr,format:b4.format.combine(uSr(),b4.format.uncolorize())});return new sSr(r)},cSr=()=>new b4.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:uSr(),level:H2t.debug}),A2i=r=>{let t=[];return t.push(rbe(r)),lSr&&t.push(Dyt()),Tu().isTest&&t.push(cSr()),[new oSr,...t]}});var y2i,Nyt,Pyt,dSr,kyt,rU,E2i=et(()=>{"use strict";y2i=Ct(us()),Nyt=Ct(Pue());oqe();Sqe();wu();xyt();jue();Lg();Pyt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in ww||i.push(`invalid logging area '${n}'`),H2t[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=vqe(n),s=o.transports.filter(l=>l instanceof Nyt.transports.Console),a=o.transports;s.length||(a=[...a,rbe(ww[n])]),a.filter(l=>l instanceof Nyt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},dSr=()=>{Object.keys(ww).forEach(r=>{Pyt(r,"debug")})},kyt=(r,t)=>{for(let n in r){let i=n,o=vqe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(Tu().isTest&&s.length>0){let l=s[s.length-1];l instanceof Nyt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(cSr()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},rU=r=>{let t=y2i.default.mapValues(ww,(n,i)=>({}));kyt(t,r)}});function _qe(r,t){return function(){return r.apply(t,arguments)}}var pSr=et(()=>{"use strict"});function v1l(r){return r!==null&&!Oqe(r)&&r.constructor!==null&&!Oqe(r.constructor)&&E5(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function S1l(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&I2i(r.buffer),t}function Tqe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),nbe(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function S2i(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function ASr(){let{caseless:r}=_2i(this)&&this||{},t={},n=(i,o)=>{let s=r&&S2i(t,o)||o;Qyt(t[s])&&Qyt(i)?t[s]=ASr(t[s],i):Qyt(i)?t[s]=ASr({},i):nbe(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Tqe(arguments[i],n);return t}function rfl(r){return!!(r&&E5(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var I1l,hSr,Lyt,nx,Fyt,nbe,Oqe,I2i,_1l,E5,v2i,zyt,O1l,Qyt,T1l,w1l,R1l,B1l,x1l,M1l,D1l,N1l,P1l,k1l,Q1l,L1l,Jue,_2i,F1l,z1l,q1l,U1l,j1l,G1l,W1l,H1l,V1l,Y1l,K1l,b2i,J1l,O2i,X1l,$1l,Z1l,efl,fSr,C2i,T2i,tfl,nfl,ifl,ofl,w2i,sfl,er,Qd=et(()=>{"use strict";pSr();({toString:I1l}=Object.prototype),{getPrototypeOf:hSr}=Object,Lyt=(r=>t=>{let n=I1l.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nx=r=>(r=r.toLowerCase(),t=>Lyt(t)===r),Fyt=r=>t=>typeof t===r,{isArray:nbe}=Array,Oqe=Fyt("undefined");I2i=nx("ArrayBuffer");_1l=Fyt("string"),E5=Fyt("function"),v2i=Fyt("number"),zyt=r=>r!==null&&typeof r=="object",O1l=r=>r===!0||r===!1,Qyt=r=>{if(Lyt(r)!=="object")return!1;let t=hSr(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},T1l=nx("Date"),w1l=nx("File"),R1l=nx("Blob"),B1l=nx("FileList"),x1l=r=>zyt(r)&&E5(r.pipe),M1l=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||E5(r.append)&&((t=Lyt(r))==="formdata"||t==="object"&&E5(r.toString)&&r.toString()==="[object FormData]"))},D1l=nx("URLSearchParams"),[N1l,P1l,k1l,Q1l]=["ReadableStream","Request","Response","Headers"].map(nx),L1l=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");Jue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_2i=r=>!Oqe(r)&&r!==Jue;F1l=(r,t,n,{allOwnKeys:i}={})=>(Tqe(t,(o,s)=>{n&&E5(o)?r[s]=_qe(o,n):r[s]=o},{allOwnKeys:i}),r),z1l=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),q1l=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},U1l=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&hSr(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},j1l=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},G1l=r=>{if(!r)return null;if(nbe(r))return r;let t=r.length;if(!v2i(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},W1l=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&hSr(Uint8Array)),H1l=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},V1l=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},Y1l=nx("HTMLFormElement"),K1l=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),b2i=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),J1l=nx("RegExp"),O2i=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};Tqe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},X1l=r=>{O2i(r,(t,n)=>{if(E5(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(E5(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$1l=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return nbe(r)?i(r):i(String(r).split(t)),n},Z1l=()=>{},efl=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t,fSr="abcdefghijklmnopqrstuvwxyz",C2i="0123456789",T2i={DIGIT:C2i,ALPHA:fSr,ALPHA_DIGIT:fSr+fSr.toUpperCase()+C2i},tfl=(r=16,t=T2i.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};nfl=r=>{let t=new Array(10),n=(i,o)=>{if(zyt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=nbe(i)?[]:{};return Tqe(i,(a,l)=>{let c=n(a,o+1);!Oqe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},ifl=nx("AsyncFunction"),ofl=r=>r&&(zyt(r)||E5(r))&&E5(r.then)&&E5(r.catch),w2i=((r,t)=>r?setImmediate:t?((n,i)=>(Jue.addEventListener("message",({source:o,data:s})=>{o===Jue&&s===n&&i.length&&i.shift()()},!1),o=>{i.push(o),Jue.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",E5(Jue.postMessage)),sfl=typeof queueMicrotask<"u"?queueMicrotask.bind(Jue):typeof process<"u"&&process.nextTick||w2i,er={isArray:nbe,isArrayBuffer:I2i,isBuffer:v1l,isFormData:M1l,isArrayBufferView:S1l,isString:_1l,isNumber:v2i,isBoolean:O1l,isObject:zyt,isPlainObject:Qyt,isReadableStream:N1l,isRequest:P1l,isResponse:k1l,isHeaders:Q1l,isUndefined:Oqe,isDate:T1l,isFile:w1l,isBlob:R1l,isRegExp:J1l,isFunction:E5,isStream:x1l,isURLSearchParams:D1l,isTypedArray:W1l,isFileList:B1l,forEach:Tqe,merge:ASr,extend:F1l,trim:L1l,stripBOM:z1l,inherits:q1l,toFlatObject:U1l,kindOf:Lyt,kindOfTest:nx,endsWith:j1l,toArray:G1l,forEachEntry:H1l,matchAll:V1l,isHTMLForm:Y1l,hasOwnProperty:b2i,hasOwnProp:b2i,reduceDescriptors:O2i,freezeMethods:X1l,toObjectSet:$1l,toCamelCase:K1l,noop:Z1l,toFiniteNumber:efl,findKey:S2i,global:Jue,isContextDefined:_2i,ALPHABET:T2i,generateString:tfl,isSpecCompliantForm:rfl,toJSONObject:nfl,isAsyncFn:ifl,isThenable:ofl,setImmediate:w2i,asap:sfl}});function ibe(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}var R2i,B2i,so,b5=et(()=>{"use strict";Qd();er.inherits(ibe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:er.toJSONObject(this.config),code:this.code,status:this.status}}});R2i=ibe.prototype,B2i={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{B2i[r]={value:r}});Object.defineProperties(ibe,B2i);Object.defineProperty(R2i,"isAxiosError",{value:!0});ibe.from=(r,t,n,i,o,s)=>{let a=Object.create(R2i);return er.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),ibe.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};so=ibe});var x2i,qyt,gSr=et(()=>{x2i=Ct(Hze(),1),qyt=x2i.default});function mSr(r){return er.isPlainObject(r)||er.isArray(r)}function D2i(r){return er.endsWith(r,"[]")?r.slice(0,-2):r}function M2i(r,t,n){return r?r.concat(t).map(function(o,s){return o=D2i(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function afl(r){return er.isArray(r)&&!r.some(mSr)}function ufl(r,t,n){if(!er.isObject(r))throw new TypeError("target must be an object");t=t||new(qyt||FormData),n=er.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!er.isUndefined(C[y])});let i=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&er.isSpecCompliantForm(t);if(!er.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(er.isDate(h))return h.toISOString();if(!c&&er.isBlob(h))throw new so("Blob is not supported. Use a Buffer instead.");return er.isArrayBuffer(h)||er.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,y,C){let v=h;if(h&&!C&&typeof h=="object"){if(er.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(er.isArray(h)&&afl(h)||(er.isFileList(h)||er.endsWith(y,"[]"))&&(v=er.toArray(h)))return y=D2i(y),v.forEach(function(T,R){!(er.isUndefined(T)||T===null)&&t.append(a===!0?M2i([y],R,s):a===null?y:y+"[]",u(T))}),!1}return mSr(h)?!0:(t.append(M2i(C,y,s),u(h)),!1)}let p=[],f=Object.assign(lfl,{defaultVisitor:d,convertValue:u,isVisitable:mSr});function A(h,y){if(!er.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(h),er.forEach(h,function(v,O){(!(er.isUndefined(v)||v===null)&&o.call(t,v,er.isString(O)?O.trim():O,y,f))===!0&&A(v,y?y.concat(O):[O])}),p.pop()}}if(!er.isObject(r))throw new TypeError("data must be an object");return A(r),t}var lfl,hK,wqe=et(()=>{"use strict";Qd();b5();gSr();lfl=er.toFlatObject(er,{},null,function(t){return/^is[A-Z]/.test(t)});hK=ufl});function N2i(r){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function P2i(r,t){this._pairs=[],r&&hK(r,this,t)}var k2i,Q2i,L2i=et(()=>{"use strict";wqe();k2i=P2i.prototype;k2i.append=function(t,n){this._pairs.push([t,n])};k2i.toString=function(t){let n=t?function(i){return t.call(this,i,N2i)}:N2i;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};Q2i=P2i});function cfl(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xue(r,t,n){if(!t)return r;let i=n&&n.encode||cfl,o=n&&n.serialize,s;if(o?s=o(t,n):s=er.isURLSearchParams(t)?t.toString():new Q2i(t,n).toString(i),s){let a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}var Uyt=et(()=>{"use strict";Qd();L2i()});var ySr,ESr,F2i=et(()=>{"use strict";Qd();ySr=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){er.forEach(this.handlers,function(i){i!==null&&t(i)})}},ESr=ySr});var obe,jyt=et(()=>{"use strict";obe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var z2i,q2i,U2i=et(()=>{"use strict";z2i=Ct(require("url"),1),q2i=z2i.default.URLSearchParams});var j2i,G2i=et(()=>{U2i();gSr();j2i={isNode:!0,classes:{URLSearchParams:q2i,FormData:qyt,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]}});var ISr={};j_(ISr,{hasBrowserEnv:()=>CSr,hasStandardBrowserEnv:()=>dfl,hasStandardBrowserWebWorkerEnv:()=>pfl,navigator:()=>bSr,origin:()=>ffl});var CSr,bSr,dfl,pfl,ffl,W2i=et(()=>{CSr=typeof window<"u"&&typeof document<"u",bSr=typeof navigator=="object"&&navigator||void 0,dfl=CSr&&(!bSr||["ReactNative","NativeScript","NS"].indexOf(bSr.product)<0),pfl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ffl=CSr&&window.location.href||"http://localhost"});var lp,dN=et(()=>{G2i();W2i();lp={...ISr,...j2i}});function vSr(r,t){return hK(r,new lp.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,s){return lp.isNode&&er.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}var H2i=et(()=>{"use strict";Qd();wqe();dN()});function Afl(r){return er.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hfl(r){let t={},n=Object.keys(r),i,o=n.length,s;for(i=0;i<o;i++)s=n[i],t[s]=r[s];return t}function gfl(r){function t(n,i,o,s){let a=n[s++];if(a==="__proto__")return!0;let l=Number.isFinite(+a),c=s>=n.length;return a=!a&&er.isArray(o)?o.length:a,c?(er.hasOwnProp(o,a)?o[a]=[o[a],i]:o[a]=i,!l):((!o[a]||!er.isObject(o[a]))&&(o[a]=[]),t(n,i,o[a],s)&&er.isArray(o[a])&&(o[a]=hfl(o[a])),!l)}if(er.isFormData(r)&&er.isFunction(r.entries)){let n={};return er.forEachEntry(r,(i,o)=>{t(Afl(i),o,n,0)}),n}return null}var Gyt,SSr=et(()=>{"use strict";Qd();Gyt=gfl});function mfl(r,t,n){if(er.isString(r))try{return(t||JSON.parse)(r),er.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var _Sr,sbe,Wyt=et(()=>{"use strict";Qd();b5();jyt();wqe();H2i();dN();SSr();_Sr={transitional:obe,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let i=n.getContentType()||"",o=i.indexOf("application/json")>-1,s=er.isObject(t);if(s&&er.isHTMLForm(t)&&(t=new FormData(t)),er.isFormData(t))return o?JSON.stringify(Gyt(t)):t;if(er.isArrayBuffer(t)||er.isBuffer(t)||er.isStream(t)||er.isFile(t)||er.isBlob(t)||er.isReadableStream(t))return t;if(er.isArrayBufferView(t))return t.buffer;if(er.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return vSr(t,this.formSerializer).toString();if((l=er.isFileList(t))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return hK(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),mfl(t)):t}],transformResponse:[function(t){let n=this.transitional||_Sr.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(er.isResponse(t)||er.isReadableStream(t))return t;if(t&&er.isString(t)&&(i&&!this.responseType||o)){let a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?so.from(l,so.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lp.classes.FormData,Blob:lp.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};er.forEach(["delete","get","head","post","put","patch"],r=>{_Sr.headers[r]={}});sbe=_Sr});var yfl,V2i,Y2i=et(()=>{"use strict";Qd();yfl=er.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),V2i=r=>{let t={},n,i,o;return r&&r.split(`
180
180
  `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),i=a.substring(o+1).trim(),!(!n||t[n]&&yfl[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t}});function Rqe(r){return r&&String(r).trim().toLowerCase()}function Hyt(r){return r===!1||r==null?r:er.isArray(r)?r.map(Hyt):String(r)}function Efl(r){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(r);)t[i[1]]=i[2];return t}function OSr(r,t,n,i,o){if(er.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!er.isString(t)){if(er.isString(i))return t.indexOf(i)!==-1;if(er.isRegExp(i))return i.test(t)}}function Cfl(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function Ifl(r,t){let n=er.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+n,{value:function(o,s,a){return this[i].call(this,t,o,s,a)},configurable:!0})})}var K2i,bfl,abe,rA,pN=et(()=>{"use strict";Qd();Y2i();K2i=Symbol("internals");bfl=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());abe=class{constructor(t){t&&this.set(t)}set(t,n,i){let o=this;function s(l,c,u){let d=Rqe(c);if(!d)throw new Error("header name must be a non-empty string");let p=er.findKey(o,d);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=Hyt(l))}let a=(l,c)=>er.forEach(l,(u,d)=>s(u,d,c));if(er.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(er.isString(t)&&(t=t.trim())&&!bfl(t))a(V2i(t),n);else if(er.isHeaders(t))for(let[l,c]of t.entries())s(c,l,i);else t!=null&&s(n,t,i);return this}get(t,n){if(t=Rqe(t),t){let i=er.findKey(this,t);if(i){let o=this[i];if(!n)return o;if(n===!0)return Efl(o);if(er.isFunction(n))return n.call(this,o,i);if(er.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Rqe(t),t){let i=er.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||OSr(this,this[i],i,n)))}return!1}delete(t,n){let i=this,o=!1;function s(a){if(a=Rqe(a),a){let l=er.findKey(i,a);l&&(!n||OSr(i,i[l],l,n))&&(delete i[l],o=!0)}}return er.isArray(t)?t.forEach(s):s(t),o}clear(t){let n=Object.keys(this),i=n.length,o=!1;for(;i--;){let s=n[i];(!t||OSr(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){let n=this,i={};return er.forEach(this,(o,s)=>{let a=er.findKey(i,s);if(a){n[a]=Hyt(o),delete n[s];return}let l=t?Cfl(s):String(s).trim();l!==s&&delete n[s],n[l]=Hyt(o),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return er.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&er.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
181
181
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){let i=(this[K2i]=this[K2i]={accessors:{}}).accessors,o=this.prototype;function s(a){let l=Rqe(a);i[l]||(Ifl(o,a),i[l]=!0)}return er.isArray(t)?t.forEach(s):s(t),this}};abe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);er.reduceDescriptors(abe.prototype,({value:r},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(i){this[n]=i}}});er.freezeMethods(abe);rA=abe});function Bqe(r,t){let n=this||sbe,i=t||n,o=rA.from(i.headers),s=i.data;return er.forEach(r,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}var J2i=et(()=>{"use strict";Qd();Wyt();pN()});function xqe(r){return!!(r&&r.__CANCEL__)}var TSr=et(()=>{"use strict"});function X2i(r,t,n){so.call(this,r??"canceled",so.ERR_CANCELED,t,n),this.name="CanceledError"}var C5,$ue=et(()=>{"use strict";b5();Qd();er.inherits(X2i,so,{__CANCEL__:!0});C5=X2i});function fN(r,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?r(n):t(new so("Request failed with status code "+n.status,[so.ERR_BAD_REQUEST,so.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var Vyt=et(()=>{"use strict";b5()});function wSr(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}var $2i=et(()=>{"use strict"});function RSr(r,t){return t?r.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):r}var Z2i=et(()=>{"use strict"});function Zue(r,t){return r&&!wSr(t)?RSr(r,t):t}var Yyt=et(()=>{"use strict";$2i();Z2i()});var ece,Kyt=et(()=>{ece="1.7.7"});function Mqe(r){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}var BSr=et(()=>{"use strict"});function xSr(r,t,n){let i=n&&n.Blob||lp.classes.Blob,o=Mqe(r);if(t===void 0&&i&&(t=!0),o==="data"){r=o.length?r.slice(o.length+1):r;let s=vfl.exec(r);if(!s)throw new so("Invalid URL",so.ERR_INVALID_URL);let a=s[1],l=s[2],c=s[3],u=Buffer.from(decodeURIComponent(c),l?"base64":"utf8");if(t){if(!i)throw new so("Blob is not supported",so.ERR_NOT_SUPPORT);return new i([u],{type:a})}return u}throw new so("Unsupported protocol "+o,so.ERR_NOT_SUPPORT)}var vfl,eyi=et(()=>{"use strict";b5();BSr();dN();vfl=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/});var tyi,MSr,DSr,NSr,ryi=et(()=>{"use strict";tyi=Ct(require("stream"),1);Qd();MSr=Symbol("internals"),DSr=class extends tyi.default.Transform{constructor(t){t=er.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,o)=>!er.isUndefined(o[i])),super({readableHighWaterMark:t.chunkSize});let n=this[MSr]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(n.isCaptured||(n.isCaptured=!0))})}_read(t){let n=this[MSr];return n.onReadCallback&&n.onReadCallback(),super._read(t)}_transform(t,n,i){let o=this[MSr],s=o.maxRate,a=this.readableHighWaterMark,l=o.timeWindow,c=1e3/l,u=s/c,d=o.minChunkSize!==!1?Math.max(o.minChunkSize,u*.01):0,p=(A,h)=>{let y=Buffer.byteLength(A);o.bytesSeen+=y,o.bytes+=y,o.isCaptured&&this.emit("progress",o.bytesSeen),this.push(A)?process.nextTick(h):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(h)}},f=(A,h)=>{let y=Buffer.byteLength(A),C=null,v=a,O,T=0;if(s){let R=Date.now();(!o.ts||(T=R-o.ts)>=l)&&(o.ts=R,O=u-o.bytes,o.bytes=O<0?-O:0,T=0),O=u-o.bytes}if(s){if(O<=0)return setTimeout(()=>{h(null,A)},l-T);O<v&&(v=O)}v&&y>v&&y-v>d&&(C=A.subarray(v),A=A.subarray(0,v)),p(A,C?()=>{process.nextTick(h,null,C)}:h)};f(t,function A(h,y){if(h)return i(h);y?f(y,A):i(null)})}},NSr=DSr});var nyi,Sfl,Jyt,PSr=et(()=>{({asyncIterator:nyi}=Symbol),Sfl=async function*(r){r.stream?yield*r.stream():r.arrayBuffer?yield await r.arrayBuffer():r[nyi]?yield*r[nyi]():yield r},Jyt=Sfl});var iyi,oyi,_fl,Dqe,gK,Ofl,Tfl,kSr,wfl,syi,ayi=et(()=>{iyi=require("util"),oyi=require("stream");Qd();PSr();_fl=er.ALPHABET.ALPHA_DIGIT+"-_",Dqe=new iyi.TextEncoder,gK=`\r
182
182
  `,Ofl=Dqe.encode(gK),Tfl=2,kSr=class{constructor(t,n){let{escapeName:i}=this.constructor,o=er.isString(n),s=`Content-Disposition: form-data; name="${i(t)}"${!o&&n.name?`; filename="${i(n.name)}"`:""}${gK}`;o?n=Dqe.encode(String(n).replace(/\r?\n|\r\n?/g,gK)):s+=`Content-Type: ${n.type||"application/octet-stream"}${gK}`,this.headers=Dqe.encode(s+gK),this.contentLength=o?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+Tfl,this.name=t,this.value=n}async*encode(){yield this.headers;let{value:t}=this;er.isTypedArray(t)?yield t:yield*Jyt(t),yield Ofl}static escapeName(t){return String(t).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},wfl=(r,t,n)=>{let{tag:i="form-data-boundary",size:o=25,boundary:s=i+"-"+er.generateString(o,_fl)}=n||{};if(!er.isFormData(r))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let a=Dqe.encode("--"+s+gK),l=Dqe.encode("--"+s+"--"+gK+gK),c=l.byteLength,u=Array.from(r.entries()).map(([p,f])=>{let A=new kSr(p,f);return c+=A.size,A});c+=a.byteLength*u.length,c=er.toFiniteNumber(c);let d={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(d["Content-Length"]=c),t&&t(d),oyi.Readable.from(async function*(){for(let p of u)yield a,yield*p.encode();yield l}())},syi=wfl});var lyi,QSr,uyi,cyi=et(()=>{"use strict";lyi=Ct(require("stream"),1),QSr=class extends lyi.default.Transform{__transform(t,n,i){this.push(t),i()}_transform(t,n,i){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){let o=Buffer.alloc(2);o[0]=120,o[1]=156,this.push(o,n)}this.__transform(t,n,i)}},uyi=QSr});var Rfl,dyi,pyi=et(()=>{Qd();Rfl=(r,t)=>er.isAsyncFn(r)?function(...n){let i=n.pop();r.apply(this,n).then(o=>{try{t?i(null,...t(o)):i(null,o)}catch(s){i(s)}},i)}:r,dyi=Rfl});function Bfl(r,t){r=r||10;let n=new Array(r),i=new Array(r),o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){let u=Date.now(),d=i[s];a||(a=u),n[o]=c,i[o]=u;let p=s,f=0;for(;p!==o;)f+=n[p++],p=p%r;if(o=(o+1)%r,o===s&&(s=(s+1)%r),u-a<t)return;let A=d&&u-d;return A?Math.round(f*1e3/A):void 0}}var fyi,Ayi=et(()=>{"use strict";fyi=Bfl});function xfl(r,t){let n=0,i=1e3/t,o,s,a=(u,d=Date.now())=>{n=d,o=null,s&&(clearTimeout(s),s=null),r.apply(null,u)};return[(...u)=>{let d=Date.now(),p=d-n;p>=i?a(u,d):(o=u,s||(s=setTimeout(()=>{s=null,a(o)},i-p)))},()=>o&&a(o)]}var hyi,gyi=et(()=>{hyi=xfl});var nU,lbe,ube,Xyt=et(()=>{Ayi();gyi();Qd();nU=(r,t,n=3)=>{let i=0,o=fyi(50,250);return hyi(s=>{let a=s.loaded,l=s.lengthComputable?s.total:void 0,c=a-i,u=o(c),d=a<=l;i=a;let p={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-a)/u:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};r(p)},n)},lbe=(r,t)=>{let n=r!=null;return[i=>t[0]({lengthComputable:n,total:r,loaded:i}),t[1]]},ube=r=>(...t)=>er.asap(()=>r(...t))});function kfl(r,t){r.beforeRedirects.proxy&&r.beforeRedirects.proxy(r),r.beforeRedirects.config&&r.beforeRedirects.config(r,t)}function wyi(r,t,n){let i=t;if(!i&&i!==!1){let o=(0,Iyi.getProxyForUrl)(n);o&&(i=new URL(o))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let s=Buffer.from(i.auth,"utf8").toString("base64");r.headers["Proxy-Authorization"]="Basic "+s}r.headers.host=r.hostname+(r.port?":"+r.port:"");let o=i.hostname||i.host;r.hostname=o,r.host=o,r.port=i.port,r.path=n,i.protocol&&(r.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}r.beforeRedirects.proxy=function(s){wyi(s,t,s.href)}}var Iyi,vyi,Syi,_yi,Oyi,iU,tce,Tyi,myi,Mfl,yyi,Dfl,Nfl,Pfl,Eyi,byi,Qfl,Lfl,Ffl,Cyi,Ryi,Byi=et(()=>{"use strict";Qd();Vyt();Yyt();Uyt();Iyi=Ct(Vze(),1),vyi=Ct(require("http"),1),Syi=Ct(require("https"),1),_yi=Ct(require("util"),1),Oyi=Ct(pIr(),1),iU=Ct(require("zlib"),1);Kyt();jyt();b5();$ue();dN();eyi();tce=Ct(require("stream"),1);pN();ryi();Tyi=require("events");ayi();PSr();cyi();pyi();Xyt();myi={flush:iU.default.constants.Z_SYNC_FLUSH,finishFlush:iU.default.constants.Z_SYNC_FLUSH},Mfl={flush:iU.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:iU.default.constants.BROTLI_OPERATION_FLUSH},yyi=er.isFunction(iU.default.createBrotliDecompress),{http:Dfl,https:Nfl}=Oyi.default,Pfl=/https:?/,Eyi=lp.protocols.map(r=>r+":"),byi=(r,[t,n])=>(r.on("end",n).on("error",n),t);Qfl=typeof process<"u"&&er.kindOf(process)==="process",Lfl=r=>new Promise((t,n)=>{let i,o,s=(c,u)=>{o||(o=!0,i&&i(c,u))},a=c=>{s(c),t(c)},l=c=>{s(c,!0),n(c)};r(a,l,c=>i=c).catch(l)}),Ffl=({address:r,family:t})=>{if(!er.isString(r))throw TypeError("address must be a string");return{address:r,family:t||(r.indexOf(".")<0?6:4)}},Cyi=(r,t)=>Ffl(er.isObject(r)?r:{address:r,family:t}),Ryi=Qfl&&function(t){return Lfl(async function(i,o,s){let{data:a,lookup:l,family:c}=t,{responseType:u,responseEncoding:d}=t,p=t.method.toUpperCase(),f,A=!1,h;if(l){let ne=dyi(l,oe=>er.isArray(oe)?oe:[oe]);l=(oe,H,se)=>{ne(oe,H,(le,ie,fe)=>{if(le)return se(le);let Re=er.isArray(ie)?ie.map(Fe=>Cyi(Fe)):[Cyi(ie,fe)];H.all?se(le,Re):se(le,Re[0].address,Re[0].family)})}}let y=new Tyi.EventEmitter,C=()=>{t.cancelToken&&t.cancelToken.unsubscribe(v),t.signal&&t.signal.removeEventListener("abort",v),y.removeAllListeners()};s((ne,oe)=>{f=!0,oe&&(A=!0,C())});function v(ne){y.emit("abort",!ne||ne.type?new C5(null,t,h):ne)}y.once("abort",o),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(v),t.signal&&(t.signal.aborted?v():t.signal.addEventListener("abort",v)));let O=Zue(t.baseURL,t.url),T=new URL(O,lp.hasBrowserEnv?lp.origin:void 0),R=T.protocol||Eyi[0];if(R==="data:"){let ne;if(p!=="GET")return fN(i,o,{status:405,statusText:"method not allowed",headers:{},config:t});try{ne=xSr(t.url,u==="blob",{Blob:t.env&&t.env.Blob})}catch(oe){throw so.from(oe,so.ERR_BAD_REQUEST,t)}return u==="text"?(ne=ne.toString(d),(!d||d==="utf8")&&(ne=er.stripBOM(ne))):u==="stream"&&(ne=tce.default.Readable.from(ne)),fN(i,o,{data:ne,status:200,statusText:"OK",headers:new rA,config:t})}if(Eyi.indexOf(R)===-1)return o(new so("Unsupported protocol "+R,so.ERR_BAD_REQUEST,t));let N=rA.from(t.headers).normalize();N.set("User-Agent","axios/"+ece,!1);let{onUploadProgress:z,onDownloadProgress:W}=t,V=t.maxRate,$,K;if(er.isSpecCompliantForm(a)){let ne=N.getContentType(/boundary=([-_\w\d]{10,70})/i);a=syi(a,oe=>{N.set(oe)},{tag:`axios-${ece}-boundary`,boundary:ne&&ne[1]||void 0})}else if(er.isFormData(a)&&er.isFunction(a.getHeaders)){if(N.set(a.getHeaders()),!N.hasContentLength())try{let ne=await _yi.default.promisify(a.getLength).call(a);Number.isFinite(ne)&&ne>=0&&N.setContentLength(ne)}catch{}}else if(er.isBlob(a))a.size&&N.setContentType(a.type||"application/octet-stream"),N.setContentLength(a.size||0),a=tce.default.Readable.from(Jyt(a));else if(a&&!er.isStream(a)){if(!Buffer.isBuffer(a))if(er.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(er.isString(a))a=Buffer.from(a,"utf-8");else return o(new so("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",so.ERR_BAD_REQUEST,t));if(N.setContentLength(a.length,!1),t.maxBodyLength>-1&&a.length>t.maxBodyLength)return o(new so("Request body larger than maxBodyLength limit",so.ERR_BAD_REQUEST,t))}let F=er.toFiniteNumber(N.getContentLength());er.isArray(V)?($=V[0],K=V[1]):$=K=V,a&&(z||$)&&(er.isStream(a)||(a=tce.default.Readable.from(a,{objectMode:!1})),a=tce.default.pipeline([a,new NSr({maxRate:er.toFiniteNumber($)})],er.noop),z&&a.on("progress",byi(a,lbe(F,nU(ube(z),!1,3)))));let J;if(t.auth){let ne=t.auth.username||"",oe=t.auth.password||"";J=ne+":"+oe}if(!J&&T.username){let ne=T.username,oe=T.password;J=ne+":"+oe}J&&N.delete("authorization");let Y;try{Y=Xue(T.pathname+T.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(ne){let oe=new Error(ne.message);return oe.config=t,oe.url=t.url,oe.exists=!0,o(oe)}N.set("Accept-Encoding","gzip, compress, deflate"+(yyi?", br":""),!1);let L={path:Y,method:p,headers:N.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:J,protocol:R,family:c,beforeRedirect:kfl,beforeRedirects:{}};!er.isUndefined(l)&&(L.lookup=l),t.socketPath?L.socketPath=t.socketPath:(L.hostname=T.hostname.startsWith("[")?T.hostname.slice(1,-1):T.hostname,L.port=T.port,wyi(L,t.proxy,R+"//"+T.hostname+(T.port?":"+T.port:"")+L.path));let X,te=Pfl.test(L.protocol);if(L.agent=te?t.httpsAgent:t.httpAgent,t.transport?X=t.transport:t.maxRedirects===0?X=te?Syi.default:vyi.default:(t.maxRedirects&&(L.maxRedirects=t.maxRedirects),t.beforeRedirect&&(L.beforeRedirects.config=t.beforeRedirect),X=te?Nfl:Dfl),t.maxBodyLength>-1?L.maxBodyLength=t.maxBodyLength:L.maxBodyLength=1/0,t.insecureHTTPParser&&(L.insecureHTTPParser=t.insecureHTTPParser),h=X.request(L,function(oe){if(h.destroyed)return;let H=[oe],se=+oe.headers["content-length"];if(W||K){let Fe=new NSr({maxRate:er.toFiniteNumber(K)});W&&Fe.on("progress",byi(Fe,lbe(se,nU(ube(W),!0,3)))),H.push(Fe)}let le=oe,ie=oe.req||h;if(t.decompress!==!1&&oe.headers["content-encoding"])switch((p==="HEAD"||oe.statusCode===204)&&delete oe.headers["content-encoding"],(oe.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(iU.default.createUnzip(myi)),delete oe.headers["content-encoding"];break;case"deflate":H.push(new uyi),H.push(iU.default.createUnzip(myi)),delete oe.headers["content-encoding"];break;case"br":yyi&&(H.push(iU.default.createBrotliDecompress(Mfl)),delete oe.headers["content-encoding"])}le=H.length>1?tce.default.pipeline(H,er.noop):H[0];let fe=tce.default.finished(le,()=>{fe(),C()}),Re={status:oe.statusCode,statusText:oe.statusMessage,headers:new rA(oe.headers),config:t,request:ie};if(u==="stream")Re.data=le,fN(i,o,Re);else{let Fe=[],me=0;le.on("data",function(Ye){Fe.push(Ye),me+=Ye.length,t.maxContentLength>-1&&me>t.maxContentLength&&(A=!0,le.destroy(),o(new so("maxContentLength size of "+t.maxContentLength+" exceeded",so.ERR_BAD_RESPONSE,t,ie)))}),le.on("aborted",function(){if(A)return;let Ye=new so("maxContentLength size of "+t.maxContentLength+" exceeded",so.ERR_BAD_RESPONSE,t,ie);le.destroy(Ye),o(Ye)}),le.on("error",function(Ye){h.destroyed||o(so.from(Ye,null,t,ie))}),le.on("end",function(){try{let Ye=Fe.length===1?Fe[0]:Buffer.concat(Fe);u!=="arraybuffer"&&(Ye=Ye.toString(d),(!d||d==="utf8")&&(Ye=er.stripBOM(Ye))),Re.data=Ye}catch(Ye){return o(so.from(Ye,null,t,Re.request,Re))}fN(i,o,Re)})}y.once("abort",Fe=>{le.destroyed||(le.emit("error",Fe),le.destroy())})}),y.once("abort",ne=>{o(ne),h.destroy(ne)}),h.on("error",function(oe){o(so.from(oe,null,t,h))}),h.on("socket",function(oe){oe.setKeepAlive(!0,1e3*60)}),t.timeout){let ne=parseInt(t.timeout,10);if(Number.isNaN(ne)){o(new so("error trying to parse `config.timeout` to int",so.ERR_BAD_OPTION_VALUE,t,h));return}h.setTimeout(ne,function(){if(f)return;let H=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",se=t.transitional||obe;t.timeoutErrorMessage&&(H=t.timeoutErrorMessage),o(new so(H,se.clarifyTimeoutError?so.ETIMEDOUT:so.ECONNABORTED,t,h)),v()})}if(er.isStream(a)){let ne=!1,oe=!1;a.on("end",()=>{ne=!0}),a.once("error",H=>{oe=!0,h.destroy(H)}),a.on("close",()=>{!ne&&!oe&&v(new C5("Request stream has been aborted",t,h))}),a.pipe(h)}else h.end(a)})}});var xyi,Myi=et(()=>{"use strict";Qd();dN();xyi=lp.hasStandardBrowserEnv?function(){let t=lp.navigator&&/(msie|trident)/i.test(lp.navigator.userAgent),n=document.createElement("a"),i;function o(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=o(window.location.href),function(a){let l=er.isString(a)?o(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}()});var Dyi,Nyi=et(()=>{Qd();dN();Dyi=lp.hasStandardBrowserEnv?{write(r,t,n,i,o,s){let a=[r+"="+encodeURIComponent(t)];er.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),er.isString(i)&&a.push("path="+i),er.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(r){let t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}}});function ix(r,t){t=t||{};let n={};function i(u,d,p){return er.isPlainObject(u)&&er.isPlainObject(d)?er.merge.call({caseless:p},u,d):er.isPlainObject(d)?er.merge({},d):er.isArray(d)?d.slice():d}function o(u,d,p){if(er.isUndefined(d)){if(!er.isUndefined(u))return i(void 0,u,p)}else return i(u,d,p)}function s(u,d){if(!er.isUndefined(d))return i(void 0,d)}function a(u,d){if(er.isUndefined(d)){if(!er.isUndefined(u))return i(void 0,u)}else return i(void 0,d)}function l(u,d,p){if(p in t)return i(u,d);if(p in r)return i(void 0,u)}let c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d)=>o(Pyi(u),Pyi(d),!0)};return er.forEach(Object.keys(Object.assign({},r,t)),function(d){let p=c[d]||o,f=p(r[d],t[d],d);er.isUndefined(f)&&p!==l||(n[d]=f)}),n}var Pyi,$yt=et(()=>{"use strict";Qd();pN();Pyi=r=>r instanceof rA?{...r}:r});var Zyt,LSr=et(()=>{dN();Qd();Myi();Nyi();Yyt();$yt();pN();Uyt();Zyt=r=>{let t=ix({},r),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=rA.from(a),t.url=Xue(Zue(t.baseURL,t.url),r.params,r.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(er.isFormData(n)){if(lp.hasStandardBrowserEnv||lp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){let[u,...d]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...d].join("; "))}}if(lp.hasStandardBrowserEnv&&(i&&er.isFunction(i)&&(i=i(t)),i||i!==!1&&xyi(t.url))){let u=o&&s&&Dyi.read(s);u&&a.set(o,u)}return t}});var zfl,kyi,Qyi=et(()=>{Qd();Vyt();jyt();b5();$ue();BSr();dN();pN();Xyt();LSr();zfl=typeof XMLHttpRequest<"u",kyi=zfl&&function(r){return new Promise(function(n,i){let o=Zyt(r),s=o.data,a=rA.from(o.headers).normalize(),{responseType:l,onUploadProgress:c,onDownloadProgress:u}=o,d,p,f,A,h;function y(){A&&A(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let C=new XMLHttpRequest;C.open(o.method.toUpperCase(),o.url,!0),C.timeout=o.timeout;function v(){if(!C)return;let T=rA.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),N={data:!l||l==="text"||l==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:T,config:r,request:C};fN(function(W){n(W),y()},function(W){i(W),y()},N),C=null}"onloadend"in C?C.onloadend=v:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(v)},C.onabort=function(){C&&(i(new so("Request aborted",so.ECONNABORTED,r,C)),C=null)},C.onerror=function(){i(new so("Network Error",so.ERR_NETWORK,r,C)),C=null},C.ontimeout=function(){let R=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",N=o.transitional||obe;o.timeoutErrorMessage&&(R=o.timeoutErrorMessage),i(new so(R,N.clarifyTimeoutError?so.ETIMEDOUT:so.ECONNABORTED,r,C)),C=null},s===void 0&&a.setContentType(null),"setRequestHeader"in C&&er.forEach(a.toJSON(),function(R,N){C.setRequestHeader(N,R)}),er.isUndefined(o.withCredentials)||(C.withCredentials=!!o.withCredentials),l&&l!=="json"&&(C.responseType=o.responseType),u&&([f,h]=nU(u,!0),C.addEventListener("progress",f)),c&&C.upload&&([p,A]=nU(c),C.upload.addEventListener("progress",p),C.upload.addEventListener("loadend",A)),(o.cancelToken||o.signal)&&(d=T=>{C&&(i(!T||T.type?new C5(null,r,C):T),C.abort(),C=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));let O=Mqe(o.url);if(O&&lp.protocols.indexOf(O)===-1){i(new so("Unsupported protocol "+O+":",so.ERR_BAD_REQUEST,r));return}C.send(s||null)})}});var qfl,Lyi,Fyi=et(()=>{$ue();b5();Qd();qfl=(r,t)=>{let{length:n}=r=r?r.filter(Boolean):[];if(t||n){let i=new AbortController,o,s=function(u){if(!o){o=!0,l();let d=u instanceof Error?u:this.reason;i.abort(d instanceof so?d:new C5(d instanceof Error?d.message:d))}},a=t&&setTimeout(()=>{a=null,s(new so(`timeout ${t} of ms exceeded`,so.ETIMEDOUT))},t),l=()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),r=null)};r.forEach(u=>u.addEventListener("abort",s));let{signal:c}=i;return c.unsubscribe=()=>er.asap(l),c}},Lyi=qfl});var Ufl,jfl,Gfl,FSr,zyi=et(()=>{Ufl=function*(r,t){let n=r.byteLength;if(!t||n<t){yield r;return}let i=0,o;for(;i<n;)o=i+t,yield r.slice(i,o),i=o},jfl=async function*(r,t){for await(let n of Gfl(r))yield*Ufl(n,t)},Gfl=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}let t=r.getReader();try{for(;;){let{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},FSr=(r,t,n,i)=>{let o=jfl(r,t),s=0,a,l=c=>{a||(a=!0,i&&i(c))};return new ReadableStream({async pull(c){try{let{done:u,value:d}=await o.next();if(u){l(),c.close();return}let p=d.byteLength;if(n){let f=s+=p;n(f)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),o.return()}},{highWaterMark:2})}});var t3t,Uyi,Wfl,jyi,Hfl,qyi,zSr,e3t,Vfl,Yfl,Gyi,Wyi=et(()=>{dN();Qd();b5();Fyi();zyi();pN();Xyt();LSr();Vyt();t3t=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uyi=t3t&&typeof ReadableStream=="function",Wfl=t3t&&(typeof TextEncoder=="function"?(r=>t=>r.encode(t))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),jyi=(r,...t)=>{try{return!!r(...t)}catch{return!1}},Hfl=Uyi&&jyi(()=>{let r=!1,t=new Request(lp.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!t}),qyi=64*1024,zSr=Uyi&&jyi(()=>er.isReadableStream(new Response("").body)),e3t={stream:zSr&&(r=>r.body)};t3t&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!e3t[t]&&(e3t[t]=er.isFunction(r[t])?n=>n[t]():(n,i)=>{throw new so(`Response type '${t}' is not supported`,so.ERR_NOT_SUPPORT,i)})})})(new Response);Vfl=async r=>{if(r==null)return 0;if(er.isBlob(r))return r.size;if(er.isSpecCompliantForm(r))return(await new Request(lp.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(er.isArrayBufferView(r)||er.isArrayBuffer(r))return r.byteLength;if(er.isURLSearchParams(r)&&(r=r+""),er.isString(r))return(await Wfl(r)).byteLength},Yfl=async(r,t)=>{let n=er.toFiniteNumber(r.getContentLength());return n??Vfl(t)},Gyi=t3t&&(async r=>{let{url:t,method:n,data:i,signal:o,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:d,withCredentials:p="same-origin",fetchOptions:f}=Zyt(r);u=u?(u+"").toLowerCase():"text";let A=Lyi([o,s&&s.toAbortSignal()],a),h,y=A&&A.unsubscribe&&(()=>{A.unsubscribe()}),C;try{if(c&&Hfl&&n!=="get"&&n!=="head"&&(C=await Yfl(d,i))!==0){let N=new Request(t,{method:"POST",body:i,duplex:"half"}),z;if(er.isFormData(i)&&(z=N.headers.get("content-type"))&&d.setContentType(z),N.body){let[W,V]=lbe(C,nU(ube(c)));i=FSr(N.body,qyi,W,V)}}er.isString(p)||(p=p?"include":"omit");let v="credentials"in Request.prototype;h=new Request(t,{...f,signal:A,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:v?p:void 0});let O=await fetch(h),T=zSr&&(u==="stream"||u==="response");if(zSr&&(l||T&&y)){let N={};["status","statusText","headers"].forEach($=>{N[$]=O[$]});let z=er.toFiniteNumber(O.headers.get("content-length")),[W,V]=l&&lbe(z,nU(ube(l),!0))||[];O=new Response(FSr(O.body,qyi,W,()=>{V&&V(),y&&y()}),N)}u=u||"text";let R=await e3t[er.findKey(e3t,u)||"text"](O,r);return!T&&y&&y(),await new Promise((N,z)=>{fN(N,z,{data:R,headers:rA.from(O.headers),status:O.status,statusText:O.statusText,config:r,request:h})})}catch(v){throw y&&y(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new so("Network Error",so.ERR_NETWORK,r,h),{cause:v.cause||v}):so.from(v,v&&v.code,r,h)}})});var qSr,Hyi,Kfl,r3t,USr=et(()=>{Qd();Byi();Qyi();Wyi();b5();qSr={http:Ryi,xhr:kyi,fetch:Gyi};er.forEach(qSr,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{value:t})}catch{}Object.defineProperty(r,"adapterName",{value:t})}});Hyi=r=>`- ${r}`,Kfl=r=>er.isFunction(r)||r===null||r===!1,r3t={getAdapter:r=>{r=er.isArray(r)?r:[r];let{length:t}=r,n,i,o={};for(let s=0;s<t;s++){n=r[s];let a;if(i=n,!Kfl(n)&&(i=qSr[(a=String(n)).toLowerCase()],i===void 0))throw new so(`Unknown adapter '${a}'`);if(i)break;o[a||"#"+s]=i}if(!i){let s=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build")),a=t?s.length>1?`since :