@rippling/pebble-sdui-web 0.6.3 → 0.7.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 (36) hide show
  1. package/dist/2020-C_v5qH0D.cjs +9 -0
  2. package/dist/2020-C_v5qH0D.cjs.map +1 -0
  3. package/dist/2020-PBERvPzO.js +4846 -0
  4. package/dist/2020-PBERvPzO.js.map +1 -0
  5. package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
  6. package/dist/catalogs/custom-apps/component-props.d.ts +29 -29
  7. package/dist/catalogs/custom-apps/index.cjs +2 -9
  8. package/dist/catalogs/custom-apps/index.cjs.map +1 -1
  9. package/dist/catalogs/custom-apps/index.d.ts +1 -1
  10. package/dist/catalogs/custom-apps/index.js +431 -5275
  11. package/dist/catalogs/custom-apps/index.js.map +1 -1
  12. package/dist/catalogs/hub_platform/action-params.d.ts +5 -0
  13. package/dist/catalogs/hub_platform/actions.d.ts +5 -0
  14. package/dist/catalogs/hub_platform/catalog.d.ts +33 -0
  15. package/dist/catalogs/hub_platform/component-events.d.ts +10 -0
  16. package/dist/catalogs/hub_platform/component-props.d.ts +287 -0
  17. package/dist/catalogs/hub_platform/components.d.ts +11 -0
  18. package/dist/catalogs/hub_platform/function-params.d.ts +5 -0
  19. package/dist/catalogs/hub_platform/functions.d.ts +5 -0
  20. package/dist/catalogs/hub_platform/index.cjs +2 -0
  21. package/dist/catalogs/hub_platform/index.cjs.map +1 -0
  22. package/dist/catalogs/hub_platform/index.d.ts +11 -0
  23. package/dist/catalogs/hub_platform/index.js +1087 -0
  24. package/dist/catalogs/hub_platform/index.js.map +1 -0
  25. package/dist/catalogs/hub_platform/render.d.ts +20 -0
  26. package/dist/docs/typescript/web/catalogs/custom-apps/components.md +3 -3
  27. package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +1 -1
  28. package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
  29. package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1 -47
  30. package/dist/docs/typescript/web/catalogs/hub_platform/actions.md +6 -0
  31. package/dist/docs/typescript/web/catalogs/hub_platform/components.md +212 -0
  32. package/dist/docs/typescript/web/catalogs/hub_platform/computed-functions.md +6 -0
  33. package/dist/docs/typescript/web/catalogs/hub_platform/definitions.md +91 -0
  34. package/dist/docs/typescript/web/catalogs/hub_platform/readme.md +16 -0
  35. package/dist/docs/typescript/web/catalogs/hub_platform/types.md +368 -0
  36. package/package.json +6 -1
