@nestia/editor 6.0.3 → 6.0.4

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.
@@ -753,7 +753,7 @@ Project '${m_.projectName}' (${Qre[m_.projectKind]}) ${l_}
753
753
  `,l_++};this.projectService.externalProjects.forEach(f_),this.projectService.configuredProjects.forEach(f_),this.projectService.inferredProjects.forEach(f_)}}this.logger.msg(o_,"Err")}send(a){if(a.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${VV(a)}`);return}this.writeMessage(a)}writeMessage(a){const t_=G7e(a,this.logger,this.byteLength,this.host.newLine);this.host.write(t_)}event(a,t_){this.send(K7e(t_,a))}doOutput(a,t_,s_,o_,l_,f_){const m_={seq:0,type:"response",command:t_,request_seq:s_,success:o_,performanceData:l_&&cQe(l_)};if(o_){let __;if(RT(a))m_.body=a,__=a.metadata,delete a.metadata;else if(typeof a=="object")if(a.metadata){const{metadata:S_,...b_}=a;m_.body=b_,__=S_}else m_.body=a;else m_.body=a;__&&(m_.metadata=__)}else V_.assert(a===void 0);f_&&(m_.message=f_),this.send(m_)}semanticCheck(a,t_){var s_,o_;const l_=Q3();(s_=zC)==null||s_.push(zC.Phase.Session,"semanticCheck",{file:a,configFilePath:t_.canonicalConfigFilePath});const f_=YYe(t_,a)?WP:t_.getLanguageService().getSemanticDiagnostics(a).filter(m_=>!!m_.file);this.sendDiagnosticsEvent(a,t_,f_,"semanticDiag",l_),(o_=zC)==null||o_.pop()}syntacticCheck(a,t_){var s_,o_;const l_=Q3();(s_=zC)==null||s_.push(zC.Phase.Session,"syntacticCheck",{file:a,configFilePath:t_.canonicalConfigFilePath}),this.sendDiagnosticsEvent(a,t_,t_.getLanguageService().getSyntacticDiagnostics(a),"syntaxDiag",l_),(o_=zC)==null||o_.pop()}suggestionCheck(a,t_){var s_,o_;const l_=Q3();(s_=zC)==null||s_.push(zC.Phase.Session,"suggestionCheck",{file:a,configFilePath:t_.canonicalConfigFilePath}),this.sendDiagnosticsEvent(a,t_,t_.getLanguageService().getSuggestionDiagnostics(a),"suggestionDiag",l_),(o_=zC)==null||o_.pop()}regionSemanticCheck(a,t_,s_){var o_,l_,f_;const m_=Q3();(o_=zC)==null||o_.push(zC.Phase.Session,"regionSemanticCheck",{file:a,configFilePath:t_.canonicalConfigFilePath});let __;if(!this.shouldDoRegionCheck(a)||!(__=t_.getLanguageService().getRegionSemanticDiagnostics(a,s_))){(l_=zC)==null||l_.pop();return}this.sendDiagnosticsEvent(a,t_,__.diagnostics,"regionSemanticDiag",m_,__.spans),(f_=zC)==null||f_.pop()}shouldDoRegionCheck(a){var t_;const s_=(t_=this.projectService.getScriptInfoForNormalizedPath(a))==null?void 0:t_.textStorage.getLineInfo().getLineCount();return!!(s_&&s_>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(a,t_,s_,o_,l_,f_){try{const m_=V_.checkDefined(t_.getScriptInfo(a)),__=Q3()-l_,S_={file:a,diagnostics:s_.map(b_=>QYe(a,t_,b_)),spans:f_==null?void 0:f_.map(b_=>E$(b_,m_))};this.event(S_,o_),this.addDiagnosticsPerformanceData(a,o_,__)}catch(m_){this.logError(m_,o_)}}updateErrorCheck(a,t_,s_,o_=!0){if(t_.length===0)return;V_.assert(!this.suppressDiagnosticEvents);const l_=this.changeSeq,f_=Math.min(s_,200);let m_=0;const __=()=>{if(m_++,t_.length>m_)return a.delay("checkOne",f_,b_)},S_=(E_,N_)=>{if(this.semanticCheck(E_,N_),this.changeSeq===l_){if(this.getPreferences(E_).disableSuggestions)return __();a.immediate("suggestionCheck",()=>{this.suggestionCheck(E_,N_),__()})}},b_=()=>{if(this.changeSeq!==l_)return;let E_,N_=t_[m_];if(yC(N_)?N_=this.toPendingErrorCheck(N_):"ranges"in N_&&(E_=N_.ranges,N_=this.toPendingErrorCheck(N_.file)),!N_)return __();const{fileName:F_,project:j_}=N_;if(wO(j_),!!j_.containsFile(F_,o_)&&(this.syntacticCheck(F_,j_),this.changeSeq===l_)){if(j_.projectService.serverMode!==0)return __();if(E_)return a.immediate("regionSemanticCheck",()=>{const U_=this.projectService.getScriptInfoForNormalizedPath(F_);U_&&this.regionSemanticCheck(F_,j_,E_.map(H_=>this.getRange({file:F_,...H_},U_))),this.changeSeq===l_&&a.immediate("semanticCheck",()=>S_(F_,j_))});a.immediate("semanticCheck",()=>S_(F_,j_))}};t_.length>m_&&this.changeSeq===l_&&a.delay("checkOne",s_,b_)}cleanProjects(a,t_){if(t_){this.logger.info(`cleaning ${a}`);for(const s_ of t_)s_.getLanguageService(!1).cleanupSemanticCache(),s_.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",LC(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a);return s_.getEncodedSyntacticClassifications(t_,a)}getEncodedSemanticClassifications(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=a.format==="2020"?"2020":"original";return s_.getLanguageService().getEncodedSemanticClassifications(t_,a,o_)}getProject(a){return a===void 0?void 0:this.projectService.findProject(a)}getConfigFileAndProject(a){const t_=this.getProject(a.projectFileName),s_=_w(a.file);return{configFile:t_&&t_.hasConfigFile(s_)?s_:void 0,project:t_}}getConfigFileDiagnostics(a,t_,s_){const o_=t_.getAllProjectErrors(),l_=t_.getLanguageService().getCompilerOptionsDiagnostics(),f_=Sx(nT(o_,l_),m_=>!!m_.file&&m_.file.fileName===a);return s_?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(f_):gx(f_,m_=>xoe(m_,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(a){return a.map(t_=>({message:b$(t_.messageText,this.host.newLine),start:t_.start,length:t_.length,category:Y9(t_),code:t_.code,source:t_.source,startLocation:t_.file&&OZ(QA(t_.file,t_.start)),endLocation:t_.file&&OZ(QA(t_.file,t_.start+t_.length)),reportsUnnecessary:t_.reportsUnnecessary,reportsDeprecated:t_.reportsDeprecated,relatedInformation:gx(t_.relatedInformation,Jbe)}))}getCompilerOptionsDiagnostics(a){const t_=this.getProject(a.projectFileName);return this.convertToDiagnosticsWithLinePosition(Sx(t_.getLanguageService().getCompilerOptionsDiagnostics(),s_=>!s_.file),void 0)}convertToDiagnosticsWithLinePosition(a,t_){return a.map(s_=>({message:b$(s_.messageText,this.host.newLine),start:s_.start,length:s_.length,category:Y9(s_),code:s_.code,source:s_.source,startLocation:t_&&t_.positionToLineOffset(s_.start),endLocation:t_&&t_.positionToLineOffset(s_.start+s_.length),reportsUnnecessary:s_.reportsUnnecessary,reportsDeprecated:s_.reportsDeprecated,relatedInformation:gx(s_.relatedInformation,Jbe)}))}getDiagnosticsWorker(a,t_,s_,o_){const{project:l_,file:f_}=this.getFileAndProject(a);if(t_&&YYe(l_,f_))return WP;const m_=l_.getScriptInfoForNormalizedPath(f_),__=s_(l_,f_);return o_?this.convertToDiagnosticsWithLinePosition(__,m_):__.map(S_=>QYe(f_,l_,S_))}getDefinition(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.getPositionInFile(a,s_),f_=this.mapDefinitionInfoLocations(o_.getLanguageService().getDefinitionAtPosition(s_,l_)||WP,o_);return t_?this.mapDefinitionInfo(f_,o_):f_.map(XTe.mapToOriginalLocation)}mapDefinitionInfoLocations(a,t_){return a.map(s_=>{const o_=sQe(s_,t_);return o_?{...o_,containerKind:s_.containerKind,containerName:s_.containerName,kind:s_.kind,name:s_.name,failedAliasResolution:s_.failedAliasResolution,...s_.unverified&&{unverified:s_.unverified}}:s_})}getDefinitionAndBoundSpan(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.getPositionInFile(a,s_),f_=V_.checkDefined(o_.getScriptInfo(s_)),m_=o_.getLanguageService().getDefinitionAndBoundSpan(s_,l_);if(!m_||!m_.definitions)return{definitions:WP,textSpan:void 0};const __=this.mapDefinitionInfoLocations(m_.definitions,o_),{textSpan:S_}=m_;return t_?{definitions:this.mapDefinitionInfo(__,o_),textSpan:E$(S_,f_)}:{definitions:__.map(XTe.mapToOriginalLocation),textSpan:S_}}findSourceDefinition(a){var t_;const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.getPositionInFile(a,s_),f_=o_.getLanguageService().getDefinitionAtPosition(s_,l_);let m_=this.mapDefinitionInfoLocations(f_||WP,o_).slice();if(this.projectService.serverMode===0&&(!xx(m_,F_=>_w(F_.fileName)!==s_&&!F_.isAmbient)||xx(m_,F_=>!!F_.failedAliasResolution))){const F_=AD(Q_=>Q_.textSpan.start,Zve(this.host.useCaseSensitiveFileNames));m_==null||m_.forEach(Q_=>F_.add(Q_));const j_=o_.getNoDtsResolutionProject(s_),U_=j_.getLanguageService(),H_=(t_=U_.getDefinitionAtPosition(s_,l_,!0,!1))==null?void 0:t_.filter(Q_=>_w(Q_.fileName)!==s_);if(xx(H_))for(const Q_ of H_){if(Q_.unverified){const ry=E_(Q_,o_.getLanguageService().getProgram(),U_.getProgram());if(xx(ry)){for(const cm of ry)F_.add(cm);continue}}F_.add(Q_)}else{const Q_=m_.filter(ry=>_w(ry.fileName)!==s_&&ry.isAmbient);for(const ry of xx(Q_)?Q_:b_()){const cm=S_(ry.fileName,s_,j_);if(!cm)continue;const oy=this.projectService.getOrCreateScriptInfoNotOpenedByClient(cm,j_.currentDirectory,j_.directoryStructureHost,!1);if(!oy)continue;j_.containsScriptInfo(oy)||(j_.addRoot(oy),j_.updateGraph());const py=U_.getProgram(),_y=V_.checkDefined(py.getSourceFile(cm));for(const q1 of N_(ry.name,_y,py))F_.add(q1)}}m_=LC(F_.values())}return m_=m_.filter(F_=>!F_.isAmbient&&!F_.failedAliasResolution),this.mapDefinitionInfo(m_,o_);function S_(F_,j_,U_){var H_,Q_,ry;const cm=Eue(F_);if(cm&&F_.lastIndexOf(AR)===cm.topLevelNodeModulesIndex){const oy=F_.substring(0,cm.packageRootIndex),py=(H_=o_.getModuleResolutionCache())==null?void 0:H_.getPackageJsonInfoCache(),_y=o_.getCompilationSettings(),q1=sre(oA(oy,o_.getCurrentDirectory()),ire(py,o_,_y));if(!q1)return;const dy=b1e(q1,{moduleResolution:2},o_,o_.getModuleResolutionCache()),Yv=F_.substring(cm.topLevelPackageNameIndex+1,cm.packageRootIndex),p0=are(zse(Yv)),my=o_.toPath(F_);if(dy&&xx(dy,_0=>o_.toPath(_0)===my))return(Q_=U_.resolutionCache.resolveSingleModuleNameWithoutWatching(p0,j_).resolvedModule)==null?void 0:Q_.resolvedFileName;{const _0=F_.substring(cm.packageRootIndex+1),g0=`${p0}/${dN(_0)}`;return(ry=U_.resolutionCache.resolveSingleModuleNameWithoutWatching(g0,j_).resolvedModule)==null?void 0:ry.resolvedFileName}}}function b_(){const F_=o_.getLanguageService(),j_=F_.getProgram(),U_=XN(j_.getSourceFile(s_),l_);return(V3(U_)||Cx(U_))&&Nw(U_.parent)&&GDe(U_,H_=>{var Q_;if(H_===U_)return;const ry=(Q_=F_.getDefinitionAtPosition(s_,H_.getStart(),!0,!1))==null?void 0:Q_.filter(cm=>_w(cm.fileName)!==s_&&cm.isAmbient).map(cm=>({fileName:cm.fileName,name:GF(U_)}));if(xx(ry))return ry})||WP}function E_(F_,j_,U_){var H_;const Q_=U_.getSourceFile(F_.fileName);if(!Q_)return;const ry=XN(j_.getSourceFile(s_),l_),cm=j_.getTypeChecker().getSymbolAtLocation(ry),oy=cm&&qw(cm,276);if(!oy)return;const py=((H_=oy.propertyName)==null?void 0:H_.text)||oy.name.text;return N_(py,Q_,U_)}function N_(F_,j_,U_){const H_=Ow.Core.getTopMostDeclarationNamesInFile(F_,j_);return eS(H_,Q_=>{const ry=U_.getTypeChecker().getSymbolAtLocation(Q_),cm=rte(Q_);if(ry&&cm)return IZ.createDefinitionInfo(cm,U_.getTypeChecker(),ry,cm,!0)})}}getEmitOutput(a){const{file:t_,project:s_}=this.getFileAndProject(a);if(!s_.shouldEmitFile(s_.getScriptInfo(t_)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const o_=s_.getLanguageService().getEmitOutput(t_);return a.richResponse?{...o_,diagnostics:a.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(o_.diagnostics):o_.diagnostics.map(l_=>xoe(l_,!0))}:o_}mapJSDocTagInfo(a,t_,s_){return a?a.map(o_=>{var l_;return{...o_,text:s_?this.mapDisplayParts(o_.text,t_):(l_=o_.text)==null?void 0:l_.map(f_=>f_.text).join("")}}):[]}mapDisplayParts(a,t_){return a?a.map(s_=>s_.kind!=="linkName"?s_:{...s_,target:this.toFileSpan(s_.target.fileName,s_.target.textSpan,t_)}):[]}mapSignatureHelpItems(a,t_,s_){return a.map(o_=>({...o_,documentation:this.mapDisplayParts(o_.documentation,t_),parameters:o_.parameters.map(l_=>({...l_,documentation:this.mapDisplayParts(l_.documentation,t_)})),tags:this.mapJSDocTagInfo(o_.tags,t_,s_)}))}mapDefinitionInfo(a,t_){return a.map(s_=>({...this.toFileSpanWithContext(s_.fileName,s_.textSpan,s_.contextSpan,t_),...s_.unverified&&{unverified:s_.unverified}}))}static mapToOriginalLocation(a){return a.originalFileName?(V_.assert(a.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...a,fileName:a.originalFileName,textSpan:a.originalTextSpan,targetFileName:a.fileName,targetTextSpan:a.textSpan,contextSpan:a.originalContextSpan,targetContextSpan:a.contextSpan}):a}toFileSpan(a,t_,s_){const o_=s_.getLanguageService(),l_=o_.toLineColumnOffset(a,t_.start),f_=o_.toLineColumnOffset(a,C_(t_));return{file:a,start:{line:l_.line+1,offset:l_.character+1},end:{line:f_.line+1,offset:f_.character+1}}}toFileSpanWithContext(a,t_,s_,o_){const l_=this.toFileSpan(a,t_,o_),f_=s_&&this.toFileSpan(a,s_,o_);return f_?{...l_,contextStart:f_.start,contextEnd:f_.end}:l_}getTypeDefinition(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.getPositionInFile(a,t_),l_=this.mapDefinitionInfoLocations(s_.getLanguageService().getTypeDefinitionAtPosition(t_,o_)||WP,s_);return this.mapDefinitionInfo(l_,s_)}mapImplementationLocations(a,t_){return a.map(s_=>{const o_=sQe(s_,t_);return o_?{...o_,kind:s_.kind,displayParts:s_.displayParts}:s_})}getImplementation(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.getPositionInFile(a,s_),f_=this.mapImplementationLocations(o_.getLanguageService().getImplementationAtPosition(s_,l_)||WP,o_);return t_?f_.map(({fileName:m_,textSpan:__,contextSpan:S_})=>this.toFileSpanWithContext(m_,__,S_,o_)):f_.map(XTe.mapToOriginalLocation)}getSyntacticDiagnosticsSync(a){const{configFile:t_}=this.getConfigFileAndProject(a);return t_?WP:this.getDiagnosticsWorker(a,!1,(s_,o_)=>s_.getLanguageService().getSyntacticDiagnostics(o_),!!a.includeLinePosition)}getSemanticDiagnosticsSync(a){const{configFile:t_,project:s_}=this.getConfigFileAndProject(a);return t_?this.getConfigFileDiagnostics(t_,s_,!!a.includeLinePosition):this.getDiagnosticsWorker(a,!0,(o_,l_)=>o_.getLanguageService().getSemanticDiagnostics(l_).filter(f_=>!!f_.file),!!a.includeLinePosition)}getSuggestionDiagnosticsSync(a){const{configFile:t_}=this.getConfigFileAndProject(a);return t_?WP:this.getDiagnosticsWorker(a,!0,(s_,o_)=>s_.getLanguageService().getSuggestionDiagnostics(o_),!!a.includeLinePosition)}getJsxClosingTag(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_),l_=s_.getJsxClosingTagAtPosition(t_,o_);return l_===void 0?void 0:{newText:l_.newText,caretOffset:0}}getLinkedEditingRange(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_),l_=s_.getLinkedEditingRangeAtPosition(t_,o_),f_=this.projectService.getScriptInfoForNormalizedPath(t_);if(!(f_===void 0||l_===void 0))return _Tt(l_,f_)}getDocumentHighlights(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.getPositionInFile(a,s_),f_=o_.getLanguageService().getDocumentHighlights(s_,l_,a.filesToSearch);return f_?t_?f_.map(({fileName:m_,highlightSpans:__})=>{const S_=o_.getScriptInfo(m_);return{file:m_,highlightSpans:__.map(({textSpan:b_,kind:E_,contextSpan:N_})=>({...Y7e(b_,N_,S_),kind:E_}))}}):f_:WP}provideInlayHints(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.projectService.getScriptInfoForNormalizedPath(t_);return s_.getLanguageService().provideInlayHints(t_,a,this.getPreferences(t_)).map(f_=>{const{position:m_,displayParts:__}=f_;return{...f_,position:o_.positionToLineOffset(m_),displayParts:__==null?void 0:__.map(({text:S_,span:b_,file:E_})=>{if(b_){V_.assertIsDefined(E_,"Target file should be defined together with its span.");const N_=this.projectService.getScriptInfo(E_);return{text:S_,span:{start:N_.positionToLineOffset(b_.start),end:N_.positionToLineOffset(b_.start+b_.length),file:E_}}}else return{text:S_}})}})}mapCode(a){var t_;const s_=this.getHostFormatOptions(),o_=this.getHostPreferences(),{file:l_,languageService:f_}=this.getFileAndLanguageServiceForSyntacticOperation(a),m_=this.projectService.getScriptInfoForNormalizedPath(l_),__=(t_=a.mapping.focusLocations)==null?void 0:t_.map(b_=>b_.map(E_=>{const N_=m_.lineOffsetToPosition(E_.start.line,E_.start.offset),F_=m_.lineOffsetToPosition(E_.end.line,E_.end.offset);return{start:N_,length:F_-N_}})),S_=f_.mapCode(l_,a.mapping.contents,__,s_,o_);return this.mapTextChangesToCodeEdits(S_)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(a){this.projectService.setCompilerOptionsForInferredProjects(a.options,a.projectRootPath)}getProjectInfo(a){return this.getProjectInfoWorker(a.file,a.projectFileName,a.needFileNameList,a.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(a,t_,s_,o_,l_){const{project:f_}=this.getFileAndProjectWorker(a,t_);return wO(f_),{configFileName:f_.getProjectName(),languageServiceDisabled:!f_.languageServiceEnabled,fileNames:s_?f_.getFileNames(!1,l_):void 0,configuredProjectInfo:o_?this.getDefaultConfiguredProjectInfo(a):void 0}}getDefaultConfiguredProjectInfo(a){var t_;const s_=this.projectService.getScriptInfo(a);if(!s_)return;const o_=this.projectService.findDefaultConfiguredProjectWorker(s_,3);if(!o_)return;let l_,f_;return o_.seenProjects.forEach((m_,__)=>{__!==o_.defaultProject&&(m_!==3?(l_??(l_=[])).push(_w(__.getConfigFilePath())):(f_??(f_=[])).push(_w(__.getConfigFilePath())))}),(t_=o_.seenConfigs)==null||t_.forEach(m_=>(l_??(l_=[])).push(m_)),{notMatchedByConfig:l_,notInProject:f_,defaultProject:o_.defaultProject&&_w(o_.defaultProject.getConfigFilePath())}}getRenameInfo(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.getPositionInFile(a,t_),l_=this.getPreferences(t_);return s_.getLanguageService().getRenameInfo(t_,o_,l_)}getProjects(a,t_,s_){let o_,l_;if(a.projectFileName){const f_=this.getProject(a.projectFileName);f_&&(o_=[f_])}else{const f_=t_?this.projectService.getScriptInfoEnsuringProjectsUptoDate(a.file):this.projectService.getScriptInfo(a.file);if(f_)t_||this.projectService.ensureDefaultProjectForFile(f_);else return s_?WP:(this.projectService.logErrorForScriptInfoNotFound(a.file),FM.ThrowNoProject());o_=f_.containingProjects,l_=this.projectService.getSymlinkedProjects(f_)}return o_=Sx(o_,f_=>f_.languageServiceEnabled&&!f_.isOrphan()),!s_&&(!o_||!o_.length)&&!l_?(this.projectService.logErrorForScriptInfoNotFound(a.file??a.projectFileName),FM.ThrowNoProject()):l_?{projects:o_,symLinkedProjects:l_}:o_}getDefaultProject(a){if(a.projectFileName){const s_=this.getProject(a.projectFileName);if(s_)return s_;if(!a.file)return FM.ThrowNoProject()}return this.projectService.getScriptInfo(a.file).getDefaultProject()}getRenameLocations(a,t_){const s_=_w(a.file),o_=this.getPositionInFile(a,s_),l_=this.getProjects(a),f_=this.getDefaultProject(a),m_=this.getPreferences(s_),__=this.mapRenameInfo(f_.getLanguageService().getRenameInfo(s_,o_,m_),V_.checkDefined(this.projectService.getScriptInfo(s_)));if(!__.canRename)return t_?{info:__,locs:[]}:[];const S_=cTt(l_,f_,{fileName:a.file,pos:o_},!!a.findInStrings,!!a.findInComments,m_,this.host.useCaseSensitiveFileNames);return t_?{info:__,locs:this.toSpanGroups(S_)}:S_}mapRenameInfo(a,t_){if(a.canRename){const{canRename:s_,fileToRename:o_,displayName:l_,fullDisplayName:f_,kind:m_,kindModifiers:__,triggerSpan:S_}=a;return{canRename:s_,fileToRename:o_,displayName:l_,fullDisplayName:f_,kind:m_,kindModifiers:__,triggerSpan:E$(S_,t_)}}else return a}toSpanGroups(a){const t_=new Map;for(const{fileName:s_,textSpan:o_,contextSpan:l_,originalContextSpan:f_,originalTextSpan:m_,originalFileName:__,...S_}of a){let b_=t_.get(s_);b_||t_.set(s_,b_={file:s_,locs:[]});const E_=V_.checkDefined(this.projectService.getScriptInfo(s_));b_.locs.push({...Y7e(o_,l_,E_),...S_})}return LC(t_.values())}getReferences(a,t_){const s_=_w(a.file),o_=this.getProjects(a),l_=this.getPositionInFile(a,s_),f_=lTt(o_,this.getDefaultProject(a),{fileName:a.file,pos:l_},this.host.useCaseSensitiveFileNames,this.logger);if(!t_)return f_;const m_=this.getPreferences(s_),__=this.getDefaultProject(a),S_=__.getScriptInfoForNormalizedPath(s_),b_=__.getLanguageService().getQuickInfoAtPosition(s_,l_),E_=b_?Uae(b_.displayParts):"",N_=b_&&b_.textSpan,F_=N_?S_.positionToLineOffset(N_.start).offset:0,j_=N_?S_.getSnapshot().getText(N_.start,C_(N_)):"";return{refs:AS(f_,H_=>H_.references.map(Q_=>uQe(this.projectService,Q_,m_))),symbolName:j_,symbolStartOffset:F_,symbolDisplayString:E_}}getFileReferences(a,t_){const s_=this.getProjects(a),o_=_w(a.file),l_=this.getPreferences(o_),f_={fileName:o_,pos:0},m_=X7e(s_,this.getDefaultProject(a),f_,f_,rQe,b_=>(this.logger.info(`Finding references to file ${o_} in project ${b_.getProjectName()}`),b_.getLanguageService().getFileReferences(o_)));let __;if(RT(m_))__=m_;else{__=[];const b_=Vbe(this.host.useCaseSensitiveFileNames);m_.forEach(E_=>{for(const N_ of E_)b_.has(N_)||(__.push(N_),b_.add(N_))})}return t_?{refs:__.map(b_=>uQe(this.projectService,b_,l_)),symbolName:`"${a.file}"`}:__}openClientFile(a,t_,s_,o_){this.projectService.openClientFileWithNormalizedPath(a,t_,s_,!1,o_)}getPosition(a,t_){return a.position!==void 0?a.position:t_.lineOffsetToPosition(a.line,a.offset)}getPositionInFile(a,t_){const s_=this.projectService.getScriptInfoForNormalizedPath(t_);return this.getPosition(a,s_)}getFileAndProject(a){return this.getFileAndProjectWorker(a.file,a.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(a){const{file:t_,project:s_}=this.getFileAndProject(a);return{file:t_,languageService:s_.getLanguageService(!1)}}getFileAndProjectWorker(a,t_){const s_=_w(a),o_=this.getProject(t_)||this.projectService.ensureDefaultProjectForFile(s_);return{file:s_,project:o_}}getOutliningSpans(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=o_.getOutliningSpans(s_);if(t_){const f_=this.projectService.getScriptInfoForNormalizedPath(s_);return l_.map(m_=>({textSpan:E$(m_.textSpan,f_),hintSpan:E$(m_.hintSpan,f_),bannerText:m_.bannerText,autoCollapse:m_.autoCollapse,kind:m_.kind}))}else return l_}getTodoComments(a){const{file:t_,project:s_}=this.getFileAndProject(a);return s_.getLanguageService().getTodoComments(t_,a.descriptors)}getDocCommentTemplate(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_);return s_.getDocCommentTemplateAtPosition(t_,o_,this.getPreferences(t_),this.getFormatOptions(t_))}getSpanOfEnclosingComment(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=a.onlyMultiLine,l_=this.getPositionInFile(a,t_);return s_.getSpanOfEnclosingComment(t_,l_,o_)}getIndentation(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_),l_=a.options?FZ(a.options):this.getFormatOptions(t_),f_=s_.getIndentationAtPosition(t_,o_,l_);return{position:o_,indentation:f_}}getBreakpointStatement(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_);return s_.getBreakpointStatementAtPosition(t_,o_)}getNameOrDottedNameSpan(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_);return s_.getNameOrDottedNameSpan(t_,o_,o_)}isValidBraceCompletion(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.getPositionInFile(a,t_);return s_.isValidBraceCompletionAtPosition(t_,o_,a.openingBrace.charCodeAt(0))}getQuickInfoWorker(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=o_.getLanguageService().getQuickInfoAtPosition(s_,this.getPosition(a,l_));if(!f_)return;const m_=!!this.getPreferences(s_).displayPartsForJSDoc;if(t_){const __=Uae(f_.displayParts);return{kind:f_.kind,kindModifiers:f_.kindModifiers,start:l_.positionToLineOffset(f_.textSpan.start),end:l_.positionToLineOffset(C_(f_.textSpan)),displayString:__,documentation:m_?this.mapDisplayParts(f_.documentation,o_):Uae(f_.documentation),tags:this.mapJSDocTagInfo(f_.tags,o_,m_)}}else return m_?f_:{...f_,tags:this.mapJSDocTagInfo(f_.tags,o_,!1)}}getFormattingEditsForRange(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.projectService.getScriptInfoForNormalizedPath(t_),l_=o_.lineOffsetToPosition(a.line,a.offset),f_=o_.lineOffsetToPosition(a.endLine,a.endOffset),m_=s_.getFormattingEditsForRange(t_,l_,f_,this.getFormatOptions(t_));if(m_)return m_.map(__=>this.convertTextChangeToCodeEdit(__,o_))}getFormattingEditsForRangeFull(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=a.options?FZ(a.options):this.getFormatOptions(t_);return s_.getFormattingEditsForRange(t_,a.position,a.endPosition,o_)}getFormattingEditsForDocumentFull(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=a.options?FZ(a.options):this.getFormatOptions(t_);return s_.getFormattingEditsForDocument(t_,o_)}getFormattingEditsAfterKeystrokeFull(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=a.options?FZ(a.options):this.getFormatOptions(t_);return s_.getFormattingEditsAfterKeystroke(t_,a.position,a.key,o_)}getFormattingEditsAfterKeystroke(a){const{file:t_,languageService:s_}=this.getFileAndLanguageServiceForSyntacticOperation(a),o_=this.projectService.getScriptInfoForNormalizedPath(t_),l_=o_.lineOffsetToPosition(a.line,a.offset),f_=this.getFormatOptions(t_),m_=s_.getFormattingEditsAfterKeystroke(t_,l_,a.key,f_);if(a.key===`
754
754
  `&&(!m_||m_.length===0||sTt(m_,l_))){const{lineText:__,absolutePosition:S_}=o_.textStorage.getAbsolutePositionAndLineText(a.line);if(__&&__.search("\\S")<0){const b_=s_.getIndentationAtPosition(t_,l_,f_);let E_=0,N_,F_;for(N_=0,F_=__.length;N_<F_;N_++)if(__.charAt(N_)===" ")E_++;else if(__.charAt(N_)===" ")E_+=f_.tabSize;else break;if(b_!==E_){const j_=S_+N_;m_.push({span:cA(S_,j_),newText:TP.getIndentationString(b_,f_)})}}}if(m_)return m_.map(__=>({start:o_.positionToLineOffset(__.span.start),end:o_.positionToLineOffset(C_(__.span)),newText:__.newText?__.newText:""}))}getCompletions(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getPosition(a,l_),m_=o_.getLanguageService().getCompletionsAtPosition(s_,f_,{...N7e(this.getPreferences(s_)),triggerCharacter:a.triggerCharacter,triggerKind:a.triggerKind,includeExternalModuleExports:a.includeExternalModuleExports,includeInsertTextCompletions:a.includeInsertTextCompletions},o_.projectService.getFormatCodeOptions(s_));if(m_===void 0)return;if(t_==="completions-full")return m_;const __=a.prefix||"",S_=eS(m_.entries,E_=>{if(m_.isMemberCompletion||PE(E_.name.toLowerCase(),__.toLowerCase())){const N_=E_.replacementSpan?E$(E_.replacementSpan,l_):void 0;return{...E_,replacementSpan:N_,hasAction:E_.hasAction||void 0,symbol:void 0}}});return t_==="completions"?(m_.metadata&&(S_.metadata=m_.metadata),S_):{...m_,optionalReplacementSpan:m_.optionalReplacementSpan&&E$(m_.optionalReplacementSpan,l_),entries:S_}}getCompletionEntryDetails(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getPosition(a,l_),m_=o_.projectService.getFormatCodeOptions(s_),__=!!this.getPreferences(s_).displayPartsForJSDoc,S_=eS(a.entryNames,b_=>{const{name:E_,source:N_,data:F_}=typeof b_=="string"?{name:b_,source:void 0,data:void 0}:b_;return o_.getLanguageService().getCompletionEntryDetails(s_,f_,E_,m_,N_,this.getPreferences(s_),F_?UT(F_,vTt):void 0)});return t_?__?S_:S_.map(b_=>({...b_,tags:this.mapJSDocTagInfo(b_.tags,o_,!1)})):S_.map(b_=>({...b_,codeActions:gx(b_.codeActions,E_=>this.mapCodeAction(E_)),documentation:this.mapDisplayParts(b_.documentation,o_),tags:this.mapJSDocTagInfo(b_.tags,o_,__)}))}getCompileOnSaveAffectedFileList(a){const t_=this.getProjects(a,!0,!0),s_=this.projectService.getScriptInfo(a.file);return s_?oTt(s_,o_=>this.projectService.getScriptInfoForPath(o_),t_,(o_,l_)=>{if(!o_.compileOnSaveEnabled||!o_.languageServiceEnabled||o_.isOrphan())return;const f_=o_.getCompilationSettings();if(!(f_.noEmit||qP(l_.fileName)&&!iTt(f_)))return{projectFileName:o_.getProjectName(),fileNames:o_.getCompileOnSaveAffectedFileList(l_),projectUsesOutFile:!!f_.outFile}}):WP}emitFile(a){const{file:t_,project:s_}=this.getFileAndProject(a);if(s_||FM.ThrowNoProject(),!s_.languageServiceEnabled)return a.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const o_=s_.getScriptInfo(t_),{emitSkipped:l_,diagnostics:f_}=s_.emitFile(o_,(m_,__,S_)=>this.host.writeFile(m_,__,S_));return a.richResponse?{emitSkipped:l_,diagnostics:a.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(f_):f_.map(m_=>xoe(m_,!0))}:!l_}getSignatureHelpItems(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getPosition(a,l_),m_=o_.getLanguageService().getSignatureHelpItems(s_,f_,a),__=!!this.getPreferences(s_).displayPartsForJSDoc;if(m_&&t_){const S_=m_.applicableSpan;return{...m_,applicableSpan:{start:l_.positionToLineOffset(S_.start),end:l_.positionToLineOffset(S_.start+S_.length)},items:this.mapSignatureHelpItems(m_.items,o_,__)}}else return __||!m_?m_:{...m_,items:m_.items.map(S_=>({...S_,tags:this.mapJSDocTagInfo(S_.tags,o_,!1)}))}}toPendingErrorCheck(a){const t_=_w(a),s_=this.projectService.tryGetDefaultProjectForFile(t_);return s_&&{fileName:t_,project:s_}}getDiagnostics(a,t_,s_){this.suppressDiagnosticEvents||s_.length>0&&this.updateErrorCheck(a,s_,t_)}change(a){const t_=this.projectService.getScriptInfo(a.file);V_.assert(!!t_),t_.textStorage.switchToScriptVersionCache();const s_=t_.lineOffsetToPosition(a.line,a.offset),o_=t_.lineOffsetToPosition(a.endLine,a.endOffset);s_>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(t_,xS({span:{start:s_,length:o_-s_},newText:a.insertString})))}reload(a){const t_=_w(a.file),s_=a.tmpfile===void 0?void 0:_w(a.tmpfile),o_=this.projectService.getScriptInfoForNormalizedPath(t_);o_&&(this.changeSeq++,o_.reloadFromFile(s_))}saveToTmp(a,t_){const s_=this.projectService.getScriptInfo(a);s_&&s_.saveTo(t_)}closeClientFile(a){if(!a)return;const t_=_k(a);this.projectService.closeClientFile(t_)}mapLocationNavigationBarItems(a,t_){return gx(a,s_=>({text:s_.text,kind:s_.kind,kindModifiers:s_.kindModifiers,spans:s_.spans.map(o_=>E$(o_,t_)),childItems:this.mapLocationNavigationBarItems(s_.childItems,t_),indent:s_.indent}))}getNavigationBarItems(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=o_.getNavigationBarItems(s_);return l_?t_?this.mapLocationNavigationBarItems(l_,this.projectService.getScriptInfoForNormalizedPath(s_)):l_:void 0}toLocationNavigationTree(a,t_){return{text:a.text,kind:a.kind,kindModifiers:a.kindModifiers,spans:a.spans.map(s_=>E$(s_,t_)),nameSpan:a.nameSpan&&E$(a.nameSpan,t_),childItems:gx(a.childItems,s_=>this.toLocationNavigationTree(s_,t_))}}getNavigationTree(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=o_.getNavigationTree(s_);return l_?t_?this.toLocationNavigationTree(l_,this.projectService.getScriptInfoForNormalizedPath(s_)):l_:void 0}getNavigateToItems(a,t_){const s_=this.getFullNavigateToItems(a);return t_?AS(s_,({project:o_,navigateToItems:l_})=>l_.map(f_=>{const m_=o_.getScriptInfo(f_.fileName),__={name:f_.name,kind:f_.kind,kindModifiers:f_.kindModifiers,isCaseSensitive:f_.isCaseSensitive,matchKind:f_.matchKind,file:f_.fileName,start:m_.positionToLineOffset(f_.textSpan.start),end:m_.positionToLineOffset(C_(f_.textSpan))};return f_.kindModifiers&&f_.kindModifiers!==""&&(__.kindModifiers=f_.kindModifiers),f_.containerName&&f_.containerName.length>0&&(__.containerName=f_.containerName),f_.containerKind&&f_.containerKind.length>0&&(__.containerKind=f_.containerKind),__})):AS(s_,({navigateToItems:o_})=>o_)}getFullNavigateToItems(a){const{currentFileOnly:t_,searchValue:s_,maxResultCount:o_,projectFileName:l_}=a;if(t_){V_.assertIsDefined(a.file);const{file:N_,project:F_}=this.getFileAndProject(a);return[{project:F_,navigateToItems:F_.getLanguageService().getNavigateToItems(s_,o_,N_)}]}const f_=this.getHostPreferences(),m_=[],__=new Map;if(!a.file&&!l_)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(N_=>S_(N_));else{const N_=this.getProjects(a);tQe(N_,void 0,F_=>S_(F_))}return m_;function S_(N_){const F_=N_.getLanguageService().getNavigateToItems(s_,o_,void 0,N_.isNonTsProject(),f_.excludeLibrarySymbolsInNavTo),j_=Sx(F_,U_=>b_(U_)&&!zbe(Zre(U_),N_));j_.length&&m_.push({project:N_,navigateToItems:j_})}function b_(N_){const F_=N_.name;if(!__.has(F_))return __.set(F_,[N_]),!0;const j_=__.get(F_);for(const U_ of j_)if(E_(U_,N_))return!1;return j_.push(N_),!0}function E_(N_,F_){return N_===F_?!0:!N_||!F_?!1:N_.containerKind===F_.containerKind&&N_.containerName===F_.containerName&&N_.fileName===F_.fileName&&N_.isCaseSensitive===F_.isCaseSensitive&&N_.kind===F_.kind&&N_.kindModifiers===F_.kindModifiers&&N_.matchKind===F_.matchKind&&N_.name===F_.name&&N_.textSpan.start===F_.textSpan.start&&N_.textSpan.length===F_.textSpan.length}}getSupportedCodeFixes(a){if(!a)return axe();if(a.file){const{file:s_,project:o_}=this.getFileAndProject(a);return o_.getLanguageService().getSupportedCodeFixes(s_)}const t_=this.getProject(a.projectFileName);return t_||FM.ThrowNoProject(),t_.getLanguageService().getSupportedCodeFixes()}isLocation(a){return a.line!==void 0}extractPositionOrRange(a,t_){let s_,o_;return this.isLocation(a)?s_=l_(a):o_=this.getRange(a,t_),V_.checkDefined(s_===void 0?o_:s_);function l_(f_){return f_.position!==void 0?f_.position:t_.lineOffsetToPosition(f_.line,f_.offset)}}getRange(a,t_){const{startPosition:s_,endPosition:o_}=this.getStartAndEndPosition(a,t_);return{pos:s_,end:o_}}getApplicableRefactors(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=s_.getScriptInfoForNormalizedPath(t_);return s_.getLanguageService().getApplicableRefactors(t_,this.extractPositionOrRange(a,o_),this.getPreferences(t_),a.triggerReason,a.kind,a.includeInteractiveActions).map(f_=>({...f_,actions:f_.actions.map(m_=>({...m_,range:m_.range?{start:OZ({line:m_.range.start.line,character:m_.range.start.offset}),end:OZ({line:m_.range.end.line,character:m_.range.end.offset})}:void 0}))}))}getEditsForRefactor(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=o_.getScriptInfoForNormalizedPath(s_),f_=o_.getLanguageService().getEditsForRefactor(s_,this.getFormatOptions(s_),this.extractPositionOrRange(a,l_),a.refactor,a.action,this.getPreferences(s_),a.interactiveRefactorArguments);if(f_===void 0)return{edits:[]};if(t_){const{renameFilename:m_,renameLocation:__,edits:S_}=f_;let b_;if(m_!==void 0&&__!==void 0){const E_=o_.getScriptInfoForNormalizedPath(_w(m_));b_=Q7e(bX(E_.getSnapshot()),m_,__,S_)}return{renameLocation:b_,renameFilename:m_,edits:this.mapTextChangesToCodeEdits(S_),notApplicableReason:f_.notApplicableReason}}return f_}getMoveToRefactoringFileSuggestions(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=s_.getScriptInfoForNormalizedPath(t_);return s_.getLanguageService().getMoveToRefactoringFileSuggestions(t_,this.extractPositionOrRange(a,o_),this.getPreferences(t_))}preparePasteEdits(a){const{file:t_,project:s_}=this.getFileAndProject(a);return s_.getLanguageService().preparePasteEditsForFile(t_,a.copiedTextSpan.map(o_=>this.getRange({file:t_,startLine:o_.start.line,startOffset:o_.start.offset,endLine:o_.end.line,endOffset:o_.end.offset},this.projectService.getScriptInfoForNormalizedPath(t_))))}getPasteEdits(a){const{file:t_,project:s_}=this.getFileAndProject(a);if(Yre(t_))return;const o_=a.copiedFrom?{file:a.copiedFrom.file,range:a.copiedFrom.spans.map(f_=>this.getRange({file:a.copiedFrom.file,startLine:f_.start.line,startOffset:f_.start.offset,endLine:f_.end.line,endOffset:f_.end.offset},s_.getScriptInfoForNormalizedPath(_w(a.copiedFrom.file))))}:void 0,l_=s_.getLanguageService().getPasteEdits({targetFile:t_,pastedText:a.pastedText,pasteLocations:a.pasteLocations.map(f_=>this.getRange({file:t_,startLine:f_.start.line,startOffset:f_.start.offset,endLine:f_.end.line,endOffset:f_.end.offset},s_.getScriptInfoForNormalizedPath(t_))),copiedFrom:o_,preferences:this.getPreferences(t_)},this.getFormatOptions(t_));return l_&&this.mapPasteEditsAction(l_)}organizeImports(a,t_){V_.assert(a.scope.type==="file");const{file:s_,project:o_}=this.getFileAndProject(a.scope.args),l_=o_.getLanguageService().organizeImports({fileName:s_,mode:a.mode??(a.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(s_),this.getPreferences(s_));return t_?this.mapTextChangesToCodeEdits(l_):l_}getEditsForFileRename(a,t_){const s_=_w(a.oldFilePath),o_=_w(a.newFilePath),l_=this.getHostFormatOptions(),f_=this.getHostPreferences(),m_=new Set,__=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(S_=>{const b_=S_.getLanguageService().getEditsForFileRename(s_,o_,l_,f_),E_=[];for(const N_ of b_)m_.has(N_.fileName)||(__.push(N_),E_.push(N_.fileName));for(const N_ of E_)m_.add(N_)}),t_?__.map(S_=>this.mapTextChangeToCodeEdit(S_)):__}getCodeFixes(a,t_){const{file:s_,project:o_}=this.getFileAndProject(a),l_=o_.getScriptInfoForNormalizedPath(s_),{startPosition:f_,endPosition:m_}=this.getStartAndEndPosition(a,l_);let __;try{__=o_.getLanguageService().getCodeFixesAtPosition(s_,f_,m_,a.errorCodes,this.getFormatOptions(s_),this.getPreferences(s_))}catch(S_){const b_=S_ instanceof Error?S_:new Error(S_),E_=o_.getLanguageService(),N_=[...E_.getSyntacticDiagnostics(s_),...E_.getSemanticDiagnostics(s_),...E_.getSuggestionDiagnostics(s_)].filter(j_=>e$(f_,m_-f_,j_.start,j_.length)).map(j_=>j_.code),F_=a.errorCodes.find(j_=>!N_.includes(j_));throw F_!==void 0&&(b_.message+=`
755
755
  Additional information: BADCLIENT: Bad error code, ${F_} not found in range ${f_}..${m_} (found: ${N_.join(", ")})`),b_}return t_?__.map(S_=>this.mapCodeFixAction(S_)):__}getCombinedCodeFix({scope:a,fixId:t_},s_){V_.assert(a.type==="file");const{file:o_,project:l_}=this.getFileAndProject(a.args),f_=l_.getLanguageService().getCombinedCodeFix({type:"file",fileName:o_},t_,this.getFormatOptions(o_),this.getPreferences(o_));return s_?{changes:this.mapTextChangesToCodeEdits(f_.changes),commands:f_.commands}:f_}applyCodeActionCommand(a){const t_=a.command;for(const s_ of aE(t_)){const{file:o_,project:l_}=this.getFileAndProject(s_);l_.getLanguageService().applyCodeActionCommand(s_,this.getFormatOptions(o_)).then(f_=>{},f_=>{})}return{}}getStartAndEndPosition(a,t_){let s_,o_;return a.startPosition!==void 0?s_=a.startPosition:(s_=t_.lineOffsetToPosition(a.startLine,a.startOffset),a.startPosition=s_),a.endPosition!==void 0?o_=a.endPosition:(o_=t_.lineOffsetToPosition(a.endLine,a.endOffset),a.endPosition=o_),{startPosition:s_,endPosition:o_}}mapCodeAction({description:a,changes:t_,commands:s_}){return{description:a,changes:this.mapTextChangesToCodeEdits(t_),commands:s_}}mapCodeFixAction({fixName:a,description:t_,changes:s_,commands:o_,fixId:l_,fixAllDescription:f_}){return{fixName:a,description:t_,changes:this.mapTextChangesToCodeEdits(s_),commands:o_,fixId:l_,fixAllDescription:f_}}mapPasteEditsAction({edits:a,fixId:t_}){return{edits:this.mapTextChangesToCodeEdits(a),fixId:t_}}mapTextChangesToCodeEdits(a){return a.map(t_=>this.mapTextChangeToCodeEdit(t_))}mapTextChangeToCodeEdit(a){const t_=this.projectService.getScriptInfoOrConfig(a.fileName);return!!a.isNewFile==!!t_&&(t_||this.projectService.logErrorForScriptInfoNotFound(a.fileName),V_.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!a.isNewFile,hasScriptInfo:!!t_}))),t_?{fileName:a.fileName,textChanges:a.textChanges.map(s_=>dTt(s_,t_))}:gTt(a)}convertTextChangeToCodeEdit(a,t_){return{start:t_.positionToLineOffset(a.span.start),end:t_.positionToLineOffset(a.span.start+a.span.length),newText:a.newText?a.newText:""}}getBraceMatching(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getPosition(a,l_),m_=o_.getBraceMatchingAtPosition(s_,f_);return m_?t_?m_.map(__=>E$(__,l_)):m_:void 0}getDiagnosticsForProject(a,t_,s_){if(this.suppressDiagnosticEvents)return;const{fileNames:o_,languageServiceDisabled:l_}=this.getProjectInfoWorker(s_,void 0,!0,void 0,!0);if(l_)return;const f_=o_.filter(U_=>!U_.includes("lib.d.ts"));if(f_.length===0)return;const m_=[],__=[],S_=[],b_=[],E_=_w(s_),N_=this.projectService.ensureDefaultProjectForFile(E_);for(const U_ of f_)this.getCanonicalFileName(U_)===this.getCanonicalFileName(s_)?m_.push(U_):this.projectService.getScriptInfo(U_).isScriptOpen()?__.push(U_):qP(U_)?b_.push(U_):S_.push(U_);const j_=[...m_,...__,...S_,...b_].map(U_=>({fileName:U_,project:N_}));this.updateErrorCheck(a,j_,t_,!1)}configurePlugin(a){this.projectService.configurePlugin(a)}getSmartSelectionRange(a,t_){const{locations:s_}=a,{file:o_,languageService:l_}=this.getFileAndLanguageServiceForSyntacticOperation(a),f_=V_.checkDefined(this.projectService.getScriptInfo(o_));return gx(s_,m_=>{const __=this.getPosition(m_,f_),S_=l_.getSmartSelectionRange(o_,__);return t_?this.mapSelectionRange(S_,f_):S_})}toggleLineComment(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=this.projectService.getScriptInfo(s_),f_=this.getRange(a,l_),m_=o_.toggleLineComment(s_,f_);if(t_){const __=this.projectService.getScriptInfoForNormalizedPath(s_);return m_.map(S_=>this.convertTextChangeToCodeEdit(S_,__))}return m_}toggleMultilineComment(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getRange(a,l_),m_=o_.toggleMultilineComment(s_,f_);if(t_){const __=this.projectService.getScriptInfoForNormalizedPath(s_);return m_.map(S_=>this.convertTextChangeToCodeEdit(S_,__))}return m_}commentSelection(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getRange(a,l_),m_=o_.commentSelection(s_,f_);if(t_){const __=this.projectService.getScriptInfoForNormalizedPath(s_);return m_.map(S_=>this.convertTextChangeToCodeEdit(S_,__))}return m_}uncommentSelection(a,t_){const{file:s_,languageService:o_}=this.getFileAndLanguageServiceForSyntacticOperation(a),l_=this.projectService.getScriptInfoForNormalizedPath(s_),f_=this.getRange(a,l_),m_=o_.uncommentSelection(s_,f_);if(t_){const __=this.projectService.getScriptInfoForNormalizedPath(s_);return m_.map(S_=>this.convertTextChangeToCodeEdit(S_,__))}return m_}mapSelectionRange(a,t_){const s_={textSpan:E$(a.textSpan,t_)};return a.parent&&(s_.parent=this.mapSelectionRange(a.parent,t_)),s_}getScriptInfoFromProjectService(a){const t_=_w(a),s_=this.projectService.getScriptInfoForNormalizedPath(t_);return s_||(this.projectService.logErrorForScriptInfoNotFound(t_),FM.ThrowNoProject())}toProtocolCallHierarchyItem(a){const t_=this.getScriptInfoFromProjectService(a.file);return{name:a.name,kind:a.kind,kindModifiers:a.kindModifiers,file:a.file,containerName:a.containerName,span:E$(a.span,t_),selectionSpan:E$(a.selectionSpan,t_)}}toProtocolCallHierarchyIncomingCall(a){const t_=this.getScriptInfoFromProjectService(a.from.file);return{from:this.toProtocolCallHierarchyItem(a.from),fromSpans:a.fromSpans.map(s_=>E$(s_,t_))}}toProtocolCallHierarchyOutgoingCall(a,t_){return{to:this.toProtocolCallHierarchyItem(a.to),fromSpans:a.fromSpans.map(s_=>E$(s_,t_))}}prepareCallHierarchy(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.projectService.getScriptInfoForNormalizedPath(t_);if(o_){const l_=this.getPosition(a,o_),f_=s_.getLanguageService().prepareCallHierarchy(t_,l_);return f_&&g2e(f_,m_=>this.toProtocolCallHierarchyItem(m_))}}provideCallHierarchyIncomingCalls(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.getScriptInfoFromProjectService(t_);return s_.getLanguageService().provideCallHierarchyIncomingCalls(t_,this.getPosition(a,o_)).map(f_=>this.toProtocolCallHierarchyIncomingCall(f_))}provideCallHierarchyOutgoingCalls(a){const{file:t_,project:s_}=this.getFileAndProject(a),o_=this.getScriptInfoFromProjectService(t_);return s_.getLanguageService().provideCallHierarchyOutgoingCalls(t_,this.getPosition(a,o_)).map(f_=>this.toProtocolCallHierarchyOutgoingCall(f_,o_))}getCanonicalFileName(a){const t_=this.host.useCaseSensitiveFileNames?a:YP(a);return _k(t_)}exit(){}notRequired(a){return a&&this.doOutput(void 0,a.command,a.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(a){return{response:a,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(a,t_){if(this.handlers.has(a))throw new Error(`Protocol handler already exists for command "${a}"`);this.handlers.set(a,t_)}setCurrentRequest(a){V_.assert(this.currentRequestId===void 0),this.currentRequestId=a,this.cancellationToken.setRequest(a)}resetCurrentRequest(a){V_.assert(this.currentRequestId===a),this.currentRequestId=void 0,this.cancellationToken.resetRequest(a)}executeWithRequestId(a,t_,s_){const o_=this.performanceData;try{return this.performanceData=s_,this.setCurrentRequest(a),t_()}finally{this.resetCurrentRequest(a),this.performanceData=o_}}executeCommand(a){const t_=this.handlers.get(a.command);if(t_){const s_=this.executeWithRequestId(a.seq,()=>t_(a),void 0);return this.projectService.enableRequestedPlugins(),s_}else return this.logger.msg(`Unrecognized JSON command:${VV(a)}`,"Err"),this.doOutput(void 0,"unknown",a.seq,!1,void 0,`Unrecognized JSON command: ${a.command}`),{responseRequired:!1}}onMessage(a){var t_,s_,o_,l_,f_,m_,__;this.gcTimer.scheduleCollect();let S_;const b_=this.performanceData;this.logger.hasLevel(2)&&(S_=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${Tre(this.toStringMessage(a))}`));let E_,N_;try{E_=this.parseMessage(a),N_=E_.arguments&&E_.arguments.file?E_.arguments:void 0,(t_=zC)==null||t_.instant(zC.Phase.Session,"request",{seq:E_.seq,command:E_.command}),(s_=zC)==null||s_.push(zC.Phase.Session,"executeCommand",{seq:E_.seq,command:E_.command},!0);const{response:F_,responseRequired:j_,performanceData:U_}=this.executeCommand(E_);if((o_=zC)==null||o_.pop(),this.logger.hasLevel(2)){const H_=nTt(this.hrtime(S_)).toFixed(4);j_?this.logger.perftrc(`${E_.seq}::${E_.command}: elapsed time (in milliseconds) ${H_}`):this.logger.perftrc(`${E_.seq}::${E_.command}: async elapsed time (in milliseconds) ${H_}`)}(l_=zC)==null||l_.instant(zC.Phase.Session,"response",{seq:E_.seq,command:E_.command,success:!!F_}),F_?this.doOutput(F_,E_.command,E_.seq,!0,U_):j_&&this.doOutput(void 0,E_.command,E_.seq,!1,U_,"No content available.")}catch(F_){if((f_=zC)==null||f_.popAll(),F_ instanceof $3){(m_=zC)==null||m_.instant(zC.Phase.Session,"commandCanceled",{seq:E_==null?void 0:E_.seq,command:E_==null?void 0:E_.command}),this.doOutput({canceled:!0},E_.command,E_.seq,!0,this.performanceData);return}this.logErrorWorker(F_,this.toStringMessage(a),N_),(__=zC)==null||__.instant(zC.Phase.Session,"commandError",{seq:E_==null?void 0:E_.seq,command:E_==null?void 0:E_.command,message:F_.message}),this.doOutput(void 0,E_?E_.command:"unknown",E_?E_.seq:0,!1,this.performanceData,"Error processing request. "+F_.message+`
756
- `+F_.stack)}finally{this.performanceData=b_}}parseMessage(a){return JSON.parse(a)}toStringMessage(a){return a}getFormatOptions(a){return this.projectService.getFormatCodeOptions(a)}getPreferences(a){return this.projectService.getPreferences(a)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function cQe(s){const a=s.diagnosticsDuration&&LC(s.diagnosticsDuration,([t_,s_])=>({...s_,file:t_}));return{...s,diagnosticsDuration:a}}function E$(s,a){return{start:a.positionToLineOffset(s.start),end:a.positionToLineOffset(C_(s))}}function Y7e(s,a,t_){const s_=E$(s,t_),o_=a&&E$(a,t_);return o_?{...s_,contextStart:o_.start,contextEnd:o_.end}:s_}function dTt(s,a){return{start:lQe(a,s.span.start),end:lQe(a,C_(s.span)),newText:s.newText}}function lQe(s,a){return U7e(s)?mTt(s.getLineAndCharacterOfPosition(a)):s.positionToLineOffset(a)}function _Tt(s,a){const t_=s.ranges.map(s_=>({start:a.positionToLineOffset(s_.start),end:a.positionToLineOffset(s_.start+s_.length)}));return s.wordPattern?{ranges:t_,wordPattern:s.wordPattern}:{ranges:t_}}function mTt(s){return{line:s.line+1,offset:s.character+1}}function gTt(s){V_.assert(s.textChanges.length===1);const a=MC(s.textChanges);return V_.assert(a.span.start===0&&a.span.length===0),{fileName:s.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:a.newText}]}}function Q7e(s,a,t_,s_){const o_=hTt(s,a,s_),{line:l_,character:f_}=dL(a9(o_),t_);return{line:l_+1,offset:f_+1}}function hTt(s,a,t_){for(const{fileName:s_,textChanges:o_}of t_)if(s_===a)for(let l_=o_.length-1;l_>=0;l_--){const{newText:f_,span:{start:m_,length:__}}=o_[l_];s=s.slice(0,m_)+f_+s.slice(m_+__)}return s}function uQe(s,{fileName:a,textSpan:t_,contextSpan:s_,isWriteAccess:o_,isDefinition:l_},{disableLineTextInReferences:f_}){const m_=V_.checkDefined(s.getScriptInfo(a)),__=Y7e(t_,s_,m_),S_=f_?void 0:yTt(m_,__);return{file:a,...__,lineText:S_,isWriteAccess:o_,isDefinition:l_}}function yTt(s,a){const t_=s.lineToTextSpan(a.start.line-1);return s.getSnapshot().getText(t_.start,C_(t_)).replace(/\r|\n/g,"")}function vTt(s){return s===void 0||s&&typeof s=="object"&&typeof s.exportName=="string"&&(s.fileName===void 0||typeof s.fileName=="string")&&(s.ambientModuleName===void 0||typeof s.ambientModuleName=="string"&&(s.isPackageJsonImport===void 0||typeof s.isPackageJsonImport=="boolean"))}var $Z=4,Z7e=(s=>(s[s.PreStart=0]="PreStart",s[s.Start=1]="Start",s[s.Entire=2]="Entire",s[s.Mid=3]="Mid",s[s.End=4]="End",s[s.PostEnd=5]="PostEnd",s))(Z7e||{}),xTt=class{constructor(){this.goSubtree=!0,this.lineIndex=new boe,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new RZ,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(s,a){a&&(this.trailingText=""),s?s=this.initialText+s+this.trailingText:s=this.initialText+this.trailingText;const s_=boe.linesFromText(s).lines;s_.length>1&&s_[s_.length-1]===""&&s_.pop();let o_,l_;for(let m_=this.endBranch.length-1;m_>=0;m_--)this.endBranch[m_].updateCounts(),this.endBranch[m_].charCount()===0&&(l_=this.endBranch[m_],m_>0?o_=this.endBranch[m_-1]:o_=this.branchNode);l_&&o_.remove(l_);const f_=this.startPath[this.startPath.length-1];if(s_.length>0)if(f_.text=s_[0],s_.length>1){let m_=new Array(s_.length-1),__=f_;for(let E_=1;E_<s_.length;E_++)m_[E_-1]=new l_e(s_[E_]);let S_=this.startPath.length-2;for(;S_>=0;){const E_=this.startPath[S_];m_=E_.insertAt(__,m_),S_--,__=E_}let b_=m_.length;for(;b_>0;){const E_=new RZ;E_.add(this.lineIndex.root),m_=E_.insertAt(this.lineIndex.root,m_),b_=m_.length,this.lineIndex.root=E_}this.lineIndex.root.updateCounts()}else for(let m_=this.startPath.length-2;m_>=0;m_--)this.startPath[m_].updateCounts();else{this.startPath[this.startPath.length-2].remove(f_);for(let __=this.startPath.length-2;__>=0;__--)this.startPath[__].updateCounts()}return this.lineIndex}post(s,a,t_){t_===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(s,a,t_,s_,o_){const l_=this.stack[this.stack.length-1];this.state===2&&o_===1&&(this.state=1,this.branchNode=l_,this.lineCollectionAtBranch=t_);let f_;function m_(__){return __.isLeaf()?new l_e(""):new RZ}switch(o_){case 0:this.goSubtree=!1,this.state!==4&&l_.add(t_);break;case 1:this.state===4?this.goSubtree=!1:(f_=m_(t_),l_.add(f_),this.startPath.push(f_));break;case 2:this.state!==4?(f_=m_(t_),l_.add(f_),this.startPath.push(f_)):t_.isLeaf()||(f_=m_(t_),l_.add(f_),this.endBranch.push(f_));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:t_.isLeaf()||(f_=m_(t_),l_.add(f_),this.endBranch.push(f_));break;case 5:this.goSubtree=!1,this.state!==1&&l_.add(t_);break}this.goSubtree&&this.stack.push(f_)}leaf(s,a,t_){this.state===1?this.initialText=t_.text.substring(0,s):this.state===2?(this.initialText=t_.text.substring(0,s),this.trailingText=t_.text.substring(s+a)):this.trailingText=t_.text.substring(s+a)}},bTt=class{constructor(s,a,t_){this.pos=s,this.deleteLen=a,this.insertedText=t_}getTextChangeRange(){return dF(jP(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},Ube=class PG{constructor(){this.changes=[],this.versions=new Array(PG.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(a){if(!(a<this.minVersion||a>this.currentVersion))return a%PG.maxVersions}currentVersionToIndex(){return this.currentVersion%PG.maxVersions}edit(a,t_,s_){this.changes.push(new bTt(a,t_,s_)),(this.changes.length>PG.changeNumberThreshold||t_>PG.changeLengthThreshold||s_&&s_.length>PG.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let a=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let t_=a.index;for(const s_ of this.changes)t_=t_.edit(s_.pos,s_.deleteLen,s_.insertedText);a=new fQe(this.currentVersion+1,this,t_,this.changes),this.currentVersion=a.version,this.versions[this.currentVersionToIndex()]=a,this.changes=[],this.currentVersion-this.minVersion>=PG.maxVersions&&(this.minVersion=this.currentVersion-PG.maxVersions+1)}return a}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(a){return this._getSnapshot().index.lineNumberToInfo(a)}lineOffsetToPosition(a,t_){return this._getSnapshot().index.absolutePositionOfStartOfLine(a)+(t_-1)}positionToLineOffset(a){return this._getSnapshot().index.positionToLineOffset(a)}lineToTextSpan(a){const t_=this._getSnapshot().index,{lineText:s_,absolutePosition:o_}=t_.lineNumberToInfo(a+1),l_=s_!==void 0?s_.length:t_.absolutePositionOfStartOfLine(a+2)-o_;return jP(o_,l_)}getTextChangesBetweenVersions(a,t_){if(a<t_)if(a>=this.minVersion){const s_=[];for(let o_=a+1;o_<=t_;o_++){const l_=this.versions[this.versionToIndex(o_)];for(const f_ of l_.changesSincePreviousVersion)s_.push(f_.getTextChangeRange())}return cR(s_)}else return;else return oR}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(a){const t_=new PG,s_=new fQe(0,t_,new boe);t_.versions[t_.currentVersion]=s_;const o_=boe.linesFromText(a);return s_.index.load(o_.lines),t_}};Ube.changeNumberThreshold=8,Ube.changeLengthThreshold=256,Ube.maxVersions=8;var qbe=Ube,fQe=class ust{constructor(a,t_,s_,o_=WP){this.version=a,this.cache=t_,this.index=s_,this.changesSincePreviousVersion=o_}getText(a,t_){return this.index.getText(a,t_-a)}getLength(){return this.index.getLength()}getChangeRange(a){if(a instanceof ust&&this.cache===a.cache)return this.version<=a.version?oR:this.cache.getTextChangesBetweenVersions(a.version,this.version)}},boe=class j$e{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(a){return this.lineNumberToInfo(a).absolutePosition}positionToLineOffset(a){const{oneBasedLine:t_,zeroBasedColumn:s_}=this.root.charOffsetToLineInfo(1,a);return{line:t_,offset:s_+1}}positionToColumnAndLineText(a){return this.root.charOffsetToLineInfo(1,a)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(a){const t_=this.getLineCount();if(a<=t_){const{position:s_,leaf:o_}=this.root.lineNumberToInfo(a,0);return{absolutePosition:s_,lineText:o_&&o_.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(a){if(a.length>0){const t_=[];for(let s_=0;s_<a.length;s_++)t_[s_]=new l_e(a[s_]);this.root=j$e.buildTreeFromBottom(t_)}else this.root=new RZ}walk(a,t_,s_){this.root.walk(a,t_,s_)}getText(a,t_){let s_="";return t_>0&&a<this.root.charCount()&&this.walk(a,t_,{goSubtree:!0,done:!1,leaf:(o_,l_,f_)=>{s_=s_.concat(f_.text.substring(o_,o_+l_))}}),s_}getLength(){return this.root.charCount()}every(a,t_,s_){s_||(s_=this.root.charCount());const o_={goSubtree:!0,done:!1,leaf(l_,f_,m_){a(m_,l_,f_)||(this.done=!0)}};return this.walk(t_,s_-t_,o_),!o_.done}edit(a,t_,s_){if(this.root.charCount()===0)return V_.assert(t_===0),s_!==void 0?(this.load(j$e.linesFromText(s_).lines),this):void 0;{let o_;if(this.checkEdits){const m_=this.getText(0,this.root.charCount());o_=m_.slice(0,a)+s_+m_.slice(a+t_)}const l_=new xTt;let f_=!1;if(a>=this.root.charCount()){a=this.root.charCount()-1;const m_=this.getText(a,1);s_?s_=m_+s_:s_=m_,t_=0,f_=!0}else if(t_>0){const m_=a+t_,{zeroBasedColumn:__,lineText:S_}=this.positionToColumnAndLineText(m_);__===0&&(t_+=S_.length,s_=s_?s_+S_:S_)}if(this.root.walk(a,t_,l_),l_.insertLines(s_,f_),this.checkEdits){const m_=l_.lineIndex.getText(0,l_.lineIndex.getLength());V_.assert(o_===m_,"buffer edit mismatch")}return l_.lineIndex}}static buildTreeFromBottom(a){if(a.length<$Z)return new RZ(a);const t_=new Array(Math.ceil(a.length/$Z));let s_=0;for(let o_=0;o_<t_.length;o_++){const l_=Math.min(s_+$Z,a.length);t_[o_]=new RZ(a.slice(s_,l_)),s_=l_}return this.buildTreeFromBottom(t_)}static linesFromText(a){const t_=a9(a);if(t_.length===0)return{lines:[],lineMap:t_};const s_=new Array(t_.length),o_=t_.length-1;for(let f_=0;f_<o_;f_++)s_[f_]=a.substring(t_[f_],t_[f_+1]);const l_=a.substring(t_[o_]);return l_.length>0?s_[o_]=l_:s_.pop(),{lines:s_,lineMap:t_}}},RZ=class B$e{constructor(a=[]){this.children=a,this.totalChars=0,this.totalLines=0,a.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const a of this.children)this.totalChars+=a.charCount(),this.totalLines+=a.lineCount()}execWalk(a,t_,s_,o_,l_){return s_.pre&&s_.pre(a,t_,this.children[o_],this,l_),s_.goSubtree?(this.children[o_].walk(a,t_,s_),s_.post&&s_.post(a,t_,this.children[o_],this,l_)):s_.goSubtree=!0,s_.done}skipChild(a,t_,s_,o_,l_){o_.pre&&!o_.done&&(o_.pre(a,t_,this.children[s_],this,l_),o_.goSubtree=!0)}walk(a,t_,s_){if(this.children.length===0)return;let o_=0,l_=this.children[o_].charCount(),f_=a;for(;f_>=l_;)this.skipChild(f_,t_,o_,s_,0),f_-=l_,o_++,l_=this.children[o_].charCount();if(f_+t_<=l_){if(this.execWalk(f_,t_,s_,o_,2))return}else{if(this.execWalk(f_,l_-f_,s_,o_,1))return;let m_=t_-(l_-f_);for(o_++,l_=this.children[o_].charCount();m_>l_;){if(this.execWalk(0,l_,s_,o_,3))return;m_-=l_,o_++,l_=this.children[o_].charCount()}if(m_>0&&this.execWalk(0,m_,s_,o_,4))return}if(s_.pre){const m_=this.children.length;if(o_<m_-1)for(let __=o_+1;__<m_;__++)this.skipChild(0,0,__,s_,5)}}charOffsetToLineInfo(a,t_){if(this.children.length===0)return{oneBasedLine:a,zeroBasedColumn:t_,lineText:void 0};for(const l_ of this.children){if(l_.charCount()>t_)return l_.isLeaf()?{oneBasedLine:a,zeroBasedColumn:t_,lineText:l_.text}:l_.charOffsetToLineInfo(a,t_);t_-=l_.charCount(),a+=l_.lineCount()}const s_=this.lineCount();if(s_===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const o_=V_.checkDefined(this.lineNumberToInfo(s_,0).leaf);return{oneBasedLine:s_,zeroBasedColumn:o_.charCount(),lineText:void 0}}lineNumberToInfo(a,t_){for(const s_ of this.children){const o_=s_.lineCount();if(o_>=a)return s_.isLeaf()?{position:t_,leaf:s_}:s_.lineNumberToInfo(a,t_);a-=o_,t_+=s_.charCount()}return{position:t_,leaf:void 0}}splitAfter(a){let t_;const s_=this.children.length;a++;const o_=a;if(a<s_){for(t_=new B$e;a<s_;)t_.add(this.children[a]),a++;t_.updateCounts()}return this.children.length=o_,t_}remove(a){const t_=this.findChildIndex(a),s_=this.children.length;if(t_<s_-1)for(let o_=t_;o_<s_-1;o_++)this.children[o_]=this.children[o_+1];this.children.pop()}findChildIndex(a){const t_=this.children.indexOf(a);return V_.assert(t_!==-1),t_}insertAt(a,t_){let s_=this.findChildIndex(a);const o_=this.children.length,l_=t_.length;if(o_<$Z&&s_===o_-1&&l_===1)return this.add(t_[0]),this.updateCounts(),[];{const f_=this.splitAfter(s_);let m_=0;for(s_++;s_<$Z&&m_<l_;)this.children[s_]=t_[m_],s_++,m_++;let __=[],S_=0;if(m_<l_){S_=Math.ceil((l_-m_)/$Z),__=new Array(S_);let b_=0;for(let N_=0;N_<S_;N_++)__[N_]=new B$e;let E_=__[0];for(;m_<l_;)E_.add(t_[m_]),m_++,E_.children.length===$Z&&(b_++,E_=__[b_]);for(let N_=__.length-1;N_>=0;N_--)__[N_].children.length===0&&__.pop()}f_&&__.push(f_),this.updateCounts();for(let b_=0;b_<S_;b_++)__[b_].updateCounts();return __}}add(a){this.children.push(a),V_.assert(this.children.length<=$Z)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},l_e=class{constructor(s){this.text=s}isLeaf(){return!0}walk(s,a,t_){t_.leaf(s,a,this)}charCount(){return this.text.length}lineCount(){return 1}},pQe=class fst{constructor(a,t_,s_,o_,l_,f_){this.telemetryEnabled=a,this.logger=t_,this.host=s_,this.globalTypingsCacheLocation=o_,this.event=l_,this.maxActiveRequestCount=f_,this.activeRequestCount=0,this.requestQueue=AC(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(a){var t_;return fJ.validatePackageName(a)!==fJ.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((t_=this.typesRegistryCache)!=null&&t_.has(a)))}installPackage(a){this.packageInstallId++;const t_={kind:"installPackage",...a,id:this.packageInstallId},s_=new Promise((o_,l_)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:o_,reject:l_})});return this.installer.send(t_),s_}attach(a){this.projectService=a,this.installer=this.createInstallerProcess()}onProjectClosed(a){this.installer.send({projectName:a.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(a,t_,s_){const o_=a7e(a,t_,s_);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${VV(o_)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(o_):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${o_.projectName}`),this.requestQueue.enqueue(o_),this.requestMap.set(o_.projectName,o_))}handleMessage(a){var t_,s_;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${VV(a)}`),a.kind){case dve:this.typesRegistryCache=new Map(Object.entries(a.typesRegistry));break;case kpe:{const o_=(t_=this.packageInstalledPromise)==null?void 0:t_.get(a.id);V_.assertIsDefined(o_,"Should find the promise for package install"),(s_=this.packageInstalledPromise)==null||s_.delete(a.id),a.success?o_.resolve({successMessage:a.message}):o_.reject(a.message),this.projectService.updateTypingsForProject(a),this.event(a,"setTypings");break}case l6e:{const o_={message:a.message};this.event(o_,"typesInstallerInitializationFailed");break}case _ve:{const o_={eventId:a.eventId,packages:a.packagesToInstall};this.event(o_,"beginInstallTypes");break}case mve:{if(this.telemetryEnabled){const f_={telemetryEventName:"typingsInstalled",payload:{installedPackages:a.packagesToInstall.join(","),installSuccess:a.installSuccess,typingsInstallerVersion:a.typingsInstallerVersion}};this.event(f_,"telemetry")}const o_={eventId:a.eventId,packages:a.packagesToInstall,success:a.installSuccess};this.event(o_,"endInstallTypes");break}case Ape:{this.projectService.updateTypingsForProject(a);break}case Epe:{for(this.activeRequestCount>0?this.activeRequestCount--:V_.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const o_=this.requestQueue.dequeue();if(this.requestMap.get(o_.projectName)===o_){this.requestMap.delete(o_.projectName),this.scheduleRequest(o_);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${o_.projectName}`)}this.projectService.updateTypingsForProject(a),this.event(a,"setTypings");break}case mae:this.projectService.watchTypingLocations(a);break}}scheduleRequest(a){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${a.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${VV(a)}`),this.installer.send(a)},fst.requestDelayMillis,`${a.projectName}::${a.kind}`)}};pQe.requestDelayMillis=100;var dQe=pQe,_Qe={};a_(_Qe,{ActionInvalidate:()=>Ape,ActionPackageInstalled:()=>kpe,ActionSet:()=>Epe,ActionWatchTypingLocations:()=>mae,Arguments:()=>gve,AutoImportProviderProject:()=>A7e,AuxiliaryProject:()=>D7e,CharRangeSection:()=>Z7e,CloseFileWatcherEvent:()=>Fbe,CommandNames:()=>ZYe,ConfigFileDiagEvent:()=>kbe,ConfiguredProject:()=>k7e,ConfiguredProjectLoadKind:()=>O7e,CreateDirectoryWatcherEvent:()=>Nbe,CreateFileWatcherEvent:()=>Pbe,Errors:()=>FM,EventBeginInstallTypes:()=>_ve,EventEndInstallTypes:()=>mve,EventInitializationFailed:()=>l6e,EventTypesRegistry:()=>dve,ExternalProject:()=>Sbe,GcTimer:()=>d7e,InferredProject:()=>C7e,LargeFileReferencedEvent:()=>Abe,LineIndex:()=>boe,LineLeaf:()=>l_e,LineNode:()=>RZ,LogLevel:()=>i7e,Msg:()=>s7e,OpenFileInfoTelemetryEvent:()=>I7e,Project:()=>$X,ProjectInfoTelemetryEvent:()=>wbe,ProjectKind:()=>Qre,ProjectLanguageServiceStateEvent:()=>Ibe,ProjectLoadingFinishEvent:()=>Ebe,ProjectLoadingStartEvent:()=>Dbe,ProjectService:()=>z7e,ProjectsUpdatedInBackgroundEvent:()=>a_e,ScriptInfo:()=>h7e,ScriptVersionCache:()=>qbe,Session:()=>oQe,TextStorage:()=>g7e,ThrottledOperations:()=>p7e,TypingsInstallerAdapter:()=>dQe,allFilesAreJsOrDts:()=>b7e,allRootFilesAreJsOrDts:()=>x7e,asNormalizedPath:()=>DYe,convertCompilerOptions:()=>o_e,convertFormatOptions:()=>FZ,convertScriptKindName:()=>$be,convertTypeAcquisition:()=>P7e,convertUserPreferences:()=>N7e,convertWatchOptions:()=>voe,countEachFileTypes:()=>moe,createInstallTypingsRequest:()=>a7e,createModuleSpecifierCache:()=>W7e,createNormalizedPathMap:()=>EYe,createPackageJsonCache:()=>H7e,createSortedArray:()=>f7e,emptyArray:()=>WP,findArgument:()=>DBe,formatDiagnosticToProtocol:()=>xoe,formatMessage:()=>G7e,getBaseConfigFileName:()=>bbe,getDetailWatchInfo:()=>jbe,getLocationInNewDocument:()=>Q7e,hasArgument:()=>CBe,hasNoTypeScriptSource:()=>S7e,indent:()=>Tre,isBackgroundProject:()=>hoe,isConfigFile:()=>U7e,isConfiguredProject:()=>jL,isDynamicFileName:()=>Yre,isExternalProject:()=>goe,isInferredProject:()=>NZ,isInferredProjectName:()=>o7e,isProjectDeferredClose:()=>yoe,makeAutoImportProviderProjectName:()=>l7e,makeAuxiliaryProjectName:()=>u7e,makeInferredProjectName:()=>c7e,maxFileSize:()=>Cbe,maxProgramSizeForNonTsFiles:()=>Tbe,normalizedPathToPath:()=>PZ,nowString:()=>EBe,nullCancellationToken:()=>XYe,nullTypingsInstaller:()=>c_e,protocol:()=>_7e,scriptInfoIsContainedByBackgroundProject:()=>y7e,scriptInfoIsContainedByDeferredClosedProject:()=>v7e,stringifyIndented:()=>VV,toEvent:()=>K7e,toNormalizedPath:()=>_w,tryConvertScriptKindName:()=>Obe,typingsInstaller:()=>n7e,updateProjectIfDirty:()=>wO}),typeof console<"u"&&(V_.loggingHost={log(s,a){switch(s){case 1:return console.error(a);case 2:return console.warn(a);case 3:return console.log(a);case 4:return console.log(a)}}})})({get exports(){return ts},set exports(o){ts=o,module.exports&&(module.exports=o)}})})(typescript);var typescriptExports=typescript.exports;const ts$1=getDefaultExportFromCjs(typescriptExports);var Escaper;(function(o){o.variable=r_=>o.reserved(r_)===!1&&/^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(r_),o.reserved=r_=>RESERVED$1.has(r_)})(Escaper||(Escaper={}));const RESERVED$1=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","module","new","null","package","public","private","protected","return","super","switch","this","throw","true","try","typeof","var","void","while","with"]);var TypeFactory;(function(o){o.isFunction=u_=>o.getFunction(u_)!==null,o.getFunction=u_=>{var h_,D_;const d_=(D_=(h_=u_.symbol)==null?void 0:h_.declarations)==null?void 0:D_[0];return d_===void 0?null:ts$1.isFunctionLike(d_)?d_:(ts$1.isPropertyAssignment(d_)||ts$1.isPropertyDeclaration(d_))&&ts$1.isFunctionLike(d_.initializer)?d_.initializer:null},o.getReturnTypeOfClassMethod=u_=>{const d_=u_.class.getProperty(u_.function);if(d_){if(!d_.valueDeclaration)return null}else return null;const h_=u_.checker.getTypeOfSymbolAtLocation(d_,d_.valueDeclaration),D_=u_.checker.getSignaturesOfType(h_,ts$1.SignatureKind.Call)[0];return D_?D_.getReturnType():null},o.getFullName=u_=>{const d_=u_.symbol??u_.type.aliasSymbol??u_.type.getSymbol();if(d_===void 0)return u_.checker.typeToString(u_.type);if(u_.type.aliasSymbol===void 0&&u_.type.isUnionOrIntersection()){const I_=u_.type.isIntersection()?" & ":" | ";return u_.type.types.map(T_=>o.getFullName({checker:u_.checker,type:T_})).join(I_)}const h_=a_(d_),D_=u_.type.aliasSymbol?u_.type.aliasTypeArguments??[]:u_.checker.getTypeArguments(u_.type);return D_.length?h_==="Promise"?o.getFullName({checker:u_.checker,type:D_[0]}):`${h_}<${D_.map(I_=>o.getFullName({checker:u_.checker,type:I_})).join(", ")}>`:h_};const r_=u_=>ts$1.isModuleBlock(u_.node)?r_({node:u_.node.parent.parent,name:`${u_.node.parent.name.getFullText().trim()}.${u_.name}`}):u_.name,a_=u_=>{var h_,D_;const d_=(D_=(h_=u_.getDeclarations())==null?void 0:h_[0])==null?void 0:D_.parent;return d_?r_({node:d_,name:u_.escapedName.toString()}):"__type"};o.keyword=u_=>ts$1.factory.createKeywordTypeNode(u_==="void"?ts$1.SyntaxKind.VoidKeyword:u_==="any"?ts$1.SyntaxKind.AnyKeyword:u_==="unknown"?ts$1.SyntaxKind.UnknownKeyword:u_==="boolean"?ts$1.SyntaxKind.BooleanKeyword:u_==="number"?ts$1.SyntaxKind.NumberKeyword:u_==="bigint"?ts$1.SyntaxKind.BigIntKeyword:ts$1.SyntaxKind.StringKeyword)})(TypeFactory||(TypeFactory={}));var IdentifierFactory;(function(o){o.identifier=r_=>Escaper.variable(r_)?ts$1.factory.createIdentifier(r_):ts$1.factory.createStringLiteral(r_),o.access=(r_,a_,u_)=>{const d_=o.identifier(a_);return ts$1.isStringLiteral(d_)?u_===!0?ts$1.factory.createElementAccessChain(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionDotToken),d_):ts$1.factory.createElementAccessExpression(r_,d_):u_===!0?ts$1.factory.createPropertyAccessChain(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionDotToken),d_):ts$1.factory.createPropertyAccessExpression(r_,d_)},o.getName=r_=>{var u_;const a_=(u_=r_.escapedText)==null?void 0:u_.toString();return typeof a_=="string"?a_:ts$1.isPropertyAccessExpression(r_)?`${o.getName(r_.expression)}.${r_.name.escapedText.toString()}`:ts$1.isElementAccessExpression(r_)?`${o.getName(r_.expression)}[${o.getName(r_.argumentExpression)}]`:"unknown"},o.postfix=r_=>Escaper.variable(r_)?`".${r_}"`:`"[${JSON.stringify(r_).split('"').join('\\"')}]"`,o.parameter=(r_,a_,u_)=>ts$1.getDecorators!==void 0?ts$1.factory.createParameterDeclaration(void 0,void 0,r_,(u_==null?void 0:u_.kind)===ts$1.SyntaxKind.QuestionToken?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,a_??TypeFactory.keyword("any"),u_&&u_.kind!==ts$1.SyntaxKind.QuestionToken?u_:void 0):ts$1.factory.createParameterDeclaration(void 0,void 0,void 0,r_,(u_==null?void 0:u_.kind)===ts$1.SyntaxKind.QuestionToken?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,a_,u_&&u_.kind!==ts$1.SyntaxKind.QuestionToken?u_:void 0)})(IdentifierFactory||(IdentifierFactory={}));const RegexCall=o=>`${o}.test($input)`,FormatCheatSheet={byte:RegexCall("/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm"),password:"true",regex:"(() => { try { new RegExp($input); return true; } catch { return false; } })()",uuid:RegexCall("/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i"),email:RegexCall("/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i"),hostname:RegexCall("/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i"),"idn-email":RegexCall('/^(([^<>()[\\]\\.,;:\\s@\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\"]+)*)|(\\".+\\"))@(([^<>()[\\]\\.,;:\\s@\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\"]{2,})$/i'),"idn-hostname":RegexCall("/^([a-z0-9\\u00a1-\\uffff0-9]+(-[a-z0-9\\u00a1-\\uffff0-9]+)*\\.)+[a-z\\u00a1-\\uffff]{2,}$/i"),iri:RegexCall('/^[A-Za-z][\\d+-.A-Za-z]*:[^\\u0000-\\u0020"<>\\\\^`{|}]*$/u'),"iri-reference":RegexCall('/^[A-Za-z][\\d+-.A-Za-z]*:[^\\u0000-\\u0020"<>\\\\^`{|}]*$/u'),ipv4:RegexCall("/^(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)$/"),ipv6:RegexCall("/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))$/i"),uri:`${RegexCall("/\\/|:/")} && ${RegexCall("/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i")}`,"uri-reference":RegexCall(`/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i`),"uri-template":RegexCall("/^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i"),url:RegexCall("/^(?:https?|ftp):\\/\\/(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)(?:\\.(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu"),"date-time":RegexCall("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T|\\s)([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i"),date:RegexCall("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/"),time:RegexCall("/^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i"),duration:RegexCall("/^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$/"),"json-pointer":RegexCall("/^(?:\\/(?:[^~/]|~0|~1)*)*$/"),"relative-json-pointer":RegexCall("/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/")},_randomFormatUuid=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,o=>{const r_=Math.random()*16|0;return(o==="x"?r_:r_&3|8).toString(16)});var ExpressionFactory;(function(o){o.number=r_=>r_<0?ts$1.factory.createPrefixUnaryExpression(ts$1.SyntaxKind.MinusToken,ts$1.factory.createNumericLiteral(Math.abs(r_))):ts$1.factory.createNumericLiteral(r_),o.bigint=r_=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("BigInt"),void 0,[ts$1.factory.createIdentifier(r_.toString())]),o.isRequired=r_=>ts$1.factory.createStrictInequality(ts$1.factory.createIdentifier("undefined"),r_),o.isArray=r_=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[r_]),o.isObject=r_=>{const a_=[ts$1.factory.createStrictEquality(ts$1.factory.createStringLiteral("object"),ts$1.factory.createTypeOfExpression(r_.input))];return r_.checkNull===!0&&a_.push(ts$1.factory.createStrictInequality(ts$1.factory.createNull(),r_.input)),r_.checkArray===!0&&a_.push(ts$1.factory.createStrictEquality(ts$1.factory.createFalse(),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[r_.input]))),a_.length===1?a_[0]:a_.reduce((u_,d_)=>ts$1.factory.createLogicalAnd(u_,d_))},o.isInstanceOf=(r_,a_)=>ts$1.factory.createBinaryExpression(a_,ts$1.factory.createToken(ts$1.SyntaxKind.InstanceOfKeyword),ts$1.factory.createIdentifier(r_)),o.coalesce=(r_,a_)=>ts$1.factory.createBinaryExpression(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionToken),a_),o.currying=r_=>{if(r_.arguments.length===0)return ts$1.factory.createCallExpression(r_.function,void 0,void 0);let a_=ts$1.factory.createCallExpression(r_.function,void 0,[r_.arguments[0]]);for(const u_ of r_.arguments.slice(1))a_=ts$1.factory.createCallExpression(a_,void 0,[u_]);return a_},o.selfCall=r_=>ts$1.isCallExpression(r_)?r_:ts$1.factory.createCallExpression(ts$1.factory.createParenthesizedExpression(ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,r_)),void 0,void 0),o.getEscapedText=r_=>r_.printer.printNode(ts$1.EmitHint.Expression,r_.input,r_.input.getSourceFile()),o.transpile=r_=>{const u_=ts$1.createSourceFile(`${_randomFormatUuid()}.ts`,r_.script,ts$1.ScriptTarget.ESNext,!0,ts$1.ScriptKind.TS).statements[0];if(u_===void 0)throw new ReferenceError("Error on ExpressionFactory.transpile(): no statement exists.");if(!ts$1.isExpressionStatement(u_))throw new TypeError("Error on ExpressionFactory.transpile(): statement is not an expression statement.");return d_=>{const h_=D_=>{if(ts$1.isIdentifier(D_)&&D_.text==="$input")return d_;if(r_.importer!==void 0&&ts$1.isCallExpression(D_)){if(D_.expression.getText()==="$importInternal"&&D_.arguments.length===1&&ts$1.isStringLiteralLike(D_.arguments[0])){const I_=D_.arguments[0].text;return r_.importer.internal(I_)}else if(D_.expression.getText()==="$importInstance"&&D_.arguments.length===2&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.instance({file:T_,name:I_,alias:null})}else if(D_.expression.getText()==="$importNamespace"&&D_.arguments.length===2&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.namespace({file:T_,name:I_})}else if(D_.expression.getText()==="$importDefault"&&D_.arguments.length===3&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.default({file:T_,name:I_,type:!1})}}return ts$1.visitEachChild(ts$1.factory.cloneNode(D_),h_,r_.transformer)};return h_(ts$1.factory.cloneNode(u_.expression))}}})(ExpressionFactory||(ExpressionFactory={}));var LiteralFactory;(function(o){o.write=I_=>{if(I_===null)return ts$1.factory.createNull();if(ts$1.isArrowFunction(I_))return I_;if(ts$1.isCallExpression(I_))return I_;if(ts$1.isIdentifier(I_))return I_;if(I_ instanceof Array)return a_(I_);if(typeof I_=="object")return r_(I_);if(typeof I_=="boolean")return u_(I_);if(typeof I_=="bigint")return h_(I_);if(typeof I_=="number")return d_(I_);if(typeof I_=="string")return D_(I_);if(typeof I_=="function")return ts$1.factory.createIdentifier("undefined");throw new TypeError("Error on LiteralFactory.generate(): unknown type.")};const r_=I_=>ts$1.factory.createObjectLiteralExpression(Object.entries(I_).filter(T_=>T_[1]!==void 0).map(([T_,R_])=>ts$1.factory.createPropertyAssignment(IdentifierFactory.identifier(T_),o.write(R_))),!0),a_=I_=>ts$1.factory.createArrayLiteralExpression(I_.map(o.write),!0),u_=I_=>I_?ts$1.factory.createTrue():ts$1.factory.createFalse(),d_=I_=>ExpressionFactory.number(I_),h_=I_=>ExpressionFactory.bigint(I_),D_=I_=>ts$1.factory.createStringLiteral(I_)})(LiteralFactory||(LiteralFactory={}));var StatementFactory;(function(o){o.mut=r_=>ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(r_.name,void 0,r_.type!==void 0?r_.type:r_.initializer===void 0?TypeFactory.keyword("any"):void 0,r_.initializer)],ts$1.NodeFlags.Let)),o.constant=r_=>ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(r_.name,void 0,r_.type!==void 0?r_.type:r_.value===void 0?TypeFactory.keyword("any"):void 0,r_.value)],ts$1.NodeFlags.Const)),o.entry=r_=>ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createArrayBindingPattern([ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier(r_.key),void 0),ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier(r_.value),void 0)]),void 0,void 0,void 0)],ts$1.NodeFlags.Const),o.transpile=r_=>ts$1.factory.createExpressionStatement(ts$1.factory.createIdentifier(ts$1.transpile(r_))),o.block=r_=>ts$1.factory.createBlock([ts$1.factory.createExpressionStatement(r_)],!0)})(StatementFactory||(StatementFactory={}));var MigrateApplicationAnalyzer;(function(o){o.analyze=r_=>{const a_=HttpMigration.application(r_.document);return{...r_,routes:a_.routes,errors:a_.errors}}})(MigrateApplicationAnalyzer||(MigrateApplicationAnalyzer={}));const NEST_TEMPLATE=[{location:"",file:".env.local",content:"API_PORT=37001"},{location:"",file:".eslintrc.cjs",content:`module.exports = {
756
+ `+F_.stack)}finally{this.performanceData=b_}}parseMessage(a){return JSON.parse(a)}toStringMessage(a){return a}getFormatOptions(a){return this.projectService.getFormatCodeOptions(a)}getPreferences(a){return this.projectService.getPreferences(a)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function cQe(s){const a=s.diagnosticsDuration&&LC(s.diagnosticsDuration,([t_,s_])=>({...s_,file:t_}));return{...s,diagnosticsDuration:a}}function E$(s,a){return{start:a.positionToLineOffset(s.start),end:a.positionToLineOffset(C_(s))}}function Y7e(s,a,t_){const s_=E$(s,t_),o_=a&&E$(a,t_);return o_?{...s_,contextStart:o_.start,contextEnd:o_.end}:s_}function dTt(s,a){return{start:lQe(a,s.span.start),end:lQe(a,C_(s.span)),newText:s.newText}}function lQe(s,a){return U7e(s)?mTt(s.getLineAndCharacterOfPosition(a)):s.positionToLineOffset(a)}function _Tt(s,a){const t_=s.ranges.map(s_=>({start:a.positionToLineOffset(s_.start),end:a.positionToLineOffset(s_.start+s_.length)}));return s.wordPattern?{ranges:t_,wordPattern:s.wordPattern}:{ranges:t_}}function mTt(s){return{line:s.line+1,offset:s.character+1}}function gTt(s){V_.assert(s.textChanges.length===1);const a=MC(s.textChanges);return V_.assert(a.span.start===0&&a.span.length===0),{fileName:s.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:a.newText}]}}function Q7e(s,a,t_,s_){const o_=hTt(s,a,s_),{line:l_,character:f_}=dL(a9(o_),t_);return{line:l_+1,offset:f_+1}}function hTt(s,a,t_){for(const{fileName:s_,textChanges:o_}of t_)if(s_===a)for(let l_=o_.length-1;l_>=0;l_--){const{newText:f_,span:{start:m_,length:__}}=o_[l_];s=s.slice(0,m_)+f_+s.slice(m_+__)}return s}function uQe(s,{fileName:a,textSpan:t_,contextSpan:s_,isWriteAccess:o_,isDefinition:l_},{disableLineTextInReferences:f_}){const m_=V_.checkDefined(s.getScriptInfo(a)),__=Y7e(t_,s_,m_),S_=f_?void 0:yTt(m_,__);return{file:a,...__,lineText:S_,isWriteAccess:o_,isDefinition:l_}}function yTt(s,a){const t_=s.lineToTextSpan(a.start.line-1);return s.getSnapshot().getText(t_.start,C_(t_)).replace(/\r|\n/g,"")}function vTt(s){return s===void 0||s&&typeof s=="object"&&typeof s.exportName=="string"&&(s.fileName===void 0||typeof s.fileName=="string")&&(s.ambientModuleName===void 0||typeof s.ambientModuleName=="string"&&(s.isPackageJsonImport===void 0||typeof s.isPackageJsonImport=="boolean"))}var $Z=4,Z7e=(s=>(s[s.PreStart=0]="PreStart",s[s.Start=1]="Start",s[s.Entire=2]="Entire",s[s.Mid=3]="Mid",s[s.End=4]="End",s[s.PostEnd=5]="PostEnd",s))(Z7e||{}),xTt=class{constructor(){this.goSubtree=!0,this.lineIndex=new boe,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new RZ,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(s,a){a&&(this.trailingText=""),s?s=this.initialText+s+this.trailingText:s=this.initialText+this.trailingText;const s_=boe.linesFromText(s).lines;s_.length>1&&s_[s_.length-1]===""&&s_.pop();let o_,l_;for(let m_=this.endBranch.length-1;m_>=0;m_--)this.endBranch[m_].updateCounts(),this.endBranch[m_].charCount()===0&&(l_=this.endBranch[m_],m_>0?o_=this.endBranch[m_-1]:o_=this.branchNode);l_&&o_.remove(l_);const f_=this.startPath[this.startPath.length-1];if(s_.length>0)if(f_.text=s_[0],s_.length>1){let m_=new Array(s_.length-1),__=f_;for(let E_=1;E_<s_.length;E_++)m_[E_-1]=new l_e(s_[E_]);let S_=this.startPath.length-2;for(;S_>=0;){const E_=this.startPath[S_];m_=E_.insertAt(__,m_),S_--,__=E_}let b_=m_.length;for(;b_>0;){const E_=new RZ;E_.add(this.lineIndex.root),m_=E_.insertAt(this.lineIndex.root,m_),b_=m_.length,this.lineIndex.root=E_}this.lineIndex.root.updateCounts()}else for(let m_=this.startPath.length-2;m_>=0;m_--)this.startPath[m_].updateCounts();else{this.startPath[this.startPath.length-2].remove(f_);for(let __=this.startPath.length-2;__>=0;__--)this.startPath[__].updateCounts()}return this.lineIndex}post(s,a,t_){t_===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(s,a,t_,s_,o_){const l_=this.stack[this.stack.length-1];this.state===2&&o_===1&&(this.state=1,this.branchNode=l_,this.lineCollectionAtBranch=t_);let f_;function m_(__){return __.isLeaf()?new l_e(""):new RZ}switch(o_){case 0:this.goSubtree=!1,this.state!==4&&l_.add(t_);break;case 1:this.state===4?this.goSubtree=!1:(f_=m_(t_),l_.add(f_),this.startPath.push(f_));break;case 2:this.state!==4?(f_=m_(t_),l_.add(f_),this.startPath.push(f_)):t_.isLeaf()||(f_=m_(t_),l_.add(f_),this.endBranch.push(f_));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:t_.isLeaf()||(f_=m_(t_),l_.add(f_),this.endBranch.push(f_));break;case 5:this.goSubtree=!1,this.state!==1&&l_.add(t_);break}this.goSubtree&&this.stack.push(f_)}leaf(s,a,t_){this.state===1?this.initialText=t_.text.substring(0,s):this.state===2?(this.initialText=t_.text.substring(0,s),this.trailingText=t_.text.substring(s+a)):this.trailingText=t_.text.substring(s+a)}},bTt=class{constructor(s,a,t_){this.pos=s,this.deleteLen=a,this.insertedText=t_}getTextChangeRange(){return dF(jP(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},Ube=class PG{constructor(){this.changes=[],this.versions=new Array(PG.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(a){if(!(a<this.minVersion||a>this.currentVersion))return a%PG.maxVersions}currentVersionToIndex(){return this.currentVersion%PG.maxVersions}edit(a,t_,s_){this.changes.push(new bTt(a,t_,s_)),(this.changes.length>PG.changeNumberThreshold||t_>PG.changeLengthThreshold||s_&&s_.length>PG.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let a=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let t_=a.index;for(const s_ of this.changes)t_=t_.edit(s_.pos,s_.deleteLen,s_.insertedText);a=new fQe(this.currentVersion+1,this,t_,this.changes),this.currentVersion=a.version,this.versions[this.currentVersionToIndex()]=a,this.changes=[],this.currentVersion-this.minVersion>=PG.maxVersions&&(this.minVersion=this.currentVersion-PG.maxVersions+1)}return a}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(a){return this._getSnapshot().index.lineNumberToInfo(a)}lineOffsetToPosition(a,t_){return this._getSnapshot().index.absolutePositionOfStartOfLine(a)+(t_-1)}positionToLineOffset(a){return this._getSnapshot().index.positionToLineOffset(a)}lineToTextSpan(a){const t_=this._getSnapshot().index,{lineText:s_,absolutePosition:o_}=t_.lineNumberToInfo(a+1),l_=s_!==void 0?s_.length:t_.absolutePositionOfStartOfLine(a+2)-o_;return jP(o_,l_)}getTextChangesBetweenVersions(a,t_){if(a<t_)if(a>=this.minVersion){const s_=[];for(let o_=a+1;o_<=t_;o_++){const l_=this.versions[this.versionToIndex(o_)];for(const f_ of l_.changesSincePreviousVersion)s_.push(f_.getTextChangeRange())}return cR(s_)}else return;else return oR}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(a){const t_=new PG,s_=new fQe(0,t_,new boe);t_.versions[t_.currentVersion]=s_;const o_=boe.linesFromText(a);return s_.index.load(o_.lines),t_}};Ube.changeNumberThreshold=8,Ube.changeLengthThreshold=256,Ube.maxVersions=8;var qbe=Ube,fQe=class ust{constructor(a,t_,s_,o_=WP){this.version=a,this.cache=t_,this.index=s_,this.changesSincePreviousVersion=o_}getText(a,t_){return this.index.getText(a,t_-a)}getLength(){return this.index.getLength()}getChangeRange(a){if(a instanceof ust&&this.cache===a.cache)return this.version<=a.version?oR:this.cache.getTextChangesBetweenVersions(a.version,this.version)}},boe=class j$e{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(a){return this.lineNumberToInfo(a).absolutePosition}positionToLineOffset(a){const{oneBasedLine:t_,zeroBasedColumn:s_}=this.root.charOffsetToLineInfo(1,a);return{line:t_,offset:s_+1}}positionToColumnAndLineText(a){return this.root.charOffsetToLineInfo(1,a)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(a){const t_=this.getLineCount();if(a<=t_){const{position:s_,leaf:o_}=this.root.lineNumberToInfo(a,0);return{absolutePosition:s_,lineText:o_&&o_.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(a){if(a.length>0){const t_=[];for(let s_=0;s_<a.length;s_++)t_[s_]=new l_e(a[s_]);this.root=j$e.buildTreeFromBottom(t_)}else this.root=new RZ}walk(a,t_,s_){this.root.walk(a,t_,s_)}getText(a,t_){let s_="";return t_>0&&a<this.root.charCount()&&this.walk(a,t_,{goSubtree:!0,done:!1,leaf:(o_,l_,f_)=>{s_=s_.concat(f_.text.substring(o_,o_+l_))}}),s_}getLength(){return this.root.charCount()}every(a,t_,s_){s_||(s_=this.root.charCount());const o_={goSubtree:!0,done:!1,leaf(l_,f_,m_){a(m_,l_,f_)||(this.done=!0)}};return this.walk(t_,s_-t_,o_),!o_.done}edit(a,t_,s_){if(this.root.charCount()===0)return V_.assert(t_===0),s_!==void 0?(this.load(j$e.linesFromText(s_).lines),this):void 0;{let o_;if(this.checkEdits){const m_=this.getText(0,this.root.charCount());o_=m_.slice(0,a)+s_+m_.slice(a+t_)}const l_=new xTt;let f_=!1;if(a>=this.root.charCount()){a=this.root.charCount()-1;const m_=this.getText(a,1);s_?s_=m_+s_:s_=m_,t_=0,f_=!0}else if(t_>0){const m_=a+t_,{zeroBasedColumn:__,lineText:S_}=this.positionToColumnAndLineText(m_);__===0&&(t_+=S_.length,s_=s_?s_+S_:S_)}if(this.root.walk(a,t_,l_),l_.insertLines(s_,f_),this.checkEdits){const m_=l_.lineIndex.getText(0,l_.lineIndex.getLength());V_.assert(o_===m_,"buffer edit mismatch")}return l_.lineIndex}}static buildTreeFromBottom(a){if(a.length<$Z)return new RZ(a);const t_=new Array(Math.ceil(a.length/$Z));let s_=0;for(let o_=0;o_<t_.length;o_++){const l_=Math.min(s_+$Z,a.length);t_[o_]=new RZ(a.slice(s_,l_)),s_=l_}return this.buildTreeFromBottom(t_)}static linesFromText(a){const t_=a9(a);if(t_.length===0)return{lines:[],lineMap:t_};const s_=new Array(t_.length),o_=t_.length-1;for(let f_=0;f_<o_;f_++)s_[f_]=a.substring(t_[f_],t_[f_+1]);const l_=a.substring(t_[o_]);return l_.length>0?s_[o_]=l_:s_.pop(),{lines:s_,lineMap:t_}}},RZ=class B$e{constructor(a=[]){this.children=a,this.totalChars=0,this.totalLines=0,a.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const a of this.children)this.totalChars+=a.charCount(),this.totalLines+=a.lineCount()}execWalk(a,t_,s_,o_,l_){return s_.pre&&s_.pre(a,t_,this.children[o_],this,l_),s_.goSubtree?(this.children[o_].walk(a,t_,s_),s_.post&&s_.post(a,t_,this.children[o_],this,l_)):s_.goSubtree=!0,s_.done}skipChild(a,t_,s_,o_,l_){o_.pre&&!o_.done&&(o_.pre(a,t_,this.children[s_],this,l_),o_.goSubtree=!0)}walk(a,t_,s_){if(this.children.length===0)return;let o_=0,l_=this.children[o_].charCount(),f_=a;for(;f_>=l_;)this.skipChild(f_,t_,o_,s_,0),f_-=l_,o_++,l_=this.children[o_].charCount();if(f_+t_<=l_){if(this.execWalk(f_,t_,s_,o_,2))return}else{if(this.execWalk(f_,l_-f_,s_,o_,1))return;let m_=t_-(l_-f_);for(o_++,l_=this.children[o_].charCount();m_>l_;){if(this.execWalk(0,l_,s_,o_,3))return;m_-=l_,o_++,l_=this.children[o_].charCount()}if(m_>0&&this.execWalk(0,m_,s_,o_,4))return}if(s_.pre){const m_=this.children.length;if(o_<m_-1)for(let __=o_+1;__<m_;__++)this.skipChild(0,0,__,s_,5)}}charOffsetToLineInfo(a,t_){if(this.children.length===0)return{oneBasedLine:a,zeroBasedColumn:t_,lineText:void 0};for(const l_ of this.children){if(l_.charCount()>t_)return l_.isLeaf()?{oneBasedLine:a,zeroBasedColumn:t_,lineText:l_.text}:l_.charOffsetToLineInfo(a,t_);t_-=l_.charCount(),a+=l_.lineCount()}const s_=this.lineCount();if(s_===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const o_=V_.checkDefined(this.lineNumberToInfo(s_,0).leaf);return{oneBasedLine:s_,zeroBasedColumn:o_.charCount(),lineText:void 0}}lineNumberToInfo(a,t_){for(const s_ of this.children){const o_=s_.lineCount();if(o_>=a)return s_.isLeaf()?{position:t_,leaf:s_}:s_.lineNumberToInfo(a,t_);a-=o_,t_+=s_.charCount()}return{position:t_,leaf:void 0}}splitAfter(a){let t_;const s_=this.children.length;a++;const o_=a;if(a<s_){for(t_=new B$e;a<s_;)t_.add(this.children[a]),a++;t_.updateCounts()}return this.children.length=o_,t_}remove(a){const t_=this.findChildIndex(a),s_=this.children.length;if(t_<s_-1)for(let o_=t_;o_<s_-1;o_++)this.children[o_]=this.children[o_+1];this.children.pop()}findChildIndex(a){const t_=this.children.indexOf(a);return V_.assert(t_!==-1),t_}insertAt(a,t_){let s_=this.findChildIndex(a);const o_=this.children.length,l_=t_.length;if(o_<$Z&&s_===o_-1&&l_===1)return this.add(t_[0]),this.updateCounts(),[];{const f_=this.splitAfter(s_);let m_=0;for(s_++;s_<$Z&&m_<l_;)this.children[s_]=t_[m_],s_++,m_++;let __=[],S_=0;if(m_<l_){S_=Math.ceil((l_-m_)/$Z),__=new Array(S_);let b_=0;for(let N_=0;N_<S_;N_++)__[N_]=new B$e;let E_=__[0];for(;m_<l_;)E_.add(t_[m_]),m_++,E_.children.length===$Z&&(b_++,E_=__[b_]);for(let N_=__.length-1;N_>=0;N_--)__[N_].children.length===0&&__.pop()}f_&&__.push(f_),this.updateCounts();for(let b_=0;b_<S_;b_++)__[b_].updateCounts();return __}}add(a){this.children.push(a),V_.assert(this.children.length<=$Z)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},l_e=class{constructor(s){this.text=s}isLeaf(){return!0}walk(s,a,t_){t_.leaf(s,a,this)}charCount(){return this.text.length}lineCount(){return 1}},pQe=class fst{constructor(a,t_,s_,o_,l_,f_){this.telemetryEnabled=a,this.logger=t_,this.host=s_,this.globalTypingsCacheLocation=o_,this.event=l_,this.maxActiveRequestCount=f_,this.activeRequestCount=0,this.requestQueue=AC(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(a){var t_;return fJ.validatePackageName(a)!==fJ.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((t_=this.typesRegistryCache)!=null&&t_.has(a)))}installPackage(a){this.packageInstallId++;const t_={kind:"installPackage",...a,id:this.packageInstallId},s_=new Promise((o_,l_)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:o_,reject:l_})});return this.installer.send(t_),s_}attach(a){this.projectService=a,this.installer=this.createInstallerProcess()}onProjectClosed(a){this.installer.send({projectName:a.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(a,t_,s_){const o_=a7e(a,t_,s_);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${VV(o_)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(o_):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${o_.projectName}`),this.requestQueue.enqueue(o_),this.requestMap.set(o_.projectName,o_))}handleMessage(a){var t_,s_;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${VV(a)}`),a.kind){case dve:this.typesRegistryCache=new Map(Object.entries(a.typesRegistry));break;case kpe:{const o_=(t_=this.packageInstalledPromise)==null?void 0:t_.get(a.id);V_.assertIsDefined(o_,"Should find the promise for package install"),(s_=this.packageInstalledPromise)==null||s_.delete(a.id),a.success?o_.resolve({successMessage:a.message}):o_.reject(a.message),this.projectService.updateTypingsForProject(a),this.event(a,"setTypings");break}case l6e:{const o_={message:a.message};this.event(o_,"typesInstallerInitializationFailed");break}case _ve:{const o_={eventId:a.eventId,packages:a.packagesToInstall};this.event(o_,"beginInstallTypes");break}case mve:{if(this.telemetryEnabled){const f_={telemetryEventName:"typingsInstalled",payload:{installedPackages:a.packagesToInstall.join(","),installSuccess:a.installSuccess,typingsInstallerVersion:a.typingsInstallerVersion}};this.event(f_,"telemetry")}const o_={eventId:a.eventId,packages:a.packagesToInstall,success:a.installSuccess};this.event(o_,"endInstallTypes");break}case Ape:{this.projectService.updateTypingsForProject(a);break}case Epe:{for(this.activeRequestCount>0?this.activeRequestCount--:V_.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const o_=this.requestQueue.dequeue();if(this.requestMap.get(o_.projectName)===o_){this.requestMap.delete(o_.projectName),this.scheduleRequest(o_);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${o_.projectName}`)}this.projectService.updateTypingsForProject(a),this.event(a,"setTypings");break}case mae:this.projectService.watchTypingLocations(a);break}}scheduleRequest(a){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${a.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${VV(a)}`),this.installer.send(a)},fst.requestDelayMillis,`${a.projectName}::${a.kind}`)}};pQe.requestDelayMillis=100;var dQe=pQe,_Qe={};a_(_Qe,{ActionInvalidate:()=>Ape,ActionPackageInstalled:()=>kpe,ActionSet:()=>Epe,ActionWatchTypingLocations:()=>mae,Arguments:()=>gve,AutoImportProviderProject:()=>A7e,AuxiliaryProject:()=>D7e,CharRangeSection:()=>Z7e,CloseFileWatcherEvent:()=>Fbe,CommandNames:()=>ZYe,ConfigFileDiagEvent:()=>kbe,ConfiguredProject:()=>k7e,ConfiguredProjectLoadKind:()=>O7e,CreateDirectoryWatcherEvent:()=>Nbe,CreateFileWatcherEvent:()=>Pbe,Errors:()=>FM,EventBeginInstallTypes:()=>_ve,EventEndInstallTypes:()=>mve,EventInitializationFailed:()=>l6e,EventTypesRegistry:()=>dve,ExternalProject:()=>Sbe,GcTimer:()=>d7e,InferredProject:()=>C7e,LargeFileReferencedEvent:()=>Abe,LineIndex:()=>boe,LineLeaf:()=>l_e,LineNode:()=>RZ,LogLevel:()=>i7e,Msg:()=>s7e,OpenFileInfoTelemetryEvent:()=>I7e,Project:()=>$X,ProjectInfoTelemetryEvent:()=>wbe,ProjectKind:()=>Qre,ProjectLanguageServiceStateEvent:()=>Ibe,ProjectLoadingFinishEvent:()=>Ebe,ProjectLoadingStartEvent:()=>Dbe,ProjectService:()=>z7e,ProjectsUpdatedInBackgroundEvent:()=>a_e,ScriptInfo:()=>h7e,ScriptVersionCache:()=>qbe,Session:()=>oQe,TextStorage:()=>g7e,ThrottledOperations:()=>p7e,TypingsInstallerAdapter:()=>dQe,allFilesAreJsOrDts:()=>b7e,allRootFilesAreJsOrDts:()=>x7e,asNormalizedPath:()=>DYe,convertCompilerOptions:()=>o_e,convertFormatOptions:()=>FZ,convertScriptKindName:()=>$be,convertTypeAcquisition:()=>P7e,convertUserPreferences:()=>N7e,convertWatchOptions:()=>voe,countEachFileTypes:()=>moe,createInstallTypingsRequest:()=>a7e,createModuleSpecifierCache:()=>W7e,createNormalizedPathMap:()=>EYe,createPackageJsonCache:()=>H7e,createSortedArray:()=>f7e,emptyArray:()=>WP,findArgument:()=>DBe,formatDiagnosticToProtocol:()=>xoe,formatMessage:()=>G7e,getBaseConfigFileName:()=>bbe,getDetailWatchInfo:()=>jbe,getLocationInNewDocument:()=>Q7e,hasArgument:()=>CBe,hasNoTypeScriptSource:()=>S7e,indent:()=>Tre,isBackgroundProject:()=>hoe,isConfigFile:()=>U7e,isConfiguredProject:()=>jL,isDynamicFileName:()=>Yre,isExternalProject:()=>goe,isInferredProject:()=>NZ,isInferredProjectName:()=>o7e,isProjectDeferredClose:()=>yoe,makeAutoImportProviderProjectName:()=>l7e,makeAuxiliaryProjectName:()=>u7e,makeInferredProjectName:()=>c7e,maxFileSize:()=>Cbe,maxProgramSizeForNonTsFiles:()=>Tbe,normalizedPathToPath:()=>PZ,nowString:()=>EBe,nullCancellationToken:()=>XYe,nullTypingsInstaller:()=>c_e,protocol:()=>_7e,scriptInfoIsContainedByBackgroundProject:()=>y7e,scriptInfoIsContainedByDeferredClosedProject:()=>v7e,stringifyIndented:()=>VV,toEvent:()=>K7e,toNormalizedPath:()=>_w,tryConvertScriptKindName:()=>Obe,typingsInstaller:()=>n7e,updateProjectIfDirty:()=>wO}),typeof console<"u"&&(V_.loggingHost={log(s,a){switch(s){case 1:return console.error(a);case 2:return console.warn(a);case 3:return console.log(a);case 4:return console.log(a)}}})})({get exports(){return ts},set exports(o){ts=o,module.exports&&(module.exports=o)}})})(typescript);var typescriptExports=typescript.exports;const ts$1=getDefaultExportFromCjs(typescriptExports);var Escaper;(function(o){o.variable=r_=>o.reserved(r_)===!1&&/^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(r_),o.reserved=r_=>RESERVED$1.has(r_)})(Escaper||(Escaper={}));const RESERVED$1=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","module","new","null","package","public","private","protected","return","super","switch","this","throw","true","try","typeof","var","void","while","with"]);var TypeFactory;(function(o){o.isFunction=u_=>o.getFunction(u_)!==null,o.getFunction=u_=>{var h_,D_;const d_=(D_=(h_=u_.symbol)==null?void 0:h_.declarations)==null?void 0:D_[0];return d_===void 0?null:ts$1.isFunctionLike(d_)?d_:(ts$1.isPropertyAssignment(d_)||ts$1.isPropertyDeclaration(d_))&&ts$1.isFunctionLike(d_.initializer)?d_.initializer:null},o.getReturnTypeOfClassMethod=u_=>{const d_=u_.class.getProperty(u_.function);if(d_){if(!d_.valueDeclaration)return null}else return null;const h_=u_.checker.getTypeOfSymbolAtLocation(d_,d_.valueDeclaration),D_=u_.checker.getSignaturesOfType(h_,ts$1.SignatureKind.Call)[0];return D_?D_.getReturnType():null},o.getFullName=u_=>{const d_=u_.symbol??u_.type.aliasSymbol??u_.type.getSymbol();if(d_===void 0)return u_.checker.typeToString(u_.type);if(u_.type.aliasSymbol===void 0&&u_.type.isUnionOrIntersection()){const I_=u_.type.isIntersection()?" & ":" | ";return u_.type.types.map(T_=>o.getFullName({checker:u_.checker,type:T_})).join(I_)}const h_=a_(d_),D_=u_.type.aliasSymbol?u_.type.aliasTypeArguments??[]:u_.checker.getTypeArguments(u_.type);return D_.length?h_==="Promise"?o.getFullName({checker:u_.checker,type:D_[0]}):`${h_}<${D_.map(I_=>o.getFullName({checker:u_.checker,type:I_})).join(", ")}>`:h_};const r_=u_=>ts$1.isModuleBlock(u_.node)?r_({node:u_.node.parent.parent,name:`${u_.node.parent.name.getFullText().trim()}.${u_.name}`}):u_.name,a_=u_=>{var h_,D_;const d_=(D_=(h_=u_.getDeclarations())==null?void 0:h_[0])==null?void 0:D_.parent;return d_?r_({node:d_,name:u_.escapedName.toString()}):"__type"};o.keyword=u_=>ts$1.factory.createKeywordTypeNode(u_==="void"?ts$1.SyntaxKind.VoidKeyword:u_==="any"?ts$1.SyntaxKind.AnyKeyword:u_==="unknown"?ts$1.SyntaxKind.UnknownKeyword:u_==="boolean"?ts$1.SyntaxKind.BooleanKeyword:u_==="number"?ts$1.SyntaxKind.NumberKeyword:u_==="bigint"?ts$1.SyntaxKind.BigIntKeyword:ts$1.SyntaxKind.StringKeyword)})(TypeFactory||(TypeFactory={}));var IdentifierFactory;(function(o){o.identifier=r_=>Escaper.variable(r_)?ts$1.factory.createIdentifier(r_):ts$1.factory.createStringLiteral(r_),o.access=(r_,a_,u_)=>{const d_=o.identifier(a_);return ts$1.isStringLiteral(d_)?u_===!0?ts$1.factory.createElementAccessChain(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionDotToken),d_):ts$1.factory.createElementAccessExpression(r_,d_):u_===!0?ts$1.factory.createPropertyAccessChain(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionDotToken),d_):ts$1.factory.createPropertyAccessExpression(r_,d_)},o.getName=r_=>{var u_;const a_=(u_=r_.escapedText)==null?void 0:u_.toString();return typeof a_=="string"?a_:ts$1.isPropertyAccessExpression(r_)?`${o.getName(r_.expression)}.${r_.name.escapedText.toString()}`:ts$1.isElementAccessExpression(r_)?`${o.getName(r_.expression)}[${o.getName(r_.argumentExpression)}]`:"unknown"},o.postfix=r_=>Escaper.variable(r_)?`".${r_}"`:`"[${JSON.stringify(r_).split('"').join('\\"')}]"`,o.parameter=(r_,a_,u_)=>ts$1.getDecorators!==void 0?ts$1.factory.createParameterDeclaration(void 0,void 0,r_,(u_==null?void 0:u_.kind)===ts$1.SyntaxKind.QuestionToken?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,a_??TypeFactory.keyword("any"),u_&&u_.kind!==ts$1.SyntaxKind.QuestionToken?u_:void 0):ts$1.factory.createParameterDeclaration(void 0,void 0,void 0,r_,(u_==null?void 0:u_.kind)===ts$1.SyntaxKind.QuestionToken?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,a_,u_&&u_.kind!==ts$1.SyntaxKind.QuestionToken?u_:void 0)})(IdentifierFactory||(IdentifierFactory={}));const RegexCall=o=>`${o}.test($input)`,FormatCheatSheet={byte:RegexCall("/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm"),password:"true",regex:"(() => { try { new RegExp($input); return true; } catch { return false; } })()",uuid:RegexCall("/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i"),email:RegexCall("/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i"),hostname:RegexCall("/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i"),"idn-email":RegexCall('/^(([^<>()[\\]\\.,;:\\s@\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\"]+)*)|(\\".+\\"))@(([^<>()[\\]\\.,;:\\s@\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\"]{2,})$/i'),"idn-hostname":RegexCall("/^([a-z0-9\\u00a1-\\uffff0-9]+(-[a-z0-9\\u00a1-\\uffff0-9]+)*\\.)+[a-z\\u00a1-\\uffff]{2,}$/i"),iri:RegexCall('/^[A-Za-z][\\d+-.A-Za-z]*:[^\\u0000-\\u0020"<>\\\\^`{|}]*$/u'),"iri-reference":RegexCall('/^[A-Za-z][\\d+-.A-Za-z]*:[^\\u0000-\\u0020"<>\\\\^`{|}]*$/u'),ipv4:RegexCall("/^(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)$/"),ipv6:RegexCall("/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))$/i"),uri:`${RegexCall("/\\/|:/")} && ${RegexCall("/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i")}`,"uri-reference":RegexCall(`/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i`),"uri-template":RegexCall("/^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i"),url:RegexCall("/^(?:https?|ftp):\\/\\/(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)(?:\\.(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu"),"date-time":RegexCall("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T|\\s)([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i"),date:RegexCall("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/"),time:RegexCall("/^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i"),duration:RegexCall("/^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$/"),"json-pointer":RegexCall("/^(?:\\/(?:[^~/]|~0|~1)*)*$/"),"relative-json-pointer":RegexCall("/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/")},_randomFormatUuid=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,o=>{const r_=Math.random()*16|0;return(o==="x"?r_:r_&3|8).toString(16)});var ExpressionFactory;(function(o){o.number=r_=>r_<0?ts$1.factory.createPrefixUnaryExpression(ts$1.SyntaxKind.MinusToken,ts$1.factory.createNumericLiteral(Math.abs(r_))):ts$1.factory.createNumericLiteral(r_),o.bigint=r_=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("BigInt"),void 0,[ts$1.factory.createIdentifier(r_.toString())]),o.isRequired=r_=>ts$1.factory.createStrictInequality(ts$1.factory.createIdentifier("undefined"),r_),o.isArray=r_=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[r_]),o.isObject=r_=>{const a_=[ts$1.factory.createStrictEquality(ts$1.factory.createStringLiteral("object"),ts$1.factory.createTypeOfExpression(r_.input))];return r_.checkNull===!0&&a_.push(ts$1.factory.createStrictInequality(ts$1.factory.createNull(),r_.input)),r_.checkArray===!0&&a_.push(ts$1.factory.createStrictEquality(ts$1.factory.createFalse(),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[r_.input]))),a_.length===1?a_[0]:a_.reduce((u_,d_)=>ts$1.factory.createLogicalAnd(u_,d_))},o.isInstanceOf=(r_,a_)=>ts$1.factory.createBinaryExpression(a_,ts$1.factory.createToken(ts$1.SyntaxKind.InstanceOfKeyword),ts$1.factory.createIdentifier(r_)),o.coalesce=(r_,a_)=>ts$1.factory.createBinaryExpression(r_,ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionToken),a_),o.currying=r_=>{if(r_.arguments.length===0)return ts$1.factory.createCallExpression(r_.function,void 0,void 0);let a_=ts$1.factory.createCallExpression(r_.function,void 0,[r_.arguments[0]]);for(const u_ of r_.arguments.slice(1))a_=ts$1.factory.createCallExpression(a_,void 0,[u_]);return a_},o.selfCall=(r_,a_)=>ts$1.isCallExpression(r_)?r_:ts$1.factory.createCallExpression(ts$1.factory.createParenthesizedExpression(ts$1.factory.createArrowFunction(void 0,void 0,[],a_,void 0,r_)),void 0,void 0),o.getEscapedText=r_=>r_.printer.printNode(ts$1.EmitHint.Expression,r_.input,r_.input.getSourceFile()),o.transpile=r_=>{const u_=ts$1.createSourceFile(`${_randomFormatUuid()}.ts`,r_.script,ts$1.ScriptTarget.ESNext,!0,ts$1.ScriptKind.TS).statements[0];if(u_===void 0)throw new ReferenceError("Error on ExpressionFactory.transpile(): no statement exists.");if(!ts$1.isExpressionStatement(u_))throw new TypeError("Error on ExpressionFactory.transpile(): statement is not an expression statement.");return d_=>{const h_=D_=>{if(ts$1.isIdentifier(D_)&&D_.text==="$input")return d_;if(r_.importer!==void 0&&ts$1.isCallExpression(D_)){if(D_.expression.getText()==="$importInternal"&&D_.arguments.length===1&&ts$1.isStringLiteralLike(D_.arguments[0])){const I_=D_.arguments[0].text;return r_.importer.internal(I_)}else if(D_.expression.getText()==="$importInstance"&&D_.arguments.length===2&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.instance({file:T_,name:I_,alias:null})}else if(D_.expression.getText()==="$importNamespace"&&D_.arguments.length===2&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.namespace({file:T_,name:I_})}else if(D_.expression.getText()==="$importDefault"&&D_.arguments.length===3&&ts$1.isStringLiteralLike(D_.arguments[0])&&ts$1.isStringLiteralLike(D_.arguments[1])){const I_=D_.arguments[0].text,T_=D_.arguments[1].text;return r_.importer.default({file:T_,name:I_,type:!1})}}return ts$1.visitEachChild(ts$1.factory.cloneNode(D_),h_,r_.transformer)};return h_(ts$1.factory.cloneNode(u_.expression))}}})(ExpressionFactory||(ExpressionFactory={}));var LiteralFactory;(function(o){o.write=I_=>{if(I_===null)return ts$1.factory.createNull();if(ts$1.isArrowFunction(I_))return I_;if(ts$1.isCallExpression(I_))return I_;if(ts$1.isIdentifier(I_))return I_;if(I_ instanceof Array)return a_(I_);if(typeof I_=="object")return r_(I_);if(typeof I_=="boolean")return u_(I_);if(typeof I_=="bigint")return h_(I_);if(typeof I_=="number")return d_(I_);if(typeof I_=="string")return D_(I_);if(typeof I_=="function")return ts$1.factory.createIdentifier("undefined");throw new TypeError("Error on LiteralFactory.generate(): unknown type.")};const r_=I_=>ts$1.factory.createObjectLiteralExpression(Object.entries(I_).filter(T_=>T_[1]!==void 0).map(([T_,R_])=>ts$1.factory.createPropertyAssignment(IdentifierFactory.identifier(T_),o.write(R_))),!0),a_=I_=>ts$1.factory.createArrayLiteralExpression(I_.map(o.write),!0),u_=I_=>I_?ts$1.factory.createTrue():ts$1.factory.createFalse(),d_=I_=>ExpressionFactory.number(I_),h_=I_=>ExpressionFactory.bigint(I_),D_=I_=>ts$1.factory.createStringLiteral(I_)})(LiteralFactory||(LiteralFactory={}));var StatementFactory;(function(o){o.mut=r_=>ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(r_.name,void 0,r_.type!==void 0?r_.type:r_.initializer===void 0?TypeFactory.keyword("any"):void 0,r_.initializer)],ts$1.NodeFlags.Let)),o.constant=r_=>ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(r_.name,void 0,r_.type!==void 0?r_.type:r_.value===void 0?TypeFactory.keyword("any"):void 0,r_.value)],ts$1.NodeFlags.Const)),o.entry=r_=>ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createArrayBindingPattern([ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier(r_.key),void 0),ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier(r_.value),void 0)]),void 0,void 0,void 0)],ts$1.NodeFlags.Const),o.transpile=r_=>ts$1.factory.createExpressionStatement(ts$1.factory.createIdentifier(ts$1.transpile(r_))),o.block=r_=>ts$1.factory.createBlock([ts$1.factory.createExpressionStatement(r_)],!0)})(StatementFactory||(StatementFactory={}));var MigrateApplicationAnalyzer;(function(o){o.analyze=r_=>{const a_=HttpMigration.application(r_.document);return{...r_,routes:a_.routes,errors:a_.errors}}})(MigrateApplicationAnalyzer||(MigrateApplicationAnalyzer={}));const NEST_TEMPLATE=[{location:"",file:".env.local",content:"API_PORT=37001"},{location:"",file:".eslintrc.cjs",content:`module.exports = {
757
757
  root: true,
758
758
  plugins: ["@typescript-eslint", "deprecation"],
759
759
  extends: ["plugin:@typescript-eslint/recommended"],
@@ -945,7 +945,6 @@ As you can see from the below, all of the Backend source files are placed into t
945
945
  - [nestia.config.ts](nestia.config.ts): Configuration file of [\`nestia\`](https://github.com/samchon/nestia)
946
946
  - [package.json](package.json): NPM configuration
947
947
  - [tsconfig.json](tsconfig.json): TypeScript configuration for the main program
948
- - [tsconfig.api.json](tsconfig.api.json): TypeScript configuration for the SDK generation
949
948
 
950
949
 
951
950
 
@@ -1197,9 +1196,9 @@ export default NESTIA_CONFIG;
1197
1196
  },
1198
1197
  "homepage": "https://github.com/samchon/nestia-start#readme",
1199
1198
  "devDependencies": {
1200
- "@nestia/benchmark": "^6.0.1",
1201
- "@nestia/e2e": "^6.0.1",
1202
- "@nestia/sdk": "^6.0.3",
1199
+ "@nestia/benchmark": "^6.0.3",
1200
+ "@nestia/e2e": "^6.0.3",
1201
+ "@nestia/sdk": "^6.0.4",
1203
1202
  "@nestjs/cli": "^11.0.7",
1204
1203
  "@rollup/plugin-terser": "^0.4.4",
1205
1204
  "@rollup/plugin-typescript": "^11.1.6",
@@ -1235,11 +1234,11 @@ export default NESTIA_CONFIG;
1235
1234
  "write-file-webpack-plugin": "^4.5.1"
1236
1235
  },
1237
1236
  "dependencies": {
1238
- "@nestia/core": "^6.0.3",
1239
- "@nestia/fetcher": "^6.0.3",
1240
- "@nestjs/common": "^11.1.0",
1241
- "@nestjs/core": "^11.1.0",
1242
- "@nestjs/platform-express": "^11.1.0",
1237
+ "@nestia/core": "^6.0.4",
1238
+ "@nestia/fetcher": "^6.0.4",
1239
+ "@nestjs/common": "^11.1.1",
1240
+ "@nestjs/core": "^11.1.1",
1241
+ "@nestjs/platform-express": "^11.1.1",
1243
1242
  "commander": "10.0.0",
1244
1243
  "dotenv": "^16.3.1",
1245
1244
  "dotenv-expand": "^10.0.0",
@@ -1247,11 +1246,11 @@ export default NESTIA_CONFIG;
1247
1246
  "serialize-error": "^4.1.0",
1248
1247
  "tgrid": "^1.1.0",
1249
1248
  "tstl": "^3.0.0",
1250
- "typia": "^9.1.1",
1249
+ "typia": "^9.3.0",
1251
1250
  "uuid": "^9.0.0"
1252
1251
  },
1253
1252
  "stackblitz": {
1254
- "startCommand": "npm run prepare && npm run build:test && npm run test"
1253
+ "startCommand": "npm run prepare && npm run build:test && npm run test -- --simultaneous 1"
1255
1254
  }
1256
1255
  }`},{location:"packages/api",file:".gitignore",content:`lib/
1257
1256
  node_modules/
@@ -1345,9 +1344,9 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
1345
1344
  "README.md"
1346
1345
  ],
1347
1346
  "dependencies": {
1348
- "@nestia/fetcher": "^6.0.3",
1347
+ "@nestia/fetcher": "^6.0.4",
1349
1348
  "tgrid": "^1.1.0",
1350
- "typia": "^9.1.1"
1349
+ "typia": "^9.3.0"
1351
1350
  }
1352
1351
  }`},{location:"packages/api",file:"rollup.config.js",content:`const typescript = require("@rollup/plugin-typescript");
1353
1352
  const terser = require("@rollup/plugin-terser");
@@ -2702,12 +2701,12 @@ print("npm run test:simulate", "Test with mockup simulator");
2702
2701
  "README.md"
2703
2702
  ],
2704
2703
  "dependencies": {
2705
- "@nestia/fetcher": "^6.0.3",
2704
+ "@nestia/fetcher": "^6.0.4",
2706
2705
  "tgrid": "^1.1.0",
2707
- "typia": "^9.1.1"
2706
+ "typia": "^9.3.0"
2708
2707
  },
2709
2708
  "devDependencies": {
2710
- "@nestia/e2e": "^6.0.1",
2709
+ "@nestia/e2e": "^6.0.3",
2711
2710
  "@rollup/plugin-terser": "^0.4.4",
2712
2711
  "@rollup/plugin-typescript": "^11.1.6",
2713
2712
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -4731,7 +4730,7 @@ export namespace ArgumentParser {
4731
4730
  `).split("*/").join("*\\/")},writePlugin=o=>r_=>{const a_={};for(const[u_,d_]of Object.entries(r_))d_!==void 0&&o.regular.includes(u_)===!1&&(a_[u_]=d_);Object.keys(a_).length!==0&&o.intersection.push(o.importer.tag("JsonSchemaPlugin",a_))};var MigrateApiFunctionProgrammer;(function(o){o.write=u_=>d_=>h_=>D_=>FilePrinter.description(ts$1.factory.createFunctionDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword),ts$1.factory.createModifier(ts$1.SyntaxKind.AsyncKeyword)],void 0,D_.accessor.at(-1),void 0,o.writeParameterDeclarations(d_)(h_)(D_),ts$1.factory.createTypeReferenceNode("Promise",[ts$1.factory.createTypeReferenceNode(D_.success===null?"void":`${D_.accessor.at(-1)}.Output`)]),ts$1.factory.createBlock(a_(u_)(h_)(D_),!0)),r_(D_)),o.writeParameterDeclarations=u_=>d_=>h_=>{var D_;return[IdentifierFactory.parameter("connection",ts$1.factory.createTypeReferenceNode(d_.external({type:"instance",library:"@nestia/fetcher",name:"IConnection"}),h_.headers?[ts$1.factory.createTypeReferenceNode(`${h_.accessor.at(-1)}.Headers`)]:void 0)),...h_.parameters.map(I_=>IdentifierFactory.parameter(I_.key,MigrateSchemaProgrammer.write(u_)(d_)(I_.schema))),...h_.query?[IdentifierFactory.parameter(h_.query.key,ts$1.factory.createTypeReferenceNode(`${h_.accessor.at(-1)}.Query`))]:[],...h_.body?[IdentifierFactory.parameter(h_.body.key,ts$1.factory.createTypeReferenceNode(`${h_.accessor.at(-1)}.Input`),(h_.body.type==="application/json"||h_.body.type==="text/plain")&&((D_=h_.operation().requestBody)==null?void 0:D_.required)===!1?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0)]:[]]};const r_=u_=>[u_.comment(),`@path ${u_.emendedPath}`,"@nestia Generated by Nestia - https://github.com/samchon/nestia"].join(`
4732
4731
  `),a_=u_=>d_=>h_=>{var R_,$_;const D_=!!((R_=h_.success)!=null&&R_["x-nestia-encrypted"]),I_=(($_=h_.body)==null?void 0:$_.type)??"application/json",T_=()=>ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(d_.external({type:"instance",library:`@nestia/fetcher/lib/${D_?"EncryptedFetcher":"PlainFetcher"}`,name:D_?"EncryptedFetcher":"PlainFetcher"})),"fetch"),void 0,[I_&&I_!=="multipart/form-data"?ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(ts$1.factory.createIdentifier("connection")),ts$1.factory.createPropertyAssignment("headers",ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier("connection"),"headers")),ts$1.factory.createPropertyAssignment(ts$1.factory.createStringLiteral("Content-Type"),ts$1.factory.createStringLiteral(I_))],!0))],!0):ts$1.factory.createIdentifier("connection"),ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier(h_.accessor.at(-1)),"METADATA")),ts$1.factory.createPropertyAssignment("path",ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(h_.accessor.at(-1)),"path"),void 0,[...h_.parameters.map(L_=>ts$1.factory.createIdentifier(L_.key)),...h_.query?[ts$1.factory.createIdentifier(h_.query.key)]:[]])),ts$1.factory.createPropertyAssignment("status",ts$1.factory.createNull())],!0),...h_.body?[ts$1.factory.createIdentifier(h_.body.key)]:[]]);return u_.simulate!==!0?[ts$1.factory.createReturnStatement(T_())]:[ts$1.factory.createReturnStatement(ts$1.factory.createConditionalExpression(ts$1.factory.createIdentifier("!!connection.simulate"),void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${h_.accessor.at(-1)}.simulate`),[],["connection",...h_.parameters.map(L_=>L_.key),...h_.query?[h_.query.key]:[],...h_.body?[h_.body.key]:[]].map(L_=>ts$1.factory.createIdentifier(L_))),void 0,T_()))]}})(MigrateApiFunctionProgrammer||(MigrateApiFunctionProgrammer={}));var MigrateApiSimulationProgrammer;(function(o){o.random=u_=>d_=>h_=>{const D_=h_.success?MigrateSchemaProgrammer.write(u_)(d_)(h_.success.schema):TypeFactory.keyword("void");return constant$1("random")(ts$1.factory.createArrowFunction(void 0,void 0,[ts$1.factory.createParameterDeclaration(void 0,void 0,"g",ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken),ts$1.factory.createTypeReferenceNode(ts$1.factory.createIdentifier("Partial"),[ts$1.factory.createTypeReferenceNode(`${d_.external({type:"default",library:"typia",name:"typia"})}.IRandomGenerator`)]))],D_,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(d_.external({type:"default",library:"typia",name:"typia"})),"random"),[D_],[ts$1.factory.createIdentifier("g")])))},o.simulate=u_=>d_=>h_=>{const D_=()=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("random"),void 0,[ts$1.factory.createConditionalExpression(ts$1.factory.createLogicalAnd(ts$1.factory.createStrictEquality(ts$1.factory.createStringLiteral("object"),ts$1.factory.createTypeOfExpression(ts$1.factory.createIdentifier("connection.simulate"))),ts$1.factory.createStrictInequality(ts$1.factory.createNull(),ts$1.factory.createIdentifier("connection.simulate"))),void 0,ts$1.factory.createIdentifier("connection.simulate"),void 0,ts$1.factory.createIdentifier("undefined"))]);return constant$1("simulate")(ts$1.factory.createArrowFunction(void 0,void 0,MigrateApiFunctionProgrammer.writeParameterDeclarations(u_)(d_)(h_),ts$1.factory.createTypeReferenceNode(h_.success?"Output":"void"),void 0,ts$1.factory.createBlock([...r_(u_)(d_)(h_),ts$1.factory.createReturnStatement(D_())],!0)))};const r_=u_=>d_=>h_=>{var R_;const D_=[...h_.parameters.map($_=>({category:"param",name:$_.key,schema:MigrateSchemaProgrammer.write(u_)(d_)($_.schema)})),...h_.query?[{category:"query",name:h_.query.key,schema:MigrateSchemaProgrammer.write(u_)(d_)(h_.query.schema)}]:[],...h_.body?[{category:"body",name:h_.body.key,schema:MigrateSchemaProgrammer.write(u_)(d_)(h_.body.schema)}]:[]];if(D_.length===0)return[];const I_=StatementFactory.constant({name:"assert",value:ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(d_.external({type:"instance",library:"@nestia/fetcher/lib/NestiaSimulator",name:"NestiaSimulator"})),"assert"),void 0,[ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("method",ts$1.factory.createIdentifier("METADATA.method")),ts$1.factory.createPropertyAssignment("host",ts$1.factory.createIdentifier("connection.host")),ts$1.factory.createPropertyAssignment("path",MigrateApiNamespaceProgrammer.writePathCallExpression(h_)),ts$1.factory.createPropertyAssignment("contentType",ts$1.factory.createStringLiteral(((R_=h_.success)==null?void 0:R_.type)??"application/json"))],!0)])}),T_=D_.map($_=>ts$1.factory.createCallExpression((()=>{const L_=IdentifierFactory.access(ts$1.factory.createIdentifier("assert"),$_.category);return $_.category!=="param"?L_:ts$1.factory.createCallExpression(L_,void 0,[ts$1.factory.createStringLiteral($_.name)])})(),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(d_.external({type:"default",library:"typia",name:"typia"})),"assert"),void 0,[ts$1.factory.createIdentifier($_.category==="headers"?"connection.headers":$_.name)]))])).map(ts$1.factory.createExpressionStatement);return[I_,a_(d_)(T_)]},a_=u_=>d_=>ts$1.factory.createTryStatement(ts$1.factory.createBlock(d_,!0),ts$1.factory.createCatchClause("exp",ts$1.factory.createBlock([ts$1.factory.createIfStatement(ts$1.factory.createLogicalNot(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(u_.external({type:"default",library:"typia",name:"typia"})),"is"),[ts$1.factory.createTypeReferenceNode(u_.external({type:"instance",library:"@nestia/fetcher",name:"HttpError"}))],[ts$1.factory.createIdentifier("exp")])),ts$1.factory.createThrowStatement(ts$1.factory.createIdentifier("exp"))),ts$1.factory.createReturnStatement(ts$1.factory.createAsExpression(ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("success",ts$1.factory.createFalse()),ts$1.factory.createPropertyAssignment("status",ts$1.factory.createIdentifier("exp.status")),ts$1.factory.createPropertyAssignment("headers",ts$1.factory.createIdentifier("exp.headers")),ts$1.factory.createPropertyAssignment("data",ts$1.factory.createIdentifier("exp.toJSON().message"))],!0),TypeFactory.keyword("any")))],!0)),void 0)})(MigrateApiSimulationProgrammer||(MigrateApiSimulationProgrammer={}));const constant$1=o=>r_=>ts$1.factory.createVariableStatement([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createIdentifier(o),void 0,void 0,r_)],ts$1.NodeFlags.Const));var MigrateApiNamespaceProgrammer;(function(o){o.write=d_=>h_=>D_=>I_=>{const T_=r_(h_)(D_)(I_);return ts$1.factory.createModuleDeclaration([ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(I_.accessor.at(-1)),ts$1.factory.createModuleBlock([...T_,...T_.length?[FilePrinter.newLine()]:[],a_(h_)(D_)(I_),FilePrinter.newLine(),u_(h_)(D_)(I_),...d_.simulate?[MigrateApiSimulationProgrammer.random(h_)(D_)(I_),MigrateApiSimulationProgrammer.simulate(h_)(D_)(I_)]:[]]),ts$1.NodeFlags.Namespace)},o.writePathCallExpression=d_=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${d_.accessor.at(-1)}.path`),void 0,[...d_.parameters.map(h_=>ts$1.factory.createIdentifier(h_.key)),...d_.query?[ts$1.factory.createIdentifier(d_.query.key)]:[]]);const r_=d_=>h_=>D_=>{const I_=[],T_=(R_,$_)=>I_.push(ts$1.factory.createTypeAliasDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],R_,void 0,$_));return D_.headers&&T_("Headers",MigrateSchemaProgrammer.write(d_)(h_)(D_.headers.schema)),D_.query&&T_("Query",MigrateSchemaProgrammer.write(d_)(h_)(D_.query.schema)),D_.body&&T_("Input",MigrateSchemaProgrammer.write(d_)(h_)(D_.body.schema)),D_.success&&T_("Output",MigrateSchemaProgrammer.write(d_)(h_)(D_.success.schema)),I_},a_=d_=>h_=>D_=>{var I_,T_,R_;return constant("METADATA")(ts$1.factory.createAsExpression(ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("method",ts$1.factory.createStringLiteral(D_.method.toUpperCase())),ts$1.factory.createPropertyAssignment("path",ts$1.factory.createStringLiteral(getPath(D_))),ts$1.factory.createPropertyAssignment("request",D_.body?LiteralFactory.write({type:D_.body.type,encrypted:!!D_.body["x-nestia-encrypted"]}):ts$1.factory.createNull()),ts$1.factory.createPropertyAssignment("response",D_.method.toUpperCase()!=="HEAD"?LiteralFactory.write({type:((I_=D_.success)==null?void 0:I_.type)??"application/json",encrypted:!!((T_=D_.success)!=null&&T_["x-nestia-encrypted"])}):ts$1.factory.createNull()),...((R_=D_.success)==null?void 0:R_.type)==="application/x-www-form-urlencoded"?[ts$1.factory.createPropertyAssignment("parseQuery",ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${h_.external({type:"default",library:"typia",name:"typia"})}.http.createAssertQuery`),[MigrateSchemaProgrammer.write(d_)(h_)(D_.success.schema)],void 0))]:[]],!0),ts$1.factory.createTypeReferenceNode(ts$1.factory.createIdentifier("const"))))},u_=d_=>h_=>D_=>{const I_=L_=>constant("path")(ts$1.factory.createArrowFunction([],[],[...D_.parameters.map(J_=>IdentifierFactory.parameter(J_.key,MigrateSchemaProgrammer.write(d_)(h_)(J_.schema))),...D_.query?[IdentifierFactory.parameter(D_.query.key,ts$1.factory.createTypeReferenceNode(`${D_.accessor.at(-1)}.Query`))]:[]],void 0,void 0,L_)),T_=()=>{const L_=getPath(D_),J_=L_.split(":");return J_.length===1?ts$1.factory.createStringLiteral(L_):ts$1.factory.createTemplateExpression(ts$1.factory.createTemplateHead(J_[0]),J_.slice(1).map((W_,q_,ny)=>{const hy=W_.split("/")[0];return ts$1.factory.createTemplateSpan(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("encodeURIComponent"),void 0,[ts$1.factory.createBinaryExpression(ts$1.factory.createIdentifier(D_.parameters.find(sm=>sm.name===hy).key),ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionToken),ts$1.factory.createStringLiteral("null"))]),(q_!==ny.length-1?ts$1.factory.createTemplateMiddle:ts$1.factory.createTemplateTail)(W_.substring(hy.length)))}))};if(!D_.query)return I_(T_());const R_=L_=>D_.parameters.find(J_=>J_.key===L_)!==void 0?R_("_"+L_):L_,$_=R_("variables");return I_(ts$1.factory.createBlock([local($_)("URLSearchParams")(ts$1.factory.createNewExpression(ts$1.factory.createIdentifier("URLSearchParams"),[],[])),ts$1.factory.createForOfStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createArrayBindingPattern([ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier("key"),void 0),ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier("value"),void 0)]),void 0,void 0,void 0)],ts$1.NodeFlags.Const),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Object.entries"),void 0,[ts$1.factory.createAsExpression(ts$1.factory.createIdentifier(D_.query.key),TypeFactory.keyword("any"))]),ts$1.factory.createIfStatement(ts$1.factory.createStrictEquality(ts$1.factory.createIdentifier("undefined"),ts$1.factory.createIdentifier("value")),ts$1.factory.createContinueStatement(),ts$1.factory.createIfStatement(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[ts$1.factory.createIdentifier("value")]),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("value"),ts$1.factory.createIdentifier("forEach")),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[IdentifierFactory.parameter("elem")],void 0,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier($_),"append"),void 0,[ts$1.factory.createIdentifier("key"),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("String"),void 0,[ts$1.factory.createIdentifier("elem")])]))])),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier($_),"set"),void 0,[ts$1.factory.createIdentifier("key"),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("String"),void 0,[ts$1.factory.createIdentifier("value")])]))))),local("location")("string")(T_()),ts$1.factory.createReturnStatement(ts$1.factory.createConditionalExpression(ts$1.factory.createStrictEquality(ExpressionFactory.number(0),IdentifierFactory.access(ts$1.factory.createIdentifier($_),"size")),void 0,ts$1.factory.createIdentifier("location"),void 0,ts$1.factory.createTemplateExpression(ts$1.factory.createTemplateHead(""),[ts$1.factory.createTemplateSpan(ts$1.factory.createIdentifier("location"),ts$1.factory.createTemplateMiddle("?")),ts$1.factory.createTemplateSpan(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier($_),"toString"),void 0,void 0),ts$1.factory.createTemplateTail(""))])))],!0))}})(MigrateApiNamespaceProgrammer||(MigrateApiNamespaceProgrammer={}));const constant=o=>r_=>ts$1.factory.createVariableStatement([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(o,void 0,void 0,r_)],ts$1.NodeFlags.Const)),getPath=o=>(o.emendedPath.startsWith("/")?"":"/")+o.emendedPath,local=o=>r_=>a_=>ts$1.factory.createVariableStatement([],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(o,void 0,ts$1.factory.createTypeReferenceNode(r_),a_)],ts$1.NodeFlags.Const));var TypeLiteralFactory;(function(o){o.generate=I_=>typeof I_=="boolean"?u_(I_):typeof I_=="number"?a_(I_):typeof I_=="string"?r_(I_):typeof I_=="object"?I_===null?d_():Array.isArray(I_)?h_(I_):D_(I_):ts$1.factory.createKeywordTypeNode(ts$1.SyntaxKind.AnyKeyword);const r_=I_=>ts$1.factory.createLiteralTypeNode(ts$1.factory.createStringLiteral(I_)),a_=I_=>ts$1.factory.createLiteralTypeNode(I_<0?ts$1.factory.createPrefixUnaryExpression(ts$1.SyntaxKind.MinusToken,ts$1.factory.createNumericLiteral(-I_)):ts$1.factory.createNumericLiteral(I_)),u_=I_=>ts$1.factory.createLiteralTypeNode(I_?ts$1.factory.createTrue():ts$1.factory.createFalse()),d_=()=>ts$1.factory.createLiteralTypeNode(ts$1.factory.createNull()),h_=I_=>ts$1.factory.createTupleTypeNode(I_.map(o.generate)),D_=I_=>ts$1.factory.createTypeLiteralNode(Object.entries(I_).map(([T_,R_])=>ts$1.factory.createPropertySignature(void 0,Escaper.variable(T_)?ts$1.factory.createIdentifier(T_):ts$1.factory.createStringLiteral(T_),void 0,o.generate(R_))))})(TypeLiteralFactory||(TypeLiteralFactory={}));var MapUtil;(function(o){o.take=r_=>a_=>u_=>{const d_=r_.get(a_);if(d_)return d_;const h_=u_();return r_.set(a_,h_),h_}})(MapUtil||(MapUtil={}));class MigrateImportProgrammer{constructor(){this.external_=new Map,this.dtos_=new Set}empty(){return this.external_.size===0&&this.dtos_.size===0}external(r_){const a_=MapUtil.take(this.external_)(r_.library)(()=>({default:null,instances:new Set})),u_=r_.name.split(".")[0];return r_.type==="default"?a_.default=r_.name:a_.instances.add(u_),u_}dto(r_,a_){const u_=r_.split(".")[0];return this.dtos_.add(u_),ts$1.factory.createTypeReferenceNode(a_!=null&&a_.length?ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(a_),ts$1.factory.createIdentifier(u_)):r_)}tag(r_,a_){const u_=this.external({type:"instance",library:"typia",name:"tags"});return ts$1.factory.createTypeReferenceNode(`${u_}.${r_}`,a_===void 0?[]:[TypeLiteralFactory.generate(a_)])}toStatements(r_,a_){return[...[...this.external_.entries()].map(([u_,d_])=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,d_.default!==null?ts$1.factory.createIdentifier(d_.default):void 0,d_.instances.size?ts$1.factory.createNamedImports([...d_.instances].map(h_=>ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(h_)))):void 0),ts$1.factory.createStringLiteral(u_))),...this.external_.size&&this.dtos_.size?[FilePrinter.newLine()]:[],...[...this.dtos_].filter(a_?u_=>u_!==a_.split(".")[0]:()=>!0).map(u_=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(u_))])),ts$1.factory.createStringLiteral(r_(u_))))]}}var MigrateApiFileProgrammer;(function(o){o.write=r_=>a_=>u_=>{const d_=new MigrateImportProgrammer,h_=u_.routes.map(D_=>[MigrateApiFunctionProgrammer.write(r_)(a_)(d_)(D_),MigrateApiNamespaceProgrammer.write(r_)(a_)(d_)(D_)]).flat();return[...d_.toStatements(D_=>`../${"../".repeat(u_.namespace.length)}structures/${D_}`),...[...u_.children].map(D_=>ts$1.factory.createExportDeclaration(void 0,!1,ts$1.factory.createNamespaceExport(ts$1.factory.createIdentifier(D_)),ts$1.factory.createStringLiteral(`./${D_}`),void 0)),...h_]}})(MigrateApiFileProgrammer||(MigrateApiFileProgrammer={}));var MigrateDtoProgrammer;(function(o){o.compose=u_=>{const d_=new Map;for(const[h_,D_]of Object.entries(u_.schemas??{})){const I_=h_.split("/").filter(T_=>T_.length!==0).map(StringUtil.escapeNonVariable).join("");r_(d_)(I_)(T_=>a_(u_)(T_)(I_,D_))}return d_};const r_=u_=>d_=>h_=>{const D_=d_.split("."),I_={value:null};return D_.forEach((T_,R_)=>{I_.value=MapUtil.take(u_)(T_)(()=>({name:T_,children:new Map,programmer:null})),R_===D_.length-1&&(I_.value.programmer=h_),u_=I_.value.children}),I_},a_=u_=>d_=>(h_,D_)=>FilePrinter.description(ts$1.factory.createTypeAliasDeclaration([ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],h_.split(".").at(-1),[],MigrateSchemaProgrammer.write(u_)(d_)(D_)),writeComment(D_))})(MigrateDtoProgrammer||(MigrateDtoProgrammer={}));const writeComment=o=>{var r_,a_;return[...(r_=o.description)!=null&&r_.length?[o.description]:[],...(a_=o.description)!=null&&a_.length&&(o.title!==void 0||o.deprecated===!0)?[""]:[],...o.title!==void 0?[`@title ${o.title}`]:[],...o.deprecated===!0?["@deprecated"]:[]].join(`
4733
4732
  `).split("*/").join("*\\/")};var MigrateApiProgrammer;(function(o){o.write=u_=>{const d_=new HashMap(D_=>hash(D_.join(".")),(D_,I_)=>D_.length===I_.length&&D_.join(".")===I_.join("."));for(const D_ of u_.routes){const I_=D_.accessor.slice(0,-1);let T_=d_.take(I_,()=>({namespace:I_,routes:[],children:new Set}));T_.routes.push(D_),I_.forEach((R_,$_,L_)=>{const J_=I_.slice(0,L_.length-$_-1),W_=d_.take(J_,()=>({namespace:J_,children:new Set,routes:[]}));W_.children.add(T_.namespace.at(-1)),T_=W_})}const h_=[...d_].map(({second:D_})=>({location:`src/${u_.mode==="nest"?"api/":""}functional/${D_.namespace.join("/")}`,file:"index.ts",content:FilePrinter.write({statements:MigrateApiFileProgrammer.write(u_)(u_.document.components)(D_)})}));return u_.mode==="sdk"&&h_.push(...[...MigrateDtoProgrammer.compose(u_.document.components).entries()].map(([D_,I_])=>({location:"src/structures",file:`${D_}.ts`,content:FilePrinter.write({statements:r_(D_,I_)})}))),h_};const r_=(u_,d_)=>{const h_=new MigrateImportProgrammer,D_=a_(h_)(d_);return D_.length===0?[]:[...h_.toStatements(I_=>`./${I_}`,u_),...h_.empty()?[]:[FilePrinter.newLine()],...D_]},a_=u_=>d_=>{const h_=[];if(d_.programmer!==null&&h_.push(d_.programmer(u_)),d_.children.size){const D_=[];for(const I_ of d_.children.values())D_.push(...a_(u_)(I_));h_.push(ts$1.factory.createModuleDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(d_.name),ts$1.factory.createModuleBlock(D_),ts$1.NodeFlags.Namespace))}return h_}})(MigrateApiProgrammer||(MigrateApiProgrammer={}));var MigrateE2eFunctionProgrammer;(function(o){o.write=a_=>u_=>d_=>ts$1.factory.createFunctionDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword),ts$1.factory.createModifier(ts$1.SyntaxKind.AsyncKeyword)],void 0,["test","api",...d_.accessor].join("_"),void 0,[IdentifierFactory.parameter("connection",ts$1.factory.createTypeReferenceNode(ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(u_.external({type:"default",library:"@ORGANIZATION/PROJECT-api",name:"api"})),ts$1.factory.createIdentifier("IConnection"))))],void 0,ts$1.factory.createBlock(o.writeBody(a_)(u_)(d_),!0)),o.writeBody=a_=>u_=>d_=>[ts$1.factory.createVariableStatement([],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration("output",void 0,d_.success?MigrateSchemaProgrammer.write(a_)(u_)(d_.success.schema):void 0,ts$1.factory.createAwaitExpression(r_(a_)(u_)(d_)))],ts$1.NodeFlags.Const)),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier(u_.external({type:"default",library:"typia",name:"typia"})),"assert"),void 0,[ts$1.factory.createIdentifier("output")]))];const r_=a_=>u_=>d_=>ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("api.functional"),ts$1.factory.createIdentifier(d_.accessor.join("."))),void 0,[ts$1.factory.createIdentifier("connection"),...[...d_.parameters,d_.query,d_.body].filter(h_=>!!h_).map(h_=>ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier(u_.external({type:"default",library:"typia",name:"typia"})),"random"),[MigrateSchemaProgrammer.write(a_)(u_)(h_.schema)],void 0))])})(MigrateE2eFunctionProgrammer||(MigrateE2eFunctionProgrammer={}));var MigrateApiStartProgrammer;(function(o){o.write=d_=>{const h_=new MigrateImportProgrammer,D_=r_(d_)(d_.document)(h_)(pick(d_.routes)),I_=[...h_.toStatements(T_=>`@ORGANIZATION/PROJECT-api/lib/structures/${T_}`),FilePrinter.newLine(),ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier("TestGlobal"))])),ts$1.factory.createStringLiteral("./TestGlobal"),void 0),FilePrinter.newLine(),D_,ts$1.factory.createExpressionStatement(u_())];return{location:"test",file:"start.ts",content:FilePrinter.write({statements:I_})}};const r_=d_=>h_=>D_=>I_=>StatementFactory.constant({name:"main",value:ts$1.factory.createArrowFunction([ts$1.factory.createToken(ts$1.SyntaxKind.AsyncKeyword)],void 0,[],void 0,void 0,ts$1.factory.createBlock([a_(d_)(h_)(D_),...MigrateE2eFunctionProgrammer.writeBody(h_.components)(D_)(I_)],!0))}),a_=d_=>h_=>D_=>{var I_,T_,R_;return ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration("connection",void 0,ts$1.factory.createTypeReferenceNode(ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(D_.external({type:"default",library:"@ORGANIZATION/PROJECT-api",name:"api"})),ts$1.factory.createIdentifier("IConnection"))),ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("TestGlobal"),"connection"),void 0,void 0)),...(R_=(T_=(I_=h_.servers)==null?void 0:I_[0])==null?void 0:T_.url)!=null&&R_.length?[ts$1.factory.createPropertyAssignment("host",ts$1.factory.createStringLiteral(h_.servers[0].url))]:[],...d_.simulate===!0?[ts$1.factory.createPropertyAssignment("simulate",ts$1.factory.createTrue())]:[]],!0))],ts$1.NodeFlags.Const))},u_=()=>ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("main"),void 0,void 0),"catch"),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[IdentifierFactory.parameter("exp")],void 0,void 0,ts$1.factory.createBlock([ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("console"),"log"),void 0,[ts$1.factory.createIdentifier("exp")])),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("process"),"exit"),void 0,[ts$1.factory.createPrefixMinus(ts$1.factory.createNumericLiteral("1"))]))],!0))])})(MigrateApiStartProgrammer||(MigrateApiStartProgrammer={}));const pick=o=>{const r_=Math.random()*o.length,a_=Math.min(o.length-1,Math.floor(r_));return o[a_]};var MigrateE2eProgrammer;(function(o){o.write=a_=>a_.routes.map(r_(a_.document.components));const r_=a_=>u_=>{const d_=new MigrateImportProgrammer,h_=MigrateE2eFunctionProgrammer.write(a_)(d_)(u_),D_=[...d_.toStatements(I_=>`@ORGANIZATION/PROJECT-api/lib/structures/${I_}`),FilePrinter.newLine(),h_];return{location:"test/features/api",file:`${["test","api",...u_.accessor].join("_")}.ts`,content:FilePrinter.write({statements:D_})}}})(MigrateE2eProgrammer||(MigrateE2eProgrammer={}));var MigrateControllerAnalyzer;(function(o){o.analyze=r_=>{const a_=new Map;for(const d_ of r_.routes){const h_=d_.operation()["x-samchon-controller"]??(d_.accessor.length<=1?"__App":d_.accessor.slice(0,-1).map(StringUtil.capitalize).join(""))+"Controller";MapUtil.take(a_)(h_)(()=>({name:h_,path:"@lazy",location:"@lazy",routes:[]})).routes.push(d_)}const u_=[...a_.values()];for(const d_ of u_){const h_=R_=>R_.emendedPath.split("/"),D_=R_=>h_(R_).filter($_=>$_.length!==0&&$_[0]!==":"),I_=h_(d_.routes[0]),T_=D_(d_.routes[0]);for(const R_ of d_.routes.slice(1))I_.splice(getSplitIndex(I_,h_(R_))),T_.splice(getSplitIndex(T_,D_(R_)));d_.path=I_.join("/"),d_.location=`src/controllers/${T_.join("/")}`}return u_}})(MigrateControllerAnalyzer||(MigrateControllerAnalyzer={}));const getSplitIndex=(o,r_)=>{const a_=Math.min(o.length,r_.length);for(let u_=0;u_<a_;++u_)if(o[u_]!==r_[u_])return u_;return a_};var MigrateNestMethodProgrammer;(function(o){o.write=D_=>I_=>T_=>R_=>{const $_=R_.success?MigrateSchemaProgrammer.write(D_)(I_)(R_.success.schema):TypeFactory.keyword("void"),L_=ts$1.factory.createMethodDeclaration([...a_(D_)(I_)(T_)(R_),ts$1.factory.createToken(ts$1.SyntaxKind.PublicKeyword),ts$1.factory.createToken(ts$1.SyntaxKind.AsyncKeyword)],void 0,R_.accessor.at(-1),void 0,void 0,u_(D_)(I_)(R_),ts$1.factory.createTypeReferenceNode("Promise",[$_]),ts$1.factory.createBlock([...[...R_.parameters.map(J_=>J_.key),...R_.headers?["headers"]:[],...R_.query?["query"]:[],...R_.body?["body"]:[]].map(J_=>ts$1.factory.createExpressionStatement(ts$1.factory.createIdentifier(J_))),ts$1.factory.createReturnStatement(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(I_.external({type:"default",library:"typia",name:"typia"})),"random"),[$_],void 0))],!0));return FilePrinter.description(L_,r_(R_))};const r_=D_=>[D_.comment(),"@nestia Generated by Nestia - https://github.com/samchon/nestia"].join(`
4734
- `),a_=D_=>I_=>T_=>R_=>{var q_,ny,hy,sm,ty;const $_=ey=>i0=>ts$1.factory.createIdentifier(I_.external({type:"instance",library:ey,name:i0})),L_=[];R_.success&&L_.push(...h_("Response")(I_)(R_.success.media())),R_.operation()["x-samchon-human"]===!0&&L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestia/core")("HumanRoute"),void 0,void 0)));const J_=R_.emendedPath.slice(T_.path.length).split("/").filter(ey=>!!ey.length).join("/"),W_=ey=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access($_("@nestia/core")(ey),StringUtil.capitalize(R_.method)),[],J_.length?[ts$1.factory.createStringLiteral(J_)]:void 0));(q_=R_.success)!=null&&q_["x-nestia-encrypted"]?L_.push(W_("EncryptedRoute")):((ny=R_.success)==null?void 0:ny.type)==="text/plain"?L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestjs/common")(StringUtil.capitalize(R_.method)),[],[ts$1.factory.createStringLiteral(R_.path)]))):((hy=R_.success)==null?void 0:hy.type)==="application/x-www-form-urlencoded"?L_.push(W_("TypedQuery")):R_.method==="head"?L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestjs/common")("Head"),[],[ts$1.factory.createStringLiteral(R_.path)]))):(R_.success===null||((sm=R_.success)==null?void 0:sm.type)==="application/json")&&L_.push(W_("TypedRoute"));for(const[ey,i0]of Object.entries(R_.exceptions??{}))L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestia/core")("TypedException"),[MigrateSchemaProgrammer.write(D_)(I_)(i0.schema)],[isNaN(Number(ey))?ts$1.factory.createStringLiteral(ey):ExpressionFactory.number(Number(ey)),...(ty=i0.response().description)!=null&&ty.length?[ts$1.factory.createStringLiteral(i0.response().description)]:[]])));return L_},u_=D_=>I_=>T_=>{var R_;return[...T_.parameters.map($_=>ts$1.factory.createParameterDeclaration([...h_("Parameter")(I_)($_.parameter()),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"TypedParam"})),void 0,[ts$1.factory.createStringLiteral($_.key)]))],void 0,$_.key,void 0,MigrateSchemaProgrammer.write(D_)(I_)($_.schema))),...T_.headers?[d_({method:"TypedHeaders",variable:"headers",arguments:[]})(D_)(I_)({required:!0,schema:T_.headers.schema,example:T_.headers.example(),examples:T_.headers.examples()})]:[],...T_.query?[d_({method:"TypedQuery",variable:"query",arguments:[]})(D_)(I_)({required:!0,schema:T_.query.schema,example:T_.query.example(),examples:T_.query.examples()})]:[],...T_.body?[d_({method:T_.body["x-nestia-encrypted"]?"EncryptedBody":T_.body.type==="application/json"?"TypedBody":T_.body.type==="application/x-www-form-urlencoded"?["TypedQuery","Body"]:T_.body.type==="text/plain"?"PlainBody":T_.body.type==="multipart/form-data"?["TypedFormData","Body"]:"TypedBody",variable:"body",arguments:T_.body.type==="multipart/form-data"?[ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(I_.external({type:"default",library:"multer",name:"Multer"})),void 0,void 0))]:[]})(D_)(I_)({schema:T_.body.schema,required:!((T_.body.type==="application/json"||T_.body.type==="text/plain")&&((R_=T_.operation().requestBody)==null?void 0:R_.required)===!1),example:T_.body.media().example,examples:T_.body.media().examples})]:[]]},d_=D_=>I_=>T_=>R_=>{const $_=ts$1.factory.createIdentifier(T_.external({type:"instance",library:"@nestia/core",name:typeof D_.method=="string"?D_.method:D_.method[0]}));return ts$1.factory.createParameterDeclaration([...h_("Parameter")(T_)(R_),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(typeof D_.method=="string"?$_:IdentifierFactory.access($_,D_.method[1]),void 0,D_.arguments))],void 0,D_.variable,R_.required===!1?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,MigrateSchemaProgrammer.write(I_)(T_)(R_.schema))},h_=D_=>I_=>T_=>[...T_.example!==void 0?[ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),D_),[],[LiteralFactory.write(T_.example)]))]:[],...Object.entries(T_.examples??{}).map(([R_,$_])=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),D_),[],[ts$1.factory.createStringLiteral(R_),LiteralFactory.write($_)])))]})(MigrateNestMethodProgrammer||(MigrateNestMethodProgrammer={}));var MigrateNestControllerProgrammer;(function(o){o.write=r_=>a_=>{const u_=new MigrateImportProgrammer,d_=ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(u_.external({type:"instance",library:"@nestjs/common",name:"Controller"})),[],[ts$1.factory.createStringLiteral(a_.path)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],a_.name,[],[],a_.routes.map(MigrateNestMethodProgrammer.write(r_)(u_)(a_)));return[...u_.toStatements(h_=>`${"../".repeat(StringUtil.splitWithNormalization(a_.location).length-1)}api/structures/${h_}`),...u_.empty()?[]:[FilePrinter.newLine()],d_]}})(MigrateNestControllerProgrammer||(MigrateNestControllerProgrammer={}));var MigrateNestModuleProgrammer;(function(o){o.write=r_=>[$import("@nestjs/common")("Module"),...r_.length?[FilePrinter.newLine()]:[],...r_.map(a_=>$import(`${a_.location.replace("src/","./")}/${a_.name}`)(a_.name)),...r_.length?[FilePrinter.newLine()]:[],ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Module"),void 0,[ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment(ts$1.factory.createIdentifier("controllers"),ts$1.factory.createArrayLiteralExpression(r_.map(a_=>ts$1.factory.createIdentifier(a_.name)),!0))],!0)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],"MyModule",void 0,void 0,[])]})(MigrateNestModuleProgrammer||(MigrateNestModuleProgrammer={}));const $import=o=>r_=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(r_))])),ts$1.factory.createStringLiteral(o));var MigrateNestProgrammer;(function(o){o.write=u_=>{const d_=MigrateControllerAnalyzer.analyze({routes:u_.routes});return[{location:"src",file:"MyModule.ts",statements:MigrateNestModuleProgrammer.write(d_)},...d_.map(h_=>({location:h_.location,file:`${h_.name}.ts`,statements:MigrateNestControllerProgrammer.write(u_.document.components)(h_)})),...[...MigrateDtoProgrammer.compose(u_.document.components).entries()].map(([h_,D_])=>({location:"src/api/structures",file:`${h_}.ts`,statements:r_(h_,D_)}))].map(h_=>({location:h_.location,file:h_.file,content:FilePrinter.write({statements:h_.statements})}))};const r_=(u_,d_)=>{const h_=new MigrateImportProgrammer,D_=a_(h_)(d_);return D_.length===0?[]:[...h_.toStatements(I_=>`./${I_}`,u_),...h_.empty()?[]:[FilePrinter.newLine()],...D_]},a_=u_=>d_=>{const h_=[];if(d_.programmer!==null&&h_.push(d_.programmer(u_)),d_.children.size){const D_=[];for(const I_ of d_.children.values())D_.push(...a_(u_)(I_));h_.push(ts$1.factory.createModuleDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(d_.name),ts$1.factory.createModuleBlock(D_),ts$1.NodeFlags.Namespace))}return h_}})(MigrateNestProgrammer||(MigrateNestProgrammer={}));class MigrateApplication{constructor(r_){this.document=r_}static create(r_){const a_=(()=>{const u_=i_=>typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&I_(i_.info))&&typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&$_(i_.components)&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&OC(i_.paths))&&(i_.webhooks===void 0||typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1&&OC(i_.webhooks))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&pC(v_)))&&i_["x-samchon-emended-v4"]===!0,d_=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&h_(i_.variables)),h_=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&D_(C_)}),D_=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),I_=i_=>typeof i_.title=="string"&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&T_(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&R_(i_.license))&&typeof i_.version=="string",T_=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"&&/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(i_.email)),R_=i_=>typeof i_.name=="string"&&(i_.identifier===void 0||typeof i_.identifier=="string")&&(i_.url===void 0||typeof i_.url=="string"),$_=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&L_(i_.schemas))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&fS(i_.securitySchemes)),L_=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&jF(C_)}),J_=i_=>(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),W_=i_=>Object.keys(i_).every(v_=>(i_[v_]===void 0,!0)),q_=i_=>(i_.default===void 0||typeof i_.default=="boolean")&&i_.type==="boolean"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ny=i_=>(i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&i_.type==="integer"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),hy=i_=>(i_.default===void 0||typeof i_.default=="number")&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&i_.type==="number"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),sm=i_=>(i_.default===void 0||typeof i_.default=="string")&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&i_.type==="string"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ty=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&jF(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&i_.type==="array"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ey=i_=>i_.type==="array"&&Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&jF(v_))&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&jF(i_.additionalItems))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),i0=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&L_(i_.properties))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&jF(i_.additionalProperties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.type==="object"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Hv=i_=>typeof i_.$ref=="string"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),uy=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&JG(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&qx(i_.discriminator))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Xv=i_=>(i_.default===null||i_.default===void 0)&&i_.type==="null"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),dx=i_=>i_.type!==null&&i_.type===void 0&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),qx=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),Sx=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="string"}),fS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&q3(C_)}),oS=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),gx=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),gS=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),SS=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&PS(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),PS=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&AS(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&fT(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&uT(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&uT(i_.clientCredentials)),AS=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),fT=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),uT=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),zT=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),OC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&eS(C_)}),eS=i_=>(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&kT(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&kT(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&kT(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&kT(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&kT(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&kT(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&kT(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&kT(i_.trace)),kT=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&TC(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&gT(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&CD(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&(i_["x-samchon-human"]===void 0||typeof i_["x-samchon-human"]=="boolean")&&(i_["x-samchon-accessor"]===void 0||Array.isArray(i_["x-samchon-accessor"])&&i_["x-samchon-accessor"].every(v_=>typeof v_=="string"))&&(i_["x-samchon-controller"]===void 0||typeof i_["x-samchon-controller"]=="string"),TC=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&jF(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&tC(i_.examples)),tC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xS(C_)}),xS=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),gT=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&IC(i_.content))&&(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"),IC=i_=>(i_["text/plain"]===void 0||typeof i_["text/plain"]=="object"&&i_["text/plain"]!==null&&Array.isArray(i_["text/plain"])===!1&&xx(i_["text/plain"]))&&(i_["application/json"]===void 0||typeof i_["application/json"]=="object"&&i_["application/json"]!==null&&Array.isArray(i_["application/json"])===!1&&xx(i_["application/json"]))&&(i_["multipart/form-data"]===void 0||typeof i_["multipart/form-data"]=="object"&&i_["multipart/form-data"]!==null&&Array.isArray(i_["multipart/form-data"])===!1&&xx(i_["multipart/form-data"]))&&(i_["application/x-www-form-url-encoded"]===void 0||typeof i_["application/x-www-form-url-encoded"]=="object"&&i_["application/x-www-form-url-encoded"]!==null&&Array.isArray(i_["application/x-www-form-url-encoded"])===!1&&xx(i_["application/x-www-form-url-encoded"]))&&(i_["*/*"]===void 0||typeof i_["*/*"]=="object"&&i_["*/*"]!==null&&Array.isArray(i_["*/*"])===!1&&xx(i_["*/*"]))&&Object.keys(i_).every(v_=>{if(["text/plain","application/json","multipart/form-data","application/x-www-form-url-encoded","*/*"].some(X_=>v_===X_))return!0;const C_=i_[v_];return C_===void 0?!0:C_===void 0||typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xx(C_)}),xx=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&jF(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&tC(i_.examples)),CD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&nT(C_)}),nT=i_=>(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&nS(i_.headers))&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&IC(i_.content))&&(i_.description===void 0||typeof i_.description=="string")&&(i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"),nS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&TC(C_)}),ZS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:Array.isArray(C_)&&C_.every(X_=>typeof X_=="string")}),pC=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),VC=i_=>i_.swagger!==null&&i_.swagger!==void 0&&(i_.swagger==="2.0"||typeof i_.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.swagger))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&fD(i_.info))&&(i_.host===void 0||typeof i_.host=="string")&&(i_.basePath===void 0||typeof i_.basePath=="string")&&(i_.consumes===void 0||Array.isArray(i_.consumes)&&i_.consumes.every(v_=>typeof v_=="string"))&&(i_.produces===void 0||Array.isArray(i_.produces)&&i_.produces.every(v_=>typeof v_=="string"))&&(i_.definitions===void 0||typeof i_.definitions=="object"&&i_.definitions!==null&&Array.isArray(i_.definitions)===!1&&oE(i_.definitions))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&$T(i_.parameters))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&DC(i_.responses))&&(i_.securityDefinitions===void 0||typeof i_.securityDefinitions=="object"&&i_.securityDefinitions!==null&&Array.isArray(i_.securityDefinitions)===!1&&VD(i_.securityDefinitions))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&mD(i_.paths))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&bx(v_))),fD=i_=>typeof i_.title=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&pE(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&KD(i_.license))&&typeof i_.version=="string",pE=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),KD=i_=>typeof i_.name=="string"&&(i_.url===void 0||typeof i_.url=="string"),oE=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&R8(C_)}),mA=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),hE=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),fI=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),yE=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),RS=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&R8(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),yI=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&oE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&R8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),mS=i_=>typeof i_.$ref=="string"&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,wx=i_=>Array.isArray(i_["x-anyOf"])&&i_["x-anyOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Bx=i_=>Array.isArray(i_["x-oneOf"])&&i_["x-oneOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,lS=i_=>i_.type==="null"&&(i_.default===null||i_.default===void 0)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,kS=i_=>i_.type!==null&&i_.type===void 0&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,$T=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&oN(C_)}),dT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",QT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",ZT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",YT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",vD=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&R8(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",MC=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&oE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&R8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",DE=i_=>typeof i_.$ref=="string"&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",PD=i_=>Array.isArray(i_["x-anyOf"])&&i_["x-anyOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",eD=i_=>Array.isArray(i_["x-oneOf"])&&i_["x-oneOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",vE=i_=>i_.type==="null"&&(i_.default===null||i_.default===void 0)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",DI=i_=>i_.type!==null&&i_.type===void 0&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",PT=i_=>typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&R8(i_.schema)&&typeof i_.name=="string"&&typeof i_.in=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean"),DC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&KT(C_)}),KT=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&oE(i_.headers))&&(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&R8(i_.schema))&&!0,VD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&zz(C_)}),ZD=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),BE=i_=>i_.type==="basic"&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),aD=i_=>i_.type==="oauth2"&&i_.flow==="implicit"&&(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),ST=i_=>i_.type==="oauth2"&&i_.flow==="accessCode"&&(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),sC=i_=>i_.type==="oauth2"&&i_.flow==="password"&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),dE=i_=>i_.type==="oauth2"&&i_.flow==="application"&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),mD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&pI(C_)}),pI=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&JJ(v_)))&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&IA(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&IA(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&IA(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&IA(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&IA(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&IA(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&IA(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&IA(i_.trace)),LC=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,IA=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&sL(v_)))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&LT(i_.responses))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),Zw=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LT=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&mO(C_)}),GT=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,bx=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),UA=i_=>i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&TA(i_.info))&&(i_.components===void 0||typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&U3(i_.components))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&s7(i_.paths))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&oD(v_))),MI=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&PC(i_.variables)),PC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&VE(C_)}),VE=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),TA=i_=>typeof i_.title=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&TD(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&LA(i_.license))&&typeof i_.version=="string",TD=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),LA=i_=>typeof i_.name=="string"&&(i_.url===void 0||typeof i_.url=="string"),U3=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&xT(i_.schemas))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&eP(i_.responses))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&Yq(i_.parameters))&&(i_.requestBodies===void 0||typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1&&z9(i_.requestBodies))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&GP(i_.securitySchemes))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&eM(i_.headers))&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$z(i_.examples)),xT=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&Z$(C_)}),AC=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),AD=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),RT=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),aE=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),yC=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&Z$(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ET=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&xT(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&Z$(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),JS=i_=>typeof i_.$ref=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,UT=i_=>Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,YS=i_=>Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NT=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&EE(i_.discriminator))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,EE=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),PA=i_=>(i_.default===null||i_.default===void 0)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="null"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),EA=i_=>(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type!==null&&i_.type===void 0&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),eP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&sF(C_)}),sF=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&YP(i_.content))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&H4(i_.headers))&&(i_.description===void 0||typeof i_.description=="string"),YP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&fA(C_)}),fA=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples)),NA=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aL(C_)}),xw=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),f5=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,H4=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&VG(C_)}),RF=i_=>(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples))&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.name===void 0||typeof i_.name=="string")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema),RP=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Yq=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&LI(C_)}),LI=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples)),z9=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&BN(C_)}),BN=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&YP(i_.content)),GP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&zG(C_)}),BT=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),i7=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),e4=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),JN=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&t4(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),t4=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&QP(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&q8(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&H5(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&H5(i_.clientCredentials)),QP=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),q8=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),H5=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),G5=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),eM=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&RF(C_)}),$z=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xw(C_)}),s7=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&z_(C_)}),z_=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&q9(v_)))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&hx(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&hx(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&hx(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&hx(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&hx(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&hx(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&hx(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&hx(i_.trace)),d0=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,hx=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&q9(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&vB(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&XS(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),Jx=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,XS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aW(C_)}),$C=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,oD=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),zE=i_=>typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&Y3(i_.info))&&(i_.components===void 0||typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&X$(i_.components))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&Qq(i_.paths))&&(i_.webhooks===void 0||typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1&&Q3(i_.webhooks))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&Q$(v_))),pA=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&K3(i_.variables)),K3=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&X3(C_)}),X3=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&1<=i_.enum.length&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),Y3=i_=>typeof i_.title=="string"&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&LO(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&K$(i_.license))&&typeof i_.version=="string",LO=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),K$=i_=>typeof i_.name=="string"&&(i_.identifier===void 0||typeof i_.identifier=="string")&&(i_.url===void 0||typeof i_.url=="string"),X$=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&PE(i_.schemas))&&(i_.pathItems===void 0||typeof i_.pathItems=="object"&&i_.pathItems!==null&&Array.isArray(i_.pathItems)===!1&&Qq(i_.pathItems))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&Tee(i_.responses))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&U9(i_.parameters))&&(i_.requestBodies===void 0||typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1&&SN(i_.requestBodies))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&a7(i_.securitySchemes))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&$Y(i_.headers))&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&iW(i_.examples)),PE=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&b8(C_)}),_O=i_=>Array.isArray(i_.type)&&i_.type.every(v_=>v_==="string"||v_==="number"||v_==="boolean"||v_==="object"||v_==="null"||v_==="integer"||v_==="array")&&(i_.default===null||i_.default===void 0||Array.isArray(i_.default))&&(i_.enum===void 0||Array.isArray(i_.enum))&&(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&i_.items!==null&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&b8(i_.items))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.prefixItems===void 0||Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_)))&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&b8(i_.additionalItems))&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&PE(i_.properties))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&b8(i_.additionalProperties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&LJ(i_.discriminator))&&Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&typeof i_.$ref=="string",K5=i_=>(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,X5=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Rz=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"&&Math.floor(i_.exclusiveMinimum)===i_.exclusiveMinimum&&-9223372036854776e3<=i_.exclusiveMinimum&&i_.exclusiveMinimum<=9223372036854776e3||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"&&Math.floor(i_.exclusiveMaximum)===i_.exclusiveMaximum&&-9223372036854776e3<=i_.exclusiveMaximum&&i_.exclusiveMaximum<=9223372036854776e3||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),f8=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),MF=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Mz=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.items!==null&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&b8(i_.items))&&(i_.prefixItems===void 0||Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_)))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&b8(i_.additionalItems))&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Y$=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&PE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&b8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),yB=i_=>typeof i_.$ref=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NG=i_=>typeof i_.$recursiveRef=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,FG=i_=>Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Lz=i_=>Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,jz=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&LJ(i_.discriminator))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LJ=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),Bz=i_=>(i_.default===null||i_.default===void 0)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="null"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),V_=i_=>i_.type!==null&&i_.type===void 0&&!0&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Qq=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&OG(C_)}),OG=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&W9(v_)))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&LF(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&LF(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&LF(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&LF(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&LF(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&LF(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&LF(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&LF(i_.trace)),Zq=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples)),$G=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&Uz(C_)}),aF=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),PY=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,jO=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,T7=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LF=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&W9(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&oW(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&NY(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),jJ=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&iL(i_.content)),iL=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&eW(C_)}),eW=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples)),RG=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NY=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&zC(C_)}),tW=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&iL(i_.content))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&FY(i_.headers))&&(i_.description===void 0||typeof i_.description=="string"),FY=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&H9(C_)}),MG=i_=>(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples))&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.name===void 0||typeof i_.name=="string")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema),Jz=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Tee=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&tW(C_)}),U9=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Zq(C_)}),SN=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&jJ(C_)}),a7=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&UG(C_)}),OY=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),Vz=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),LG=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),BJ=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&rW(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),rW=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&jG(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&Cee(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&BG(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&BG(i_.clientCredentials)),jG=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),Cee=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),BG=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),nW=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),$Y=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&MG(C_)}),iW=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aF(C_)}),Q3=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&qz(C_)}),sW=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Q$=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),jF=i_=>i_.const!==void 0?J_(i_):i_.type==="boolean"?q_(i_):i_.type==="number"?hy(i_):i_.type==="integer"?ny(i_):i_.type==="string"?sm(i_):i_.items!==void 0?ty(i_):i_.prefixItems!==void 0?ey(i_):i_.type==="object"?i0(i_):i_.$ref!==void 0?Hv(i_):i_.oneOf!==void 0?uy(i_):i_.type==="null"?Xv(i_):dx(i_),JG=i_=>i_.const!==void 0?J_(i_):i_.type==="boolean"?q_(i_):i_.type==="number"?hy(i_):i_.type==="integer"?ny(i_):i_.type==="string"?sm(i_):i_.items!==void 0?ty(i_):i_.prefixItems!==void 0?ey(i_):i_.type==="object"?i0(i_):i_.$ref!==void 0?Hv(i_):i_.type==="null"?Xv(i_):dx(i_),R8=i_=>i_.type==="boolean"?mA(i_):i_.type==="number"?fI(i_):i_.type==="integer"?hE(i_):i_.type==="string"?yE(i_):i_.type==="array"?RS(i_):i_.type==="object"?yI(i_):i_.$ref!==void 0?mS(i_):i_["x-anyOf"]!==void 0?wx(i_):i_["x-oneOf"]!==void 0?Bx(i_):i_.type==="null"?lS(i_):kS(i_),JJ=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DE(i_)?DE(i_):DI(i_)?DI(i_):LC(i_)?LC(i_):!1,sL=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DE(i_)?DE(i_):DI(i_)?DI(i_):Zw(i_)?Zw(i_):!1,Z$=i_=>i_.type==="boolean"?AC(i_):i_.type==="number"?RT(i_):i_.type==="integer"?AD(i_):i_.type==="string"?aE(i_):i_.type==="array"?yC(i_):i_.type==="object"?ET(i_):i_.$ref!==void 0?JS(i_):i_.allOf!==void 0?UT(i_):i_.anyOf!==void 0?YS(i_):i_.oneOf!==void 0?NT(i_):i_.type==="null"?PA(i_):EA(i_),q9=i_=>i_.in!==void 0?LI(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?d0(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?RP(i_):!1,b8=i_=>Array.isArray(i_.type)&&i_.type.every(v_=>v_==="string"||v_==="number"||v_==="boolean"||v_==="object"||v_==="null"||v_==="integer"||v_==="array")?_O(i_):i_.type==="boolean"?X5(i_):i_.type==="number"?f8(i_):i_.type==="integer"?Rz(i_):i_.type==="string"?MF(i_):i_.type==="array"?Mz(i_):i_.type==="object"?Y$(i_):i_.$recursiveRef!==void 0?NG(i_):i_.type==="null"?Bz(i_):i_.const!==void 0?K5(i_):i_.$ref!==void 0?yB(i_):i_.allOf!==void 0?FG(i_):i_.anyOf!==void 0?Lz(i_):i_.oneOf!==void 0?jz(i_):V_(i_),W9=i_=>i_.in!==void 0?Zq(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?T7(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?jO(i_):!1,q3=i_=>i_.type==="apiKey"?oS(i_):i_.scheme==="basic"?gx(i_):i_.scheme==="bearer"?gS(i_):i_.type==="oauth2"?SS(i_):i_.type==="openIdConnect"?zT(i_):!1,oN=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_.$ref!==void 0?DE(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DI(i_),zz=i_=>i_.type==="apiKey"?ZD(i_):i_.type==="basic"?BE(i_):i_.flow==="implicit"?aD(i_):i_.flow==="accessCode"?ST(i_):i_.flow==="application"?dE(i_):i_.flow==="password"?sC(i_):!1,mO=i_=>i_.$ref!==void 0?GT(i_):KT(i_),aL=i_=>i_.$ref!==void 0?f5(i_):xw(i_),VG=i_=>i_.schema!==void 0?RF(i_):i_.$ref!==void 0?RP(i_):!1,zG=i_=>i_.type==="apiKey"?BT(i_):i_.scheme==="basic"?i7(i_):i_.scheme==="bearer"?e4(i_):i_.type==="oauth2"?JN(i_):i_.type==="openIdConnect"?G5(i_):!1,vB=i_=>i_.$ref!==void 0?Jx(i_):BN(i_),aW=i_=>i_.$ref!==void 0?$C(i_):sF(i_),Uz=i_=>i_.$ref!==void 0?PY(i_):aF(i_),oW=i_=>i_.$ref!==void 0?RG(i_):jJ(i_),zC=i_=>i_.$ref!==void 0?Jz(i_):tW(i_),H9=i_=>i_.$ref!==void 0?jO(i_):i_.schema!==void 0?MG(i_):!1,UG=i_=>i_.type==="apiKey"?OY(i_):i_.scheme==="basic"?Vz(i_):i_.scheme==="bearer"?LG(i_):i_.type==="oauth2"?BJ(i_):i_.type==="openIdConnect"?nW(i_):!1,qz=i_=>i_.$ref!==void 0?sW(i_):OG(i_),cW=i_=>i_["x-samchon-emended-v4"]!==void 0?u_(i_):i_.swagger!==void 0?VC(i_):i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))?UA(i_):typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)?zE(i_):!1,VJ=(i_,v_,C_=!0)=>[typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:"`3.1.${number}`",value:i_.openapi}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:i_.info}))&&Wz(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:i_.info}),(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"OpenApi.IComponents",value:i_.components}))&&qG(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"OpenApi.IComponents",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.paths}))&&XJ(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.paths}),i_.webhooks===void 0||(typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1||O_(C_,{path:v_+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.webhooks}))&&XJ(i_.webhooks,v_+".webhooks",C_)||O_(C_,{path:v_+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.webhooks}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApi.IDocument.ITag",value:X_}))&&Y9(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApi.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:i_.tags}),i_["x-samchon-emended-v4"]===!0||O_(C_,{path:v_+'["x-samchon-emended-v4"]',expected:"true",value:i_["x-samchon-emended-v4"]})].every(X_=>X_),zJ=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:i_.variables}))&&lW(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),lW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IServer.IVariable",value:Zv}))&&uW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),uW=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Wz=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:i_.contact}))&&Hz(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:i_.license}))&&fW(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),Hz=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"&&(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(i_.email)||O_(C_,{path:v_+".email",expected:'string & Format<"email">',value:i_.email}))||O_(C_,{path:v_+".email",expected:'((string & Format<"email">) | undefined)',value:i_.email})].every(X_=>X_),fW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.identifier===void 0||typeof i_.identifier=="string"||O_(C_,{path:v_+".identifier",expected:"(string | undefined)",value:i_.identifier}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),qG=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.schemas}))&&xB(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.schemas}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&_W(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:i_.securitySchemes})].every(X_=>X_),xB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:Zv}))&&Q5(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),pW=(i_,v_,C_=!0)=>[typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),$3=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>(i_[X_]===void 0,!0)).every(X_=>X_)].every(X_=>X_),UJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | undefined)",value:i_.default}),i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),qJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | undefined)',value:i_.default}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Gz=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(number | undefined)",value:i_.default}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),WJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(string | undefined)",value:i_.default}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Kz=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.items}))&&Q5(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),HJ=(i_,v_,C_=!0)=>[i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_}))&&Q5(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:i_.prefixItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&Q5(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Xz=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.properties}))&&xB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.properties}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&Q5(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),G9=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),WG=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_}))&&lK(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&dW(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Yz=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Qz=(i_,v_,C_=!0)=>[!0,(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),dW=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),W7=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:typeof Zv=="string"||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"string",value:Zv})}).every(X_=>X_)].every(X_=>X_),_W=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:Zv}))&&XY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),mW=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),gW=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),bB=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),HG=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&Zz(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Zz=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&hW(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&GJ(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&KJ(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&KJ(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),hW=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),GJ=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),KJ=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),GG=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),XJ=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IPath",value:Zv}))&&eU(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),eU=(i_,v_,C_=!0)=>[i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApi.IOperation | undefined)",value:i_.head}))&&e9(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApi.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApi.IOperation | undefined)",value:i_.get}))&&e9(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApi.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApi.IOperation | undefined)",value:i_.post}))&&e9(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApi.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApi.IOperation | undefined)",value:i_.put}))&&e9(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApi.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApi.IOperation | undefined)",value:i_.patch}))&&e9(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApi.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:i_.delete}))&&e9(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApi.IOperation | undefined)",value:i_.options}))&&e9(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApi.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApi.IOperation | undefined)",value:i_.trace}))&&e9(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApi.IOperation | undefined)",value:i_.trace})].every(X_=>X_),e9=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"OpenApi.IOperation.IParameter",value:X_}))&&EP(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"OpenApi.IOperation.IParameter",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&K9(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:i_.responses}))&&X9(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),i_["x-samchon-human"]===void 0||typeof i_["x-samchon-human"]=="boolean"||O_(C_,{path:v_+'["x-samchon-human"]',expected:"(boolean | undefined)",value:i_["x-samchon-human"]}),i_["x-samchon-accessor"]===void 0||(Array.isArray(i_["x-samchon-accessor"])||O_(C_,{path:v_+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:i_["x-samchon-accessor"]}))&&i_["x-samchon-accessor"].map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["x-samchon-accessor"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:i_["x-samchon-accessor"]}),i_["x-samchon-controller"]===void 0||typeof i_["x-samchon-controller"]=="string"||O_(C_,{path:v_+'["x-samchon-controller"]',expected:"(string | undefined)",value:i_["x-samchon-controller"]})].every(X_=>X_),EP=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.schema}))&&Q5(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples}))&&t9(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples})].every(X_=>X_),t9=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IExample",value:Zv}))&&YJ(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),YJ=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),K9=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}))&&tU(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"||O_(C_,{path:v_+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:i_["x-nestia-encrypted"]})].every(X_=>X_),tU=(i_,v_,C_=!0)=>[i_["text/plain"]===void 0||(typeof i_["text/plain"]=="object"&&i_["text/plain"]!==null&&Array.isArray(i_["text/plain"])===!1||O_(C_,{path:v_+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["text/plain"]}))&&KP(i_["text/plain"],v_+'["text/plain"]',C_)||O_(C_,{path:v_+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["text/plain"]}),i_["application/json"]===void 0||(typeof i_["application/json"]=="object"&&i_["application/json"]!==null&&Array.isArray(i_["application/json"])===!1||O_(C_,{path:v_+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/json"]}))&&KP(i_["application/json"],v_+'["application/json"]',C_)||O_(C_,{path:v_+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/json"]}),i_["multipart/form-data"]===void 0||(typeof i_["multipart/form-data"]=="object"&&i_["multipart/form-data"]!==null&&Array.isArray(i_["multipart/form-data"])===!1||O_(C_,{path:v_+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["multipart/form-data"]}))&&KP(i_["multipart/form-data"],v_+'["multipart/form-data"]',C_)||O_(C_,{path:v_+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["multipart/form-data"]}),i_["application/x-www-form-url-encoded"]===void 0||(typeof i_["application/x-www-form-url-encoded"]=="object"&&i_["application/x-www-form-url-encoded"]!==null&&Array.isArray(i_["application/x-www-form-url-encoded"])===!1||O_(C_,{path:v_+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/x-www-form-url-encoded"]}))&&KP(i_["application/x-www-form-url-encoded"],v_+'["application/x-www-form-url-encoded"]',C_)||O_(C_,{path:v_+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/x-www-form-url-encoded"]}),i_["*/*"]===void 0||(typeof i_["*/*"]=="object"&&i_["*/*"]!==null&&Array.isArray(i_["*/*"])===!1||O_(C_,{path:v_+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["*/*"]}))&&KP(i_["*/*"],v_+'["*/*"]',C_)||O_(C_,{path:v_+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["*/*"]}),C_===!1||Object.keys(i_).map(X_=>{if(["text/plain","application/json","multipart/form-data","application/x-www-form-url-encoded","*/*"].some(UD=>X_===UD))return!0;const Zv=i_[X_];return Zv===void 0?!0:Zv===void 0||(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:Zv}))&&KP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:Zv})}).every(X_=>X_)].every(X_=>X_),KP=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&Q5(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples}))&&t9(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples})].every(X_=>X_),X9=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IResponse",value:Zv}))&&o7(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),o7=(i_,v_,C_=!0)=>[i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:i_.headers}))&&KG(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:i_.headers}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}))&&tU(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"||O_(C_,{path:v_+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:i_["x-nestia-encrypted"]})].every(X_=>X_),KG=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IParameter",value:Zv}))&&EP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),p5=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(Array.isArray(Zv)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"Array<string>",value:Zv}))&&Zv.map((UD,yA)=>typeof UD=="string"||O_(C_,{path:v_+_accessExpressionAsString_2(X_)+"["+yA+"]",expected:"string",value:UD})).every(UD=>UD)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"Array<string>",value:Zv})}).every(X_=>X_)].every(X_=>X_),Y9=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Q9=(i_,v_,C_=!0)=>[(i_.swagger!==null||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger}))&&(i_.swagger!==void 0||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger}))&&(i_.swagger==="2.0"||typeof i_.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.swagger)||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger})),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:i_.info}))&&XG(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:i_.info}),i_.host===void 0||typeof i_.host=="string"||O_(C_,{path:v_+".host",expected:"(string | undefined)",value:i_.host}),i_.basePath===void 0||typeof i_.basePath=="string"||O_(C_,{path:v_+".basePath",expected:"(string | undefined)",value:i_.basePath}),i_.consumes===void 0||(Array.isArray(i_.consumes)||O_(C_,{path:v_+".consumes",expected:"(Array<string> | undefined)",value:i_.consumes}))&&i_.consumes.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".consumes["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".consumes",expected:"(Array<string> | undefined)",value:i_.consumes}),i_.produces===void 0||(Array.isArray(i_.produces)||O_(C_,{path:v_+".produces",expected:"(Array<string> | undefined)",value:i_.produces}))&&i_.produces.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".produces["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".produces",expected:"(Array<string> | undefined)",value:i_.produces}),i_.definitions===void 0||(typeof i_.definitions=="object"&&i_.definitions!==null&&Array.isArray(i_.definitions)===!1||O_(C_,{path:v_+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.definitions}))&&SB(i_.definitions,v_+".definitions",C_)||O_(C_,{path:v_+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.definitions}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:i_.parameters}))&&SW(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:i_.responses}))&&TW(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:i_.responses}),i_.securityDefinitions===void 0||(typeof i_.securityDefinitions=="object"&&i_.securityDefinitions!==null&&Array.isArray(i_.securityDefinitions)===!1||O_(C_,{path:v_+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:i_.securityDefinitions}))&&CW(i_.securityDefinitions,v_+".securityDefinitions",C_)||O_(C_,{path:v_+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:i_.securityDefinitions}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:i_.paths}))&&RY(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:i_.paths}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"SwaggerV2.IDocument.ITag",value:X_}))&&EW(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"SwaggerV2.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),XG=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:i_.contact}))&&YG(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:i_.license}))&&yW(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),YG=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),yW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),SB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:Zv}))&&lF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),tM=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),vW=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),rU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),xW=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),nU=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}))&&lF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),QJ=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}))&&SB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&lF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),iU=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),bW=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-anyOf"])||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}))&&i_["x-anyOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-anyOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),sU=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-oneOf"])||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}))&&i_["x-oneOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-oneOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),QG=(i_,v_,C_=!0)=>[i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),TB=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),SW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:Zv}))&&JF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:Zv})}).every(X_=>X_)].every(X_=>X_),oL=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),aU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),_4=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),oU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),ZJ=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}))&&lF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),cU=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}))&&SB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&lF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),CB=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),r9=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-anyOf"])||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}))&&i_["x-anyOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-anyOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),eV=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-oneOf"])||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}))&&i_["x-oneOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-oneOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),cL=(i_,v_,C_=!0)=>[i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),Z9=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),n9=(i_,v_,C_=!0)=>[(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.schema}))&&lF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.schema}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required})].every(X_=>X_),TW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IOperation.IResponse",value:Zv}))&&rM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),rM=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.headers}))&&SB(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.headers}),i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&lF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0].every(X_=>X_),CW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:Zv}))&&uF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:Zv})}).every(X_=>X_)].every(X_=>X_),p8=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),eR=(i_,v_,C_=!0)=>[i_.type==="basic"||O_(C_,{path:v_+".type",expected:'"basic"',value:i_.type}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),lU=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="implicit"||O_(C_,{path:v_+".flow",expected:'"implicit"',value:i_.flow}),i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),DW=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="accessCode"||O_(C_,{path:v_+".flow",expected:'"accessCode"',value:i_.flow}),i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),uU=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="password"||O_(C_,{path:v_+".flow",expected:'"password"',value:i_.flow}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),tV=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="application"||O_(C_,{path:v_+".flow",expected:'"application"',value:i_.flow}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),RY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IPath",value:Zv}))&&MY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),MY=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_}))&&uK(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(SwaggerV2.IOperation | undefined)",value:i_.head}))&&tR(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(SwaggerV2.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(SwaggerV2.IOperation | undefined)",value:i_.get}))&&tR(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(SwaggerV2.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(SwaggerV2.IOperation | undefined)",value:i_.post}))&&tR(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(SwaggerV2.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(SwaggerV2.IOperation | undefined)",value:i_.put}))&&tR(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(SwaggerV2.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:i_.patch}))&&tR(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:i_.delete}))&&tR(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(SwaggerV2.IOperation | undefined)",value:i_.options}))&&tR(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(SwaggerV2.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:i_.trace}))&&tR(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:i_.trace})].every(X_=>X_),LY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/parameters/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),tR=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_}))&&UW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:i_.responses}))&&jY(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:i_.responses}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),Dee=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/definitions/parameters/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),jY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:Zv}))&&fM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),BY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/definitions/responses/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),EW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),rV=(i_,v_,C_=!0)=>[(i_.openapi!==null||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi}))&&(i_.openapi!==void 0||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi}))&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi})),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:i_.info}))&&JY(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:i_.info}),i_.components===void 0||(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"(OpenApiV3.IComponents | undefined)",value:i_.components}))&&i9(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"(OpenApiV3.IComponents | undefined)",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:i_.paths}))&&pU(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:i_.paths}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3.IDocument.ITag",value:X_}))&&fL(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),AW=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:i_.variables}))&&nM(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),nM=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IServer.IVariable",value:Zv}))&&ZG(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),ZG=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),JY=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:i_.contact}))&&nV(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:i_.license}))&&BO(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),nV=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),BO=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),i9=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.schemas}))&&lL(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.schemas}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:i_.responses}))&&EB(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:i_.responses}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:i_.parameters}))&&c7(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBodies===void 0||(typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}))&&o4(i_.requestBodies,v_+".requestBodies",C_)||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&Eee(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:i_.securitySchemes}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:i_.headers}))&&oA(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:i_.headers}),i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:i_.examples}))&&_k(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:i_.examples})].every(X_=>X_),lL=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:Zv}))&&BF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),kW=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),fU=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),IW=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),I4=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),eK=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.items}))&&BF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),iw=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.properties}))&&lL(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&BF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),DB=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),VY=(i_,v_,C_=!0)=>[(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.allOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),tK=(i_,v_,C_=!0)=>[(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.anyOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),wW=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iV(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),iV=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),S8=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),iM=(i_,v_,C_=!0)=>[!0,i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),EB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IResponse",value:Zv}))&&AP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),AP=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}))&&sM(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:i_.headers}))&&zY(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:i_.headers}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),sM=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IMediaType",value:Zv}))&&uL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IMediaType",value:Zv})}).every(X_=>X_)].every(X_=>X_),uL=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples})].every(X_=>X_),cw=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv}))&&fF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv})}).every(X_=>X_)].every(X_=>X_),Vw=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),JO=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/examples/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),zY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv}))&&VF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv})}).every(X_=>X_)].every(X_=>X_),PW=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema})].every(X_=>X_),sV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/headers/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),c7=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IParameter",value:Zv}))&&jD(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),jD=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples})].every(X_=>X_),o4=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IRequestBody",value:Zv}))&&rK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IRequestBody",value:Zv})}).every(X_=>X_)].every(X_=>X_),rK=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}))&&sM(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content})].every(X_=>X_),Eee=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:Zv}))&&T8(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),rR=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Aee=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),hP=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Y5=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&tP(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),tP=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&aM(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&DD(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&VO(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&VO(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),aM=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),DD=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),VO=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),AB=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),oA=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:Zv}))&&PW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:Zv})}).every(X_=>X_)].every(X_=>X_),_k=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IExample",value:Zv}))&&Vw(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),pU=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IPath",value:Zv}))&&nK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),nK=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_}))&&PB(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApiV3.IOperation | undefined)",value:i_.head}))&&UI(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApiV3.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApiV3.IOperation | undefined)",value:i_.get}))&&UI(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApiV3.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApiV3.IOperation | undefined)",value:i_.post}))&&UI(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApiV3.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApiV3.IOperation | undefined)",value:i_.put}))&&UI(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApiV3.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:i_.patch}))&&UI(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:i_.delete}))&&UI(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApiV3.IOperation | undefined)",value:i_.options}))&&UI(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApiV3.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:i_.trace}))&&UI(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:i_.trace})].every(X_=>X_),NW=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/parameters/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),UI=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_}))&&PB(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&zF(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:i_.responses}))&&c4(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),zO=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/requestBodies/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),c4=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:Zv}))&&mL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),s9=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/responses/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),fL=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),kB=(i_,v_,C_=!0)=>[typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:"`3.1.${number}`",value:i_.openapi}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:i_.info}))&&UY(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:i_.info}),i_.components===void 0||(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:i_.components}))&&$W(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.paths}))&&jW(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.paths}),i_.webhooks===void 0||(typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1||O_(C_,{path:v_+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:i_.webhooks}))&&gI(i_.webhooks,v_+".webhooks",C_)||O_(C_,{path:v_+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:i_.webhooks}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3_1.IDocument.ITag",value:X_}))&&uM(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3_1.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),VN=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:i_.variables}))&&FW(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),FW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IServer.IVariable",value:Zv}))&&OW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),OW=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:i_.enum}))&&(1<=i_.enum.length||O_(C_,{path:v_+'["enum"]',expected:"Array<> & MinItems<1>",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),UY=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:i_.contact}))&&C7(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:i_.license}))&&TN(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),C7=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),TN=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.identifier===void 0||typeof i_.identifier=="string"||O_(C_,{path:v_+".identifier",expected:"(string | undefined)",value:i_.identifier}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),$W=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.schemas}))&&RW(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.schemas}),i_.pathItems===void 0||(typeof i_.pathItems=="object"&&i_.pathItems!==null&&Array.isArray(i_.pathItems)===!1||O_(C_,{path:v_+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.pathItems}))&&jW(i_.pathItems,v_+".pathItems",C_)||O_(C_,{path:v_+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.pathItems}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:i_.responses}))&&uV(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:i_.responses}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:i_.parameters}))&&oF(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBodies===void 0||(typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}))&&dL(i_.requestBodies,v_+".requestBodies",C_)||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&sR(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:i_.securitySchemes}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:i_.headers}))&&oK(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:i_.headers}),i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:i_.examples}))&&cK(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:i_.examples})].every(X_=>X_),RW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:Zv}))&&ZP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),d8=(i_,v_,C_=!0)=>[(Array.isArray(i_.type)||O_(C_,{path:v_+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "null" | "integer" | "array">',value:i_.type}))&&i_.type.map((X_,Zv)=>X_==="string"||X_==="number"||X_==="boolean"||X_==="object"||X_==="null"||X_==="integer"||X_==="array"||O_(C_,{path:v_+".type["+Zv+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:X_})).every(X_=>X_)||O_(C_,{path:v_+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "null" | "integer" | "array">',value:i_.type}),i_.default===null||i_.default===void 0||Array.isArray(i_.default)||O_(C_,{path:v_+'["default"]',expected:"(Array<any> | null | undefined)",value:i_.default}),i_.enum===void 0||Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<any> | undefined)",value:i_.enum}),typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),(i_.items!==null||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items}))&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".items["+Zv+"]",C_)||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&ZP(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.prefixItems===void 0||(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&ZP(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}))&&RW(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&ZP(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iK(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}),(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}),typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref})].every(X_=>X_),IB=(i_,v_,C_=!0)=>[typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),oM=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),cM=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"&&(Math.floor(i_.exclusiveMinimum)===i_.exclusiveMinimum&&-9223372036854776e3<=i_.exclusiveMinimum&&i_.exclusiveMinimum<=9223372036854776e3||O_(C_,{path:v_+".exclusiveMinimum",expected:'number & Type<"int64">',value:i_.exclusiveMinimum}))||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"&&(Math.floor(i_.exclusiveMaximum)===i_.exclusiveMaximum&&-9223372036854776e3<=i_.exclusiveMaximum&&i_.exclusiveMaximum<=9223372036854776e3||O_(C_,{path:v_+".exclusiveMaximum",expected:'number & Type<"int64">',value:i_.exclusiveMaximum}))||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),pL=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),wB=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),P_=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.items!==null||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items}))&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".items["+Zv+"]",C_)||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&ZP(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})),i_.prefixItems===void 0||(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&ZP(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),y_=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}))&&RW(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&ZP(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),MP=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),MW=(i_,v_,C_=!0)=>[typeof i_.$recursiveRef=="string"||O_(C_,{path:v_+".$recursiveRef",expected:"string",value:i_.$recursiveRef}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),aV=(i_,v_,C_=!0)=>[(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),dU=(i_,v_,C_=!0)=>[(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),LW=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iK(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),iK=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),qY=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),WY=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),!0,i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),jW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IPath",value:Zv}))&&sK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),sK=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_}))&&qW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.head}))&&nR(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.get}))&&nR(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.post}))&&nR(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.put}))&&nR(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.patch}))&&nR(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.delete}))&&nR(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.options}))&&nR(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.trace}))&&nR(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.trace})].every(X_=>X_),lM=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples})].every(X_=>X_),BW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv}))&&W8(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv})}).every(X_=>X_)].every(X_=>X_),HY=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),GY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/examples/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),_U=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/headers/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),oV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/parameters/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),nR=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_}))&&qW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&kee(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:i_.responses}))&&KY(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),d5=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}))&&JW(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content})].every(X_=>X_),JW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IMediaType",value:Zv}))&&oI(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IMediaType",value:Zv})}).every(X_=>X_)].every(X_=>X_),oI=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples})].every(X_=>X_),iR=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/requestBodies/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),KY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:Zv}))&&Iee(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),VW=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}))&&JW(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:i_.headers}))&&cV(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:i_.headers}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),cV=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv}))&&gL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv})}).every(X_=>X_)].every(X_=>X_),a9=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema})].every(X_=>X_),lV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/responses/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),uV=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IResponse",value:Zv}))&&VW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),oF=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IParameter",value:Zv}))&&lM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),dL=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IRequestBody",value:Zv}))&&d5(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IRequestBody",value:Zv})}).every(X_=>X_)].every(X_=>X_),sR=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:Zv}))&&WW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),_L=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),QA=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),cF=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),D7=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&LP(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),LP=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&aR(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&zW(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&fV(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&fV(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),aR=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),zW=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),fV=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),aK=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),oK=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:Zv}))&&a9(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:Zv})}).every(X_=>X_)].every(X_=>X_),cK=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IExample",value:Zv}))&&HY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),gI=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:Zv}))&&HW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:Zv})}).every(X_=>X_)].every(X_=>X_),mU=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/pathItems/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),uM=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Q5=(i_,v_,C_=!0)=>i_.const!==void 0?pW(i_,v_,C_):i_.type==="boolean"?UJ(i_,v_,C_):i_.type==="number"?Gz(i_,v_,C_):i_.type==="integer"?qJ(i_,v_,C_):i_.type==="string"?WJ(i_,v_,C_):i_.items!==void 0?Kz(i_,v_,C_):i_.prefixItems!==void 0?HJ(i_,v_,C_):i_.type==="object"?Xz(i_,v_,C_):i_.$ref!==void 0?G9(i_,v_,C_):i_.oneOf!==void 0?WG(i_,v_,C_):i_.type==="null"?Yz(i_,v_,C_):Qz(i_,v_,C_),lK=(i_,v_,C_=!0)=>i_.const!==void 0?pW(i_,v_,C_):i_.type==="boolean"?UJ(i_,v_,C_):i_.type==="number"?Gz(i_,v_,C_):i_.type==="integer"?qJ(i_,v_,C_):i_.type==="string"?WJ(i_,v_,C_):i_.items!==void 0?Kz(i_,v_,C_):i_.prefixItems!==void 0?HJ(i_,v_,C_):i_.type==="object"?Xz(i_,v_,C_):i_.$ref!==void 0?G9(i_,v_,C_):i_.type==="null"?Yz(i_,v_,C_):Qz(i_,v_,C_),lF=(i_,v_,C_=!0)=>i_.type==="boolean"?tM(i_,v_,C_):i_.type==="number"?rU(i_,v_,C_):i_.type==="integer"?vW(i_,v_,C_):i_.type==="string"?xW(i_,v_,C_):i_.type==="array"?nU(i_,v_,C_):i_.type==="object"?QJ(i_,v_,C_):i_.$ref!==void 0?iU(i_,v_,C_):i_["x-anyOf"]!==void 0?bW(i_,v_,C_):i_["x-oneOf"]!==void 0?sU(i_,v_,C_):i_.type==="null"?QG(i_,v_,C_):TB(i_,v_,C_),uK=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):CB(i_,v_,!1)||Z9(i_,v_,!1)||LY(i_,v_,!1),UW=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):CB(i_,v_,!1)||Z9(i_,v_,!1)||Dee(i_,v_,!1),BF=(i_,v_,C_=!0)=>i_.type==="boolean"?kW(i_,v_,C_):i_.type==="number"?IW(i_,v_,C_):i_.type==="integer"?fU(i_,v_,C_):i_.type==="string"?I4(i_,v_,C_):i_.type==="array"?eK(i_,v_,C_):i_.type==="object"?iw(i_,v_,C_):i_.$ref!==void 0?DB(i_,v_,C_):i_.allOf!==void 0?VY(i_,v_,C_):i_.anyOf!==void 0?tK(i_,v_,C_):i_.oneOf!==void 0?wW(i_,v_,C_):i_.type==="null"?S8(i_,v_,C_):iM(i_,v_,C_),PB=(i_,v_,C_=!0)=>i_.in!==void 0?jD(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?NW(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?sV(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:i_}),ZP=(i_,v_,C_=!0)=>Array.isArray(i_.type)&&i_.type.map((X_,Zv)=>X_==="string"||X_==="number"||X_==="boolean"||X_==="object"||X_==="null"||X_==="integer"||X_==="array").every(X_=>X_)?d8(i_,v_,C_):i_.type==="boolean"?oM(i_,v_,C_):i_.type==="number"?pL(i_,v_,C_):i_.type==="integer"?cM(i_,v_,C_):i_.type==="string"?wB(i_,v_,C_):i_.type==="array"?P_(i_,v_,C_):i_.type==="object"?y_(i_,v_,C_):i_.$recursiveRef!==void 0?MW(i_,v_,C_):i_.type==="null"?qY(i_,v_,C_):i_.const!==void 0?IB(i_,v_,C_):i_.$ref!==void 0?MP(i_,v_,C_):i_.allOf!==void 0?aV(i_,v_,C_):i_.anyOf!==void 0?dU(i_,v_,C_):i_.oneOf!==void 0?LW(i_,v_,C_):WY(i_,v_,C_),qW=(i_,v_,C_=!0)=>i_.in!==void 0?lM(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?oV(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?_U(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:i_}),XY=(i_,v_,C_=!0)=>i_.type==="apiKey"?mW(i_,v_,C_):i_.scheme==="basic"?gW(i_,v_,C_):i_.scheme==="bearer"?bB(i_,v_,C_):i_.type==="oauth2"?HG(i_,v_,C_):i_.type==="openIdConnect"?GG(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:i_}),JF=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_.$ref!==void 0?CB(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):Z9(i_,v_,C_),uF=(i_,v_,C_=!0)=>i_.type==="apiKey"?p8(i_,v_,C_):i_.type==="basic"?eR(i_,v_,C_):i_.flow==="implicit"?lU(i_,v_,C_):i_.flow==="accessCode"?DW(i_,v_,C_):i_.flow==="application"?tV(i_,v_,C_):i_.flow==="password"?uU(i_,v_,C_):O_(C_,{path:v_,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:i_}),fM=(i_,v_,C_=!0)=>i_.$ref!==void 0?BY(i_,v_,C_):rM(i_,v_,C_),fF=(i_,v_,C_=!0)=>i_.$ref!==void 0?JO(i_,v_,C_):Vw(i_,v_,C_),VF=(i_,v_,C_=!0)=>i_.schema!==void 0?PW(i_,v_,C_):i_.$ref!==void 0?sV(i_,v_,C_):O_(C_,{path:v_,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:i_}),T8=(i_,v_,C_=!0)=>i_.type==="apiKey"?rR(i_,v_,C_):i_.scheme==="basic"?Aee(i_,v_,C_):i_.scheme==="bearer"?hP(i_,v_,C_):i_.type==="oauth2"?Y5(i_,v_,C_):i_.type==="openIdConnect"?AB(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:i_}),zF=(i_,v_,C_=!0)=>i_.$ref!==void 0?zO(i_,v_,C_):rK(i_,v_,C_),mL=(i_,v_,C_=!0)=>i_.$ref!==void 0?s9(i_,v_,C_):AP(i_,v_,C_),W8=(i_,v_,C_=!0)=>i_.$ref!==void 0?GY(i_,v_,C_):HY(i_,v_,C_),kee=(i_,v_,C_=!0)=>i_.$ref!==void 0?iR(i_,v_,C_):d5(i_,v_,C_),Iee=(i_,v_,C_=!0)=>i_.$ref!==void 0?lV(i_,v_,C_):VW(i_,v_,C_),gL=(i_,v_,C_=!0)=>i_.$ref!==void 0?_U(i_,v_,C_):i_.schema!==void 0?a9(i_,v_,C_):O_(C_,{path:v_,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:i_}),WW=(i_,v_,C_=!0)=>i_.type==="apiKey"?_L(i_,v_,C_):i_.scheme==="basic"?QA(i_,v_,C_):i_.scheme==="bearer"?cF(i_,v_,C_):i_.type==="oauth2"?D7(i_,v_,C_):i_.type==="openIdConnect"?aK(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:i_}),HW=(i_,v_,C_=!0)=>i_.$ref!==void 0?mU(i_,v_,C_):sK(i_,v_,C_),s0=(i_,v_,C_=!0)=>i_["x-samchon-emended-v4"]!==void 0?VJ(i_,v_,C_):i_.swagger!==void 0?Q9(i_,v_,C_):i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))?rV(i_,v_,C_):typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)?kB(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument)",value:i_}),fx=i_=>typeof i_=="object"&&i_!==null&&cW(i_);let Px,O_;return i_=>{if(fx(i_)===!1){Px=[],O_=_validateReport_2(Px),((C_,X_,Zv=!0)=>(typeof C_=="object"&&C_!==null||O_(!0,{path:X_+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:C_}))&&s0(C_,X_+"",!0)||O_(!0,{path:X_+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:C_}))(i_,"$input",!0);const v_=Px.length===0;return v_?{success:v_,data:i_}:{success:v_,errors:Px,data:i_}}return{success:!0,data:i_}}})()(r_);return a_.success===!1?a_:{success:!0,data:new MigrateApplication(OpenApi.convert(r_))}}nest(r_){const a_=MigrateApplicationAnalyzer.analyze({mode:"nest",document:this.document,simulate:r_.simulate,e2e:r_.e2e}),u_={program:a_,files:[...NEST_TEMPLATE,...MigrateNestProgrammer.write(a_),...MigrateApiProgrammer.write(a_),...r_.e2e?MigrateE2eProgrammer.write(a_):[]],errors:a_.errors};return this.finalize(r_,u_)}sdk(r_){const a_=MigrateApplicationAnalyzer.analyze({mode:"sdk",document:this.document,simulate:r_.simulate,e2e:r_.e2e}),u_={program:a_,files:[...SDK_TEMPLATE,...MigrateApiProgrammer.write(a_),MigrateApiStartProgrammer.write(a_),...r_.e2e?MigrateE2eProgrammer.write(a_):[],{location:"",file:"swagger.json",content:JSON.stringify(this.document,null,2)}],errors:a_.errors};return this.finalize(r_,u_)}finalize(r_,a_){return r_.package&&(a_.files=a_.files.map(u_=>({...u_,content:u_.content.split("@ORGANIZATION/PROJECT").join(r_.package)}))),a_}}var MigrateFileArchiver;(function(o){o.archive=a_=>u_=>async d_=>{const h_=new Set;for(const D_ of d_)await r_(a_.mkdir)(u_)(h_)(D_.location),await a_.writeFile([u_,D_.location,D_.file].join("/"),D_.content)};const r_=a_=>u_=>d_=>async h_=>{const D_=h_.split("/").map((I_,T_,R_)=>R_.slice(0,T_+1).join("/"));for(const I_ of D_)if(d_.has(I_)===!1)try{await a_([u_,I_].join("/")),d_.add(I_)}catch{}}})(MigrateFileArchiver||(MigrateFileArchiver={}));var Wa$1=Object.defineProperty,Js$1=o=>{throw TypeError(o)},Ar$1=(o,r_)=>{for(var a_ in r_)Wa$1(o,a_,{get:r_[a_],enumerable:!0})},qs$1=(o,r_,a_)=>r_.has(o)||Js$1("Cannot "+a_),pt$1=(o,r_,a_)=>(qs$1(o,r_,"read from private field"),r_.get(o)),Ws=(o,r_,a_)=>r_.has(o)?Js$1("Cannot add the same private member more than once"):r_ instanceof WeakSet?r_.add(o):r_.set(o,a_),Gs=(o,r_,a_,u_)=>(qs$1(o,r_,"write to private field"),r_.set(o,a_),a_),_s={};Ar$1(_s,{languages:()=>nm$1,options:()=>va,printers:()=>rm$1});var Us$1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],ws$1={};Ar$1(ws$1,{canAttachComment:()=>fp,embed:()=>Qu$1,experimentalFeatures:()=>Kl,getCommentChildNodes:()=>Ep,getVisitorKeys:()=>gr$2,handleComments:()=>Kn$1,insertPragma:()=>pi$1,isBlockComment:()=>re$1,isGap:()=>Fp$1,massageAstNode:()=>Cu$1,print:()=>Ia,printComment:()=>Pu$1,willPrintOwnComments:()=>zn$2});var Ga$1=(o,r_,a_,u_)=>{if(!(o&&r_==null))return r_.replaceAll?r_.replaceAll(a_,u_):a_.global?r_.replace(a_,u_):r_.split(a_).join(u_)},N$1=Ga$1,Ua$1=(o,r_,a_)=>{if(!(o&&r_==null))return Array.isArray(r_)||typeof r_=="string"?r_[a_<0?r_.length+a_:a_]:r_.at(a_)},O$1=Ua$1;function Na(o){return o!==null&&typeof o=="object"}var Ns$1=Na;function*Xa$1(o,r_){let{getVisitorKeys:a_,filter:u_=()=>!0}=r_,d_=h_=>Ns$1(h_)&&u_(h_);for(let h_ of a_(o)){let D_=o[h_];if(Array.isArray(D_))for(let I_ of D_)d_(I_)&&(yield I_);else d_(D_)&&(yield D_)}}function*Ya$1(o,r_){let a_=[o];for(let u_=0;u_<a_.length;u_++){let d_=a_[u_];for(let h_ of Xa$1(d_,r_))yield h_,a_.push(h_)}}function Xs(o,{getVisitorKeys:r_,predicate:a_}){for(let u_ of Ya$1(o,{getVisitorKeys:r_}))if(a_(u_))return!0;return!1}var Ys=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs(o){return o===12288||o>=65281&&o<=65376||o>=65504&&o<=65510}function Vs(o){return o>=4352&&o<=4447||o===8986||o===8987||o===9001||o===9002||o>=9193&&o<=9196||o===9200||o===9203||o===9725||o===9726||o===9748||o===9749||o>=9800&&o<=9811||o===9855||o===9875||o===9889||o===9898||o===9899||o===9917||o===9918||o===9924||o===9925||o===9934||o===9940||o===9962||o===9970||o===9971||o===9973||o===9978||o===9981||o===9989||o===9994||o===9995||o===10024||o===10060||o===10062||o>=10067&&o<=10069||o===10071||o>=10133&&o<=10135||o===10160||o===10175||o===11035||o===11036||o===11088||o===11093||o>=11904&&o<=11929||o>=11931&&o<=12019||o>=12032&&o<=12245||o>=12272&&o<=12287||o>=12289&&o<=12350||o>=12353&&o<=12438||o>=12441&&o<=12543||o>=12549&&o<=12591||o>=12593&&o<=12686||o>=12688&&o<=12771||o>=12783&&o<=12830||o>=12832&&o<=12871||o>=12880&&o<=19903||o>=19968&&o<=42124||o>=42128&&o<=42182||o>=43360&&o<=43388||o>=44032&&o<=55203||o>=63744&&o<=64255||o>=65040&&o<=65049||o>=65072&&o<=65106||o>=65108&&o<=65126||o>=65128&&o<=65131||o>=94176&&o<=94180||o===94192||o===94193||o>=94208&&o<=100343||o>=100352&&o<=101589||o>=101632&&o<=101640||o>=110576&&o<=110579||o>=110581&&o<=110587||o===110589||o===110590||o>=110592&&o<=110882||o===110898||o>=110928&&o<=110930||o===110933||o>=110948&&o<=110951||o>=110960&&o<=111355||o===126980||o===127183||o===127374||o>=127377&&o<=127386||o>=127488&&o<=127490||o>=127504&&o<=127547||o>=127552&&o<=127560||o===127568||o===127569||o>=127584&&o<=127589||o>=127744&&o<=127776||o>=127789&&o<=127797||o>=127799&&o<=127868||o>=127870&&o<=127891||o>=127904&&o<=127946||o>=127951&&o<=127955||o>=127968&&o<=127984||o===127988||o>=127992&&o<=128062||o===128064||o>=128066&&o<=128252||o>=128255&&o<=128317||o>=128331&&o<=128334||o>=128336&&o<=128359||o===128378||o===128405||o===128406||o===128420||o>=128507&&o<=128591||o>=128640&&o<=128709||o===128716||o>=128720&&o<=128722||o>=128725&&o<=128727||o>=128732&&o<=128735||o===128747||o===128748||o>=128756&&o<=128764||o>=128992&&o<=129003||o===129008||o>=129292&&o<=129338||o>=129340&&o<=129349||o>=129351&&o<=129535||o>=129648&&o<=129660||o>=129664&&o<=129672||o>=129680&&o<=129725||o>=129727&&o<=129733||o>=129742&&o<=129755||o>=129760&&o<=129768||o>=129776&&o<=129784||o>=131072&&o<=196605||o>=196608&&o<=262141}var $s=o=>!(Hs(o)||Vs(o)),Ha$1=/[^\x20-\x7F]/u;function Va$1(o){if(!o)return 0;if(!Ha$1.test(o))return o.length;o=o.replace(Ys()," ");let r_=0;for(let a_ of o){let u_=a_.codePointAt(0);u_<=31||u_>=127&&u_<=159||u_>=768&&u_<=879||(r_+=$s(u_)?1:2)}return r_}var et$2=Va$1;function Tr$1(o){return(r_,a_,u_)=>{let d_=!!(u_!=null&&u_.backwards);if(a_===!1)return!1;let{length:h_}=r_,D_=a_;for(;D_>=0&&D_<h_;){let I_=r_.charAt(D_);if(o instanceof RegExp){if(!o.test(I_))return D_}else if(!o.includes(I_))return D_;d_?D_--:D_++}return D_===-1||D_===h_?D_:!1}}var Ge$2=Tr$1(" "),Ks=Tr$1(",; "),zs=Tr$1(/[^\n\r]/u);function $a$1(o,r_,a_){let u_=!!(a_!=null&&a_.backwards);if(r_===!1)return!1;let d_=o.charAt(r_);if(u_){if(o.charAt(r_-1)==="\r"&&d_===`
4733
+ `),a_=D_=>I_=>T_=>R_=>{var q_,ny,hy,sm,ty;const $_=ey=>i0=>ts$1.factory.createIdentifier(I_.external({type:"instance",library:ey,name:i0})),L_=[];R_.success&&L_.push(...h_("Response")(I_)(R_.success.media())),R_.operation()["x-samchon-human"]===!0&&L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestia/core")("HumanRoute"),void 0,void 0)));const J_=R_.emendedPath.slice(T_.path.length).split("/").filter(ey=>!!ey.length).join("/"),W_=ey=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access($_("@nestia/core")(ey),StringUtil.capitalize(R_.method)),[],J_.length?[ts$1.factory.createStringLiteral(J_)]:void 0));(q_=R_.success)!=null&&q_["x-nestia-encrypted"]?L_.push(W_("EncryptedRoute")):((ny=R_.success)==null?void 0:ny.type)==="text/plain"?L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestjs/common")(StringUtil.capitalize(R_.method)),[],[ts$1.factory.createStringLiteral(R_.path)]))):((hy=R_.success)==null?void 0:hy.type)==="application/x-www-form-urlencoded"?L_.push(W_("TypedQuery")):R_.method==="head"?L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestjs/common")("Head"),[],[ts$1.factory.createStringLiteral(R_.path)]))):(R_.success===null||((sm=R_.success)==null?void 0:sm.type)==="application/json")&&L_.push(W_("TypedRoute"));for(const[ey,i0]of Object.entries(R_.exceptions??{}))L_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression($_("@nestia/core")("TypedException"),[MigrateSchemaProgrammer.write(D_)(I_)(i0.schema)],[isNaN(Number(ey))?ts$1.factory.createStringLiteral(ey):ExpressionFactory.number(Number(ey)),...(ty=i0.response().description)!=null&&ty.length?[ts$1.factory.createStringLiteral(i0.response().description)]:[]])));return L_},u_=D_=>I_=>T_=>{var R_;return[...T_.parameters.map($_=>ts$1.factory.createParameterDeclaration([...h_("Parameter")(I_)($_.parameter()),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"TypedParam"})),void 0,[ts$1.factory.createStringLiteral($_.key)]))],void 0,$_.key,void 0,MigrateSchemaProgrammer.write(D_)(I_)($_.schema))),...T_.headers?[d_({method:"TypedHeaders",variable:"headers",arguments:[]})(D_)(I_)({required:!0,schema:T_.headers.schema,example:T_.headers.example(),examples:T_.headers.examples()})]:[],...T_.query?[d_({method:"TypedQuery",variable:"query",arguments:[]})(D_)(I_)({required:!0,schema:T_.query.schema,example:T_.query.example(),examples:T_.query.examples()})]:[],...T_.body?[d_({method:T_.body["x-nestia-encrypted"]?"EncryptedBody":T_.body.type==="application/json"?"TypedBody":T_.body.type==="application/x-www-form-urlencoded"?["TypedQuery","Body"]:T_.body.type==="text/plain"?"PlainBody":T_.body.type==="multipart/form-data"?["TypedFormData","Body"]:"TypedBody",variable:"body",arguments:T_.body.type==="multipart/form-data"?[ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(I_.external({type:"default",library:"multer",name:"Multer"})),void 0,void 0))]:[]})(D_)(I_)({schema:T_.body.schema,required:!((T_.body.type==="application/json"||T_.body.type==="text/plain")&&((R_=T_.operation().requestBody)==null?void 0:R_.required)===!1),example:T_.body.media().example,examples:T_.body.media().examples})]:[]]},d_=D_=>I_=>T_=>R_=>{const $_=ts$1.factory.createIdentifier(T_.external({type:"instance",library:"@nestia/core",name:typeof D_.method=="string"?D_.method:D_.method[0]}));return ts$1.factory.createParameterDeclaration([...h_("Parameter")(T_)(R_),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(typeof D_.method=="string"?$_:IdentifierFactory.access($_,D_.method[1]),void 0,D_.arguments))],void 0,D_.variable,R_.required===!1?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,MigrateSchemaProgrammer.write(I_)(T_)(R_.schema))},h_=D_=>I_=>T_=>[...T_.example!==void 0?[ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),D_),[],[LiteralFactory.write(T_.example)]))]:[],...Object.entries(T_.examples??{}).map(([R_,$_])=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),D_),[],[ts$1.factory.createStringLiteral(R_),LiteralFactory.write($_)])))]})(MigrateNestMethodProgrammer||(MigrateNestMethodProgrammer={}));var MigrateNestControllerProgrammer;(function(o){o.write=r_=>a_=>{const u_=new MigrateImportProgrammer,d_=ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(u_.external({type:"instance",library:"@nestjs/common",name:"Controller"})),[],[ts$1.factory.createStringLiteral(a_.path)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],a_.name,[],[],a_.routes.map(MigrateNestMethodProgrammer.write(r_)(u_)(a_)));return[...u_.toStatements(h_=>`${"../".repeat(StringUtil.splitWithNormalization(a_.location).length-1)}api/structures/${h_}`),...u_.empty()?[]:[FilePrinter.newLine()],d_]}})(MigrateNestControllerProgrammer||(MigrateNestControllerProgrammer={}));var MigrateNestModuleProgrammer;(function(o){o.write=r_=>[$import("@nestjs/common")("Module"),...r_.length?[FilePrinter.newLine()]:[],...r_.map(a_=>$import(`${a_.location.replace("src/","./")}/${a_.name}`)(a_.name)),...r_.length?[FilePrinter.newLine()]:[],ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Module"),void 0,[ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment(ts$1.factory.createIdentifier("controllers"),ts$1.factory.createArrayLiteralExpression(r_.map(a_=>ts$1.factory.createIdentifier(a_.name)),!0))],!0)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],"MyModule",void 0,void 0,[])]})(MigrateNestModuleProgrammer||(MigrateNestModuleProgrammer={}));const $import=o=>r_=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(r_))])),ts$1.factory.createStringLiteral(o));var MigrateNestProgrammer;(function(o){o.write=u_=>{const d_=MigrateControllerAnalyzer.analyze({routes:u_.routes});return[{location:"src",file:"MyModule.ts",statements:MigrateNestModuleProgrammer.write(d_)},...d_.map(h_=>({location:h_.location,file:`${h_.name}.ts`,statements:MigrateNestControllerProgrammer.write(u_.document.components)(h_)})),...[...MigrateDtoProgrammer.compose(u_.document.components).entries()].map(([h_,D_])=>({location:"src/api/structures",file:`${h_}.ts`,statements:r_(h_,D_)}))].map(h_=>({location:h_.location,file:h_.file,content:FilePrinter.write({statements:h_.statements})}))};const r_=(u_,d_)=>{const h_=new MigrateImportProgrammer,D_=a_(h_)(d_);return D_.length===0?[]:[...h_.toStatements(I_=>`./${I_}`,u_),...h_.empty()?[]:[FilePrinter.newLine()],...D_]},a_=u_=>d_=>{const h_=[];if(d_.programmer!==null&&h_.push(d_.programmer(u_)),d_.children.size){const D_=[];for(const I_ of d_.children.values())D_.push(...a_(u_)(I_));h_.push(ts$1.factory.createModuleDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(d_.name),ts$1.factory.createModuleBlock(D_),ts$1.NodeFlags.Namespace))}return h_}})(MigrateNestProgrammer||(MigrateNestProgrammer={}));class MigrateApplication{constructor(r_){this.document=r_}static create(r_){const a_=(()=>{const u_=i_=>typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&I_(i_.info))&&typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&$_(i_.components)&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&OC(i_.paths))&&(i_.webhooks===void 0||typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1&&OC(i_.webhooks))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&pC(v_)))&&i_["x-samchon-emended-v4"]===!0,d_=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&h_(i_.variables)),h_=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&D_(C_)}),D_=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),I_=i_=>typeof i_.title=="string"&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&T_(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&R_(i_.license))&&typeof i_.version=="string",T_=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"&&/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(i_.email)),R_=i_=>typeof i_.name=="string"&&(i_.identifier===void 0||typeof i_.identifier=="string")&&(i_.url===void 0||typeof i_.url=="string"),$_=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&L_(i_.schemas))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&fS(i_.securitySchemes)),L_=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&jF(C_)}),J_=i_=>(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),W_=i_=>Object.keys(i_).every(v_=>(i_[v_]===void 0,!0)),q_=i_=>(i_.default===void 0||typeof i_.default=="boolean")&&i_.type==="boolean"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ny=i_=>(i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&i_.type==="integer"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),hy=i_=>(i_.default===void 0||typeof i_.default=="number")&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&i_.type==="number"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),sm=i_=>(i_.default===void 0||typeof i_.default=="string")&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&i_.type==="string"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ty=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&jF(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&i_.type==="array"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ey=i_=>i_.type==="array"&&Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&jF(v_))&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&jF(i_.additionalItems))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),i0=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&L_(i_.properties))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&jF(i_.additionalProperties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.type==="object"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Hv=i_=>typeof i_.$ref=="string"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),uy=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&JG(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&qx(i_.discriminator))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Xv=i_=>(i_.default===null||i_.default===void 0)&&i_.type==="null"&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),dx=i_=>i_.type!==null&&i_.type===void 0&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),qx=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),Sx=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="string"}),fS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&q3(C_)}),oS=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),gx=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),gS=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),SS=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&PS(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),PS=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&AS(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&fT(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&uT(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&uT(i_.clientCredentials)),AS=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),fT=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),uT=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),zT=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),OC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&eS(C_)}),eS=i_=>(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&kT(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&kT(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&kT(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&kT(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&kT(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&kT(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&kT(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&kT(i_.trace)),kT=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&TC(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&gT(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&CD(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&d_(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&(i_["x-samchon-human"]===void 0||typeof i_["x-samchon-human"]=="boolean")&&(i_["x-samchon-accessor"]===void 0||Array.isArray(i_["x-samchon-accessor"])&&i_["x-samchon-accessor"].every(v_=>typeof v_=="string"))&&(i_["x-samchon-controller"]===void 0||typeof i_["x-samchon-controller"]=="string"),TC=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&jF(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&tC(i_.examples)),tC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xS(C_)}),xS=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),gT=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&IC(i_.content))&&(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"),IC=i_=>(i_["text/plain"]===void 0||typeof i_["text/plain"]=="object"&&i_["text/plain"]!==null&&Array.isArray(i_["text/plain"])===!1&&xx(i_["text/plain"]))&&(i_["application/json"]===void 0||typeof i_["application/json"]=="object"&&i_["application/json"]!==null&&Array.isArray(i_["application/json"])===!1&&xx(i_["application/json"]))&&(i_["multipart/form-data"]===void 0||typeof i_["multipart/form-data"]=="object"&&i_["multipart/form-data"]!==null&&Array.isArray(i_["multipart/form-data"])===!1&&xx(i_["multipart/form-data"]))&&(i_["application/x-www-form-url-encoded"]===void 0||typeof i_["application/x-www-form-url-encoded"]=="object"&&i_["application/x-www-form-url-encoded"]!==null&&Array.isArray(i_["application/x-www-form-url-encoded"])===!1&&xx(i_["application/x-www-form-url-encoded"]))&&(i_["*/*"]===void 0||typeof i_["*/*"]=="object"&&i_["*/*"]!==null&&Array.isArray(i_["*/*"])===!1&&xx(i_["*/*"]))&&Object.keys(i_).every(v_=>{if(["text/plain","application/json","multipart/form-data","application/x-www-form-url-encoded","*/*"].some(X_=>v_===X_))return!0;const C_=i_[v_];return C_===void 0?!0:C_===void 0||typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xx(C_)}),xx=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&jF(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&tC(i_.examples)),CD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&nT(C_)}),nT=i_=>(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&nS(i_.headers))&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&IC(i_.content))&&(i_.description===void 0||typeof i_.description=="string")&&(i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"),nS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&TC(C_)}),ZS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:Array.isArray(C_)&&C_.every(X_=>typeof X_=="string")}),pC=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),VC=i_=>i_.swagger!==null&&i_.swagger!==void 0&&(i_.swagger==="2.0"||typeof i_.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.swagger))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&fD(i_.info))&&(i_.host===void 0||typeof i_.host=="string")&&(i_.basePath===void 0||typeof i_.basePath=="string")&&(i_.consumes===void 0||Array.isArray(i_.consumes)&&i_.consumes.every(v_=>typeof v_=="string"))&&(i_.produces===void 0||Array.isArray(i_.produces)&&i_.produces.every(v_=>typeof v_=="string"))&&(i_.definitions===void 0||typeof i_.definitions=="object"&&i_.definitions!==null&&Array.isArray(i_.definitions)===!1&&oE(i_.definitions))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&$T(i_.parameters))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&DC(i_.responses))&&(i_.securityDefinitions===void 0||typeof i_.securityDefinitions=="object"&&i_.securityDefinitions!==null&&Array.isArray(i_.securityDefinitions)===!1&&VD(i_.securityDefinitions))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&mD(i_.paths))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&bx(v_))),fD=i_=>typeof i_.title=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&pE(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&KD(i_.license))&&typeof i_.version=="string",pE=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),KD=i_=>typeof i_.name=="string"&&(i_.url===void 0||typeof i_.url=="string"),oE=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&R8(C_)}),mA=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),hE=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),fI=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),yE=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),RS=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&R8(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),yI=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&oE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&R8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples)),mS=i_=>typeof i_.$ref=="string"&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,wx=i_=>Array.isArray(i_["x-anyOf"])&&i_["x-anyOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Bx=i_=>Array.isArray(i_["x-oneOf"])&&i_["x-oneOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,lS=i_=>i_.type==="null"&&(i_.default===null||i_.default===void 0)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,kS=i_=>i_.type!==null&&i_.type===void 0&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,$T=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&oN(C_)}),dT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",QT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",ZT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",YT=i_=>(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",vD=i_=>typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&R8(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",MC=i_=>(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&oE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&R8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&(i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean")&&(i_.examples===void 0||Array.isArray(i_.examples))&&typeof i_.name=="string"&&typeof i_.in=="string",DE=i_=>typeof i_.$ref=="string"&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",PD=i_=>Array.isArray(i_["x-anyOf"])&&i_["x-anyOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",eD=i_=>Array.isArray(i_["x-oneOf"])&&i_["x-oneOf"].every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&R8(v_))&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",vE=i_=>i_.type==="null"&&(i_.default===null||i_.default===void 0)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",DI=i_=>i_.type!==null&&i_.type===void 0&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&typeof i_.name=="string"&&typeof i_.in=="string",PT=i_=>typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&R8(i_.schema)&&typeof i_.name=="string"&&typeof i_.in=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean"),DC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&KT(C_)}),KT=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&oE(i_.headers))&&(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&R8(i_.schema))&&!0,VD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&zz(C_)}),ZD=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),BE=i_=>i_.type==="basic"&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),aD=i_=>i_.type==="oauth2"&&i_.flow==="implicit"&&(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),ST=i_=>i_.type==="oauth2"&&i_.flow==="accessCode"&&(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),sC=i_=>i_.type==="oauth2"&&i_.flow==="password"&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),dE=i_=>i_.type==="oauth2"&&i_.flow==="application"&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes))&&(i_.description===void 0||typeof i_.description=="string"),mD=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&pI(C_)}),pI=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&JJ(v_)))&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&IA(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&IA(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&IA(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&IA(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&IA(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&IA(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&IA(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&IA(i_.trace)),LC=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,IA=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&sL(v_)))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&LT(i_.responses))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),Zw=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LT=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&mO(C_)}),GT=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(i_.$ref)&&(i_.examples===void 0||Array.isArray(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,bx=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),UA=i_=>i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&TA(i_.info))&&(i_.components===void 0||typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&U3(i_.components))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&s7(i_.paths))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&oD(v_))),MI=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&PC(i_.variables)),PC=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&VE(C_)}),VE=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),TA=i_=>typeof i_.title=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&TD(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&LA(i_.license))&&typeof i_.version=="string",TD=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),LA=i_=>typeof i_.name=="string"&&(i_.url===void 0||typeof i_.url=="string"),U3=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&xT(i_.schemas))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&eP(i_.responses))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&Yq(i_.parameters))&&(i_.requestBodies===void 0||typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1&&z9(i_.requestBodies))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&GP(i_.securitySchemes))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&eM(i_.headers))&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$z(i_.examples)),xT=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&Z$(C_)}),AC=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),AD=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),RT=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),aE=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),yC=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&Z$(i_.items)&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),ET=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&xT(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&Z$(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),JS=i_=>typeof i_.$ref=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,UT=i_=>Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,YS=i_=>Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NT=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&Z$(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&EE(i_.discriminator))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,EE=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),PA=i_=>(i_.default===null||i_.default===void 0)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="null"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),EA=i_=>(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type!==null&&i_.type===void 0&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),eP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&sF(C_)}),sF=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&YP(i_.content))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&H4(i_.headers))&&(i_.description===void 0||typeof i_.description=="string"),YP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&fA(C_)}),fA=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples)),NA=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aL(C_)}),xw=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),f5=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,H4=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&VG(C_)}),RF=i_=>(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples))&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.name===void 0||typeof i_.name=="string")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema),RP=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Yq=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&LI(C_)}),LI=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&Z$(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&NA(i_.examples)),z9=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&BN(C_)}),BN=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&YP(i_.content)),GP=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&zG(C_)}),BT=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),i7=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),e4=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),JN=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&t4(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),t4=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&QP(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&q8(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&H5(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&H5(i_.clientCredentials)),QP=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),q8=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),H5=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),G5=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),eM=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&RF(C_)}),$z=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&xw(C_)}),s7=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&z_(C_)}),z_=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&q9(v_)))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&hx(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&hx(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&hx(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&hx(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&hx(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&hx(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&hx(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&hx(i_.trace)),d0=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,hx=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&q9(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&vB(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&XS(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&MI(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),Jx=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,XS=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aW(C_)}),$C=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,oD=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),zE=i_=>typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.info===void 0||typeof i_.info=="object"&&i_.info!==null&&Y3(i_.info))&&(i_.components===void 0||typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1&&X$(i_.components))&&(i_.paths===void 0||typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1&&Qq(i_.paths))&&(i_.webhooks===void 0||typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1&&Q3(i_.webhooks))&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="object"&&v_!==null&&Q$(v_))),pA=i_=>typeof i_.url=="string"&&(i_.description===void 0||typeof i_.description=="string")&&(i_.variables===void 0||typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1&&K3(i_.variables)),K3=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&X3(C_)}),X3=i_=>typeof i_.default=="string"&&(i_.enum===void 0||Array.isArray(i_.enum)&&1<=i_.enum.length&&i_.enum.every(v_=>typeof v_=="string"))&&(i_.description===void 0||typeof i_.description=="string"),Y3=i_=>typeof i_.title=="string"&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.termsOfService===void 0||typeof i_.termsOfService=="string")&&(i_.contact===void 0||typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1&&LO(i_.contact))&&(i_.license===void 0||typeof i_.license=="object"&&i_.license!==null&&K$(i_.license))&&typeof i_.version=="string",LO=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.url===void 0||typeof i_.url=="string")&&(i_.email===void 0||typeof i_.email=="string"),K$=i_=>typeof i_.name=="string"&&(i_.identifier===void 0||typeof i_.identifier=="string")&&(i_.url===void 0||typeof i_.url=="string"),X$=i_=>(i_.schemas===void 0||typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1&&PE(i_.schemas))&&(i_.pathItems===void 0||typeof i_.pathItems=="object"&&i_.pathItems!==null&&Array.isArray(i_.pathItems)===!1&&Qq(i_.pathItems))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&Tee(i_.responses))&&(i_.parameters===void 0||typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1&&U9(i_.parameters))&&(i_.requestBodies===void 0||typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1&&SN(i_.requestBodies))&&(i_.securitySchemes===void 0||typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1&&a7(i_.securitySchemes))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&$Y(i_.headers))&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&iW(i_.examples)),PE=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&b8(C_)}),_O=i_=>Array.isArray(i_.type)&&i_.type.every(v_=>v_==="string"||v_==="number"||v_==="boolean"||v_==="object"||v_==="null"||v_==="integer"||v_==="array")&&(i_.default===null||i_.default===void 0||Array.isArray(i_.default))&&(i_.enum===void 0||Array.isArray(i_.enum))&&(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&i_.items!==null&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&b8(i_.items))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.prefixItems===void 0||Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_)))&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&b8(i_.additionalItems))&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&PE(i_.properties))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&b8(i_.additionalProperties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&LJ(i_.discriminator))&&Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&typeof i_.$ref=="string",K5=i_=>(typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean")&&(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,X5=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="boolean")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="boolean"))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="boolean"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Rz=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number"&&Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3)&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number"&&Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3)&&(i_.maximum===void 0||typeof i_.maximum=="number"&&Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3)&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"&&Math.floor(i_.exclusiveMinimum)===i_.exclusiveMinimum&&-9223372036854776e3<=i_.exclusiveMinimum&&i_.exclusiveMinimum<=9223372036854776e3||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"&&Math.floor(i_.exclusiveMaximum)===i_.exclusiveMaximum&&-9223372036854776e3<=i_.exclusiveMaximum&&i_.exclusiveMaximum<=9223372036854776e3||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="integer"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),f8=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="number")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="number"))&&(i_.minimum===void 0||typeof i_.minimum=="number")&&(i_.maximum===void 0||typeof i_.maximum=="number")&&(i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean")&&(i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean")&&(i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&0<i_.multipleOf)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="number"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),MF=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.default===null||i_.default===void 0||typeof i_.default=="string")&&(i_.enum===void 0||Array.isArray(i_.enum)&&i_.enum.every(v_=>v_===null||typeof v_=="string"))&&(i_.format===void 0||typeof i_.format=="string")&&(i_.pattern===void 0||typeof i_.pattern=="string")&&(i_.contentMediaType===void 0||typeof i_.contentMediaType=="string")&&(i_.minLength===void 0||typeof i_.minLength=="number"&&Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3)&&(i_.maxLength===void 0||typeof i_.maxLength=="number"&&Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Mz=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&i_.items!==null&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&b8(i_.items))&&(i_.prefixItems===void 0||Array.isArray(i_.prefixItems)&&i_.prefixItems.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_)))&&(i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean")&&i_.additionalItems!==null&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1&&b8(i_.additionalItems))&&(i_.minItems===void 0||typeof i_.minItems=="number"&&Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3)&&(i_.maxItems===void 0||typeof i_.maxItems=="number"&&Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="array"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Y$=i_=>(i_.nullable===void 0||typeof i_.nullable=="boolean")&&(i_.properties===void 0||typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1&&PE(i_.properties))&&(i_.required===void 0||Array.isArray(i_.required)&&i_.required.every(v_=>typeof v_=="string"))&&i_.additionalProperties!==null&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1&&b8(i_.additionalProperties))&&(i_.maxProperties===void 0||typeof i_.maxProperties=="number")&&(i_.minProperties===void 0||typeof i_.minProperties=="number")&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="object"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),yB=i_=>typeof i_.$ref=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NG=i_=>typeof i_.$recursiveRef=="string"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,FG=i_=>Array.isArray(i_.allOf)&&i_.allOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Lz=i_=>Array.isArray(i_.anyOf)&&i_.anyOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,jz=i_=>Array.isArray(i_.oneOf)&&i_.oneOf.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&b8(v_))&&(i_.discriminator===void 0||typeof i_.discriminator=="object"&&i_.discriminator!==null&&LJ(i_.discriminator))&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LJ=i_=>typeof i_.propertyName=="string"&&(i_.mapping===void 0||typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1&&Sx(i_.mapping)),Bz=i_=>(i_.default===null||i_.default===void 0)&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.type==="null"&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),V_=i_=>i_.type!==null&&i_.type===void 0&&!0&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples)),Qq=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&OG(C_)}),OG=i_=>(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&W9(v_)))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.head===void 0||typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1&&LF(i_.head))&&(i_.get===void 0||typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1&&LF(i_.get))&&(i_.post===void 0||typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1&&LF(i_.post))&&(i_.put===void 0||typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1&&LF(i_.put))&&(i_.patch===void 0||typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1&&LF(i_.patch))&&(i_.delete===void 0||typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1&&LF(i_.delete))&&(i_.options===void 0||typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1&&LF(i_.options))&&(i_.trace===void 0||typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1&&LF(i_.trace)),Zq=i_=>(i_.name===void 0||typeof i_.name=="string")&&(i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema)&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples)),$G=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&Uz(C_)}),aF=i_=>(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.externalValue===void 0||typeof i_.externalValue=="string"),PY=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,jO=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,T7=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,LF=i_=>(i_.operationId===void 0||typeof i_.operationId=="string")&&(i_.parameters===void 0||Array.isArray(i_.parameters)&&i_.parameters.every(v_=>typeof v_=="object"&&v_!==null&&W9(v_)))&&(i_.requestBody===void 0||typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1&&oW(i_.requestBody))&&(i_.responses===void 0||typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1&&NY(i_.responses))&&(i_.servers===void 0||Array.isArray(i_.servers)&&i_.servers.every(v_=>typeof v_=="object"&&v_!==null&&pA(v_)))&&(i_.summary===void 0||typeof i_.summary=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.security===void 0||Array.isArray(i_.security)&&i_.security.every(v_=>typeof v_=="object"&&v_!==null&&Array.isArray(v_)===!1&&ZS(v_)))&&(i_.tags===void 0||Array.isArray(i_.tags)&&i_.tags.every(v_=>typeof v_=="string"))&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean"),jJ=i_=>(i_.description===void 0||typeof i_.description=="string")&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&iL(i_.content)),iL=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&eW(C_)}),eW=i_=>(i_.schema===void 0||typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema))&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples)),RG=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,NY=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&zC(C_)}),tW=i_=>(i_.content===void 0||typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1&&iL(i_.content))&&(i_.headers===void 0||typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1&&FY(i_.headers))&&(i_.description===void 0||typeof i_.description=="string"),FY=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&H9(C_)}),MG=i_=>(i_.description===void 0||typeof i_.description=="string")&&!0&&(i_.examples===void 0||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$G(i_.examples))&&(i_.required===void 0||typeof i_.required=="boolean")&&(i_.name===void 0||typeof i_.name=="string")&&typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1&&b8(i_.schema),Jz=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Tee=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&tW(C_)}),U9=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Zq(C_)}),SN=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&jJ(C_)}),a7=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&UG(C_)}),OY=i_=>i_.type==="apiKey"&&(i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie")&&(i_.name===void 0||typeof i_.name=="string")&&(i_.description===void 0||typeof i_.description=="string"),Vz=i_=>i_.type==="http"&&i_.scheme==="basic"&&(i_.description===void 0||typeof i_.description=="string"),LG=i_=>i_.type==="http"&&i_.scheme==="bearer"&&(i_.bearerFormat===void 0||typeof i_.bearerFormat=="string")&&(i_.description===void 0||typeof i_.description=="string"),BJ=i_=>i_.type==="oauth2"&&typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1&&rW(i_.flows)&&(i_.description===void 0||typeof i_.description=="string"),rW=i_=>(i_.authorizationCode===void 0||typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1&&jG(i_.authorizationCode))&&(i_.implicit===void 0||typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1&&Cee(i_.implicit))&&(i_.password===void 0||typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1&&BG(i_.password))&&(i_.clientCredentials===void 0||typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1&&BG(i_.clientCredentials)),jG=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),Cee=i_=>(i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),BG=i_=>(i_.tokenUrl===void 0||typeof i_.tokenUrl=="string")&&(i_.refreshUrl===void 0||typeof i_.refreshUrl=="string")&&(i_.scopes===void 0||typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1&&Sx(i_.scopes)),nW=i_=>i_.type==="openIdConnect"&&typeof i_.openIdConnectUrl=="string"&&(i_.description===void 0||typeof i_.description=="string"),$Y=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&MG(C_)}),iW=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&aF(C_)}),Q3=i_=>Object.keys(i_).every(v_=>{const C_=i_[v_];return C_===void 0?!0:typeof C_=="object"&&C_!==null&&Array.isArray(C_)===!1&&qz(C_)}),sW=i_=>typeof i_.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(i_.$ref)&&i_.examples!==null&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&W_(i_.examples))&&(i_.title===void 0||typeof i_.title=="string")&&(i_.description===void 0||typeof i_.description=="string")&&(i_.deprecated===void 0||typeof i_.deprecated=="boolean")&&!0,Q$=i_=>typeof i_.name=="string"&&(i_.description===void 0||typeof i_.description=="string"),jF=i_=>i_.const!==void 0?J_(i_):i_.type==="boolean"?q_(i_):i_.type==="number"?hy(i_):i_.type==="integer"?ny(i_):i_.type==="string"?sm(i_):i_.items!==void 0?ty(i_):i_.prefixItems!==void 0?ey(i_):i_.type==="object"?i0(i_):i_.$ref!==void 0?Hv(i_):i_.oneOf!==void 0?uy(i_):i_.type==="null"?Xv(i_):dx(i_),JG=i_=>i_.const!==void 0?J_(i_):i_.type==="boolean"?q_(i_):i_.type==="number"?hy(i_):i_.type==="integer"?ny(i_):i_.type==="string"?sm(i_):i_.items!==void 0?ty(i_):i_.prefixItems!==void 0?ey(i_):i_.type==="object"?i0(i_):i_.$ref!==void 0?Hv(i_):i_.type==="null"?Xv(i_):dx(i_),R8=i_=>i_.type==="boolean"?mA(i_):i_.type==="number"?fI(i_):i_.type==="integer"?hE(i_):i_.type==="string"?yE(i_):i_.type==="array"?RS(i_):i_.type==="object"?yI(i_):i_.$ref!==void 0?mS(i_):i_["x-anyOf"]!==void 0?wx(i_):i_["x-oneOf"]!==void 0?Bx(i_):i_.type==="null"?lS(i_):kS(i_),JJ=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DE(i_)?DE(i_):DI(i_)?DI(i_):LC(i_)?LC(i_):!1,sL=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DE(i_)?DE(i_):DI(i_)?DI(i_):Zw(i_)?Zw(i_):!1,Z$=i_=>i_.type==="boolean"?AC(i_):i_.type==="number"?RT(i_):i_.type==="integer"?AD(i_):i_.type==="string"?aE(i_):i_.type==="array"?yC(i_):i_.type==="object"?ET(i_):i_.$ref!==void 0?JS(i_):i_.allOf!==void 0?UT(i_):i_.anyOf!==void 0?YS(i_):i_.oneOf!==void 0?NT(i_):i_.type==="null"?PA(i_):EA(i_),q9=i_=>i_.in!==void 0?LI(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?d0(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?RP(i_):!1,b8=i_=>Array.isArray(i_.type)&&i_.type.every(v_=>v_==="string"||v_==="number"||v_==="boolean"||v_==="object"||v_==="null"||v_==="integer"||v_==="array")?_O(i_):i_.type==="boolean"?X5(i_):i_.type==="number"?f8(i_):i_.type==="integer"?Rz(i_):i_.type==="string"?MF(i_):i_.type==="array"?Mz(i_):i_.type==="object"?Y$(i_):i_.$recursiveRef!==void 0?NG(i_):i_.type==="null"?Bz(i_):i_.const!==void 0?K5(i_):i_.$ref!==void 0?yB(i_):i_.allOf!==void 0?FG(i_):i_.anyOf!==void 0?Lz(i_):i_.oneOf!==void 0?jz(i_):V_(i_),W9=i_=>i_.in!==void 0?Zq(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?T7(i_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?jO(i_):!1,q3=i_=>i_.type==="apiKey"?oS(i_):i_.scheme==="basic"?gx(i_):i_.scheme==="bearer"?gS(i_):i_.type==="oauth2"?SS(i_):i_.type==="openIdConnect"?zT(i_):!1,oN=i_=>i_.type==="boolean"?dT(i_):i_.type==="number"?ZT(i_):i_.type==="integer"?QT(i_):i_.type==="string"?YT(i_):i_.type==="array"?vD(i_):i_.type==="object"?MC(i_):i_.$ref!==void 0?DE(i_):i_["x-anyOf"]!==void 0?PD(i_):i_["x-oneOf"]!==void 0?eD(i_):i_.type==="null"?vE(i_):i_.schema!==void 0?PT(i_):DI(i_),zz=i_=>i_.type==="apiKey"?ZD(i_):i_.type==="basic"?BE(i_):i_.flow==="implicit"?aD(i_):i_.flow==="accessCode"?ST(i_):i_.flow==="application"?dE(i_):i_.flow==="password"?sC(i_):!1,mO=i_=>i_.$ref!==void 0?GT(i_):KT(i_),aL=i_=>i_.$ref!==void 0?f5(i_):xw(i_),VG=i_=>i_.schema!==void 0?RF(i_):i_.$ref!==void 0?RP(i_):!1,zG=i_=>i_.type==="apiKey"?BT(i_):i_.scheme==="basic"?i7(i_):i_.scheme==="bearer"?e4(i_):i_.type==="oauth2"?JN(i_):i_.type==="openIdConnect"?G5(i_):!1,vB=i_=>i_.$ref!==void 0?Jx(i_):BN(i_),aW=i_=>i_.$ref!==void 0?$C(i_):sF(i_),Uz=i_=>i_.$ref!==void 0?PY(i_):aF(i_),oW=i_=>i_.$ref!==void 0?RG(i_):jJ(i_),zC=i_=>i_.$ref!==void 0?Jz(i_):tW(i_),H9=i_=>i_.$ref!==void 0?jO(i_):i_.schema!==void 0?MG(i_):!1,UG=i_=>i_.type==="apiKey"?OY(i_):i_.scheme==="basic"?Vz(i_):i_.scheme==="bearer"?LG(i_):i_.type==="oauth2"?BJ(i_):i_.type==="openIdConnect"?nW(i_):!1,qz=i_=>i_.$ref!==void 0?sW(i_):OG(i_),cW=i_=>i_["x-samchon-emended-v4"]!==void 0?u_(i_):i_.swagger!==void 0?VC(i_):i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))?UA(i_):typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)?zE(i_):!1,VJ=(i_,v_,C_=!0)=>[typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:"`3.1.${number}`",value:i_.openapi}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:i_.info}))&&Wz(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:i_.info}),(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"OpenApi.IComponents",value:i_.components}))&&qG(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"OpenApi.IComponents",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.paths}))&&XJ(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.paths}),i_.webhooks===void 0||(typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1||O_(C_,{path:v_+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.webhooks}))&&XJ(i_.webhooks,v_+".webhooks",C_)||O_(C_,{path:v_+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:i_.webhooks}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApi.IDocument.ITag",value:X_}))&&Y9(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApi.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:i_.tags}),i_["x-samchon-emended-v4"]===!0||O_(C_,{path:v_+'["x-samchon-emended-v4"]',expected:"true",value:i_["x-samchon-emended-v4"]})].every(X_=>X_),zJ=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:i_.variables}))&&lW(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),lW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IServer.IVariable",value:Zv}))&&uW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),uW=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Wz=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:i_.contact}))&&Hz(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:i_.license}))&&fW(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),Hz=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"&&(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(i_.email)||O_(C_,{path:v_+".email",expected:'string & Format<"email">',value:i_.email}))||O_(C_,{path:v_+".email",expected:'((string & Format<"email">) | undefined)',value:i_.email})].every(X_=>X_),fW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.identifier===void 0||typeof i_.identifier=="string"||O_(C_,{path:v_+".identifier",expected:"(string | undefined)",value:i_.identifier}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),qG=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.schemas}))&&xB(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.schemas}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&_W(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:i_.securitySchemes})].every(X_=>X_),xB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:Zv}))&&Q5(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),pW=(i_,v_,C_=!0)=>[typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),$3=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>(i_[X_]===void 0,!0)).every(X_=>X_)].every(X_=>X_),UJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | undefined)",value:i_.default}),i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),qJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | undefined)',value:i_.default}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Gz=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(number | undefined)",value:i_.default}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),WJ=(i_,v_,C_=!0)=>[i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(string | undefined)",value:i_.default}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Kz=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.items}))&&Q5(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),HJ=(i_,v_,C_=!0)=>[i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_}))&&Q5(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:i_.prefixItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&Q5(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Xz=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.properties}))&&xB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:i_.properties}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&Q5(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),G9=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),WG=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_}))&&lK(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&dW(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Yz=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),Qz=(i_,v_,C_=!0)=>[!0,(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples}))&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, any> | undefined)",value:i_.examples})].every(X_=>X_),dW=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),W7=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:typeof Zv=="string"||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"string",value:Zv})}).every(X_=>X_)].every(X_=>X_),_W=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:Zv}))&&XY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),mW=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),gW=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),bB=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),HG=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&Zz(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Zz=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&hW(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&GJ(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&KJ(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&KJ(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),hW=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),GJ=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),KJ=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),GG=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),XJ=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IPath",value:Zv}))&&eU(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),eU=(i_,v_,C_=!0)=>[i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApi.IOperation | undefined)",value:i_.head}))&&e9(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApi.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApi.IOperation | undefined)",value:i_.get}))&&e9(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApi.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApi.IOperation | undefined)",value:i_.post}))&&e9(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApi.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApi.IOperation | undefined)",value:i_.put}))&&e9(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApi.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApi.IOperation | undefined)",value:i_.patch}))&&e9(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApi.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:i_.delete}))&&e9(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApi.IOperation | undefined)",value:i_.options}))&&e9(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApi.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApi.IOperation | undefined)",value:i_.trace}))&&e9(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApi.IOperation | undefined)",value:i_.trace})].every(X_=>X_),e9=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"OpenApi.IOperation.IParameter",value:X_}))&&EP(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"OpenApi.IOperation.IParameter",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&K9(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:i_.responses}))&&X9(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_}))&&zJ(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApi.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),i_["x-samchon-human"]===void 0||typeof i_["x-samchon-human"]=="boolean"||O_(C_,{path:v_+'["x-samchon-human"]',expected:"(boolean | undefined)",value:i_["x-samchon-human"]}),i_["x-samchon-accessor"]===void 0||(Array.isArray(i_["x-samchon-accessor"])||O_(C_,{path:v_+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:i_["x-samchon-accessor"]}))&&i_["x-samchon-accessor"].map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["x-samchon-accessor"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:i_["x-samchon-accessor"]}),i_["x-samchon-controller"]===void 0||typeof i_["x-samchon-controller"]=="string"||O_(C_,{path:v_+'["x-samchon-controller"]',expected:"(string | undefined)",value:i_["x-samchon-controller"]})].every(X_=>X_),EP=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.schema}))&&Q5(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples}))&&t9(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples})].every(X_=>X_),t9=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IExample",value:Zv}))&&YJ(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),YJ=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),K9=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}))&&tU(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"||O_(C_,{path:v_+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:i_["x-nestia-encrypted"]})].every(X_=>X_),tU=(i_,v_,C_=!0)=>[i_["text/plain"]===void 0||(typeof i_["text/plain"]=="object"&&i_["text/plain"]!==null&&Array.isArray(i_["text/plain"])===!1||O_(C_,{path:v_+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["text/plain"]}))&&KP(i_["text/plain"],v_+'["text/plain"]',C_)||O_(C_,{path:v_+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["text/plain"]}),i_["application/json"]===void 0||(typeof i_["application/json"]=="object"&&i_["application/json"]!==null&&Array.isArray(i_["application/json"])===!1||O_(C_,{path:v_+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/json"]}))&&KP(i_["application/json"],v_+'["application/json"]',C_)||O_(C_,{path:v_+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/json"]}),i_["multipart/form-data"]===void 0||(typeof i_["multipart/form-data"]=="object"&&i_["multipart/form-data"]!==null&&Array.isArray(i_["multipart/form-data"])===!1||O_(C_,{path:v_+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["multipart/form-data"]}))&&KP(i_["multipart/form-data"],v_+'["multipart/form-data"]',C_)||O_(C_,{path:v_+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["multipart/form-data"]}),i_["application/x-www-form-url-encoded"]===void 0||(typeof i_["application/x-www-form-url-encoded"]=="object"&&i_["application/x-www-form-url-encoded"]!==null&&Array.isArray(i_["application/x-www-form-url-encoded"])===!1||O_(C_,{path:v_+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/x-www-form-url-encoded"]}))&&KP(i_["application/x-www-form-url-encoded"],v_+'["application/x-www-form-url-encoded"]',C_)||O_(C_,{path:v_+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["application/x-www-form-url-encoded"]}),i_["*/*"]===void 0||(typeof i_["*/*"]=="object"&&i_["*/*"]!==null&&Array.isArray(i_["*/*"])===!1||O_(C_,{path:v_+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["*/*"]}))&&KP(i_["*/*"],v_+'["*/*"]',C_)||O_(C_,{path:v_+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:i_["*/*"]}),C_===!1||Object.keys(i_).map(X_=>{if(["text/plain","application/json","multipart/form-data","application/x-www-form-url-encoded","*/*"].some(UD=>X_===UD))return!0;const Zv=i_[X_];return Zv===void 0?!0:Zv===void 0||(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:Zv}))&&KP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:Zv})}).every(X_=>X_)].every(X_=>X_),KP=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&Q5(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples}))&&t9(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:i_.examples})].every(X_=>X_),X9=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IResponse",value:Zv}))&&o7(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),o7=(i_,v_,C_=!0)=>[i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:i_.headers}))&&KG(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:i_.headers}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}))&&tU(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:i_.content}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_["x-nestia-encrypted"]===void 0||typeof i_["x-nestia-encrypted"]=="boolean"||O_(C_,{path:v_+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:i_["x-nestia-encrypted"]})].every(X_=>X_),KG=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IParameter",value:Zv}))&&EP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApi.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),p5=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(Array.isArray(Zv)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"Array<string>",value:Zv}))&&Zv.map((UD,yA)=>typeof UD=="string"||O_(C_,{path:v_+_accessExpressionAsString_2(X_)+"["+yA+"]",expected:"string",value:UD})).every(UD=>UD)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"Array<string>",value:Zv})}).every(X_=>X_)].every(X_=>X_),Y9=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Q9=(i_,v_,C_=!0)=>[(i_.swagger!==null||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger}))&&(i_.swagger!==void 0||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger}))&&(i_.swagger==="2.0"||typeof i_.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.swagger)||O_(C_,{path:v_+".swagger",expected:'("2.0" | `2.0.${number}`)',value:i_.swagger})),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:i_.info}))&&XG(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:i_.info}),i_.host===void 0||typeof i_.host=="string"||O_(C_,{path:v_+".host",expected:"(string | undefined)",value:i_.host}),i_.basePath===void 0||typeof i_.basePath=="string"||O_(C_,{path:v_+".basePath",expected:"(string | undefined)",value:i_.basePath}),i_.consumes===void 0||(Array.isArray(i_.consumes)||O_(C_,{path:v_+".consumes",expected:"(Array<string> | undefined)",value:i_.consumes}))&&i_.consumes.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".consumes["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".consumes",expected:"(Array<string> | undefined)",value:i_.consumes}),i_.produces===void 0||(Array.isArray(i_.produces)||O_(C_,{path:v_+".produces",expected:"(Array<string> | undefined)",value:i_.produces}))&&i_.produces.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".produces["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".produces",expected:"(Array<string> | undefined)",value:i_.produces}),i_.definitions===void 0||(typeof i_.definitions=="object"&&i_.definitions!==null&&Array.isArray(i_.definitions)===!1||O_(C_,{path:v_+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.definitions}))&&SB(i_.definitions,v_+".definitions",C_)||O_(C_,{path:v_+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.definitions}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:i_.parameters}))&&SW(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:i_.responses}))&&TW(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:i_.responses}),i_.securityDefinitions===void 0||(typeof i_.securityDefinitions=="object"&&i_.securityDefinitions!==null&&Array.isArray(i_.securityDefinitions)===!1||O_(C_,{path:v_+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:i_.securityDefinitions}))&&CW(i_.securityDefinitions,v_+".securityDefinitions",C_)||O_(C_,{path:v_+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:i_.securityDefinitions}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:i_.paths}))&&RY(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:i_.paths}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"SwaggerV2.IDocument.ITag",value:X_}))&&EW(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"SwaggerV2.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),XG=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:i_.contact}))&&YG(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:i_.license}))&&yW(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),YG=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),yW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),SB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:Zv}))&&lF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),tM=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),vW=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),rU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),xW=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),nU=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}))&&lF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),QJ=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}))&&SB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&lF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples})].every(X_=>X_),iU=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),bW=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-anyOf"])||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}))&&i_["x-anyOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-anyOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),sU=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-oneOf"])||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}))&&i_["x-oneOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-oneOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),QG=(i_,v_,C_=!0)=>[i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),TB=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),SW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:Zv}))&&JF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:Zv})}).every(X_=>X_)].every(X_=>X_),oL=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),aU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),_4=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),oU=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),ZJ=(i_,v_,C_=!0)=>[(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}))&&lF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),cU=(i_,v_,C_=!0)=>[i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}))&&SB(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&lF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),i_["x-nullable"]===void 0||typeof i_["x-nullable"]=="boolean"||O_(C_,{path:v_+'["x-nullable"]',expected:"(boolean | undefined)",value:i_["x-nullable"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),CB=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),r9=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-anyOf"])||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}))&&i_["x-anyOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-anyOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-anyOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-anyOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),eV=(i_,v_,C_=!0)=>[(Array.isArray(i_["x-oneOf"])||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}))&&i_["x-oneOf"].map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_}))&&lF(X_,v_+'["x-oneOf"]['+Zv+"]",C_)||O_(C_,{path:v_+'["x-oneOf"]['+Zv+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:i_["x-oneOf"]}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),cL=(i_,v_,C_=!0)=>[i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),Z9=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in})].every(X_=>X_),n9=(i_,v_,C_=!0)=>[(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.schema}))&&lF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:i_.schema}),typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),typeof i_.in=="string"||O_(C_,{path:v_+'["in"]',expected:"string",value:i_.in}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required})].every(X_=>X_),TW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IOperation.IResponse",value:Zv}))&&rM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),rM=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.headers}))&&SB(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:i_.headers}),i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&lF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0].every(X_=>X_),CW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:Zv}))&&uF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:Zv})}).every(X_=>X_)].every(X_=>X_),p8=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),eR=(i_,v_,C_=!0)=>[i_.type==="basic"||O_(C_,{path:v_+".type",expected:'"basic"',value:i_.type}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),lU=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="implicit"||O_(C_,{path:v_+".flow",expected:'"implicit"',value:i_.flow}),i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),DW=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="accessCode"||O_(C_,{path:v_+".flow",expected:'"accessCode"',value:i_.flow}),i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),uU=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="password"||O_(C_,{path:v_+".flow",expected:'"password"',value:i_.flow}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),tV=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),i_.flow==="application"||O_(C_,{path:v_+".flow",expected:'"application"',value:i_.flow}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),RY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IPath",value:Zv}))&&MY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"SwaggerV2.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),MY=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_}))&&uK(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(SwaggerV2.IOperation | undefined)",value:i_.head}))&&tR(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(SwaggerV2.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(SwaggerV2.IOperation | undefined)",value:i_.get}))&&tR(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(SwaggerV2.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(SwaggerV2.IOperation | undefined)",value:i_.post}))&&tR(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(SwaggerV2.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(SwaggerV2.IOperation | undefined)",value:i_.put}))&&tR(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(SwaggerV2.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:i_.patch}))&&tR(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:i_.delete}))&&tR(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(SwaggerV2.IOperation | undefined)",value:i_.options}))&&tR(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(SwaggerV2.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:i_.trace}))&&tR(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:i_.trace})].every(X_=>X_),LY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/parameters/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),tR=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_}))&&UW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:i_.responses}))&&jY(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:i_.responses}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),Dee=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/definitions/parameters/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),jY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:Zv}))&&fM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),BY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/definitions/responses/${string}`",value:i_.$ref}),i_.examples===void 0||Array.isArray(i_.examples)||O_(C_,{path:v_+".examples",expected:"(Array<any> | undefined)",value:i_.examples}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),EW=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),rV=(i_,v_,C_=!0)=>[(i_.openapi!==null||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi}))&&(i_.openapi!==void 0||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi}))&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:'("3.0" | `3.0.${number}`)',value:i_.openapi})),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:i_.info}))&&JY(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:i_.info}),i_.components===void 0||(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"(OpenApiV3.IComponents | undefined)",value:i_.components}))&&i9(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"(OpenApiV3.IComponents | undefined)",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:i_.paths}))&&pU(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:i_.paths}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3.IDocument.ITag",value:X_}))&&fL(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),AW=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:i_.variables}))&&nM(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),nM=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IServer.IVariable",value:Zv}))&&ZG(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),ZG=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string> | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),JY=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:i_.contact}))&&nV(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:i_.license}))&&BO(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),nV=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),BO=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),i9=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.schemas}))&&lL(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.schemas}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:i_.responses}))&&EB(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:i_.responses}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:i_.parameters}))&&c7(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBodies===void 0||(typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}))&&o4(i_.requestBodies,v_+".requestBodies",C_)||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&Eee(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:i_.securitySchemes}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:i_.headers}))&&oA(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:i_.headers}),i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:i_.examples}))&&_k(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:i_.examples})].every(X_=>X_),lL=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:Zv}))&&BF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),kW=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),fU=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),IW=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),I4=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),eK=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1||O_(C_,{path:v_+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.items}))&&BF(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.items}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),iw=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.properties}))&&lL(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&BF(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),DB=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),VY=(i_,v_,C_=!0)=>[(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.allOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),tK=(i_,v_,C_=!0)=>[(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.anyOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),wW=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_}))&&BF(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iV(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),iV=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),S8=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),iM=(i_,v_,C_=!0)=>[!0,i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),EB=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IResponse",value:Zv}))&&AP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),AP=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}))&&sM(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:i_.headers}))&&zY(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:i_.headers}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),sM=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IMediaType",value:Zv}))&&uL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IMediaType",value:Zv})}).every(X_=>X_)].every(X_=>X_),uL=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples})].every(X_=>X_),cw=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv}))&&fF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv})}).every(X_=>X_)].every(X_=>X_),Vw=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),JO=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/examples/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),zY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv}))&&VF(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv})}).every(X_=>X_)].every(X_=>X_),PW=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema})].every(X_=>X_),sV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/headers/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),c7=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IParameter",value:Zv}))&&jD(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),jD=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}))&&BF(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples}))&&cw(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:i_.examples})].every(X_=>X_),o4=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IRequestBody",value:Zv}))&&rK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IOperation.IRequestBody",value:Zv})}).every(X_=>X_)].every(X_=>X_),rK=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content}))&&sM(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:i_.content})].every(X_=>X_),Eee=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:Zv}))&&T8(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),rR=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Aee=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),hP=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Y5=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&tP(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),tP=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&aM(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&DD(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&VO(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&VO(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),aM=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),DD=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),VO=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),AB=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),oA=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:Zv}))&&PW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:Zv})}).every(X_=>X_)].every(X_=>X_),_k=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IExample",value:Zv}))&&Vw(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),pU=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IPath",value:Zv}))&&nK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),nK=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_}))&&PB(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApiV3.IOperation | undefined)",value:i_.head}))&&UI(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApiV3.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApiV3.IOperation | undefined)",value:i_.get}))&&UI(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApiV3.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApiV3.IOperation | undefined)",value:i_.post}))&&UI(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApiV3.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApiV3.IOperation | undefined)",value:i_.put}))&&UI(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApiV3.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:i_.patch}))&&UI(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:i_.delete}))&&UI(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApiV3.IOperation | undefined)",value:i_.options}))&&UI(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApiV3.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:i_.trace}))&&UI(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:i_.trace})].every(X_=>X_),NW=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/parameters/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),UI=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_}))&&PB(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&zF(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:i_.responses}))&&c4(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_}))&&AW(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),zO=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/requestBodies/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),c4=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:Zv}))&&mL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),s9=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/responses/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),fL=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),kB=(i_,v_,C_=!0)=>[typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)||O_(C_,{path:v_+".openapi",expected:"`3.1.${number}`",value:i_.openapi}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.info===void 0||(typeof i_.info=="object"&&i_.info!==null||O_(C_,{path:v_+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:i_.info}))&&UY(i_.info,v_+".info",C_)||O_(C_,{path:v_+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:i_.info}),i_.components===void 0||(typeof i_.components=="object"&&i_.components!==null&&Array.isArray(i_.components)===!1||O_(C_,{path:v_+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:i_.components}))&&$W(i_.components,v_+".components",C_)||O_(C_,{path:v_+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:i_.components}),i_.paths===void 0||(typeof i_.paths=="object"&&i_.paths!==null&&Array.isArray(i_.paths)===!1||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.paths}))&&jW(i_.paths,v_+".paths",C_)||O_(C_,{path:v_+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.paths}),i_.webhooks===void 0||(typeof i_.webhooks=="object"&&i_.webhooks!==null&&Array.isArray(i_.webhooks)===!1||O_(C_,{path:v_+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:i_.webhooks}))&&gI(i_.webhooks,v_+".webhooks",C_)||O_(C_,{path:v_+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:i_.webhooks}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3_1.IDocument.ITag",value:X_}))&&uM(X_,v_+".tags["+Zv+"]",C_)||O_(C_,{path:v_+".tags["+Zv+"]",expected:"OpenApiV3_1.IDocument.ITag",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:i_.tags})].every(X_=>X_),VN=(i_,v_,C_=!0)=>[typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"string",value:i_.url}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.variables===void 0||(typeof i_.variables=="object"&&i_.variables!==null&&Array.isArray(i_.variables)===!1||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:i_.variables}))&&FW(i_.variables,v_+".variables",C_)||O_(C_,{path:v_+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:i_.variables})].every(X_=>X_),FW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IServer.IVariable",value:Zv}))&&OW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IServer.IVariable",value:Zv})}).every(X_=>X_)].every(X_=>X_),OW=(i_,v_,C_=!0)=>[typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"string",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:i_.enum}))&&(1<=i_.enum.length||O_(C_,{path:v_+'["enum"]',expected:"Array<> & MinItems<1>",value:i_.enum}))&&i_.enum.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:i_.enum}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),UY=(i_,v_,C_=!0)=>[typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"string",value:i_.title}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.termsOfService===void 0||typeof i_.termsOfService=="string"||O_(C_,{path:v_+".termsOfService",expected:"(string | undefined)",value:i_.termsOfService}),i_.contact===void 0||(typeof i_.contact=="object"&&i_.contact!==null&&Array.isArray(i_.contact)===!1||O_(C_,{path:v_+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:i_.contact}))&&C7(i_.contact,v_+".contact",C_)||O_(C_,{path:v_+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:i_.contact}),i_.license===void 0||(typeof i_.license=="object"&&i_.license!==null||O_(C_,{path:v_+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:i_.license}))&&TN(i_.license,v_+".license",C_)||O_(C_,{path:v_+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:i_.license}),typeof i_.version=="string"||O_(C_,{path:v_+".version",expected:"string",value:i_.version})].every(X_=>X_),C7=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url}),i_.email===void 0||typeof i_.email=="string"||O_(C_,{path:v_+".email",expected:"(string | undefined)",value:i_.email})].every(X_=>X_),TN=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.identifier===void 0||typeof i_.identifier=="string"||O_(C_,{path:v_+".identifier",expected:"(string | undefined)",value:i_.identifier}),i_.url===void 0||typeof i_.url=="string"||O_(C_,{path:v_+".url",expected:"(string | undefined)",value:i_.url})].every(X_=>X_),$W=(i_,v_,C_=!0)=>[i_.schemas===void 0||(typeof i_.schemas=="object"&&i_.schemas!==null&&Array.isArray(i_.schemas)===!1||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.schemas}))&&RW(i_.schemas,v_+".schemas",C_)||O_(C_,{path:v_+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.schemas}),i_.pathItems===void 0||(typeof i_.pathItems=="object"&&i_.pathItems!==null&&Array.isArray(i_.pathItems)===!1||O_(C_,{path:v_+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.pathItems}))&&jW(i_.pathItems,v_+".pathItems",C_)||O_(C_,{path:v_+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:i_.pathItems}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:i_.responses}))&&uV(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:i_.responses}),i_.parameters===void 0||(typeof i_.parameters=="object"&&i_.parameters!==null&&Array.isArray(i_.parameters)===!1||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:i_.parameters}))&&oF(i_.parameters,v_+".parameters",C_)||O_(C_,{path:v_+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:i_.parameters}),i_.requestBodies===void 0||(typeof i_.requestBodies=="object"&&i_.requestBodies!==null&&Array.isArray(i_.requestBodies)===!1||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}))&&dL(i_.requestBodies,v_+".requestBodies",C_)||O_(C_,{path:v_+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:i_.requestBodies}),i_.securitySchemes===void 0||(typeof i_.securitySchemes=="object"&&i_.securitySchemes!==null&&Array.isArray(i_.securitySchemes)===!1||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:i_.securitySchemes}))&&sR(i_.securitySchemes,v_+".securitySchemes",C_)||O_(C_,{path:v_+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:i_.securitySchemes}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:i_.headers}))&&oK(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:i_.headers}),i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:i_.examples}))&&cK(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:i_.examples})].every(X_=>X_),RW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:Zv}))&&ZP(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:Zv})}).every(X_=>X_)].every(X_=>X_),d8=(i_,v_,C_=!0)=>[(Array.isArray(i_.type)||O_(C_,{path:v_+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "null" | "integer" | "array">',value:i_.type}))&&i_.type.map((X_,Zv)=>X_==="string"||X_==="number"||X_==="boolean"||X_==="object"||X_==="null"||X_==="integer"||X_==="array"||O_(C_,{path:v_+".type["+Zv+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:X_})).every(X_=>X_)||O_(C_,{path:v_+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "null" | "integer" | "array">',value:i_.type}),i_.default===null||i_.default===void 0||Array.isArray(i_.default)||O_(C_,{path:v_+'["default"]',expected:"(Array<any> | null | undefined)",value:i_.default}),i_.enum===void 0||Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<any> | undefined)",value:i_.enum}),typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),(i_.items!==null||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items}))&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".items["+Zv+"]",C_)||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&ZP(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.prefixItems===void 0||(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&ZP(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}))&&RW(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&ZP(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iK(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}),(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}),typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref})].every(X_=>X_),IB=(i_,v_,C_=!0)=>[typeof i_.const=="string"||typeof i_.const=="number"||typeof i_.const=="boolean"||O_(C_,{path:v_+'["const"]',expected:"(boolean | number | string)",value:i_.const}),i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),oM=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="boolean"||O_(C_,{path:v_+'["default"]',expected:"(boolean | null | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="boolean"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(boolean | null)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:i_.enum}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="boolean"||O_(C_,{path:v_+".type",expected:'"boolean"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),cM=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"&&(Math.floor(i_.default)===i_.default&&-9223372036854776e3<=i_.default&&i_.default<=9223372036854776e3||O_(C_,{path:v_+'["default"]',expected:'number & Type<"int64">',value:i_.default}))||O_(C_,{path:v_+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"&&(Math.floor(i_.minimum)===i_.minimum&&-9223372036854776e3<=i_.minimum&&i_.minimum<=9223372036854776e3||O_(C_,{path:v_+".minimum",expected:'number & Type<"int64">',value:i_.minimum}))||O_(C_,{path:v_+".minimum",expected:'((number & Type<"int64">) | undefined)',value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"&&(Math.floor(i_.maximum)===i_.maximum&&-9223372036854776e3<=i_.maximum&&i_.maximum<=9223372036854776e3||O_(C_,{path:v_+".maximum",expected:'number & Type<"int64">',value:i_.maximum}))||O_(C_,{path:v_+".maximum",expected:'((number & Type<"int64">) | undefined)',value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"&&(Math.floor(i_.exclusiveMinimum)===i_.exclusiveMinimum&&-9223372036854776e3<=i_.exclusiveMinimum&&i_.exclusiveMinimum<=9223372036854776e3||O_(C_,{path:v_+".exclusiveMinimum",expected:'number & Type<"int64">',value:i_.exclusiveMinimum}))||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"&&(Math.floor(i_.exclusiveMaximum)===i_.exclusiveMaximum&&-9223372036854776e3<=i_.exclusiveMaximum&&i_.exclusiveMaximum<=9223372036854776e3||O_(C_,{path:v_+".exclusiveMaximum",expected:'number & Type<"int64">',value:i_.exclusiveMaximum}))||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(Math.floor(i_.multipleOf)===i_.multipleOf&&0<=i_.multipleOf&&i_.multipleOf<=18446744073709552e3||O_(C_,{path:v_+".multipleOf",expected:'number & Type<"uint64">',value:i_.multipleOf}))&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="integer"||O_(C_,{path:v_+".type",expected:'"integer"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),pL=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="number"||O_(C_,{path:v_+'["default"]',expected:"(null | number | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="number"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | number)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<number | null> | undefined)",value:i_.enum}),i_.minimum===void 0||typeof i_.minimum=="number"||O_(C_,{path:v_+".minimum",expected:"(number | undefined)",value:i_.minimum}),i_.maximum===void 0||typeof i_.maximum=="number"||O_(C_,{path:v_+".maximum",expected:"(number | undefined)",value:i_.maximum}),i_.exclusiveMinimum===void 0||typeof i_.exclusiveMinimum=="number"||typeof i_.exclusiveMinimum=="boolean"||O_(C_,{path:v_+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:i_.exclusiveMinimum}),i_.exclusiveMaximum===void 0||typeof i_.exclusiveMaximum=="number"||typeof i_.exclusiveMaximum=="boolean"||O_(C_,{path:v_+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:i_.exclusiveMaximum}),i_.multipleOf===void 0||typeof i_.multipleOf=="number"&&(0<i_.multipleOf||O_(C_,{path:v_+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:i_.multipleOf}))||O_(C_,{path:v_+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:i_.multipleOf}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="number"||O_(C_,{path:v_+".type",expected:'"number"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),wB=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.default===null||i_.default===void 0||typeof i_.default=="string"||O_(C_,{path:v_+'["default"]',expected:"(null | string | undefined)",value:i_.default}),i_.enum===void 0||(Array.isArray(i_.enum)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}))&&i_.enum.map((X_,Zv)=>X_===null||typeof X_=="string"||O_(C_,{path:v_+'["enum"]['+Zv+"]",expected:"(null | string)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+'["enum"]',expected:"(Array<string | null> | undefined)",value:i_.enum}),i_.format===void 0||typeof i_.format=="string"||O_(C_,{path:v_+".format",expected:"(string | undefined)",value:i_.format}),i_.pattern===void 0||typeof i_.pattern=="string"||O_(C_,{path:v_+".pattern",expected:"(string | undefined)",value:i_.pattern}),i_.contentMediaType===void 0||typeof i_.contentMediaType=="string"||O_(C_,{path:v_+".contentMediaType",expected:"(string | undefined)",value:i_.contentMediaType}),i_.minLength===void 0||typeof i_.minLength=="number"&&(Math.floor(i_.minLength)===i_.minLength&&0<=i_.minLength&&i_.minLength<=18446744073709552e3||O_(C_,{path:v_+".minLength",expected:'number & Type<"uint64">',value:i_.minLength}))||O_(C_,{path:v_+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.minLength}),i_.maxLength===void 0||typeof i_.maxLength=="number"&&(Math.floor(i_.maxLength)===i_.maxLength&&0<=i_.maxLength&&i_.maxLength<=18446744073709552e3||O_(C_,{path:v_+".maxLength",expected:'number & Type<"uint64">',value:i_.maxLength}))||O_(C_,{path:v_+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxLength}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="string"||O_(C_,{path:v_+".type",expected:'"string"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),P_=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),(i_.items!==null||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items}))&&(i_.items===void 0||Array.isArray(i_.items)&&i_.items.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".items["+Zv+"]",C_)||O_(C_,{path:v_+".items["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||typeof i_.items=="object"&&i_.items!==null&&Array.isArray(i_.items)===!1&&ZP(i_.items,v_+".items",C_)||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})||O_(C_,{path:v_+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.items})),i_.prefixItems===void 0||(Array.isArray(i_.prefixItems)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}))&&i_.prefixItems.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".prefixItems["+Zv+"]",C_)||O_(C_,{path:v_+".prefixItems["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:i_.prefixItems}),i_.uniqueItems===void 0||typeof i_.uniqueItems=="boolean"||O_(C_,{path:v_+".uniqueItems",expected:"(boolean | undefined)",value:i_.uniqueItems}),(i_.additionalItems!==null||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&(i_.additionalItems===void 0||typeof i_.additionalItems=="boolean"||(typeof i_.additionalItems=="object"&&i_.additionalItems!==null&&Array.isArray(i_.additionalItems)===!1||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems}))&&ZP(i_.additionalItems,v_+".additionalItems",C_)||O_(C_,{path:v_+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalItems})),i_.minItems===void 0||typeof i_.minItems=="number"&&(Math.floor(i_.minItems)===i_.minItems&&0<=i_.minItems&&i_.minItems<=18446744073709552e3||O_(C_,{path:v_+".minItems",expected:'number & Type<"uint64">',value:i_.minItems}))||O_(C_,{path:v_+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.minItems}),i_.maxItems===void 0||typeof i_.maxItems=="number"&&(Math.floor(i_.maxItems)===i_.maxItems&&0<=i_.maxItems&&i_.maxItems<=18446744073709552e3||O_(C_,{path:v_+".maxItems",expected:'number & Type<"uint64">',value:i_.maxItems}))||O_(C_,{path:v_+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:i_.maxItems}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="array"||O_(C_,{path:v_+".type",expected:'"array"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),y_=(i_,v_,C_=!0)=>[i_.nullable===void 0||typeof i_.nullable=="boolean"||O_(C_,{path:v_+".nullable",expected:"(boolean | undefined)",value:i_.nullable}),i_.properties===void 0||(typeof i_.properties=="object"&&i_.properties!==null&&Array.isArray(i_.properties)===!1||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}))&&RW(i_.properties,v_+".properties",C_)||O_(C_,{path:v_+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:i_.properties}),i_.required===void 0||(Array.isArray(i_.required)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}))&&i_.required.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".required["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".required",expected:"(Array<string> | undefined)",value:i_.required}),(i_.additionalProperties!==null||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&(i_.additionalProperties===void 0||typeof i_.additionalProperties=="boolean"||(typeof i_.additionalProperties=="object"&&i_.additionalProperties!==null&&Array.isArray(i_.additionalProperties)===!1||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties}))&&ZP(i_.additionalProperties,v_+".additionalProperties",C_)||O_(C_,{path:v_+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:i_.additionalProperties})),i_.maxProperties===void 0||typeof i_.maxProperties=="number"||O_(C_,{path:v_+".maxProperties",expected:"(number | undefined)",value:i_.maxProperties}),i_.minProperties===void 0||typeof i_.minProperties=="number"||O_(C_,{path:v_+".minProperties",expected:"(number | undefined)",value:i_.minProperties}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="object"||O_(C_,{path:v_+".type",expected:'"object"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),MP=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"||O_(C_,{path:v_+".$ref",expected:"string",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),MW=(i_,v_,C_=!0)=>[typeof i_.$recursiveRef=="string"||O_(C_,{path:v_+".$recursiveRef",expected:"string",value:i_.$recursiveRef}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),aV=(i_,v_,C_=!0)=>[(Array.isArray(i_.allOf)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}))&&i_.allOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".allOf["+Zv+"]",C_)||O_(C_,{path:v_+".allOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.allOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),dU=(i_,v_,C_=!0)=>[(Array.isArray(i_.anyOf)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}))&&i_.anyOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".anyOf["+Zv+"]",C_)||O_(C_,{path:v_+".anyOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.anyOf}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),LW=(i_,v_,C_=!0)=>[(Array.isArray(i_.oneOf)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}))&&i_.oneOf.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_}))&&ZP(X_,v_+".oneOf["+Zv+"]",C_)||O_(C_,{path:v_+".oneOf["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:i_.oneOf}),i_.discriminator===void 0||(typeof i_.discriminator=="object"&&i_.discriminator!==null||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}))&&iK(i_.discriminator,v_+".discriminator",C_)||O_(C_,{path:v_+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:i_.discriminator}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),iK=(i_,v_,C_=!0)=>[typeof i_.propertyName=="string"||O_(C_,{path:v_+".propertyName",expected:"string",value:i_.propertyName}),i_.mapping===void 0||(typeof i_.mapping=="object"&&i_.mapping!==null&&Array.isArray(i_.mapping)===!1||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping}))&&W7(i_.mapping,v_+".mapping",C_)||O_(C_,{path:v_+".mapping",expected:"(Record<string, string> | undefined)",value:i_.mapping})].every(X_=>X_),qY=(i_,v_,C_=!0)=>[i_.default===null||i_.default===void 0||O_(C_,{path:v_+'["default"]',expected:"(null | undefined)",value:i_.default}),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,i_.type==="null"||O_(C_,{path:v_+".type",expected:'"null"',value:i_.type}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),WY=(i_,v_,C_=!0)=>[(i_.type!==null||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type}))&&(i_.type===void 0||O_(C_,{path:v_+".type",expected:"undefined",value:i_.type})),!0,i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0,(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))].every(X_=>X_),jW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IPath",value:Zv}))&&sK(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IPath",value:Zv})}).every(X_=>X_)].every(X_=>X_),sK=(i_,v_,C_=!0)=>[i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_}))&&qW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.head===void 0||(typeof i_.head=="object"&&i_.head!==null&&Array.isArray(i_.head)===!1||O_(C_,{path:v_+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.head}))&&nR(i_.head,v_+".head",C_)||O_(C_,{path:v_+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.head}),i_.get===void 0||(typeof i_.get=="object"&&i_.get!==null&&Array.isArray(i_.get)===!1||O_(C_,{path:v_+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.get}))&&nR(i_.get,v_+".get",C_)||O_(C_,{path:v_+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.get}),i_.post===void 0||(typeof i_.post=="object"&&i_.post!==null&&Array.isArray(i_.post)===!1||O_(C_,{path:v_+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.post}))&&nR(i_.post,v_+".post",C_)||O_(C_,{path:v_+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.post}),i_.put===void 0||(typeof i_.put=="object"&&i_.put!==null&&Array.isArray(i_.put)===!1||O_(C_,{path:v_+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.put}))&&nR(i_.put,v_+".put",C_)||O_(C_,{path:v_+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.put}),i_.patch===void 0||(typeof i_.patch=="object"&&i_.patch!==null&&Array.isArray(i_.patch)===!1||O_(C_,{path:v_+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.patch}))&&nR(i_.patch,v_+".patch",C_)||O_(C_,{path:v_+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.patch}),i_.delete===void 0||(typeof i_.delete=="object"&&i_.delete!==null&&Array.isArray(i_.delete)===!1||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.delete}))&&nR(i_.delete,v_+'["delete"]',C_)||O_(C_,{path:v_+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.delete}),i_.options===void 0||(typeof i_.options=="object"&&i_.options!==null&&Array.isArray(i_.options)===!1||O_(C_,{path:v_+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.options}))&&nR(i_.options,v_+".options",C_)||O_(C_,{path:v_+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.options}),i_.trace===void 0||(typeof i_.trace=="object"&&i_.trace!==null&&Array.isArray(i_.trace)===!1||O_(C_,{path:v_+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.trace}))&&nR(i_.trace,v_+".trace",C_)||O_(C_,{path:v_+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:i_.trace})].every(X_=>X_),lM=(i_,v_,C_=!0)=>[i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.in==="path"||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:i_.in}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples})].every(X_=>X_),BW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv}))&&W8(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:Zv})}).every(X_=>X_)].every(X_=>X_),HY=(i_,v_,C_=!0)=>[i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.externalValue===void 0||typeof i_.externalValue=="string"||O_(C_,{path:v_+".externalValue",expected:"(string | undefined)",value:i_.externalValue})].every(X_=>X_),GY=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/examples/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),_U=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/headers/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),oV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/parameters/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),nR=(i_,v_,C_=!0)=>[i_.operationId===void 0||typeof i_.operationId=="string"||O_(C_,{path:v_+".operationId",expected:"(string | undefined)",value:i_.operationId}),i_.parameters===void 0||(Array.isArray(i_.parameters)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}))&&i_.parameters.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_}))&&qW(X_,v_+".parameters["+Zv+"]",C_)||O_(C_,{path:v_+".parameters["+Zv+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:i_.parameters}),i_.requestBody===void 0||(typeof i_.requestBody=="object"&&i_.requestBody!==null&&Array.isArray(i_.requestBody)===!1||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:i_.requestBody}))&&kee(i_.requestBody,v_+".requestBody",C_)||O_(C_,{path:v_+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:i_.requestBody}),i_.responses===void 0||(typeof i_.responses=="object"&&i_.responses!==null&&Array.isArray(i_.responses)===!1||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:i_.responses}))&&KY(i_.responses,v_+".responses",C_)||O_(C_,{path:v_+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:i_.responses}),i_.servers===void 0||(Array.isArray(i_.servers)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}))&&i_.servers.map((X_,Zv)=>(typeof X_=="object"&&X_!==null||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_}))&&VN(X_,v_+".servers["+Zv+"]",C_)||O_(C_,{path:v_+".servers["+Zv+"]",expected:"OpenApiV3_1.IServer",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:i_.servers}),i_.summary===void 0||typeof i_.summary=="string"||O_(C_,{path:v_+".summary",expected:"(string | undefined)",value:i_.summary}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.security===void 0||(Array.isArray(i_.security)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}))&&i_.security.map((X_,Zv)=>(typeof X_=="object"&&X_!==null&&Array.isArray(X_)===!1||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_}))&&p5(X_,v_+".security["+Zv+"]",C_)||O_(C_,{path:v_+".security["+Zv+"]",expected:"Record<string, Array<string>>",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:i_.security}),i_.tags===void 0||(Array.isArray(i_.tags)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}))&&i_.tags.map((X_,Zv)=>typeof X_=="string"||O_(C_,{path:v_+".tags["+Zv+"]",expected:"string",value:X_})).every(X_=>X_)||O_(C_,{path:v_+".tags",expected:"(Array<string> | undefined)",value:i_.tags}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated})].every(X_=>X_),d5=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}))&&JW(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content})].every(X_=>X_),JW=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IMediaType",value:Zv}))&&oI(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IMediaType",value:Zv})}).every(X_=>X_)].every(X_=>X_),oI=(i_,v_,C_=!0)=>[i_.schema===void 0||(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:i_.schema}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples})].every(X_=>X_),iR=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/requestBodies/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),KY=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:Zv}))&&Iee(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:Zv})}).every(X_=>X_)].every(X_=>X_),VW=(i_,v_,C_=!0)=>[i_.content===void 0||(typeof i_.content=="object"&&i_.content!==null&&Array.isArray(i_.content)===!1||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}))&&JW(i_.content,v_+".content",C_)||O_(C_,{path:v_+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:i_.content}),i_.headers===void 0||(typeof i_.headers=="object"&&i_.headers!==null&&Array.isArray(i_.headers)===!1||O_(C_,{path:v_+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:i_.headers}))&&cV(i_.headers,v_+".headers",C_)||O_(C_,{path:v_+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:i_.headers}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),cV=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv}))&&gL(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:Zv})}).every(X_=>X_)].every(X_=>X_),a9=(i_,v_,C_=!0)=>[i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),!0,i_.examples===void 0||(typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}))&&BW(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:i_.examples}),i_.required===void 0||typeof i_.required=="boolean"||O_(C_,{path:v_+".required",expected:"(boolean | undefined)",value:i_.required}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),(typeof i_.schema=="object"&&i_.schema!==null&&Array.isArray(i_.schema)===!1||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema}))&&ZP(i_.schema,v_+".schema",C_)||O_(C_,{path:v_+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:i_.schema})].every(X_=>X_),lV=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/responses/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),uV=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IResponse",value:Zv}))&&VW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IResponse",value:Zv})}).every(X_=>X_)].every(X_=>X_),oF=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IParameter",value:Zv}))&&lM(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IParameter",value:Zv})}).every(X_=>X_)].every(X_=>X_),dL=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IRequestBody",value:Zv}))&&d5(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IOperation.IRequestBody",value:Zv})}).every(X_=>X_)].every(X_=>X_),sR=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:Zv}))&&WW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:Zv})}).every(X_=>X_)].every(X_=>X_),_L=(i_,v_,C_=!0)=>[i_.type==="apiKey"||O_(C_,{path:v_+".type",expected:'"apiKey"',value:i_.type}),i_.in===void 0||i_.in==="query"||i_.in==="header"||i_.in==="cookie"||O_(C_,{path:v_+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:i_.in}),i_.name===void 0||typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"(string | undefined)",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),QA=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="basic"||O_(C_,{path:v_+".scheme",expected:'"basic"',value:i_.scheme}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),cF=(i_,v_,C_=!0)=>[i_.type==="http"||O_(C_,{path:v_+".type",expected:'"http"',value:i_.type}),i_.scheme==="bearer"||O_(C_,{path:v_+".scheme",expected:'"bearer"',value:i_.scheme}),i_.bearerFormat===void 0||typeof i_.bearerFormat=="string"||O_(C_,{path:v_+".bearerFormat",expected:"(string | undefined)",value:i_.bearerFormat}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),D7=(i_,v_,C_=!0)=>[i_.type==="oauth2"||O_(C_,{path:v_+".type",expected:'"oauth2"',value:i_.type}),(typeof i_.flows=="object"&&i_.flows!==null&&Array.isArray(i_.flows)===!1||O_(C_,{path:v_+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}))&&LP(i_.flows,v_+".flows",C_)||O_(C_,{path:v_+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:i_.flows}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),LP=(i_,v_,C_=!0)=>[i_.authorizationCode===void 0||(typeof i_.authorizationCode=="object"&&i_.authorizationCode!==null&&Array.isArray(i_.authorizationCode)===!1||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}))&&aR(i_.authorizationCode,v_+".authorizationCode",C_)||O_(C_,{path:v_+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:i_.authorizationCode}),i_.implicit===void 0||(typeof i_.implicit=="object"&&i_.implicit!==null&&Array.isArray(i_.implicit)===!1||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}))&&zW(i_.implicit,v_+".implicit",C_)||O_(C_,{path:v_+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:i_.implicit}),i_.password===void 0||(typeof i_.password=="object"&&i_.password!==null&&Array.isArray(i_.password)===!1||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}))&&fV(i_.password,v_+".password",C_)||O_(C_,{path:v_+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.password}),i_.clientCredentials===void 0||(typeof i_.clientCredentials=="object"&&i_.clientCredentials!==null&&Array.isArray(i_.clientCredentials)===!1||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials}))&&fV(i_.clientCredentials,v_+".clientCredentials",C_)||O_(C_,{path:v_+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:i_.clientCredentials})].every(X_=>X_),aR=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),zW=(i_,v_,C_=!0)=>[i_.authorizationUrl===void 0||typeof i_.authorizationUrl=="string"||O_(C_,{path:v_+".authorizationUrl",expected:"(string | undefined)",value:i_.authorizationUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),fV=(i_,v_,C_=!0)=>[i_.tokenUrl===void 0||typeof i_.tokenUrl=="string"||O_(C_,{path:v_+".tokenUrl",expected:"(string | undefined)",value:i_.tokenUrl}),i_.refreshUrl===void 0||typeof i_.refreshUrl=="string"||O_(C_,{path:v_+".refreshUrl",expected:"(string | undefined)",value:i_.refreshUrl}),i_.scopes===void 0||(typeof i_.scopes=="object"&&i_.scopes!==null&&Array.isArray(i_.scopes)===!1||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes}))&&W7(i_.scopes,v_+".scopes",C_)||O_(C_,{path:v_+".scopes",expected:"(Record<string, string> | undefined)",value:i_.scopes})].every(X_=>X_),aK=(i_,v_,C_=!0)=>[i_.type==="openIdConnect"||O_(C_,{path:v_+".type",expected:'"openIdConnect"',value:i_.type}),typeof i_.openIdConnectUrl=="string"||O_(C_,{path:v_+".openIdConnectUrl",expected:"string",value:i_.openIdConnectUrl}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),oK=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:Zv}))&&a9(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:Zv})}).every(X_=>X_)].every(X_=>X_),cK=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IExample",value:Zv}))&&HY(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"OpenApiV3_1.IExample",value:Zv})}).every(X_=>X_)].every(X_=>X_),gI=(i_,v_,C_=!0)=>[C_===!1||Object.keys(i_).map(X_=>{const Zv=i_[X_];return Zv===void 0?!0:(typeof Zv=="object"&&Zv!==null&&Array.isArray(Zv)===!1||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:Zv}))&&HW(Zv,v_+_accessExpressionAsString_2(X_),C_)||O_(C_,{path:v_+_accessExpressionAsString_2(X_),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:Zv})}).every(X_=>X_)].every(X_=>X_),mU=(i_,v_,C_=!0)=>[typeof i_.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(i_.$ref)||O_(C_,{path:v_+".$ref",expected:"`#/components/pathItems/${string}`",value:i_.$ref}),(i_.examples!==null||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples}))&&(i_.examples===void 0||Array.isArray(i_.examples)||typeof i_.examples=="object"&&i_.examples!==null&&Array.isArray(i_.examples)===!1&&$3(i_.examples,v_+".examples",C_)||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})||O_(C_,{path:v_+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:i_.examples})),i_.title===void 0||typeof i_.title=="string"||O_(C_,{path:v_+".title",expected:"(string | undefined)",value:i_.title}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description}),i_.deprecated===void 0||typeof i_.deprecated=="boolean"||O_(C_,{path:v_+".deprecated",expected:"(boolean | undefined)",value:i_.deprecated}),!0].every(X_=>X_),uM=(i_,v_,C_=!0)=>[typeof i_.name=="string"||O_(C_,{path:v_+".name",expected:"string",value:i_.name}),i_.description===void 0||typeof i_.description=="string"||O_(C_,{path:v_+".description",expected:"(string | undefined)",value:i_.description})].every(X_=>X_),Q5=(i_,v_,C_=!0)=>i_.const!==void 0?pW(i_,v_,C_):i_.type==="boolean"?UJ(i_,v_,C_):i_.type==="number"?Gz(i_,v_,C_):i_.type==="integer"?qJ(i_,v_,C_):i_.type==="string"?WJ(i_,v_,C_):i_.items!==void 0?Kz(i_,v_,C_):i_.prefixItems!==void 0?HJ(i_,v_,C_):i_.type==="object"?Xz(i_,v_,C_):i_.$ref!==void 0?G9(i_,v_,C_):i_.oneOf!==void 0?WG(i_,v_,C_):i_.type==="null"?Yz(i_,v_,C_):Qz(i_,v_,C_),lK=(i_,v_,C_=!0)=>i_.const!==void 0?pW(i_,v_,C_):i_.type==="boolean"?UJ(i_,v_,C_):i_.type==="number"?Gz(i_,v_,C_):i_.type==="integer"?qJ(i_,v_,C_):i_.type==="string"?WJ(i_,v_,C_):i_.items!==void 0?Kz(i_,v_,C_):i_.prefixItems!==void 0?HJ(i_,v_,C_):i_.type==="object"?Xz(i_,v_,C_):i_.$ref!==void 0?G9(i_,v_,C_):i_.type==="null"?Yz(i_,v_,C_):Qz(i_,v_,C_),lF=(i_,v_,C_=!0)=>i_.type==="boolean"?tM(i_,v_,C_):i_.type==="number"?rU(i_,v_,C_):i_.type==="integer"?vW(i_,v_,C_):i_.type==="string"?xW(i_,v_,C_):i_.type==="array"?nU(i_,v_,C_):i_.type==="object"?QJ(i_,v_,C_):i_.$ref!==void 0?iU(i_,v_,C_):i_["x-anyOf"]!==void 0?bW(i_,v_,C_):i_["x-oneOf"]!==void 0?sU(i_,v_,C_):i_.type==="null"?QG(i_,v_,C_):TB(i_,v_,C_),uK=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):CB(i_,v_,!1)||Z9(i_,v_,!1)||LY(i_,v_,!1),UW=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):CB(i_,v_,!1)||Z9(i_,v_,!1)||Dee(i_,v_,!1),BF=(i_,v_,C_=!0)=>i_.type==="boolean"?kW(i_,v_,C_):i_.type==="number"?IW(i_,v_,C_):i_.type==="integer"?fU(i_,v_,C_):i_.type==="string"?I4(i_,v_,C_):i_.type==="array"?eK(i_,v_,C_):i_.type==="object"?iw(i_,v_,C_):i_.$ref!==void 0?DB(i_,v_,C_):i_.allOf!==void 0?VY(i_,v_,C_):i_.anyOf!==void 0?tK(i_,v_,C_):i_.oneOf!==void 0?wW(i_,v_,C_):i_.type==="null"?S8(i_,v_,C_):iM(i_,v_,C_),PB=(i_,v_,C_=!0)=>i_.in!==void 0?jD(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?NW(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?sV(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:i_}),ZP=(i_,v_,C_=!0)=>Array.isArray(i_.type)&&i_.type.map((X_,Zv)=>X_==="string"||X_==="number"||X_==="boolean"||X_==="object"||X_==="null"||X_==="integer"||X_==="array").every(X_=>X_)?d8(i_,v_,C_):i_.type==="boolean"?oM(i_,v_,C_):i_.type==="number"?pL(i_,v_,C_):i_.type==="integer"?cM(i_,v_,C_):i_.type==="string"?wB(i_,v_,C_):i_.type==="array"?P_(i_,v_,C_):i_.type==="object"?y_(i_,v_,C_):i_.$recursiveRef!==void 0?MW(i_,v_,C_):i_.type==="null"?qY(i_,v_,C_):i_.const!==void 0?IB(i_,v_,C_):i_.$ref!==void 0?MP(i_,v_,C_):i_.allOf!==void 0?aV(i_,v_,C_):i_.anyOf!==void 0?dU(i_,v_,C_):i_.oneOf!==void 0?LW(i_,v_,C_):WY(i_,v_,C_),qW=(i_,v_,C_=!0)=>i_.in!==void 0?lM(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(i_.$ref)?oV(i_,v_,C_):typeof i_.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(i_.$ref)?_U(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:i_}),XY=(i_,v_,C_=!0)=>i_.type==="apiKey"?mW(i_,v_,C_):i_.scheme==="basic"?gW(i_,v_,C_):i_.scheme==="bearer"?bB(i_,v_,C_):i_.type==="oauth2"?HG(i_,v_,C_):i_.type==="openIdConnect"?GG(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:i_}),JF=(i_,v_,C_=!0)=>i_.type==="boolean"?oL(i_,v_,C_):i_.type==="number"?_4(i_,v_,C_):i_.type==="integer"?aU(i_,v_,C_):i_.type==="string"?oU(i_,v_,C_):i_.type==="array"?ZJ(i_,v_,C_):i_.type==="object"?cU(i_,v_,C_):i_.$ref!==void 0?CB(i_,v_,C_):i_["x-anyOf"]!==void 0?r9(i_,v_,C_):i_["x-oneOf"]!==void 0?eV(i_,v_,C_):i_.type==="null"?cL(i_,v_,C_):i_.schema!==void 0?n9(i_,v_,C_):Z9(i_,v_,C_),uF=(i_,v_,C_=!0)=>i_.type==="apiKey"?p8(i_,v_,C_):i_.type==="basic"?eR(i_,v_,C_):i_.flow==="implicit"?lU(i_,v_,C_):i_.flow==="accessCode"?DW(i_,v_,C_):i_.flow==="application"?tV(i_,v_,C_):i_.flow==="password"?uU(i_,v_,C_):O_(C_,{path:v_,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:i_}),fM=(i_,v_,C_=!0)=>i_.$ref!==void 0?BY(i_,v_,C_):rM(i_,v_,C_),fF=(i_,v_,C_=!0)=>i_.$ref!==void 0?JO(i_,v_,C_):Vw(i_,v_,C_),VF=(i_,v_,C_=!0)=>i_.schema!==void 0?PW(i_,v_,C_):i_.$ref!==void 0?sV(i_,v_,C_):O_(C_,{path:v_,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:i_}),T8=(i_,v_,C_=!0)=>i_.type==="apiKey"?rR(i_,v_,C_):i_.scheme==="basic"?Aee(i_,v_,C_):i_.scheme==="bearer"?hP(i_,v_,C_):i_.type==="oauth2"?Y5(i_,v_,C_):i_.type==="openIdConnect"?AB(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:i_}),zF=(i_,v_,C_=!0)=>i_.$ref!==void 0?zO(i_,v_,C_):rK(i_,v_,C_),mL=(i_,v_,C_=!0)=>i_.$ref!==void 0?s9(i_,v_,C_):AP(i_,v_,C_),W8=(i_,v_,C_=!0)=>i_.$ref!==void 0?GY(i_,v_,C_):HY(i_,v_,C_),kee=(i_,v_,C_=!0)=>i_.$ref!==void 0?iR(i_,v_,C_):d5(i_,v_,C_),Iee=(i_,v_,C_=!0)=>i_.$ref!==void 0?lV(i_,v_,C_):VW(i_,v_,C_),gL=(i_,v_,C_=!0)=>i_.$ref!==void 0?_U(i_,v_,C_):i_.schema!==void 0?a9(i_,v_,C_):O_(C_,{path:v_,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:i_}),WW=(i_,v_,C_=!0)=>i_.type==="apiKey"?_L(i_,v_,C_):i_.scheme==="basic"?QA(i_,v_,C_):i_.scheme==="bearer"?cF(i_,v_,C_):i_.type==="oauth2"?D7(i_,v_,C_):i_.type==="openIdConnect"?aK(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:i_}),HW=(i_,v_,C_=!0)=>i_.$ref!==void 0?mU(i_,v_,C_):sK(i_,v_,C_),s0=(i_,v_,C_=!0)=>i_["x-samchon-emended-v4"]!==void 0?VJ(i_,v_,C_):i_.swagger!==void 0?Q9(i_,v_,C_):i_.openapi!==null&&i_.openapi!==void 0&&(i_.openapi==="3.0"||typeof i_.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi))?rV(i_,v_,C_):typeof i_.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(i_.openapi)?kB(i_,v_,C_):O_(C_,{path:v_,expected:"(OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument)",value:i_}),fx=i_=>typeof i_=="object"&&i_!==null&&cW(i_);let Px,O_;return i_=>{if(fx(i_)===!1){Px=[],O_=_validateReport_2(Px),((C_,X_,Zv=!0)=>(typeof C_=="object"&&C_!==null||O_(!0,{path:X_+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:C_}))&&s0(C_,X_+"",!0)||O_(!0,{path:X_+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:C_}))(i_,"$input",!0);const v_=Px.length===0;return v_?{success:v_,data:i_}:{success:v_,errors:Px,data:i_}}return{success:!0,data:i_}}})()(r_);return a_.success===!1?a_:{success:!0,data:new MigrateApplication(OpenApi.convert(r_))}}nest(r_){const a_=MigrateApplicationAnalyzer.analyze({mode:"nest",document:this.document,simulate:r_.simulate,e2e:r_.e2e}),u_={program:a_,files:[...NEST_TEMPLATE.filter(d_=>d_.location.startsWith("src/api/structures")===!1&&d_.location.startsWith("src/api/functional")===!1&&d_.location.startsWith("src/api/controllers")===!1&&d_.location.startsWith("test/features")===!1),...MigrateNestProgrammer.write(a_),...MigrateApiProgrammer.write(a_),...r_.e2e?MigrateE2eProgrammer.write(a_):[]],errors:a_.errors};return this.finalize(r_,u_)}sdk(r_){const a_=MigrateApplicationAnalyzer.analyze({mode:"sdk",document:this.document,simulate:r_.simulate,e2e:r_.e2e}),u_={program:a_,files:[...SDK_TEMPLATE.filter(d_=>d_.location.startsWith("src/structures")===!1&&d_.location.startsWith("src/functional")===!1&&d_.location.startsWith("test/features")===!1),...MigrateApiProgrammer.write(a_),MigrateApiStartProgrammer.write(a_),...r_.e2e?MigrateE2eProgrammer.write(a_):[],{location:"",file:"swagger.json",content:JSON.stringify(this.document,null,2)}],errors:a_.errors};return this.finalize(r_,u_)}finalize(r_,a_){return r_.package&&(a_.files=a_.files.map(u_=>({...u_,content:u_.content.split("@ORGANIZATION/PROJECT").join(r_.package)}))),a_}}var MigrateFileArchiver;(function(o){o.archive=a_=>u_=>async d_=>{const h_=new Set;for(const D_ of d_)await r_(a_.mkdir)(u_)(h_)(D_.location),await a_.writeFile([u_,D_.location,D_.file].join("/"),D_.content)};const r_=a_=>u_=>d_=>async h_=>{const D_=h_.split("/").map((I_,T_,R_)=>R_.slice(0,T_+1).join("/"));for(const I_ of D_)if(d_.has(I_)===!1)try{await a_([u_,I_].join("/")),d_.add(I_)}catch{}}})(MigrateFileArchiver||(MigrateFileArchiver={}));var Wa$1=Object.defineProperty,Js$1=o=>{throw TypeError(o)},Ar$1=(o,r_)=>{for(var a_ in r_)Wa$1(o,a_,{get:r_[a_],enumerable:!0})},qs$1=(o,r_,a_)=>r_.has(o)||Js$1("Cannot "+a_),pt$1=(o,r_,a_)=>(qs$1(o,r_,"read from private field"),r_.get(o)),Ws=(o,r_,a_)=>r_.has(o)?Js$1("Cannot add the same private member more than once"):r_ instanceof WeakSet?r_.add(o):r_.set(o,a_),Gs=(o,r_,a_,u_)=>(qs$1(o,r_,"write to private field"),r_.set(o,a_),a_),_s={};Ar$1(_s,{languages:()=>nm$1,options:()=>va,printers:()=>rm$1});var Us$1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],ws$1={};Ar$1(ws$1,{canAttachComment:()=>fp,embed:()=>Qu$1,experimentalFeatures:()=>Kl,getCommentChildNodes:()=>Ep,getVisitorKeys:()=>gr$2,handleComments:()=>Kn$1,insertPragma:()=>pi$1,isBlockComment:()=>re$1,isGap:()=>Fp$1,massageAstNode:()=>Cu$1,print:()=>Ia,printComment:()=>Pu$1,willPrintOwnComments:()=>zn$2});var Ga$1=(o,r_,a_,u_)=>{if(!(o&&r_==null))return r_.replaceAll?r_.replaceAll(a_,u_):a_.global?r_.replace(a_,u_):r_.split(a_).join(u_)},N$1=Ga$1,Ua$1=(o,r_,a_)=>{if(!(o&&r_==null))return Array.isArray(r_)||typeof r_=="string"?r_[a_<0?r_.length+a_:a_]:r_.at(a_)},O$1=Ua$1;function Na(o){return o!==null&&typeof o=="object"}var Ns$1=Na;function*Xa$1(o,r_){let{getVisitorKeys:a_,filter:u_=()=>!0}=r_,d_=h_=>Ns$1(h_)&&u_(h_);for(let h_ of a_(o)){let D_=o[h_];if(Array.isArray(D_))for(let I_ of D_)d_(I_)&&(yield I_);else d_(D_)&&(yield D_)}}function*Ya$1(o,r_){let a_=[o];for(let u_=0;u_<a_.length;u_++){let d_=a_[u_];for(let h_ of Xa$1(d_,r_))yield h_,a_.push(h_)}}function Xs(o,{getVisitorKeys:r_,predicate:a_}){for(let u_ of Ya$1(o,{getVisitorKeys:r_}))if(a_(u_))return!0;return!1}var Ys=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs(o){return o===12288||o>=65281&&o<=65376||o>=65504&&o<=65510}function Vs(o){return o>=4352&&o<=4447||o===8986||o===8987||o===9001||o===9002||o>=9193&&o<=9196||o===9200||o===9203||o===9725||o===9726||o===9748||o===9749||o>=9800&&o<=9811||o===9855||o===9875||o===9889||o===9898||o===9899||o===9917||o===9918||o===9924||o===9925||o===9934||o===9940||o===9962||o===9970||o===9971||o===9973||o===9978||o===9981||o===9989||o===9994||o===9995||o===10024||o===10060||o===10062||o>=10067&&o<=10069||o===10071||o>=10133&&o<=10135||o===10160||o===10175||o===11035||o===11036||o===11088||o===11093||o>=11904&&o<=11929||o>=11931&&o<=12019||o>=12032&&o<=12245||o>=12272&&o<=12287||o>=12289&&o<=12350||o>=12353&&o<=12438||o>=12441&&o<=12543||o>=12549&&o<=12591||o>=12593&&o<=12686||o>=12688&&o<=12771||o>=12783&&o<=12830||o>=12832&&o<=12871||o>=12880&&o<=19903||o>=19968&&o<=42124||o>=42128&&o<=42182||o>=43360&&o<=43388||o>=44032&&o<=55203||o>=63744&&o<=64255||o>=65040&&o<=65049||o>=65072&&o<=65106||o>=65108&&o<=65126||o>=65128&&o<=65131||o>=94176&&o<=94180||o===94192||o===94193||o>=94208&&o<=100343||o>=100352&&o<=101589||o>=101632&&o<=101640||o>=110576&&o<=110579||o>=110581&&o<=110587||o===110589||o===110590||o>=110592&&o<=110882||o===110898||o>=110928&&o<=110930||o===110933||o>=110948&&o<=110951||o>=110960&&o<=111355||o===126980||o===127183||o===127374||o>=127377&&o<=127386||o>=127488&&o<=127490||o>=127504&&o<=127547||o>=127552&&o<=127560||o===127568||o===127569||o>=127584&&o<=127589||o>=127744&&o<=127776||o>=127789&&o<=127797||o>=127799&&o<=127868||o>=127870&&o<=127891||o>=127904&&o<=127946||o>=127951&&o<=127955||o>=127968&&o<=127984||o===127988||o>=127992&&o<=128062||o===128064||o>=128066&&o<=128252||o>=128255&&o<=128317||o>=128331&&o<=128334||o>=128336&&o<=128359||o===128378||o===128405||o===128406||o===128420||o>=128507&&o<=128591||o>=128640&&o<=128709||o===128716||o>=128720&&o<=128722||o>=128725&&o<=128727||o>=128732&&o<=128735||o===128747||o===128748||o>=128756&&o<=128764||o>=128992&&o<=129003||o===129008||o>=129292&&o<=129338||o>=129340&&o<=129349||o>=129351&&o<=129535||o>=129648&&o<=129660||o>=129664&&o<=129672||o>=129680&&o<=129725||o>=129727&&o<=129733||o>=129742&&o<=129755||o>=129760&&o<=129768||o>=129776&&o<=129784||o>=131072&&o<=196605||o>=196608&&o<=262141}var $s=o=>!(Hs(o)||Vs(o)),Ha$1=/[^\x20-\x7F]/u;function Va$1(o){if(!o)return 0;if(!Ha$1.test(o))return o.length;o=o.replace(Ys()," ");let r_=0;for(let a_ of o){let u_=a_.codePointAt(0);u_<=31||u_>=127&&u_<=159||u_>=768&&u_<=879||(r_+=$s(u_)?1:2)}return r_}var et$2=Va$1;function Tr$1(o){return(r_,a_,u_)=>{let d_=!!(u_!=null&&u_.backwards);if(a_===!1)return!1;let{length:h_}=r_,D_=a_;for(;D_>=0&&D_<h_;){let I_=r_.charAt(D_);if(o instanceof RegExp){if(!o.test(I_))return D_}else if(!o.includes(I_))return D_;d_?D_--:D_++}return D_===-1||D_===h_?D_:!1}}var Ge$2=Tr$1(" "),Ks=Tr$1(",; "),zs=Tr$1(/[^\n\r]/u);function $a$1(o,r_,a_){let u_=!!(a_!=null&&a_.backwards);if(r_===!1)return!1;let d_=o.charAt(r_);if(u_){if(o.charAt(r_-1)==="\r"&&d_===`
4735
4734
  `)return r_-2;if(d_===`
4736
4735
  `||d_==="\r"||d_==="\u2028"||d_==="\u2029")return r_-1}else{if(d_==="\r"&&o.charAt(r_+1)===`
4737
4736
  `)return r_+2;if(d_===`