@agentica/chat 0.34.1 → 0.35.0

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.
Files changed (33) hide show
  1. package/dist/assets/VendorConfigurationMovie-A3EDRuuv.js +3445 -0
  2. package/dist/assets/bbs/index-DJ2TSI_V.js +41 -0
  3. package/dist/assets/shopping/index.html-DwrDQLUl.js +3 -0
  4. package/dist/assets/uploader/index.html-qTzoYxoF.js +17 -0
  5. package/dist/bbs/index.html +2 -2
  6. package/dist/shopping/index.html +2 -2
  7. package/dist/uploader/index.html +2 -2
  8. package/lib/AgenticaChatApplication.d.ts +3 -4
  9. package/lib/examples/bbs/BbsChatApplication.d.ts +0 -2
  10. package/lib/examples/common/VendorConfigurationMovie.d.ts +0 -2
  11. package/lib/examples/shopping/ShoppingChatApplication.d.ts +1 -2
  12. package/lib/index.mjs +0 -3
  13. package/lib/index.mjs.map +1 -1
  14. package/lib/movies/AgenticaChatMovie.d.ts +3 -4
  15. package/lib/movies/messages/AgenticaChatDescribeMessageMovie.d.ts +3 -4
  16. package/lib/movies/messages/AgenticaChatExecuteMessageMovie.d.ts +3 -4
  17. package/lib/movies/messages/AgenticaChatMessageMovie.d.ts +3 -4
  18. package/lib/movies/messages/AgenticaChatSelectMessageMovie.d.ts +3 -4
  19. package/lib/movies/sides/AgenticaChatFunctionStackSideMovie.d.ts +3 -4
  20. package/lib/movies/sides/AgenticaChatSideMovie.d.ts +4 -6
  21. package/package.json +7 -7
  22. package/src/AgenticaChatApplication.tsx +3 -4
  23. package/src/movies/AgenticaChatMovie.tsx +11 -13
  24. package/src/movies/messages/AgenticaChatDescribeMessageMovie.tsx +4 -7
  25. package/src/movies/messages/AgenticaChatExecuteMessageMovie.tsx +5 -8
  26. package/src/movies/messages/AgenticaChatMessageMovie.tsx +4 -5
  27. package/src/movies/messages/AgenticaChatSelectMessageMovie.tsx +4 -5
  28. package/src/movies/sides/AgenticaChatFunctionStackSideMovie.tsx +5 -6
  29. package/src/movies/sides/AgenticaChatSideMovie.tsx +4 -11
  30. package/dist/assets/VendorConfigurationMovie-tzKQJFG0.js +0 -3472
  31. package/dist/assets/bbs/index-eyIvf1sH.js +0 -257
  32. package/dist/assets/shopping/index.html-g5SfdSPs.js +0 -3
  33. package/dist/assets/uploader/index.html-DguatLLq.js +0 -17