@@ -0,0 +1,9 @@
1
+ "use strict";var qe={exports:{}},Mt={},me={},_e={},Dt={},Vt={},Ut={},Yt;function Rt(){return Yt||(Yt=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class r{}e._CodeOrName=r,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class v extends r{constructor(a){if(super(),!e.IDENTIFIER.test(a))throw new Error("CodeGen: name must be a valid identifier");this.str=a}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=v;class d extends r{constructor(a){super(),this._items=typeof a=="string"?[a]:a}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const a=this._items[0];return a===""||a==='""'}get str(){var a;return(a=this._str)!==null&&a!==void 0?a:this._str=this._items.reduce((y,w)=>`${y}${w}`,"")}get names(){var a;return(a=this._names)!==null&&a!==void 0?a:this._names=this._items.reduce((y,w)=>(w instanceof v&&(y[w.str]=(y[w.str]||0)+1),y),{})}}e._Code=d,e.nil=new d("");function _(h,...a){const y=[h[0]];let w=0;for(;w<a.length;)o(y,a[w]),y.push(h[++w]);return new d(y)}e._=_;const n=new d("+");function u(h,...a){const y=[b(h[0])];let w=0;for(;w<a.length;)y.push(n),o(y,a[w]),y.push(n,b(h[++w]));return l(y),new d(y)}e.str=u;function o(h,a){a instanceof d?h.push(...a._items):a instanceof v?h.push(a):h.push(E(a))}e.addCodeArg=o;function l(h){let a=1;for(;a<h.length-1;){if(h[a]===n){const y=$(h[a-1],h[a+1]);if(y!==void 0){h.splice(a-1,3,y);continue}h[a++]="+"}a++}}function $(h,a){if(a==='""')return h;if(h==='""')return a;if(typeof h=="string")return a instanceof v||h[h.length-1]!=='"'?void 0:typeof a!="string"?`${h.slice(0,-1)}${a}"`:a[0]==='"'?h.slice(0,-1)+a.slice(1):void 0;if(typeof a=="string"&&a[0]==='"'&&!(h instanceof v))return`"${h}${a.slice(1)}`}function p(h,a){return a.emptyStr()?h:h.emptyStr()?a:u`${h}${a}`}e.strConcat=p;function E(h){return typeof h=="number"||typeof h=="boolean"||h===null?h:b(Array.isArray(h)?h.join(","):h)}function P(h){return new d(b(h))}e.stringify=P;function b(h){return JSON.stringify(h).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=b;function R(h){return typeof h=="string"&&e.IDENTIFIER.test(h)?new d(`.${h}`):_`[${h}]`}e.getProperty=R;function S(h){if(typeof h=="string"&&e.IDENTIFIER.test(h))return new d(`${h}`);throw new Error(`CodeGen: invalid export name: ${h}, use explicit $id name mapping`)}e.getEsmExportName=S;function f(h){return new d(h.toString())}e.regexpCode=f})(Ut)),Ut}var zt={},xt;function er(){return xt||(xt=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const r=Rt();class v extends Error{constructor($){super(`CodeGen: "code" for ${$} not defined`),this.value=$.value}}var d;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(d||(e.UsedValueState=d={})),e.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class _{constructor({prefixes:$,parent:p}={}){this._names={},this._prefixes=$,this._parent=p}toName($){return $ instanceof r.Name?$:this.name($)}name($){return new r.Name(this._newName($))}_newName($){const p=this._names[$]||this._nameGroup($);return`${$}${p.index++}`}_nameGroup($){var p,E;if(!((E=(p=this._parent)===null||p===void 0?void 0:p._prefixes)===null||E===void 0)&&E.has($)||this._prefixes&&!this._prefixes.has($))throw new Error(`CodeGen: prefix "${$}" is not allowed in this scope`);return this._names[$]={prefix:$,index:0}}}e.Scope=_;class n extends r.Name{constructor($,p){super(p),this.prefix=$}setValue($,{property:p,itemIndex:E}){this.value=$,this.scopePath=(0,r._)`.${new r.Name(p)}[${E}]`}}e.ValueScopeName=n;const u=(0,r._)`\n`;class o extends _{constructor($){super($),this._values={},this._scope=$.scope,this.opts={...$,_n:$.lines?u:r.nil}}get(){return this._scope}name($){return new n($,this._newName($))}value($,p){var E;if(p.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const P=this.toName($),{prefix:b}=P,R=(E=p.key)!==null&&E!==void 0?E:p.ref;let S=this._values[b];if(S){const a=S.get(R);if(a)return a}else S=this._values[b]=new Map;S.set(R,P);const f=this._scope[b]||(this._scope[b]=[]),h=f.length;return f[h]=p.ref,P.setValue(p,{property:b,itemIndex:h}),P}getValue($,p){const E=this._values[$];if(E)return E.get(p)}scopeRefs($,p=this._values){return this._reduceValues(p,E=>{if(E.scopePath===void 0)throw new Error(`CodeGen: name "${E}" has no value`);return(0,r._)`${$}${E.scopePath}`})}scopeCode($=this._values,p,E){return this._reduceValues($,P=>{if(P.value===void 0)throw new Error(`CodeGen: name "${P}" has no value`);return P.value.code},p,E)}_reduceValues($,p,E={},P){let b=r.nil;for(const R in $){const S=$[R];if(!S)continue;const f=E[R]=E[R]||new Map;S.forEach(h=>{if(f.has(h))return;f.set(h,d.Started);let a=p(h);if(a){const y=this.opts.es5?e.varKinds.var:e.varKinds.const;b=(0,r._)`${b}${y} ${h} = ${a};${this.opts._n}`}else if(a=P==null?void 0:P(h))b=(0,r._)`${b}${a}${this.opts._n}`;else throw new v(h);f.set(h,d.Completed)})}return b}}e.ValueScope=o})(zt)),zt}var tr;function G(){return tr||(tr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const r=Rt(),v=er();var d=Rt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return d.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return d.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return d.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return d.Name}});var _=er();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return _.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return _.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return _.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return _.varKinds}}),e.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class n{optimizeNodes(){return this}optimizeNames(i,g){return this}}class u extends n{constructor(i,g,A){super(),this.varKind=i,this.name=g,this.rhs=A}render({es5:i,_n:g}){const A=i?v.varKinds.var:this.varKind,F=this.rhs===void 0?"":` = ${this.rhs}`;return`${A} ${this.name}${F};`+g}optimizeNames(i,g){if(i[this.name.str])return this.rhs&&(this.rhs=H(this.rhs,i,g)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class o extends n{constructor(i,g,A){super(),this.lhs=i,this.rhs=g,this.sideEffects=A}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,g){if(!(this.lhs instanceof r.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=H(this.rhs,i,g),this}get names(){const i=this.lhs instanceof r.Name?{}:{...this.lhs.names};return z(i,this.rhs)}}class l extends o{constructor(i,g,A,F){super(i,A,F),this.op=g}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}}class $ extends n{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}}class p extends n{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}}class E extends n{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}}class P extends n{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,g){return this.code=H(this.code,i,g),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class b extends n{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((g,A)=>g+A.render(i),"")}optimizeNodes(){const{nodes:i}=this;let g=i.length;for(;g--;){const A=i[g].optimizeNodes();Array.isArray(A)?i.splice(g,1,...A):A?i[g]=A:i.splice(g,1)}return i.length>0?this:void 0}optimizeNames(i,g){const{nodes:A}=this;let F=A.length;for(;F--;){const L=A[F];L.optimizeNames(i,g)||(Z(i,L.names),A.splice(F,1))}return A.length>0?this:void 0}get names(){return this.nodes.reduce((i,g)=>D(i,g.names),{})}}class R extends b{render(i){return"{"+i._n+super.render(i)+"}"+i._n}}class S extends b{}class f extends R{}f.kind="else";class h extends R{constructor(i,g){super(g),this.condition=i}render(i){let g=`if(${this.condition})`+super.render(i);return this.else&&(g+="else "+this.else.render(i)),g}optimizeNodes(){super.optimizeNodes();const i=this.condition;if(i===!0)return this.nodes;let g=this.else;if(g){const A=g.optimizeNodes();g=this.else=Array.isArray(A)?new f(A):A}if(g)return i===!1?g instanceof h?g:g.nodes:this.nodes.length?this:new h(ee(i),g instanceof h?[g]:g.nodes);if(!(i===!1||!this.nodes.length))return this}optimizeNames(i,g){var A;if(this.else=(A=this.else)===null||A===void 0?void 0:A.optimizeNames(i,g),!!(super.optimizeNames(i,g)||this.else))return this.condition=H(this.condition,i,g),this}get names(){const i=super.names;return z(i,this.condition),this.else&&D(i,this.else.names),i}}h.kind="if";class a extends R{}a.kind="for";class y extends a{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,g){if(super.optimizeNames(i,g))return this.iteration=H(this.iteration,i,g),this}get names(){return D(super.names,this.iteration.names)}}class w extends a{constructor(i,g,A,F){super(),this.varKind=i,this.name=g,this.from=A,this.to=F}render(i){const g=i.es5?v.varKinds.var:this.varKind,{name:A,from:F,to:L}=this;return`for(${g} ${A}=${F}; ${A}<${L}; ${A}++)`+super.render(i)}get names(){const i=z(super.names,this.from);return z(i,this.to)}}class t extends a{constructor(i,g,A,F){super(),this.loop=i,this.varKind=g,this.name=A,this.iterable=F}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,g){if(super.optimizeNames(i,g))return this.iterable=H(this.iterable,i,g),this}get names(){return D(super.names,this.iterable.names)}}class s extends R{constructor(i,g,A){super(),this.name=i,this.args=g,this.async=A}render(i){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(i)}}s.kind="func";class c extends b{render(i){return"return "+super.render(i)}}c.kind="return";class m extends R{render(i){let g="try"+super.render(i);return this.catch&&(g+=this.catch.render(i)),this.finally&&(g+=this.finally.render(i)),g}optimizeNodes(){var i,g;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(g=this.finally)===null||g===void 0||g.optimizeNodes(),this}optimizeNames(i,g){var A,F;return super.optimizeNames(i,g),(A=this.catch)===null||A===void 0||A.optimizeNames(i,g),(F=this.finally)===null||F===void 0||F.optimizeNames(i,g),this}get names(){const i=super.names;return this.catch&&D(i,this.catch.names),this.finally&&D(i,this.finally.names),i}}class N extends R{constructor(i){super(),this.error=i}render(i){return`catch(${this.error})`+super.render(i)}}N.kind="catch";class T extends R{render(i){return"finally"+super.render(i)}}T.kind="finally";class q{constructor(i,g={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...g,_n:g.lines?`
2
+ `:""},this._extScope=i,this._scope=new v.Scope({parent:i}),this._nodes=[new S]}toString(){return this._root.render(this.opts)}name(i){return this._scope.name(i)}scopeName(i){return this._extScope.name(i)}scopeValue(i,g){const A=this._extScope.value(i,g);return(this._values[A.prefix]||(this._values[A.prefix]=new Set)).add(A),A}getScopeValue(i,g){return this._extScope.getValue(i,g)}scopeRefs(i){return this._extScope.scopeRefs(i,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(i,g,A,F){const L=this._scope.toName(g);return A!==void 0&&F&&(this._constants[L.str]=A),this._leafNode(new u(i,L,A)),L}const(i,g,A){return this._def(v.varKinds.const,i,g,A)}let(i,g,A){return this._def(v.varKinds.let,i,g,A)}var(i,g,A){return this._def(v.varKinds.var,i,g,A)}assign(i,g,A){return this._leafNode(new o(i,g,A))}add(i,g){return this._leafNode(new l(i,e.operators.ADD,g))}code(i){return typeof i=="function"?i():i!==r.nil&&this._leafNode(new P(i)),this}object(...i){const g=["{"];for(const[A,F]of i)g.length>1&&g.push(","),g.push(A),(A!==F||this.opts.es5)&&(g.push(":"),(0,r.addCodeArg)(g,F));return g.push("}"),new r._Code(g)}if(i,g,A){if(this._blockNode(new h(i)),g&&A)this.code(g).else().code(A).endIf();else if(g)this.code(g).endIf();else if(A)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(i){return this._elseNode(new h(i))}else(){return this._elseNode(new f)}endIf(){return this._endBlockNode(h,f)}_for(i,g){return this._blockNode(i),g&&this.code(g).endFor(),this}for(i,g){return this._for(new y(i),g)}forRange(i,g,A,F,L=this.opts.es5?v.varKinds.var:v.varKinds.let){const X=this._scope.toName(i);return this._for(new w(L,X,g,A),()=>F(X))}forOf(i,g,A,F=v.varKinds.const){const L=this._scope.toName(i);if(this.opts.es5){const X=g instanceof r.Name?g:this.var("_arr",g);return this.forRange("_i",0,(0,r._)`${X}.length`,Q=>{this.var(L,(0,r._)`${X}[${Q}]`),A(L)})}return this._for(new t("of",F,L,g),()=>A(L))}forIn(i,g,A,F=this.opts.es5?v.varKinds.var:v.varKinds.const){if(this.opts.ownProperties)return this.forOf(i,(0,r._)`Object.keys(${g})`,A);const L=this._scope.toName(i);return this._for(new t("in",F,L,g),()=>A(L))}endFor(){return this._endBlockNode(a)}label(i){return this._leafNode(new $(i))}break(i){return this._leafNode(new p(i))}return(i){const g=new c;if(this._blockNode(g),this.code(i),g.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(c)}try(i,g,A){if(!g&&!A)throw new Error('CodeGen: "try" without "catch" and "finally"');const F=new m;if(this._blockNode(F),this.code(i),g){const L=this.name("e");this._currNode=F.catch=new N(L),g(L)}return A&&(this._currNode=F.finally=new T,this.code(A)),this._endBlockNode(N,T)}throw(i){return this._leafNode(new E(i))}block(i,g){return this._blockStarts.push(this._nodes.length),i&&this.code(i).endBlock(g),this}endBlock(i){const g=this._blockStarts.pop();if(g===void 0)throw new Error("CodeGen: not in self-balancing block");const A=this._nodes.length-g;if(A<0||i!==void 0&&A!==i)throw new Error(`CodeGen: wrong number of nodes: ${A} vs ${i} expected`);return this._nodes.length=g,this}func(i,g=r.nil,A,F){return this._blockNode(new s(i,g,A)),F&&this.code(F).endFunc(),this}endFunc(){return this._endBlockNode(s)}optimize(i=1){for(;i-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(i){return this._currNode.nodes.push(i),this}_blockNode(i){this._currNode.nodes.push(i),this._nodes.push(i)}_endBlockNode(i,g){const A=this._currNode;if(A instanceof i||g&&A instanceof g)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${g?`${i.kind}/${g.kind}`:i.kind}"`)}_elseNode(i){const g=this._currNode;if(!(g instanceof h))throw new Error('CodeGen: "else" without "if"');return this._currNode=g.else=i,this}get _root(){return this._nodes[0]}get _currNode(){const i=this._nodes;return i[i.length-1]}set _currNode(i){const g=this._nodes;g[g.length-1]=i}}e.CodeGen=q;function D(I,i){for(const g in i)I[g]=(I[g]||0)+(i[g]||0);return I}function z(I,i){return i instanceof r._CodeOrName?D(I,i.names):I}function H(I,i,g){if(I instanceof r.Name)return A(I);if(!F(I))return I;return new r._Code(I._items.reduce((L,X)=>(X instanceof r.Name&&(X=A(X)),X instanceof r._Code?L.push(...X._items):L.push(X),L),[]));function A(L){const X=g[L.str];return X===void 0||i[L.str]!==1?L:(delete i[L.str],X)}function F(L){return L instanceof r._Code&&L._items.some(X=>X instanceof r.Name&&i[X.str]===1&&g[X.str]!==void 0)}}function Z(I,i){for(const g in i)I[g]=(I[g]||0)-(i[g]||0)}function ee(I){return typeof I=="boolean"||typeof I=="number"||I===null?!I:(0,r._)`!${M(I)}`}e.not=ee;const ce=O(e.operators.AND);function Y(...I){return I.reduce(ce)}e.and=Y;const $e=O(e.operators.OR);function V(...I){return I.reduce($e)}e.or=V;function O(I){return(i,g)=>i===r.nil?g:g===r.nil?i:(0,r._)`${M(i)} ${I} ${M(g)}`}function M(I){return I instanceof r.Name?I:(0,r._)`(${I})`}})(Vt)),Vt}var J={},rr;function W(){if(rr)return J;rr=1,Object.defineProperty(J,"__esModule",{value:!0}),J.checkStrictMode=J.getErrorPath=J.Type=J.useFunc=J.setEvaluated=J.evaluatedPropsToName=J.mergeEvaluated=J.eachItem=J.unescapeJsonPointer=J.escapeJsonPointer=J.escapeFragment=J.unescapeFragment=J.schemaRefOrVal=J.schemaHasRulesButRef=J.schemaHasRules=J.checkUnknownRules=J.alwaysValidSchema=J.toHash=void 0;const e=G(),r=Rt();function v(t){const s={};for(const c of t)s[c]=!0;return s}J.toHash=v;function d(t,s){return typeof s=="boolean"?s:Object.keys(s).length===0?!0:(_(t,s),!n(s,t.self.RULES.all))}J.alwaysValidSchema=d;function _(t,s=t.schema){const{opts:c,self:m}=t;if(!c.strictSchema||typeof s=="boolean")return;const N=m.RULES.keywords;for(const T in s)N[T]||w(t,`unknown keyword: "${T}"`)}J.checkUnknownRules=_;function n(t,s){if(typeof t=="boolean")return!t;for(const c in t)if(s[c])return!0;return!1}J.schemaHasRules=n;function u(t,s){if(typeof t=="boolean")return!t;for(const c in t)if(c!=="$ref"&&s.all[c])return!0;return!1}J.schemaHasRulesButRef=u;function o({topSchemaRef:t,schemaPath:s},c,m,N){if(!N){if(typeof c=="number"||typeof c=="boolean")return c;if(typeof c=="string")return(0,e._)`${c}`}return(0,e._)`${t}${s}${(0,e.getProperty)(m)}`}J.schemaRefOrVal=o;function l(t){return E(decodeURIComponent(t))}J.unescapeFragment=l;function $(t){return encodeURIComponent(p(t))}J.escapeFragment=$;function p(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}J.escapeJsonPointer=p;function E(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}J.unescapeJsonPointer=E;function P(t,s){if(Array.isArray(t))for(const c of t)s(c);else s(t)}J.eachItem=P;function b({mergeNames:t,mergeToName:s,mergeValues:c,resultToName:m}){return(N,T,q,D)=>{const z=q===void 0?T:q instanceof e.Name?(T instanceof e.Name?t(N,T,q):s(N,T,q),q):T instanceof e.Name?(s(N,q,T),T):c(T,q);return D===e.Name&&!(z instanceof e.Name)?m(N,z):z}}J.mergeEvaluated={props:b({mergeNames:(t,s,c)=>t.if((0,e._)`${c} !== true && ${s} !== undefined`,()=>{t.if((0,e._)`${s} === true`,()=>t.assign(c,!0),()=>t.assign(c,(0,e._)`${c} || {}`).code((0,e._)`Object.assign(${c}, ${s})`))}),mergeToName:(t,s,c)=>t.if((0,e._)`${c} !== true`,()=>{s===!0?t.assign(c,!0):(t.assign(c,(0,e._)`${c} || {}`),S(t,c,s))}),mergeValues:(t,s)=>t===!0?!0:{...t,...s},resultToName:R}),items:b({mergeNames:(t,s,c)=>t.if((0,e._)`${c} !== true && ${s} !== undefined`,()=>t.assign(c,(0,e._)`${s} === true ? true : ${c} > ${s} ? ${c} : ${s}`)),mergeToName:(t,s,c)=>t.if((0,e._)`${c} !== true`,()=>t.assign(c,s===!0?!0:(0,e._)`${c} > ${s} ? ${c} : ${s}`)),mergeValues:(t,s)=>t===!0?!0:Math.max(t,s),resultToName:(t,s)=>t.var("items",s)})};function R(t,s){if(s===!0)return t.var("props",!0);const c=t.var("props",(0,e._)`{}`);return s!==void 0&&S(t,c,s),c}J.evaluatedPropsToName=R;function S(t,s,c){Object.keys(c).forEach(m=>t.assign((0,e._)`${s}${(0,e.getProperty)(m)}`,!0))}J.setEvaluated=S;const f={};function h(t,s){return t.scopeValue("func",{ref:s,code:f[s.code]||(f[s.code]=new r._Code(s.code))})}J.useFunc=h;var a;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(a||(J.Type=a={}));function y(t,s,c){if(t instanceof e.Name){const m=s===a.Num;return c?m?(0,e._)`"[" + ${t} + "]"`:(0,e._)`"['" + ${t} + "']"`:m?(0,e._)`"/" + ${t}`:(0,e._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return c?(0,e.getProperty)(t).toString():"/"+p(t)}J.getErrorPath=y;function w(t,s,c=t.opts.strictSchema){if(c){if(s=`strict mode: ${s}`,c===!0)throw new Error(s);t.self.logger.warn(s)}}return J.checkStrictMode=w,J}var Ie={},nr;function fe(){if(nr)return Ie;nr=1,Object.defineProperty(Ie,"__esModule",{value:!0});const e=G(),r={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Ie.default=r,Ie}var sr;function Nt(){return sr||(sr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const r=G(),v=W(),d=fe();e.keywordError={message:({keyword:f})=>(0,r.str)`must pass "${f}" keyword validation`},e.keyword$DataError={message:({keyword:f,schemaType:h})=>h?(0,r.str)`"${f}" keyword must be ${h} ($data)`:(0,r.str)`"${f}" keyword is invalid ($data)`};function _(f,h=e.keywordError,a,y){const{it:w}=f,{gen:t,compositeRule:s,allErrors:c}=w,m=E(f,h,a);y??(s||c)?l(t,m):$(w,(0,r._)`[${m}]`)}e.reportError=_;function n(f,h=e.keywordError,a){const{it:y}=f,{gen:w,compositeRule:t,allErrors:s}=y,c=E(f,h,a);l(w,c),t||s||$(y,d.default.vErrors)}e.reportExtraError=n;function u(f,h){f.assign(d.default.errors,h),f.if((0,r._)`${d.default.vErrors} !== null`,()=>f.if(h,()=>f.assign((0,r._)`${d.default.vErrors}.length`,h),()=>f.assign(d.default.vErrors,null)))}e.resetErrorsCount=u;function o({gen:f,keyword:h,schemaValue:a,data:y,errsCount:w,it:t}){if(w===void 0)throw new Error("ajv implementation error");const s=f.name("err");f.forRange("i",w,d.default.errors,c=>{f.const(s,(0,r._)`${d.default.vErrors}[${c}]`),f.if((0,r._)`${s}.instancePath === undefined`,()=>f.assign((0,r._)`${s}.instancePath`,(0,r.strConcat)(d.default.instancePath,t.errorPath))),f.assign((0,r._)`${s}.schemaPath`,(0,r.str)`${t.errSchemaPath}/${h}`),t.opts.verbose&&(f.assign((0,r._)`${s}.schema`,a),f.assign((0,r._)`${s}.data`,y))})}e.extendErrors=o;function l(f,h){const a=f.const("err",h);f.if((0,r._)`${d.default.vErrors} === null`,()=>f.assign(d.default.vErrors,(0,r._)`[${a}]`),(0,r._)`${d.default.vErrors}.push(${a})`),f.code((0,r._)`${d.default.errors}++`)}function $(f,h){const{gen:a,validateName:y,schemaEnv:w}=f;w.$async?a.throw((0,r._)`new ${f.ValidationError}(${h})`):(a.assign((0,r._)`${y}.errors`,h),a.return(!1))}const p={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function E(f,h,a){const{createErrors:y}=f.it;return y===!1?(0,r._)`{}`:P(f,h,a)}function P(f,h,a={}){const{gen:y,it:w}=f,t=[b(w,a),R(f,a)];return S(f,h,t),y.object(...t)}function b({errorPath:f},{instancePath:h}){const a=h?(0,r.str)`${f}${(0,v.getErrorPath)(h,v.Type.Str)}`:f;return[d.default.instancePath,(0,r.strConcat)(d.default.instancePath,a)]}function R({keyword:f,it:{errSchemaPath:h}},{schemaPath:a,parentSchema:y}){let w=y?h:(0,r.str)`${h}/${f}`;return a&&(w=(0,r.str)`${w}${(0,v.getErrorPath)(a,v.Type.Str)}`),[p.schemaPath,w]}function S(f,{params:h,message:a},y){const{keyword:w,data:t,schemaValue:s,it:c}=f,{opts:m,propertyName:N,topSchemaRef:T,schemaPath:q}=c;y.push([p.keyword,w],[p.params,typeof h=="function"?h(f):h||(0,r._)`{}`]),m.messages&&y.push([p.message,typeof a=="function"?a(f):a]),m.verbose&&y.push([p.schema,s],[p.parentSchema,(0,r._)`${T}${q}`],[d.default.data,t]),N&&y.push([p.propertyName,N])}})(Dt)),Dt}var ar;function Cn(){if(ar)return _e;ar=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.boolOrEmptySchema=_e.topBoolOrEmptySchema=void 0;const e=Nt(),r=G(),v=fe(),d={message:"boolean schema is false"};function _(o){const{gen:l,schema:$,validateName:p}=o;$===!1?u(o,!1):typeof $=="object"&&$.$async===!0?l.return(v.default.data):(l.assign((0,r._)`${p}.errors`,null),l.return(!0))}_e.topBoolOrEmptySchema=_;function n(o,l){const{gen:$,schema:p}=o;p===!1?($.var(l,!1),u(o)):$.var(l,!0)}_e.boolOrEmptySchema=n;function u(o,l){const{gen:$,data:p}=o,E={gen:$,keyword:"false schema",data:p,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:o};(0,e.reportError)(E,d,void 0,l)}return _e}var ne={},ge={},or;function Sn(){if(or)return ge;or=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.getRules=ge.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],r=new Set(e);function v(_){return typeof _=="string"&&r.has(_)}ge.isJSONType=v;function d(){const _={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{..._,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},_.number,_.string,_.array,_.object],post:{rules:[]},all:{},keywords:{}}}return ge.getRules=d,ge}var pe={},ir;function Rn(){if(ir)return pe;ir=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.shouldUseRule=pe.shouldUseGroup=pe.schemaHasRulesForType=void 0;function e({schema:d,self:_},n){const u=_.RULES.types[n];return u&&u!==!0&&r(d,u)}pe.schemaHasRulesForType=e;function r(d,_){return _.rules.some(n=>v(d,n))}pe.shouldUseGroup=r;function v(d,_){var n;return d[_.keyword]!==void 0||((n=_.definition.implements)===null||n===void 0?void 0:n.some(u=>d[u]!==void 0))}return pe.shouldUseRule=v,pe}var cr;function jt(){if(cr)return ne;cr=1,Object.defineProperty(ne,"__esModule",{value:!0}),ne.reportTypeError=ne.checkDataTypes=ne.checkDataType=ne.coerceAndCheckDataType=ne.getJSONTypes=ne.getSchemaTypes=ne.DataType=void 0;const e=Sn(),r=Rn(),v=Nt(),d=G(),_=W();var n;(function(a){a[a.Correct=0]="Correct",a[a.Wrong=1]="Wrong"})(n||(ne.DataType=n={}));function u(a){const y=o(a.type);if(y.includes("null")){if(a.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!y.length&&a.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');a.nullable===!0&&y.push("null")}return y}ne.getSchemaTypes=u;function o(a){const y=Array.isArray(a)?a:a?[a]:[];if(y.every(e.isJSONType))return y;throw new Error("type must be JSONType or JSONType[]: "+y.join(","))}ne.getJSONTypes=o;function l(a,y){const{gen:w,data:t,opts:s}=a,c=p(y,s.coerceTypes),m=y.length>0&&!(c.length===0&&y.length===1&&(0,r.schemaHasRulesForType)(a,y[0]));if(m){const N=R(y,t,s.strictNumbers,n.Wrong);w.if(N,()=>{c.length?E(a,y,c):f(a)})}return m}ne.coerceAndCheckDataType=l;const $=new Set(["string","number","integer","boolean","null"]);function p(a,y){return y?a.filter(w=>$.has(w)||y==="array"&&w==="array"):[]}function E(a,y,w){const{gen:t,data:s,opts:c}=a,m=t.let("dataType",(0,d._)`typeof ${s}`),N=t.let("coerced",(0,d._)`undefined`);c.coerceTypes==="array"&&t.if((0,d._)`${m} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>t.assign(s,(0,d._)`${s}[0]`).assign(m,(0,d._)`typeof ${s}`).if(R(y,s,c.strictNumbers),()=>t.assign(N,s))),t.if((0,d._)`${N} !== undefined`);for(const q of w)($.has(q)||q==="array"&&c.coerceTypes==="array")&&T(q);t.else(),f(a),t.endIf(),t.if((0,d._)`${N} !== undefined`,()=>{t.assign(s,N),P(a,N)});function T(q){switch(q){case"string":t.elseIf((0,d._)`${m} == "number" || ${m} == "boolean"`).assign(N,(0,d._)`"" + ${s}`).elseIf((0,d._)`${s} === null`).assign(N,(0,d._)`""`);return;case"number":t.elseIf((0,d._)`${m} == "boolean" || ${s} === null
3
+ || (${m} == "string" && ${s} && ${s} == +${s})`).assign(N,(0,d._)`+${s}`);return;case"integer":t.elseIf((0,d._)`${m} === "boolean" || ${s} === null
4
+ || (${m} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(N,(0,d._)`+${s}`);return;case"boolean":t.elseIf((0,d._)`${s} === "false" || ${s} === 0 || ${s} === null`).assign(N,!1).elseIf((0,d._)`${s} === "true" || ${s} === 1`).assign(N,!0);return;case"null":t.elseIf((0,d._)`${s} === "" || ${s} === 0 || ${s} === false`),t.assign(N,null);return;case"array":t.elseIf((0,d._)`${m} === "string" || ${m} === "number"
5
+ || ${m} === "boolean" || ${s} === null`).assign(N,(0,d._)`[${s}]`)}}}function P({gen:a,parentData:y,parentDataProperty:w},t){a.if((0,d._)`${y} !== undefined`,()=>a.assign((0,d._)`${y}[${w}]`,t))}function b(a,y,w,t=n.Correct){const s=t===n.Correct?d.operators.EQ:d.operators.NEQ;let c;switch(a){case"null":return(0,d._)`${y} ${s} null`;case"array":c=(0,d._)`Array.isArray(${y})`;break;case"object":c=(0,d._)`${y} && typeof ${y} == "object" && !Array.isArray(${y})`;break;case"integer":c=m((0,d._)`!(${y} % 1) && !isNaN(${y})`);break;case"number":c=m();break;default:return(0,d._)`typeof ${y} ${s} ${a}`}return t===n.Correct?c:(0,d.not)(c);function m(N=d.nil){return(0,d.and)((0,d._)`typeof ${y} == "number"`,N,w?(0,d._)`isFinite(${y})`:d.nil)}}ne.checkDataType=b;function R(a,y,w,t){if(a.length===1)return b(a[0],y,w,t);let s;const c=(0,_.toHash)(a);if(c.array&&c.object){const m=(0,d._)`typeof ${y} != "object"`;s=c.null?m:(0,d._)`!${y} || ${m}`,delete c.null,delete c.array,delete c.object}else s=d.nil;c.number&&delete c.integer;for(const m in c)s=(0,d.and)(s,b(m,y,w,t));return s}ne.checkDataTypes=R;const S={message:({schema:a})=>`must be ${a}`,params:({schema:a,schemaValue:y})=>typeof a=="string"?(0,d._)`{type: ${a}}`:(0,d._)`{type: ${y}}`};function f(a){const y=h(a);(0,v.reportError)(y,S)}ne.reportTypeError=f;function h(a){const{gen:y,data:w,schema:t}=a,s=(0,_.schemaRefOrVal)(a,t,"type");return{gen:y,keyword:"type",data:w,schema:t.type,schemaCode:s,schemaValue:s,parentSchema:t,params:{},it:a}}return ne}var Ne={},ur;function Mn(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.assignDefaults=void 0;const e=G(),r=W();function v(_,n){const{properties:u,items:o}=_.schema;if(n==="object"&&u)for(const l in u)d(_,l,u[l].default);else n==="array"&&Array.isArray(o)&&o.forEach((l,$)=>d(_,$,l.default))}Ne.assignDefaults=v;function d(_,n,u){const{gen:o,compositeRule:l,data:$,opts:p}=_;if(u===void 0)return;const E=(0,e._)`${$}${(0,e.getProperty)(n)}`;if(l){(0,r.checkStrictMode)(_,`default is ignored for: ${E}`);return}let P=(0,e._)`${E} === undefined`;p.useDefaults==="empty"&&(P=(0,e._)`${P} || ${E} === null || ${E} === ""`),o.if(P,(0,e._)`${E} = ${(0,e.stringify)(u)}`)}return Ne}var le={},x={},dr;function he(){if(dr)return x;dr=1,Object.defineProperty(x,"__esModule",{value:!0}),x.validateUnion=x.validateArray=x.usePattern=x.callValidateCode=x.schemaProperties=x.allSchemaProperties=x.noPropertyInData=x.propertyInData=x.isOwnProperty=x.hasPropFunc=x.reportMissingProp=x.checkMissingProp=x.checkReportMissingProp=void 0;const e=G(),r=W(),v=fe(),d=W();function _(a,y){const{gen:w,data:t,it:s}=a;w.if(p(w,t,y,s.opts.ownProperties),()=>{a.setParams({missingProperty:(0,e._)`${y}`},!0),a.error()})}x.checkReportMissingProp=_;function n({gen:a,data:y,it:{opts:w}},t,s){return(0,e.or)(...t.map(c=>(0,e.and)(p(a,y,c,w.ownProperties),(0,e._)`${s} = ${c}`)))}x.checkMissingProp=n;function u(a,y){a.setParams({missingProperty:y},!0),a.error()}x.reportMissingProp=u;function o(a){return a.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}x.hasPropFunc=o;function l(a,y,w){return(0,e._)`${o(a)}.call(${y}, ${w})`}x.isOwnProperty=l;function $(a,y,w,t){const s=(0,e._)`${y}${(0,e.getProperty)(w)} !== undefined`;return t?(0,e._)`${s} && ${l(a,y,w)}`:s}x.propertyInData=$;function p(a,y,w,t){const s=(0,e._)`${y}${(0,e.getProperty)(w)} === undefined`;return t?(0,e.or)(s,(0,e.not)(l(a,y,w))):s}x.noPropertyInData=p;function E(a){return a?Object.keys(a).filter(y=>y!=="__proto__"):[]}x.allSchemaProperties=E;function P(a,y){return E(y).filter(w=>!(0,r.alwaysValidSchema)(a,y[w]))}x.schemaProperties=P;function b({schemaCode:a,data:y,it:{gen:w,topSchemaRef:t,schemaPath:s,errorPath:c},it:m},N,T,q){const D=q?(0,e._)`${a}, ${y}, ${t}${s}`:y,z=[[v.default.instancePath,(0,e.strConcat)(v.default.instancePath,c)],[v.default.parentData,m.parentData],[v.default.parentDataProperty,m.parentDataProperty],[v.default.rootData,v.default.rootData]];m.opts.dynamicRef&&z.push([v.default.dynamicAnchors,v.default.dynamicAnchors]);const H=(0,e._)`${D}, ${w.object(...z)}`;return T!==e.nil?(0,e._)`${N}.call(${T}, ${H})`:(0,e._)`${N}(${H})`}x.callValidateCode=b;const R=(0,e._)`new RegExp`;function S({gen:a,it:{opts:y}},w){const t=y.unicodeRegExp?"u":"",{regExp:s}=y.code,c=s(w,t);return a.scopeValue("pattern",{key:c.toString(),ref:c,code:(0,e._)`${s.code==="new RegExp"?R:(0,d.useFunc)(a,s)}(${w}, ${t})`})}x.usePattern=S;function f(a){const{gen:y,data:w,keyword:t,it:s}=a,c=y.name("valid");if(s.allErrors){const N=y.let("valid",!0);return m(()=>y.assign(N,!1)),N}return y.var(c,!0),m(()=>y.break()),c;function m(N){const T=y.const("len",(0,e._)`${w}.length`);y.forRange("i",0,T,q=>{a.subschema({keyword:t,dataProp:q,dataPropType:r.Type.Num},c),y.if((0,e.not)(c),N)})}}x.validateArray=f;function h(a){const{gen:y,schema:w,keyword:t,it:s}=a;if(!Array.isArray(w))throw new Error("ajv implementation error");if(w.some(T=>(0,r.alwaysValidSchema)(s,T))&&!s.opts.unevaluated)return;const m=y.let("valid",!1),N=y.name("_valid");y.block(()=>w.forEach((T,q)=>{const D=a.subschema({keyword:t,schemaProp:q,compositeRule:!0},N);y.assign(m,(0,e._)`${m} || ${N}`),a.mergeValidEvaluated(D,N)||y.if((0,e.not)(m))})),a.result(m,()=>a.reset(),()=>a.error(!0))}return x.validateUnion=h,x}var lr;function Dn(){if(lr)return le;lr=1,Object.defineProperty(le,"__esModule",{value:!0}),le.validateKeywordUsage=le.validSchemaType=le.funcKeywordCode=le.macroKeywordCode=void 0;const e=G(),r=fe(),v=he(),d=Nt();function _(P,b){const{gen:R,keyword:S,schema:f,parentSchema:h,it:a}=P,y=b.macro.call(a.self,f,h,a),w=$(R,S,y);a.opts.validateSchema!==!1&&a.self.validateSchema(y,!0);const t=R.name("valid");P.subschema({schema:y,schemaPath:e.nil,errSchemaPath:`${a.errSchemaPath}/${S}`,topSchemaRef:w,compositeRule:!0},t),P.pass(t,()=>P.error(!0))}le.macroKeywordCode=_;function n(P,b){var R;const{gen:S,keyword:f,schema:h,parentSchema:a,$data:y,it:w}=P;l(w,b);const t=!y&&b.compile?b.compile.call(w.self,h,a,w):b.validate,s=$(S,f,t),c=S.let("valid");P.block$data(c,m),P.ok((R=b.valid)!==null&&R!==void 0?R:c);function m(){if(b.errors===!1)q(),b.modifying&&u(P),D(()=>P.error());else{const z=b.async?N():T();b.modifying&&u(P),D(()=>o(P,z))}}function N(){const z=S.let("ruleErrs",null);return S.try(()=>q((0,e._)`await `),H=>S.assign(c,!1).if((0,e._)`${H} instanceof ${w.ValidationError}`,()=>S.assign(z,(0,e._)`${H}.errors`),()=>S.throw(H))),z}function T(){const z=(0,e._)`${s}.errors`;return S.assign(z,null),q(e.nil),z}function q(z=b.async?(0,e._)`await `:e.nil){const H=w.opts.passContext?r.default.this:r.default.self,Z=!("compile"in b&&!y||b.schema===!1);S.assign(c,(0,e._)`${z}${(0,v.callValidateCode)(P,s,H,Z)}`,b.modifying)}function D(z){var H;S.if((0,e.not)((H=b.valid)!==null&&H!==void 0?H:c),z)}}le.funcKeywordCode=n;function u(P){const{gen:b,data:R,it:S}=P;b.if(S.parentData,()=>b.assign(R,(0,e._)`${S.parentData}[${S.parentDataProperty}]`))}function o(P,b){const{gen:R}=P;R.if((0,e._)`Array.isArray(${b})`,()=>{R.assign(r.default.vErrors,(0,e._)`${r.default.vErrors} === null ? ${b} : ${r.default.vErrors}.concat(${b})`).assign(r.default.errors,(0,e._)`${r.default.vErrors}.length`),(0,d.extendErrors)(P)},()=>P.error())}function l({schemaEnv:P},b){if(b.async&&!P.$async)throw new Error("async keyword in sync schema")}function $(P,b,R){if(R===void 0)throw new Error(`keyword "${b}" failed to compile`);return P.scopeValue("keyword",typeof R=="function"?{ref:R}:{ref:R,code:(0,e.stringify)(R)})}function p(P,b,R=!1){return!b.length||b.some(S=>S==="array"?Array.isArray(P):S==="object"?P&&typeof P=="object"&&!Array.isArray(P):typeof P==S||R&&typeof P>"u")}le.validSchemaType=p;function E({schema:P,opts:b,self:R,errSchemaPath:S},f,h){if(Array.isArray(f.keyword)?!f.keyword.includes(h):f.keyword!==h)throw new Error("ajv implementation error");const a=f.dependencies;if(a!=null&&a.some(y=>!Object.prototype.hasOwnProperty.call(P,y)))throw new Error(`parent schema must have dependencies of ${h}: ${a.join(",")}`);if(f.validateSchema&&!f.validateSchema(P[h])){const w=`keyword "${h}" value is invalid at path "${S}": `+R.errorsText(f.validateSchema.errors);if(b.validateSchema==="log")R.logger.error(w);else throw new Error(w)}}return le.validateKeywordUsage=E,le}var ye={},fr;function Vn(){if(fr)return ye;fr=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.extendSubschemaMode=ye.extendSubschemaData=ye.getSubschema=void 0;const e=G(),r=W();function v(n,{keyword:u,schemaProp:o,schema:l,schemaPath:$,errSchemaPath:p,topSchemaRef:E}){if(u!==void 0&&l!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(u!==void 0){const P=n.schema[u];return o===void 0?{schema:P,schemaPath:(0,e._)`${n.schemaPath}${(0,e.getProperty)(u)}`,errSchemaPath:`${n.errSchemaPath}/${u}`}:{schema:P[o],schemaPath:(0,e._)`${n.schemaPath}${(0,e.getProperty)(u)}${(0,e.getProperty)(o)}`,errSchemaPath:`${n.errSchemaPath}/${u}/${(0,r.escapeFragment)(o)}`}}if(l!==void 0){if($===void 0||p===void 0||E===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:l,schemaPath:$,topSchemaRef:E,errSchemaPath:p}}throw new Error('either "keyword" or "schema" must be passed')}ye.getSubschema=v;function d(n,u,{dataProp:o,dataPropType:l,data:$,dataTypes:p,propertyName:E}){if($!==void 0&&o!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:P}=u;if(o!==void 0){const{errorPath:R,dataPathArr:S,opts:f}=u,h=P.let("data",(0,e._)`${u.data}${(0,e.getProperty)(o)}`,!0);b(h),n.errorPath=(0,e.str)`${R}${(0,r.getErrorPath)(o,l,f.jsPropertySyntax)}`,n.parentDataProperty=(0,e._)`${o}`,n.dataPathArr=[...S,n.parentDataProperty]}if($!==void 0){const R=$ instanceof e.Name?$:P.let("data",$,!0);b(R),E!==void 0&&(n.propertyName=E)}p&&(n.dataTypes=p);function b(R){n.data=R,n.dataLevel=u.dataLevel+1,n.dataTypes=[],u.definedProperties=new Set,n.parentData=u.data,n.dataNames=[...u.dataNames,R]}}ye.extendSubschemaData=d;function _(n,{jtdDiscriminator:u,jtdMetadata:o,compositeRule:l,createErrors:$,allErrors:p}){l!==void 0&&(n.compositeRule=l),$!==void 0&&(n.createErrors=$),p!==void 0&&(n.allErrors=p),n.jtdDiscriminator=u,n.jtdMetadata=o}return ye.extendSubschemaMode=_,ye}var se={},Ft,hr;function jn(){return hr||(hr=1,Ft=function e(r,v){if(r===v)return!0;if(r&&v&&typeof r=="object"&&typeof v=="object"){if(r.constructor!==v.constructor)return!1;var d,_,n;if(Array.isArray(r)){if(d=r.length,d!=v.length)return!1;for(_=d;_--!==0;)if(!e(r[_],v[_]))return!1;return!0}if(r.constructor===RegExp)return r.source===v.source&&r.flags===v.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===v.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===v.toString();if(n=Object.keys(r),d=n.length,d!==Object.keys(v).length)return!1;for(_=d;_--!==0;)if(!Object.prototype.hasOwnProperty.call(v,n[_]))return!1;for(_=d;_--!==0;){var u=n[_];if(!e(r[u],v[u]))return!1}return!0}return r!==r&&v!==v}),Ft}var Kt={exports:{}},mr;function Un(){if(mr)return Kt.exports;mr=1;var e=Kt.exports=function(d,_,n){typeof _=="function"&&(n=_,_={}),n=_.cb||n;var u=typeof n=="function"?n:n.pre||function(){},o=n.post||function(){};r(_,u,o,d,"",d)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(d,_,n,u,o,l,$,p,E,P){if(u&&typeof u=="object"&&!Array.isArray(u)){_(u,o,l,$,p,E,P);for(var b in u){var R=u[b];if(Array.isArray(R)){if(b in e.arrayKeywords)for(var S=0;S<R.length;S++)r(d,_,n,R[S],o+"/"+b+"/"+S,l,o,b,u,S)}else if(b in e.propsKeywords){if(R&&typeof R=="object")for(var f in R)r(d,_,n,R[f],o+"/"+b+"/"+v(f),l,o,b,u,f)}else(b in e.keywords||d.allKeys&&!(b in e.skipKeywords))&&r(d,_,n,R,o+"/"+b,l,o,b,u)}n(u,o,l,$,p,E,P)}}function v(d){return d.replace(/~/g,"~0").replace(/\//g,"~1")}return Kt.exports}var pr;function Ot(){if(pr)return se;pr=1,Object.defineProperty(se,"__esModule",{value:!0}),se.getSchemaRefs=se.resolveUrl=se.normalizeId=se._getFullPath=se.getFullPath=se.inlineRef=void 0;const e=W(),r=jn(),v=Un(),d=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function _(S,f=!0){return typeof S=="boolean"?!0:f===!0?!u(S):f?o(S)<=f:!1}se.inlineRef=_;const n=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(S){for(const f in S){if(n.has(f))return!0;const h=S[f];if(Array.isArray(h)&&h.some(u)||typeof h=="object"&&u(h))return!0}return!1}function o(S){let f=0;for(const h in S){if(h==="$ref")return 1/0;if(f++,!d.has(h)&&(typeof S[h]=="object"&&(0,e.eachItem)(S[h],a=>f+=o(a)),f===1/0))return 1/0}return f}function l(S,f="",h){h!==!1&&(f=E(f));const a=S.parse(f);return $(S,a)}se.getFullPath=l;function $(S,f){return S.serialize(f).split("#")[0]+"#"}se._getFullPath=$;const p=/#\/?$/;function E(S){return S?S.replace(p,""):""}se.normalizeId=E;function P(S,f,h){return h=E(h),S.resolve(f,h)}se.resolveUrl=P;const b=/^[a-z_][-a-z0-9._]*$/i;function R(S,f){if(typeof S=="boolean")return{};const{schemaId:h,uriResolver:a}=this.opts,y=E(S[h]||f),w={"":y},t=l(a,y,!1),s={},c=new Set;return v(S,{allKeys:!0},(T,q,D,z)=>{if(z===void 0)return;const H=t+q;let Z=w[z];typeof T[h]=="string"&&(Z=ee.call(this,T[h])),ce.call(this,T.$anchor),ce.call(this,T.$dynamicAnchor),w[q]=Z;function ee(Y){const $e=this.opts.uriResolver.resolve;if(Y=E(Z?$e(Z,Y):Y),c.has(Y))throw N(Y);c.add(Y);let V=this.refs[Y];return typeof V=="string"&&(V=this.refs[V]),typeof V=="object"?m(T,V.schema,Y):Y!==E(H)&&(Y[0]==="#"?(m(T,s[Y],Y),s[Y]=T):this.refs[Y]=H),Y}function ce(Y){if(typeof Y=="string"){if(!b.test(Y))throw new Error(`invalid anchor "${Y}"`);ee.call(this,`#${Y}`)}}}),s;function m(T,q,D){if(q!==void 0&&!r(T,q))throw N(D)}function N(T){return new Error(`reference "${T}" resolves to more than one schema`)}}return se.getSchemaRefs=R,se}var yr;function kt(){if(yr)return me;yr=1,Object.defineProperty(me,"__esModule",{value:!0}),me.getData=me.KeywordCxt=me.validateFunctionCode=void 0;const e=Cn(),r=jt(),v=Rn(),d=jt(),_=Mn(),n=Dn(),u=Vn(),o=G(),l=fe(),$=Ot(),p=W(),E=Nt();function P(j){if(t(j)&&(c(j),w(j))){f(j);return}b(j,()=>(0,e.topBoolOrEmptySchema)(j))}me.validateFunctionCode=P;function b({gen:j,validateName:k,schema:C,schemaEnv:U,opts:K},B){K.code.es5?j.func(k,(0,o._)`${l.default.data}, ${l.default.valCxt}`,U.$async,()=>{j.code((0,o._)`"use strict"; ${a(C,K)}`),S(j,K),j.code(B)}):j.func(k,(0,o._)`${l.default.data}, ${R(K)}`,U.$async,()=>j.code(a(C,K)).code(B))}function R(j){return(0,o._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${j.dynamicRef?(0,o._)`, ${l.default.dynamicAnchors}={}`:o.nil}}={}`}function S(j,k){j.if(l.default.valCxt,()=>{j.var(l.default.instancePath,(0,o._)`${l.default.valCxt}.${l.default.instancePath}`),j.var(l.default.parentData,(0,o._)`${l.default.valCxt}.${l.default.parentData}`),j.var(l.default.parentDataProperty,(0,o._)`${l.default.valCxt}.${l.default.parentDataProperty}`),j.var(l.default.rootData,(0,o._)`${l.default.valCxt}.${l.default.rootData}`),k.dynamicRef&&j.var(l.default.dynamicAnchors,(0,o._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{j.var(l.default.instancePath,(0,o._)`""`),j.var(l.default.parentData,(0,o._)`undefined`),j.var(l.default.parentDataProperty,(0,o._)`undefined`),j.var(l.default.rootData,l.default.data),k.dynamicRef&&j.var(l.default.dynamicAnchors,(0,o._)`{}`)})}function f(j){const{schema:k,opts:C,gen:U}=j;b(j,()=>{C.$comment&&k.$comment&&z(j),T(j),U.let(l.default.vErrors,null),U.let(l.default.errors,0),C.unevaluated&&h(j),m(j),H(j)})}function h(j){const{gen:k,validateName:C}=j;j.evaluated=k.const("evaluated",(0,o._)`${C}.evaluated`),k.if((0,o._)`${j.evaluated}.dynamicProps`,()=>k.assign((0,o._)`${j.evaluated}.props`,(0,o._)`undefined`)),k.if((0,o._)`${j.evaluated}.dynamicItems`,()=>k.assign((0,o._)`${j.evaluated}.items`,(0,o._)`undefined`))}function a(j,k){const C=typeof j=="object"&&j[k.schemaId];return C&&(k.code.source||k.code.process)?(0,o._)`/*# sourceURL=${C} */`:o.nil}function y(j,k){if(t(j)&&(c(j),w(j))){s(j,k);return}(0,e.boolOrEmptySchema)(j,k)}function w({schema:j,self:k}){if(typeof j=="boolean")return!j;for(const C in j)if(k.RULES.all[C])return!0;return!1}function t(j){return typeof j.schema!="boolean"}function s(j,k){const{schema:C,gen:U,opts:K}=j;K.$comment&&C.$comment&&z(j),q(j),D(j);const B=U.const("_errs",l.default.errors);m(j,B),U.var(k,(0,o._)`${B} === ${l.default.errors}`)}function c(j){(0,p.checkUnknownRules)(j),N(j)}function m(j,k){if(j.opts.jtd)return ee(j,[],!1,k);const C=(0,r.getSchemaTypes)(j.schema),U=(0,r.coerceAndCheckDataType)(j,C);ee(j,C,!U,k)}function N(j){const{schema:k,errSchemaPath:C,opts:U,self:K}=j;k.$ref&&U.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(k,K.RULES)&&K.logger.warn(`$ref: keywords ignored in schema at path "${C}"`)}function T(j){const{schema:k,opts:C}=j;k.default!==void 0&&C.useDefaults&&C.strictSchema&&(0,p.checkStrictMode)(j,"default is ignored in the schema root")}function q(j){const k=j.schema[j.opts.schemaId];k&&(j.baseId=(0,$.resolveUrl)(j.opts.uriResolver,j.baseId,k))}function D(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function z({gen:j,schemaEnv:k,schema:C,errSchemaPath:U,opts:K}){const B=C.$comment;if(K.$comment===!0)j.code((0,o._)`${l.default.self}.logger.log(${B})`);else if(typeof K.$comment=="function"){const te=(0,o.str)`${U}/$comment`,de=j.scopeValue("root",{ref:k.root});j.code((0,o._)`${l.default.self}.opts.$comment(${B}, ${te}, ${de}.schema)`)}}function H(j){const{gen:k,schemaEnv:C,validateName:U,ValidationError:K,opts:B}=j;C.$async?k.if((0,o._)`${l.default.errors} === 0`,()=>k.return(l.default.data),()=>k.throw((0,o._)`new ${K}(${l.default.vErrors})`)):(k.assign((0,o._)`${U}.errors`,l.default.vErrors),B.unevaluated&&Z(j),k.return((0,o._)`${l.default.errors} === 0`))}function Z({gen:j,evaluated:k,props:C,items:U}){C instanceof o.Name&&j.assign((0,o._)`${k}.props`,C),U instanceof o.Name&&j.assign((0,o._)`${k}.items`,U)}function ee(j,k,C,U){const{gen:K,schema:B,data:te,allErrors:de,opts:ae,self:oe}=j,{RULES:re}=oe;if(B.$ref&&(ae.ignoreKeywordsWithRef||!(0,p.schemaHasRulesButRef)(B,re))){K.block(()=>F(j,"$ref",re.all.$ref.definition));return}ae.jtd||Y(j,k),K.block(()=>{for(const ue of re.rules)we(ue);we(re.post)});function we(ue){(0,v.shouldUseGroup)(B,ue)&&(ue.type?(K.if((0,d.checkDataType)(ue.type,te,ae.strictNumbers)),ce(j,ue),k.length===1&&k[0]===ue.type&&C&&(K.else(),(0,d.reportTypeError)(j)),K.endIf()):ce(j,ue),de||K.if((0,o._)`${l.default.errors} === ${U||0}`))}}function ce(j,k){const{gen:C,schema:U,opts:{useDefaults:K}}=j;K&&(0,_.assignDefaults)(j,k.type),C.block(()=>{for(const B of k.rules)(0,v.shouldUseRule)(U,B)&&F(j,B.keyword,B.definition,k.type)})}function Y(j,k){j.schemaEnv.meta||!j.opts.strictTypes||($e(j,k),j.opts.allowUnionTypes||V(j,k),O(j,j.dataTypes))}function $e(j,k){if(k.length){if(!j.dataTypes.length){j.dataTypes=k;return}k.forEach(C=>{I(j.dataTypes,C)||g(j,`type "${C}" not allowed by context "${j.dataTypes.join(",")}"`)}),i(j,k)}}function V(j,k){k.length>1&&!(k.length===2&&k.includes("null"))&&g(j,"use allowUnionTypes to allow union type keyword")}function O(j,k){const C=j.self.RULES.all;for(const U in C){const K=C[U];if(typeof K=="object"&&(0,v.shouldUseRule)(j.schema,K)){const{type:B}=K.definition;B.length&&!B.some(te=>M(k,te))&&g(j,`missing type "${B.join(",")}" for keyword "${U}"`)}}}function M(j,k){return j.includes(k)||k==="number"&&j.includes("integer")}function I(j,k){return j.includes(k)||k==="integer"&&j.includes("number")}function i(j,k){const C=[];for(const U of j.dataTypes)I(k,U)?C.push(U):k.includes("integer")&&U==="number"&&C.push("integer");j.dataTypes=C}function g(j,k){const C=j.schemaEnv.baseId+j.errSchemaPath;k+=` at "${C}" (strictTypes)`,(0,p.checkStrictMode)(j,k,j.opts.strictTypes)}class A{constructor(k,C,U){if((0,n.validateKeywordUsage)(k,C,U),this.gen=k.gen,this.allErrors=k.allErrors,this.keyword=U,this.data=k.data,this.schema=k.schema[U],this.$data=C.$data&&k.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(k,this.schema,U,this.$data),this.schemaType=C.schemaType,this.parentSchema=k.schema,this.params={},this.it=k,this.def=C,this.$data)this.schemaCode=k.gen.const("vSchema",Q(this.$data,k));else if(this.schemaCode=this.schemaValue,!(0,n.validSchemaType)(this.schema,C.schemaType,C.allowUndefined))throw new Error(`${U} value must be ${JSON.stringify(C.schemaType)}`);("code"in C?C.trackErrors:C.errors!==!1)&&(this.errsCount=k.gen.const("_errs",l.default.errors))}result(k,C,U){this.failResult((0,o.not)(k),C,U)}failResult(k,C,U){this.gen.if(k),U?U():this.error(),C?(this.gen.else(),C(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(k,C){this.failResult((0,o.not)(k),void 0,C)}fail(k){if(k===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(k),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(k){if(!this.$data)return this.fail(k);const{schemaCode:C}=this;this.fail((0,o._)`${C} !== undefined && (${(0,o.or)(this.invalid$data(),k)})`)}error(k,C,U){if(C){this.setParams(C),this._error(k,U),this.setParams({});return}this._error(k,U)}_error(k,C){(k?E.reportExtraError:E.reportError)(this,this.def.error,C)}$dataError(){(0,E.reportError)(this,this.def.$dataError||E.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,E.resetErrorsCount)(this.gen,this.errsCount)}ok(k){this.allErrors||this.gen.if(k)}setParams(k,C){C?Object.assign(this.params,k):this.params=k}block$data(k,C,U=o.nil){this.gen.block(()=>{this.check$data(k,U),C()})}check$data(k=o.nil,C=o.nil){if(!this.$data)return;const{gen:U,schemaCode:K,schemaType:B,def:te}=this;U.if((0,o.or)((0,o._)`${K} === undefined`,C)),k!==o.nil&&U.assign(k,!0),(B.length||te.validateSchema)&&(U.elseIf(this.invalid$data()),this.$dataError(),k!==o.nil&&U.assign(k,!1)),U.else()}invalid$data(){const{gen:k,schemaCode:C,schemaType:U,def:K,it:B}=this;return(0,o.or)(te(),de());function te(){if(U.length){if(!(C instanceof o.Name))throw new Error("ajv implementation error");const ae=Array.isArray(U)?U:[U];return(0,o._)`${(0,d.checkDataTypes)(ae,C,B.opts.strictNumbers,d.DataType.Wrong)}`}return o.nil}function de(){if(K.validateSchema){const ae=k.scopeValue("validate$data",{ref:K.validateSchema});return(0,o._)`!${ae}(${C})`}return o.nil}}subschema(k,C){const U=(0,u.getSubschema)(this.it,k);(0,u.extendSubschemaData)(U,this.it,k),(0,u.extendSubschemaMode)(U,k);const K={...this.it,...U,items:void 0,props:void 0};return y(K,C),K}mergeEvaluated(k,C){const{it:U,gen:K}=this;U.opts.unevaluated&&(U.props!==!0&&k.props!==void 0&&(U.props=p.mergeEvaluated.props(K,k.props,U.props,C)),U.items!==!0&&k.items!==void 0&&(U.items=p.mergeEvaluated.items(K,k.items,U.items,C)))}mergeValidEvaluated(k,C){const{it:U,gen:K}=this;if(U.opts.unevaluated&&(U.props!==!0||U.items!==!0))return K.if(C,()=>this.mergeEvaluated(k,o.Name)),!0}}me.KeywordCxt=A;function F(j,k,C,U){const K=new A(j,C,k);"code"in C?C.code(K,U):K.$data&&C.validate?(0,n.funcKeywordCode)(K,C):"macro"in C?(0,n.macroKeywordCode)(K,C):(C.compile||C.validate)&&(0,n.funcKeywordCode)(K,C)}const L=/^\/(?:[^~]|~0|~1)*$/,X=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Q(j,{dataLevel:k,dataNames:C,dataPathArr:U}){let K,B;if(j==="")return l.default.rootData;if(j[0]==="/"){if(!L.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);K=j,B=l.default.rootData}else{const oe=X.exec(j);if(!oe)throw new Error(`Invalid JSON-pointer: ${j}`);const re=+oe[1];if(K=oe[2],K==="#"){if(re>=k)throw new Error(ae("property/index",re));return U[k-re]}if(re>k)throw new Error(ae("data",re));if(B=C[k-re],!K)return B}let te=B;const de=K.split("/");for(const oe of de)oe&&(B=(0,o._)`${B}${(0,o.getProperty)((0,p.unescapeJsonPointer)(oe))}`,te=(0,o._)`${te} && ${B}`);return te;function ae(oe,re){return`Cannot access ${oe} ${re} levels up, current level is ${k}`}}return me.getData=Q,me}var Te={},$r;function Jt(){if($r)return Te;$r=1,Object.defineProperty(Te,"__esModule",{value:!0});class e extends Error{constructor(v){super("validation failed"),this.errors=v,this.ajv=this.validation=!0}}return Te.default=e,Te}var Ae={},vr;function qt(){if(vr)return Ae;vr=1,Object.defineProperty(Ae,"__esModule",{value:!0});const e=Ot();class r extends Error{constructor(d,_,n,u){super(u||`can't resolve reference ${n} from id ${_}`),this.missingRef=(0,e.resolveUrl)(d,_,n),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(d,this.missingRef))}}return Ae.default=r,Ae}var ie={},_r;function It(){if(_r)return ie;_r=1,Object.defineProperty(ie,"__esModule",{value:!0}),ie.resolveSchema=ie.getCompilingSchema=ie.resolveRef=ie.compileSchema=ie.SchemaEnv=void 0;const e=G(),r=Jt(),v=fe(),d=Ot(),_=W(),n=kt();class u{constructor(h){var a;this.refs={},this.dynamicAnchors={};let y;typeof h.schema=="object"&&(y=h.schema),this.schema=h.schema,this.schemaId=h.schemaId,this.root=h.root||this,this.baseId=(a=h.baseId)!==null&&a!==void 0?a:(0,d.normalizeId)(y==null?void 0:y[h.schemaId||"$id"]),this.schemaPath=h.schemaPath,this.localRefs=h.localRefs,this.meta=h.meta,this.$async=y==null?void 0:y.$async,this.refs={}}}ie.SchemaEnv=u;function o(f){const h=p.call(this,f);if(h)return h;const a=(0,d.getFullPath)(this.opts.uriResolver,f.root.baseId),{es5:y,lines:w}=this.opts.code,{ownProperties:t}=this.opts,s=new e.CodeGen(this.scope,{es5:y,lines:w,ownProperties:t});let c;f.$async&&(c=s.scopeValue("Error",{ref:r.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const m=s.scopeName("validate");f.validateName=m;const N={gen:s,allErrors:this.opts.allErrors,data:v.default.data,parentData:v.default.parentData,parentDataProperty:v.default.parentDataProperty,dataNames:[v.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:f.schema,code:(0,e.stringify)(f.schema)}:{ref:f.schema}),validateName:m,ValidationError:c,schema:f.schema,schemaEnv:f,rootId:a,baseId:f.baseId||a,schemaPath:e.nil,errSchemaPath:f.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let T;try{this._compilations.add(f),(0,n.validateFunctionCode)(N),s.optimize(this.opts.code.optimize);const q=s.toString();T=`${s.scopeRefs(v.default.scope)}return ${q}`,this.opts.code.process&&(T=this.opts.code.process(T,f));const z=new Function(`${v.default.self}`,`${v.default.scope}`,T)(this,this.scope.get());if(this.scope.value(m,{ref:z}),z.errors=null,z.schema=f.schema,z.schemaEnv=f,f.$async&&(z.$async=!0),this.opts.code.source===!0&&(z.source={validateName:m,validateCode:q,scopeValues:s._values}),this.opts.unevaluated){const{props:H,items:Z}=N;z.evaluated={props:H instanceof e.Name?void 0:H,items:Z instanceof e.Name?void 0:Z,dynamicProps:H instanceof e.Name,dynamicItems:Z instanceof e.Name},z.source&&(z.source.evaluated=(0,e.stringify)(z.evaluated))}return f.validate=z,f}catch(q){throw delete f.validate,delete f.validateName,T&&this.logger.error("Error compiling schema, function code:",T),q}finally{this._compilations.delete(f)}}ie.compileSchema=o;function l(f,h,a){var y;a=(0,d.resolveUrl)(this.opts.uriResolver,h,a);const w=f.refs[a];if(w)return w;let t=P.call(this,f,a);if(t===void 0){const s=(y=f.localRefs)===null||y===void 0?void 0:y[a],{schemaId:c}=this.opts;s&&(t=new u({schema:s,schemaId:c,root:f,baseId:h}))}if(t!==void 0)return f.refs[a]=$.call(this,t)}ie.resolveRef=l;function $(f){return(0,d.inlineRef)(f.schema,this.opts.inlineRefs)?f.schema:f.validate?f:o.call(this,f)}function p(f){for(const h of this._compilations)if(E(h,f))return h}ie.getCompilingSchema=p;function E(f,h){return f.schema===h.schema&&f.root===h.root&&f.baseId===h.baseId}function P(f,h){let a;for(;typeof(a=this.refs[h])=="string";)h=a;return a||this.schemas[h]||b.call(this,f,h)}function b(f,h){const a=this.opts.uriResolver.parse(h),y=(0,d._getFullPath)(this.opts.uriResolver,a);let w=(0,d.getFullPath)(this.opts.uriResolver,f.baseId,void 0);if(Object.keys(f.schema).length>0&&y===w)return S.call(this,a,f);const t=(0,d.normalizeId)(y),s=this.refs[t]||this.schemas[t];if(typeof s=="string"){const c=b.call(this,f,s);return typeof(c==null?void 0:c.schema)!="object"?void 0:S.call(this,a,c)}if(typeof(s==null?void 0:s.schema)=="object"){if(s.validate||o.call(this,s),t===(0,d.normalizeId)(h)){const{schema:c}=s,{schemaId:m}=this.opts,N=c[m];return N&&(w=(0,d.resolveUrl)(this.opts.uriResolver,w,N)),new u({schema:c,schemaId:m,root:f,baseId:w})}return S.call(this,a,s)}}ie.resolveSchema=b;const R=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function S(f,{baseId:h,schema:a,root:y}){var w;if(((w=f.fragment)===null||w===void 0?void 0:w[0])!=="/")return;for(const c of f.fragment.slice(1).split("/")){if(typeof a=="boolean")return;const m=a[(0,_.unescapeFragment)(c)];if(m===void 0)return;a=m;const N=typeof a=="object"&&a[this.opts.schemaId];!R.has(c)&&N&&(h=(0,d.resolveUrl)(this.opts.uriResolver,h,N))}let t;if(typeof a!="boolean"&&a.$ref&&!(0,_.schemaHasRulesButRef)(a,this.RULES)){const c=(0,d.resolveUrl)(this.opts.uriResolver,h,a.$ref);t=b.call(this,y,c)}const{schemaId:s}=this.opts;if(t=t||new u({schema:a,schemaId:s,root:y,baseId:h}),t.schema!==t.root.schema)return t}return ie}const zn="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Fn="Meta-schema for $data reference (JSON AnySchema extension proposal)",Kn="object",Ln=["$data"],Hn={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Gn=!1,Jn={$id:zn,description:Fn,type:Kn,required:Ln,properties:Hn,additionalProperties:Gn};var Ce={},Oe={exports:{}},Lt,gr;function Nn(){if(gr)return Lt;gr=1;const e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),r=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),v=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),d=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),_=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function n(t){let s="",c=0,m=0;for(m=0;m<t.length;m++)if(c=t[m].charCodeAt(0),c!==48){if(!(c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102))return"";s+=t[m];break}for(m+=1;m<t.length;m++){if(c=t[m].charCodeAt(0),!(c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102))return"";s+=t[m]}return s}const u=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function o(t){return t.length=0,!0}function l(t,s,c){if(t.length){const m=n(t);if(m!=="")s.push(m);else return c.error=!0,!1;t.length=0}return!0}function $(t){let s=0;const c={error:!1,address:"",zone:""},m=[],N=[];let T=!1,q=!1,D=l;for(let z=0;z<t.length;z++){const H=t[z];if(!(H==="["||H==="]"))if(H===":"){if(T===!0&&(q=!0),!D(N,m,c))break;if(++s>7){c.error=!0;break}z>0&&t[z-1]===":"&&(T=!0),m.push(":");continue}else if(H==="%"){if(!D(N,m,c))break;D=o}else{N.push(H);continue}}return N.length&&(D===o?c.zone=N.join(""):q?m.push(N.join("")):m.push(n(N))),c.address=m.join(""),c}function p(t){if(E(t,":")<2)return{host:t,isIPV6:!1};const s=$(t);if(s.error)return{host:t,isIPV6:!1};{let c=s.address,m=s.address;return s.zone&&(c+="%"+s.zone,m+="%25"+s.zone),{host:c,isIPV6:!0,escapedHost:m}}}function E(t,s){let c=0;for(let m=0;m<t.length;m++)t[m]===s&&c++;return c}function P(t){let s=t;const c=[];let m=-1,N=0;for(;N=s.length;){if(N===1){if(s===".")break;if(s==="/"){c.push("/");break}else{c.push(s);break}}else if(N===2){if(s[0]==="."){if(s[1]===".")break;if(s[1]==="/"){s=s.slice(2);continue}}else if(s[0]==="/"&&(s[1]==="."||s[1]==="/")){c.push("/");break}}else if(N===3&&s==="/.."){c.length!==0&&c.pop(),c.push("/");break}if(s[0]==="."){if(s[1]==="."){if(s[2]==="/"){s=s.slice(3);continue}}else if(s[1]==="/"){s=s.slice(2);continue}}else if(s[0]==="/"&&s[1]==="."){if(s[2]==="/"){s=s.slice(2);continue}else if(s[2]==="."&&s[3]==="/"){s=s.slice(3),c.length!==0&&c.pop();continue}}if((m=s.indexOf("/",1))===-1){c.push(s);break}else c.push(s.slice(0,m)),s=s.slice(m)}return c.join("")}const b={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},R=/[@/?#:]/g,S=/[@/?#]/g;function f(t,s){const c=s?S:R;return c.lastIndex=0,t.replace(c,m=>b[m])}function h(t,s=!1){if(t.indexOf("%")===-1)return t;let c="";for(let m=0;m<t.length;m++){if(t[m]==="%"&&m+2<t.length){const N=t.slice(m+1,m+3);if(v(N)){const T=N.toUpperCase(),q=String.fromCharCode(parseInt(T,16));s&&d(q)?c+=q:c+="%"+T,m+=2;continue}}c+=t[m]}return c}function a(t){let s="";for(let c=0;c<t.length;c++){if(t[c]==="%"&&c+2<t.length){const m=t.slice(c+1,c+3);if(v(m)){const N=m.toUpperCase(),T=String.fromCharCode(parseInt(N,16));T!=="."&&d(T)?s+=T:s+="%"+N,c+=2;continue}}_(t[c])?s+=t[c]:s+=escape(t[c])}return s}function y(t){let s="";for(let c=0;c<t.length;c++){if(t[c]==="%"&&c+2<t.length){const m=t.slice(c+1,c+3);if(v(m)){s+="%"+m.toUpperCase(),c+=2;continue}}s+=escape(t[c])}return s}function w(t){const s=[];if(t.userinfo!==void 0&&(s.push(t.userinfo),s.push("@")),t.host!==void 0){let c=unescape(t.host);if(!r(c)){const m=p(c);m.isIPV6===!0?c=`[${m.escapedHost}]`:c=f(c,!1)}s.push(c)}return(typeof t.port=="number"||typeof t.port=="string")&&(s.push(":"),s.push(String(t.port))),s.length?s.join(""):void 0}return Lt={nonSimpleDomain:u,recomposeAuthority:w,reescapeHostDelimiters:f,normalizePercentEncoding:h,normalizePathEncoding:a,escapePreservingEscapes:y,removeDotSegments:P,isIPv4:r,isUUID:e,normalizeIPv6:p,stringArrayToHexStripped:n},Lt}var Ht,br;function Bn(){if(br)return Ht;br=1;const{isUUID:e}=Nn(),r=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,v=["http","https","ws","wss","urn","urn:uuid"];function d(t){return v.indexOf(t)!==-1}function _(t){return t.secure===!0?!0:t.secure===!1?!1:t.scheme?t.scheme.length===3&&(t.scheme[0]==="w"||t.scheme[0]==="W")&&(t.scheme[1]==="s"||t.scheme[1]==="S")&&(t.scheme[2]==="s"||t.scheme[2]==="S"):!1}function n(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function u(t){const s=String(t.scheme).toLowerCase()==="https";return(t.port===(s?443:80)||t.port==="")&&(t.port=void 0),t.path||(t.path="/"),t}function o(t){return t.secure=_(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function l(t){if((t.port===(_(t)?443:80)||t.port==="")&&(t.port=void 0),typeof t.secure=="boolean"&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){const[s,c]=t.resourceName.split("?");t.path=s&&s!=="/"?s:void 0,t.query=c,t.resourceName=void 0}return t.fragment=void 0,t}function $(t,s){if(!t.path)return t.error="URN can not be parsed",t;const c=t.path.match(r);if(c){const m=s.scheme||t.scheme||"urn";t.nid=c[1].toLowerCase(),t.nss=c[2];const N=`${m}:${s.nid||t.nid}`,T=w(N);t.path=void 0,T&&(t=T.parse(t,s))}else t.error=t.error||"URN can not be parsed.";return t}function p(t,s){if(t.nid===void 0)throw new Error("URN without nid cannot be serialized");const c=s.scheme||t.scheme||"urn",m=t.nid.toLowerCase(),N=`${c}:${s.nid||m}`,T=w(N);T&&(t=T.serialize(t,s));const q=t,D=t.nss;return q.path=`${m||s.nid}:${D}`,s.skipEscape=!0,q}function E(t,s){const c=t;return c.uuid=c.nss,c.nss=void 0,!s.tolerant&&(!c.uuid||!e(c.uuid))&&(c.error=c.error||"UUID is not valid."),c}function P(t){const s=t;return s.nss=(t.uuid||"").toLowerCase(),s}const b={scheme:"http",domainHost:!0,parse:n,serialize:u},R={scheme:"https",domainHost:b.domainHost,parse:n,serialize:u},S={scheme:"ws",domainHost:!0,parse:o,serialize:l},f={scheme:"wss",domainHost:S.domainHost,parse:S.parse,serialize:S.serialize},y={http:b,https:R,ws:S,wss:f,urn:{scheme:"urn",parse:$,serialize:p,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:E,serialize:P,skipNormalize:!0}};Object.setPrototypeOf(y,null);function w(t){return t&&(y[t]||y[t.toLowerCase()])||void 0}return Ht={wsIsSecure:_,SCHEMES:y,isValidSchemeName:d,getSchemeHandler:w},Ht}var wr;function Wn(){if(wr)return Oe.exports;wr=1;const{normalizeIPv6:e,removeDotSegments:r,recomposeAuthority:v,normalizePercentEncoding:d,normalizePathEncoding:_,escapePreservingEscapes:n,reescapeHostDelimiters:u,isIPv4:o,nonSimpleDomain:l}=Nn(),{SCHEMES:$,getSchemeHandler:p}=Bn();function E(m,N){return typeof m=="string"?m=w(m,N):typeof m=="object"&&(m=y(S(m,N),N)),m}function P(m,N,T){const q=T?Object.assign({scheme:"null"},T):{scheme:"null"},D=b(y(m,q),y(N,q),q,!0);return q.skipEscape=!0,S(D,q)}function b(m,N,T,q){const D={};return q||(m=y(S(m,T),T),N=y(S(N,T),T)),T=T||{},!T.tolerant&&N.scheme?(D.scheme=N.scheme,D.userinfo=N.userinfo,D.host=N.host,D.port=N.port,D.path=r(N.path||""),D.query=N.query):(N.userinfo!==void 0||N.host!==void 0||N.port!==void 0?(D.userinfo=N.userinfo,D.host=N.host,D.port=N.port,D.path=r(N.path||""),D.query=N.query):(N.path?(N.path[0]==="/"?D.path=r(N.path):((m.userinfo!==void 0||m.host!==void 0||m.port!==void 0)&&!m.path?D.path="/"+N.path:m.path?D.path=m.path.slice(0,m.path.lastIndexOf("/")+1)+N.path:D.path=N.path,D.path=r(D.path)),D.query=N.query):(D.path=m.path,N.query!==void 0?D.query=N.query:D.query=m.query),D.userinfo=m.userinfo,D.host=m.host,D.port=m.port),D.scheme=m.scheme),D.fragment=N.fragment,D}function R(m,N,T){const q=s(m,T),D=s(N,T);return q!==void 0&&D!==void 0&&q.toLowerCase()===D.toLowerCase()}function S(m,N){const T={host:m.host,scheme:m.scheme,userinfo:m.userinfo,port:m.port,path:m.path,query:m.query,nid:m.nid,nss:m.nss,uuid:m.uuid,fragment:m.fragment,reference:m.reference,resourceName:m.resourceName,secure:m.secure,error:""},q=Object.assign({},N),D=[],z=p(q.scheme||T.scheme);z&&z.serialize&&z.serialize(T,q),T.path!==void 0&&(q.skipEscape?T.path=d(T.path):(T.path=n(T.path),T.scheme!==void 0&&(T.path=T.path.split("%3A").join(":")))),q.reference!=="suffix"&&T.scheme&&D.push(T.scheme,":");const H=v(T);if(H!==void 0&&(q.reference!=="suffix"&&D.push("//"),D.push(H),T.path&&T.path[0]!=="/"&&D.push("/")),T.path!==void 0){let Z=T.path;!q.absolutePath&&(!z||!z.absolutePath)&&(Z=r(Z)),H===void 0&&Z[0]==="/"&&Z[1]==="/"&&(Z="/%2F"+Z.slice(2)),D.push(Z)}return T.query!==void 0&&D.push("?",T.query),T.fragment!==void 0&&D.push("#",T.fragment),D.join("")}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function h(m,N){if(N[2]!==void 0&&m.path&&m.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof m.port=="number"&&(m.port<0||m.port>65535))return"URI port is malformed."}function a(m,N){const T=Object.assign({},N),q={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let D=!1,z=!1;T.reference==="suffix"&&(T.scheme?m=T.scheme+":"+m:m="//"+m);const H=m.match(f);if(H){q.scheme=H[1],q.userinfo=H[3],q.host=H[4],q.port=parseInt(H[5],10),q.path=H[6]||"",q.query=H[7],q.fragment=H[8],isNaN(q.port)&&(q.port=H[5]);const Z=h(q,H);if(Z!==void 0&&(q.error=q.error||Z,D=!0),q.host)if(o(q.host)===!1){const Y=e(q.host);q.host=Y.host.toLowerCase(),z=Y.isIPV6}else z=!0;q.scheme===void 0&&q.userinfo===void 0&&q.host===void 0&&q.port===void 0&&q.query===void 0&&!q.path?q.reference="same-document":q.scheme===void 0?q.reference="relative":q.fragment===void 0?q.reference="absolute":q.reference="uri",T.reference&&T.reference!=="suffix"&&T.reference!==q.reference&&(q.error=q.error||"URI is not a "+T.reference+" reference.");const ee=p(T.scheme||q.scheme);if(!T.unicodeSupport&&(!ee||!ee.unicodeSupport)&&q.host&&(T.domainHost||ee&&ee.domainHost)&&z===!1&&l(q.host))try{q.host=URL.domainToASCII(q.host.toLowerCase())}catch(ce){q.error=q.error||"Host's domain name can not be converted to ASCII: "+ce}if((!ee||ee&&!ee.skipNormalize)&&(m.indexOf("%")!==-1&&(q.scheme!==void 0&&(q.scheme=unescape(q.scheme)),q.host!==void 0&&(q.host=u(unescape(q.host),z))),q.path&&(q.path=_(q.path)),q.fragment))try{q.fragment=encodeURI(decodeURIComponent(q.fragment))}catch{q.error=q.error||"URI malformed"}ee&&ee.parse&&ee.parse(q,T)}else q.error=q.error||"URI can not be parsed.";return{parsed:q,malformedAuthorityOrPort:D}}function y(m,N){return a(m,N).parsed}function w(m,N){return t(m,N).normalized}function t(m,N){const{parsed:T,malformedAuthorityOrPort:q}=a(m,N);return{normalized:q?m:S(T,N),malformedAuthorityOrPort:q}}function s(m,N){if(typeof m=="string"){const{normalized:T,malformedAuthorityOrPort:q}=t(m,N);return q?void 0:T}if(typeof m=="object")return S(m,N)}const c={SCHEMES:$,normalize:E,resolve:P,resolveComponent:b,equal:R,serialize:S,parse:y};return Oe.exports=c,Oe.exports.default=c,Oe.exports.fastUri=c,Oe.exports}var Er;function Qn(){if(Er)return Ce;Er=1,Object.defineProperty(Ce,"__esModule",{value:!0});const e=Wn();return e.code='require("ajv/dist/runtime/uri").default',Ce.default=e,Ce}var Pr;function Xn(){return Pr||(Pr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var r=kt();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var v=G();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return v._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return v.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return v.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return v.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return v.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return v.CodeGen}});const d=Jt(),_=qt(),n=Sn(),u=It(),o=G(),l=Ot(),$=jt(),p=W(),E=Jn,P=Qn(),b=(V,O)=>new RegExp(V,O);b.code="new RegExp";const R=["removeAdditional","useDefaults","coerceTypes"],S=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),f={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},h={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},a=200;function y(V){var O,M,I,i,g,A,F,L,X,Q,j,k,C,U,K,B,te,de,ae,oe,re,we,ue,Tt,At;const je=V.strict,Ct=(O=V.code)===null||O===void 0?void 0:O.optimize,Xt=Ct===!0||Ct===void 0?1:Ct||0,Zt=(I=(M=V.code)===null||M===void 0?void 0:M.regExp)!==null&&I!==void 0?I:b,An=(i=V.uriResolver)!==null&&i!==void 0?i:P.default;return{strictSchema:(A=(g=V.strictSchema)!==null&&g!==void 0?g:je)!==null&&A!==void 0?A:!0,strictNumbers:(L=(F=V.strictNumbers)!==null&&F!==void 0?F:je)!==null&&L!==void 0?L:!0,strictTypes:(Q=(X=V.strictTypes)!==null&&X!==void 0?X:je)!==null&&Q!==void 0?Q:"log",strictTuples:(k=(j=V.strictTuples)!==null&&j!==void 0?j:je)!==null&&k!==void 0?k:"log",strictRequired:(U=(C=V.strictRequired)!==null&&C!==void 0?C:je)!==null&&U!==void 0?U:!1,code:V.code?{...V.code,optimize:Xt,regExp:Zt}:{optimize:Xt,regExp:Zt},loopRequired:(K=V.loopRequired)!==null&&K!==void 0?K:a,loopEnum:(B=V.loopEnum)!==null&&B!==void 0?B:a,meta:(te=V.meta)!==null&&te!==void 0?te:!0,messages:(de=V.messages)!==null&&de!==void 0?de:!0,inlineRefs:(ae=V.inlineRefs)!==null&&ae!==void 0?ae:!0,schemaId:(oe=V.schemaId)!==null&&oe!==void 0?oe:"$id",addUsedSchema:(re=V.addUsedSchema)!==null&&re!==void 0?re:!0,validateSchema:(we=V.validateSchema)!==null&&we!==void 0?we:!0,validateFormats:(ue=V.validateFormats)!==null&&ue!==void 0?ue:!0,unicodeRegExp:(Tt=V.unicodeRegExp)!==null&&Tt!==void 0?Tt:!0,int32range:(At=V.int32range)!==null&&At!==void 0?At:!0,uriResolver:An}}class w{constructor(O={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,O=this.opts={...O,...y(O)};const{es5:M,lines:I}=this.opts.code;this.scope=new o.ValueScope({scope:{},prefixes:S,es5:M,lines:I}),this.logger=D(O.logger);const i=O.validateFormats;O.validateFormats=!1,this.RULES=(0,n.getRules)(),t.call(this,f,O,"NOT SUPPORTED"),t.call(this,h,O,"DEPRECATED","warn"),this._metaOpts=T.call(this),O.formats&&m.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),O.keywords&&N.call(this,O.keywords),typeof O.meta=="object"&&this.addMetaSchema(O.meta),c.call(this),O.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:O,meta:M,schemaId:I}=this.opts;let i=E;I==="id"&&(i={...E},i.id=i.$id,delete i.$id),M&&O&&this.addMetaSchema(i,i[I],!1)}defaultMeta(){const{meta:O,schemaId:M}=this.opts;return this.opts.defaultMeta=typeof O=="object"?O[M]||O:void 0}validate(O,M){let I;if(typeof O=="string"){if(I=this.getSchema(O),!I)throw new Error(`no schema with key or ref "${O}"`)}else I=this.compile(O);const i=I(M);return"$async"in I||(this.errors=I.errors),i}compile(O,M){const I=this._addSchema(O,M);return I.validate||this._compileSchemaEnv(I)}compileAsync(O,M){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:I}=this.opts;return i.call(this,O,M);async function i(Q,j){await g.call(this,Q.$schema);const k=this._addSchema(Q,j);return k.validate||A.call(this,k)}async function g(Q){Q&&!this.getSchema(Q)&&await i.call(this,{$ref:Q},!0)}async function A(Q){try{return this._compileSchemaEnv(Q)}catch(j){if(!(j instanceof _.default))throw j;return F.call(this,j),await L.call(this,j.missingSchema),A.call(this,Q)}}function F({missingSchema:Q,missingRef:j}){if(this.refs[Q])throw new Error(`AnySchema ${Q} is loaded but ${j} cannot be resolved`)}async function L(Q){const j=await X.call(this,Q);this.refs[Q]||await g.call(this,j.$schema),this.refs[Q]||this.addSchema(j,Q,M)}async function X(Q){const j=this._loading[Q];if(j)return j;try{return await(this._loading[Q]=I(Q))}finally{delete this._loading[Q]}}}addSchema(O,M,I,i=this.opts.validateSchema){if(Array.isArray(O)){for(const A of O)this.addSchema(A,void 0,I,i);return this}let g;if(typeof O=="object"){const{schemaId:A}=this.opts;if(g=O[A],g!==void 0&&typeof g!="string")throw new Error(`schema ${A} must be string`)}return M=(0,l.normalizeId)(M||g),this._checkUnique(M),this.schemas[M]=this._addSchema(O,I,M,i,!0),this}addMetaSchema(O,M,I=this.opts.validateSchema){return this.addSchema(O,M,!0,I),this}validateSchema(O,M){if(typeof O=="boolean")return!0;let I;if(I=O.$schema,I!==void 0&&typeof I!="string")throw new Error("$schema must be a string");if(I=I||this.opts.defaultMeta||this.defaultMeta(),!I)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const i=this.validate(I,O);if(!i&&M){const g="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(g);else throw new Error(g)}return i}getSchema(O){let M;for(;typeof(M=s.call(this,O))=="string";)O=M;if(M===void 0){const{schemaId:I}=this.opts,i=new u.SchemaEnv({schema:{},schemaId:I});if(M=u.resolveSchema.call(this,i,O),!M)return;this.refs[O]=M}return M.validate||this._compileSchemaEnv(M)}removeSchema(O){if(O instanceof RegExp)return this._removeAllSchemas(this.schemas,O),this._removeAllSchemas(this.refs,O),this;switch(typeof O){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const M=s.call(this,O);return typeof M=="object"&&this._cache.delete(M.schema),delete this.schemas[O],delete this.refs[O],this}case"object":{const M=O;this._cache.delete(M);let I=O[this.opts.schemaId];return I&&(I=(0,l.normalizeId)(I),delete this.schemas[I],delete this.refs[I]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(O){for(const M of O)this.addKeyword(M);return this}addKeyword(O,M){let I;if(typeof O=="string")I=O,typeof M=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),M.keyword=I);else if(typeof O=="object"&&M===void 0){if(M=O,I=M.keyword,Array.isArray(I)&&!I.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(H.call(this,I,M),!M)return(0,p.eachItem)(I,g=>Z.call(this,g)),this;ce.call(this,M);const i={...M,type:(0,$.getJSONTypes)(M.type),schemaType:(0,$.getJSONTypes)(M.schemaType)};return(0,p.eachItem)(I,i.type.length===0?g=>Z.call(this,g,i):g=>i.type.forEach(A=>Z.call(this,g,i,A))),this}getKeyword(O){const M=this.RULES.all[O];return typeof M=="object"?M.definition:!!M}removeKeyword(O){const{RULES:M}=this;delete M.keywords[O],delete M.all[O];for(const I of M.rules){const i=I.rules.findIndex(g=>g.keyword===O);i>=0&&I.rules.splice(i,1)}return this}addFormat(O,M){return typeof M=="string"&&(M=new RegExp(M)),this.formats[O]=M,this}errorsText(O=this.errors,{separator:M=", ",dataVar:I="data"}={}){return!O||O.length===0?"No errors":O.map(i=>`${I}${i.instancePath} ${i.message}`).reduce((i,g)=>i+M+g)}$dataMetaSchema(O,M){const I=this.RULES.all;O=JSON.parse(JSON.stringify(O));for(const i of M){const g=i.split("/").slice(1);let A=O;for(const F of g)A=A[F];for(const F in I){const L=I[F];if(typeof L!="object")continue;const{$data:X}=L.definition,Q=A[F];X&&Q&&(A[F]=$e(Q))}}return O}_removeAllSchemas(O,M){for(const I in O){const i=O[I];(!M||M.test(I))&&(typeof i=="string"?delete O[I]:i&&!i.meta&&(this._cache.delete(i.schema),delete O[I]))}}_addSchema(O,M,I,i=this.opts.validateSchema,g=this.opts.addUsedSchema){let A;const{schemaId:F}=this.opts;if(typeof O=="object")A=O[F];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof O!="boolean")throw new Error("schema must be object or boolean")}let L=this._cache.get(O);if(L!==void 0)return L;I=(0,l.normalizeId)(A||I);const X=l.getSchemaRefs.call(this,O,I);return L=new u.SchemaEnv({schema:O,schemaId:F,meta:M,baseId:I,localRefs:X}),this._cache.set(L.schema,L),g&&!I.startsWith("#")&&(I&&this._checkUnique(I),this.refs[I]=L),i&&this.validateSchema(O,!0),L}_checkUnique(O){if(this.schemas[O]||this.refs[O])throw new Error(`schema with key or id "${O}" already exists`)}_compileSchemaEnv(O){if(O.meta?this._compileMetaSchema(O):u.compileSchema.call(this,O),!O.validate)throw new Error("ajv implementation error");return O.validate}_compileMetaSchema(O){const M=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,O)}finally{this.opts=M}}}w.ValidationError=d.default,w.MissingRefError=_.default,e.default=w;function t(V,O,M,I="error"){for(const i in V){const g=i;g in O&&this.logger[I](`${M}: option ${i}. ${V[g]}`)}}function s(V){return V=(0,l.normalizeId)(V),this.schemas[V]||this.refs[V]}function c(){const V=this.opts.schemas;if(V)if(Array.isArray(V))this.addSchema(V);else for(const O in V)this.addSchema(V[O],O)}function m(){for(const V in this.opts.formats){const O=this.opts.formats[V];O&&this.addFormat(V,O)}}function N(V){if(Array.isArray(V)){this.addVocabulary(V);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const O in V){const M=V[O];M.keyword||(M.keyword=O),this.addKeyword(M)}}function T(){const V={...this.opts};for(const O of R)delete V[O];return V}const q={log(){},warn(){},error(){}};function D(V){if(V===!1)return q;if(V===void 0)return console;if(V.log&&V.warn&&V.error)return V;throw new Error("logger must implement log, warn and error methods")}const z=/^[a-z_$][a-z0-9_$:-]*$/i;function H(V,O){const{RULES:M}=this;if((0,p.eachItem)(V,I=>{if(M.keywords[I])throw new Error(`Keyword ${I} is already defined`);if(!z.test(I))throw new Error(`Keyword ${I} has invalid name`)}),!!O&&O.$data&&!("code"in O||"validate"in O))throw new Error('$data keyword must have "code" or "validate" function')}function Z(V,O,M){var I;const i=O==null?void 0:O.post;if(M&&i)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:g}=this;let A=i?g.post:g.rules.find(({type:L})=>L===M);if(A||(A={type:M,rules:[]},g.rules.push(A)),g.keywords[V]=!0,!O)return;const F={keyword:V,definition:{...O,type:(0,$.getJSONTypes)(O.type),schemaType:(0,$.getJSONTypes)(O.schemaType)}};O.before?ee.call(this,A,F,O.before):A.rules.push(F),g.all[V]=F,(I=O.implements)===null||I===void 0||I.forEach(L=>this.addKeyword(L))}function ee(V,O,M){const I=V.rules.findIndex(i=>i.keyword===M);I>=0?V.rules.splice(I,0,O):(V.rules.push(O),this.logger.warn(`rule ${M} is not defined`))}function ce(V){let{metaSchema:O}=V;O!==void 0&&(V.$data&&this.opts.$data&&(O=$e(O)),V.validateSchema=this.compile(O,!0))}const Y={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function $e(V){return{anyOf:[V,Y]}}})(Mt)),Mt}var Me={},De={},Ve={},Sr;function Zn(){if(Sr)return Ve;Sr=1,Object.defineProperty(Ve,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Ve.default=e,Ve}var ve={},Rr;function Bt(){if(Rr)return ve;Rr=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.callRef=ve.getValidate=void 0;const e=qt(),r=he(),v=G(),d=fe(),_=It(),n=W(),u={keyword:"$ref",schemaType:"string",code($){const{gen:p,schema:E,it:P}=$,{baseId:b,schemaEnv:R,validateName:S,opts:f,self:h}=P,{root:a}=R;if((E==="#"||E==="#/")&&b===a.baseId)return w();const y=_.resolveRef.call(h,a,b,E);if(y===void 0)throw new e.default(P.opts.uriResolver,b,E);if(y instanceof _.SchemaEnv)return t(y);return s(y);function w(){if(R===a)return l($,S,R,R.$async);const c=p.scopeValue("root",{ref:a});return l($,(0,v._)`${c}.validate`,a,a.$async)}function t(c){const m=o($,c);l($,m,c,c.$async)}function s(c){const m=p.scopeValue("schema",f.code.source===!0?{ref:c,code:(0,v.stringify)(c)}:{ref:c}),N=p.name("valid"),T=$.subschema({schema:c,dataTypes:[],schemaPath:v.nil,topSchemaRef:m,errSchemaPath:E},N);$.mergeEvaluated(T),$.ok(N)}}};function o($,p){const{gen:E}=$;return p.validate?E.scopeValue("validate",{ref:p.validate}):(0,v._)`${E.scopeValue("wrapper",{ref:p})}.validate`}ve.getValidate=o;function l($,p,E,P){const{gen:b,it:R}=$,{allErrors:S,schemaEnv:f,opts:h}=R,a=h.passContext?d.default.this:v.nil;P?y():w();function y(){if(!f.$async)throw new Error("async schema referenced by sync schema");const c=b.let("valid");b.try(()=>{b.code((0,v._)`await ${(0,r.callValidateCode)($,p,a)}`),s(p),S||b.assign(c,!0)},m=>{b.if((0,v._)`!(${m} instanceof ${R.ValidationError})`,()=>b.throw(m)),t(m),S||b.assign(c,!1)}),$.ok(c)}function w(){$.result((0,r.callValidateCode)($,p,a),()=>s(p),()=>t(p))}function t(c){const m=(0,v._)`${c}.errors`;b.assign(d.default.vErrors,(0,v._)`${d.default.vErrors} === null ? ${m} : ${d.default.vErrors}.concat(${m})`),b.assign(d.default.errors,(0,v._)`${d.default.vErrors}.length`)}function s(c){var m;if(!R.opts.unevaluated)return;const N=(m=E==null?void 0:E.validate)===null||m===void 0?void 0:m.evaluated;if(R.props!==!0)if(N&&!N.dynamicProps)N.props!==void 0&&(R.props=n.mergeEvaluated.props(b,N.props,R.props));else{const T=b.var("props",(0,v._)`${c}.evaluated.props`);R.props=n.mergeEvaluated.props(b,T,R.props,v.Name)}if(R.items!==!0)if(N&&!N.dynamicItems)N.items!==void 0&&(R.items=n.mergeEvaluated.items(b,N.items,R.items));else{const T=b.var("items",(0,v._)`${c}.evaluated.items`);R.items=n.mergeEvaluated.items(b,T,R.items,v.Name)}}}return ve.callRef=l,ve.default=u,ve}var jr;function Yn(){if(jr)return De;jr=1,Object.defineProperty(De,"__esModule",{value:!0});const e=Zn(),r=Bt(),v=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,r.default];return De.default=v,De}var Ue={},ze={},Nr;function xn(){if(Nr)return ze;Nr=1,Object.defineProperty(ze,"__esModule",{value:!0});const e=G(),r=e.operators,v={maximum:{okStr:"<=",ok:r.LTE,fail:r.GT},minimum:{okStr:">=",ok:r.GTE,fail:r.LT},exclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},exclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},d={message:({keyword:n,schemaCode:u})=>(0,e.str)`must be ${v[n].okStr} ${u}`,params:({keyword:n,schemaCode:u})=>(0,e._)`{comparison: ${v[n].okStr}, limit: ${u}}`},_={keyword:Object.keys(v),type:"number",schemaType:"number",$data:!0,error:d,code(n){const{keyword:u,data:o,schemaCode:l}=n;n.fail$data((0,e._)`${o} ${v[u].fail} ${l} || isNaN(${o})`)}};return ze.default=_,ze}var Fe={},Or;function es(){if(Or)return Fe;Or=1,Object.defineProperty(Fe,"__esModule",{value:!0});const e=G(),v={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:d})=>(0,e.str)`must be multiple of ${d}`,params:({schemaCode:d})=>(0,e._)`{multipleOf: ${d}}`},code(d){const{gen:_,data:n,schemaCode:u,it:o}=d,l=o.opts.multipleOfPrecision,$=_.let("res"),p=l?(0,e._)`Math.abs(Math.round(${$}) - ${$}) > 1e-${l}`:(0,e._)`${$} !== parseInt(${$})`;d.fail$data((0,e._)`(${u} === 0 || (${$} = ${n}/${u}, ${p}))`)}};return Fe.default=v,Fe}var Ke={},Le={},kr;function ts(){if(kr)return Le;kr=1,Object.defineProperty(Le,"__esModule",{value:!0});function e(r){const v=r.length;let d=0,_=0,n;for(;_<v;)d++,n=r.charCodeAt(_++),n>=55296&&n<=56319&&_<v&&(n=r.charCodeAt(_),(n&64512)===56320&&_++);return d}return Le.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Le}var qr;function rs(){if(qr)return Ke;qr=1,Object.defineProperty(Ke,"__esModule",{value:!0});const e=G(),r=W(),v=ts(),_={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:u}){const o=n==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${u} characters`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:u,data:o,schemaCode:l,it:$}=n,p=u==="maxLength"?e.operators.GT:e.operators.LT,E=$.opts.unicode===!1?(0,e._)`${o}.length`:(0,e._)`${(0,r.useFunc)(n.gen,v.default)}(${o})`;n.fail$data((0,e._)`${E} ${p} ${l}`)}};return Ke.default=_,Ke}var He={},Ir;function ns(){if(Ir)return He;Ir=1,Object.defineProperty(He,"__esModule",{value:!0});const e=he(),r=W(),v=G(),_={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,v.str)`must match pattern "${n}"`,params:({schemaCode:n})=>(0,v._)`{pattern: ${n}}`},code(n){const{gen:u,data:o,$data:l,schema:$,schemaCode:p,it:E}=n,P=E.opts.unicodeRegExp?"u":"";if(l){const{regExp:b}=E.opts.code,R=b.code==="new RegExp"?(0,v._)`new RegExp`:(0,r.useFunc)(u,b),S=u.let("valid");u.try(()=>u.assign(S,(0,v._)`${R}(${p}, ${P}).test(${o})`),()=>u.assign(S,!1)),n.fail$data((0,v._)`!${S}`)}else{const b=(0,e.usePattern)(n,$);n.fail$data((0,v._)`!${b}.test(${o})`)}}};return He.default=_,He}var Ge={},Tr;function ss(){if(Tr)return Ge;Tr=1,Object.defineProperty(Ge,"__esModule",{value:!0});const e=G(),v={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:d,schemaCode:_}){const n=d==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${n} than ${_} properties`},params:({schemaCode:d})=>(0,e._)`{limit: ${d}}`},code(d){const{keyword:_,data:n,schemaCode:u}=d,o=_==="maxProperties"?e.operators.GT:e.operators.LT;d.fail$data((0,e._)`Object.keys(${n}).length ${o} ${u}`)}};return Ge.default=v,Ge}var Je={},Ar;function as(){if(Ar)return Je;Ar=1,Object.defineProperty(Je,"__esModule",{value:!0});const e=he(),r=G(),v=W(),_={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:n}})=>(0,r.str)`must have required property '${n}'`,params:({params:{missingProperty:n}})=>(0,r._)`{missingProperty: ${n}}`},code(n){const{gen:u,schema:o,schemaCode:l,data:$,$data:p,it:E}=n,{opts:P}=E;if(!p&&o.length===0)return;const b=o.length>=P.loopRequired;if(E.allErrors?R():S(),P.strictRequired){const a=n.parentSchema.properties,{definedProperties:y}=n.it;for(const w of o)if((a==null?void 0:a[w])===void 0&&!y.has(w)){const t=E.schemaEnv.baseId+E.errSchemaPath,s=`required property "${w}" is not defined at "${t}" (strictRequired)`;(0,v.checkStrictMode)(E,s,E.opts.strictRequired)}}function R(){if(b||p)n.block$data(r.nil,f);else for(const a of o)(0,e.checkReportMissingProp)(n,a)}function S(){const a=u.let("missing");if(b||p){const y=u.let("valid",!0);n.block$data(y,()=>h(a,y)),n.ok(y)}else u.if((0,e.checkMissingProp)(n,o,a)),(0,e.reportMissingProp)(n,a),u.else()}function f(){u.forOf("prop",l,a=>{n.setParams({missingProperty:a}),u.if((0,e.noPropertyInData)(u,$,a,P.ownProperties),()=>n.error())})}function h(a,y){n.setParams({missingProperty:a}),u.forOf(a,l,()=>{u.assign(y,(0,e.propertyInData)(u,$,a,P.ownProperties)),u.if((0,r.not)(y),()=>{n.error(),u.break()})},r.nil)}}};return Je.default=_,Je}var Be={},Cr;function os(){if(Cr)return Be;Cr=1,Object.defineProperty(Be,"__esModule",{value:!0});const e=G(),v={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:d,schemaCode:_}){const n=d==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${n} than ${_} items`},params:({schemaCode:d})=>(0,e._)`{limit: ${d}}`},code(d){const{keyword:_,data:n,schemaCode:u}=d,o=_==="maxItems"?e.operators.GT:e.operators.LT;d.fail$data((0,e._)`${n}.length ${o} ${u}`)}};return Be.default=v,Be}var We={},Qe={},Mr;function Wt(){if(Mr)return Qe;Mr=1,Object.defineProperty(Qe,"__esModule",{value:!0});const e=jn();return e.code='require("ajv/dist/runtime/equal").default',Qe.default=e,Qe}var Dr;function is(){if(Dr)return We;Dr=1,Object.defineProperty(We,"__esModule",{value:!0});const e=jt(),r=G(),v=W(),d=Wt(),n={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:u,j:o}})=>(0,r.str)`must NOT have duplicate items (items ## ${o} and ${u} are identical)`,params:({params:{i:u,j:o}})=>(0,r._)`{i: ${u}, j: ${o}}`},code(u){const{gen:o,data:l,$data:$,schema:p,parentSchema:E,schemaCode:P,it:b}=u;if(!$&&!p)return;const R=o.let("valid"),S=E.items?(0,e.getSchemaTypes)(E.items):[];u.block$data(R,f,(0,r._)`${P} === false`),u.ok(R);function f(){const w=o.let("i",(0,r._)`${l}.length`),t=o.let("j");u.setParams({i:w,j:t}),o.assign(R,!0),o.if((0,r._)`${w} > 1`,()=>(h()?a:y)(w,t))}function h(){return S.length>0&&!S.some(w=>w==="object"||w==="array")}function a(w,t){const s=o.name("item"),c=(0,e.checkDataTypes)(S,s,b.opts.strictNumbers,e.DataType.Wrong),m=o.const("indices",(0,r._)`{}`);o.for((0,r._)`;${w}--;`,()=>{o.let(s,(0,r._)`${l}[${w}]`),o.if(c,(0,r._)`continue`),S.length>1&&o.if((0,r._)`typeof ${s} == "string"`,(0,r._)`${s} += "_"`),o.if((0,r._)`typeof ${m}[${s}] == "number"`,()=>{o.assign(t,(0,r._)`${m}[${s}]`),u.error(),o.assign(R,!1).break()}).code((0,r._)`${m}[${s}] = ${w}`)})}function y(w,t){const s=(0,v.useFunc)(o,d.default),c=o.name("outer");o.label(c).for((0,r._)`;${w}--;`,()=>o.for((0,r._)`${t} = ${w}; ${t}--;`,()=>o.if((0,r._)`${s}(${l}[${w}], ${l}[${t}])`,()=>{u.error(),o.assign(R,!1).break(c)})))}}};return We.default=n,We}var Xe={},Vr;function cs(){if(Vr)return Xe;Vr=1,Object.defineProperty(Xe,"__esModule",{value:!0});const e=G(),r=W(),v=Wt(),_={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:n})=>(0,e._)`{allowedValue: ${n}}`},code(n){const{gen:u,data:o,$data:l,schemaCode:$,schema:p}=n;l||p&&typeof p=="object"?n.fail$data((0,e._)`!${(0,r.useFunc)(u,v.default)}(${o}, ${$})`):n.fail((0,e._)`${p} !== ${o}`)}};return Xe.default=_,Xe}var Ze={},Ur;function us(){if(Ur)return Ze;Ur=1,Object.defineProperty(Ze,"__esModule",{value:!0});const e=G(),r=W(),v=Wt(),_={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:n})=>(0,e._)`{allowedValues: ${n}}`},code(n){const{gen:u,data:o,$data:l,schema:$,schemaCode:p,it:E}=n;if(!l&&$.length===0)throw new Error("enum must have non-empty array");const P=$.length>=E.opts.loopEnum;let b;const R=()=>b??(b=(0,r.useFunc)(u,v.default));let S;if(P||l)S=u.let("valid"),n.block$data(S,f);else{if(!Array.isArray($))throw new Error("ajv implementation error");const a=u.const("vSchema",p);S=(0,e.or)(...$.map((y,w)=>h(a,w)))}n.pass(S);function f(){u.assign(S,!1),u.forOf("v",p,a=>u.if((0,e._)`${R()}(${o}, ${a})`,()=>u.assign(S,!0).break()))}function h(a,y){const w=$[y];return typeof w=="object"&&w!==null?(0,e._)`${R()}(${o}, ${a}[${y}])`:(0,e._)`${o} === ${w}`}}};return Ze.default=_,Ze}var zr;function ds(){if(zr)return Ue;zr=1,Object.defineProperty(Ue,"__esModule",{value:!0});const e=xn(),r=es(),v=rs(),d=ns(),_=ss(),n=as(),u=os(),o=is(),l=cs(),$=us(),p=[e.default,r.default,v.default,d.default,_.default,n.default,u.default,o.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,$.default];return Ue.default=p,Ue}var Ye={},Ee={},Fr;function On(){if(Fr)return Ee;Fr=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.validateAdditionalItems=void 0;const e=G(),r=W(),d={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:n}})=>(0,e.str)`must NOT have more than ${n} items`,params:({params:{len:n}})=>(0,e._)`{limit: ${n}}`},code(n){const{parentSchema:u,it:o}=n,{items:l}=u;if(!Array.isArray(l)){(0,r.checkStrictMode)(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}_(n,l)}};function _(n,u){const{gen:o,schema:l,data:$,keyword:p,it:E}=n;E.items=!0;const P=o.const("len",(0,e._)`${$}.length`);if(l===!1)n.setParams({len:u.length}),n.pass((0,e._)`${P} <= ${u.length}`);else if(typeof l=="object"&&!(0,r.alwaysValidSchema)(E,l)){const R=o.var("valid",(0,e._)`${P} <= ${u.length}`);o.if((0,e.not)(R),()=>b(R)),n.ok(R)}function b(R){o.forRange("i",u.length,P,S=>{n.subschema({keyword:p,dataProp:S,dataPropType:r.Type.Num},R),E.allErrors||o.if((0,e.not)(R),()=>o.break())})}}return Ee.validateAdditionalItems=_,Ee.default=d,Ee}var xe={},Pe={},Kr;function kn(){if(Kr)return Pe;Kr=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.validateTuple=void 0;const e=G(),r=W(),v=he(),d={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(n){const{schema:u,it:o}=n;if(Array.isArray(u))return _(n,"additionalItems",u);o.items=!0,!(0,r.alwaysValidSchema)(o,u)&&n.ok((0,v.validateArray)(n))}};function _(n,u,o=n.schema){const{gen:l,parentSchema:$,data:p,keyword:E,it:P}=n;S($),P.opts.unevaluated&&o.length&&P.items!==!0&&(P.items=r.mergeEvaluated.items(l,o.length,P.items));const b=l.name("valid"),R=l.const("len",(0,e._)`${p}.length`);o.forEach((f,h)=>{(0,r.alwaysValidSchema)(P,f)||(l.if((0,e._)`${R} > ${h}`,()=>n.subschema({keyword:E,schemaProp:h,dataProp:h},b)),n.ok(b))});function S(f){const{opts:h,errSchemaPath:a}=P,y=o.length,w=y===f.minItems&&(y===f.maxItems||f[u]===!1);if(h.strictTuples&&!w){const t=`"${E}" is ${y}-tuple, but minItems or maxItems/${u} are not specified or different at path "${a}"`;(0,r.checkStrictMode)(P,t,h.strictTuples)}}}return Pe.validateTuple=_,Pe.default=d,Pe}var Lr;function ls(){if(Lr)return xe;Lr=1,Object.defineProperty(xe,"__esModule",{value:!0});const e=kn(),r={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:v=>(0,e.validateTuple)(v,"items")};return xe.default=r,xe}var et={},Hr;function fs(){if(Hr)return et;Hr=1,Object.defineProperty(et,"__esModule",{value:!0});const e=G(),r=W(),v=he(),d=On(),n={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,e.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,e._)`{limit: ${u}}`},code(u){const{schema:o,parentSchema:l,it:$}=u,{prefixItems:p}=l;$.items=!0,!(0,r.alwaysValidSchema)($,o)&&(p?(0,d.validateAdditionalItems)(u,p):u.ok((0,v.validateArray)(u)))}};return et.default=n,et}var tt={},Gr;function hs(){if(Gr)return tt;Gr=1,Object.defineProperty(tt,"__esModule",{value:!0});const e=G(),r=W(),d={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:_,max:n}})=>n===void 0?(0,e.str)`must contain at least ${_} valid item(s)`:(0,e.str)`must contain at least ${_} and no more than ${n} valid item(s)`,params:({params:{min:_,max:n}})=>n===void 0?(0,e._)`{minContains: ${_}}`:(0,e._)`{minContains: ${_}, maxContains: ${n}}`},code(_){const{gen:n,schema:u,parentSchema:o,data:l,it:$}=_;let p,E;const{minContains:P,maxContains:b}=o;$.opts.next?(p=P===void 0?1:P,E=b):p=1;const R=n.const("len",(0,e._)`${l}.length`);if(_.setParams({min:p,max:E}),E===void 0&&p===0){(0,r.checkStrictMode)($,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(E!==void 0&&p>E){(0,r.checkStrictMode)($,'"minContains" > "maxContains" is always invalid'),_.fail();return}if((0,r.alwaysValidSchema)($,u)){let y=(0,e._)`${R} >= ${p}`;E!==void 0&&(y=(0,e._)`${y} && ${R} <= ${E}`),_.pass(y);return}$.items=!0;const S=n.name("valid");E===void 0&&p===1?h(S,()=>n.if(S,()=>n.break())):p===0?(n.let(S,!0),E!==void 0&&n.if((0,e._)`${l}.length > 0`,f)):(n.let(S,!1),f()),_.result(S,()=>_.reset());function f(){const y=n.name("_valid"),w=n.let("count",0);h(y,()=>n.if(y,()=>a(w)))}function h(y,w){n.forRange("i",0,R,t=>{_.subschema({keyword:"contains",dataProp:t,dataPropType:r.Type.Num,compositeRule:!0},y),w()})}function a(y){n.code((0,e._)`${y}++`),E===void 0?n.if((0,e._)`${y} >= ${p}`,()=>n.assign(S,!0).break()):(n.if((0,e._)`${y} > ${E}`,()=>n.assign(S,!1).break()),p===1?n.assign(S,!0):n.if((0,e._)`${y} >= ${p}`,()=>n.assign(S,!0)))}}};return tt.default=d,tt}var Gt={},Jr;function Qt(){return Jr||(Jr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const r=G(),v=W(),d=he();e.error={message:({params:{property:l,depsCount:$,deps:p}})=>{const E=$===1?"property":"properties";return(0,r.str)`must have ${E} ${p} when property ${l} is present`},params:({params:{property:l,depsCount:$,deps:p,missingProperty:E}})=>(0,r._)`{property: ${l},
6
+ missingProperty: ${E},
7
+ depsCount: ${$},
8
+ deps: ${p}}`};const _={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[$,p]=n(l);u(l,$),o(l,p)}};function n({schema:l}){const $={},p={};for(const E in l){if(E==="__proto__")continue;const P=Array.isArray(l[E])?$:p;P[E]=l[E]}return[$,p]}function u(l,$=l.schema){const{gen:p,data:E,it:P}=l;if(Object.keys($).length===0)return;const b=p.let("missing");for(const R in $){const S=$[R];if(S.length===0)continue;const f=(0,d.propertyInData)(p,E,R,P.opts.ownProperties);l.setParams({property:R,depsCount:S.length,deps:S.join(", ")}),P.allErrors?p.if(f,()=>{for(const h of S)(0,d.checkReportMissingProp)(l,h)}):(p.if((0,r._)`${f} && (${(0,d.checkMissingProp)(l,S,b)})`),(0,d.reportMissingProp)(l,b),p.else())}}e.validatePropertyDeps=u;function o(l,$=l.schema){const{gen:p,data:E,keyword:P,it:b}=l,R=p.name("valid");for(const S in $)(0,v.alwaysValidSchema)(b,$[S])||(p.if((0,d.propertyInData)(p,E,S,b.opts.ownProperties),()=>{const f=l.subschema({keyword:P,schemaProp:S},R);l.mergeValidEvaluated(f,R)},()=>p.var(R,!0)),l.ok(R))}e.validateSchemaDeps=o,e.default=_})(Gt)),Gt}var rt={},Br;function ms(){if(Br)return rt;Br=1,Object.defineProperty(rt,"__esModule",{value:!0});const e=G(),r=W(),d={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:_})=>(0,e._)`{propertyName: ${_.propertyName}}`},code(_){const{gen:n,schema:u,data:o,it:l}=_;if((0,r.alwaysValidSchema)(l,u))return;const $=n.name("valid");n.forIn("key",o,p=>{_.setParams({propertyName:p}),_.subschema({keyword:"propertyNames",data:p,dataTypes:["string"],propertyName:p,compositeRule:!0},$),n.if((0,e.not)($),()=>{_.error(!0),l.allErrors||n.break()})}),_.ok($)}};return rt.default=d,rt}var nt={},Wr;function qn(){if(Wr)return nt;Wr=1,Object.defineProperty(nt,"__esModule",{value:!0});const e=he(),r=G(),v=fe(),d=W(),n={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:u})=>(0,r._)`{additionalProperty: ${u.additionalProperty}}`},code(u){const{gen:o,schema:l,parentSchema:$,data:p,errsCount:E,it:P}=u;if(!E)throw new Error("ajv implementation error");const{allErrors:b,opts:R}=P;if(P.props=!0,R.removeAdditional!=="all"&&(0,d.alwaysValidSchema)(P,l))return;const S=(0,e.allSchemaProperties)($.properties),f=(0,e.allSchemaProperties)($.patternProperties);h(),u.ok((0,r._)`${E} === ${v.default.errors}`);function h(){o.forIn("key",p,s=>{!S.length&&!f.length?w(s):o.if(a(s),()=>w(s))})}function a(s){let c;if(S.length>8){const m=(0,d.schemaRefOrVal)(P,$.properties,"properties");c=(0,e.isOwnProperty)(o,m,s)}else S.length?c=(0,r.or)(...S.map(m=>(0,r._)`${s} === ${m}`)):c=r.nil;return f.length&&(c=(0,r.or)(c,...f.map(m=>(0,r._)`${(0,e.usePattern)(u,m)}.test(${s})`))),(0,r.not)(c)}function y(s){o.code((0,r._)`delete ${p}[${s}]`)}function w(s){if(R.removeAdditional==="all"||R.removeAdditional&&l===!1){y(s);return}if(l===!1){u.setParams({additionalProperty:s}),u.error(),b||o.break();return}if(typeof l=="object"&&!(0,d.alwaysValidSchema)(P,l)){const c=o.name("valid");R.removeAdditional==="failing"?(t(s,c,!1),o.if((0,r.not)(c),()=>{u.reset(),y(s)})):(t(s,c),b||o.if((0,r.not)(c),()=>o.break()))}}function t(s,c,m){const N={keyword:"additionalProperties",dataProp:s,dataPropType:d.Type.Str};m===!1&&Object.assign(N,{compositeRule:!0,createErrors:!1,allErrors:!1}),u.subschema(N,c)}}};return nt.default=n,nt}var st={},Qr;function ps(){if(Qr)return st;Qr=1,Object.defineProperty(st,"__esModule",{value:!0});const e=kt(),r=he(),v=W(),d=qn(),_={keyword:"properties",type:"object",schemaType:"object",code(n){const{gen:u,schema:o,parentSchema:l,data:$,it:p}=n;p.opts.removeAdditional==="all"&&l.additionalProperties===void 0&&d.default.code(new e.KeywordCxt(p,d.default,"additionalProperties"));const E=(0,r.allSchemaProperties)(o);for(const f of E)p.definedProperties.add(f);p.opts.unevaluated&&E.length&&p.props!==!0&&(p.props=v.mergeEvaluated.props(u,(0,v.toHash)(E),p.props));const P=E.filter(f=>!(0,v.alwaysValidSchema)(p,o[f]));if(P.length===0)return;const b=u.name("valid");for(const f of P)R(f)?S(f):(u.if((0,r.propertyInData)(u,$,f,p.opts.ownProperties)),S(f),p.allErrors||u.else().var(b,!0),u.endIf()),n.it.definedProperties.add(f),n.ok(b);function R(f){return p.opts.useDefaults&&!p.compositeRule&&o[f].default!==void 0}function S(f){n.subschema({keyword:"properties",schemaProp:f,dataProp:f},b)}}};return st.default=_,st}var at={},Xr;function ys(){if(Xr)return at;Xr=1,Object.defineProperty(at,"__esModule",{value:!0});const e=he(),r=G(),v=W(),d=W(),_={keyword:"patternProperties",type:"object",schemaType:"object",code(n){const{gen:u,schema:o,data:l,parentSchema:$,it:p}=n,{opts:E}=p,P=(0,e.allSchemaProperties)(o),b=P.filter(w=>(0,v.alwaysValidSchema)(p,o[w]));if(P.length===0||b.length===P.length&&(!p.opts.unevaluated||p.props===!0))return;const R=E.strictSchema&&!E.allowMatchingProperties&&$.properties,S=u.name("valid");p.props!==!0&&!(p.props instanceof r.Name)&&(p.props=(0,d.evaluatedPropsToName)(u,p.props));const{props:f}=p;h();function h(){for(const w of P)R&&a(w),p.allErrors?y(w):(u.var(S,!0),y(w),u.if(S))}function a(w){for(const t in R)new RegExp(w).test(t)&&(0,v.checkStrictMode)(p,`property ${t} matches pattern ${w} (use allowMatchingProperties)`)}function y(w){u.forIn("key",l,t=>{u.if((0,r._)`${(0,e.usePattern)(n,w)}.test(${t})`,()=>{const s=b.includes(w);s||n.subschema({keyword:"patternProperties",schemaProp:w,dataProp:t,dataPropType:d.Type.Str},S),p.opts.unevaluated&&f!==!0?u.assign((0,r._)`${f}[${t}]`,!0):!s&&!p.allErrors&&u.if((0,r.not)(S),()=>u.break())})})}}};return at.default=_,at}var ot={},Zr;function $s(){if(Zr)return ot;Zr=1,Object.defineProperty(ot,"__esModule",{value:!0});const e=W(),r={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(v){const{gen:d,schema:_,it:n}=v;if((0,e.alwaysValidSchema)(n,_)){v.fail();return}const u=d.name("valid");v.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},u),v.failResult(u,()=>v.reset(),()=>v.error())},error:{message:"must NOT be valid"}};return ot.default=r,ot}var it={},Yr;function vs(){if(Yr)return it;Yr=1,Object.defineProperty(it,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:he().validateUnion,error:{message:"must match a schema in anyOf"}};return it.default=r,it}var ct={},xr;function _s(){if(xr)return ct;xr=1,Object.defineProperty(ct,"__esModule",{value:!0});const e=G(),r=W(),d={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:_})=>(0,e._)`{passingSchemas: ${_.passing}}`},code(_){const{gen:n,schema:u,parentSchema:o,it:l}=_;if(!Array.isArray(u))throw new Error("ajv implementation error");if(l.opts.discriminator&&o.discriminator)return;const $=u,p=n.let("valid",!1),E=n.let("passing",null),P=n.name("_valid");_.setParams({passing:E}),n.block(b),_.result(p,()=>_.reset(),()=>_.error(!0));function b(){$.forEach((R,S)=>{let f;(0,r.alwaysValidSchema)(l,R)?n.var(P,!0):f=_.subschema({keyword:"oneOf",schemaProp:S,compositeRule:!0},P),S>0&&n.if((0,e._)`${P} && ${p}`).assign(p,!1).assign(E,(0,e._)`[${E}, ${S}]`).else(),n.if(P,()=>{n.assign(p,!0),n.assign(E,S),f&&_.mergeEvaluated(f,e.Name)})})}}};return ct.default=d,ct}var ut={},en;function gs(){if(en)return ut;en=1,Object.defineProperty(ut,"__esModule",{value:!0});const e=W(),r={keyword:"allOf",schemaType:"array",code(v){const{gen:d,schema:_,it:n}=v;if(!Array.isArray(_))throw new Error("ajv implementation error");const u=d.name("valid");_.forEach((o,l)=>{if((0,e.alwaysValidSchema)(n,o))return;const $=v.subschema({keyword:"allOf",schemaProp:l},u);v.ok(u),v.mergeEvaluated($)})}};return ut.default=r,ut}var dt={},tn;function bs(){if(tn)return dt;tn=1,Object.defineProperty(dt,"__esModule",{value:!0});const e=G(),r=W(),d={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:n})=>(0,e.str)`must match "${n.ifClause}" schema`,params:({params:n})=>(0,e._)`{failingKeyword: ${n.ifClause}}`},code(n){const{gen:u,parentSchema:o,it:l}=n;o.then===void 0&&o.else===void 0&&(0,r.checkStrictMode)(l,'"if" without "then" and "else" is ignored');const $=_(l,"then"),p=_(l,"else");if(!$&&!p)return;const E=u.let("valid",!0),P=u.name("_valid");if(b(),n.reset(),$&&p){const S=u.let("ifClause");n.setParams({ifClause:S}),u.if(P,R("then",S),R("else",S))}else $?u.if(P,R("then")):u.if((0,e.not)(P),R("else"));n.pass(E,()=>n.error(!0));function b(){const S=n.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},P);n.mergeEvaluated(S)}function R(S,f){return()=>{const h=n.subschema({keyword:S},P);u.assign(E,P),n.mergeValidEvaluated(h,E),f?u.assign(f,(0,e._)`${S}`):n.setParams({ifClause:S})}}}};function _(n,u){const o=n.schema[u];return o!==void 0&&!(0,r.alwaysValidSchema)(n,o)}return dt.default=d,dt}var lt={},rn;function ws(){if(rn)return lt;rn=1,Object.defineProperty(lt,"__esModule",{value:!0});const e=W(),r={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:v,parentSchema:d,it:_}){d.if===void 0&&(0,e.checkStrictMode)(_,`"${v}" without "if" is ignored`)}};return lt.default=r,lt}var nn;function Es(){if(nn)return Ye;nn=1,Object.defineProperty(Ye,"__esModule",{value:!0});const e=On(),r=ls(),v=kn(),d=fs(),_=hs(),n=Qt(),u=ms(),o=qn(),l=ps(),$=ys(),p=$s(),E=vs(),P=_s(),b=gs(),R=bs(),S=ws();function f(h=!1){const a=[p.default,E.default,P.default,b.default,R.default,S.default,u.default,o.default,n.default,l.default,$.default];return h?a.push(r.default,d.default):a.push(e.default,v.default),a.push(_.default),a}return Ye.default=f,Ye}var ft={},Se={},sn;function In(){if(sn)return Se;sn=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.dynamicAnchor=void 0;const e=G(),r=fe(),v=It(),d=Bt(),_={keyword:"$dynamicAnchor",schemaType:"string",code:o=>n(o,o.schema)};function n(o,l){const{gen:$,it:p}=o;p.schemaEnv.root.dynamicAnchors[l]=!0;const E=(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(l)}`,P=p.errSchemaPath==="#"?p.validateName:u(o);$.if((0,e._)`!${E}`,()=>$.assign(E,P))}Se.dynamicAnchor=n;function u(o){const{schemaEnv:l,schema:$,self:p}=o.it,{root:E,baseId:P,localRefs:b,meta:R}=l.root,{schemaId:S}=p.opts,f=new v.SchemaEnv({schema:$,schemaId:S,root:E,baseId:P,localRefs:b,meta:R});return v.compileSchema.call(p,f),(0,d.getValidate)(o,f)}return Se.default=_,Se}var Re={},an;function Tn(){if(an)return Re;an=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.dynamicRef=void 0;const e=G(),r=fe(),v=Bt(),d={keyword:"$dynamicRef",schemaType:"string",code:n=>_(n,n.schema)};function _(n,u){const{gen:o,keyword:l,it:$}=n;if(u[0]!=="#")throw new Error(`"${l}" only supports hash fragment reference`);const p=u.slice(1);if($.allErrors)E();else{const b=o.let("valid",!1);E(b),n.ok(b)}function E(b){if($.schemaEnv.root.dynamicAnchors[p]){const R=o.let("_v",(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(p)}`);o.if(R,P(R,b),P($.validateName,b))}else P($.validateName,b)()}function P(b,R){return R?()=>o.block(()=>{(0,v.callRef)(n,b),o.let(R,!0)}):()=>(0,v.callRef)(n,b)}}return Re.dynamicRef=_,Re.default=d,Re}var ht={},on;function Ps(){if(on)return ht;on=1,Object.defineProperty(ht,"__esModule",{value:!0});const e=In(),r=W(),v={keyword:"$recursiveAnchor",schemaType:"boolean",code(d){d.schema?(0,e.dynamicAnchor)(d,""):(0,r.checkStrictMode)(d.it,"$recursiveAnchor: false is ignored")}};return ht.default=v,ht}var mt={},cn;function Ss(){if(cn)return mt;cn=1,Object.defineProperty(mt,"__esModule",{value:!0});const e=Tn(),r={keyword:"$recursiveRef",schemaType:"string",code:v=>(0,e.dynamicRef)(v,v.schema)};return mt.default=r,mt}var un;function Rs(){if(un)return ft;un=1,Object.defineProperty(ft,"__esModule",{value:!0});const e=In(),r=Tn(),v=Ps(),d=Ss(),_=[e.default,r.default,v.default,d.default];return ft.default=_,ft}var pt={},yt={},dn;function js(){if(dn)return yt;dn=1,Object.defineProperty(yt,"__esModule",{value:!0});const e=Qt(),r={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:v=>(0,e.validatePropertyDeps)(v)};return yt.default=r,yt}var $t={},ln;function Ns(){if(ln)return $t;ln=1,Object.defineProperty($t,"__esModule",{value:!0});const e=Qt(),r={keyword:"dependentSchemas",type:"object",schemaType:"object",code:v=>(0,e.validateSchemaDeps)(v)};return $t.default=r,$t}var vt={},fn;function Os(){if(fn)return vt;fn=1,Object.defineProperty(vt,"__esModule",{value:!0});const e=W(),r={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:v,parentSchema:d,it:_}){d.contains===void 0&&(0,e.checkStrictMode)(_,`"${v}" without "contains" is ignored`)}};return vt.default=r,vt}var hn;function ks(){if(hn)return pt;hn=1,Object.defineProperty(pt,"__esModule",{value:!0});const e=js(),r=Ns(),v=Os(),d=[e.default,r.default,v.default];return pt.default=d,pt}var _t={},gt={},mn;function qs(){if(mn)return gt;mn=1,Object.defineProperty(gt,"__esModule",{value:!0});const e=G(),r=W(),v=fe(),_={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:n})=>(0,e._)`{unevaluatedProperty: ${n.unevaluatedProperty}}`},code(n){const{gen:u,schema:o,data:l,errsCount:$,it:p}=n;if(!$)throw new Error("ajv implementation error");const{allErrors:E,props:P}=p;P instanceof e.Name?u.if((0,e._)`${P} !== true`,()=>u.forIn("key",l,f=>u.if(R(P,f),()=>b(f)))):P!==!0&&u.forIn("key",l,f=>P===void 0?b(f):u.if(S(P,f),()=>b(f))),p.props=!0,n.ok((0,e._)`${$} === ${v.default.errors}`);function b(f){if(o===!1){n.setParams({unevaluatedProperty:f}),n.error(),E||u.break();return}if(!(0,r.alwaysValidSchema)(p,o)){const h=u.name("valid");n.subschema({keyword:"unevaluatedProperties",dataProp:f,dataPropType:r.Type.Str},h),E||u.if((0,e.not)(h),()=>u.break())}}function R(f,h){return(0,e._)`!${f} || !${f}[${h}]`}function S(f,h){const a=[];for(const y in f)f[y]===!0&&a.push((0,e._)`${h} !== ${y}`);return(0,e.and)(...a)}}};return gt.default=_,gt}var bt={},pn;function Is(){if(pn)return bt;pn=1,Object.defineProperty(bt,"__esModule",{value:!0});const e=G(),r=W(),d={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:_}})=>(0,e.str)`must NOT have more than ${_} items`,params:({params:{len:_}})=>(0,e._)`{limit: ${_}}`},code(_){const{gen:n,schema:u,data:o,it:l}=_,$=l.items||0;if($===!0)return;const p=n.const("len",(0,e._)`${o}.length`);if(u===!1)_.setParams({len:$}),_.fail((0,e._)`${p} > ${$}`);else if(typeof u=="object"&&!(0,r.alwaysValidSchema)(l,u)){const P=n.var("valid",(0,e._)`${p} <= ${$}`);n.if((0,e.not)(P),()=>E(P,$)),_.ok(P)}l.items=!0;function E(P,b){n.forRange("i",b,p,R=>{_.subschema({keyword:"unevaluatedItems",dataProp:R,dataPropType:r.Type.Num},P),l.allErrors||n.if((0,e.not)(P),()=>n.break())})}}};return bt.default=d,bt}var yn;function Ts(){if(yn)return _t;yn=1,Object.defineProperty(_t,"__esModule",{value:!0});const e=qs(),r=Is(),v=[e.default,r.default];return _t.default=v,_t}var wt={},Et={},$n;function As(){if($n)return Et;$n=1,Object.defineProperty(Et,"__esModule",{value:!0});const e=G(),v={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:d})=>(0,e.str)`must match format "${d}"`,params:({schemaCode:d})=>(0,e._)`{format: ${d}}`},code(d,_){const{gen:n,data:u,$data:o,schema:l,schemaCode:$,it:p}=d,{opts:E,errSchemaPath:P,schemaEnv:b,self:R}=p;if(!E.validateFormats)return;o?S():f();function S(){const h=n.scopeValue("formats",{ref:R.formats,code:E.code.formats}),a=n.const("fDef",(0,e._)`${h}[${$}]`),y=n.let("fType"),w=n.let("format");n.if((0,e._)`typeof ${a} == "object" && !(${a} instanceof RegExp)`,()=>n.assign(y,(0,e._)`${a}.type || "string"`).assign(w,(0,e._)`${a}.validate`),()=>n.assign(y,(0,e._)`"string"`).assign(w,a)),d.fail$data((0,e.or)(t(),s()));function t(){return E.strictSchema===!1?e.nil:(0,e._)`${$} && !${w}`}function s(){const c=b.$async?(0,e._)`(${a}.async ? await ${w}(${u}) : ${w}(${u}))`:(0,e._)`${w}(${u})`,m=(0,e._)`(typeof ${w} == "function" ? ${c} : ${w}.test(${u}))`;return(0,e._)`${w} && ${w} !== true && ${y} === ${_} && !${m}`}}function f(){const h=R.formats[l];if(!h){t();return}if(h===!0)return;const[a,y,w]=s(h);a===_&&d.pass(c());function t(){if(E.strictSchema===!1){R.logger.warn(m());return}throw new Error(m());function m(){return`unknown format "${l}" ignored in schema at path "${P}"`}}function s(m){const N=m instanceof RegExp?(0,e.regexpCode)(m):E.code.formats?(0,e._)`${E.code.formats}${(0,e.getProperty)(l)}`:void 0,T=n.scopeValue("formats",{key:l,ref:m,code:N});return typeof m=="object"&&!(m instanceof RegExp)?[m.type||"string",m.validate,(0,e._)`${T}.validate`]:["string",m,T]}function c(){if(typeof h=="object"&&!(h instanceof RegExp)&&h.async){if(!b.$async)throw new Error("async format in sync schema");return(0,e._)`await ${w}(${u})`}return typeof y=="function"?(0,e._)`${w}(${u})`:(0,e._)`${w}.test(${u})`}}}};return Et.default=v,Et}var vn;function Cs(){if(vn)return wt;vn=1,Object.defineProperty(wt,"__esModule",{value:!0});const r=[As().default];return wt.default=r,wt}var be={},_n;function Ms(){return _n||(_n=1,Object.defineProperty(be,"__esModule",{value:!0}),be.contentVocabulary=be.metadataVocabulary=void 0,be.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],be.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),be}var gn;function Ds(){if(gn)return Me;gn=1,Object.defineProperty(Me,"__esModule",{value:!0});const e=Yn(),r=ds(),v=Es(),d=Rs(),_=ks(),n=Ts(),u=Cs(),o=Ms(),l=[d.default,e.default,r.default,(0,v.default)(!0),u.default,o.metadataVocabulary,o.contentVocabulary,_.default,n.default];return Me.default=l,Me}var Pt={},ke={},bn;function Vs(){if(bn)return ke;bn=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.DiscrError=void 0;var e;return(function(r){r.Tag="tag",r.Mapping="mapping"})(e||(ke.DiscrError=e={})),ke}var wn;function Us(){if(wn)return Pt;wn=1,Object.defineProperty(Pt,"__esModule",{value:!0});const e=G(),r=Vs(),v=It(),d=qt(),_=W(),u={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:o,tagName:l}})=>o===r.DiscrError.Tag?`tag "${l}" must be string`:`value of tag "${l}" must be in oneOf`,params:({params:{discrError:o,tag:l,tagName:$}})=>(0,e._)`{error: ${o}, tag: ${$}, tagValue: ${l}}`},code(o){const{gen:l,data:$,schema:p,parentSchema:E,it:P}=o,{oneOf:b}=E;if(!P.opts.discriminator)throw new Error("discriminator: requires discriminator option");const R=p.propertyName;if(typeof R!="string")throw new Error("discriminator: requires propertyName");if(p.mapping)throw new Error("discriminator: mapping is not supported");if(!b)throw new Error("discriminator: requires oneOf keyword");const S=l.let("valid",!1),f=l.const("tag",(0,e._)`${$}${(0,e.getProperty)(R)}`);l.if((0,e._)`typeof ${f} == "string"`,()=>h(),()=>o.error(!1,{discrError:r.DiscrError.Tag,tag:f,tagName:R})),o.ok(S);function h(){const w=y();l.if(!1);for(const t in w)l.elseIf((0,e._)`${f} === ${t}`),l.assign(S,a(w[t]));l.else(),o.error(!1,{discrError:r.DiscrError.Mapping,tag:f,tagName:R}),l.endIf()}function a(w){const t=l.name("valid"),s=o.subschema({keyword:"oneOf",schemaProp:w},t);return o.mergeEvaluated(s,e.Name),t}function y(){var w;const t={},s=m(E);let c=!0;for(let q=0;q<b.length;q++){let D=b[q];if(D!=null&&D.$ref&&!(0,_.schemaHasRulesButRef)(D,P.self.RULES)){const H=D.$ref;if(D=v.resolveRef.call(P.self,P.schemaEnv.root,P.baseId,H),D instanceof v.SchemaEnv&&(D=D.schema),D===void 0)throw new d.default(P.opts.uriResolver,P.baseId,H)}const z=(w=D==null?void 0:D.properties)===null||w===void 0?void 0:w[R];if(typeof z!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${R}"`);c=c&&(s||m(D)),N(z,q)}if(!c)throw new Error(`discriminator: "${R}" must be required`);return t;function m({required:q}){return Array.isArray(q)&&q.includes(R)}function N(q,D){if(q.const)T(q.const,D);else if(q.enum)for(const z of q.enum)T(z,D);else throw new Error(`discriminator: "properties/${R}" must have "const" or "enum"`)}function T(q,D){if(typeof q!="string"||q in t)throw new Error(`discriminator: "${R}" values must be unique strings`);t[q]=D}}}};return Pt.default=u,Pt}var St={};const zs="https://json-schema.org/draft/2020-12/schema",Fs="https://json-schema.org/draft/2020-12/schema",Ks={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},Ls="meta",Hs="Core and Validation specifications meta-schema",Gs=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],Js=["object","boolean"],Bs="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",Ws={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},Qs={$schema:zs,$id:Fs,$vocabulary:Ks,$dynamicAnchor:Ls,title:Hs,allOf:Gs,type:Js,$comment:Bs,properties:Ws},Xs="https://json-schema.org/draft/2020-12/schema",Zs="https://json-schema.org/draft/2020-12/meta/applicator",Ys={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},xs="meta",ea="Applicator vocabulary meta-schema",ta=["object","boolean"],ra={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},na={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},sa={$schema:Xs,$id:Zs,$vocabulary:Ys,$dynamicAnchor:xs,title:ea,type:ta,properties:ra,$defs:na},aa="https://json-schema.org/draft/2020-12/schema",oa="https://json-schema.org/draft/2020-12/meta/unevaluated",ia={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},ca="meta",ua="Unevaluated applicator vocabulary meta-schema",da=["object","boolean"],la={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},fa={$schema:aa,$id:oa,$vocabulary:ia,$dynamicAnchor:ca,title:ua,type:da,properties:la},ha="https://json-schema.org/draft/2020-12/schema",ma="https://json-schema.org/draft/2020-12/meta/content",pa={"https://json-schema.org/draft/2020-12/vocab/content":!0},ya="meta",$a="Content vocabulary meta-schema",va=["object","boolean"],_a={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},ga={$schema:ha,$id:ma,$vocabulary:pa,$dynamicAnchor:ya,title:$a,type:va,properties:_a},ba="https://json-schema.org/draft/2020-12/schema",wa="https://json-schema.org/draft/2020-12/meta/core",Ea={"https://json-schema.org/draft/2020-12/vocab/core":!0},Pa="meta",Sa="Core vocabulary meta-schema",Ra=["object","boolean"],ja={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},Na={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},Oa={$schema:ba,$id:wa,$vocabulary:Ea,$dynamicAnchor:Pa,title:Sa,type:Ra,properties:ja,$defs:Na},ka="https://json-schema.org/draft/2020-12/schema",qa="https://json-schema.org/draft/2020-12/meta/format-annotation",Ia={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},Ta="meta",Aa="Format vocabulary meta-schema for annotation results",Ca=["object","boolean"],Ma={format:{type:"string"}},Da={$schema:ka,$id:qa,$vocabulary:Ia,$dynamicAnchor:Ta,title:Aa,type:Ca,properties:Ma},Va="https://json-schema.org/draft/2020-12/schema",Ua="https://json-schema.org/draft/2020-12/meta/meta-data",za={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Fa="meta",Ka="Meta-data vocabulary meta-schema",La=["object","boolean"],Ha={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Ga={$schema:Va,$id:Ua,$vocabulary:za,$dynamicAnchor:Fa,title:Ka,type:La,properties:Ha},Ja="https://json-schema.org/draft/2020-12/schema",Ba="https://json-schema.org/draft/2020-12/meta/validation",Wa={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Qa="meta",Xa="Validation vocabulary meta-schema",Za=["object","boolean"],Ya={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},xa={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},eo={$schema:Ja,$id:Ba,$vocabulary:Wa,$dynamicAnchor:Qa,title:Xa,type:Za,properties:Ya,$defs:xa};var En;function to(){if(En)return St;En=1,Object.defineProperty(St,"__esModule",{value:!0});const e=Qs,r=sa,v=fa,d=ga,_=Oa,n=Da,u=Ga,o=eo,l=["/properties"];function $(p){return[e,r,v,d,_,E(this,n),u,E(this,o)].forEach(P=>this.addMetaSchema(P,void 0,!1)),this;function E(P,b){return p?P.$dataMetaSchema(b,l):b}}return St.default=$,St}var Pn;function ro(){return Pn||(Pn=1,(function(e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MissingRefError=r.ValidationError=r.CodeGen=r.Name=r.nil=r.stringify=r.str=r._=r.KeywordCxt=r.Ajv2020=void 0;const v=Xn(),d=Ds(),_=Us(),n=to(),u="https://json-schema.org/draft/2020-12/schema";class o extends v.default{constructor(b={}){super({...b,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),d.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(_.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:b,meta:R}=this.opts;R&&(n.default.call(this,b),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}r.Ajv2020=o,e.exports=r=o,e.exports.Ajv2020=o,Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;var l=kt();Object.defineProperty(r,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var $=G();Object.defineProperty(r,"_",{enumerable:!0,get:function(){return $._}}),Object.defineProperty(r,"str",{enumerable:!0,get:function(){return $.str}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return $.stringify}}),Object.defineProperty(r,"nil",{enumerable:!0,get:function(){return $.nil}}),Object.defineProperty(r,"Name",{enumerable:!0,get:function(){return $.Name}}),Object.defineProperty(r,"CodeGen",{enumerable:!0,get:function(){return $.CodeGen}});var p=Jt();Object.defineProperty(r,"ValidationError",{enumerable:!0,get:function(){return p.default}});var E=qt();Object.defineProperty(r,"MissingRefError",{enumerable:!0,get:function(){return E.default}})})(qe,qe.exports)),qe.exports}var no=ro();exports._2020Exports=no;
9
+ //# sourceMappingURL=2020-C_v5qH0D.cjs.map