@agentica/chat 0.43.3 → 0.44.0-dev.20260313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +218 -218
- package/dist/assets/{Divider-DX1xhf0M.js → Divider-Cos-Ru5Z.js} +1 -1
- package/dist/assets/VendorConfigurationMovie-C1-X-OfL.js +2126 -0
- package/dist/assets/_accessExpressionAsString-CTLekF-M.js +1 -0
- package/dist/assets/bbs/index-BQdHwlZB.js +41 -0
- package/dist/assets/client-B8OTM7em.js +141 -0
- package/dist/assets/{index-BIyKUwoU.js → index-BtWQqbio.js} +1 -1
- package/dist/assets/shopping/index.html-BG-EZSvQ.js +39 -0
- package/dist/assets/uploader/index.html-xsq3E3-m.js +17 -0
- package/dist/bbs/index.html +32 -32
- package/dist/index.html +31 -31
- package/dist/shopping/index.html +33 -33
- package/dist/uploader/index.html +32 -32
- package/lib/examples/shopping/ShoppingChatApplication.d.ts +1 -1
- package/lib/examples/uploader/AgenticaChatUploaderMovie.d.ts +1 -1
- package/lib/index.mjs +26 -26
- package/lib/index.mjs.map +1 -1
- package/package.json +7 -6
- package/src/AgenticaChatApplication.tsx +13 -13
- package/src/components/MarkdownViewer.tsx +32 -32
- package/src/index.ts +1 -1
- package/src/movies/AgenticaChatMovie.tsx +381 -381
- package/src/movies/messages/AgenticaChatAssistantMessageMovie.tsx +44 -44
- package/src/movies/messages/AgenticaChatDescribeMessageMovie.tsx +63 -63
- package/src/movies/messages/AgenticaChatExecuteMessageMovie.tsx +46 -46
- package/src/movies/messages/AgenticaChatMessageMovie.tsx +43 -43
- package/src/movies/messages/AgenticaChatSelectMessageMovie.tsx +72 -72
- package/src/movies/messages/AgenticaChatSystemMessageMovie.tsx +44 -44
- package/src/movies/messages/AgenticaChatUserMessageMovie.tsx +56 -56
- package/src/movies/sides/AgenticaChatFunctionStackSideMovie.tsx +48 -48
- package/src/movies/sides/AgenticaChatSideMovie.tsx +75 -75
- package/src/movies/sides/AgenticaChatTokenUsageSideMovie.tsx +86 -86
- package/dist/assets/VendorConfigurationMovie-Cpx1jhtO.js +0 -2325
- package/dist/assets/_accessExpressionAsString-J5NhZ9FO.js +0 -1
- package/dist/assets/bbs/index-DxVHwWX6.js +0 -41
- package/dist/assets/client-B3aq8qpT.js +0 -141
- package/dist/assets/shopping/index.html-B8CDZvK4.js +0 -3
- package/dist/assets/uploader/index.html-taNoaQTw.js +0 -17
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{q as Hl,v as Wl,w as Ql,r as L,x as Kl,y as ln,j as V,e as fr,g as Mr,a as yr,c as fe,u as jo,n as ze,z as cr,f as Rr,s as ye,m as mn,A as Gs,C as Zs,D as po,E as Xl,F as _l,G as em,H as Nr,I as wo,b as rm,R as w,T as _,o as Hs}from"../client-B8OTM7em.js";import{I as fn,P as Vo,u as Xe,g as om,a as tr,B as Jo,_ as sm,O as nm,V as Ws,F as am,T as Qs,b as dm,c as im,A as tm,H as cm,d as lm}from"../VendorConfigurationMovie-C1-X-OfL.js";import{_ as Le,a as j,b as S,c as y}from"../_accessExpressionAsString-CTLekF-M.js";var yn={exports:{}},mm="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fm=mm,ym=fm;function In(){}function vn(){}vn.resetWarningCache=In;var Im=function(){function a(c,l,f,m,I,v){if(v!==ym){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}}a.isRequired=a;function i(){return a}var t={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:vn,resetWarningCache:In};return t.PropTypes=t,t};yn.exports=Im();var vm=yn.exports;const x=Hl(vm);function Am(a={}){const{themeId:i,defaultTheme:t,defaultClassName:c="MuiBox-root",generateClassName:l}=a,f=Wl("div",{shouldForwardProp:I=>I!=="theme"&&I!=="sx"&&I!=="as"})(Ql);return L.forwardRef(function(v,A){const O=Kl(t),{className:p,component:J="div",...g}=ln(v);return V.jsx(f,{as:J,ref:A,className:fr(p,l?l(c):c),theme:i&&O[i]||O,...g})})}function pm(a){return Mr("MuiAlert",a)}const Ks=yr("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Om=fe(V.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),gm=fe(V.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),hm=fe(V.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Sm=fe(V.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),um=fe(V.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Vm=a=>{const{variant:i,color:t,severity:c,classes:l}=a,f={root:["root",`color${cr(t||c)}`,`${i}${cr(t||c)}`,`${i}`],icon:["icon"],message:["message"],action:["action"]};return Rr(f,pm,l)},Jm=ye(Vo,{name:"MuiAlert",slot:"Root",overridesResolver:(a,i)=>{const{ownerState:t}=a;return[i.root,i[t.variant],i[`${t.variant}${cr(t.color||t.severity)}`]]}})(mn(({theme:a})=>{const i=a.palette.mode==="light"?Gs:Zs,t=a.palette.mode==="light"?Zs:Gs;return{...a.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(a.palette).filter(po(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"standard"},style:{color:a.vars?a.vars.palette.Alert[`${c}Color`]:i(a.palette[c].light,.6),backgroundColor:a.vars?a.vars.palette.Alert[`${c}StandardBg`]:t(a.palette[c].light,.9),[`& .${Ks.icon}`]:a.vars?{color:a.vars.palette.Alert[`${c}IconColor`]}:{color:a.palette[c].main}}})),...Object.entries(a.palette).filter(po(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"outlined"},style:{color:a.vars?a.vars.palette.Alert[`${c}Color`]:i(a.palette[c].light,.6),border:`1px solid ${(a.vars||a).palette[c].light}`,[`& .${Ks.icon}`]:a.vars?{color:a.vars.palette.Alert[`${c}IconColor`]}:{color:a.palette[c].main}}})),...Object.entries(a.palette).filter(po(["dark"])).map(([c])=>({props:{colorSeverity:c,variant:"filled"},style:{fontWeight:a.typography.fontWeightMedium,...a.vars?{color:a.vars.palette.Alert[`${c}FilledColor`],backgroundColor:a.vars.palette.Alert[`${c}FilledBg`]}:{backgroundColor:a.palette.mode==="dark"?a.palette[c].dark:a.palette[c].main,color:a.palette.getContrastText(a.palette[c].main)}}}))]}})),xm=ye("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(a,i)=>i.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),jm=ye("div",{name:"MuiAlert",slot:"Message",overridesResolver:(a,i)=>i.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),wm=ye("div",{name:"MuiAlert",slot:"Action",overridesResolver:(a,i)=>i.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Xs={success:V.jsx(Om,{fontSize:"inherit"}),warning:V.jsx(gm,{fontSize:"inherit"}),error:V.jsx(hm,{fontSize:"inherit"}),info:V.jsx(Sm,{fontSize:"inherit"})},bm=L.forwardRef(function(i,t){const c=jo({props:i,name:"MuiAlert"}),{action:l,children:f,className:m,closeText:I="Close",color:v,components:A={},componentsProps:O={},icon:p,iconMapping:J=Xs,onClose:g,role:M="alert",severity:R="success",slotProps:h={},slots:N={},variant:b="standard",...F}=c,Y={...c,color:v,severity:R,variant:b,colorSeverity:v||R},Z=Vm(Y),z={slots:{closeButton:A.CloseButton,closeIcon:A.CloseIcon,...N},slotProps:{...O,...h}},[ee,je]=ze("root",{ref:t,shouldForwardComponentProp:!0,className:fr(Z.root,m),elementType:Jm,externalForwardedProps:{...z,...F},ownerState:Y,additionalProps:{role:M,elevation:0}}),[Ie,de]=ze("icon",{className:Z.icon,elementType:xm,externalForwardedProps:z,ownerState:Y}),[_e,ke]=ze("message",{className:Z.message,elementType:jm,externalForwardedProps:z,ownerState:Y}),[we,be]=ze("action",{className:Z.action,elementType:wm,externalForwardedProps:z,ownerState:Y}),[Ue,Ee]=ze("closeButton",{elementType:fn,externalForwardedProps:z,ownerState:Y}),[H,ve]=ze("closeIcon",{elementType:um,externalForwardedProps:z,ownerState:Y});return V.jsxs(ee,{...je,children:[p!==!1?V.jsx(Ie,{...de,children:p||J[R]||Xs[R]}):null,V.jsx(_e,{...ke,children:f}),l!=null?V.jsx(we,{...be,children:l}):null,l==null&&g?V.jsx(we,{...be,children:V.jsx(Ue,{size:"small","aria-label":I,title:I,color:"inherit",onClick:g,...Ee,children:V.jsx(H,{fontSize:"small",...ve})})}):null]})}),Mm=fe(V.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Rm(a){return Mr("MuiAvatar",a)}yr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Nm=a=>{const{classes:i,variant:t,colorDefault:c}=a;return Rr({root:["root",t,c&&"colorDefault"],img:["img"],fallback:["fallback"]},Rm,i)},Cm=ye("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(a,i)=>{const{ownerState:t}=a;return[i.root,i[t.variant],t.colorDefault&&i.colorDefault]}})(mn(({theme:a})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:a.typography.fontFamily,fontSize:a.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(a.vars||a).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(a.vars||a).palette.background.default,...a.vars?{backgroundColor:a.vars.palette.Avatar.defaultBg}:{backgroundColor:a.palette.grey[400],...a.applyStyles("dark",{backgroundColor:a.palette.grey[600]})}}}]}))),Lm=ye("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(a,i)=>i.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Tm=ye(Mm,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(a,i)=>i.fallback})({width:"75%",height:"75%"});function Pm({crossOrigin:a,referrerPolicy:i,src:t,srcSet:c}){const[l,f]=L.useState(!1);return L.useEffect(()=>{if(!t&&!c)return;f(!1);let m=!0;const I=new Image;return I.onload=()=>{m&&f("loaded")},I.onerror=()=>{m&&f("error")},I.crossOrigin=a,I.referrerPolicy=i,I.src=t,c&&(I.srcset=c),()=>{m=!1}},[a,i,t,c]),l}const Dm=L.forwardRef(function(i,t){const c=jo({props:i,name:"MuiAvatar"}),{alt:l,children:f,className:m,component:I="div",slots:v={},slotProps:A={},imgProps:O,sizes:p,src:J,srcSet:g,variant:M="circular",...R}=c;let h=null;const N={...c,component:I,variant:M},b=Pm({...O,...typeof A.img=="function"?A.img(N):A.img,src:J,srcSet:g}),F=J||g,Y=F&&b!=="error";N.colorDefault=!Y,delete N.ownerState;const Z=Nm(N),[z,ee]=ze("img",{className:Z.img,elementType:Lm,externalForwardedProps:{slots:v,slotProps:{img:{...O,...A.img}}},additionalProps:{alt:l,src:J,srcSet:g,sizes:p},ownerState:N});return Y?h=V.jsx(z,{...ee}):f||f===0?h=f:F&&l?h=l[0]:h=V.jsx(Tm,{ownerState:N,className:Z.fallback}),V.jsx(Cm,{as:I,className:fr(Z.root,m),ref:t,...R,ownerState:N,children:h})}),km=yr("MuiBox",["root"]),Um=em(),xr=Am({themeId:_l,defaultTheme:Um,defaultClassName:km.root,generateClassName:Xl.generate}),_s=L.createContext();function Em(a){return Mr("MuiGrid",a)}const $m=[0,1,2,3,4,5,6,7,8,9,10],Bm=["column-reverse","column","row-reverse","row"],zm=["nowrap","wrap-reverse","wrap"],ir=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],lr=yr("MuiGrid",["root","container","item","zeroMinWidth",...$m.map(a=>`spacing-xs-${a}`),...Bm.map(a=>`direction-xs-${a}`),...zm.map(a=>`wrap-xs-${a}`),...ir.map(a=>`grid-xs-${a}`),...ir.map(a=>`grid-sm-${a}`),...ir.map(a=>`grid-md-${a}`),...ir.map(a=>`grid-lg-${a}`),...ir.map(a=>`grid-xl-${a}`)]);function qm({theme:a,ownerState:i}){let t;return a.breakpoints.keys.reduce((c,l)=>{let f={};if(i[l]&&(t=i[l]),!t)return c;if(t===!0)f={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")f={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const m=Nr({values:i.columns,breakpoints:a.breakpoints.values}),I=typeof m=="object"?m[l]:m;if(I==null)return c;const v=`${Math.round(t/I*1e8)/1e6}%`;let A={};if(i.container&&i.item&&i.columnSpacing!==0){const O=a.spacing(i.columnSpacing);if(O!=="0px"){const p=`calc(${v} + ${O})`;A={flexBasis:p,maxWidth:p}}}f={flexBasis:v,flexGrow:0,maxWidth:v,...A}}return a.breakpoints.values[l]===0?Object.assign(c,f):c[a.breakpoints.up(l)]=f,c},{})}function Fm({theme:a,ownerState:i}){const t=Nr({values:i.direction,breakpoints:a.breakpoints.values});return wo({theme:a},t,c=>{const l={flexDirection:c};return c.startsWith("column")&&(l[`& > .${lr.item}`]={maxWidth:"none"}),l})}function An({breakpoints:a,values:i}){let t="";Object.keys(i).forEach(l=>{t===""&&i[l]!==0&&(t=l)});const c=Object.keys(a).sort((l,f)=>a[l]-a[f]);return c.slice(0,c.indexOf(t))}function Ym({theme:a,ownerState:i}){const{container:t,rowSpacing:c}=i;let l={};if(t&&c!==0){const f=Nr({values:c,breakpoints:a.breakpoints.values});let m;typeof f=="object"&&(m=An({breakpoints:a.breakpoints.values,values:f})),l=wo({theme:a},f,(I,v)=>{const A=a.spacing(I);return A!=="0px"?{marginTop:`calc(-1 * ${A})`,[`& > .${lr.item}`]:{paddingTop:A}}:m!=null&&m.includes(v)?{}:{marginTop:0,[`& > .${lr.item}`]:{paddingTop:0}}})}return l}function Gm({theme:a,ownerState:i}){const{container:t,columnSpacing:c}=i;let l={};if(t&&c!==0){const f=Nr({values:c,breakpoints:a.breakpoints.values});let m;typeof f=="object"&&(m=An({breakpoints:a.breakpoints.values,values:f})),l=wo({theme:a},f,(I,v)=>{const A=a.spacing(I);if(A!=="0px"){const O=`calc(-1 * ${A})`;return{width:`calc(100% + ${A})`,marginLeft:O,[`& > .${lr.item}`]:{paddingLeft:A}}}return m!=null&&m.includes(v)?{}:{width:"100%",marginLeft:0,[`& > .${lr.item}`]:{paddingLeft:0}}})}return l}function Zm(a,i,t={}){if(!a||a<=0)return[];if(typeof a=="string"&&!Number.isNaN(Number(a))||typeof a=="number")return[t[`spacing-xs-${String(a)}`]];const c=[];return i.forEach(l=>{const f=a[l];Number(f)>0&&c.push(t[`spacing-${l}-${String(f)}`])}),c}const Hm=ye("div",{name:"MuiGrid",slot:"Root",overridesResolver:(a,i)=>{const{ownerState:t}=a,{container:c,direction:l,item:f,spacing:m,wrap:I,zeroMinWidth:v,breakpoints:A}=t;let O=[];c&&(O=Zm(m,A,i));const p=[];return A.forEach(J=>{const g=t[J];g&&p.push(i[`grid-${J}-${String(g)}`])}),[i.root,c&&i.container,f&&i.item,v&&i.zeroMinWidth,...O,l!=="row"&&i[`direction-xs-${String(l)}`],I!=="wrap"&&i[`wrap-xs-${String(I)}`],...p]}})(({ownerState:a})=>({boxSizing:"border-box",...a.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...a.item&&{margin:0},...a.zeroMinWidth&&{minWidth:0},...a.wrap!=="wrap"&&{flexWrap:a.wrap}}),Fm,Ym,Gm,qm);function Wm(a,i){if(!a||a<=0)return[];if(typeof a=="string"&&!Number.isNaN(Number(a))||typeof a=="number")return[`spacing-xs-${String(a)}`];const t=[];return i.forEach(c=>{const l=a[c];if(Number(l)>0){const f=`spacing-${c}-${String(l)}`;t.push(f)}}),t}const Qm=a=>{const{classes:i,container:t,direction:c,item:l,spacing:f,wrap:m,zeroMinWidth:I,breakpoints:v}=a;let A=[];t&&(A=Wm(f,v));const O=[];v.forEach(J=>{const g=a[J];g&&O.push(`grid-${J}-${String(g)}`)});const p={root:["root",t&&"container",l&&"item",I&&"zeroMinWidth",...A,c!=="row"&&`direction-xs-${String(c)}`,m!=="wrap"&&`wrap-xs-${String(m)}`,...O]};return Rr(p,Em,i)},Oo=L.forwardRef(function(i,t){const c=jo({props:i,name:"MuiGrid"}),{breakpoints:l}=Xe(),f=ln(c),{className:m,columns:I,columnSpacing:v,component:A="div",container:O=!1,direction:p="row",item:J=!1,rowSpacing:g,spacing:M=0,wrap:R="wrap",zeroMinWidth:h=!1,...N}=f,b=g||M,F=v||M,Y=L.useContext(_s),Z=O?I||12:Y,z={},ee={...N};l.keys.forEach(de=>{N[de]!=null&&(z[de]=N[de],delete ee[de])});const je={...f,columns:Z,container:O,direction:p,item:J,rowSpacing:b,columnSpacing:F,wrap:R,zeroMinWidth:h,spacing:M,...z,breakpoints:l.keys},Ie=Qm(je);return V.jsx(_s.Provider,{value:Z,children:V.jsx(Hm,{ownerState:je,className:fr(Ie.root,m),as:A,ref:t,...ee})})}),Te=["xs","sm","md","lg","xl"],Km=(a,i,t=!0)=>t?Te.indexOf(a)<=Te.indexOf(i):Te.indexOf(a)<Te.indexOf(i),Xm=(a,i,t=!1)=>t?Te.indexOf(i)<=Te.indexOf(a):Te.indexOf(i)<Te.indexOf(a),_m=(a={})=>i=>{const{withTheme:t=!1,noSSR:c=!1,initialWidth:l}=a;function f(m){const I=Xe(),v=m.theme||I,{initialWidth:A,width:O,...p}=om({theme:v,name:"MuiWithWidth",props:m}),[J,g]=L.useState(!1);rm(()=>{g(!0)},[]);const R=v.breakpoints.keys.slice().reverse().reduce((N,b)=>{const F=tr(v.breakpoints.up(b));return!N&&F?b:N},null),h={width:O||(J||c?R:void 0)||A||l,...t?{theme:v}:{},...p};return h.width===void 0?null:V.jsx(i,{...h})}return f};function pn(a){const{children:i,only:t,width:c}=a,l=Xe();let f=!0;if(t)if(Array.isArray(t))for(let m=0;m<t.length;m+=1){const I=t[m];if(c===I){f=!1;break}}else t&&c===t&&(f=!1);if(f)for(let m=0;m<l.breakpoints.keys.length;m+=1){const I=l.breakpoints.keys[m],v=a[`${I}Up`],A=a[`${I}Down`];if(v&&Km(I,c)||A&&Xm(I,c)){f=!1;break}}return f?i:null}pn.propTypes={children:x.node,lgDown:x.bool,lgUp:x.bool,mdDown:x.bool,mdUp:x.bool,only:x.oneOfType([x.oneOf(["xs","sm","md","lg","xl"]),x.arrayOf(x.oneOf(["xs","sm","md","lg","xl"]))]),smDown:x.bool,smUp:x.bool,width:x.string.isRequired,xlDown:x.bool,xlUp:x.bool,xsDown:x.bool,xsUp:x.bool};const ef=_m()(pn);function rf(a){return Mr("PrivateHiddenCss",a)}yr("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const of=a=>{const{classes:i,breakpoints:t}=a,c={root:["root",...t.map(({breakpoint:l,dir:f})=>f==="only"?`${f}${cr(l)}`:`${l}${cr(f)}`)]};return Rr(c,rf,i)},sf=ye("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:a,ownerState:i})=>{const t={display:"none"};return{...i.breakpoints.map(({breakpoint:c,dir:l})=>l==="only"?{[a.breakpoints.only(c)]:t}:l==="up"?{[a.breakpoints.up(c)]:t}:{[a.breakpoints.down(c)]:t}).reduce((c,l)=>(Object.keys(l).forEach(f=>{c[f]=l[f]}),c),{})}});function nf(a){const{children:i,className:t,only:c,...l}=a,f=Xe(),m=[];for(let A=0;A<f.breakpoints.keys.length;A+=1){const O=f.breakpoints.keys[A],p=l[`${O}Up`],J=l[`${O}Down`];p&&m.push({breakpoint:O,dir:"up"}),J&&m.push({breakpoint:O,dir:"down"})}c&&(Array.isArray(c)?c:[c]).forEach(O=>{m.push({breakpoint:O,dir:"only"})});const I={...a,breakpoints:m},v=of(I);return V.jsx(sf,{className:fr(v.root,t),ownerState:I,children:i})}function en(a){const{implementation:i="js",lgDown:t=!1,lgUp:c=!1,mdDown:l=!1,mdUp:f=!1,smDown:m=!1,smUp:I=!1,xlDown:v=!1,xlUp:A=!1,xsDown:O=!1,xsUp:p=!1,...J}=a;return i==="js"?V.jsx(ef,{lgDown:t,lgUp:c,mdDown:l,mdUp:f,smDown:m,smUp:I,xlDown:v,xlUp:A,xsDown:O,xsUp:p,...J}):V.jsx(nf,{lgDown:t,lgUp:c,mdDown:l,mdUp:f,smDown:m,smUp:I,xlDown:v,xlUp:A,xsDown:O,xsUp:p,...J})}/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function On(a){return typeof a>"u"||a===null}function af(a){return typeof a=="object"&&a!==null}function df(a){return Array.isArray(a)?a:On(a)?[]:[a]}function tf(a,i){var t,c,l,f;if(i)for(f=Object.keys(i),t=0,c=f.length;t<c;t+=1)l=f[t],a[l]=i[l];return a}function cf(a,i){var t="",c;for(c=0;c<i;c+=1)t+=a;return t}function lf(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}var mf=On,ff=af,yf=df,If=cf,vf=lf,Af=tf,W={isNothing:mf,isObject:ff,toArray:yf,repeat:If,isNegativeZero:vf,extend:Af};function gn(a,i){var t="",c=a.reason||"(unknown reason)";return a.mark?(a.mark.name&&(t+='in "'+a.mark.name+'" '),t+="("+(a.mark.line+1)+":"+(a.mark.column+1)+")",!i&&a.mark.snippet&&(t+=`
|
|
2
|
+
|
|
3
|
+
`+a.mark.snippet),c+" "+t):c}function mr(a,i){Error.call(this),this.name="YAMLException",this.reason=a,this.mark=i,this.message=gn(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}mr.prototype=Object.create(Error.prototype);mr.prototype.constructor=mr;mr.prototype.toString=function(i){return this.name+": "+gn(this,i)};var xe=mr;function go(a,i,t,c,l){var f="",m="",I=Math.floor(l/2)-1;return c-i>I&&(f=" ... ",i=c-I+f.length),t-c>I&&(m=" ...",t=c+I-m.length),{str:f+a.slice(i,t).replace(/\t/g,"→")+m,pos:c-i+f.length}}function ho(a,i){return W.repeat(" ",i-a.length)+a}function pf(a,i){if(i=Object.create(i||null),!a.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);for(var t=/\r?\n|\r|\0/g,c=[0],l=[],f,m=-1;f=t.exec(a.buffer);)l.push(f.index),c.push(f.index+f[0].length),a.position<=f.index&&m<0&&(m=c.length-2);m<0&&(m=c.length-1);var I="",v,A,O=Math.min(a.line+i.linesAfter,l.length).toString().length,p=i.maxLength-(i.indent+O+3);for(v=1;v<=i.linesBefore&&!(m-v<0);v++)A=go(a.buffer,c[m-v],l[m-v],a.position-(c[m]-c[m-v]),p),I=W.repeat(" ",i.indent)+ho((a.line-v+1).toString(),O)+" | "+A.str+`
|
|
4
|
+
`+I;for(A=go(a.buffer,c[m],l[m],a.position,p),I+=W.repeat(" ",i.indent)+ho((a.line+1).toString(),O)+" | "+A.str+`
|
|
5
|
+
`,I+=W.repeat("-",i.indent+O+3+A.pos)+`^
|
|
6
|
+
`,v=1;v<=i.linesAfter&&!(m+v>=l.length);v++)A=go(a.buffer,c[m+v],l[m+v],a.position-(c[m]-c[m+v]),p),I+=W.repeat(" ",i.indent)+ho((a.line+v+1).toString(),O)+" | "+A.str+`
|
|
7
|
+
`;return I.replace(/\n$/,"")}var Of=pf,gf=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hf=["scalar","sequence","mapping"];function Sf(a){var i={};return a!==null&&Object.keys(a).forEach(function(t){a[t].forEach(function(c){i[String(c)]=t})}),i}function uf(a,i){if(i=i||{},Object.keys(i).forEach(function(t){if(gf.indexOf(t)===-1)throw new xe('Unknown option "'+t+'" is met in definition of "'+a+'" YAML type.')}),this.options=i,this.tag=a,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(t){return t},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=Sf(i.styleAliases||null),hf.indexOf(this.kind)===-1)throw new xe('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}var G=uf;function rn(a,i){var t=[];return a[i].forEach(function(c){var l=t.length;t.forEach(function(f,m){f.tag===c.tag&&f.kind===c.kind&&f.multi===c.multi&&(l=m)}),t[l]=c}),t}function Vf(){var a={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},i,t;function c(l){l.multi?(a.multi[l.kind].push(l),a.multi.fallback.push(l)):a[l.kind][l.tag]=a.fallback[l.tag]=l}for(i=0,t=arguments.length;i<t;i+=1)arguments[i].forEach(c);return a}function xo(a){return this.extend(a)}xo.prototype.extend=function(i){var t=[],c=[];if(i instanceof G)c.push(i);else if(Array.isArray(i))c=c.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(t=t.concat(i.implicit)),i.explicit&&(c=c.concat(i.explicit));else throw new xe("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(f){if(!(f instanceof G))throw new xe("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(f.loadKind&&f.loadKind!=="scalar")throw new xe("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(f.multi)throw new xe("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(f){if(!(f instanceof G))throw new xe("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(xo.prototype);return l.implicit=(this.implicit||[]).concat(t),l.explicit=(this.explicit||[]).concat(c),l.compiledImplicit=rn(l,"implicit"),l.compiledExplicit=rn(l,"explicit"),l.compiledTypeMap=Vf(l.compiledImplicit,l.compiledExplicit),l};var Jf=xo,xf=new G("tag:yaml.org,2002:str",{kind:"scalar",construct:function(a){return a!==null?a:""}}),jf=new G("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(a){return a!==null?a:[]}}),wf=new G("tag:yaml.org,2002:map",{kind:"mapping",construct:function(a){return a!==null?a:{}}}),bf=new Jf({explicit:[xf,jf,wf]});function Mf(a){if(a===null)return!0;var i=a.length;return i===1&&a==="~"||i===4&&(a==="null"||a==="Null"||a==="NULL")}function Rf(){return null}function Nf(a){return a===null}var Cf=new G("tag:yaml.org,2002:null",{kind:"scalar",resolve:Mf,construct:Rf,predicate:Nf,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Lf(a){if(a===null)return!1;var i=a.length;return i===4&&(a==="true"||a==="True"||a==="TRUE")||i===5&&(a==="false"||a==="False"||a==="FALSE")}function Tf(a){return a==="true"||a==="True"||a==="TRUE"}function Pf(a){return Object.prototype.toString.call(a)==="[object Boolean]"}var Df=new G("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Lf,construct:Tf,predicate:Pf,represent:{lowercase:function(a){return a?"true":"false"},uppercase:function(a){return a?"TRUE":"FALSE"},camelcase:function(a){return a?"True":"False"}},defaultStyle:"lowercase"});function kf(a){return 48<=a&&a<=57||65<=a&&a<=70||97<=a&&a<=102}function Uf(a){return 48<=a&&a<=55}function Ef(a){return 48<=a&&a<=57}function $f(a){if(a===null)return!1;var i=a.length,t=0,c=!1,l;if(!i)return!1;if(l=a[t],(l==="-"||l==="+")&&(l=a[++t]),l==="0"){if(t+1===i)return!0;if(l=a[++t],l==="b"){for(t++;t<i;t++)if(l=a[t],l!=="_"){if(l!=="0"&&l!=="1")return!1;c=!0}return c&&l!=="_"}if(l==="x"){for(t++;t<i;t++)if(l=a[t],l!=="_"){if(!kf(a.charCodeAt(t)))return!1;c=!0}return c&&l!=="_"}if(l==="o"){for(t++;t<i;t++)if(l=a[t],l!=="_"){if(!Uf(a.charCodeAt(t)))return!1;c=!0}return c&&l!=="_"}}if(l==="_")return!1;for(;t<i;t++)if(l=a[t],l!=="_"){if(!Ef(a.charCodeAt(t)))return!1;c=!0}return!(!c||l==="_")}function Bf(a){var i=a,t=1,c;if(i.indexOf("_")!==-1&&(i=i.replace(/_/g,"")),c=i[0],(c==="-"||c==="+")&&(c==="-"&&(t=-1),i=i.slice(1),c=i[0]),i==="0")return 0;if(c==="0"){if(i[1]==="b")return t*parseInt(i.slice(2),2);if(i[1]==="x")return t*parseInt(i.slice(2),16);if(i[1]==="o")return t*parseInt(i.slice(2),8)}return t*parseInt(i,10)}function zf(a){return Object.prototype.toString.call(a)==="[object Number]"&&a%1===0&&!W.isNegativeZero(a)}var qf=new G("tag:yaml.org,2002:int",{kind:"scalar",resolve:$f,construct:Bf,predicate:zf,represent:{binary:function(a){return a>=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0o"+a.toString(8):"-0o"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ff=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Yf(a){return!(a===null||!Ff.test(a)||a[a.length-1]==="_")}function Gf(a){var i,t;return i=a.replace(/_/g,"").toLowerCase(),t=i[0]==="-"?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),i===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:i===".nan"?NaN:t*parseFloat(i,10)}var Zf=/^[-+]?[0-9]+e/;function Hf(a,i){var t;if(isNaN(a))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(W.isNegativeZero(a))return"-0.0";return t=a.toString(10),Zf.test(t)?t.replace("e",".e"):t}function Wf(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!==0||W.isNegativeZero(a))}var Qf=new G("tag:yaml.org,2002:float",{kind:"scalar",resolve:Yf,construct:Gf,predicate:Wf,represent:Hf,defaultStyle:"lowercase"}),Kf=bf.extend({implicit:[Cf,Df,qf,Qf]}),Xf=Kf,hn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Sn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function _f(a){return a===null?!1:hn.exec(a)!==null||Sn.exec(a)!==null}function ey(a){var i,t,c,l,f,m,I,v=0,A=null,O,p,J;if(i=hn.exec(a),i===null&&(i=Sn.exec(a)),i===null)throw new Error("Date resolve error");if(t=+i[1],c=+i[2]-1,l=+i[3],!i[4])return new Date(Date.UTC(t,c,l));if(f=+i[4],m=+i[5],I=+i[6],i[7]){for(v=i[7].slice(0,3);v.length<3;)v+="0";v=+v}return i[9]&&(O=+i[10],p=+(i[11]||0),A=(O*60+p)*6e4,i[9]==="-"&&(A=-A)),J=new Date(Date.UTC(t,c,l,f,m,I,v)),A&&J.setTime(J.getTime()-A),J}function ry(a){return a.toISOString()}var oy=new G("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:_f,construct:ey,instanceOf:Date,represent:ry});function sy(a){return a==="<<"||a===null}var ny=new G("tag:yaml.org,2002:merge",{kind:"scalar",resolve:sy}),bo=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
8
|
+
\r`;function ay(a){if(a===null)return!1;var i,t,c=0,l=a.length,f=bo;for(t=0;t<l;t++)if(i=f.indexOf(a.charAt(t)),!(i>64)){if(i<0)return!1;c+=6}return c%8===0}function dy(a){var i,t,c=a.replace(/[\r\n=]/g,""),l=c.length,f=bo,m=0,I=[];for(i=0;i<l;i++)i%4===0&&i&&(I.push(m>>16&255),I.push(m>>8&255),I.push(m&255)),m=m<<6|f.indexOf(c.charAt(i));return t=l%4*6,t===0?(I.push(m>>16&255),I.push(m>>8&255),I.push(m&255)):t===18?(I.push(m>>10&255),I.push(m>>2&255)):t===12&&I.push(m>>4&255),new Uint8Array(I)}function iy(a){var i="",t=0,c,l,f=a.length,m=bo;for(c=0;c<f;c++)c%3===0&&c&&(i+=m[t>>18&63],i+=m[t>>12&63],i+=m[t>>6&63],i+=m[t&63]),t=(t<<8)+a[c];return l=f%3,l===0?(i+=m[t>>18&63],i+=m[t>>12&63],i+=m[t>>6&63],i+=m[t&63]):l===2?(i+=m[t>>10&63],i+=m[t>>4&63],i+=m[t<<2&63],i+=m[64]):l===1&&(i+=m[t>>2&63],i+=m[t<<4&63],i+=m[64],i+=m[64]),i}function ty(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}var cy=new G("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ay,construct:dy,predicate:ty,represent:iy}),ly=Object.prototype.hasOwnProperty,my=Object.prototype.toString;function fy(a){if(a===null)return!0;var i=[],t,c,l,f,m,I=a;for(t=0,c=I.length;t<c;t+=1){if(l=I[t],m=!1,my.call(l)!=="[object Object]")return!1;for(f in l)if(ly.call(l,f))if(!m)m=!0;else return!1;if(!m)return!1;if(i.indexOf(f)===-1)i.push(f);else return!1}return!0}function yy(a){return a!==null?a:[]}var Iy=new G("tag:yaml.org,2002:omap",{kind:"sequence",resolve:fy,construct:yy}),vy=Object.prototype.toString;function Ay(a){if(a===null)return!0;var i,t,c,l,f,m=a;for(f=new Array(m.length),i=0,t=m.length;i<t;i+=1){if(c=m[i],vy.call(c)!=="[object Object]"||(l=Object.keys(c),l.length!==1))return!1;f[i]=[l[0],c[l[0]]]}return!0}function py(a){if(a===null)return[];var i,t,c,l,f,m=a;for(f=new Array(m.length),i=0,t=m.length;i<t;i+=1)c=m[i],l=Object.keys(c),f[i]=[l[0],c[l[0]]];return f}var Oy=new G("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Ay,construct:py}),gy=Object.prototype.hasOwnProperty;function hy(a){if(a===null)return!0;var i,t=a;for(i in t)if(gy.call(t,i)&&t[i]!==null)return!1;return!0}function Sy(a){return a!==null?a:{}}var uy=new G("tag:yaml.org,2002:set",{kind:"mapping",resolve:hy,construct:Sy}),Vy=Xf.extend({implicit:[oy,ny],explicit:[cy,Iy,Oy,uy]}),De=Object.prototype.hasOwnProperty,jr=1,un=2,Vn=3,wr=4,So=1,Jy=2,on=3,xy=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,jy=/[\x85\u2028\u2029]/,wy=/[,\[\]\{\}]/,Jn=/^(?:!|!!|![a-z\-]+!)$/i,xn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function sn(a){return Object.prototype.toString.call(a)}function me(a){return a===10||a===13}function qe(a){return a===9||a===32}function Q(a){return a===9||a===32||a===10||a===13}function We(a){return a===44||a===91||a===93||a===123||a===125}function by(a){var i;return 48<=a&&a<=57?a-48:(i=a|32,97<=i&&i<=102?i-97+10:-1)}function My(a){return a===120?2:a===117?4:a===85?8:0}function Ry(a){return 48<=a&&a<=57?a-48:-1}function nn(a){return a===48?"\0":a===97?"\x07":a===98?"\b":a===116||a===9?" ":a===110?`
|
|
9
|
+
`:a===118?"\v":a===102?"\f":a===114?"\r":a===101?"\x1B":a===32?" ":a===34?'"':a===47?"/":a===92?"\\":a===78?"
":a===95?" ":a===76?"\u2028":a===80?"\u2029":""}function Ny(a){return a<=65535?String.fromCharCode(a):String.fromCharCode((a-65536>>10)+55296,(a-65536&1023)+56320)}function jn(a,i,t){i==="__proto__"?Object.defineProperty(a,i,{configurable:!0,enumerable:!0,writable:!0,value:t}):a[i]=t}var wn=new Array(256),bn=new Array(256);for(var He=0;He<256;He++)wn[He]=nn(He)?1:0,bn[He]=nn(He);function Cy(a,i){this.input=a,this.filename=i.filename||null,this.schema=i.schema||Vy,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=a.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Mn(a,i){var t={name:a.filename,buffer:a.input.slice(0,-1),position:a.position,line:a.line,column:a.position-a.lineStart};return t.snippet=Of(t),new xe(i,t)}function u(a,i){throw Mn(a,i)}function br(a,i){a.onWarning&&a.onWarning.call(null,Mn(a,i))}var an={YAML:function(i,t,c){var l,f,m;i.version!==null&&u(i,"duplication of %YAML directive"),c.length!==1&&u(i,"YAML directive accepts exactly one argument"),l=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),l===null&&u(i,"ill-formed argument of the YAML directive"),f=parseInt(l[1],10),m=parseInt(l[2],10),f!==1&&u(i,"unacceptable YAML version of the document"),i.version=c[0],i.checkLineBreaks=m<2,m!==1&&m!==2&&br(i,"unsupported YAML version of the document")},TAG:function(i,t,c){var l,f;c.length!==2&&u(i,"TAG directive accepts exactly two arguments"),l=c[0],f=c[1],Jn.test(l)||u(i,"ill-formed tag handle (first argument) of the TAG directive"),De.call(i.tagMap,l)&&u(i,'there is a previously declared suffix for "'+l+'" tag handle'),xn.test(f)||u(i,"ill-formed tag prefix (second argument) of the TAG directive");try{f=decodeURIComponent(f)}catch{u(i,"tag prefix is malformed: "+f)}i.tagMap[l]=f}};function Pe(a,i,t,c){var l,f,m,I;if(i<t){if(I=a.input.slice(i,t),c)for(l=0,f=I.length;l<f;l+=1)m=I.charCodeAt(l),m===9||32<=m&&m<=1114111||u(a,"expected valid JSON character");else xy.test(I)&&u(a,"the stream contains non-printable characters");a.result+=I}}function dn(a,i,t,c){var l,f,m,I;for(W.isObject(t)||u(a,"cannot merge mappings; the provided source object is unacceptable"),l=Object.keys(t),m=0,I=l.length;m<I;m+=1)f=l[m],De.call(i,f)||(jn(i,f,t[f]),c[f]=!0)}function Qe(a,i,t,c,l,f,m,I,v){var A,O;if(Array.isArray(l))for(l=Array.prototype.slice.call(l),A=0,O=l.length;A<O;A+=1)Array.isArray(l[A])&&u(a,"nested arrays are not supported inside keys"),typeof l=="object"&&sn(l[A])==="[object Object]"&&(l[A]="[object Object]");if(typeof l=="object"&&sn(l)==="[object Object]"&&(l="[object Object]"),l=String(l),i===null&&(i={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(f))for(A=0,O=f.length;A<O;A+=1)dn(a,i,f[A],t);else dn(a,i,f,t);else!a.json&&!De.call(t,l)&&De.call(i,l)&&(a.line=m||a.line,a.lineStart=I||a.lineStart,a.position=v||a.position,u(a,"duplicated mapping key")),jn(i,l,f),delete t[l];return i}function Mo(a){var i;i=a.input.charCodeAt(a.position),i===10?a.position++:i===13?(a.position++,a.input.charCodeAt(a.position)===10&&a.position++):u(a,"a line break is expected"),a.line+=1,a.lineStart=a.position,a.firstTabInLine=-1}function B(a,i,t){for(var c=0,l=a.input.charCodeAt(a.position);l!==0;){for(;qe(l);)l===9&&a.firstTabInLine===-1&&(a.firstTabInLine=a.position),l=a.input.charCodeAt(++a.position);if(i&&l===35)do l=a.input.charCodeAt(++a.position);while(l!==10&&l!==13&&l!==0);if(me(l))for(Mo(a),l=a.input.charCodeAt(a.position),c++,a.lineIndent=0;l===32;)a.lineIndent++,l=a.input.charCodeAt(++a.position);else break}return t!==-1&&c!==0&&a.lineIndent<t&&br(a,"deficient indentation"),c}function Cr(a){var i=a.position,t;return t=a.input.charCodeAt(i),!!((t===45||t===46)&&t===a.input.charCodeAt(i+1)&&t===a.input.charCodeAt(i+2)&&(i+=3,t=a.input.charCodeAt(i),t===0||Q(t)))}function Ro(a,i){i===1?a.result+=" ":i>1&&(a.result+=W.repeat(`
|
|
10
|
+
`,i-1))}function Ly(a,i,t){var c,l,f,m,I,v,A,O,p=a.kind,J=a.result,g;if(g=a.input.charCodeAt(a.position),Q(g)||We(g)||g===35||g===38||g===42||g===33||g===124||g===62||g===39||g===34||g===37||g===64||g===96||(g===63||g===45)&&(l=a.input.charCodeAt(a.position+1),Q(l)||t&&We(l)))return!1;for(a.kind="scalar",a.result="",f=m=a.position,I=!1;g!==0;){if(g===58){if(l=a.input.charCodeAt(a.position+1),Q(l)||t&&We(l))break}else if(g===35){if(c=a.input.charCodeAt(a.position-1),Q(c))break}else{if(a.position===a.lineStart&&Cr(a)||t&&We(g))break;if(me(g))if(v=a.line,A=a.lineStart,O=a.lineIndent,B(a,!1,-1),a.lineIndent>=i){I=!0,g=a.input.charCodeAt(a.position);continue}else{a.position=m,a.line=v,a.lineStart=A,a.lineIndent=O;break}}I&&(Pe(a,f,m,!1),Ro(a,a.line-v),f=m=a.position,I=!1),qe(g)||(m=a.position+1),g=a.input.charCodeAt(++a.position)}return Pe(a,f,m,!1),a.result?!0:(a.kind=p,a.result=J,!1)}function Ty(a,i){var t,c,l;if(t=a.input.charCodeAt(a.position),t!==39)return!1;for(a.kind="scalar",a.result="",a.position++,c=l=a.position;(t=a.input.charCodeAt(a.position))!==0;)if(t===39)if(Pe(a,c,a.position,!0),t=a.input.charCodeAt(++a.position),t===39)c=a.position,a.position++,l=a.position;else return!0;else me(t)?(Pe(a,c,l,!0),Ro(a,B(a,!1,i)),c=l=a.position):a.position===a.lineStart&&Cr(a)?u(a,"unexpected end of the document within a single quoted scalar"):(a.position++,l=a.position);u(a,"unexpected end of the stream within a single quoted scalar")}function Py(a,i){var t,c,l,f,m,I;if(I=a.input.charCodeAt(a.position),I!==34)return!1;for(a.kind="scalar",a.result="",a.position++,t=c=a.position;(I=a.input.charCodeAt(a.position))!==0;){if(I===34)return Pe(a,t,a.position,!0),a.position++,!0;if(I===92){if(Pe(a,t,a.position,!0),I=a.input.charCodeAt(++a.position),me(I))B(a,!1,i);else if(I<256&&wn[I])a.result+=bn[I],a.position++;else if((m=My(I))>0){for(l=m,f=0;l>0;l--)I=a.input.charCodeAt(++a.position),(m=by(I))>=0?f=(f<<4)+m:u(a,"expected hexadecimal character");a.result+=Ny(f),a.position++}else u(a,"unknown escape sequence");t=c=a.position}else me(I)?(Pe(a,t,c,!0),Ro(a,B(a,!1,i)),t=c=a.position):a.position===a.lineStart&&Cr(a)?u(a,"unexpected end of the document within a double quoted scalar"):(a.position++,c=a.position)}u(a,"unexpected end of the stream within a double quoted scalar")}function Dy(a,i){var t=!0,c,l,f,m=a.tag,I,v=a.anchor,A,O,p,J,g,M=Object.create(null),R,h,N,b;if(b=a.input.charCodeAt(a.position),b===91)O=93,g=!1,I=[];else if(b===123)O=125,g=!0,I={};else return!1;for(a.anchor!==null&&(a.anchorMap[a.anchor]=I),b=a.input.charCodeAt(++a.position);b!==0;){if(B(a,!0,i),b=a.input.charCodeAt(a.position),b===O)return a.position++,a.tag=m,a.anchor=v,a.kind=g?"mapping":"sequence",a.result=I,!0;t?b===44&&u(a,"expected the node content, but found ','"):u(a,"missed comma between flow collection entries"),h=R=N=null,p=J=!1,b===63&&(A=a.input.charCodeAt(a.position+1),Q(A)&&(p=J=!0,a.position++,B(a,!0,i))),c=a.line,l=a.lineStart,f=a.position,Ke(a,i,jr,!1,!0),h=a.tag,R=a.result,B(a,!0,i),b=a.input.charCodeAt(a.position),(J||a.line===c)&&b===58&&(p=!0,b=a.input.charCodeAt(++a.position),B(a,!0,i),Ke(a,i,jr,!1,!0),N=a.result),g?Qe(a,I,M,h,R,N,c,l,f):p?I.push(Qe(a,null,M,h,R,N,c,l,f)):I.push(R),B(a,!0,i),b=a.input.charCodeAt(a.position),b===44?(t=!0,b=a.input.charCodeAt(++a.position)):t=!1}u(a,"unexpected end of the stream within a flow collection")}function ky(a,i){var t,c,l=So,f=!1,m=!1,I=i,v=0,A=!1,O,p;if(p=a.input.charCodeAt(a.position),p===124)c=!1;else if(p===62)c=!0;else return!1;for(a.kind="scalar",a.result="";p!==0;)if(p=a.input.charCodeAt(++a.position),p===43||p===45)So===l?l=p===43?on:Jy:u(a,"repeat of a chomping mode identifier");else if((O=Ry(p))>=0)O===0?u(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):m?u(a,"repeat of an indentation width identifier"):(I=i+O-1,m=!0);else break;if(qe(p)){do p=a.input.charCodeAt(++a.position);while(qe(p));if(p===35)do p=a.input.charCodeAt(++a.position);while(!me(p)&&p!==0)}for(;p!==0;){for(Mo(a),a.lineIndent=0,p=a.input.charCodeAt(a.position);(!m||a.lineIndent<I)&&p===32;)a.lineIndent++,p=a.input.charCodeAt(++a.position);if(!m&&a.lineIndent>I&&(I=a.lineIndent),me(p)){v++;continue}if(a.lineIndent<I){l===on?a.result+=W.repeat(`
|
|
11
|
+
`,f?1+v:v):l===So&&f&&(a.result+=`
|
|
12
|
+
`);break}for(c?qe(p)?(A=!0,a.result+=W.repeat(`
|
|
13
|
+
`,f?1+v:v)):A?(A=!1,a.result+=W.repeat(`
|
|
14
|
+
`,v+1)):v===0?f&&(a.result+=" "):a.result+=W.repeat(`
|
|
15
|
+
`,v):a.result+=W.repeat(`
|
|
16
|
+
`,f?1+v:v),f=!0,m=!0,v=0,t=a.position;!me(p)&&p!==0;)p=a.input.charCodeAt(++a.position);Pe(a,t,a.position,!1)}return!0}function tn(a,i){var t,c=a.tag,l=a.anchor,f=[],m,I=!1,v;if(a.firstTabInLine!==-1)return!1;for(a.anchor!==null&&(a.anchorMap[a.anchor]=f),v=a.input.charCodeAt(a.position);v!==0&&(a.firstTabInLine!==-1&&(a.position=a.firstTabInLine,u(a,"tab characters must not be used in indentation")),!(v!==45||(m=a.input.charCodeAt(a.position+1),!Q(m))));){if(I=!0,a.position++,B(a,!0,-1)&&a.lineIndent<=i){f.push(null),v=a.input.charCodeAt(a.position);continue}if(t=a.line,Ke(a,i,Vn,!1,!0),f.push(a.result),B(a,!0,-1),v=a.input.charCodeAt(a.position),(a.line===t||a.lineIndent>i)&&v!==0)u(a,"bad indentation of a sequence entry");else if(a.lineIndent<i)break}return I?(a.tag=c,a.anchor=l,a.kind="sequence",a.result=f,!0):!1}function Uy(a,i,t){var c,l,f,m,I,v,A=a.tag,O=a.anchor,p={},J=Object.create(null),g=null,M=null,R=null,h=!1,N=!1,b;if(a.firstTabInLine!==-1)return!1;for(a.anchor!==null&&(a.anchorMap[a.anchor]=p),b=a.input.charCodeAt(a.position);b!==0;){if(!h&&a.firstTabInLine!==-1&&(a.position=a.firstTabInLine,u(a,"tab characters must not be used in indentation")),c=a.input.charCodeAt(a.position+1),f=a.line,(b===63||b===58)&&Q(c))b===63?(h&&(Qe(a,p,J,g,M,null,m,I,v),g=M=R=null),N=!0,h=!0,l=!0):h?(h=!1,l=!0):u(a,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),a.position+=1,b=c;else{if(m=a.line,I=a.lineStart,v=a.position,!Ke(a,t,un,!1,!0))break;if(a.line===f){for(b=a.input.charCodeAt(a.position);qe(b);)b=a.input.charCodeAt(++a.position);if(b===58)b=a.input.charCodeAt(++a.position),Q(b)||u(a,"a whitespace character is expected after the key-value separator within a block mapping"),h&&(Qe(a,p,J,g,M,null,m,I,v),g=M=R=null),N=!0,h=!1,l=!1,g=a.tag,M=a.result;else if(N)u(a,"can not read an implicit mapping pair; a colon is missed");else return a.tag=A,a.anchor=O,!0}else if(N)u(a,"can not read a block mapping entry; a multiline key may not be an implicit key");else return a.tag=A,a.anchor=O,!0}if((a.line===f||a.lineIndent>i)&&(h&&(m=a.line,I=a.lineStart,v=a.position),Ke(a,i,wr,!0,l)&&(h?M=a.result:R=a.result),h||(Qe(a,p,J,g,M,R,m,I,v),g=M=R=null),B(a,!0,-1),b=a.input.charCodeAt(a.position)),(a.line===f||a.lineIndent>i)&&b!==0)u(a,"bad indentation of a mapping entry");else if(a.lineIndent<i)break}return h&&Qe(a,p,J,g,M,null,m,I,v),N&&(a.tag=A,a.anchor=O,a.kind="mapping",a.result=p),N}function Ey(a){var i,t=!1,c=!1,l,f,m;if(m=a.input.charCodeAt(a.position),m!==33)return!1;if(a.tag!==null&&u(a,"duplication of a tag property"),m=a.input.charCodeAt(++a.position),m===60?(t=!0,m=a.input.charCodeAt(++a.position)):m===33?(c=!0,l="!!",m=a.input.charCodeAt(++a.position)):l="!",i=a.position,t){do m=a.input.charCodeAt(++a.position);while(m!==0&&m!==62);a.position<a.length?(f=a.input.slice(i,a.position),m=a.input.charCodeAt(++a.position)):u(a,"unexpected end of the stream within a verbatim tag")}else{for(;m!==0&&!Q(m);)m===33&&(c?u(a,"tag suffix cannot contain exclamation marks"):(l=a.input.slice(i-1,a.position+1),Jn.test(l)||u(a,"named tag handle cannot contain such characters"),c=!0,i=a.position+1)),m=a.input.charCodeAt(++a.position);f=a.input.slice(i,a.position),wy.test(f)&&u(a,"tag suffix cannot contain flow indicator characters")}f&&!xn.test(f)&&u(a,"tag name cannot contain such characters: "+f);try{f=decodeURIComponent(f)}catch{u(a,"tag name is malformed: "+f)}return t?a.tag=f:De.call(a.tagMap,l)?a.tag=a.tagMap[l]+f:l==="!"?a.tag="!"+f:l==="!!"?a.tag="tag:yaml.org,2002:"+f:u(a,'undeclared tag handle "'+l+'"'),!0}function $y(a){var i,t;if(t=a.input.charCodeAt(a.position),t!==38)return!1;for(a.anchor!==null&&u(a,"duplication of an anchor property"),t=a.input.charCodeAt(++a.position),i=a.position;t!==0&&!Q(t)&&!We(t);)t=a.input.charCodeAt(++a.position);return a.position===i&&u(a,"name of an anchor node must contain at least one character"),a.anchor=a.input.slice(i,a.position),!0}function By(a){var i,t,c;if(c=a.input.charCodeAt(a.position),c!==42)return!1;for(c=a.input.charCodeAt(++a.position),i=a.position;c!==0&&!Q(c)&&!We(c);)c=a.input.charCodeAt(++a.position);return a.position===i&&u(a,"name of an alias node must contain at least one character"),t=a.input.slice(i,a.position),De.call(a.anchorMap,t)||u(a,'unidentified alias "'+t+'"'),a.result=a.anchorMap[t],B(a,!0,-1),!0}function Ke(a,i,t,c,l){var f,m,I,v=1,A=!1,O=!1,p,J,g,M,R,h;if(a.listener!==null&&a.listener("open",a),a.tag=null,a.anchor=null,a.kind=null,a.result=null,f=m=I=wr===t||Vn===t,c&&B(a,!0,-1)&&(A=!0,a.lineIndent>i?v=1:a.lineIndent===i?v=0:a.lineIndent<i&&(v=-1)),v===1)for(;Ey(a)||$y(a);)B(a,!0,-1)?(A=!0,I=f,a.lineIndent>i?v=1:a.lineIndent===i?v=0:a.lineIndent<i&&(v=-1)):I=!1;if(I&&(I=A||l),(v===1||wr===t)&&(jr===t||un===t?R=i:R=i+1,h=a.position-a.lineStart,v===1?I&&(tn(a,h)||Uy(a,h,R))||Dy(a,R)?O=!0:(m&&ky(a,R)||Ty(a,R)||Py(a,R)?O=!0:By(a)?(O=!0,(a.tag!==null||a.anchor!==null)&&u(a,"alias node should not have any properties")):Ly(a,R,jr===t)&&(O=!0,a.tag===null&&(a.tag="?")),a.anchor!==null&&(a.anchorMap[a.anchor]=a.result)):v===0&&(O=I&&tn(a,h))),a.tag===null)a.anchor!==null&&(a.anchorMap[a.anchor]=a.result);else if(a.tag==="?"){for(a.result!==null&&a.kind!=="scalar"&&u(a,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+a.kind+'"'),p=0,J=a.implicitTypes.length;p<J;p+=1)if(M=a.implicitTypes[p],M.resolve(a.result)){a.result=M.construct(a.result),a.tag=M.tag,a.anchor!==null&&(a.anchorMap[a.anchor]=a.result);break}}else if(a.tag!=="!"){if(De.call(a.typeMap[a.kind||"fallback"],a.tag))M=a.typeMap[a.kind||"fallback"][a.tag];else for(M=null,g=a.typeMap.multi[a.kind||"fallback"],p=0,J=g.length;p<J;p+=1)if(a.tag.slice(0,g[p].tag.length)===g[p].tag){M=g[p];break}M||u(a,"unknown tag !<"+a.tag+">"),a.result!==null&&M.kind!==a.kind&&u(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+M.kind+'", not "'+a.kind+'"'),M.resolve(a.result,a.tag)?(a.result=M.construct(a.result,a.tag),a.anchor!==null&&(a.anchorMap[a.anchor]=a.result)):u(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")}return a.listener!==null&&a.listener("close",a),a.tag!==null||a.anchor!==null||O}function zy(a){var i=a.position,t,c,l,f=!1,m;for(a.version=null,a.checkLineBreaks=a.legacy,a.tagMap=Object.create(null),a.anchorMap=Object.create(null);(m=a.input.charCodeAt(a.position))!==0&&(B(a,!0,-1),m=a.input.charCodeAt(a.position),!(a.lineIndent>0||m!==37));){for(f=!0,m=a.input.charCodeAt(++a.position),t=a.position;m!==0&&!Q(m);)m=a.input.charCodeAt(++a.position);for(c=a.input.slice(t,a.position),l=[],c.length<1&&u(a,"directive name must not be less than one character in length");m!==0;){for(;qe(m);)m=a.input.charCodeAt(++a.position);if(m===35){do m=a.input.charCodeAt(++a.position);while(m!==0&&!me(m));break}if(me(m))break;for(t=a.position;m!==0&&!Q(m);)m=a.input.charCodeAt(++a.position);l.push(a.input.slice(t,a.position))}m!==0&&Mo(a),De.call(an,c)?an[c](a,c,l):br(a,'unknown document directive "'+c+'"')}if(B(a,!0,-1),a.lineIndent===0&&a.input.charCodeAt(a.position)===45&&a.input.charCodeAt(a.position+1)===45&&a.input.charCodeAt(a.position+2)===45?(a.position+=3,B(a,!0,-1)):f&&u(a,"directives end mark is expected"),Ke(a,a.lineIndent-1,wr,!1,!0),B(a,!0,-1),a.checkLineBreaks&&jy.test(a.input.slice(i,a.position))&&br(a,"non-ASCII line breaks are interpreted as content"),a.documents.push(a.result),a.position===a.lineStart&&Cr(a)){a.input.charCodeAt(a.position)===46&&(a.position+=3,B(a,!0,-1));return}if(a.position<a.length-1)u(a,"end of the stream or a document separator is expected");else return}function qy(a,i){a=String(a),i=i||{},a.length!==0&&(a.charCodeAt(a.length-1)!==10&&a.charCodeAt(a.length-1)!==13&&(a+=`
|
|
17
|
+
`),a.charCodeAt(0)===65279&&(a=a.slice(1)));var t=new Cy(a,i),c=a.indexOf("\0");for(c!==-1&&(t.position=c,u(t,"null byte is not allowed in input")),t.input+="\0";t.input.charCodeAt(t.position)===32;)t.lineIndent+=1,t.position+=1;for(;t.position<t.length-1;)zy(t);return t.documents}function Fy(a,i){var t=qy(a,i);if(t.length!==0){if(t.length===1)return t[0];throw new xe("expected a single document in the stream, but found more")}}var Yy=Fy,Gy={load:Yy},Zy=Gy.load;const Hy=fe(V.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Wy=fe(V.jsx("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27M6.24 5h11.52l.81.97H5.44zM5 19V8h14v11zm8.45-9h-2.9v3H8l4 4 4-4h-2.55z"}),"ArchiveOutlined"),Qy=fe(V.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),Ky=fe(V.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined");var X=function(){return X=Object.assign||function(i){for(var t,c=1,l=arguments.length;c<l;c++){t=arguments[c];for(var f in t)Object.prototype.hasOwnProperty.call(t,f)&&(i[f]=t[f])}return i},X.apply(this,arguments)};function uo(a,i,t){for(var c=0,l=i.length,f;c<l;c++)(f||!(c in i))&&(f||(f=Array.prototype.slice.call(i,0,c)),f[c]=i[c]);return a.concat(f||Array.prototype.slice.call(i))}var Xy="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgMzAwIiB3aWR0aD0iNDA2IiBoZWlnaHQ9IjMwNiIgY2xhc3M9ImlsbHVzdHJhdGlvbiBzdHlsZXNfaWxsdXN0cmF0aW9uVGFibGV0X18xRFdPYSI+PHRpdGxlPiMxNiBmaWxlcyBhbmQgZm9sZGVyczwvdGl0bGU+PHBhdGggZD0iTTE0Ny43MSwxNDcuN0gxNDAuOHYtMi43Nmg2LjkxYTMuNDQsMy40NCwwLDEsMCwwLTYuODhIMTQwLjhWMTM1LjNoNi45MWE2LjIsNi4yLDAsMSwxLDAsMTIuNFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMTQ3LjcxLDE0Ny43SDE0MC44di0yLjc2aDYuOTFhMy40NCwzLjQ0LDAsMSwwLDAtNi44OEgxNDAuOFYxMzUuM2g2LjkxYTYuMiw2LjIsMCwxLDEsMCwxMi40WiIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iMC42MSI+PC9wYXRoPjxlbGxpcHNlIGN4PSIxOTguNTYiIGN5PSIyNTYuOTkiIHJ4PSIxNDUuMDciIHJ5PSIyMC4xOCIgZmlsbD0iI2U2ZTZlNiIgb3BhY2l0eT0iMC40NSI+PC9lbGxpcHNlPjxwYXRoIGQ9Ik0yODguNzUsOTUuNjJjLTEuMzYsMjEuMDctMTEuNDIsNzMuNjEtNzkuNDMsNDQuMDZsMi4zNC02Ljk0czMzLjYxLDUuOTMsNDIuNS02LjU0YzcuNTItMTAuNTYsNy40LTQ1LjE5LDI0LTQzLjU0QTEyLjA5LDEyLjA5LDAsMCwxLDI4OC43NSw5NS42MloiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4Ljc1LDk1LjYyYy0xLjM2LDIxLjA3LTExLjQyLDczLjYxLTc5LjQzLDQ0LjA2bDIuMzQtNi45NHMzMy42MSw1LjkzLDQyLjUtNi41NGM3LjUyLTEwLjU2LDcuNC00NS4xOSwyNC00My41NEExMi4wOSwxMi4wOSwwLDAsMSwyODguNzUsOTUuNjJaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHBhdGggZD0iTTIyNi4xNSw1Ni4zNnMxLjM4LDcuNTksNCwxMi4xOGEzLjg3LDMuODcsMCwwLDAsNS4zLDEuNDVjMi4zLTEuMzQsNS0zLjgxLDQuNzYtOGwuNDUtNy4xMWE2LjkxLDYuOTEsMCwwLDAtNC44OS02LjMzQzIzMC43Miw0Ni43MSwyMjUuMDgsNTEuNzgsMjI2LjE1LDU2LjM2WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwb2x5Z29uIHBvaW50cz0iMjQwLjcyIDU3LjIyIDI1NS42OSA3Mi4zMyAyNDYuNzUgODIuMDQgMjM3LjM2IDYzLjk4IDI0MC43MiA1Ny4yMiIgZmlsbD0iI2Y0YTI4YyI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yMzUuOCw2MC41OHMtLjczLTIuODgsMS40OC0zLjI1LDMuMjksMy43OS40Nyw1WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwYXRoIGQ9Ik0yMjcuMjcsNjEuMSwyMjYsNjQuNTNhMS4yNCwxLjI0LDAsMCwwLDEuMjUsMS42N2wzLS4yNFoiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjY1LjIxLDI0OC43OXMtMiwzLjY1LTUuNTMsMy40MS01LDMtMiw0LjQxLDExLjc0LTEuNDIsMTEuNzQtMS40MmwuNTUtNS4wOFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMzA3LjM1LDI0NC4xNHMyLjI1LDMuNTEuMzIsNi40OS4yNiw1LjgzLDIuOTEsMy44Niw0LjQzLTExLDQuNDMtMTFsLTQuMTktMi45M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjM4Ljg3LDY2Ljg4QTE1LjU0LDE1LjU0LDAsMCwwLDI0MC4xOCw2MlMyNDYsNjcuMzgsMjQyLjEsNzMuMVoiIGZpbGw9IiNjZTgxNzIiIG9wYWNpdHk9IjAuMzEiPjwvcGF0aD48cG9seWdvbiBwb2ludHM9IjI2My40NiAxNzAuMzUgMjYzLjAzIDI1MC40NCAyNzMuMzkgMjUwLjQ0IDI4Ni42NSAxNjkuMzIgMjYzLjQ2IDE3MC4zNSIgZmlsbD0iIzI0Mjg1YiI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yNDguNDEsNzYuNDZhMzAuNjYsMzAuNjYsMCwwLDEsMTguMzEtNi43MWMxMC44LS4xMSw0MC45MiwxLjc0LDM4Ljg2LDM4LjU4LTEuNTMsMjcuMy0yLjMxLDU3LjUtMi4zMSw1Ny41bC0zOS42Niw2LjYxUzIxNi4yNCwxMDUuNDEsMjQ4LjQxLDc2LjQ2WiIgZmlsbD0iI2ZmZmZmZiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzQuNjIsODUuNzJzLTguMzEsMTAtMy4xNywyOC4yOCwxMi4zNiw0MC4zMy0xMi40LDUxLjQxbDQuNTYsNywzOS42Ni02LjYxLjUyLTE2Ljg4LDYuMzctMzEuMjZaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHJlY3QgeD0iMTA5LjI1IiB5PSIxNTAuMzEiIHdpZHRoPSI2Ni45NyIgaGVpZ2h0PSIxMDYuNjgiIGZpbGw9IiNhNWE1YTUiIG9wYWNpdHk9IjAuNzkiPjwvcmVjdD48cmVjdCB4PSIxMzguNDgiIHk9IjE1MC4zMSIgd2lkdGg9IjU3LjkzIiBoZWlnaHQ9IjEwNi42OCIgZmlsbD0iI2U2ZTZlNiI+PC9yZWN0Pjxwb2x5Z29uIHBvaW50cz0iMTc5LjggMTU2LjU1IDE3OC43NCAxNjIuNjYgMTUwLjMgMTYyLjY2IDE1MC4zIDE4OC40NCAxOTcuNiAxODguNDQgMTk3LjYgMTY3LjQ0IDE5Ny42IDE2Mi42NiAxOTcuNiAxNTYuNTUgMTc5LjggMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxNzkuOCAxNTYuNTUgMTc4Ljc0IDE2Mi42NiAxNTAuMyAxNjIuNjYgMTUwLjMgMTg4LjQ0IDE5Ny42IDE4OC40NCAxOTcuNiAxNjcuNDQgMTk3LjYgMTYyLjY2IDE5Ny42IDE1Ni41NSAxNzkuOCAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjE4Ni43MSAxNTYuNTUgMTg1LjY1IDE2Mi42NiAxNTcuMjEgMTYyLjY2IDE1Ny4yMSAxODguNDQgMjA0LjUxIDE4OC40NCAyMDQuNTEgMTY3LjQ0IDIwNC41MSAxNjIuNjYgMjA0LjUxIDE1Ni41NSAxODYuNzEgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIyNjIuOTggMTIxLjA3IDI2NC45MiAxMjguMjggMjM4Ljc4IDEzOS40OSAyNTEuMDcgMTY4LjE0IDI5NC41NSAxNDkuNDkgMjg0LjU0IDEyNi4xNiAyODIuMjYgMTIwLjg0IDI3OS4zNCAxMTQuMDUgMjYyLjk4IDEyMS4wNyIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMjYyLjk4IDEyMS4wNyAyNjQuOTIgMTI4LjI4IDIzOC43OCAxMzkuNDkgMjUxLjA3IDE2OC4xNCAyOTQuNTUgMTQ5LjQ5IDI4NC41NCAxMjYuMTYgMjgyLjI2IDEyMC44NCAyNzkuMzQgMTE0LjA1IDI2Mi45OCAxMjEuMDciIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjI2OS4zMyAxMTguMzQgMjcxLjI3IDEyNS41NiAyNDUuMTMgMTM2Ljc2IDI1Ny40MiAxNjUuNDEgMzAwLjg5IDE0Ni43NyAyOTAuODkgMTIzLjQzIDI4OC42MSAxMTguMTIgMjg1LjY5IDExMS4zMyAyNjkuMzMgMTE4LjM0IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxOTIuNDIgMTU2LjU1IDE5MS4zNiAxNjIuNjYgMTYyLjkzIDE2Mi42NiAxNjIuOTMgMTg4LjQ0IDIxMC4yMyAxODguNDQgMjEwLjIzIDE2Ny40NCAyMTAuMjMgMTYyLjY2IDIxMC4yMyAxNTYuNTUgMTkyLjQyIDE1Ni41NSIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMTkyLjQyIDE1Ni41NSAxOTEuMzYgMTYyLjY2IDE2Mi45MyAxNjIuNjYgMTYyLjkzIDE4OC40NCAyMTAuMjMgMTg4LjQ0IDIxMC4yMyAxNjcuNDQgMjEwLjIzIDE2Mi42NiAyMTAuMjMgMTU2LjU1IDE5Mi40MiAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMTIiPjwvcmVjdD48cmVjdCB4PSIxNjYuNDUiIHk9IjE0Ny4yMyIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjEuNDQgMjguOTEpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cG9seWdvbiBwb2ludHM9IjE5OS4zMyAxNTYuNTUgMTk4LjI3IDE2Mi42NiAxNjkuODQgMTYyLjY2IDE2OS44NCAxODguNDQgMjE3LjE0IDE4OC40NCAyMTcuMTQgMTY3LjQ0IDIxNy4xNCAxNjIuNjYgMjE3LjE0IDE1Ni41NSAxOTkuMzMgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHJlY3QgeD0iMTQ3LjY1IiB5PSIxNzAuMzciIHdpZHRoPSI3NC41NCIgaGVpZ2h0PSIyOS4xIiBmaWxsPSIjYTVhNWE1Ij48L3JlY3Q+PHBhdGggZD0iTTI5MS4xMywxMjRhMjEyLjI0LDIxMi4yNCwwLDAsMS0xNCwxNi4yNyw2My43OCw2My43OCwwLDAsMS0xMi42Nyw5LjkyYy0yLjY5LDEuNjUtNS41Miw0LjU5LTMuNjIsOS4xOWgxNC44MUwyOTUsMTMzLjEzWiIgb3BhY2l0eT0iMC4wOCI+PC9wYXRoPjxyZWN0IHg9IjE3MS4xNiIgeT0iMTcwLjM3IiB3aWR0aD0iNTEuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjE0Ny42NSIgeT0iMjEyLjkyIiB3aWR0aD0iNTkuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjEyOC4zOCIgeT0iMTMyLjMiIHdpZHRoPSIxNi44OSIgaGVpZ2h0PSIxOC40IiBmaWxsPSIjZmZmZmZmIj48L3JlY3Q+PGNpcmNsZSBjeD0iMTk3LjU3IiBjeT0iMTgzLjc1IiByPSI0LjA5IiBmaWxsPSIjYTVhNWE1Ij48L2NpcmNsZT48Y2lyY2xlIGN4PSIxNzguMDQiIGN5PSIyMjYuMzEiIHI9IjQuMDkiIGZpbGw9IiNhNWE1YTUiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0yMTEuMjMsMTM0YTIyLjE2LDIyLjE2LDAsMCwwLTguMjYsMS4yNWMtNC40MywxLjU2LTguNTMsNS41MS01LjM3LDEwLjEzLDIuNDQsMy41Niw1LjksMS43Miw3LjE5LTEuMTNzMi4wNy01LjYxLDQuNTMtNC41N1oiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzEuNDUsMTU1LjdzLTExLTEuMi0xMiwzLTEuNjgsNi43NC0xLjY4LDYuNzRhMzAuMSwzMC4xLDAsMCwwLDE1LjY2LTQuODJaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTMwMy4yNywxNjUuODNhMTA0Ljc4LDEwNC43OCwwLDAsMSwuMTgsMTUuMzhjLS4yNyw2LjMxLTEuOTEsMTYuODItMy4xNSwyNC4wOUEyMy4yMiwyMy4yMiwwLDAsMCwzMDMsMjIwLjZsMTAsMTcuNzktNy4yNiw3LjI0LTExLjkxLTE1LjQ4YTY0Ljg4LDY0Ljg4LDAsMCwxLTEyLjE2LTI3bC0zLjc5LTE5LjM0LTkuNTUtMTIuMTRaIiBmaWxsPSIjMjQyODViIj48L3BhdGg+PHBhdGggZD0iTTIyMS43NSw0Ny4zM3MtMy4wOSw3LjE0LDQuMjksNy40OSw3LjI5LTEuMTUsNy4yOS0xLjE1LjQ2LDkuNTQsNi44NSw4LjM1bDIuNjUtMi42OHMzLTEyLjE3LTIuMi0xNC44NEMyNDAuNjMsNDQuNSwyMzAuMjUsMzMuODMsMjIxLjc1LDQ3LjMzWiIgZmlsbD0iIzI0Mjg1YiI+PC9wYXRoPjxwYXRoIGQ9Ik0yMzUuNjgsNjEuNzNzLjM5LTYuMjIsMy44OS00LjY3UzI0MC43Niw2NS4zOSwyMzUuNjgsNjEuNzNaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTE0MC44LDEzMi4zczExLjg5LTcuNjMsMC0xOC4zLTE2LjU1LDE0LTI1LjIyLTIuNjcsMTMuMzMtMzQuNjYtMTEtMzZTOTUuNDcsNTguNjIsNzQuNTIsNTYuODEsNDcuOTEsOTIuMTEsNjMuOTEsOTQuNTZzMzEuMzQsMy40NCwyNywxOC43NywxMiwxOS41LDE5LjY3LDE1Ljc1LDE3LjgsMy4yMiwxNy44LDMuMjJaIiBmaWxsPSIjZTZlNmU2IiBvcGFjaXR5PSIwLjQ1Ij48L3BhdGg+PHBhdGggZD0iTTk4LDI0MnMtMTEuODUtMy4xOC0xNC40Ny0xNC4xOGMwLDAsMTguMzItMy43OCwxOC45MiwxNS4xNFoiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuNTgiPjwvcGF0aD48cGF0aCBkPSJNOTkuNDYsMjQwLjc4cy04LjMyLTEzLTEuMS0yNS4yOGMwLDAsMTQsOC43OSw3Ljg2LDI1LjI4WiIgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC43MyI+PC9wYXRoPjxwYXRoIGQ9Ik0xMDEuNTksMjQwLjc4czQuMzEtMTMuODIsMTcuNS0xNi40OWMwLDAsMi41Miw5LTguNDgsMTYuNDlaIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PHBvbHlnb24gcG9pbnRzPSI5My4wMSAyNDAuNTEgOTUuNDggMjU2LjkxIDExMC41OCAyNTYuOTEgMTEyLjc0IDI0MC41MSA5My4wMSAyNDAuNTEiIGZpbGw9IiMyNDI4NWIiPjwvcG9seWdvbj48L3N2Zz4=";function Rn(a){var i=a.size,t=a.file,c=a.index,l=a.disabled,f=a.handleRemoveFile,m=Xe(),I=L.useRef(null),v=w.createElement(Ky,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(t.name)&&(v=w.createElement(Wy,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(t.name)&&(v=w.createElement(Qy,{color:"primary",fontSize:"large"})),w.createElement(w.Fragment,null,w.createElement(xr,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:m.palette.action.hover}}},w.createElement(xr,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},w.createElement(Dm,{alt:"",src:t.path,ref:I,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},v),w.createElement(_,{component:"div",sx:{display:"inline-grid",alignItems:"center"}},w.createElement(_,{variant:"body2",noWrap:!0},t.name),w.createElement(_,{variant:"caption",noWrap:!0},w.createElement(w.Fragment,null,w.createElement("b",null,i)," | ",w.createElement("b",null,t!=null&&t.extension?t.extension.toLowerCase():""))))),w.createElement(_,{component:"div",sx:{mr:-.5,textAlign:"right"}},w.createElement(fn,{disabled:l,onClick:function(A){return f(A,c)}},w.createElement(Hy,null)))))}Rn.propTypes={size:x.string,file:x.object,disabled:x.bool,index:x.number.isRequired,handleRemoveFile:x.func.isRequired};var _y=ye(_)(function(){return{"&::-webkit-scrollbar":{width:7,height:6},"&::-webkit-scrollbar-track":{WebkitBoxShadow:"inset 0 0 6px rgb(125, 161, 196, 0.5)"},"&::-webkit-scrollbar-thumb":{WebkitBorderRadius:4,borderRadius:4,background:"rgba(0, 172, 193, .5)",WebkitBoxShadow:"inset 0 0 6px rgba(25, 118, 210, .5)"},"&::-webkit-scrollbar-thumb:window-inactive":{background:"rgba(125, 161, 196, 0.5)"}}}),cn=1024*1024;function No(a){var i=a.title,t=a.header,c=a.onError,l=a.disabled,f=a.imageSrc,m=a.getBase64,I=a.imageSrcAlt,v=a.multiFile,A=a.leftLabel,O=a.rightLabel,p=a.buttonLabel,J=a.maxFileSize,g=a.bannerProps,M=a.BannerProps,R=a.acceptedType,h=a.defaultFiles,N=a.onFilesChange,b=a.maxUploadFiles,F=b===void 0?0:b,Y=a.containerProps,Z=a.ContainerProps,z=a.onContextReady,ee=a.showPlaceholderImage,je=a.errorSizeMessage,Ie=a.allowedExtensions,de=a.buttonRemoveLabel,_e=a.LabelsGridProps,ke=a.PlaceholderGridProps,we=a.filesContainerHeight,be=a.maxFilesContainerHeight,Ue=a.placeholderImageDimension,Ee=a.PlaceholderImageDimension,H=Xe(),ve=X(X({},g),M),er=X(X({},Y),Z),Me=X(X({},Ue),Ee),Fe=Me.lg,Re=Me.md,Ye=Me.sm,Ir=Me.xs,rr=L.useState(),vr=rr[0],Ae=rr[1],Ar=L.useState(),re=Ar[0],U=Ar[1],pr=L.useState(),Lr=pr[0],Ge=pr[1],oe=L.useState([]),T=oe[0],Ze=oe[1],or=L.useState([]),ie=or[0],K=or[1],te=L.useRef(null),Tr=L.useRef(null),sr=L.useRef(null),Ne={width:128,height:128};tr(H.breakpoints.up("xs"))&&Ir&&(Ne=Ir),tr(H.breakpoints.up("sm"))&&Ye&&(Ne=Ye),tr(H.breakpoints.up("md"))&&Re&&(Ne=Re),tr(H.breakpoints.up("lg"))&&Fe&&(Ne=Fe);var nr=function(C,P){if(Ge(!1),Ae(null),!P&&C.target.files&&(P=C.target.files),(!P||P.length===0)&&c)return c("Empty file input"),!1;if(F&&F-T.length<=0&&c){var pe="You cannot attach more than ".concat(F," files");return Ae(pe),c(pe),!1}if(window.File&&window.FileReader&&window.FileList&&window.Blob)try{for(var $r=function(dr){var se=P[dr],gr=new FileReader,Be=se.type.split("/")[1];if(J&&J>0&&se.size>1048576*J){var hr=je||"The size of files cannot exceed ".concat(J,"Mb");return Ae(hr),c&&c(hr),"continue"}if(Ie&&Ie.length>0){var Br=Ie.findIndex(function(zr){return zr.toLowerCase()===Be.toLowerCase()})!==-1;if(!Br){var Sr="Extension .".concat(Be," has been excluded");return Ae(Sr),c&&c(Sr),"continue"}}m||(ie.push(se),K(ie)),gr.addEventListener("load",function(){T.push({name:se.name,size:se.size,path:this.result,type:se.type,contentType:se.type,lastModified:se.lastModified,extension:Be==null?void 0:Be.toLowerCase()}),Ze(uo([],T,!0))},!1),gr.readAsDataURL(se)},ar=0;ar<(P==null?void 0:P.length);ar++)$r(ar);return C.target.value="",!0}catch(dr){return Ae(dr.toString()),!1}return!1},$e=function(C,P){if(Ae(null),te.current&&(te.current.value=""),typeof P!="number"){Ze([]),K([]);return}if(P<0||P>T.length-1)return console.error("item's index not found...");var pe=X({},T[P]);return T==null||T.splice(P,1),ie==null||ie.splice(P,1),Ze(uo([],T)),K(uo([],ie)),pe},Pr=L.useCallback(function(C){C.preventDefault(),Ge(!0)},[]),Dr=L.useCallback(function(C){C.stopPropagation(),C.preventDefault()},[]),kr=L.useCallback(function(C){var P;C.stopPropagation(),C.preventDefault(),Ge(!1),U({event:C,files:(P=C.dataTransfer)===null||P===void 0?void 0:P.files})},[]),Ur=L.useCallback(function(){Ge(!1)},[]),Or=function(){return{addFile:nr,removeFile:$e,input:te.current,files:m?T:ie}};L.useEffect(function(){te.current&&z&&typeof z=="function"&&z(Or())},[te.current]),L.useEffect(function(){var C=sr.current;C&&!C.ondrop&&!l&&(C.ondrop=kr,C.ondragend=Ur,C.ondragover=Dr,C.ondragenter=Pr)},[sr.current]),L.useEffect(function(){h&&h.length>0&&T.length!==h.length&&Ze(h)},[h]),L.useEffect(function(){re!=null&&re.event&&(re!=null&&re.files)&&(nr(re.event,re.files),U(null)),N&&(N(m?T:ie),z&&z(Or()))},[T,re]);var Er=Lr?H.palette.secondary.light:H.palette.primary.light;return w.createElement(w.Fragment,null,w.createElement(Vo,X({sx:{p:1},elevation:0,ref:sr,variant:"outlined"},er),w.createElement(_,{gutterBottom:!0,component:"div",color:"textSecondary",sx:{display:"flex"}},w.createElement(xr,{sx:{flexGrow:1,fontSize:12}},i),(T==null?void 0:T.length)>0&&w.createElement(xr,{sx:{fontSize:12}},T.length,F>0&&"/".concat(F)," file",(T==null?void 0:T.length)>1&&"s"," joined")),w.createElement(Vo,X({elevation:0,sx:{p:1,transition:500,background:Er}},ve),w.createElement(Oo,{container:!0,spacing:2,alignItems:"center",justifyContent:"center"},ee&&w.createElement(Oo,X({item:!0,xs:12,sm:3,md:4,sx:{textAlign:"center",mt:{xs:-3,sm:2}}},ke),w.createElement("img",{alt:I,src:f||Xy,width:Ne.width,height:Ne.height})),w.createElement(Oo,X({item:!0,xs:12,sm:!0,md:!0,sx:{color:"#fff",textAlign:"center",mt:{xs:ee?-4:0,sm:2}}},_e),w.createElement(en,{smDown:!0},w.createElement(_,{variant:"h5"},w.createElement("b",null,t))),w.createElement(en,{smUp:!0},w.createElement(_,{variant:"h6"},w.createElement("b",null,t))),w.createElement(_,{variant:"caption"},A,w.createElement(Jo,{size:"small",color:"secondary",variant:"outlined",disabled:l,onClick:function(){var C;return(C=te.current)===null||C===void 0?void 0:C.click()},sx:{m:.5,color:H.palette.grey[50],borderColor:H.palette.grey[50],"&:hover":{borderColor:H.palette.grey[50]}}},p),O),w.createElement("input",{type:"file",ref:te,onChange:function(C){return nr(C)},multiple:v,accept:R,style:{display:"none"}})))),vr&&w.createElement(bm,{color:"error",severity:"error",sx:{mt:1},onClose:function(){return Ae(null)}},vr),(T==null?void 0:T.length)>0&&w.createElement(w.Fragment,null,w.createElement(_y,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:we,maxHeight:be}},T==null?void 0:T.map(function(C,P){var pe=(C.size/1024).toFixed(2)+" Kb";return C.size>cn&&(pe=(C.size/cn).toFixed(2)+" Mb"),w.createElement(Rn,{file:C,size:pe,index:P,disabled:l,key:"upload-file--".concat(P),handleRemoveFile:$e})})),w.createElement(_,{component:"div",align:"right",sx:{mt:1}},w.createElement(Jo,{size:"small",disabled:l,onClick:$e,ref:Tr},de||"Remove all")))))}No.propTypes={getBase64:x.bool,maxUploadFiles:x.number,title:x.string,header:x.string,leftLabel:x.string,rightLabel:x.string,buttonLabel:x.string,multiFile:x.bool,disabled:x.bool,defaultFiles:x.array,maxFileSize:x.number,maxFilesContainerHeight:x.number,errorSizeMessage:x.string,imageSrc:x.string,imageSrcAlt:x.string,acceptedType:x.string,bannerProps:x.object,BannerProps:x.object,containerProps:x.object,ContainerProps:x.object,allowedExtensions:x.array,onError:x.func,onContextReady:x.func,onFilesChange:x.func,showPlaceholderImage:x.bool,LabelsGridProps:x.object,PlaceholderGridProps:x.object,placeholderImageDimension:x.object,PlaceholderImageDimension:x.object};No.defaultProps={getBase64:!1,multiFile:!0,maxFileSize:0,maxUploadFiles:0,acceptedType:"*/*",defaultFiles:[],allowedExtensions:[],title:"My awesome file uploader",header:">[Drag to drop]<",leftLabel:"or",rightLabel:"to select files",buttonLabel:"click here",imageSrcAlt:"Placeholder image",maxFilesContainerHeight:300,showPlaceholderImage:!0,placeholderImageDimension:{},PlaceholderImageDimension:{},bannerProps:{},BannerProps:{},containerProps:{},ContainerProps:{},LabelsGridProps:{},PlaceholderGridProps:{}};function eI(a){const[i,t]=w.useState([]),c=async l=>{const f=l[l.length-1];if(f===void 0){a.onChange(null,null);return}const m=await f.arrayBuffer(),I=new TextDecoder().decode(m),v=f.name.split(".").pop();try{const A=v==="json"?JSON.parse(I):Zy(I),O=(()=>{const p=e=>e.swagger!==null&&e.swagger!==void 0&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&J(e.info))&&(e.host===void 0||typeof e.host=="string")&&(e.basePath===void 0||typeof e.basePath=="string")&&(e.consumes===void 0||Array.isArray(e.consumes)&&e.consumes.every(r=>typeof r=="string"))&&(e.produces===void 0||Array.isArray(e.produces)&&e.produces.every(r=>typeof r=="string"))&&(e.definitions===void 0||typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1&&R(e.definitions))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&_e(e.parameters))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ir(e.responses))&&(e.securityDefinitions===void 0||typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1&&vr(e.securityDefinitions))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&T(e.paths))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Ne(r))),J=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&g(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&M(e.license))&&typeof e.version=="string",g=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&Le(e.email)),M=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),R=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ne(o)}),h=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),N=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&j(e.default))&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"&&j(r)))&&(e.minimum===void 0||typeof e.minimum=="number"&&j(e.minimum))&&(e.maximum===void 0||typeof e.maximum=="number"&&j(e.maximum))&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),b=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),F=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Y=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&ne(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Z=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&R(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&ne(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),z=e=>typeof e.$ref=="string",ee=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)),je=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)),Ie=e=>e.type==="null"&&(e.default===null||e.default===void 0),de=e=>e.type!==null&&e.type===void 0,_e=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Gd(o)}),ke=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",we=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&j(e.default))&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"&&j(r)))&&(e.minimum===void 0||typeof e.minimum=="number"&&j(e.minimum))&&(e.maximum===void 0||typeof e.maximum=="number"&&j(e.maximum))&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",be=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Ue=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Ee=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&ne(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",H=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&R(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&ne(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",ve=e=>typeof e.$ref=="string"&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string"),er=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r))&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string"),Me=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r))&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string"),Fe=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string"),Re=e=>e.type!==null&&e.type===void 0&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string"),Ye=e=>typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&ne(e.schema)&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean"),Ir=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&rr(o)}),rr=e=>(e.description===void 0||typeof e.description=="string")&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&R(e.headers))&&(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&ne(e.schema))&&!0,vr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Zd(o)}),Ae=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ar=e=>e.type==="basic"&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),re=e=>e.type==="oauth2"&&e.flow==="implicit"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes))&&(e.description===void 0||typeof e.description=="string"),U=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="string"}),pr=e=>e.type==="oauth2"&&e.flow==="accessCode"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Lr=e=>e.type==="oauth2"&&e.flow==="password"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ge=e=>e.type==="oauth2"&&e.flow==="application"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes))&&(e.description===void 0||typeof e.description=="string"),oe=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:Array.isArray(o)&&o.every(n=>typeof n=="string")}),T=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ze(o)}),Ze=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Fd(r)))&&(e["x-additionalOperations"]===void 0||typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1&&ie(e["x-additionalOperations"]))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&K(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&K(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&K(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&K(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&K(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&K(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&K(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&K(e.trace)),or=e=>typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref),ie=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&K(o)}),K=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Yd(r)))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Tr(e.responses))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),te=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref),Tr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Hd(o)}),sr=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref),Ne=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),nr=e=>e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&$e(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&kr(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Er(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Wn(e.paths))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&oa(r))),$e=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&Pr(e.variables)),Pr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Dr(o)}),Dr=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),kr=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&Ur(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Or(e.license))&&typeof e.version=="string",Ur=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&Le(e.email)),Or=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),Er=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&C(e.schemas))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Cn(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&Dn(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&kn(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Un(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Zn(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Hn(e.examples)),C=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&he(o)}),P=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),pe=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&j(e.default))&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"&&j(r)))&&(e.minimum===void 0||typeof e.minimum=="number"&&j(e.minimum))&&(e.maximum===void 0||typeof e.maximum=="number"&&j(e.maximum))&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),$r=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ar=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),dr=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&he(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),se=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&C(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&he(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),gr=e=>typeof e.$ref=="string",Be=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&he(r)),hr=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&he(r)),Br=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&he(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Sr(e.discriminator)),Sr=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&U(e.mapping)),zr=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Nn=e=>e.type!==null&&e.type===void 0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Cn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Co(o)}),Co=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Lo(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Pn(e.headers))&&(e.description===void 0||typeof e.description=="string"),Lo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ln(o)}),Ln=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&he(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&qr(e.examples)),qr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Wd(o)}),To=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),Tn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref),Pn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Qd(o)}),Po=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&qr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&he(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),Do=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref),Dn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&ko(o)}),ko=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&he(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&qr(e.examples)),kn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Uo(o)}),Uo=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Lo(e.content)),Un=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Kd(o)}),En=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),$n=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Bn=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),zn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&qn(e.flows)&&(e.description===void 0||typeof e.description=="string"),qn=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Fn(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Yn(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Eo(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Eo(e.clientCredentials)),Fn=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Yn=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Eo=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Gn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Zn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Po(o)}),Hn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&To(o)}),Wn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Qn(o)}),Qn=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&ts(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&$e(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e["x-additionalOperations"]===void 0||typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1&&Xn(e["x-additionalOperations"]))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&Oe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&Oe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&Oe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&Oe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&Oe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&Oe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&Oe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&Oe(e.trace)),Kn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref),Xn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Oe(o)}),Oe=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&ts(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Xd(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&ea(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&$e(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),_n=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref),ea=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&_d(o)}),ra=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref),oa=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),sa=e=>typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Fr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&da(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&ca(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Bo(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&Za(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Wa(r))),Fr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&na(e.variables)),na=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&aa(o)}),aa=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&1<=e.enum.length&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),da=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&ia(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&ta(e.license))&&typeof e.version=="string",ia=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&Le(e.email)),ta=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),ca=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Yr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&Bo(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&La(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&Ta(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&Pa(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Da(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Ya(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Ga(e.examples)),Yr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&E(o)}),la=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")&&(e.default===null||e.default===void 0||Array.isArray(e.default))&&(e.enum===void 0||Array.isArray(e.enum))&&(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&E(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&E(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Yr(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&E(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&$o(e.discriminator))&&Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&typeof e.$ref=="string",ma=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean"),fa=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ya=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&j(e.default))&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"&&j(r)))&&(e.minimum===void 0||typeof e.minimum=="number"&&j(e.minimum))&&(e.maximum===void 0||typeof e.maximum=="number"&&j(e.maximum))&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&j(e.exclusiveMinimum)||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&j(e.exclusiveMaximum)||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Ia=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),va=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Aa=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&E(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&E(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),pa=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Yr(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&E(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Oa=e=>typeof e.$ref=="string",ga=e=>typeof e.$recursiveRef=="string",ha=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)),Sa=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)),ua=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&$o(e.discriminator)),$o=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&U(e.mapping)),Va=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Ja=e=>e.type!==null&&e.type===void 0&&!0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Bo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&zo(o)}),zo=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&cs(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Fr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e["x-additionalOperations"]===void 0||typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1&&wa(e["x-additionalOperations"]))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&ge(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&ge(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&ge(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&ge(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&ge(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&ge(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&ge(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&ge(e.trace)),qo=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Gr(e.examples)),Gr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ei(o)}),Fo=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),xa=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref),Yo=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref),ja=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref),wa=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ge(o)}),ge=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&cs(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&ri(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ra(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Fr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Go=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Zo(e.content)),Zo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ba(o)}),ba=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Gr(e.examples)),Ma=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref),Ra=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&oi(o)}),Ho=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Zo(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Na(e.headers))&&(e.description===void 0||typeof e.description=="string"),Na=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&si(o)}),Wo=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Gr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),Ca=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref),La=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ho(o)}),Ta=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&qo(o)}),Pa=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Go(o)}),Da=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&ni(o)}),ka=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ua=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Ea=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),$a=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Ba(e.flows)&&(e.description===void 0||typeof e.description=="string"),Ba=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&za(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&qa(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Qo(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Qo(e.clientCredentials)),za=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),qa=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Qo=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Fa=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Ya=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Wo(o)}),Ga=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Fo(o)}),Za=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ai(o)}),Ha=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref),Wa=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Qa=e=>typeof e.openapi=="string"&&RegExp(/^3\.2\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Zr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&_a(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&od(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Xo(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&Bd(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&qd(r))),Zr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&Ka(e.variables)),Ka=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Xa(o)}),Xa=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&1<=e.enum.length&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),_a=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&ed(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&rd(e.license))&&typeof e.version=="string",ed=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&Le(e.email)),rd=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),od=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Hr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&Xo(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&jd(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&wd(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&bd(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Md(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Ed(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&$d(e.examples)),Hr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&D(o)}),sd=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")&&(e.default===null||e.default===void 0||Array.isArray(e.default))&&(e.enum===void 0||Array.isArray(e.enum))&&(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&D(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&D(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Hr(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&D(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Ko(e.discriminator))&&Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))&&Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))&&typeof e.$ref=="string",nd=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean"),ad=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),dd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&j(e.default))&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"&&j(r)))&&(e.minimum===void 0||typeof e.minimum=="number"&&j(e.minimum))&&(e.maximum===void 0||typeof e.maximum=="number"&&j(e.maximum))&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&j(e.exclusiveMinimum)||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&j(e.exclusiveMaximum)||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),id=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),td=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&S(e.minLength))&&(e.maxLength===void 0||typeof e.maxLength=="number"&&S(e.maxLength))&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),cd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&D(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&D(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&S(e.minItems))&&(e.maxItems===void 0||typeof e.maxItems=="number"&&S(e.maxItems))&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ld=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Hr(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&D(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),md=e=>typeof e.$ref=="string",fd=e=>typeof e.$recursiveRef=="string",yd=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r)),Id=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r)),vd=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&D(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Ko(e.discriminator)),Ko=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&U(e.mapping)),Ad=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),pd=e=>e.type!==null&&e.type===void 0&&!0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Xo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&_o(o)}),_o=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&ls(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Zr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.additionalOperations===void 0||typeof e.additionalOperations=="object"&&e.additionalOperations!==null&&Array.isArray(e.additionalOperations)===!1&&hd(e.additionalOperations))&&(e.query===void 0||typeof e.query=="object"&&e.query!==null&&Array.isArray(e.query)===!1&&ce(e.query))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&ce(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&ce(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&ce(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&ce(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&ce(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&ce(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&ce(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&ce(e.trace)),es=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||e.in==="querystring")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&D(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Wr(e.examples)),Wr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&di(o)}),rs=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),Od=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref),os=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref),gd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref),hd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ce(o)}),ce=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&ls(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&ii(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Vd(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Zr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),ss=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&ns(e.content)),ns=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Sd(o)}),Sd=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&D(e.schema))&&(e.itemSchema===void 0||typeof e.itemSchema=="object"&&e.itemSchema!==null&&Array.isArray(e.itemSchema)===!1&&D(e.itemSchema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Wr(e.examples)),ud=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref),Vd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ti(o)}),as=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&ns(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Jd(e.headers))&&(e.description===void 0||typeof e.description=="string"),Jd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&ci(o)}),ds=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Wr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&D(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),xd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref),jd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&as(o)}),wd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&es(o)}),bd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ss(o)}),Md=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&li(o)}),Rd=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Nd=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Cd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Ld=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Td(e.flows)&&(e.oauth2MetadataUrl===void 0||typeof e.oauth2MetadataUrl=="string")&&(e.description===void 0||typeof e.description=="string"),Td=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Pd(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Dd(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&is(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&is(e.clientCredentials))&&(e.deviceAuthorization===void 0||typeof e.deviceAuthorization=="object"&&e.deviceAuthorization!==null&&kd(e.deviceAuthorization)),Pd=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Dd=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),is=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),kd=e=>typeof e.deviceAuthorizationUrl=="string"&&typeof e.tokenUrl=="string"&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&U(e.scopes)),Ud=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Ed=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&ds(o)}),$d=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&rs(o)}),Bd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&mi(o)}),zd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref),qd=e=>typeof e.name=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.parent===void 0||typeof e.parent=="string")&&(e.kind===void 0||typeof e.kind=="string"),ne=e=>e.type==="boolean"?h(e):e.type==="number"?b(e):e.type==="integer"?N(e):e.type==="string"?F(e):e.type==="array"?Y(e):e.type==="object"?Z(e):e.$ref!==void 0?z(e):e["x-anyOf"]!==void 0?ee(e):e["x-oneOf"]!==void 0?je(e):e.type==="null"?Ie(e):de(e),Fd=e=>e.type==="boolean"?ke(e):e.type==="number"?be(e):e.type==="integer"?we(e):e.type==="string"?Ue(e):e.type==="array"?Ee(e):e.type==="object"?H(e):e["x-anyOf"]!==void 0?er(e):e["x-oneOf"]!==void 0?Me(e):e.type==="null"?Fe(e):e.schema!==void 0?Ye(e):ve(e)?ve(e):Re(e)?Re(e):or(e)?or(e):!1,Yd=e=>e.type==="boolean"?ke(e):e.type==="number"?be(e):e.type==="integer"?we(e):e.type==="string"?Ue(e):e.type==="array"?Ee(e):e.type==="object"?H(e):e["x-anyOf"]!==void 0?er(e):e["x-oneOf"]!==void 0?Me(e):e.type==="null"?Fe(e):e.schema!==void 0?Ye(e):ve(e)?ve(e):Re(e)?Re(e):te(e)?te(e):!1,he=e=>e.type==="boolean"?P(e):e.type==="number"?$r(e):e.type==="integer"?pe(e):e.type==="string"?ar(e):e.type==="array"?dr(e):e.type==="object"?se(e):e.$ref!==void 0?gr(e):e.allOf!==void 0?Be(e):e.anyOf!==void 0?hr(e):e.oneOf!==void 0?Br(e):e.type==="null"?zr(e):Nn(e),ts=e=>e.in!==void 0?ko(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Kn(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Do(e):!1,E=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")?la(e):e.type==="boolean"?fa(e):e.type==="number"?Ia(e):e.type==="integer"?ya(e):e.type==="string"?va(e):e.type==="array"?Aa(e):e.type==="object"?pa(e):e.$recursiveRef!==void 0?ga(e):e.type==="null"?Va(e):e.const!==void 0?ma(e):e.$ref!==void 0?Oa(e):e.allOf!==void 0?ha(e):e.anyOf!==void 0?Sa(e):e.oneOf!==void 0?ua(e):Ja(e),cs=e=>e.in!==void 0?qo(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?ja(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Yo(e):!1,D=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")?sd(e):e.type==="boolean"?ad(e):e.type==="number"?id(e):e.type==="integer"?dd(e):e.type==="string"?td(e):e.type==="array"?cd(e):e.type==="object"?ld(e):e.$recursiveRef!==void 0?fd(e):e.type==="null"?Ad(e):e.const!==void 0?nd(e):e.$ref!==void 0?md(e):e.allOf!==void 0?yd(e):e.anyOf!==void 0?Id(e):e.oneOf!==void 0?vd(e):pd(e),ls=e=>e.in!==void 0?es(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?gd(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?os(e):!1,Gd=e=>e.type==="boolean"?ke(e):e.type==="number"?be(e):e.type==="integer"?we(e):e.type==="string"?Ue(e):e.type==="array"?Ee(e):e.type==="object"?H(e):e.$ref!==void 0?ve(e):e["x-anyOf"]!==void 0?er(e):e["x-oneOf"]!==void 0?Me(e):e.type==="null"?Fe(e):e.schema!==void 0?Ye(e):Re(e),Zd=e=>e.type==="apiKey"?Ae(e):e.type==="basic"?Ar(e):e.flow==="implicit"?re(e):e.flow==="accessCode"?pr(e):e.flow==="application"?Ge(e):e.flow==="password"?Lr(e):!1,Hd=e=>e.$ref!==void 0?sr(e):rr(e),Wd=e=>e.$ref!==void 0?Tn(e):To(e),Qd=e=>e.schema!==void 0?Po(e):e.$ref!==void 0?Do(e):!1,Kd=e=>e.type==="apiKey"?En(e):e.scheme==="basic"?$n(e):e.scheme==="bearer"?Bn(e):e.type==="oauth2"?zn(e):e.type==="openIdConnect"?Gn(e):!1,Xd=e=>e.$ref!==void 0?_n(e):Uo(e),_d=e=>e.$ref!==void 0?ra(e):Co(e),ei=e=>e.$ref!==void 0?xa(e):Fo(e),ri=e=>e.$ref!==void 0?Ma(e):Go(e),oi=e=>e.$ref!==void 0?Ca(e):Ho(e),si=e=>e.$ref!==void 0?Yo(e):e.schema!==void 0?Wo(e):!1,ni=e=>e.type==="apiKey"?ka(e):e.scheme==="basic"?Ua(e):e.scheme==="bearer"?Ea(e):e.type==="oauth2"?$a(e):e.type==="openIdConnect"?Fa(e):!1,ai=e=>e.$ref!==void 0?Ha(e):zo(e),di=e=>e.$ref!==void 0?Od(e):rs(e),ii=e=>e.$ref!==void 0?ud(e):ss(e),ti=e=>e.$ref!==void 0?xd(e):as(e),ci=e=>e.$ref!==void 0?os(e):e.schema!==void 0?ds(e):!1,li=e=>e.type==="apiKey"?Rd(e):e.scheme==="basic"?Nd(e):e.scheme==="bearer"?Cd(e):e.type==="oauth2"?Ld(e):e.type==="openIdConnect"?Ud(e):!1,mi=e=>e.$ref!==void 0?zd(e):_o(e),fi=e=>e.swagger!==void 0?p(e):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?nr(e):typeof e.openapi=="string"&&RegExp(/^3\.2\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Qa(e):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?sa(e):!1,yi=(e,r,o=!0)=>[(e.swagger!==null||s(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger!==void 0||s(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger)||s(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger})),e.info===void 0||(typeof e.info=="object"&&e.info!==null||s(o,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}))&&Ii(e.info,r+".info",o)||s(o,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}),e.host===void 0||typeof e.host=="string"||s(o,{path:r+".host",expected:"(string | undefined)",value:e.host}),e.basePath===void 0||typeof e.basePath=="string"||s(o,{path:r+".basePath",expected:"(string | undefined)",value:e.basePath}),e.consumes===void 0||(Array.isArray(e.consumes)||s(o,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}))&&e.consumes.map((n,d)=>typeof n=="string"||s(o,{path:r+".consumes["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}),e.produces===void 0||(Array.isArray(e.produces)||s(o,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}))&&e.produces.map((n,d)=>typeof n=="string"||s(o,{path:r+".produces["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}),e.definitions===void 0||(typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1||s(o,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}))&&ur(e.definitions,r+".definitions",o)||s(o,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||s(o,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}))&&bi(e.parameters,r+".parameters",o)||s(o,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}))&&Mi(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}),e.securityDefinitions===void 0||(typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1||s(o,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}))&&Ri(e.securityDefinitions,r+".securityDefinitions",o)||s(o,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||s(o,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}))&&ki(e.paths,r+".paths",o)||s(o,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".tags["+d+"]",expected:"SwaggerV2.IDocument.ITag",value:n}))&&Fi(n,r+".tags["+d+"]",o)||s(o,{path:r+".tags["+d+"]",expected:"SwaggerV2.IDocument.ITag",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags})].every(n=>n),Ii=(e,r,o=!0)=>[typeof e.title=="string"||s(o,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||s(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||s(o,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}))&&vi(e.contact,r+".contact",o)||s(o,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||s(o,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}))&&Ai(e.license,r+".license",o)||s(o,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||s(o,{path:r+".version",expected:"string",value:e.version})].every(n=>n),vi=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(Le(e.email)||s(o,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||s(o,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(n=>n),Ai=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(n=>n),ur=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),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:d}))&&ae(d,r+y(n),o)||s(o,{path:r+y(n),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:d})}).every(n=>n)].every(n=>n),pi=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||s(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="boolean"||s(o,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||s(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Oi=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(j(e.default)||s(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||s(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"&&(j(n)||s(o,{path:r+'["enum"]['+d+"]",expected:'number & Type<"int64">',value:n}))||s(o,{path:r+'["enum"]['+d+"]",expected:'((number & Type<"int64">) | null)',value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(j(e.minimum)||s(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||s(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(j(e.maximum)||s(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||s(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="integer"||s(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),gi=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||s(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||s(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),hi=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||s(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Si=(e,r,o=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||s(o,{path:r+".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:e.items}))&&ae(e.items,r+".items",o)||s(o,{path:r+".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:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||s(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),ui=(e,r,o=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&ur(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||s(o,{path:r+".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:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".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:e.additionalProperties}))&&ae(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".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:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||s(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Vi=(e,r,o=!0)=>[typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),Ji=(e,r,o=!0)=>[(Array.isArray(e["x-anyOf"])||s(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+'["x-anyOf"]['+d+"]",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:n}))&&ae(n,r+'["x-anyOf"]['+d+"]",o)||s(o,{path:r+'["x-anyOf"]['+d+"]",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:n})).every(n=>n)||s(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]})].every(n=>n),xi=(e,r,o=!0)=>[(Array.isArray(e["x-oneOf"])||s(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+'["x-oneOf"]['+d+"]",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:n}))&&ae(n,r+'["x-oneOf"]['+d+"]",o)||s(o,{path:r+'["x-oneOf"]['+d+"]",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:n})).every(n=>n)||s(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]})].every(n=>n),ji=(e,r,o=!0)=>[e.type==="null"||s(o,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||s(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default})].every(n=>n),wi=(e,r,o=!0)=>[(e.type!==null||s(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||s(o,{path:r+".type",expected:"undefined",value:e.type}))].every(n=>n),bi=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),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:d}))&&xl(d,r+y(n),o)||s(o,{path:r+y(n),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:d})}).every(n=>n)].every(n=>n),Qr=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||s(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="boolean"||s(o,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||s(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),Kr=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(j(e.default)||s(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||s(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"&&(j(n)||s(o,{path:r+'["enum"]['+d+"]",expected:'number & Type<"int64">',value:n}))||s(o,{path:r+'["enum"]['+d+"]",expected:'((number & Type<"int64">) | null)',value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(j(e.minimum)||s(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||s(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(j(e.maximum)||s(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||s(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="integer"||s(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),Xr=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||s(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||s(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),_r=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||s(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),eo=(e,r,o=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||s(o,{path:r+".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:e.items}))&&ae(e.items,r+".items",o)||s(o,{path:r+".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:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||s(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),ro=(e,r,o=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&ur(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||s(o,{path:r+".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:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".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:e.additionalProperties}))&&ae(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".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:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||s(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in})].every(n=>n),oo=(e,r,o=!0)=>[typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),so=(e,r,o=!0)=>[(Array.isArray(e["x-anyOf"])||s(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+'["x-anyOf"]['+d+"]",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:n}))&&ae(n,r+'["x-anyOf"]['+d+"]",o)||s(o,{path:r+'["x-anyOf"]['+d+"]",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:n})).every(n=>n)||s(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),no=(e,r,o=!0)=>[(Array.isArray(e["x-oneOf"])||s(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+'["x-oneOf"]['+d+"]",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:n}))&&ae(n,r+'["x-oneOf"]['+d+"]",o)||s(o,{path:r+'["x-oneOf"]['+d+"]",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:n})).every(n=>n)||s(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),ao=(e,r,o=!0)=>[e.type==="null"||s(o,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||s(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),io=(e,r,o=!0)=>[(e.type!==null||s(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||s(o,{path:r+".type",expected:"undefined",value:e.type})),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),to=(e,r,o=!0)=>[(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&ae(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||s(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(n=>n),Mi=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"SwaggerV2.IOperation.IResponse",value:d}))&&ms(d,r+y(n),o)||s(o,{path:r+y(n),expected:"SwaggerV2.IOperation.IResponse",value:d})}).every(n=>n)].every(n=>n),ms=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}))&&ur(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}),e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&ae(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),!0].every(n=>n),Ri=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:d}))&&jl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:d})}).every(n=>n)].every(n=>n),Ni=(e,r,o=!0)=>[e.type==="apiKey"||s(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Ci=(e,r,o=!0)=>[e.type==="basic"||s(o,{path:r+".type",expected:'"basic"',value:e.type}),e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Li=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="implicit"||s(o,{path:r+".flow",expected:'"implicit"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),q=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:typeof d=="string"||s(o,{path:r+y(n),expected:"string",value:d})}).every(n=>n)].every(n=>n),Ti=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="accessCode"||s(o,{path:r+".flow",expected:'"accessCode"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Pi=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="password"||s(o,{path:r+".flow",expected:'"password"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Di=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="application"||s(o,{path:r+".flow",expected:'"application"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Ce=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(Array.isArray(d)||s(o,{path:r+y(n),expected:"Array<string>",value:d}))&&d.map((Jr,Zl)=>typeof Jr=="string"||s(o,{path:r+y(n)+"["+Zl+"]",expected:"string",value:Jr})).every(Jr=>Jr)||s(o,{path:r+y(n),expected:"Array<string>",value:d})}).every(n=>n)].every(n=>n),ki=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"SwaggerV2.IPath",value:d}))&&Ui(d,r+y(n),o)||s(o,{path:r+y(n),expected:"SwaggerV2.IPath",value:d})}).every(n=>n)].every(n=>n),Ui=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",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:n}))&&Vl(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}),e["x-additionalOperations"]===void 0||(typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, SwaggerV2.IOperation> | undefined)",value:e["x-additionalOperations"]}))&&$i(e["x-additionalOperations"],r+'["x-additionalOperations"]',o)||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, SwaggerV2.IOperation> | undefined)",value:e["x-additionalOperations"]}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||s(o,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}))&&Se(e.get,r+".get",o)||s(o,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||s(o,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}))&&Se(e.post,r+".post",o)||s(o,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||s(o,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}))&&Se(e.put,r+".put",o)||s(o,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||s(o,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}))&&Se(e.delete,r+'["delete"]',o)||s(o,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||s(o,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}))&&Se(e.options,r+".options",o)||s(o,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||s(o,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}))&&Se(e.head,r+".head",o)||s(o,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||s(o,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}))&&Se(e.patch,r+".patch",o)||s(o,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||s(o,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace}))&&Se(e.trace,r+".trace",o)||s(o,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace})].every(n=>n),Ei=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/parameters/${string}`",value:e.$ref})].every(n=>n),$i=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"SwaggerV2.IOperation",value:d}))&&Se(d,r+y(n),o)||s(o,{path:r+y(n),expected:"SwaggerV2.IOperation",value:d})}).every(n=>n)].every(n=>n),Se=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||s(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",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:n}))&&Jl(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}))&&zi(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>typeof n=="string"||s(o,{path:r+".tags["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(n=>n),Bi=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/definitions/parameters/${string}`",value:e.$ref})].every(n=>n),zi=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:d}))&&wl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:d})}).every(n=>n)].every(n=>n),qi=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/definitions/responses/${string}`",value:e.$ref})].every(n=>n),Fi=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Yi=(e,r,o=!0)=>[(e.openapi!==null||s(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi!==void 0||s(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||s(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi})),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n}))&&co(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||s(o,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}))&&Hi(e.info,r+".info",o)||s(o,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||s(o,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}))&&Ki(e.components,r+".components",o)||s(o,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}))&&bt(e.paths,r+".paths",o)||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3.IDocument.ITag",value:n}))&&Pt(n,r+".tags["+d+"]",o)||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3.IDocument.ITag",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags})].every(n=>n),co=(e,r,o=!0)=>[typeof e.url=="string"||s(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables}))&&Gi(e.variables,r+".variables",o)||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].every(n=>n),Gi=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3.IServer.IVariable",value:d}))&&Zi(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IServer.IVariable",value:d})}).every(n=>n)].every(n=>n),Zi=(e,r,o=!0)=>[typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Hi=(e,r,o=!0)=>[typeof e.title=="string"||s(o,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||s(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||s(o,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}))&&Wi(e.contact,r+".contact",o)||s(o,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||s(o,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}))&&Qi(e.license,r+".license",o)||s(o,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||s(o,{path:r+".version",expected:"string",value:e.version})].every(n=>n),Wi=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(Le(e.email)||s(o,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||s(o,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(n=>n),Qi=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(n=>n),Ki=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}))&&fs(e.schemas,r+".schemas",o)||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}))&&mt(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}))&&vt(e.parameters,r+".parameters",o)||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&At(e.requestBodies,r+".requestBodies",o)||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&pt(e.securitySchemes,r+".securitySchemes",o)||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&jt(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples}))&&wt(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(n=>n),fs=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),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:d}))&&Je(d,r+y(n),o)||s(o,{path:r+y(n),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:d})}).every(n=>n)].every(n=>n),Xi=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||s(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="boolean"||s(o,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||s(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),_i=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(j(e.default)||s(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||s(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"&&(j(n)||s(o,{path:r+'["enum"]['+d+"]",expected:'number & Type<"int64">',value:n}))||s(o,{path:r+'["enum"]['+d+"]",expected:'((number & Type<"int64">) | null)',value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(j(e.minimum)||s(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||s(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(j(e.maximum)||s(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||s(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="integer"||s(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),et=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||s(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||s(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),rt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||s(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),ot=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||s(o,{path:r+".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:e.items}))&&Je(e.items,r+".items",o)||s(o,{path:r+".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:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||s(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),st=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}))&&fs(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||s(o,{path:r+".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:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".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:e.additionalProperties}))&&Je(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".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:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||s(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),nt=(e,r,o=!0)=>[typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),at=(e,r,o=!0)=>[(Array.isArray(e.allOf)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}))&&e.allOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".allOf["+d+"]",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:n}))&&Je(n,r+".allOf["+d+"]",o)||s(o,{path:r+".allOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf})].every(n=>n),dt=(e,r,o=!0)=>[(Array.isArray(e.anyOf)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".anyOf["+d+"]",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:n}))&&Je(n,r+".anyOf["+d+"]",o)||s(o,{path:r+".anyOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf})].every(n=>n),it=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".oneOf["+d+"]",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:n}))&&Je(n,r+".oneOf["+d+"]",o)||s(o,{path:r+".oneOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||s(o,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&tt(e.discriminator,r+".discriminator",o)||s(o,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator})].every(n=>n),tt=(e,r,o=!0)=>[typeof e.propertyName=="string"||s(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(n=>n),ct=(e,r,o=!0)=>[e.default===null||e.default===void 0||s(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||s(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),lt=(e,r,o=!0)=>[!0,(e.type!==null||s(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||s(o,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),mt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IResponse",value:d}))&&ys(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IResponse",value:d})}).every(n=>n)].every(n=>n),ys=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Is(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}))&&It(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Is=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IMediaType",value:d}))&&ft(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IMediaType",value:d})}).every(n=>n)].every(n=>n),ft=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&Je(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&lo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(n=>n),lo=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d}))&&bl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d})}).every(n=>n)].every(n=>n),vs=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||s(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(n=>n),yt=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref})].every(n=>n),It=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&Ml(d,r+y(n),o)||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d})}).every(n=>n)].every(n=>n),As=(e,r,o=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&lo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&Je(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(n=>n),ps=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref})].every(n=>n),vt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IParameter",value:d}))&&Os(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IParameter",value:d})}).every(n=>n)].every(n=>n),Os=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&Je(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&lo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(n=>n),At=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IRequestBody",value:d}))&&gs(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation.IRequestBody",value:d})}).every(n=>n)].every(n=>n),gs=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Is(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].every(n=>n),pt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:d}))&&Rl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:d})}).every(n=>n)].every(n=>n),Ot=(e,r,o=!0)=>[e.type==="apiKey"||s(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),gt=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||s(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),ht=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||s(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||s(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),St=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||s(o,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&ut(e.flows,r+".flows",o)||s(o,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),ut=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&Vt(e.authorizationCode,r+".authorizationCode",o)||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&Jt(e.implicit,r+".implicit",o)||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||s(o,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&hs(e.password,r+".password",o)||s(o,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&hs(e.clientCredentials,r+".clientCredentials",o)||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(n=>n),Vt=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),Jt=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),hs=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),xt=(e,r,o=!0)=>[e.type==="openIdConnect"||s(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||s(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),jt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:d}))&&As(d,r+y(n),o)||s(o,{path:r+y(n),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:d})}).every(n=>n)].every(n=>n),wt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IExample",value:d}))&&vs(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IExample",value:d})}).every(n=>n)].every(n=>n),bt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IPath",value:d}))&&Mt(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IPath",value:d})}).every(n=>n)].every(n=>n),Mt=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:n}))&&qs(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n}))&&co(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-additionalOperations"]===void 0||(typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, OpenApiV3.IOperation> | undefined)",value:e["x-additionalOperations"]}))&&Nt(e["x-additionalOperations"],r+'["x-additionalOperations"]',o)||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, OpenApiV3.IOperation> | undefined)",value:e["x-additionalOperations"]}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||s(o,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}))&&ue(e.get,r+".get",o)||s(o,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||s(o,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}))&&ue(e.post,r+".post",o)||s(o,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||s(o,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}))&&ue(e.put,r+".put",o)||s(o,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||s(o,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}))&&ue(e.delete,r+'["delete"]',o)||s(o,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||s(o,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}))&&ue(e.options,r+".options",o)||s(o,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||s(o,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}))&&ue(e.head,r+".head",o)||s(o,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||s(o,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}))&&ue(e.patch,r+".patch",o)||s(o,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||s(o,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace}))&&ue(e.trace,r+".trace",o)||s(o,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace})].every(n=>n),Rt=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref})].every(n=>n),Nt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation",value:d}))&&ue(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3.IOperation",value:d})}).every(n=>n)].every(n=>n),ue=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||s(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:n}))&&qs(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||s(o,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Nl(e.requestBody,r+".requestBody",o)||s(o,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}))&&Lt(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n}))&&co(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>typeof n=="string"||s(o,{path:r+".tags["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(n=>n),Ct=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref})].every(n=>n),Lt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:d}))&&Cl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:d})}).every(n=>n)].every(n=>n),Tt=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref})].every(n=>n),Pt=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Dt=(e,r,o=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||s(o,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n}))&&mo(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||s(o,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}))&&Et(e.info,r+".info",o)||s(o,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||s(o,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}))&&zt(e.components,r+".components",o)||s(o,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}))&&us(e.paths,r+".paths",o)||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||s(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}))&&jc(e.webhooks,r+".webhooks",o)||s(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3_1.IDocument.ITag",value:n}))&&bc(n,r+".tags["+d+"]",o)||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3_1.IDocument.ITag",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags})].every(n=>n),mo=(e,r,o=!0)=>[typeof e.url=="string"||s(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables}))&&kt(e.variables,r+".variables",o)||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].every(n=>n),kt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3_1.IServer.IVariable",value:d}))&&Ut(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IServer.IVariable",value:d})}).every(n=>n)].every(n=>n),Ut=(e,r,o=!0)=>[typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||s(o,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((n,d)=>typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Et=(e,r,o=!0)=>[typeof e.title=="string"||s(o,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||s(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||s(o,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}))&&$t(e.contact,r+".contact",o)||s(o,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||s(o,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}))&&Bt(e.license,r+".license",o)||s(o,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||s(o,{path:r+".version",expected:"string",value:e.version})].every(n=>n),$t=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(Le(e.email)||s(o,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||s(o,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(n=>n),Bt=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||s(o,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(n=>n),zt=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}))&&fo(e.schemas,r+".schemas",o)||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}),e.pathItems===void 0||(typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1||s(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}))&&us(e.pathItems,r+".pathItems",o)||s(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}))&&fc(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}))&&yc(e.parameters,r+".parameters",o)||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&Ic(e.requestBodies,r+".requestBodies",o)||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&vc(e.securitySchemes,r+".securitySchemes",o)||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Jc(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples}))&&xc(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples})].every(n=>n),fo=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),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:d}))&&$(d,r+y(n),o)||s(o,{path:r+y(n),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:d})}).every(n=>n)].every(n=>n),qt=(e,r,o=!0)=>[(Array.isArray(e.type)||s(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((n,d)=>n==="string"||n==="number"||n==="boolean"||n==="object"||n==="integer"||n==="array"||n==="null"||s(o,{path:r+".type["+d+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:n})).every(n=>n)||s(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}),e.default===null||e.default===void 0||Array.isArray(e.default)||s(o,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||s(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||s(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||s(o,{path:r+".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:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".items["+d+"]",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:n}))&&$(n,r+".items["+d+"]",o)||s(o,{path:r+".items["+d+"]",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:n})).every(n=>n)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&$(e.items,r+".items",o)||s(o,{path:r+".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:e.items})||s(o,{path:r+".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:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".prefixItems["+d+"]",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:n}))&&$(n,r+".prefixItems["+d+"]",o)||s(o,{path:r+".prefixItems["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||s(o,{path:r+".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:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||s(o,{path:r+".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:e.additionalItems}))&&$(e.additionalItems,r+".additionalItems",o)||s(o,{path:r+".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:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&fo(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||s(o,{path:r+".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:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".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:e.additionalProperties}))&&$(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".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:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".oneOf["+d+"]",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:n}))&&$(n,r+".oneOf["+d+"]",o)||s(o,{path:r+".oneOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||s(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Ss(e.discriminator,r+".discriminator",o)||s(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".anyOf["+d+"]",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:n}))&&$(n,r+".anyOf["+d+"]",o)||s(o,{path:r+".anyOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".allOf["+d+"]",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:n}))&&$(n,r+".allOf["+d+"]",o)||s(o,{path:r+".allOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),Ft=(e,r,o=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||s(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable})].every(n=>n),Yt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||s(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="boolean"||s(o,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||s(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Gt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(j(e.default)||s(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||s(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"&&(j(n)||s(o,{path:r+'["enum"]['+d+"]",expected:'number & Type<"int64">',value:n}))||s(o,{path:r+'["enum"]['+d+"]",expected:'((number & Type<"int64">) | null)',value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(j(e.minimum)||s(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||s(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(j(e.maximum)||s(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||s(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&(j(e.exclusiveMinimum)||s(o,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&(j(e.exclusiveMaximum)||s(o,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="integer"||s(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Zt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||s(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||s(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Ht=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||s(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||s(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Wt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||s(o,{path:r+".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:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".items["+d+"]",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:n}))&&$(n,r+".items["+d+"]",o)||s(o,{path:r+".items["+d+"]",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:n})).every(n=>n)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&$(e.items,r+".items",o)||s(o,{path:r+".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:e.items})||s(o,{path:r+".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:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".prefixItems["+d+"]",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:n}))&&$(n,r+".prefixItems["+d+"]",o)||s(o,{path:r+".prefixItems["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||s(o,{path:r+".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:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||s(o,{path:r+".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:e.additionalItems}))&&$(e.additionalItems,r+".additionalItems",o)||s(o,{path:r+".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:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||s(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Qt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&fo(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||s(o,{path:r+".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:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".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:e.additionalProperties}))&&$(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".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:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||s(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Kt=(e,r,o=!0)=>[typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),Xt=(e,r,o=!0)=>[typeof e.$recursiveRef=="string"||s(o,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef})].every(n=>n),_t=(e,r,o=!0)=>[(Array.isArray(e.allOf)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".allOf["+d+"]",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:n}))&&$(n,r+".allOf["+d+"]",o)||s(o,{path:r+".allOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf})].every(n=>n),ec=(e,r,o=!0)=>[(Array.isArray(e.anyOf)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".anyOf["+d+"]",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:n}))&&$(n,r+".anyOf["+d+"]",o)||s(o,{path:r+".anyOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf})].every(n=>n),rc=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".oneOf["+d+"]",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:n}))&&$(n,r+".oneOf["+d+"]",o)||s(o,{path:r+".oneOf["+d+"]",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:n})).every(n=>n)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||s(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Ss(e.discriminator,r+".discriminator",o)||s(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator})].every(n=>n),Ss=(e,r,o=!0)=>[typeof e.propertyName=="string"||s(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(n=>n),oc=(e,r,o=!0)=>[e.default===null||e.default===void 0||s(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||s(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),sc=(e,r,o=!0)=>[(e.type!==null||s(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||s(o,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),us=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IPath",value:d}))&&Vs(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IPath",value:d})}).every(n=>n)].every(n=>n),Vs=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:n}))&&Fs(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n}))&&mo(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-additionalOperations"]===void 0||(typeof e["x-additionalOperations"]=="object"&&e["x-additionalOperations"]!==null&&Array.isArray(e["x-additionalOperations"])===!1||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, OpenApiV3_1.IOperation> | undefined)",value:e["x-additionalOperations"]}))&&dc(e["x-additionalOperations"],r+'["x-additionalOperations"]',o)||s(o,{path:r+'["x-additionalOperations"]',expected:"(Record<string, OpenApiV3_1.IOperation> | undefined)",value:e["x-additionalOperations"]}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||s(o,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}))&&Ve(e.get,r+".get",o)||s(o,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||s(o,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}))&&Ve(e.post,r+".post",o)||s(o,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||s(o,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}))&&Ve(e.put,r+".put",o)||s(o,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||s(o,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}))&&Ve(e.delete,r+'["delete"]',o)||s(o,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||s(o,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}))&&Ve(e.options,r+".options",o)||s(o,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||s(o,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}))&&Ve(e.head,r+".head",o)||s(o,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||s(o,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}))&&Ve(e.patch,r+".patch",o)||s(o,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||s(o,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace}))&&Ve(e.trace,r+".trace",o)||s(o,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace})].every(n=>n),Js=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&$(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&yo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(n=>n),yo=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d}))&&Ll(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d})}).every(n=>n)].every(n=>n),xs=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||s(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(n=>n),nc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref})].every(n=>n),js=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref})].every(n=>n),ac=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref})].every(n=>n),dc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation",value:d}))&&Ve(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation",value:d})}).every(n=>n)].every(n=>n),Ve=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||s(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:n}))&&Fs(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||s(o,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Tl(e.requestBody,r+".requestBody",o)||s(o,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}))&&cc(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n}))&&mo(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>typeof n=="string"||s(o,{path:r+".tags["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(n=>n),ws=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&bs(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(n=>n),bs=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IMediaType",value:d}))&&ic(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IMediaType",value:d})}).every(n=>n)].every(n=>n),ic=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&$(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&yo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(n=>n),tc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref})].every(n=>n),cc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:d}))&&Pl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:d})}).every(n=>n)].every(n=>n),Ms=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&bs(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}))&&lc(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),lc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&Dl(d,r+y(n),o)||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d})}).every(n=>n)].every(n=>n),Rs=(e,r,o=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&yo(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".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:e.schema}))&&$(e.schema,r+".schema",o)||s(o,{path:r+".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:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(n=>n),mc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref})].every(n=>n),fc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IResponse",value:d}))&&Ms(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IResponse",value:d})}).every(n=>n)].every(n=>n),yc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IParameter",value:d}))&&Js(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IParameter",value:d})}).every(n=>n)].every(n=>n),Ic=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IRequestBody",value:d}))&&ws(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IOperation.IRequestBody",value:d})}).every(n=>n)].every(n=>n),vc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:d}))&&kl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:d})}).every(n=>n)].every(n=>n),Ac=(e,r,o=!0)=>[e.type==="apiKey"||s(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),pc=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||s(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Oc=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||s(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||s(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),gc=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||s(o,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&hc(e.flows,r+".flows",o)||s(o,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),hc=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&Sc(e.authorizationCode,r+".authorizationCode",o)||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&uc(e.implicit,r+".implicit",o)||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||s(o,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Ns(e.password,r+".password",o)||s(o,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Ns(e.clientCredentials,r+".clientCredentials",o)||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(n=>n),Sc=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),uc=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),Ns=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),Vc=(e,r,o=!0)=>[e.type==="openIdConnect"||s(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||s(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Jc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:d}))&&Rs(d,r+y(n),o)||s(o,{path:r+y(n),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:d})}).every(n=>n)].every(n=>n),xc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_1.IExample",value:d}))&&xs(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_1.IExample",value:d})}).every(n=>n)].every(n=>n),jc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:d}))&&Ul(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:d})}).every(n=>n)].every(n=>n),wc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref})].every(n=>n),bc=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Mc=(e,r,o=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.2\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||s(o,{path:r+".openapi",expected:"`3.2.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n}))&&Io(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||s(o,{path:r+".info",expected:"(OpenApiV3_2.IDocument.IInfo | undefined)",value:e.info}))&&Cc(e.info,r+".info",o)||s(o,{path:r+".info",expected:"(OpenApiV3_2.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||s(o,{path:r+".components",expected:"(OpenApiV3_2.IComponents | undefined)",value:e.components}))&&Pc(e.components,r+".components",o)||s(o,{path:r+".components",expected:"(OpenApiV3_2.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_2.IPath> | undefined)",value:e.paths}))&&Ls(e.paths,r+".paths",o)||s(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_2.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||s(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>>.o1 | undefined)",value:e.webhooks}))&&hl(e.webhooks,r+".webhooks",o)||s(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>>.o1 | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3_2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3_2.IDocument.ITag",value:n}))&&ul(n,r+".tags["+d+"]",o)||s(o,{path:r+".tags["+d+"]",expected:"OpenApiV3_2.IDocument.ITag",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<OpenApiV3_2.IDocument.ITag> | undefined)",value:e.tags})].every(n=>n),Io=(e,r,o=!0)=>[typeof e.url=="string"||s(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_2.IServer.IVariable> | undefined)",value:e.variables}))&&Rc(e.variables,r+".variables",o)||s(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_2.IServer.IVariable> | undefined)",value:e.variables})].every(n=>n),Rc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3_2.IServer.IVariable",value:d}))&&Nc(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IServer.IVariable",value:d})}).every(n=>n)].every(n=>n),Nc=(e,r,o=!0)=>[typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||s(o,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((n,d)=>typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Cc=(e,r,o=!0)=>[typeof e.title=="string"||s(o,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||s(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||s(o,{path:r+".contact",expected:"(OpenApiV3_2.IDocument.IContact | undefined)",value:e.contact}))&&Lc(e.contact,r+".contact",o)||s(o,{path:r+".contact",expected:"(OpenApiV3_2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||s(o,{path:r+".license",expected:"(OpenApiV3_2.IDocument.ILicense | undefined)",value:e.license}))&&Tc(e.license,r+".license",o)||s(o,{path:r+".license",expected:"(OpenApiV3_2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||s(o,{path:r+".version",expected:"string",value:e.version})].every(n=>n),Lc=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(Le(e.email)||s(o,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||s(o,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(n=>n),Tc=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||s(o,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||s(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(n=>n),Pc=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.schemas}))&&vo(e.schemas,r+".schemas",o)||s(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.schemas}),e.pathItems===void 0||(typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1||s(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_2.IPath> | undefined)",value:e.pathItems}))&&Ls(e.pathItems,r+".pathItems",o)||s(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_2.IPath> | undefined)",value:e.pathItems}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_2.IOperation.IResponse> | undefined)",value:e.responses}))&&al(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_2.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_2.IOperation.IParameter> | undefined)",value:e.parameters}))&&dl(e.parameters,r+".parameters",o)||s(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_2.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_2.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&il(e.requestBodies,r+".requestBodies",o)||s(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_2.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_2.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&tl(e.securitySchemes,r+".securitySchemes",o)||s(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_2.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_2.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Ol(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_2.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_2.IExample> | undefined)",value:e.examples}))&&gl(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_2.IExample> | undefined)",value:e.examples})].every(n=>n),vo=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:d}))&&k(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:d})}).every(n=>n)].every(n=>n),Dc=(e,r,o=!0)=>[(Array.isArray(e.type)||s(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((n,d)=>n==="string"||n==="number"||n==="boolean"||n==="object"||n==="integer"||n==="array"||n==="null"||s(o,{path:r+".type["+d+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:n})).every(n=>n)||s(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}),e.default===null||e.default===void 0||Array.isArray(e.default)||s(o,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||s(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||s(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".items["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".items["+d+"]",o)||s(o,{path:r+".items["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&k(e.items,r+".items",o)||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items})||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_2.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".prefixItems["+d+"]",o)||s(o,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_2.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&k(e.additionalItems,r+".additionalItems",o)||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.properties}))&&vo(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&k(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".oneOf["+d+"]",o)||s(o,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||s(o,{path:r+".discriminator",expected:"(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Cs(e.discriminator,r+".discriminator",o)||s(o,{path:r+".discriminator",expected:"(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".anyOf["+d+"]",o)||s(o,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.allOf}))&&e.allOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".allOf["+d+"]",o)||s(o,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),kc=(e,r,o=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||s(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable})].every(n=>n),Uc=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||s(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="boolean"||s(o,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||s(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Ec=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(j(e.default)||s(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||s(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"&&(j(n)||s(o,{path:r+'["enum"]['+d+"]",expected:'number & Type<"int64">',value:n}))||s(o,{path:r+'["enum"]['+d+"]",expected:'((number & Type<"int64">) | null)',value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:'(Array<(number & Type<"int64">) | null> | undefined)',value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(j(e.minimum)||s(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||s(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(j(e.maximum)||s(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||s(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&(j(e.exclusiveMinimum)||s(o,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&(j(e.exclusiveMaximum)||s(o,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="integer"||s(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),$c=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||s(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="number"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||s(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||s(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||s(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||s(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||s(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||s(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||s(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Bc=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||s(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((n,d)=>n===null||typeof n=="string"||s(o,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:n})).every(n=>n)||s(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||s(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||s(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||s(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(S(e.minLength)||s(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||s(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(S(e.maxLength)||s(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||s(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||s(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),zc=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".items["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".items["+d+"]",o)||s(o,{path:r+".items["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&k(e.items,r+".items",o)||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items})||s(o,{path:r+".items",expected:"(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_2.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".prefixItems["+d+"]",o)||s(o,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_2.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||s(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&k(e.additionalItems,r+".additionalItems",o)||s(o,{path:r+".additionalItems",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(S(e.minItems)||s(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||s(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(S(e.maxItems)||s(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||s(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||s(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),qc=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||s(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.properties}))&&vo(e.properties,r+".properties",o)||s(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((n,d)=>typeof n=="string"||s(o,{path:r+".required["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&k(e.additionalProperties,r+".additionalProperties",o)||s(o,{path:r+".additionalProperties",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||s(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||s(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||s(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Fc=(e,r,o=!0)=>[typeof e.$ref=="string"||s(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(n=>n),Yc=(e,r,o=!0)=>[typeof e.$recursiveRef=="string"||s(o,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef})].every(n=>n),Gc=(e,r,o=!0)=>[(Array.isArray(e.allOf)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.allOf}))&&e.allOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".allOf["+d+"]",o)||s(o,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".allOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.allOf})].every(n=>n),Zc=(e,r,o=!0)=>[(Array.isArray(e.anyOf)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".anyOf["+d+"]",o)||s(o,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".anyOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.anyOf})].every(n=>n),Hc=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n}))&&k(n,r+".oneOf["+d+"]",o)||s(o,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:n})).every(n=>n)||s(o,{path:r+".oneOf",expected:"Array<OpenApiV3_2.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||s(o,{path:r+".discriminator",expected:"(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Cs(e.discriminator,r+".discriminator",o)||s(o,{path:r+".discriminator",expected:"(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator})].every(n=>n),Cs=(e,r,o=!0)=>[typeof e.propertyName=="string"||s(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||s(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(n=>n),Wc=(e,r,o=!0)=>[e.default===null||e.default===void 0||s(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||s(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Qc=(e,r,o=!0)=>[(e.type!==null||s(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||s(o,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||s(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||s(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||s(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(n=>n),Ls=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IPath",value:d}))&&Ts(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IPath",value:d})}).every(n=>n)].every(n=>n),Ts=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o2 | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_2.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_2.IOperation.IParameter)",value:n}))&&Ys(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_2.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_2.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o2 | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n}))&&Io(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.additionalOperations===void 0||(typeof e.additionalOperations=="object"&&e.additionalOperations!==null&&Array.isArray(e.additionalOperations)===!1||s(o,{path:r+".additionalOperations",expected:"(Record<string, OpenApiV3_2.IOperation> | undefined)",value:e.additionalOperations}))&&_c(e.additionalOperations,r+".additionalOperations",o)||s(o,{path:r+".additionalOperations",expected:"(Record<string, OpenApiV3_2.IOperation> | undefined)",value:e.additionalOperations}),e.query===void 0||(typeof e.query=="object"&&e.query!==null&&Array.isArray(e.query)===!1||s(o,{path:r+".query",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.query}))&&le(e.query,r+".query",o)||s(o,{path:r+".query",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.query}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||s(o,{path:r+".get",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.get}))&&le(e.get,r+".get",o)||s(o,{path:r+".get",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||s(o,{path:r+".post",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.post}))&&le(e.post,r+".post",o)||s(o,{path:r+".post",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||s(o,{path:r+".put",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.put}))&&le(e.put,r+".put",o)||s(o,{path:r+".put",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||s(o,{path:r+'["delete"]',expected:"(OpenApiV3_2.IOperation | undefined)",value:e.delete}))&&le(e.delete,r+'["delete"]',o)||s(o,{path:r+'["delete"]',expected:"(OpenApiV3_2.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||s(o,{path:r+".options",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.options}))&&le(e.options,r+".options",o)||s(o,{path:r+".options",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||s(o,{path:r+".head",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.head}))&&le(e.head,r+".head",o)||s(o,{path:r+".head",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||s(o,{path:r+".patch",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.patch}))&&le(e.patch,r+".patch",o)||s(o,{path:r+".patch",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||s(o,{path:r+".trace",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.trace}))&&le(e.trace,r+".trace",o)||s(o,{path:r+".trace",expected:"(OpenApiV3_2.IOperation | undefined)",value:e.trace})].every(n=>n),Ps=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||e.in==="querystring"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query" | "querystring")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:e.schema}))&&k(e.schema,r+".schema",o)||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples}))&&Ao(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples})].every(n=>n),Ao=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IExample | OpenApiV3_2.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d}))&&El(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IExample | OpenApiV3_2.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d})}).every(n=>n)].every(n=>n),Ds=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||s(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(n=>n),Kc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref})].every(n=>n),ks=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref})].every(n=>n),Xc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref})].every(n=>n),_c=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation",value:d}))&&le(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation",value:d})}).every(n=>n)].every(n=>n),le=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||s(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o2 | undefined)",value:e.parameters}))&&e.parameters.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_2.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_2.IOperation.IParameter)",value:n}))&&Ys(n,r+".parameters["+d+"]",o)||s(o,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_2.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_2.IOperation.IParameter)",value:n})).every(n=>n)||s(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o2 | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||s(o,{path:r+".requestBody",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_2.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&$l(e.requestBody,r+".requestBody",o)||s(o,{path:r+".requestBody",expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_2.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o2 | undefined)",value:e.responses}))&&ol(e.responses,r+".responses",o)||s(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o2 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}))&&e.servers.map((n,d)=>(typeof n=="object"&&n!==null||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n}))&&Io(n,r+".servers["+d+"]",o)||s(o,{path:r+".servers["+d+"]",expected:"OpenApiV3_2.IServer",value:n})).every(n=>n)||s(o,{path:r+".servers",expected:"(Array<OpenApiV3_2.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((n,d)=>(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n}))&&Ce(n,r+".security["+d+"]",o)||s(o,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:n})).every(n=>n)||s(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((n,d)=>typeof n=="string"||s(o,{path:r+".tags["+d+"]",expected:"string",value:n})).every(n=>n)||s(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||s(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(n=>n),Us=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_2.IOperation.IMediaType> | undefined)",value:e.content}))&&Es(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_2.IOperation.IMediaType> | undefined)",value:e.content})].every(n=>n),Es=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IMediaType",value:d}))&&el(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IMediaType",value:d})}).every(n=>n)].every(n=>n),el=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&k(e.schema,r+".schema",o)||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.schema}),e.itemSchema===void 0||(typeof e.itemSchema=="object"&&e.itemSchema!==null&&Array.isArray(e.itemSchema)===!1||s(o,{path:r+".itemSchema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.itemSchema}))&&k(e.itemSchema,r+".itemSchema",o)||s(o,{path:r+".itemSchema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",value:e.itemSchema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples}))&&Ao(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples})].every(n=>n),rl=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref})].every(n=>n),ol=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_2.IOperation.IResponse)",value:d}))&&Bl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_2.IOperation.IResponse)",value:d})}).every(n=>n)].every(n=>n),$s=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_2.IOperation.IMediaType> | undefined)",value:e.content}))&&Es(e.content,r+".content",o)||s(o,{path:r+".content",expected:"(Record<string, OpenApiV3_2.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||s(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">>.o1 | undefined)',value:e.headers}))&&sl(e.headers,r+".headers",o)||s(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">>.o1 | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),sl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3_2.IOperation.IParameter, "in"> | OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&zl(d,r+y(n),o)||s(o,{path:r+y(n),expected:'(Omit<OpenApiV3_2.IOperation.IParameter, "in"> | OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d})}).every(n=>n)].every(n=>n),Bs=(e,r,o=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples}))&&Ao(e.examples,r+".examples",o)||s(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o2 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:e.schema}))&&k(e.schema,r+".schema",o)||s(o,{path:r+".schema",expected:"(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||s(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(n=>n),nl=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref})].every(n=>n),al=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IResponse",value:d}))&&$s(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IResponse",value:d})}).every(n=>n)].every(n=>n),dl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IParameter",value:d}))&&Ps(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IParameter",value:d})}).every(n=>n)].every(n=>n),il=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IRequestBody",value:d}))&&Us(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IOperation.IRequestBody",value:d})}).every(n=>n)].every(n=>n),tl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:"(OpenApiV3_2.ISecurityScheme.IApiKey | OpenApiV3_2.ISecurityScheme.IHttpBasic | OpenApiV3_2.ISecurityScheme.IHttpBearer | OpenApiV3_2.ISecurityScheme.IOAuth2 | OpenApiV3_2.ISecurityScheme.IOpenId)",value:d}))&&ql(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_2.ISecurityScheme.IApiKey | OpenApiV3_2.ISecurityScheme.IHttpBasic | OpenApiV3_2.ISecurityScheme.IHttpBearer | OpenApiV3_2.ISecurityScheme.IOAuth2 | OpenApiV3_2.ISecurityScheme.IOpenId)",value:d})}).every(n=>n)].every(n=>n),cl=(e,r,o=!0)=>[e.type==="apiKey"||s(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||s(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||s(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),ll=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||s(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),ml=(e,r,o=!0)=>[e.type==="http"||s(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||s(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||s(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),fl=(e,r,o=!0)=>[e.type==="oauth2"||s(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||s(o,{path:r+".flows",expected:"OpenApiV3_2.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&yl(e.flows,r+".flows",o)||s(o,{path:r+".flows",expected:"OpenApiV3_2.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.oauth2MetadataUrl===void 0||typeof e.oauth2MetadataUrl=="string"||s(o,{path:r+".oauth2MetadataUrl",expected:"(string | undefined)",value:e.oauth2MetadataUrl}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),yl=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&Il(e.authorizationCode,r+".authorizationCode",o)||s(o,{path:r+".authorizationCode",expected:"(OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&vl(e.implicit,r+".implicit",o)||s(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||s(o,{path:r+".password",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&zs(e.password,r+".password",o)||s(o,{path:r+".password",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&zs(e.clientCredentials,r+".clientCredentials",o)||s(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_2.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}),e.deviceAuthorization===void 0||(typeof e.deviceAuthorization=="object"&&e.deviceAuthorization!==null||s(o,{path:r+".deviceAuthorization",expected:"(OpenApiV3_2.ISecurityScheme.IOAuth2.IDeviceFlow | undefined)",value:e.deviceAuthorization}))&&Al(e.deviceAuthorization,r+".deviceAuthorization",o)||s(o,{path:r+".deviceAuthorization",expected:"(OpenApiV3_2.ISecurityScheme.IOAuth2.IDeviceFlow | undefined)",value:e.deviceAuthorization})].every(n=>n),Il=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),vl=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||s(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),zs=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),Al=(e,r,o=!0)=>[typeof e.deviceAuthorizationUrl=="string"||s(o,{path:r+".deviceAuthorizationUrl",expected:"string",value:e.deviceAuthorizationUrl}),typeof e.tokenUrl=="string"||s(o,{path:r+".tokenUrl",expected:"string",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||s(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||s(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(n=>n),pl=(e,r,o=!0)=>[e.type==="openIdConnect"||s(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||s(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(n=>n),Ol=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null||s(o,{path:r+y(n),expected:'Omit<OpenApiV3_2.IOperation.IParameter, "in">',value:d}))&&Bs(d,r+y(n),o)||s(o,{path:r+y(n),expected:'Omit<OpenApiV3_2.IOperation.IParameter, "in">',value:d})}).every(n=>n)].every(n=>n),gl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"OpenApiV3_2.IExample",value:d}))&&Ds(d,r+y(n),o)||s(o,{path:r+y(n),expected:"OpenApiV3_2.IExample",value:d})}).every(n=>n)].every(n=>n),hl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(n=>{const d=e[n];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_2.IPath)",value:d}))&&Fl(d,r+y(n),o)||s(o,{path:r+y(n),expected:"(OpenApiV3_2.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_2.IPath)",value:d})}).every(n=>n)].every(n=>n),Sl=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||s(o,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref})].every(n=>n),ul=(e,r,o=!0)=>[typeof e.name=="string"||s(o,{path:r+".name",expected:"string",value:e.name}),e.summary===void 0||typeof e.summary=="string"||s(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||s(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.parent===void 0||typeof e.parent=="string"||s(o,{path:r+".parent",expected:"(string | undefined)",value:e.parent}),e.kind===void 0||typeof e.kind=="string"||s(o,{path:r+".kind",expected:"(string | undefined)",value:e.kind})].every(n=>n),ae=(e,r,o=!0)=>e.type==="boolean"?pi(e,r,o):e.type==="number"?gi(e,r,o):e.type==="integer"?Oi(e,r,o):e.type==="string"?hi(e,r,o):e.type==="array"?Si(e,r,o):e.type==="object"?ui(e,r,o):e.$ref!==void 0?Vi(e,r,o):e["x-anyOf"]!==void 0?Ji(e,r,o):e["x-oneOf"]!==void 0?xi(e,r,o):e.type==="null"?ji(e,r,o):wi(e,r,o),Vl=(e,r,o=!0)=>e.type==="boolean"?Qr(e,r,o):e.type==="number"?Xr(e,r,o):e.type==="integer"?Kr(e,r,o):e.type==="string"?_r(e,r,o):e.type==="array"?eo(e,r,o):e.type==="object"?ro(e,r,o):e["x-anyOf"]!==void 0?so(e,r,o):e["x-oneOf"]!==void 0?no(e,r,o):e.type==="null"?ao(e,r,o):e.schema!==void 0?to(e,r,o):oo(e,r,!1)||io(e,r,!1)||Ei(e,r,!1),Jl=(e,r,o=!0)=>e.type==="boolean"?Qr(e,r,o):e.type==="number"?Xr(e,r,o):e.type==="integer"?Kr(e,r,o):e.type==="string"?_r(e,r,o):e.type==="array"?eo(e,r,o):e.type==="object"?ro(e,r,o):e["x-anyOf"]!==void 0?so(e,r,o):e["x-oneOf"]!==void 0?no(e,r,o):e.type==="null"?ao(e,r,o):e.schema!==void 0?to(e,r,o):oo(e,r,!1)||io(e,r,!1)||Bi(e,r,!1),Je=(e,r,o=!0)=>e.type==="boolean"?Xi(e,r,o):e.type==="number"?et(e,r,o):e.type==="integer"?_i(e,r,o):e.type==="string"?rt(e,r,o):e.type==="array"?ot(e,r,o):e.type==="object"?st(e,r,o):e.$ref!==void 0?nt(e,r,o):e.allOf!==void 0?at(e,r,o):e.anyOf!==void 0?dt(e,r,o):e.oneOf!==void 0?it(e,r,o):e.type==="null"?ct(e,r,o):lt(e,r,o),qs=(e,r,o=!0)=>e.in!==void 0?Os(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Rt(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?ps(e,r,o):s(o,{path:r,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),$=(e,r,o=!0)=>Array.isArray(e.type)&&e.type.map((n,d)=>n==="string"||n==="number"||n==="boolean"||n==="object"||n==="integer"||n==="array"||n==="null").every(n=>n)?qt(e,r,o):e.type==="boolean"?Yt(e,r,o):e.type==="number"?Zt(e,r,o):e.type==="integer"?Gt(e,r,o):e.type==="string"?Ht(e,r,o):e.type==="array"?Wt(e,r,o):e.type==="object"?Qt(e,r,o):e.$recursiveRef!==void 0?Xt(e,r,o):e.type==="null"?oc(e,r,o):e.const!==void 0?Ft(e,r,o):e.$ref!==void 0?Kt(e,r,o):e.allOf!==void 0?_t(e,r,o):e.anyOf!==void 0?ec(e,r,o):e.oneOf!==void 0?rc(e,r,o):sc(e,r,o),Fs=(e,r,o=!0)=>e.in!==void 0?Js(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?ac(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?js(e,r,o):s(o,{path:r,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),k=(e,r,o=!0)=>Array.isArray(e.type)&&e.type.map((n,d)=>n==="string"||n==="number"||n==="boolean"||n==="object"||n==="integer"||n==="array"||n==="null").every(n=>n)?Dc(e,r,o):e.type==="boolean"?Uc(e,r,o):e.type==="number"?$c(e,r,o):e.type==="integer"?Ec(e,r,o):e.type==="string"?Bc(e,r,o):e.type==="array"?zc(e,r,o):e.type==="object"?qc(e,r,o):e.$recursiveRef!==void 0?Yc(e,r,o):e.type==="null"?Wc(e,r,o):e.const!==void 0?kc(e,r,o):e.$ref!==void 0?Fc(e,r,o):e.allOf!==void 0?Gc(e,r,o):e.anyOf!==void 0?Zc(e,r,o):e.oneOf!==void 0?Hc(e,r,o):Qc(e,r,o),Ys=(e,r,o=!0)=>e.in!==void 0?Ps(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Xc(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?ks(e,r,o):s(o,{path:r,expected:"(OpenApiV3_2.IOperation.IParameter | OpenApiV3_2.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),xl=(e,r,o=!0)=>e.type==="boolean"?Qr(e,r,o):e.type==="number"?Xr(e,r,o):e.type==="integer"?Kr(e,r,o):e.type==="string"?_r(e,r,o):e.type==="array"?eo(e,r,o):e.type==="object"?ro(e,r,o):e.$ref!==void 0?oo(e,r,o):e["x-anyOf"]!==void 0?so(e,r,o):e["x-oneOf"]!==void 0?no(e,r,o):e.type==="null"?ao(e,r,o):e.schema!==void 0?to(e,r,o):io(e,r,o),jl=(e,r,o=!0)=>e.type==="apiKey"?Ni(e,r,o):e.type==="basic"?Ci(e,r,o):e.flow==="implicit"?Li(e,r,o):e.flow==="accessCode"?Ti(e,r,o):e.flow==="application"?Di(e,r,o):e.flow==="password"?Pi(e,r,o):s(o,{path:r,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:e}),wl=(e,r,o=!0)=>e.$ref!==void 0?qi(e,r,o):ms(e,r,o),bl=(e,r,o=!0)=>e.$ref!==void 0?yt(e,r,o):vs(e,r,o),Ml=(e,r,o=!0)=>e.schema!==void 0?As(e,r,o):e.$ref!==void 0?ps(e,r,o):s(o,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Rl=(e,r,o=!0)=>e.type==="apiKey"?Ot(e,r,o):e.scheme==="basic"?gt(e,r,o):e.scheme==="bearer"?ht(e,r,o):e.type==="oauth2"?St(e,r,o):e.type==="openIdConnect"?xt(e,r,o):s(o,{path:r,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:e}),Nl=(e,r,o=!0)=>e.$ref!==void 0?Ct(e,r,o):gs(e,r,o),Cl=(e,r,o=!0)=>e.$ref!==void 0?Tt(e,r,o):ys(e,r,o),Ll=(e,r,o=!0)=>e.$ref!==void 0?nc(e,r,o):xs(e,r,o),Tl=(e,r,o=!0)=>e.$ref!==void 0?tc(e,r,o):ws(e,r,o),Pl=(e,r,o=!0)=>e.$ref!==void 0?mc(e,r,o):Ms(e,r,o),Dl=(e,r,o=!0)=>e.$ref!==void 0?js(e,r,o):e.schema!==void 0?Rs(e,r,o):s(o,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),kl=(e,r,o=!0)=>e.type==="apiKey"?Ac(e,r,o):e.scheme==="basic"?pc(e,r,o):e.scheme==="bearer"?Oc(e,r,o):e.type==="oauth2"?gc(e,r,o):e.type==="openIdConnect"?Vc(e,r,o):s(o,{path:r,expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:e}),Ul=(e,r,o=!0)=>e.$ref!==void 0?wc(e,r,o):Vs(e,r,o),El=(e,r,o=!0)=>e.$ref!==void 0?Kc(e,r,o):Ds(e,r,o),$l=(e,r,o=!0)=>e.$ref!==void 0?rl(e,r,o):Us(e,r,o),Bl=(e,r,o=!0)=>e.$ref!==void 0?nl(e,r,o):$s(e,r,o),zl=(e,r,o=!0)=>e.$ref!==void 0?ks(e,r,o):e.schema!==void 0?Bs(e,r,o):s(o,{path:r,expected:'(OpenApiV3_2.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_2.IOperation.IParameter, "in">)',value:e}),ql=(e,r,o=!0)=>e.type==="apiKey"?cl(e,r,o):e.scheme==="basic"?ll(e,r,o):e.scheme==="bearer"?ml(e,r,o):e.type==="oauth2"?fl(e,r,o):e.type==="openIdConnect"?pl(e,r,o):s(o,{path:r,expected:"(OpenApiV3_2.ISecurityScheme.IApiKey | OpenApiV3_2.ISecurityScheme.IHttpBasic | OpenApiV3_2.ISecurityScheme.IHttpBearer | OpenApiV3_2.ISecurityScheme.IOAuth2 | OpenApiV3_2.ISecurityScheme.IOpenId)",value:e}),Fl=(e,r,o=!0)=>e.$ref!==void 0?Sl(e,r,o):Ts(e,r,o),Yl=(e,r,o=!0)=>e.swagger!==void 0?yi(e,r,o):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?Yi(e,r,o):typeof e.openapi=="string"&&RegExp(/^3\.2\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Mc(e,r,o):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Dt(e,r,o):s(o,{path:r,expected:"(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_2.IDocument | OpenApiV3_1.IDocument)",value:e}),Gl=e=>typeof e=="object"&&e!==null&&fi(e);let Vr,s;return e=>{if(Gl(e)===!1){Vr=[],s=sm(Vr),((o,n,d=!0)=>(typeof o=="object"&&o!==null||s(!0,{path:n+"",expected:"(OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApiV3_2.IDocument | SwaggerV2.IDocument)",value:o}))&&Yl(o,n+"",!0)||s(!0,{path:n+"",expected:"(OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApiV3_2.IDocument | SwaggerV2.IDocument)",value:o}))(e,"$input",!0);const r=Vr.length===0;return r?{success:r,data:e}:{success:r,errors:Vr,data:e}}return{success:!0,data:e}}})()(A);if(O.success===!1){a.onChange(null,JSON.stringify(O.errors,null,2));return}else a.onChange(nm.upgradeDocument(O.data),null)}catch{a.onChange(null,v==="json"?"Invalid JSON file":"Invalid YAML file");return}l.length>1&&t([f])};return V.jsx(No,{defaultFiles:i,onFilesChange:c,acceptedType:".json, .yaml",getBase64:!1,multiFile:!1,maxUploadFiles:1,title:"Swagger file uploader",header:"Drag and drop a Swagger file here",buttonLabel:"Click Here",rightLabel:"to select swagger.json/yaml file",buttonRemoveLabel:"Clear"})}function rI(a){const[i,t]=L.useState("http://localhost:37001"),[c,l]=L.useState(JSON.stringify({Authorization:"YOUR_SERVER_API_KEY"},null,2)),[f,m]=L.useState(Ws.defaultConfig()),[I,v]=L.useState(null),[A,O]=L.useState(!1),p=oI(c),J=A===!0||p===null||I===null||i.length===0||f.apiKey.length===0||f.vendorModel.length===0,g=h=>{a.onError!=null?a.onError(h):alert(h)},M=(h,N)=>{v(h),N!==null&&g(N)},R=async()=>{if(I!==null){O(!0);try{const h={api:new im({apiKey:f.apiKey,baseURL:f.baseURL,dangerouslyAllowBrowser:!0}),model:f.vendorModel},N=new tm({vendor:h,controllers:[{protocol:"http",name:"main",application:cm.application({document:I}),connection:{host:i,headers:p}}]});a.onSuccess(V.jsx(lm,{agent:N}))}catch(h){g(h instanceof Error?h.message:"unknown error"),O(!1)}}};return V.jsxs("div",{style:a.style,children:[V.jsx(eI,{onChange:M}),V.jsx("br",{}),V.jsxs(am,{fullWidth:!0,children:[V.jsx(_,{variant:"h6",children:"HTTP Connection"}),V.jsx("br",{}),V.jsx(Qs,{onChange:h=>t(h.target.value),defaultValue:i,label:"Host URL",variant:"outlined",placeholder:"Server URL",error:i.length===0}),V.jsx("br",{}),V.jsx(dm,{children:" Headers "}),V.jsx(Qs,{fullWidth:!0,multiline:!0,defaultValue:c,onChange:h=>l(h.target.value),maxRows:10,error:p===null,helperText:p===null?"Invalid JSON format":void 0}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(_,{variant:"h6",children:"OpenAI Configuration"}),V.jsx("br",{}),V.jsx(Ws,{config:f,onChange:m}),V.jsx("br",{})]}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(Jo,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:J,onClick:()=>void R().catch(()=>{}),children:A?"Generating...":"Generate AI Chatbot"})]})}function oI(a){try{return JSON.parse(a)}catch{return null}}Hs(window.document.getElementById("root")).render(V.jsx(rI,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:a=>{Hs(window.document.getElementById("root")).render(a)}}));
|