@@ -1,17 +0,0 @@
1
- import{q as Hi,v as Wi,w as Qi,r as C,x as Ki,y as ta,j as V,e as vr,a as Ir,g as Tr,c as te,u as ws,n as Pe,s as ie,z as mr,f as Pr,m as ia,A as Yo,C as Go,D as ps,E as Xi,F as _i,G as ec,H as Dr,I as Ms,b as rc,R as w,T as K,o as Zo}from"../client-B3aq8qpT.js";import{I as ca,P as Vs,u as Xe,g as sc,a as cr,B as Js,_ as oc,O as ac,V as Ho,F as dc,T as Wo,b as nc,c as lc,A as tc,H as ic,d as cc}from"../VendorConfigurationMovie-tzKQJFG0.js";import{_ as v}from"../_accessExpressionAsString-J5NhZ9FO.js";var ma={exports:{}},mc="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fc=mc,yc=fc;function fa(){}function ya(){}ya.resetWarningCache=fa;var vc=function(){function d(i,c,m,f,y,I){if(I!==yc){var g=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 g.name="Invariant Violation",g}}d.isRequired=d;function l(){return d}var t={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:l,element:d,elementType:d,instanceOf:l,node:d,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:ya,resetWarningCache:fa};return t.PropTypes=t,t};ma.exports=vc();var Ic=ma.exports;const j=Hi(Ic);function gc(d={}){const{themeId:l,defaultTheme:t,defaultClassName:i="MuiBox-root",generateClassName:c}=d,m=Wi("div",{shouldForwardProp:y=>y!=="theme"&&y!=="sx"&&y!=="as"})(Qi);return C.forwardRef(function(I,g){const p=Ki(t),{className:A,component:u="div",...h}=ta(I);return V.jsx(m,{as:u,ref:g,className:vr(A,c?c(i):i),theme:l&&p[l]||p,...h})})}function Ac(d){return Tr("MuiAlert",d)}const Qo=Ir("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),pc=te(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"),hc=te(V.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Oc=te(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"),xc=te(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"),Sc=te(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"),uc=d=>{const{variant:l,color:t,severity:i,classes:c}=d,m={root:["root",`color${mr(t||i)}`,`${l}${mr(t||i)}`,`${l}`],icon:["icon"],message:["message"],action:["action"]};return Pr(m,Ac,c)},Vc=ie(Vs,{name:"MuiAlert",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],l[`${t.variant}${mr(t.color||t.severity)}`]]}})(ia(({theme:d})=>{const l=d.palette.mode==="light"?Yo:Go,t=d.palette.mode==="light"?Go:Yo;return{...d.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(d.palette).filter(ps(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:d.vars?d.vars.palette.Alert[`${i}Color`]:l(d.palette[i].light,.6),backgroundColor:d.vars?d.vars.palette.Alert[`${i}StandardBg`]:t(d.palette[i].light,.9),[`& .${Qo.icon}`]:d.vars?{color:d.vars.palette.Alert[`${i}IconColor`]}:{color:d.palette[i].main}}})),...Object.entries(d.palette).filter(ps(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:d.vars?d.vars.palette.Alert[`${i}Color`]:l(d.palette[i].light,.6),border:`1px solid ${(d.vars||d).palette[i].light}`,[`& .${Qo.icon}`]:d.vars?{color:d.vars.palette.Alert[`${i}IconColor`]}:{color:d.palette[i].main}}})),...Object.entries(d.palette).filter(ps(["dark"])).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:{fontWeight:d.typography.fontWeightMedium,...d.vars?{color:d.vars.palette.Alert[`${i}FilledColor`],backgroundColor:d.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:d.palette.mode==="dark"?d.palette[i].dark:d.palette[i].main,color:d.palette.getContrastText(d.palette[i].main)}}}))]}})),Jc=ie("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(d,l)=>l.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),jc=ie("div",{name:"MuiAlert",slot:"Message",overridesResolver:(d,l)=>l.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),wc=ie("div",{name:"MuiAlert",slot:"Action",overridesResolver:(d,l)=>l.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ko={success:V.jsx(pc,{fontSize:"inherit"}),warning:V.jsx(hc,{fontSize:"inherit"}),error:V.jsx(Oc,{fontSize:"inherit"}),info:V.jsx(xc,{fontSize:"inherit"})},Mc=C.forwardRef(function(l,t){const i=ws({props:l,name:"MuiAlert"}),{action:c,children:m,className:f,closeText:y="Close",color:I,components:g={},componentsProps:p={},icon:A,iconMapping:u=Ko,onClose:h,role:R="alert",severity:N="success",slotProps:x={},slots:b={},variant:M="standard",...$}=i,z={...i,color:I,severity:N,variant:M,colorSeverity:I||N},O=uc(z),D={slots:{closeButton:g.CloseButton,closeIcon:g.CloseIcon,...b},slotProps:{...p,...x}},[W,ce]=Pe("root",{ref:t,shouldForwardComponentProp:!0,className:vr(O.root,f),elementType:Vc,externalForwardedProps:{...D,...$},ownerState:z,additionalProps:{role:R,elevation:0}}),[oe,X]=Pe("icon",{className:O.icon,elementType:Jc,externalForwardedProps:D,ownerState:z}),[ke,Ee]=Pe("message",{className:O.message,elementType:jc,externalForwardedProps:D,ownerState:z}),[be,Ue]=Pe("action",{className:O.action,elementType:wc,externalForwardedProps:D,ownerState:z}),[Be,$e]=Pe("closeButton",{elementType:ca,externalForwardedProps:D,ownerState:z}),[Z,k]=Pe("closeIcon",{elementType:Sc,externalForwardedProps:D,ownerState:z});return V.jsxs(W,{...ce,children:[A!==!1?V.jsx(oe,{...X,children:A||u[N]||Ko[N]}):null,V.jsx(ke,{...Ee,children:m}),c!=null?V.jsx(be,{...Ue,children:c}):null,c==null&&h?V.jsx(be,{...Ue,children:V.jsx(Be,{size:"small","aria-label":y,title:y,color:"inherit",onClick:h,...$e,children:V.jsx(Z,{fontSize:"small",...k})})}):null]})}),Rc=te(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 bc(d){return Tr("MuiAvatar",d)}Ir("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Nc=d=>{const{classes:l,variant:t,colorDefault:i}=d;return Pr({root:["root",t,i&&"colorDefault"],img:["img"],fallback:["fallback"]},bc,l)},Lc=ie("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],t.colorDefault&&l.colorDefault]}})(ia(({theme:d})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:d.typography.fontFamily,fontSize:d.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(d.vars||d).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(d.vars||d).palette.background.default,...d.vars?{backgroundColor:d.vars.palette.Avatar.defaultBg}:{backgroundColor:d.palette.grey[400],...d.applyStyles("dark",{backgroundColor:d.palette.grey[600]})}}}]}))),Cc=ie("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(d,l)=>l.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Tc=ie(Rc,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(d,l)=>l.fallback})({width:"75%",height:"75%"});function Pc({crossOrigin:d,referrerPolicy:l,src:t,srcSet:i}){const[c,m]=C.useState(!1);return C.useEffect(()=>{if(!t&&!i)return;m(!1);let f=!0;const y=new Image;return y.onload=()=>{f&&m("loaded")},y.onerror=()=>{f&&m("error")},y.crossOrigin=d,y.referrerPolicy=l,y.src=t,i&&(y.srcset=i),()=>{f=!1}},[d,l,t,i]),c}const Dc=C.forwardRef(function(l,t){const i=ws({props:l,name:"MuiAvatar"}),{alt:c,children:m,className:f,component:y="div",slots:I={},slotProps:g={},imgProps:p,sizes:A,src:u,srcSet:h,variant:R="circular",...N}=i;let x=null;const b={...i,component:y,variant:R},M=Pc({...p,...typeof g.img=="function"?g.img(b):g.img,src:u,srcSet:h}),$=u||h,z=$&&M!=="error";b.colorDefault=!z,delete b.ownerState;const O=Nc(b),[D,W]=Pe("img",{className:O.img,elementType:Cc,externalForwardedProps:{slots:I,slotProps:{img:{...p,...g.img}}},additionalProps:{alt:c,src:u,srcSet:h,sizes:A},ownerState:b});return z?x=V.jsx(D,{...W}):m||m===0?x=m:$&&c?x=c[0]:x=V.jsx(Tc,{ownerState:b,className:O.fallback}),V.jsx(Lc,{as:y,className:vr(O.root,f),ref:t,...N,ownerState:b,children:x})}),kc=Ir("MuiBox",["root"]),Ec=ec(),br=gc({themeId:_i,defaultTheme:Ec,defaultClassName:kc.root,generateClassName:Xi.generate}),Xo=C.createContext();function Uc(d){return Tr("MuiGrid",d)}const Bc=[0,1,2,3,4,5,6,7,8,9,10],$c=["column-reverse","column","row-reverse","row"],zc=["nowrap","wrap-reverse","wrap"],ir=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],fr=Ir("MuiGrid",["root","container","item","zeroMinWidth",...Bc.map(d=>`spacing-xs-${d}`),...$c.map(d=>`direction-xs-${d}`),...zc.map(d=>`wrap-xs-${d}`),...ir.map(d=>`grid-xs-${d}`),...ir.map(d=>`grid-sm-${d}`),...ir.map(d=>`grid-md-${d}`),...ir.map(d=>`grid-lg-${d}`),...ir.map(d=>`grid-xl-${d}`)]);function qc({theme:d,ownerState:l}){let t;return d.breakpoints.keys.reduce((i,c)=>{let m={};if(l[c]&&(t=l[c]),!t)return i;if(t===!0)m={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")m={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const f=Dr({values:l.columns,breakpoints:d.breakpoints.values}),y=typeof f=="object"?f[c]:f;if(y==null)return i;const I=`${Math.round(t/y*1e8)/1e6}%`;let g={};if(l.container&&l.item&&l.columnSpacing!==0){const p=d.spacing(l.columnSpacing);if(p!=="0px"){const A=`calc(${I} + ${p})`;g={flexBasis:A,maxWidth:A}}}m={flexBasis:I,flexGrow:0,maxWidth:I,...g}}return d.breakpoints.values[c]===0?Object.assign(i,m):i[d.breakpoints.up(c)]=m,i},{})}function Fc({theme:d,ownerState:l}){const t=Dr({values:l.direction,breakpoints:d.breakpoints.values});return Ms({theme:d},t,i=>{const c={flexDirection:i};return i.startsWith("column")&&(c[`& > .${fr.item}`]={maxWidth:"none"}),c})}function va({breakpoints:d,values:l}){let t="";Object.keys(l).forEach(c=>{t===""&&l[c]!==0&&(t=c)});const i=Object.keys(d).sort((c,m)=>d[c]-d[m]);return i.slice(0,i.indexOf(t))}function Yc({theme:d,ownerState:l}){const{container:t,rowSpacing:i}=l;let c={};if(t&&i!==0){const m=Dr({values:i,breakpoints:d.breakpoints.values});let f;typeof m=="object"&&(f=va({breakpoints:d.breakpoints.values,values:m})),c=Ms({theme:d},m,(y,I)=>{const g=d.spacing(y);return g!=="0px"?{marginTop:`calc(-1 * ${g})`,[`& > .${fr.item}`]:{paddingTop:g}}:f!=null&&f.includes(I)?{}:{marginTop:0,[`& > .${fr.item}`]:{paddingTop:0}}})}return c}function Gc({theme:d,ownerState:l}){const{container:t,columnSpacing:i}=l;let c={};if(t&&i!==0){const m=Dr({values:i,breakpoints:d.breakpoints.values});let f;typeof m=="object"&&(f=va({breakpoints:d.breakpoints.values,values:m})),c=Ms({theme:d},m,(y,I)=>{const g=d.spacing(y);if(g!=="0px"){const p=`calc(-1 * ${g})`;return{width:`calc(100% + ${g})`,marginLeft:p,[`& > .${fr.item}`]:{paddingLeft:g}}}return f!=null&&f.includes(I)?{}:{width:"100%",marginLeft:0,[`& > .${fr.item}`]:{paddingLeft:0}}})}return c}function Zc(d,l,t={}){if(!d||d<=0)return[];if(typeof d=="string"&&!Number.isNaN(Number(d))||typeof d=="number")return[t[`spacing-xs-${String(d)}`]];const i=[];return l.forEach(c=>{const m=d[c];Number(m)>0&&i.push(t[`spacing-${c}-${String(m)}`])}),i}const Hc=ie("div",{name:"MuiGrid",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d,{container:i,direction:c,item:m,spacing:f,wrap:y,zeroMinWidth:I,breakpoints:g}=t;let p=[];i&&(p=Zc(f,g,l));const A=[];return g.forEach(u=>{const h=t[u];h&&A.push(l[`grid-${u}-${String(h)}`])}),[l.root,i&&l.container,m&&l.item,I&&l.zeroMinWidth,...p,c!=="row"&&l[`direction-xs-${String(c)}`],y!=="wrap"&&l[`wrap-xs-${String(y)}`],...A]}})(({ownerState:d})=>({boxSizing:"border-box",...d.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...d.item&&{margin:0},...d.zeroMinWidth&&{minWidth:0},...d.wrap!=="wrap"&&{flexWrap:d.wrap}}),Fc,Yc,Gc,qc);function Wc(d,l){if(!d||d<=0)return[];if(typeof d=="string"&&!Number.isNaN(Number(d))||typeof d=="number")return[`spacing-xs-${String(d)}`];const t=[];return l.forEach(i=>{const c=d[i];if(Number(c)>0){const m=`spacing-${i}-${String(c)}`;t.push(m)}}),t}const Qc=d=>{const{classes:l,container:t,direction:i,item:c,spacing:m,wrap:f,zeroMinWidth:y,breakpoints:I}=d;let g=[];t&&(g=Wc(m,I));const p=[];I.forEach(u=>{const h=d[u];h&&p.push(`grid-${u}-${String(h)}`)});const A={root:["root",t&&"container",c&&"item",y&&"zeroMinWidth",...g,i!=="row"&&`direction-xs-${String(i)}`,f!=="wrap"&&`wrap-xs-${String(f)}`,...p]};return Pr(A,Uc,l)},hs=C.forwardRef(function(l,t){const i=ws({props:l,name:"MuiGrid"}),{breakpoints:c}=Xe(),m=ta(i),{className:f,columns:y,columnSpacing:I,component:g="div",container:p=!1,direction:A="row",item:u=!1,rowSpacing:h,spacing:R=0,wrap:N="wrap",zeroMinWidth:x=!1,...b}=m,M=h||R,$=I||R,z=C.useContext(Xo),O=p?y||12:z,D={},W={...b};c.keys.forEach(X=>{b[X]!=null&&(D[X]=b[X],delete W[X])});const ce={...m,columns:O,container:p,direction:A,item:u,rowSpacing:M,columnSpacing:$,wrap:N,zeroMinWidth:x,spacing:R,...D,breakpoints:c.keys},oe=Qc(ce);return V.jsx(Xo.Provider,{value:O,children:V.jsx(Hc,{ownerState:ce,className:vr(oe.root,f),as:g,ref:t,...W})})}),we=["xs","sm","md","lg","xl"],Kc=(d,l,t=!0)=>t?we.indexOf(d)<=we.indexOf(l):we.indexOf(d)<we.indexOf(l),Xc=(d,l,t=!1)=>t?we.indexOf(l)<=we.indexOf(d):we.indexOf(l)<we.indexOf(d),_c=(d={})=>l=>{const{withTheme:t=!1,noSSR:i=!1,initialWidth:c}=d;function m(f){const y=Xe(),I=f.theme||y,{initialWidth:g,width:p,...A}=sc({theme:I,name:"MuiWithWidth",props:f}),[u,h]=C.useState(!1);rc(()=>{h(!0)},[]);const N=I.breakpoints.keys.slice().reverse().reduce((b,M)=>{const $=cr(I.breakpoints.up(M));return!b&&$?M:b},null),x={width:p||(u||i?N:void 0)||g||c,...t?{theme:I}:{},...A};return x.width===void 0?null:V.jsx(l,{...x})}return m};function Ia(d){const{children:l,only:t,width:i}=d,c=Xe();let m=!0;if(t)if(Array.isArray(t))for(let f=0;f<t.length;f+=1){const y=t[f];if(i===y){m=!1;break}}else t&&i===t&&(m=!1);if(m)for(let f=0;f<c.breakpoints.keys.length;f+=1){const y=c.breakpoints.keys[f],I=d[`${y}Up`],g=d[`${y}Down`];if(I&&Kc(y,i)||g&&Xc(y,i)){m=!1;break}}return m?l:null}Ia.propTypes={children:j.node,lgDown:j.bool,lgUp:j.bool,mdDown:j.bool,mdUp:j.bool,only:j.oneOfType([j.oneOf(["xs","sm","md","lg","xl"]),j.arrayOf(j.oneOf(["xs","sm","md","lg","xl"]))]),smDown:j.bool,smUp:j.bool,width:j.string.isRequired,xlDown:j.bool,xlUp:j.bool,xsDown:j.bool,xsUp:j.bool};const em=_c()(Ia);function rm(d){return Tr("PrivateHiddenCss",d)}Ir("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const sm=d=>{const{classes:l,breakpoints:t}=d,i={root:["root",...t.map(({breakpoint:c,dir:m})=>m==="only"?`${m}${mr(c)}`:`${c}${mr(m)}`)]};return Pr(i,rm,l)},om=ie("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:d,ownerState:l})=>{const t={display:"none"};return{...l.breakpoints.map(({breakpoint:i,dir:c})=>c==="only"?{[d.breakpoints.only(i)]:t}:c==="up"?{[d.breakpoints.up(i)]:t}:{[d.breakpoints.down(i)]:t}).reduce((i,c)=>(Object.keys(c).forEach(m=>{i[m]=c[m]}),i),{})}});function am(d){const{children:l,className:t,only:i,...c}=d,m=Xe(),f=[];for(let g=0;g<m.breakpoints.keys.length;g+=1){const p=m.breakpoints.keys[g],A=c[`${p}Up`],u=c[`${p}Down`];A&&f.push({breakpoint:p,dir:"up"}),u&&f.push({breakpoint:p,dir:"down"})}i&&(Array.isArray(i)?i:[i]).forEach(p=>{f.push({breakpoint:p,dir:"only"})});const y={...d,breakpoints:f},I=sm(y);return V.jsx(om,{className:vr(I.root,t),ownerState:y,children:l})}function _o(d){const{implementation:l="js",lgDown:t=!1,lgUp:i=!1,mdDown:c=!1,mdUp:m=!1,smDown:f=!1,smUp:y=!1,xlDown:I=!1,xlUp:g=!1,xsDown:p=!1,xsUp:A=!1,...u}=d;return l==="js"?V.jsx(em,{lgDown:t,lgUp:i,mdDown:c,mdUp:m,smDown:f,smUp:y,xlDown:I,xlUp:g,xsDown:p,xsUp:A,...u}):V.jsx(am,{lgDown:t,lgUp:i,mdDown:c,mdUp:m,smDown:f,smUp:y,xlDown:I,xlUp:g,xsDown:p,xsUp:A,...u})}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function ga(d){return typeof d>"u"||d===null}function dm(d){return typeof d=="object"&&d!==null}function nm(d){return Array.isArray(d)?d:ga(d)?[]:[d]}function lm(d,l){var t,i,c,m;if(l)for(m=Object.keys(l),t=0,i=m.length;t<i;t+=1)c=m[t],d[c]=l[c];return d}function tm(d,l){var t="",i;for(i=0;i<l;i+=1)t+=d;return t}function im(d){return d===0&&Number.NEGATIVE_INFINITY===1/d}var cm=ga,mm=dm,fm=nm,ym=tm,vm=im,Im=lm,Y={isNothing:cm,isObject:mm,toArray:fm,repeat:ym,isNegativeZero:vm,extend:Im};function Aa(d,l){var t="",i=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(t+='in "'+d.mark.name+'" '),t+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!l&&d.mark.snippet&&(t+=`
2
-
3
- `+d.mark.snippet),i+" "+t):i}function yr(d,l){Error.call(this),this.name="YAMLException",this.reason=d,this.mark=l,this.message=Aa(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}yr.prototype=Object.create(Error.prototype);yr.prototype.constructor=yr;yr.prototype.toString=function(l){return this.name+": "+Aa(this,l)};var Ae=yr;function Os(d,l,t,i,c){var m="",f="",y=Math.floor(c/2)-1;return i-l>y&&(m=" ... ",l=i-y+m.length),t-i>y&&(f=" ...",t=i+y-f.length),{str:m+d.slice(l,t).replace(/\t/g,"→")+f,pos:i-l+m.length}}function xs(d,l){return Y.repeat(" ",l-d.length)+d}function gm(d,l){if(l=Object.create(l||null),!d.buffer)return null;l.maxLength||(l.maxLength=79),typeof l.indent!="number"&&(l.indent=1),typeof l.linesBefore!="number"&&(l.linesBefore=3),typeof l.linesAfter!="number"&&(l.linesAfter=2);for(var t=/\r?\n|\r|\0/g,i=[0],c=[],m,f=-1;m=t.exec(d.buffer);)c.push(m.index),i.push(m.index+m[0].length),d.position<=m.index&&f<0&&(f=i.length-2);f<0&&(f=i.length-1);var y="",I,g,p=Math.min(d.line+l.linesAfter,c.length).toString().length,A=l.maxLength-(l.indent+p+3);for(I=1;I<=l.linesBefore&&!(f-I<0);I++)g=Os(d.buffer,i[f-I],c[f-I],d.position-(i[f]-i[f-I]),A),y=Y.repeat(" ",l.indent)+xs((d.line-I+1).toString(),p)+" | "+g.str+`
4
- `+y;for(g=Os(d.buffer,i[f],c[f],d.position,A),y+=Y.repeat(" ",l.indent)+xs((d.line+1).toString(),p)+" | "+g.str+`
5
- `,y+=Y.repeat("-",l.indent+p+3+g.pos)+`^
6
- `,I=1;I<=l.linesAfter&&!(f+I>=c.length);I++)g=Os(d.buffer,i[f+I],c[f+I],d.position-(i[f]-i[f+I]),A),y+=Y.repeat(" ",l.indent)+xs((d.line+I+1).toString(),p)+" | "+g.str+`
7
- `;return y.replace(/\n$/,"")}var Am=gm,pm=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hm=["scalar","sequence","mapping"];function Om(d){var l={};return d!==null&&Object.keys(d).forEach(function(t){d[t].forEach(function(i){l[String(i)]=t})}),l}function xm(d,l){if(l=l||{},Object.keys(l).forEach(function(t){if(pm.indexOf(t)===-1)throw new Ae('Unknown option "'+t+'" is met in definition of "'+d+'" YAML type.')}),this.options=l,this.tag=d,this.kind=l.kind||null,this.resolve=l.resolve||function(){return!0},this.construct=l.construct||function(t){return t},this.instanceOf=l.instanceOf||null,this.predicate=l.predicate||null,this.represent=l.represent||null,this.representName=l.representName||null,this.defaultStyle=l.defaultStyle||null,this.multi=l.multi||!1,this.styleAliases=Om(l.styleAliases||null),hm.indexOf(this.kind)===-1)throw new Ae('Unknown kind "'+this.kind+'" is specified for "'+d+'" YAML type.')}var F=xm;function ea(d,l){var t=[];return d[l].forEach(function(i){var c=t.length;t.forEach(function(m,f){m.tag===i.tag&&m.kind===i.kind&&m.multi===i.multi&&(c=f)}),t[c]=i}),t}function Sm(){var d={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},l,t;function i(c){c.multi?(d.multi[c.kind].push(c),d.multi.fallback.push(c)):d[c.kind][c.tag]=d.fallback[c.tag]=c}for(l=0,t=arguments.length;l<t;l+=1)arguments[l].forEach(i);return d}function js(d){return this.extend(d)}js.prototype.extend=function(l){var t=[],i=[];if(l instanceof F)i.push(l);else if(Array.isArray(l))i=i.concat(l);else if(l&&(Array.isArray(l.implicit)||Array.isArray(l.explicit)))l.implicit&&(t=t.concat(l.implicit)),l.explicit&&(i=i.concat(l.explicit));else throw new Ae("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(m){if(!(m instanceof F))throw new Ae("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(m.loadKind&&m.loadKind!=="scalar")throw new Ae("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(m.multi)throw new Ae("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(m){if(!(m instanceof F))throw new Ae("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var c=Object.create(js.prototype);return c.implicit=(this.implicit||[]).concat(t),c.explicit=(this.explicit||[]).concat(i),c.compiledImplicit=ea(c,"implicit"),c.compiledExplicit=ea(c,"explicit"),c.compiledTypeMap=Sm(c.compiledImplicit,c.compiledExplicit),c};var um=js,Vm=new F("tag:yaml.org,2002:str",{kind:"scalar",construct:function(d){return d!==null?d:""}}),Jm=new F("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(d){return d!==null?d:[]}}),jm=new F("tag:yaml.org,2002:map",{kind:"mapping",construct:function(d){return d!==null?d:{}}}),wm=new um({explicit:[Vm,Jm,jm]});function Mm(d){if(d===null)return!0;var l=d.length;return l===1&&d==="~"||l===4&&(d==="null"||d==="Null"||d==="NULL")}function Rm(){return null}function bm(d){return d===null}var Nm=new F("tag:yaml.org,2002:null",{kind:"scalar",resolve:Mm,construct:Rm,predicate:bm,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Lm(d){if(d===null)return!1;var l=d.length;return l===4&&(d==="true"||d==="True"||d==="TRUE")||l===5&&(d==="false"||d==="False"||d==="FALSE")}function Cm(d){return d==="true"||d==="True"||d==="TRUE"}function Tm(d){return Object.prototype.toString.call(d)==="[object Boolean]"}var Pm=new F("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Lm,construct:Cm,predicate:Tm,represent:{lowercase:function(d){return d?"true":"false"},uppercase:function(d){return d?"TRUE":"FALSE"},camelcase:function(d){return d?"True":"False"}},defaultStyle:"lowercase"});function Dm(d){return 48<=d&&d<=57||65<=d&&d<=70||97<=d&&d<=102}function km(d){return 48<=d&&d<=55}function Em(d){return 48<=d&&d<=57}function Um(d){if(d===null)return!1;var l=d.length,t=0,i=!1,c;if(!l)return!1;if(c=d[t],(c==="-"||c==="+")&&(c=d[++t]),c==="0"){if(t+1===l)return!0;if(c=d[++t],c==="b"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(c!=="0"&&c!=="1")return!1;i=!0}return i&&c!=="_"}if(c==="x"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(!Dm(d.charCodeAt(t)))return!1;i=!0}return i&&c!=="_"}if(c==="o"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(!km(d.charCodeAt(t)))return!1;i=!0}return i&&c!=="_"}}if(c==="_")return!1;for(;t<l;t++)if(c=d[t],c!=="_"){if(!Em(d.charCodeAt(t)))return!1;i=!0}return!(!i||c==="_")}function Bm(d){var l=d,t=1,i;if(l.indexOf("_")!==-1&&(l=l.replace(/_/g,"")),i=l[0],(i==="-"||i==="+")&&(i==="-"&&(t=-1),l=l.slice(1),i=l[0]),l==="0")return 0;if(i==="0"){if(l[1]==="b")return t*parseInt(l.slice(2),2);if(l[1]==="x")return t*parseInt(l.slice(2),16);if(l[1]==="o")return t*parseInt(l.slice(2),8)}return t*parseInt(l,10)}function $m(d){return Object.prototype.toString.call(d)==="[object Number]"&&d%1===0&&!Y.isNegativeZero(d)}var zm=new F("tag:yaml.org,2002:int",{kind:"scalar",resolve:Um,construct:Bm,predicate:$m,represent:{binary:function(d){return d>=0?"0b"+d.toString(2):"-0b"+d.toString(2).slice(1)},octal:function(d){return d>=0?"0o"+d.toString(8):"-0o"+d.toString(8).slice(1)},decimal:function(d){return d.toString(10)},hexadecimal:function(d){return d>=0?"0x"+d.toString(16).toUpperCase():"-0x"+d.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),qm=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Fm(d){return!(d===null||!qm.test(d)||d[d.length-1]==="_")}function Ym(d){var l,t;return l=d.replace(/_/g,"").toLowerCase(),t=l[0]==="-"?-1:1,"+-".indexOf(l[0])>=0&&(l=l.slice(1)),l===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:l===".nan"?NaN:t*parseFloat(l,10)}var Gm=/^[-+]?[0-9]+e/;function Zm(d,l){var t;if(isNaN(d))switch(l){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===d)switch(l){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===d)switch(l){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Y.isNegativeZero(d))return"-0.0";return t=d.toString(10),Gm.test(t)?t.replace("e",".e"):t}function Hm(d){return Object.prototype.toString.call(d)==="[object Number]"&&(d%1!==0||Y.isNegativeZero(d))}var Wm=new F("tag:yaml.org,2002:float",{kind:"scalar",resolve:Fm,construct:Ym,predicate:Hm,represent:Zm,defaultStyle:"lowercase"}),Qm=wm.extend({implicit:[Nm,Pm,zm,Wm]}),Km=Qm,pa=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ha=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 Xm(d){return d===null?!1:pa.exec(d)!==null||ha.exec(d)!==null}function _m(d){var l,t,i,c,m,f,y,I=0,g=null,p,A,u;if(l=pa.exec(d),l===null&&(l=ha.exec(d)),l===null)throw new Error("Date resolve error");if(t=+l[1],i=+l[2]-1,c=+l[3],!l[4])return new Date(Date.UTC(t,i,c));if(m=+l[4],f=+l[5],y=+l[6],l[7]){for(I=l[7].slice(0,3);I.length<3;)I+="0";I=+I}return l[9]&&(p=+l[10],A=+(l[11]||0),g=(p*60+A)*6e4,l[9]==="-"&&(g=-g)),u=new Date(Date.UTC(t,i,c,m,f,y,I)),g&&u.setTime(u.getTime()-g),u}function ef(d){return d.toISOString()}var rf=new F("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Xm,construct:_m,instanceOf:Date,represent:ef});function sf(d){return d==="<<"||d===null}var of=new F("tag:yaml.org,2002:merge",{kind:"scalar",resolve:sf}),Rs=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
- \r`;function af(d){if(d===null)return!1;var l,t,i=0,c=d.length,m=Rs;for(t=0;t<c;t++)if(l=m.indexOf(d.charAt(t)),!(l>64)){if(l<0)return!1;i+=6}return i%8===0}function df(d){var l,t,i=d.replace(/[\r\n=]/g,""),c=i.length,m=Rs,f=0,y=[];for(l=0;l<c;l++)l%4===0&&l&&(y.push(f>>16&255),y.push(f>>8&255),y.push(f&255)),f=f<<6|m.indexOf(i.charAt(l));return t=c%4*6,t===0?(y.push(f>>16&255),y.push(f>>8&255),y.push(f&255)):t===18?(y.push(f>>10&255),y.push(f>>2&255)):t===12&&y.push(f>>4&255),new Uint8Array(y)}function nf(d){var l="",t=0,i,c,m=d.length,f=Rs;for(i=0;i<m;i++)i%3===0&&i&&(l+=f[t>>18&63],l+=f[t>>12&63],l+=f[t>>6&63],l+=f[t&63]),t=(t<<8)+d[i];return c=m%3,c===0?(l+=f[t>>18&63],l+=f[t>>12&63],l+=f[t>>6&63],l+=f[t&63]):c===2?(l+=f[t>>10&63],l+=f[t>>4&63],l+=f[t<<2&63],l+=f[64]):c===1&&(l+=f[t>>2&63],l+=f[t<<4&63],l+=f[64],l+=f[64]),l}function lf(d){return Object.prototype.toString.call(d)==="[object Uint8Array]"}var tf=new F("tag:yaml.org,2002:binary",{kind:"scalar",resolve:af,construct:df,predicate:lf,represent:nf}),cf=Object.prototype.hasOwnProperty,mf=Object.prototype.toString;function ff(d){if(d===null)return!0;var l=[],t,i,c,m,f,y=d;for(t=0,i=y.length;t<i;t+=1){if(c=y[t],f=!1,mf.call(c)!=="[object Object]")return!1;for(m in c)if(cf.call(c,m))if(!f)f=!0;else return!1;if(!f)return!1;if(l.indexOf(m)===-1)l.push(m);else return!1}return!0}function yf(d){return d!==null?d:[]}var vf=new F("tag:yaml.org,2002:omap",{kind:"sequence",resolve:ff,construct:yf}),If=Object.prototype.toString;function gf(d){if(d===null)return!0;var l,t,i,c,m,f=d;for(m=new Array(f.length),l=0,t=f.length;l<t;l+=1){if(i=f[l],If.call(i)!=="[object Object]"||(c=Object.keys(i),c.length!==1))return!1;m[l]=[c[0],i[c[0]]]}return!0}function Af(d){if(d===null)return[];var l,t,i,c,m,f=d;for(m=new Array(f.length),l=0,t=f.length;l<t;l+=1)i=f[l],c=Object.keys(i),m[l]=[c[0],i[c[0]]];return m}var pf=new F("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:gf,construct:Af}),hf=Object.prototype.hasOwnProperty;function Of(d){if(d===null)return!0;var l,t=d;for(l in t)if(hf.call(t,l)&&t[l]!==null)return!1;return!0}function xf(d){return d!==null?d:{}}var Sf=new F("tag:yaml.org,2002:set",{kind:"mapping",resolve:Of,construct:xf}),uf=Km.extend({implicit:[rf,of],explicit:[tf,vf,pf,Sf]}),Re=Object.prototype.hasOwnProperty,Nr=1,Oa=2,xa=3,Lr=4,Ss=1,Vf=2,ra=3,Jf=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,jf=/[\x85\u2028\u2029]/,wf=/[,\[\]\{\}]/,Sa=/^(?:!|!!|![a-z\-]+!)$/i,ua=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function sa(d){return Object.prototype.toString.call(d)}function le(d){return d===10||d===13}function De(d){return d===9||d===32}function G(d){return d===9||d===32||d===10||d===13}function We(d){return d===44||d===91||d===93||d===123||d===125}function Mf(d){var l;return 48<=d&&d<=57?d-48:(l=d|32,97<=l&&l<=102?l-97+10:-1)}function Rf(d){return d===120?2:d===117?4:d===85?8:0}function bf(d){return 48<=d&&d<=57?d-48:-1}function oa(d){return d===48?"\0":d===97?"\x07":d===98?"\b":d===116||d===9?" ":d===110?`
9
- `:d===118?"\v":d===102?"\f":d===114?"\r":d===101?"\x1B":d===32?" ":d===34?'"':d===47?"/":d===92?"\\":d===78?"…":d===95?" ":d===76?"\u2028":d===80?"\u2029":""}function Nf(d){return d<=65535?String.fromCharCode(d):String.fromCharCode((d-65536>>10)+55296,(d-65536&1023)+56320)}var Va=new Array(256),Ja=new Array(256);for(var He=0;He<256;He++)Va[He]=oa(He)?1:0,Ja[He]=oa(He);function Lf(d,l){this.input=d,this.filename=l.filename||null,this.schema=l.schema||uf,this.onWarning=l.onWarning||null,this.legacy=l.legacy||!1,this.json=l.json||!1,this.listener=l.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=d.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ja(d,l){var t={name:d.filename,buffer:d.input.slice(0,-1),position:d.position,line:d.line,column:d.position-d.lineStart};return t.snippet=Am(t),new Ae(l,t)}function S(d,l){throw ja(d,l)}function Cr(d,l){d.onWarning&&d.onWarning.call(null,ja(d,l))}var aa={YAML:function(l,t,i){var c,m,f;l.version!==null&&S(l,"duplication of %YAML directive"),i.length!==1&&S(l,"YAML directive accepts exactly one argument"),c=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),c===null&&S(l,"ill-formed argument of the YAML directive"),m=parseInt(c[1],10),f=parseInt(c[2],10),m!==1&&S(l,"unacceptable YAML version of the document"),l.version=i[0],l.checkLineBreaks=f<2,f!==1&&f!==2&&Cr(l,"unsupported YAML version of the document")},TAG:function(l,t,i){var c,m;i.length!==2&&S(l,"TAG directive accepts exactly two arguments"),c=i[0],m=i[1],Sa.test(c)||S(l,"ill-formed tag handle (first argument) of the TAG directive"),Re.call(l.tagMap,c)&&S(l,'there is a previously declared suffix for "'+c+'" tag handle'),ua.test(m)||S(l,"ill-formed tag prefix (second argument) of the TAG directive");try{m=decodeURIComponent(m)}catch{S(l,"tag prefix is malformed: "+m)}l.tagMap[c]=m}};function Me(d,l,t,i){var c,m,f,y;if(l<t){if(y=d.input.slice(l,t),i)for(c=0,m=y.length;c<m;c+=1)f=y.charCodeAt(c),f===9||32<=f&&f<=1114111||S(d,"expected valid JSON character");else Jf.test(y)&&S(d,"the stream contains non-printable characters");d.result+=y}}function da(d,l,t,i){var c,m,f,y;for(Y.isObject(t)||S(d,"cannot merge mappings; the provided source object is unacceptable"),c=Object.keys(t),f=0,y=c.length;f<y;f+=1)m=c[f],Re.call(l,m)||(l[m]=t[m],i[m]=!0)}function Qe(d,l,t,i,c,m,f,y,I){var g,p;if(Array.isArray(c))for(c=Array.prototype.slice.call(c),g=0,p=c.length;g<p;g+=1)Array.isArray(c[g])&&S(d,"nested arrays are not supported inside keys"),typeof c=="object"&&sa(c[g])==="[object Object]"&&(c[g]="[object Object]");if(typeof c=="object"&&sa(c)==="[object Object]"&&(c="[object Object]"),c=String(c),l===null&&(l={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(m))for(g=0,p=m.length;g<p;g+=1)da(d,l,m[g],t);else da(d,l,m,t);else!d.json&&!Re.call(t,c)&&Re.call(l,c)&&(d.line=f||d.line,d.lineStart=y||d.lineStart,d.position=I||d.position,S(d,"duplicated mapping key")),c==="__proto__"?Object.defineProperty(l,c,{configurable:!0,enumerable:!0,writable:!0,value:m}):l[c]=m,delete t[c];return l}function bs(d){var l;l=d.input.charCodeAt(d.position),l===10?d.position++:l===13?(d.position++,d.input.charCodeAt(d.position)===10&&d.position++):S(d,"a line break is expected"),d.line+=1,d.lineStart=d.position,d.firstTabInLine=-1}function B(d,l,t){for(var i=0,c=d.input.charCodeAt(d.position);c!==0;){for(;De(c);)c===9&&d.firstTabInLine===-1&&(d.firstTabInLine=d.position),c=d.input.charCodeAt(++d.position);if(l&&c===35)do c=d.input.charCodeAt(++d.position);while(c!==10&&c!==13&&c!==0);if(le(c))for(bs(d),c=d.input.charCodeAt(d.position),i++,d.lineIndent=0;c===32;)d.lineIndent++,c=d.input.charCodeAt(++d.position);else break}return t!==-1&&i!==0&&d.lineIndent<t&&Cr(d,"deficient indentation"),i}function kr(d){var l=d.position,t;return t=d.input.charCodeAt(l),!!((t===45||t===46)&&t===d.input.charCodeAt(l+1)&&t===d.input.charCodeAt(l+2)&&(l+=3,t=d.input.charCodeAt(l),t===0||G(t)))}function Ns(d,l){l===1?d.result+=" ":l>1&&(d.result+=Y.repeat(`
10
- `,l-1))}function Cf(d,l,t){var i,c,m,f,y,I,g,p,A=d.kind,u=d.result,h;if(h=d.input.charCodeAt(d.position),G(h)||We(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(c=d.input.charCodeAt(d.position+1),G(c)||t&&We(c)))return!1;for(d.kind="scalar",d.result="",m=f=d.position,y=!1;h!==0;){if(h===58){if(c=d.input.charCodeAt(d.position+1),G(c)||t&&We(c))break}else if(h===35){if(i=d.input.charCodeAt(d.position-1),G(i))break}else{if(d.position===d.lineStart&&kr(d)||t&&We(h))break;if(le(h))if(I=d.line,g=d.lineStart,p=d.lineIndent,B(d,!1,-1),d.lineIndent>=l){y=!0,h=d.input.charCodeAt(d.position);continue}else{d.position=f,d.line=I,d.lineStart=g,d.lineIndent=p;break}}y&&(Me(d,m,f,!1),Ns(d,d.line-I),m=f=d.position,y=!1),De(h)||(f=d.position+1),h=d.input.charCodeAt(++d.position)}return Me(d,m,f,!1),d.result?!0:(d.kind=A,d.result=u,!1)}function Tf(d,l){var t,i,c;if(t=d.input.charCodeAt(d.position),t!==39)return!1;for(d.kind="scalar",d.result="",d.position++,i=c=d.position;(t=d.input.charCodeAt(d.position))!==0;)if(t===39)if(Me(d,i,d.position,!0),t=d.input.charCodeAt(++d.position),t===39)i=d.position,d.position++,c=d.position;else return!0;else le(t)?(Me(d,i,c,!0),Ns(d,B(d,!1,l)),i=c=d.position):d.position===d.lineStart&&kr(d)?S(d,"unexpected end of the document within a single quoted scalar"):(d.position++,c=d.position);S(d,"unexpected end of the stream within a single quoted scalar")}function Pf(d,l){var t,i,c,m,f,y;if(y=d.input.charCodeAt(d.position),y!==34)return!1;for(d.kind="scalar",d.result="",d.position++,t=i=d.position;(y=d.input.charCodeAt(d.position))!==0;){if(y===34)return Me(d,t,d.position,!0),d.position++,!0;if(y===92){if(Me(d,t,d.position,!0),y=d.input.charCodeAt(++d.position),le(y))B(d,!1,l);else if(y<256&&Va[y])d.result+=Ja[y],d.position++;else if((f=Rf(y))>0){for(c=f,m=0;c>0;c--)y=d.input.charCodeAt(++d.position),(f=Mf(y))>=0?m=(m<<4)+f:S(d,"expected hexadecimal character");d.result+=Nf(m),d.position++}else S(d,"unknown escape sequence");t=i=d.position}else le(y)?(Me(d,t,i,!0),Ns(d,B(d,!1,l)),t=i=d.position):d.position===d.lineStart&&kr(d)?S(d,"unexpected end of the document within a double quoted scalar"):(d.position++,i=d.position)}S(d,"unexpected end of the stream within a double quoted scalar")}function Df(d,l){var t=!0,i,c,m,f=d.tag,y,I=d.anchor,g,p,A,u,h,R=Object.create(null),N,x,b,M;if(M=d.input.charCodeAt(d.position),M===91)p=93,h=!1,y=[];else if(M===123)p=125,h=!0,y={};else return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=y),M=d.input.charCodeAt(++d.position);M!==0;){if(B(d,!0,l),M=d.input.charCodeAt(d.position),M===p)return d.position++,d.tag=f,d.anchor=I,d.kind=h?"mapping":"sequence",d.result=y,!0;t?M===44&&S(d,"expected the node content, but found ','"):S(d,"missed comma between flow collection entries"),x=N=b=null,A=u=!1,M===63&&(g=d.input.charCodeAt(d.position+1),G(g)&&(A=u=!0,d.position++,B(d,!0,l))),i=d.line,c=d.lineStart,m=d.position,Ke(d,l,Nr,!1,!0),x=d.tag,N=d.result,B(d,!0,l),M=d.input.charCodeAt(d.position),(u||d.line===i)&&M===58&&(A=!0,M=d.input.charCodeAt(++d.position),B(d,!0,l),Ke(d,l,Nr,!1,!0),b=d.result),h?Qe(d,y,R,x,N,b,i,c,m):A?y.push(Qe(d,null,R,x,N,b,i,c,m)):y.push(N),B(d,!0,l),M=d.input.charCodeAt(d.position),M===44?(t=!0,M=d.input.charCodeAt(++d.position)):t=!1}S(d,"unexpected end of the stream within a flow collection")}function kf(d,l){var t,i,c=Ss,m=!1,f=!1,y=l,I=0,g=!1,p,A;if(A=d.input.charCodeAt(d.position),A===124)i=!1;else if(A===62)i=!0;else return!1;for(d.kind="scalar",d.result="";A!==0;)if(A=d.input.charCodeAt(++d.position),A===43||A===45)Ss===c?c=A===43?ra:Vf:S(d,"repeat of a chomping mode identifier");else if((p=bf(A))>=0)p===0?S(d,"bad explicit indentation width of a block scalar; it cannot be less than one"):f?S(d,"repeat of an indentation width identifier"):(y=l+p-1,f=!0);else break;if(De(A)){do A=d.input.charCodeAt(++d.position);while(De(A));if(A===35)do A=d.input.charCodeAt(++d.position);while(!le(A)&&A!==0)}for(;A!==0;){for(bs(d),d.lineIndent=0,A=d.input.charCodeAt(d.position);(!f||d.lineIndent<y)&&A===32;)d.lineIndent++,A=d.input.charCodeAt(++d.position);if(!f&&d.lineIndent>y&&(y=d.lineIndent),le(A)){I++;continue}if(d.lineIndent<y){c===ra?d.result+=Y.repeat(`
11
- `,m?1+I:I):c===Ss&&m&&(d.result+=`
12
- `);break}for(i?De(A)?(g=!0,d.result+=Y.repeat(`
13
- `,m?1+I:I)):g?(g=!1,d.result+=Y.repeat(`
14
- `,I+1)):I===0?m&&(d.result+=" "):d.result+=Y.repeat(`
15
- `,I):d.result+=Y.repeat(`
16
- `,m?1+I:I),m=!0,f=!0,I=0,t=d.position;!le(A)&&A!==0;)A=d.input.charCodeAt(++d.position);Me(d,t,d.position,!1)}return!0}function na(d,l){var t,i=d.tag,c=d.anchor,m=[],f,y=!1,I;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=m),I=d.input.charCodeAt(d.position);I!==0&&(d.firstTabInLine!==-1&&(d.position=d.firstTabInLine,S(d,"tab characters must not be used in indentation")),!(I!==45||(f=d.input.charCodeAt(d.position+1),!G(f))));){if(y=!0,d.position++,B(d,!0,-1)&&d.lineIndent<=l){m.push(null),I=d.input.charCodeAt(d.position);continue}if(t=d.line,Ke(d,l,xa,!1,!0),m.push(d.result),B(d,!0,-1),I=d.input.charCodeAt(d.position),(d.line===t||d.lineIndent>l)&&I!==0)S(d,"bad indentation of a sequence entry");else if(d.lineIndent<l)break}return y?(d.tag=i,d.anchor=c,d.kind="sequence",d.result=m,!0):!1}function Ef(d,l,t){var i,c,m,f,y,I,g=d.tag,p=d.anchor,A={},u=Object.create(null),h=null,R=null,N=null,x=!1,b=!1,M;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=A),M=d.input.charCodeAt(d.position);M!==0;){if(!x&&d.firstTabInLine!==-1&&(d.position=d.firstTabInLine,S(d,"tab characters must not be used in indentation")),i=d.input.charCodeAt(d.position+1),m=d.line,(M===63||M===58)&&G(i))M===63?(x&&(Qe(d,A,u,h,R,null,f,y,I),h=R=N=null),b=!0,x=!0,c=!0):x?(x=!1,c=!0):S(d,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),d.position+=1,M=i;else{if(f=d.line,y=d.lineStart,I=d.position,!Ke(d,t,Oa,!1,!0))break;if(d.line===m){for(M=d.input.charCodeAt(d.position);De(M);)M=d.input.charCodeAt(++d.position);if(M===58)M=d.input.charCodeAt(++d.position),G(M)||S(d,"a whitespace character is expected after the key-value separator within a block mapping"),x&&(Qe(d,A,u,h,R,null,f,y,I),h=R=N=null),b=!0,x=!1,c=!1,h=d.tag,R=d.result;else if(b)S(d,"can not read an implicit mapping pair; a colon is missed");else return d.tag=g,d.anchor=p,!0}else if(b)S(d,"can not read a block mapping entry; a multiline key may not be an implicit key");else return d.tag=g,d.anchor=p,!0}if((d.line===m||d.lineIndent>l)&&(x&&(f=d.line,y=d.lineStart,I=d.position),Ke(d,l,Lr,!0,c)&&(x?R=d.result:N=d.result),x||(Qe(d,A,u,h,R,N,f,y,I),h=R=N=null),B(d,!0,-1),M=d.input.charCodeAt(d.position)),(d.line===m||d.lineIndent>l)&&M!==0)S(d,"bad indentation of a mapping entry");else if(d.lineIndent<l)break}return x&&Qe(d,A,u,h,R,null,f,y,I),b&&(d.tag=g,d.anchor=p,d.kind="mapping",d.result=A),b}function Uf(d){var l,t=!1,i=!1,c,m,f;if(f=d.input.charCodeAt(d.position),f!==33)return!1;if(d.tag!==null&&S(d,"duplication of a tag property"),f=d.input.charCodeAt(++d.position),f===60?(t=!0,f=d.input.charCodeAt(++d.position)):f===33?(i=!0,c="!!",f=d.input.charCodeAt(++d.position)):c="!",l=d.position,t){do f=d.input.charCodeAt(++d.position);while(f!==0&&f!==62);d.position<d.length?(m=d.input.slice(l,d.position),f=d.input.charCodeAt(++d.position)):S(d,"unexpected end of the stream within a verbatim tag")}else{for(;f!==0&&!G(f);)f===33&&(i?S(d,"tag suffix cannot contain exclamation marks"):(c=d.input.slice(l-1,d.position+1),Sa.test(c)||S(d,"named tag handle cannot contain such characters"),i=!0,l=d.position+1)),f=d.input.charCodeAt(++d.position);m=d.input.slice(l,d.position),wf.test(m)&&S(d,"tag suffix cannot contain flow indicator characters")}m&&!ua.test(m)&&S(d,"tag name cannot contain such characters: "+m);try{m=decodeURIComponent(m)}catch{S(d,"tag name is malformed: "+m)}return t?d.tag=m:Re.call(d.tagMap,c)?d.tag=d.tagMap[c]+m:c==="!"?d.tag="!"+m:c==="!!"?d.tag="tag:yaml.org,2002:"+m:S(d,'undeclared tag handle "'+c+'"'),!0}function Bf(d){var l,t;if(t=d.input.charCodeAt(d.position),t!==38)return!1;for(d.anchor!==null&&S(d,"duplication of an anchor property"),t=d.input.charCodeAt(++d.position),l=d.position;t!==0&&!G(t)&&!We(t);)t=d.input.charCodeAt(++d.position);return d.position===l&&S(d,"name of an anchor node must contain at least one character"),d.anchor=d.input.slice(l,d.position),!0}function $f(d){var l,t,i;if(i=d.input.charCodeAt(d.position),i!==42)return!1;for(i=d.input.charCodeAt(++d.position),l=d.position;i!==0&&!G(i)&&!We(i);)i=d.input.charCodeAt(++d.position);return d.position===l&&S(d,"name of an alias node must contain at least one character"),t=d.input.slice(l,d.position),Re.call(d.anchorMap,t)||S(d,'unidentified alias "'+t+'"'),d.result=d.anchorMap[t],B(d,!0,-1),!0}function Ke(d,l,t,i,c){var m,f,y,I=1,g=!1,p=!1,A,u,h,R,N,x;if(d.listener!==null&&d.listener("open",d),d.tag=null,d.anchor=null,d.kind=null,d.result=null,m=f=y=Lr===t||xa===t,i&&B(d,!0,-1)&&(g=!0,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)),I===1)for(;Uf(d)||Bf(d);)B(d,!0,-1)?(g=!0,y=m,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)):y=!1;if(y&&(y=g||c),(I===1||Lr===t)&&(Nr===t||Oa===t?N=l:N=l+1,x=d.position-d.lineStart,I===1?y&&(na(d,x)||Ef(d,x,N))||Df(d,N)?p=!0:(f&&kf(d,N)||Tf(d,N)||Pf(d,N)?p=!0:$f(d)?(p=!0,(d.tag!==null||d.anchor!==null)&&S(d,"alias node should not have any properties")):Cf(d,N,Nr===t)&&(p=!0,d.tag===null&&(d.tag="?")),d.anchor!==null&&(d.anchorMap[d.anchor]=d.result)):I===0&&(p=y&&na(d,x))),d.tag===null)d.anchor!==null&&(d.anchorMap[d.anchor]=d.result);else if(d.tag==="?"){for(d.result!==null&&d.kind!=="scalar"&&S(d,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+d.kind+'"'),A=0,u=d.implicitTypes.length;A<u;A+=1)if(R=d.implicitTypes[A],R.resolve(d.result)){d.result=R.construct(d.result),d.tag=R.tag,d.anchor!==null&&(d.anchorMap[d.anchor]=d.result);break}}else if(d.tag!=="!"){if(Re.call(d.typeMap[d.kind||"fallback"],d.tag))R=d.typeMap[d.kind||"fallback"][d.tag];else for(R=null,h=d.typeMap.multi[d.kind||"fallback"],A=0,u=h.length;A<u;A+=1)if(d.tag.slice(0,h[A].tag.length)===h[A].tag){R=h[A];break}R||S(d,"unknown tag !<"+d.tag+">"),d.result!==null&&R.kind!==d.kind&&S(d,"unacceptable node kind for !<"+d.tag+'> tag; it should be "'+R.kind+'", not "'+d.kind+'"'),R.resolve(d.result,d.tag)?(d.result=R.construct(d.result,d.tag),d.anchor!==null&&(d.anchorMap[d.anchor]=d.result)):S(d,"cannot resolve a node with !<"+d.tag+"> explicit tag")}return d.listener!==null&&d.listener("close",d),d.tag!==null||d.anchor!==null||p}function zf(d){var l=d.position,t,i,c,m=!1,f;for(d.version=null,d.checkLineBreaks=d.legacy,d.tagMap=Object.create(null),d.anchorMap=Object.create(null);(f=d.input.charCodeAt(d.position))!==0&&(B(d,!0,-1),f=d.input.charCodeAt(d.position),!(d.lineIndent>0||f!==37));){for(m=!0,f=d.input.charCodeAt(++d.position),t=d.position;f!==0&&!G(f);)f=d.input.charCodeAt(++d.position);for(i=d.input.slice(t,d.position),c=[],i.length<1&&S(d,"directive name must not be less than one character in length");f!==0;){for(;De(f);)f=d.input.charCodeAt(++d.position);if(f===35){do f=d.input.charCodeAt(++d.position);while(f!==0&&!le(f));break}if(le(f))break;for(t=d.position;f!==0&&!G(f);)f=d.input.charCodeAt(++d.position);c.push(d.input.slice(t,d.position))}f!==0&&bs(d),Re.call(aa,i)?aa[i](d,i,c):Cr(d,'unknown document directive "'+i+'"')}if(B(d,!0,-1),d.lineIndent===0&&d.input.charCodeAt(d.position)===45&&d.input.charCodeAt(d.position+1)===45&&d.input.charCodeAt(d.position+2)===45?(d.position+=3,B(d,!0,-1)):m&&S(d,"directives end mark is expected"),Ke(d,d.lineIndent-1,Lr,!1,!0),B(d,!0,-1),d.checkLineBreaks&&jf.test(d.input.slice(l,d.position))&&Cr(d,"non-ASCII line breaks are interpreted as content"),d.documents.push(d.result),d.position===d.lineStart&&kr(d)){d.input.charCodeAt(d.position)===46&&(d.position+=3,B(d,!0,-1));return}if(d.position<d.length-1)S(d,"end of the stream or a document separator is expected");else return}function qf(d,l){d=String(d),l=l||{},d.length!==0&&(d.charCodeAt(d.length-1)!==10&&d.charCodeAt(d.length-1)!==13&&(d+=`
17
- `),d.charCodeAt(0)===65279&&(d=d.slice(1)));var t=new Lf(d,l),i=d.indexOf("\0");for(i!==-1&&(t.position=i,S(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;)zf(t);return t.documents}function Ff(d,l){var t=qf(d,l);if(t.length!==0){if(t.length===1)return t[0];throw new Ae("expected a single document in the stream, but found more")}}var Yf=Ff,Gf={load:Yf},Zf=Gf.load;const Hf=te(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"),Wf=te(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"),Qf=te(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"),Kf=te(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 H=function(){return H=Object.assign||function(l){for(var t,i=1,c=arguments.length;i<c;i++){t=arguments[i];for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(l[m]=t[m])}return l},H.apply(this,arguments)};function us(d,l,t){for(var i=0,c=l.length,m;i<c;i++)(m||!(i in l))&&(m||(m=Array.prototype.slice.call(l,0,i)),m[i]=l[i]);return d.concat(m||Array.prototype.slice.call(l))}var Xf="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 wa(d){var l=d.size,t=d.file,i=d.index,c=d.disabled,m=d.handleRemoveFile,f=Xe(),y=C.useRef(null),I=w.createElement(Kf,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(t.name)&&(I=w.createElement(Wf,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(t.name)&&(I=w.createElement(Qf,{color:"primary",fontSize:"large"})),w.createElement(w.Fragment,null,w.createElement(br,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:f.palette.action.hover}}},w.createElement(br,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},w.createElement(Dc,{alt:"",src:t.path,ref:y,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},I),w.createElement(K,{component:"div",sx:{display:"inline-grid",alignItems:"center"}},w.createElement(K,{variant:"body2",noWrap:!0},t.name),w.createElement(K,{variant:"caption",noWrap:!0},w.createElement(w.Fragment,null,w.createElement("b",null,l)," | ",w.createElement("b",null,t!=null&&t.extension?t.extension.toLowerCase():""))))),w.createElement(K,{component:"div",sx:{mr:-.5,textAlign:"right"}},w.createElement(ca,{disabled:c,onClick:function(g){return m(g,i)}},w.createElement(Hf,null)))))}wa.propTypes={size:j.string,file:j.object,disabled:j.bool,index:j.number.isRequired,handleRemoveFile:j.func.isRequired};var _f=ie(K)(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)"}}}),la=1024*1024;function Ls(d){var l=d.title,t=d.header,i=d.onError,c=d.disabled,m=d.imageSrc,f=d.getBase64,y=d.imageSrcAlt,I=d.multiFile,g=d.leftLabel,p=d.rightLabel,A=d.buttonLabel,u=d.maxFileSize,h=d.bannerProps,R=d.BannerProps,N=d.acceptedType,x=d.defaultFiles,b=d.onFilesChange,M=d.maxUploadFiles,$=M===void 0?0:M,z=d.containerProps,O=d.ContainerProps,D=d.onContextReady,W=d.showPlaceholderImage,ce=d.errorSizeMessage,oe=d.allowedExtensions,X=d.buttonRemoveLabel,ke=d.LabelsGridProps,Ee=d.PlaceholderGridProps,be=d.filesContainerHeight,Ue=d.maxFilesContainerHeight,Be=d.placeholderImageDimension,$e=d.PlaceholderImageDimension,Z=Xe(),k=H(H({},h),R),Er=H(H({},z),O),ze=H(H({},Be),$e),gr=ze.lg,Ar=ze.md,pr=ze.sm,hr=ze.xs,Or=C.useState(),xr=Or[0],ae=Or[1],Sr=C.useState(),Q=Sr[0],ur=Sr[1],_=C.useState(),Vr=_[0],Ne=_[1],Jr=C.useState([]),T=Jr[0],Le=Jr[1],me=C.useState([]),de=me[0],_e=me[1],fe=C.useRef(null),ne=C.useRef(null),er=C.useRef(null),pe={width:128,height:128};cr(Z.breakpoints.up("xs"))&&hr&&(pe=hr),cr(Z.breakpoints.up("sm"))&&pr&&(pe=pr),cr(Z.breakpoints.up("md"))&&Ar&&(pe=Ar),cr(Z.breakpoints.up("lg"))&&gr&&(pe=gr);var rr=function(L,P){if(Ne(!1),ae(null),!P&&L.target.files&&(P=L.target.files),(!P||P.length===0)&&i)return i("Empty file input"),!1;if($&&$-T.length<=0&&i){var ye="You cannot attach more than ".concat($," files");return ae(ye),i(ye),!1}if(window.File&&window.FileReader&&window.FileList&&window.Blob)try{for(var qr=function(ar){var ee=P[ar],wr=new FileReader,ve=ee.type.split("/")[1];if(u&&u>0&&ee.size>1048576*u){var Fe=ce||"The size of files cannot exceed ".concat(u,"Mb");return ae(Fe),i&&i(Fe),"continue"}if(oe&&oe.length>0){var dr=oe.findIndex(function(nr){return nr.toLowerCase()===ve.toLowerCase()})!==-1;if(!dr){var Ye="Extension .".concat(ve," has been excluded");return ae(Ye),i&&i(Ye),"continue"}}f||(de.push(ee),_e(de)),wr.addEventListener("load",function(){T.push({name:ee.name,size:ee.size,path:this.result,type:ee.type,contentType:ee.type,lastModified:ee.lastModified,extension:ve==null?void 0:ve.toLowerCase()}),Le(us([],T,!0))},!1),wr.readAsDataURL(ee)},or=0;or<(P==null?void 0:P.length);or++)qr(or);return L.target.value="",!0}catch(ar){return ae(ar.toString()),!1}return!1},sr=function(L,P){if(ae(null),fe.current&&(fe.current.value=""),typeof P!="number"){Le([]),_e([]);return}if(P<0||P>T.length-1)return console.error("item's index not found...");var ye=H({},T[P]);return T==null||T.splice(P,1),de==null||de.splice(P,1),Le(us([],T)),_e(us([],de)),ye},Ur=C.useCallback(function(L){L.preventDefault(),Ne(!0)},[]),qe=C.useCallback(function(L){L.stopPropagation(),L.preventDefault()},[]),Br=C.useCallback(function(L){var P;L.stopPropagation(),L.preventDefault(),Ne(!1),ur({event:L,files:(P=L.dataTransfer)===null||P===void 0?void 0:P.files})},[]),$r=C.useCallback(function(){Ne(!1)},[]),jr=function(){return{addFile:rr,removeFile:sr,input:fe.current,files:f?T:de}};C.useEffect(function(){fe.current&&D&&typeof D=="function"&&D(jr())},[fe.current]),C.useEffect(function(){var L=er.current;L&&!L.ondrop&&!c&&(L.ondrop=Br,L.ondragend=$r,L.ondragover=qe,L.ondragenter=Ur)},[er.current]),C.useEffect(function(){x&&x.length>0&&T.length!==x.length&&Le(x)},[x]),C.useEffect(function(){Q!=null&&Q.event&&(Q!=null&&Q.files)&&(rr(Q.event,Q.files),ur(null)),b&&(b(f?T:de),D&&D(jr()))},[T,Q]);var zr=Vr?Z.palette.secondary.light:Z.palette.primary.light;return w.createElement(w.Fragment,null,w.createElement(Vs,H({sx:{p:1},elevation:0,ref:er,variant:"outlined"},Er),w.createElement(K,{gutterBottom:!0,component:"div",color:"textSecondary",sx:{display:"flex"}},w.createElement(br,{sx:{flexGrow:1,fontSize:12}},l),(T==null?void 0:T.length)>0&&w.createElement(br,{sx:{fontSize:12}},T.length,$>0&&"/".concat($)," file",(T==null?void 0:T.length)>1&&"s"," joined")),w.createElement(Vs,H({elevation:0,sx:{p:1,transition:500,background:zr}},k),w.createElement(hs,{container:!0,spacing:2,alignItems:"center",justifyContent:"center"},W&&w.createElement(hs,H({item:!0,xs:12,sm:3,md:4,sx:{textAlign:"center",mt:{xs:-3,sm:2}}},Ee),w.createElement("img",{alt:y,src:m||Xf,width:pe.width,height:pe.height})),w.createElement(hs,H({item:!0,xs:12,sm:!0,md:!0,sx:{color:"#fff",textAlign:"center",mt:{xs:W?-4:0,sm:2}}},ke),w.createElement(_o,{smDown:!0},w.createElement(K,{variant:"h5"},w.createElement("b",null,t))),w.createElement(_o,{smUp:!0},w.createElement(K,{variant:"h6"},w.createElement("b",null,t))),w.createElement(K,{variant:"caption"},g,w.createElement(Js,{size:"small",color:"secondary",variant:"outlined",disabled:c,onClick:function(){var L;return(L=fe.current)===null||L===void 0?void 0:L.click()},sx:{m:.5,color:Z.palette.grey[50],borderColor:Z.palette.grey[50],"&:hover":{borderColor:Z.palette.grey[50]}}},A),p),w.createElement("input",{type:"file",ref:fe,onChange:function(L){return rr(L)},multiple:I,accept:N,style:{display:"none"}})))),xr&&w.createElement(Mc,{color:"error",severity:"error",sx:{mt:1},onClose:function(){return ae(null)}},xr),(T==null?void 0:T.length)>0&&w.createElement(w.Fragment,null,w.createElement(_f,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:be,maxHeight:Ue}},T==null?void 0:T.map(function(L,P){var ye=(L.size/1024).toFixed(2)+" Kb";return L.size>la&&(ye=(L.size/la).toFixed(2)+" Mb"),w.createElement(wa,{file:L,size:ye,index:P,disabled:c,key:"upload-file--".concat(P),handleRemoveFile:sr})})),w.createElement(K,{component:"div",align:"right",sx:{mt:1}},w.createElement(Js,{size:"small",disabled:c,onClick:sr,ref:ne},X||"Remove all")))))}Ls.propTypes={getBase64:j.bool,maxUploadFiles:j.number,title:j.string,header:j.string,leftLabel:j.string,rightLabel:j.string,buttonLabel:j.string,multiFile:j.bool,disabled:j.bool,defaultFiles:j.array,maxFileSize:j.number,maxFilesContainerHeight:j.number,errorSizeMessage:j.string,imageSrc:j.string,imageSrcAlt:j.string,acceptedType:j.string,bannerProps:j.object,BannerProps:j.object,containerProps:j.object,ContainerProps:j.object,allowedExtensions:j.array,onError:j.func,onContextReady:j.func,onFilesChange:j.func,showPlaceholderImage:j.bool,LabelsGridProps:j.object,PlaceholderGridProps:j.object,placeholderImageDimension:j.object,PlaceholderImageDimension:j.object};Ls.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 ey(d){const[l,t]=w.useState([]),i=async c=>{const m=c.at(-1);if(m===void 0){d.onChange(null,null);return}const f=await m.arrayBuffer(),y=new TextDecoder().decode(f),I=m.name.split(".").pop();try{const g=I==="json"?JSON.parse(y):Zf(y),p=(()=>{const A=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&&u(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&N(e.info))&&typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&M(e.components)&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Q(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&Q(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&er(r)))&&e["x-samchon-emended-v4"]===!0,u=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&&h(e.variables)),h=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&R(s)}),R=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"),N=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&&x(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&b(e.license))&&typeof e.version=="string",x=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"&&/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)),b=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),M=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&$(e.schemas))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Er(e.securitySchemes)),$=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ce(s)}),z=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),O=e=>Object.keys(e).every(r=>(e[r]===void 0,!0)),D=e=>(e.default===void 0||typeof e.default=="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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),W=e=>(e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),ce=e=>(e.default===void 0||typeof e.default=="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")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),oe=e=>(e.default===void 0||typeof e.default=="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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),X=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ce(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),ke=e=>e.type==="array"&&Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ce(r))&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&Ce(e.additionalItems))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Ee=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&$(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&&Ce(e.additionalProperties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),be=e=>typeof e.$ref=="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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Ue=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Vn(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Z(e.discriminator))&&(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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Be=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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),$e=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.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Z=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),k=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="string"}),Er=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&wn(s)}),ze=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"),gr=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Ar=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),pr=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&hr(e.flows)&&(e.description===void 0||typeof e.description=="string"),hr=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Or(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&xr(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&ae(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&ae(e.clientCredentials)),Or=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&&k(e.scopes)),xr=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&&k(e.scopes)),ae=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&&k(e.scopes)),Sr=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Q=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ur(s)}),ur=e=>(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&u(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&_(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&_(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&_(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&_(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&_(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&_(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&_(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&_(e.trace)),_=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&&Vr(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&T(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&de(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&u(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&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&(e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean")&&(e["x-samchon-accessor"]===void 0||Array.isArray(e["x-samchon-accessor"])&&e["x-samchon-accessor"].every(r=>typeof r=="string"))&&(e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"),Vr=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&&Ce(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&&Ne(e.examples)),Ne=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Jr(s)}),Jr=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"),T=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Le(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),Le=e=>(e["text/plain"]===void 0||typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1&&me(e["text/plain"]))&&(e["application/json"]===void 0||typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1&&me(e["application/json"]))&&(e["application/x-www-form-url-encoded"]===void 0||typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1&&me(e["application/x-www-form-url-encoded"]))&&(e["multipart/form-data"]===void 0||typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1&&me(e["multipart/form-data"]))&&(e["*/*"]===void 0||typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1&&me(e["*/*"]))&&Object.keys(e).every(r=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(a=>r===a))return!0;const s=e[r];return s===void 0?!0:s===void 0||typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&me(s)}),me=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ce(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Ne(e.examples)),de=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&_e(s)}),_e=e=>(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&fe(e.headers))&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Le(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),fe=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Vr(s)}),ne=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:Array.isArray(s)&&s.every(a=>typeof a=="string")}),er=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),pe=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&&rr(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&&qe(e.definitions))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&wr(e.parameters))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ma(e.responses))&&(e.securityDefinitions===void 0||typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1&&Ra(e.securityDefinitions))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Da(e.paths))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Ba(r))),rr=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&&sr(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Ur(e.license))&&typeof e.version=="string",sr=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"),Ur=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),qe=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&re(s)}),Br=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),$r=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(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"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(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"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),jr=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),zr=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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),L=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),P=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&qe(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&&re(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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),ye=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(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,qr=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(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,or=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(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,ar=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(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,ee=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(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,wr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Mn(s)}),ve=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Fe=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(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"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(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"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",dr=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Ye=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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",nr=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Fr=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&qe(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&&re(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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",lr=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(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&&typeof e.name=="string"&&typeof e.in=="string",Yr=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(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&&typeof e.name=="string"&&typeof e.in=="string",Gr=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(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&&typeof e.name=="string"&&typeof e.in=="string",Zr=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(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&&typeof e.name=="string"&&typeof e.in=="string",tr=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(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&&typeof e.name=="string"&&typeof e.in=="string",Hr=e=>typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&re(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"),Ma=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Cs(s)}),Cs=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&&qe(e.headers))&&(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&re(e.schema))&&!0,Ra=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Rn(s)}),ba=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"),Na=e=>e.type==="basic"&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),La=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&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ca=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&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ta=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&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Pa=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&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Da=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ka(s)}),ka=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Jn(r)))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&he(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&he(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&he(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&he(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&he(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&he(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&he(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&he(e.trace)),Ts=e=>typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(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,he=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&&jn(r)))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ea(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&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Ps=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(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,Ea=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&bn(s)}),Ua=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(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,Ba=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),$a=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&&Wr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&Fa(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Za(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Vd(e.paths))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&bd(r))),Wr=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&&za(e.variables)),za=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&qa(s)}),qa=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"),Fa=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&&Ya(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Ga(e.license))&&typeof e.version=="string",Ya=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"),Ga=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),Za=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Ds(e.schemas))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&ld(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&md(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&fd(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&yd(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Sd(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&ud(e.examples)),Ds=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ie(s)}),Ha=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Wa=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(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"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(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"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Qa=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Ka=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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Xa=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ie(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),_a=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&&Ds(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&&Ie(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),ed=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,rd=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,sd=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,od=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&ad(e.discriminator))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,ad=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),dd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),nd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),ld=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ks(s)}),ks=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Es(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&cd(e.headers))&&(e.description===void 0||typeof e.description=="string"),Es=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&td(s)}),td=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ie(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 s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Nn(s)}),Us=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"),id=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,cd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ln(s)}),Bs=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&&Ie(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),$s=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,md=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&zs(s)}),zs=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&&Ie(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)),fd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&qs(s)}),qs=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&&Es(e.content)),yd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Cn(s)}),vd=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"),Id=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),gd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Ad=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&pd(e.flows)&&(e.description===void 0||typeof e.description=="string"),pd=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&hd(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Od(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Fs(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Fs(e.clientCredentials)),hd=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&&k(e.scopes)),Od=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&&k(e.scopes)),Fs=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&&k(e.scopes)),xd=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Sd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Bs(s)}),ud=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Us(s)}),Vd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Jd(s)}),Jd=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&so(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(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)),jd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,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&&so(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Tn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Md(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(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&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),wd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Md=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Pn(s)}),Rd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,bd=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Nd=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&&Kr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&Td(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&kd(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Gs(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&xn(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&un(r))),Kr=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&&Ld(e.variables)),Ld=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Cd(s)}),Cd=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"),Td=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&&Pd(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Dd(e.license))&&typeof e.version=="string",Pd=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"),Dd=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),kd=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Xr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&Gs(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&nn(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&ln(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&tn(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&cn(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&hn(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&On(e.examples)),Xr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&E(s)}),Ed=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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.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.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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(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&&Xr(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&&Ys(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",Ud=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Bd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),$d=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(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"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),zd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),qd=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"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Fd=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"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Yd=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&&Xr(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Gd=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Zd=e=>typeof e.$recursiveRef=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Hd=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Wd=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Qd=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&&Ys(e.discriminator))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Ys=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),Kd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Xd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples)),Gs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Zs(s)}),Zs=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&oo(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&xe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&xe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&xe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&xe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&xe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&xe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&xe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&xe(e.trace)),Hs=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&&_r(e.examples)),_r=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Dn(s)}),Ws=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"),_d=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,Qs=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,en=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,xe=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&&oo(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&kn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&on(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(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&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Ks=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&&Xs(e.content)),Xs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&rn(s)}),rn=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&&_r(e.examples)),sn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,on=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&En(s)}),_s=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Xs(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&an(e.headers))&&(e.description===void 0||typeof e.description=="string"),an=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Un(s)}),eo=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&_r(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"),dn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,nn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&_s(s)}),ln=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Hs(s)}),tn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ks(s)}),cn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Bn(s)}),mn=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"),fn=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),yn=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),vn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&In(e.flows)&&(e.description===void 0||typeof e.description=="string"),In=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&gn(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&An(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&ro(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&ro(e.clientCredentials)),gn=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&&k(e.scopes)),An=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&&k(e.scopes)),ro=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&&k(e.scopes)),pn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),hn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&eo(s)}),On=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ws(s)}),xn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&$n(s)}),Sn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&O(e.examples))&&(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,un=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Ce=e=>e.const!==void 0?z(e):e.type==="boolean"?D(e):e.type==="number"?ce(e):e.type==="integer"?W(e):e.type==="string"?oe(e):e.items!==void 0?X(e):e.prefixItems!==void 0?ke(e):e.type==="object"?Ee(e):e.$ref!==void 0?be(e):e.oneOf!==void 0?Ue(e):e.type==="null"?Be(e):$e(e),Vn=e=>e.const!==void 0?z(e):e.type==="boolean"?D(e):e.type==="number"?ce(e):e.type==="integer"?W(e):e.type==="string"?oe(e):e.items!==void 0?X(e):e.prefixItems!==void 0?ke(e):e.type==="object"?Ee(e):e.$ref!==void 0?be(e):e.type==="null"?Be(e):$e(e),re=e=>e.type==="boolean"?Br(e):e.type==="number"?jr(e):e.type==="integer"?$r(e):e.type==="string"?zr(e):e.type==="array"?L(e):e.type==="object"?P(e):e.$ref!==void 0?ye(e):e["x-anyOf"]!==void 0?qr(e):e["x-oneOf"]!==void 0?or(e):e.type==="null"?ar(e):ee(e),Jn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):lr(e)?lr(e):tr(e)?tr(e):Ts(e)?Ts(e):!1,jn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):lr(e)?lr(e):tr(e)?tr(e):Ps(e)?Ps(e):!1,Ie=e=>e.type==="boolean"?Ha(e):e.type==="number"?Qa(e):e.type==="integer"?Wa(e):e.type==="string"?Ka(e):e.type==="array"?Xa(e):e.type==="object"?_a(e):e.$ref!==void 0?ed(e):e.allOf!==void 0?rd(e):e.anyOf!==void 0?sd(e):e.oneOf!==void 0?od(e):e.type==="null"?dd(e):nd(e),so=e=>e.in!==void 0?zs(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?jd(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?$s(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")?Ed(e):e.type==="boolean"?Bd(e):e.type==="number"?zd(e):e.type==="integer"?$d(e):e.type==="string"?qd(e):e.type==="array"?Fd(e):e.type==="object"?Yd(e):e.$recursiveRef!==void 0?Zd(e):e.type==="null"?Kd(e):e.const!==void 0?Ud(e):e.$ref!==void 0?Gd(e):e.allOf!==void 0?Hd(e):e.anyOf!==void 0?Wd(e):e.oneOf!==void 0?Qd(e):Xd(e),oo=e=>e.in!==void 0?Hs(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?en(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Qs(e):!1,wn=e=>e.type==="apiKey"?ze(e):e.scheme==="basic"?gr(e):e.scheme==="bearer"?Ar(e):e.type==="oauth2"?pr(e):e.type==="openIdConnect"?Sr(e):!1,Mn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e.$ref!==void 0?lr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):tr(e),Rn=e=>e.type==="apiKey"?ba(e):e.type==="basic"?Na(e):e.flow==="implicit"?La(e):e.flow==="accessCode"?Ca(e):e.flow==="application"?Pa(e):e.flow==="password"?Ta(e):!1,bn=e=>e.$ref!==void 0?Ua(e):Cs(e),Nn=e=>e.$ref!==void 0?id(e):Us(e),Ln=e=>e.schema!==void 0?Bs(e):e.$ref!==void 0?$s(e):!1,Cn=e=>e.type==="apiKey"?vd(e):e.scheme==="basic"?Id(e):e.scheme==="bearer"?gd(e):e.type==="oauth2"?Ad(e):e.type==="openIdConnect"?xd(e):!1,Tn=e=>e.$ref!==void 0?wd(e):qs(e),Pn=e=>e.$ref!==void 0?Rd(e):ks(e),Dn=e=>e.$ref!==void 0?_d(e):Ws(e),kn=e=>e.$ref!==void 0?sn(e):Ks(e),En=e=>e.$ref!==void 0?dn(e):_s(e),Un=e=>e.$ref!==void 0?Qs(e):e.schema!==void 0?eo(e):!1,Bn=e=>e.type==="apiKey"?mn(e):e.scheme==="basic"?fn(e):e.scheme==="bearer"?yn(e):e.type==="oauth2"?vn(e):e.type==="openIdConnect"?pn(e):!1,$n=e=>e.$ref!==void 0?Sn(e):Zs(e),zn=e=>e["x-samchon-emended-v4"]!==void 0?A(e):e.swagger!==void 0?pe(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))?$a(e):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Nd(e):!1,qn=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&es(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}))&&Gn(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}),(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||o(s,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}))&&Wn(e.components,r+".components",s)||o(s,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||o(s,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}))&&po(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}))&&po(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:a}))&&yl(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}),e["x-samchon-emended-v4"]===!0||o(s,{path:r+'["x-samchon-emended-v4"]',expected:"true",value:e["x-samchon-emended-v4"]})].every(a=>a),es=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables}))&&Fn(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Fn=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApi.IServer.IVariable",value:n}))&&Yn(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),Yn=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Gn=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}))&&Zn(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}))&&Hn(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Zn=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)||o(s,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||o(s,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(a=>a),Hn=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Wn=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}))&&ao(e.schemas,r+".schemas",s)||o(s,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Xn(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes})].every(a=>a),ao=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:n}))&&Te(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:n})}).every(a=>a)].every(a=>a),no=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),J=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>(e[a]===void 0,!0)).every(a=>a)].every(a=>a),lo=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | undefined)",value:e.default}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),to=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | undefined)',value:e.default}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{path:r+".exclusiveMaximum",expected:"(number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),io=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(number | undefined)",value:e.default}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{path:r+".exclusiveMaximum",expected:"(number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),co=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(string | undefined)",value:e.default}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),mo=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}))&&Te(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),fo=(e,r,s=!0)=>[e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),(Array.isArray(e.prefixItems)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a}))&&Te(a,r+".prefixItems["+n+"]",s)||o(s,{path:r+".prefixItems["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}),(e.additionalItems!==null||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&Te(e.additionalItems,r+".additionalItems",s)||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),yo=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}))&&ao(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Te(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),vo=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Qn=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a}))&&wi(a,r+".oneOf["+n+"]",s)||o(s,{path:r+".oneOf["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Kn(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Io=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),go=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Kn=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),q=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:typeof n=="string"||o(s,{path:r+v(a),expected:"string",value:n})}).every(a=>a)].every(a=>a),Xn=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n}))&&bi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),_n=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),el=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),rl=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),sl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&ol(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ol=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&al(e.authorizationCode,r+".authorizationCode",s)||o(s,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||o(s,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&dl(e.implicit,r+".implicit",s)||o(s,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||o(s,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Ao(e.password,r+".password",s)||o(s,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Ao(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),al=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),dl=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Ao=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),nl=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),po=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IPath",value:n}))&&ll(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IPath",value:n})}).every(a=>a)].every(a=>a),ll=(e,r,s=!0)=>[e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&es(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}))&&Se(e.get,r+".get",s)||o(s,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||o(s,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}))&&Se(e.post,r+".post",s)||o(s,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||o(s,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}))&&Se(e.put,r+".put",s)||o(s,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||o(s,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}))&&Se(e.delete,r+'["delete"]',s)||o(s,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||o(s,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}))&&Se(e.options,r+".options",s)||o(s,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||o(s,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}))&&Se(e.head,r+".head",s)||o(s,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||o(s,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}))&&Se(e.patch,r+".patch",s)||o(s,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace}))&&Se(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace})].every(a=>a),Se=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:a}))&&ho(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||o(s,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&il(e.requestBody,r+".requestBody",s)||o(s,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}))&&cl(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&es(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean"||o(s,{path:r+'["x-samchon-human"]',expected:"(boolean | undefined)",value:e["x-samchon-human"]}),e["x-samchon-accessor"]===void 0||(Array.isArray(e["x-samchon-accessor"])||o(s,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}))&&e["x-samchon-accessor"].map((a,n)=>typeof a=="string"||o(s,{path:r+'["x-samchon-accessor"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}),e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"||o(s,{path:r+'["x-samchon-controller"]',expected:"(string | undefined)",value:e["x-samchon-controller"]})].every(a=>a),ho=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}))&&Te(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&Oo(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),Oo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IExample",value:n}))&&tl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IExample",value:n})}).every(a=>a)].every(a=>a),tl=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),il=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&xo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),xo=(e,r,s=!0)=>[e["text/plain"]===void 0||(typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1||o(s,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}))&&Ge(e["text/plain"],r+'["text/plain"]',s)||o(s,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}),e["application/json"]===void 0||(typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1||o(s,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}))&&Ge(e["application/json"],r+'["application/json"]',s)||o(s,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}),e["application/x-www-form-url-encoded"]===void 0||(typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1||o(s,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}))&&Ge(e["application/x-www-form-url-encoded"],r+'["application/x-www-form-url-encoded"]',s)||o(s,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}),e["multipart/form-data"]===void 0||(typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1||o(s,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}))&&Ge(e["multipart/form-data"],r+'["multipart/form-data"]',s)||o(s,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}),e["*/*"]===void 0||(typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}))&&Ge(e["*/*"],r+'["*/*"]',s)||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}),s===!1||Object.keys(e).map(a=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(Ze=>a===Ze))return!0;const n=e[a];return n===void 0?!0:n===void 0||(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n}))&&Ge(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n})}).every(a=>a)].every(a=>a),Ge=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&Te(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&Oo(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),cl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IResponse",value:n}))&&ml(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),ml=(e,r,s=!0)=>[e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}))&&fl(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&xo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),fl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IParameter",value:n}))&&ho(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),ue=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(Array.isArray(n)||o(s,{path:r+v(a),expected:"Array<string>",value:n}))&&n.map((Ze,Zi)=>typeof Ze=="string"||o(s,{path:r+v(a)+"["+Zi+"]",expected:"string",value:Ze})).every(Ze=>Ze)||o(s,{path:r+v(a),expected:"Array<string>",value:n})}).every(a=>a)].every(a=>a),yl=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),vl=(e,r,s=!0)=>[(e.swagger!==null||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger!==void 0||o(s,{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)||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger})),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}))&&Il(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}),e.host===void 0||typeof e.host=="string"||o(s,{path:r+".host",expected:"(string | undefined)",value:e.host}),e.basePath===void 0||typeof e.basePath=="string"||o(s,{path:r+".basePath",expected:"(string | undefined)",value:e.basePath}),e.consumes===void 0||(Array.isArray(e.consumes)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}))&&e.consumes.map((a,n)=>typeof a=="string"||o(s,{path:r+".consumes["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}),e.produces===void 0||(Array.isArray(e.produces)||o(s,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}))&&e.produces.map((a,n)=>typeof a=="string"||o(s,{path:r+".produces["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}))&&Mr(e.definitions,r+".definitions",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}))&&Rl(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}))&&bl(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}))&&Nl(e.securityDefinitions,r+".securityDefinitions",s)||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}))&&El(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:a}))&&Fl(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),Il=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}))&&gl(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}))&&Al(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),gl=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Al=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Mr=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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}))&&se(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),pl=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),hl=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Ol=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),xl=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Sl=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&se(e.items,r+".items",s)||o(s,{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"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),ul=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Mr(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&se(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Vl=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Jl=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-anyOf"]['+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:a}))&&se(a,r+'["x-anyOf"]['+n+"]",s)||o(s,{path:r+'["x-anyOf"]['+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:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),jl=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-oneOf"]['+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:a}))&&se(a,r+'["x-oneOf"]['+n+"]",s)||o(s,{path:r+'["x-oneOf"]['+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:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),wl=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ml=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Rl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),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:n}))&&Ni(n,r+v(a),s)||o(s,{path:r+v(a),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:n})}).every(a=>a)].every(a=>a),rs=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ss=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),os=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),as=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ds=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&se(e.items,r+".items",s)||o(s,{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"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ns=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Mr(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&se(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ls=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ts=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-anyOf"]['+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:a}))&&se(a,r+'["x-anyOf"]['+n+"]",s)||o(s,{path:r+'["x-anyOf"]['+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:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),is=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-oneOf"]['+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:a}))&&se(a,r+'["x-oneOf"]['+n+"]",s)||o(s,{path:r+'["x-oneOf"]['+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:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),cs=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ms=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),fs=(e,r,s=!0)=>[(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&se(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),bl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"SwaggerV2.IOperation.IResponse",value:n}))&&So(n,r+v(a),s)||o(s,{path:r+v(a),expected:"SwaggerV2.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),So=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}))&&Mr(e.headers,r+".headers",s)||o(s,{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||o(s,{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}))&&se(e.schema,r+".schema",s)||o(s,{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(a=>a),Nl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n}))&&Li(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n})}).every(a=>a)].every(a=>a),Ll=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Cl=(e,r,s=!0)=>[e.type==="basic"||o(s,{path:r+".type",expected:'"basic"',value:e.type}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Tl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="implicit"||o(s,{path:r+".flow",expected:'"implicit"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Pl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="accessCode"||o(s,{path:r+".flow",expected:'"accessCode"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Dl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="password"||o(s,{path:r+".flow",expected:'"password"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),kl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="application"||o(s,{path:r+".flow",expected:'"application"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),El=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"SwaggerV2.IPath",value:n}))&&Ul(n,r+v(a),s)||o(s,{path:r+v(a),expected:"SwaggerV2.IPath",value:n})}).every(a=>a)].every(a=>a),Ul=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+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.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a}))&&Mi(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+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.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}))&&Ve(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}))&&Ve(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}))&&Ve(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}))&&Ve(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}))&&Ve(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}))&&Ve(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}))&&Ve(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace}))&&Ve(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace})].every(a=>a),Bl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ve=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+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.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a}))&&Ri(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+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.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}))&&zl(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),$l=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),zl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n}))&&Ci(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),ql=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/responses/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Fl=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Yl=(e,r,s=!0)=>[(e.openapi!==null||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi!==void 0||o(s,{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)||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi})),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ys(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}))&&Hl(e.info,r+".info",s)||o(s,{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||o(s,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}))&&Kl(e.components,r+".components",s)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}))&&Mt(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:a}))&&Tt(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),ys=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables}))&&Gl(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Gl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3.IServer.IVariable",value:n}))&&Zl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),Zl=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Hl=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}))&&Wl(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}))&&Ql(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Wl=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Ql=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Kl=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}))&&uo(e.schemas,r+".schemas",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}))&&mt(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}))&&It(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&gt(e.requestBodies,r+".requestBodies",s)||o(s,{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||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&At(e.securitySchemes,r+".securitySchemes",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&jt(e.headers,r+".headers",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples}))&&wt(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(a=>a),uo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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}))&&ge(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),Xl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),_l=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),et=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),rt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),st=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&ge(e.items,r+".items",s)||o(s,{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"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),ot=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}))&&uo(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&ge(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),at=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),dt=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+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:a}))&&ge(a,r+".allOf["+n+"]",s)||o(s,{path:r+".allOf["+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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),nt=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+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:a}))&&ge(a,r+".anyOf["+n+"]",s)||o(s,{path:r+".anyOf["+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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),lt=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+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:a}))&&ge(a,r+".oneOf["+n+"]",s)||o(s,{path:r+".oneOf["+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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&tt(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),tt=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),it=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),ct=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),mt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IResponse",value:n}))&&Vo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),Vo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Jo(e.content,r+".content",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}))&&vt(e.headers,r+".headers",s)||o(s,{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"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Jo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IMediaType",value:n}))&&ft(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IMediaType",value:n})}).every(a=>a)].every(a=>a),ft=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&ge(e.schema,r+".schema",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),vs=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&Ti(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(a=>a)].every(a=>a),jo=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),yt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),vt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&Pi(n,r+v(a),s)||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(a=>a)].every(a=>a),wo=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&ge(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),Mo=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),It=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IParameter",value:n}))&&Ro(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),Ro=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&ge(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),gt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IRequestBody",value:n}))&&bo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IRequestBody",value:n})}).every(a=>a)].every(a=>a),bo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{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||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Jo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),At=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n}))&&Di(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),pt=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ht=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ot=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),xt=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&St(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),St=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&ut(e.authorizationCode,r+".authorizationCode",s)||o(s,{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||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&Vt(e.implicit,r+".implicit",s)||o(s,{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||o(s,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&No(e.password,r+".password",s)||o(s,{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||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&No(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),ut=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Vt=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),No=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Jt=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),jt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n}))&&wo(n,r+v(a),s)||o(s,{path:r+v(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n})}).every(a=>a)].every(a=>a),wt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IExample",value:n}))&&jo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IExample",value:n})}).every(a=>a)].every(a=>a),Mt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IPath",value:n}))&&Rt(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IPath",value:n})}).every(a=>a)].every(a=>a),Rt=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&qo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ys(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}))&&Je(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}))&&Je(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}))&&Je(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}))&&Je(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}))&&Je(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}))&&Je(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}))&&Je(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace}))&&Je(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace})].every(a=>a),bt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Je=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&qo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&ki(e.requestBody,r+".requestBody",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}))&&Lt(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ys(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),Nt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Lt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n}))&&Ei(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),Ct=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Tt=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Pt=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&Is(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}))&&Et(e.info,r+".info",s)||o(s,{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||o(s,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}))&&$t(e.components,r+".components",s)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}))&&Co(e.paths,r+".paths",s)||o(s,{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||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}))&&Vi(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a}))&&ji(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),Is=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables}))&&Dt(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Dt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3_1.IServer.IVariable",value:n}))&&kt(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),kt=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||o(s,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Et=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}))&&Ut(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}))&&Bt(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Ut=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Bt=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),$t=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}))&&gs(e.schemas,r+".schemas",s)||o(s,{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||o(s,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}))&&Co(e.pathItems,r+".pathItems",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}))&&ci(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}))&&mi(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&fi(e.requestBodies,r+".requestBodies",s)||o(s,{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||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&yi(e.securitySchemes,r+".securitySchemes",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Si(e.headers,r+".headers",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples}))&&ui(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples})].every(a=>a),gs=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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}))&&U(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),zt=(e,r,s=!0)=>[(Array.isArray(e.type)||o(s,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((a,n)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null"||o(s,{path:r+".type["+n+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||o(s,{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((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".items["+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:a}))&&U(a,r+".items["+n+"]",s)||o(s,{path:r+".items["+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:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",s)||o(s,{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})||o(s,{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)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+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:a}))&&U(a,r+".prefixItems["+n+"]",s)||o(s,{path:r+".prefixItems["+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:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{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||o(s,{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}))&&U(e.additionalItems,r+".additionalItems",s)||o(s,{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"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&gs(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&U(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+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:a}))&&U(a,r+".oneOf["+n+"]",s)||o(s,{path:r+".oneOf["+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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Lo(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+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:a}))&&U(a,r+".anyOf["+n+"]",s)||o(s,{path:r+".anyOf["+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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+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:a}))&&U(a,r+".allOf["+n+"]",s)||o(s,{path:r+".allOf["+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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref})].every(a=>a),qt=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ft=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Yt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&(Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||o(s,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&(Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||o(s,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Gt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Zt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Ht=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||o(s,{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((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".items["+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:a}))&&U(a,r+".items["+n+"]",s)||o(s,{path:r+".items["+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:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",s)||o(s,{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})||o(s,{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)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+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:a}))&&U(a,r+".prefixItems["+n+"]",s)||o(s,{path:r+".prefixItems["+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:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{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||o(s,{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}))&&U(e.additionalItems,r+".additionalItems",s)||o(s,{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"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Wt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&gs(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&U(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Qt=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Kt=(e,r,s=!0)=>[typeof e.$recursiveRef=="string"||o(s,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Xt=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+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:a}))&&U(a,r+".allOf["+n+"]",s)||o(s,{path:r+".allOf["+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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),_t=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+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:a}))&&U(a,r+".anyOf["+n+"]",s)||o(s,{path:r+".anyOf["+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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ei=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+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:a}))&&U(a,r+".oneOf["+n+"]",s)||o(s,{path:r+".oneOf["+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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Lo(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Lo=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),ri=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),si=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Co=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IPath",value:n}))&&To(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IPath",value:n})}).every(a=>a)].every(a=>a),To=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&Fo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&Is(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}))&&je(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}))&&je(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}))&&je(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}))&&je(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}))&&je(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}))&&je(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}))&&je(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace}))&&je(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace})].every(a=>a),Po=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&U(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&As(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),As=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&Ui(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(a=>a)].every(a=>a),Do=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),oi=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ko=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ai=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),je=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&Fo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Bi(e.requestBody,r+".requestBody",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}))&&li(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&Is(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&ue(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),Eo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{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||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Uo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),Uo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:n}))&&di(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:n})}).every(a=>a)].every(a=>a),di=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&U(e.schema,r+".schema",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&As(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),ni=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),li=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n}))&&$i(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),Bo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Uo(e.content,r+".content",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}))&&ti(e.headers,r+".headers",s)||o(s,{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"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ti=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&zi(n,r+v(a),s)||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(a=>a)].every(a=>a),$o=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&As(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&U(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),ii=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ci=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IResponse",value:n}))&&Bo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),mi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IParameter",value:n}))&&Po(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),fi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n}))&&Eo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n})}).every(a=>a)].every(a=>a),yi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n}))&&qi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),vi=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ii=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),gi=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ai=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&pi(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),pi=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&hi(e.authorizationCode,r+".authorizationCode",s)||o(s,{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||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&Oi(e.implicit,r+".implicit",s)||o(s,{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||o(s,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&zo(e.password,r+".password",s)||o(s,{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||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&zo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),hi=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Oi=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),zo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),xi=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Si=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n}))&&$o(n,r+v(a),s)||o(s,{path:r+v(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n})}).every(a=>a)].every(a=>a),ui=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IExample",value:n}))&&Do(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IExample",value:n})}).every(a=>a)].every(a=>a),Vi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n}))&&Fi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n})}).every(a=>a)].every(a=>a),Ji=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ji=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Te=(e,r,s=!0)=>e.const!==void 0?no(e,r,s):e.type==="boolean"?lo(e,r,s):e.type==="number"?io(e,r,s):e.type==="integer"?to(e,r,s):e.type==="string"?co(e,r,s):e.items!==void 0?mo(e,r,s):e.prefixItems!==void 0?fo(e,r,s):e.type==="object"?yo(e,r,s):e.$ref!==void 0?vo(e,r,s):e.oneOf!==void 0?Qn(e,r,s):e.type==="null"?Io(e,r,s):go(e,r,s),wi=(e,r,s=!0)=>e.const!==void 0?no(e,r,s):e.type==="boolean"?lo(e,r,s):e.type==="number"?io(e,r,s):e.type==="integer"?to(e,r,s):e.type==="string"?co(e,r,s):e.items!==void 0?mo(e,r,s):e.prefixItems!==void 0?fo(e,r,s):e.type==="object"?yo(e,r,s):e.$ref!==void 0?vo(e,r,s):e.type==="null"?Io(e,r,s):go(e,r,s),se=(e,r,s=!0)=>e.type==="boolean"?pl(e,r,s):e.type==="number"?Ol(e,r,s):e.type==="integer"?hl(e,r,s):e.type==="string"?xl(e,r,s):e.type==="array"?Sl(e,r,s):e.type==="object"?ul(e,r,s):e.$ref!==void 0?Vl(e,r,s):e["x-anyOf"]!==void 0?Jl(e,r,s):e["x-oneOf"]!==void 0?jl(e,r,s):e.type==="null"?wl(e,r,s):Ml(e,r,s),Mi=(e,r,s=!0)=>e.type==="boolean"?rs(e,r,s):e.type==="number"?os(e,r,s):e.type==="integer"?ss(e,r,s):e.type==="string"?as(e,r,s):e.type==="array"?ds(e,r,s):e.type==="object"?ns(e,r,s):e["x-anyOf"]!==void 0?ts(e,r,s):e["x-oneOf"]!==void 0?is(e,r,s):e.type==="null"?cs(e,r,s):e.schema!==void 0?fs(e,r,s):ls(e,r,!1)||ms(e,r,!1)||Bl(e,r,!1),Ri=(e,r,s=!0)=>e.type==="boolean"?rs(e,r,s):e.type==="number"?os(e,r,s):e.type==="integer"?ss(e,r,s):e.type==="string"?as(e,r,s):e.type==="array"?ds(e,r,s):e.type==="object"?ns(e,r,s):e["x-anyOf"]!==void 0?ts(e,r,s):e["x-oneOf"]!==void 0?is(e,r,s):e.type==="null"?cs(e,r,s):e.schema!==void 0?fs(e,r,s):ls(e,r,!1)||ms(e,r,!1)||$l(e,r,!1),ge=(e,r,s=!0)=>e.type==="boolean"?Xl(e,r,s):e.type==="number"?et(e,r,s):e.type==="integer"?_l(e,r,s):e.type==="string"?rt(e,r,s):e.type==="array"?st(e,r,s):e.type==="object"?ot(e,r,s):e.$ref!==void 0?at(e,r,s):e.allOf!==void 0?dt(e,r,s):e.anyOf!==void 0?nt(e,r,s):e.oneOf!==void 0?lt(e,r,s):e.type==="null"?it(e,r,s):ct(e,r,s),qo=(e,r,s=!0)=>e.in!==void 0?Ro(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?bt(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Mo(e,r,s):o(s,{path:r,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),U=(e,r,s=!0)=>Array.isArray(e.type)&&e.type.map((a,n)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null").every(a=>a)?zt(e,r,s):e.type==="boolean"?Ft(e,r,s):e.type==="number"?Gt(e,r,s):e.type==="integer"?Yt(e,r,s):e.type==="string"?Zt(e,r,s):e.type==="array"?Ht(e,r,s):e.type==="object"?Wt(e,r,s):e.$recursiveRef!==void 0?Kt(e,r,s):e.type==="null"?ri(e,r,s):e.const!==void 0?qt(e,r,s):e.$ref!==void 0?Qt(e,r,s):e.allOf!==void 0?Xt(e,r,s):e.anyOf!==void 0?_t(e,r,s):e.oneOf!==void 0?ei(e,r,s):si(e,r,s),Fo=(e,r,s=!0)=>e.in!==void 0?Po(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?ai(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?ko(e,r,s):o(s,{path:r,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),bi=(e,r,s=!0)=>e.type==="apiKey"?_n(e,r,s):e.scheme==="basic"?el(e,r,s):e.scheme==="bearer"?rl(e,r,s):e.type==="oauth2"?sl(e,r,s):e.type==="openIdConnect"?nl(e,r,s):o(s,{path:r,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:e}),Ni=(e,r,s=!0)=>e.type==="boolean"?rs(e,r,s):e.type==="number"?os(e,r,s):e.type==="integer"?ss(e,r,s):e.type==="string"?as(e,r,s):e.type==="array"?ds(e,r,s):e.type==="object"?ns(e,r,s):e.$ref!==void 0?ls(e,r,s):e["x-anyOf"]!==void 0?ts(e,r,s):e["x-oneOf"]!==void 0?is(e,r,s):e.type==="null"?cs(e,r,s):e.schema!==void 0?fs(e,r,s):ms(e,r,s),Li=(e,r,s=!0)=>e.type==="apiKey"?Ll(e,r,s):e.type==="basic"?Cl(e,r,s):e.flow==="implicit"?Tl(e,r,s):e.flow==="accessCode"?Pl(e,r,s):e.flow==="application"?kl(e,r,s):e.flow==="password"?Dl(e,r,s):o(s,{path:r,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:e}),Ci=(e,r,s=!0)=>e.$ref!==void 0?ql(e,r,s):So(e,r,s),Ti=(e,r,s=!0)=>e.$ref!==void 0?yt(e,r,s):jo(e,r,s),Pi=(e,r,s=!0)=>e.schema!==void 0?wo(e,r,s):e.$ref!==void 0?Mo(e,r,s):o(s,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Di=(e,r,s=!0)=>e.type==="apiKey"?pt(e,r,s):e.scheme==="basic"?ht(e,r,s):e.scheme==="bearer"?Ot(e,r,s):e.type==="oauth2"?xt(e,r,s):e.type==="openIdConnect"?Jt(e,r,s):o(s,{path:r,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:e}),ki=(e,r,s=!0)=>e.$ref!==void 0?Nt(e,r,s):bo(e,r,s),Ei=(e,r,s=!0)=>e.$ref!==void 0?Ct(e,r,s):Vo(e,r,s),Ui=(e,r,s=!0)=>e.$ref!==void 0?oi(e,r,s):Do(e,r,s),Bi=(e,r,s=!0)=>e.$ref!==void 0?ni(e,r,s):Eo(e,r,s),$i=(e,r,s=!0)=>e.$ref!==void 0?ii(e,r,s):Bo(e,r,s),zi=(e,r,s=!0)=>e.$ref!==void 0?ko(e,r,s):e.schema!==void 0?$o(e,r,s):o(s,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),qi=(e,r,s=!0)=>e.type==="apiKey"?vi(e,r,s):e.scheme==="basic"?Ii(e,r,s):e.scheme==="bearer"?gi(e,r,s):e.type==="oauth2"?Ai(e,r,s):e.type==="openIdConnect"?xi(e,r,s):o(s,{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}),Fi=(e,r,s=!0)=>e.$ref!==void 0?Ji(e,r,s):To(e,r,s),Yi=(e,r,s=!0)=>e["x-samchon-emended-v4"]!==void 0?qn(e,r,s):e.swagger!==void 0?vl(e,r,s):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))?Yl(e,r,s):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Pt(e,r,s):o(s,{path:r,expected:"(OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument)",value:e}),Gi=e=>typeof e=="object"&&e!==null&&zn(e);let Rr,o;return e=>{if(Gi(e)===!1){Rr=[],o=oc(Rr),((s,a,n=!0)=>(typeof s=="object"&&s!==null||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))&&Yi(s,a+"",!0)||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))(e,"$input",!0);const r=Rr.length===0;return r?{success:r,data:e}:{success:r,errors:Rr,data:e}}return{success:!0,data:e}}})()(g);if(p.success===!1){d.onChange(null,JSON.stringify(p.errors,null,2));return}else d.onChange(ac.convert(p.data),null)}catch{d.onChange(null,I==="json"?"Invalid JSON file":"Invalid YAML file");return}c.length>1&&t([m])};return V.jsx(Ls,{defaultFiles:l,onFilesChange:i,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 ry(d){const[l,t]=C.useState("http://localhost:37001"),[i,c]=C.useState(JSON.stringify({Authorization:"YOUR_SERVER_API_KEY"},null,2)),[m,f]=C.useState(Ho.defaultConfig()),[y,I]=C.useState(null),[g,p]=C.useState(!1),A=sy(i),u=g===!0||A===null||y===null||l.length===0||m.apiKey.length===0||m.vendorModel.length===0||m.schemaModel.length===0,h=x=>{d.onError!=null?d.onError(x):alert(x)},R=(x,b)=>{I(x),b!==null&&h(b)},N=async()=>{if(y!==null){p(!0);try{const x={api:new lc({apiKey:m.apiKey,baseURL:m.baseURL,dangerouslyAllowBrowser:!0}),model:m.vendorModel},b=new tc({model:m.schemaModel,vendor:x,controllers:[{protocol:"http",name:"main",application:ic.application({model:m.schemaModel,document:y}),connection:{host:l,headers:A}}]});d.onSuccess(V.jsx(cc,{agent:b}))}catch(x){h(x instanceof Error?x.message:"unknown error"),p(!1)}}};return V.jsxs("div",{style:d.style,children:[V.jsx(ey,{onChange:R}),V.jsx("br",{}),V.jsxs(dc,{fullWidth:!0,children:[V.jsx(K,{variant:"h6",children:"HTTP Connection"}),V.jsx("br",{}),V.jsx(Wo,{onChange:x=>t(x.target.value),defaultValue:l,label:"Host URL",variant:"outlined",placeholder:"Server URL",error:l.length===0}),V.jsx("br",{}),V.jsx(nc,{children:" Headers "}),V.jsx(Wo,{fullWidth:!0,multiline:!0,defaultValue:i,onChange:x=>c(x.target.value),maxRows:10,error:A===null,helperText:A===null?"Invalid JSON format":void 0}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(K,{variant:"h6",children:"OpenAI Configuration"}),V.jsx("br",{}),V.jsx(Ho,{config:m,onChange:f}),V.jsx("br",{})]}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(Js,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:u,onClick:()=>void N().catch(()=>{}),children:g?"Generating...":"Generate AI Chatbot"})]})}function sy(d){try{return JSON.parse(d)}catch{return null}}Zo(window.document.getElementById("root")).render(V.jsx(ry,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:d=>{Zo(window.document.getElementById("root")).render(d)}}));