MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/netdata/usr/local/local/share/netdata/web/v3/7434.3d47da7a17deab30f355.chunk.js
/*! For license information please see 7434.3d47da7a17deab30f355.chunk.js.LICENSE.txt */
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="553cc2b2-02f7-4e9e-aa8c-bc0559f43421",e._sentryDebugIdIdentifier="sentry-dbid-553cc2b2-02f7-4e9e-aa8c-bc0559f43421")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"f4547e36230aa8f74486618baff2f1a6f3242a7f"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7434],{241:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(41917).A.Symbol},343:(e,t,r)=>{"use strict";const{isUUID:n}=r(34834),o=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,s=["http","https","ws","wss","urn","urn:uuid"];function a(e){return!0===e.secure||!1!==e.secure&&(!!e.scheme&&(3===e.scheme.length&&("w"===e.scheme[0]||"W"===e.scheme[0])&&("s"===e.scheme[1]||"S"===e.scheme[1])&&("s"===e.scheme[2]||"S"===e.scheme[2])))}function i(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function c(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const l={scheme:"http",domainHost:!0,parse:i,serialize:c},u={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=a(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(a(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"===typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,r]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}},d={http:l,https:{scheme:"https",domainHost:l.domainHost,parse:i,serialize:c},ws:u,wss:{scheme:"wss",domainHost:u.domainHost,parse:u.parse,serialize:u.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(o);if(r){const n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=f(`${n}:${t.nid||e.nid}`);e.path=void 0,o&&(e=o.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){if(void 0===e.nid)throw new Error("URN without nid cannot be serialized");const r=t.scheme||e.scheme||"urn",n=e.nid.toLowerCase(),o=f(`${r}:${t.nid||n}`);o&&(e=o.serialize(e,t));const s=e,a=e.nss;return s.path=`${n||t.nid}:${a}`,t.skipEscape=!0,s},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,t){const r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&n(r.uuid)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};function f(e){return e&&(d[e]||d[e.toLowerCase()])||void 0}Object.setPrototypeOf(d,null),e.exports={wsIsSecure:a,SCHEMES:d,isValidSchemeName:function(e){return-1!==s.indexOf(e)},getSchemeHandler:f}},900:(e,t)=>{"use strict";var r=[128065],n="f06e",o="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";t.mw={prefix:"fas",iconName:"eye",icon:[576,512,r,n,o]},t.pS=t.mw},1096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const n=r(56699),o=r(19205),s=r(62235),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return i(e,"additionalItems",t);r.items=!0,(0,o.alwaysValidSchema)(r,t)||e.ok((0,s.validateArray)(e))}};function i(e,t,r=e.schema){const{gen:s,parentSchema:a,data:i,keyword:c,it:l}=e;!function(e){const{opts:n,errSchemaPath:s}=l,a=r.length,i=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(n.strictTuples&&!i){const e=`"${c}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,o.checkStrictMode)(l,e,n.strictTuples)}}(a),l.opts.unevaluated&&r.length&&!0!==l.items&&(l.items=o.mergeEvaluated.items(s,r.length,l.items));const u=s.name("valid"),d=s.const("len",n._`${i}.length`);r.forEach(((t,r)=>{(0,o.alwaysValidSchema)(l,t)||(s.if(n._`${d} > ${r}`,(()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},u))),e.ok(u))}))}t.validateTuple=i,t.default=a},1801:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(90565);const o=function(e,t){var r=t?(0,n.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},1937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>n._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:r,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;const i=r,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block((function(){i.forEach(((r,s)=>{let i;(0,o.alwaysValidSchema)(a,r)?t.var(u,!0):i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:!0},u),s>0&&t.if(n._`${u} && ${c}`).assign(c,!1).assign(l,n._`[${l}, ${s}]`).else(),t.if(u,(()=>{t.assign(c,!0),t.assign(l,s),i&&e.mergeEvaluated(i,n.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=s},2383:(t,r,n)=>{"use strict";n.d(r,{A:()=>h});var o=n(241),s=Object.prototype,a=s.hasOwnProperty,i=s.toString,c=o.A?o.A.toStringTag:void 0;const l=function(t){var r=a.call(t,c),n=t[c];try{t[c]=void 0;var o=!0}catch(e){}var s=i.call(t);return o&&(r?t[c]=n:delete t[c]),s};var u=Object.prototype.toString;const d=function(e){return u.call(e)};var f=o.A?o.A.toStringTag:void 0;const h=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?l(e):d(e)}},3456:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(241),o=r(45572),s=r(92049),a=r(61882),i=n.A?n.A.prototype:void 0,c=i?i.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,s.A)(t))return(0,o.A)(t,e)+"";if((0,a.A)(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const u=function(e){return null==e?"":l(e)}},3767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s=r(72482),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>n._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:a,schemaCode:i,schema:c}=e;a||c&&"object"==typeof c?e.fail$data(n._`!${(0,o.useFunc)(t,s.default)}(${r}, ${i})`):e.fail(n._`${c} !== ${r}`)}};t.default=a},4267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21085),o=r(93789),s=r(7083),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:a,data:i,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===r.length)return;const d=r.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(o.nil,f);else for(const t of r)(0,n.checkReportMissingProp)(e,t)}():function(){const s=t.let("missing");if(d||c){const r=t.let("valid",!0);e.block$data(r,(()=>function(r,s){e.setParams({missingProperty:r}),t.forOf(r,a,(()=>{t.assign(s,(0,n.propertyInData)(t,i,r,u.ownProperties)),t.if((0,o.not)(s),(()=>{e.error(),t.break()}))}),o.nil)}(s,r))),e.ok(r)}else t.if((0,n.checkMissingProp)(e,r,s)),(0,n.reportMissingProp)(e,s),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of r)if(void 0===(null===t||void 0===t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,s.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){t.forOf("prop",a,(r=>{e.setParams({missingProperty:r}),t.if((0,n.noPropertyInData)(t,i,r,u.ownProperties),(()=>e.error()))}))}}};t.default=a},4824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(90344),o=r(92348),s=r(52610),a=r(32884),i=r(73929),c=[n.default,o.default,(0,s.default)(),a.default,i.metadataVocabulary,i.contentVocabulary];t.default=c},5095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const r=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},5254:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5664:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(3456),o=0;const s=function(e){var t=++o;return(0,n.A)(e)+t}},7083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(93789),o=r(72104);function s(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"===typeof t)return;const o=n.RULES.keywords;for(const s in t)o[s]||m(e,`unknown keyword: "${s}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function i(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:o}){return(s,a,i,c)=>{const l=void 0===i?a:i instanceof n.Name?(a instanceof n.Name?e(s,a,i):t(s,a,i),i):a instanceof n.Name?(t(s,i,a),a):r(a,i);return c!==n.Name||l instanceof n.Name?l:o(s,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",n._`{}`);return void 0!==t&&d(e,r,t),r}function d(e,t,r){Object.keys(r).forEach((r=>e.assign(n._`${t}${(0,n.getProperty)(r)}`,!0)))}t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(s(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=s,t.schemaHasRules=a,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,o,s){if(!s){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return n._`${r}`}return n._`${e}${t}${(0,n.getProperty)(o)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(i(e))},t.escapeJsonPointer=i,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>{e.if(n._`${t} === true`,(()=>e.assign(r,!0)),(()=>e.assign(r,n._`${r} || {}`).code(n._`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>{!0===t?e.assign(r,!0):(e.assign(r,n._`${r} || {}`),d(e,r,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,n._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>e.assign(r,!0===t||n._`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const f={};var h;function m(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,r){if(e instanceof n.Name){const o=t===h.Num;return r?o?n._`"[" + ${e} + "]"`:n._`"['" + ${e} + "']"`:o?n._`"/" + ${e}`:n._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+i(e)},t.checkStrictMode=m},7106:e=>{"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,n,o,s,a,i,c,l,u,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var f in n(s,a,i,c,l,u,d),s){var h=s[f];if(Array.isArray(h)){if(f in t.arrayKeywords)for(var m=0;m<h.length;m++)r(e,n,o,h[m],a+"/"+f+"/"+m,i,a,f,s,m)}else if(f in t.propsKeywords){if(h&&"object"==typeof h)for(var p in h)r(e,n,o,h[p],a+"/"+f+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),i,a,f,s,p)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&r(e,n,o,h,a+"/"+f,i,a,f,s)}o(s,a,i,c,l,u,d)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.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}},7567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>n.str`must match "${e.ifClause}" schema`,params:({params:e})=>n._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:r,it:s}=e;void 0===r.then&&void 0===r.else&&(0,o.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const i=a(s,"then"),c=a(s,"else");if(!i&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),i&&c){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(u,d("then",r),d("else",r))}else i?t.if(u,d("then")):t.if((0,n.not)(u),d("else"));function d(r,o){return()=>{const s=e.subschema({keyword:r},u);t.assign(l,u),e.mergeValidEvaluated(s,l),o?t.assign(o,n._`${r}`):e.setParams({ifClause:r})}}e.pass(l,(()=>e.error(!0)))}};function a(e,t){const r=e.schema[t];return void 0!==r&&!(0,o.alwaysValidSchema)(e,r)}t.default=s},7705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>n._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:r,data:s,it:a}=e;if((0,o.alwaysValidSchema)(a,r))return;const i=t.name("valid");t.forIn("key",s,(r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},i),t.if((0,n.not)(i),(()=>{e.error(!0),a.allErrors||t.break()}))})),e.ok(i)}};t.default=s},8265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(19205),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:o}=e;if((0,n.alwaysValidSchema)(o,r))return void e.fail();const s=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),e.failResult(s,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},8300:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(62050);const o=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const s=function(e){return this.__data__.has(e)};function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n.A;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=s;const i=a},9137:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});var n=r(28562),o=r(41917);const s=(0,n.A)(o.A,"DataView");var a=r(68335);const i=(0,n.A)(o.A,"Promise");var c=r(39857);const l=(0,n.A)(o.A,"WeakMap");var u=r(2383),d=r(81121),f="[object Map]",h="[object Promise]",m="[object Set]",p="[object WeakMap]",y="[object DataView]",g=(0,d.A)(s),v=(0,d.A)(a.A),$=(0,d.A)(i),b=(0,d.A)(c.A),w=(0,d.A)(l),_=u.A;(s&&_(new s(new ArrayBuffer(1)))!=y||a.A&&_(new a.A)!=f||i&&_(i.resolve())!=h||c.A&&_(new c.A)!=m||l&&_(new l)!=p)&&(_=function(e){var t=(0,u.A)(e),r="[object Object]"==t?e.constructor:void 0,n=r?(0,d.A)(r):"";if(n)switch(n){case g:return y;case v:return f;case $:return h;case b:return m;case w:return p}return t});const A=_},9259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>n._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:r,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;const i=r,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block((function(){i.forEach(((r,s)=>{let i;(0,o.alwaysValidSchema)(a,r)?t.var(u,!0):i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:!0},u),s>0&&t.if(n._`${u} && ${c}`).assign(c,!1).assign(l,n._`[${l}, ${s}]`).else(),t.if(u,(()=>{t.assign(c,!0),t.assign(l,s),i&&e.mergeEvaluated(i,n.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=s},9703:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(2383),o=r(92049),s=r(53098);const a=function(e){return"string"==typeof e||!(0,o.A)(e)&&(0,s.A)(e)&&"[object String]"==(0,n.A)(e)}},9737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(19205),o=r(32017),s=r(7106),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&l(e)<=t)};const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(i.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(c))return!0;if("object"==typeof r&&c(r))return!0}return!1}function l(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!a.has(r)&&("object"==typeof e[r]&&(0,n.eachItem)(e[r],(e=>t+=l(e))),t===1/0))return 1/0}return t}function u(e,t="",r){!1!==r&&(t=h(t));const n=e.parse(t);return d(e,n)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const f=/#\/?$/;function h(e){return e?e.replace(f,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,r){return r=h(r),e.resolve(t,r)};const m=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r,uriResolver:n}=this.opts,a=h(e[r]||t),i={"":a},c=u(n,a,!1),l={},d=new Set;return s(e,{allKeys:!0},((e,t,n,o)=>{if(void 0===o)return;const s=c+t;let a=i[o];function u(t){const r=this.opts.uriResolver.resolve;if(t=h(a?r(a,t):t),d.has(t))throw p(t);d.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?f(e,n.schema,t):t!==h(s)&&("#"===t[0]?(f(e,l[t],t),l[t]=e):this.refs[t]=s),t}function y(e){if("string"==typeof e){if(!m.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[r]&&(a=u.call(this,e[r])),y.call(this,e.$anchor),y.call(this,e.$dynamicAnchor),i[t]=a})),l;function f(e,t,r){if(void 0!==t&&!o(e,t))throw p(r)}function p(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},10844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o}=e,s="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`Object.keys(${r}).length ${s} ${o}`)}};t.default=o},12403:(e,t)=>{"use strict";function r(e){const t=e.length;let r,n=0,o=0;for(;o<t;)n++,r=e.charCodeAt(o++),r>=55296&&r<=56319&&o<t&&(r=e.charCodeAt(o),56320===(64512&r)&&o++);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},13153:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(){return[]}},14018:(t,r)=>{"use strict";function n(e,t){return{validate:e,compare:t}}Object.defineProperty(r,"__esModule",{value:!0}),r.formatNames=r.fastFormats=r.fullFormats=void 0,r.fullFormats={date:n(a,i),time:n(l,u),"date-time":n((function(e){const t=e.split(d);return 2===t.length&&a(t[0])&&l(t[1],!0)}),f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return h.test(e)&&m.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(t){if($.test(t))return!1;try{return new RegExp(t),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return p.lastIndex=0,p.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=g&&e>=y}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:v},double:{type:"number",validate:v},password:!0,binary:!0},r.fastFormats={...r.fullFormats,date:n(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:n(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":n(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},r.formatNames=Object.keys(r.fullFormats);const o=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,s=[0,31,28,31,30,31,30,31,31,30,31,30,31];function a(e){const t=o.exec(e);if(!t)return!1;const r=+t[1],n=+t[2],a=+t[3];return n>=1&&n<=12&&a>=1&&a<=(2===n&&function(e){return e%4===0&&(e%100!==0||e%400===0)}(r)?29:s[n])}function i(e,t){if(e&&t)return e>t?1:e<t?-1:0}const c=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function l(e,t){const r=c.exec(e);if(!r)return!1;const n=+r[1],o=+r[2],s=+r[3],a=r[5];return(n<=23&&o<=59&&s<=59||23===n&&59===o&&60===s)&&(!t||""!==a)}function u(e,t){if(!e||!t)return;const r=c.exec(e),n=c.exec(t);return r&&n?(e=r[1]+r[2]+r[3]+(r[4]||""))>(t=n[1]+n[2]+n[3]+(n[4]||""))?1:e<t?-1:0:void 0}const d=/t|\s/i;function f(e,t){if(!e||!t)return;const[r,n]=e.split(d),[o,s]=t.split(d),a=i(r,o);return void 0!==a?a||u(n,s):void 0}const h=/\/|:/,m=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;const p=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;const y=-(2**31),g=2**31-1;function v(){return!0}const $=/[^\\]\\Z/},14453:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(97271);const o=(0,r(40367).A)(Object.keys,Object);var s=Object.prototype.hasOwnProperty;const a=function(e){if(!(0,n.A)(e))return o(e);var t=[];for(var r in Object(e))s.call(e,r)&&"constructor"!=r&&t.push(r);return t}},15583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(22796),o=r(93789),s=r(66735),a={message:"boolean schema is false"};function i(e,t){const{gen:r,data:o}=e,s={gen:r,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,n.reportError)(s,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:n}=e;!1===r?i(e,!1):"object"==typeof r&&!0===r.$async?t.return(s.default.data):(t.assign(o._`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),i(e)):r.var(t,!0)}},15647:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=(0,r(40367).A)(Object.getPrototypeOf,Object)},16245:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.resolveSchema=r.getCompilingSchema=r.resolveRef=r.compileSchema=r.SchemaEnv=void 0;const o=n(56699),s=n(36024),a=n(65373),i=n(9737),c=n(19205),l=n(79888);class u{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,i.normalizeId)(null===r||void 0===r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null===r||void 0===r?void 0:r.$async,this.refs={}}}function d(t){const r=h.call(this,t);if(r)return r;const n=(0,i.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:c,lines:u}=this.opts.code,{ownProperties:d}=this.opts,f=new o.CodeGen(this.scope,{es5:c,lines:u,ownProperties:d});let m;t.$async&&(m=f.scopeValue("Error",{ref:s.default,code:o._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");t.validateName=p;const y={gen:f,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[o.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:t.schema,code:(0,o.stringify)(t.schema)}:{ref:t.schema}),validateName:p,ValidationError:m,schema:t.schema,schemaEnv:t,rootId:n,baseId:t.baseId||n,schemaPath:o.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:o._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(t),(0,l.validateFunctionCode)(y),f.optimize(this.opts.code.optimize);const e=f.toString();g=`${f.scopeRefs(a.default.scope)}return ${e}`,this.opts.code.process&&(g=this.opts.code.process(g,t));const r=new Function(`${a.default.self}`,`${a.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:r}),r.errors=null,r.schema=t.schema,r.schemaEnv=t,t.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:p,validateCode:e,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=y;r.evaluated={props:e instanceof o.Name?void 0:e,items:t instanceof o.Name?void 0:t,dynamicProps:e instanceof o.Name,dynamicItems:t instanceof o.Name},r.source&&(r.source.evaluated=(0,o.stringify)(r.evaluated))}return t.validate=r,t}catch(e){throw delete t.validate,delete t.validateName,g&&this.logger.error("Error compiling schema, function code:",g),e}finally{this._compilations.delete(t)}}function f(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:d.call(this,e)}function h(e){for(const n of this._compilations)if(r=e,(t=n).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return n;var t,r}function m(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||p.call(this,e,t)}function p(e,t){const r=this.opts.uriResolver.parse(t),n=(0,i._getFullPath)(this.opts.uriResolver,r);let o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===o)return g.call(this,r,e);const s=(0,i.normalizeId)(n),a=this.refs[s]||this.schemas[s];if("string"==typeof a){const t=p.call(this,e,a);if("object"!==typeof(null===t||void 0===t?void 0:t.schema))return;return g.call(this,r,t)}if("object"===typeof(null===a||void 0===a?void 0:a.schema)){if(a.validate||d.call(this,a),s===(0,i.normalizeId)(t)){const{schema:t}=a,{schemaId:r}=this.opts,n=t[r];return n&&(o=(0,i.resolveUrl)(this.opts.uriResolver,o,n)),new u({schema:t,schemaId:r,root:e,baseId:o})}return g.call(this,r,a)}}r.SchemaEnv=u,r.compileSchema=d,r.resolveRef=function(e,t,r){var n;r=(0,i.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let s=m.call(this,e,r);if(void 0===s){const o=null===(n=e.localRefs)||void 0===n?void 0:n[r],{schemaId:a}=this.opts;o&&(s=new u({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==s?e.refs[r]=f.call(this,s):void 0},r.getCompilingSchema=h,r.resolveSchema=p;const y=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:r,root:n}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const l of e.fragment.slice(1).split("/")){if("boolean"===typeof r)return;const e=r[(0,c.unescapeFragment)(l)];if(void 0===e)return;const n="object"===typeof(r=e)&&r[this.opts.schemaId];!y.has(l)&&n&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,n))}let s;if("boolean"!=typeof r&&r.$ref&&!(0,c.schemaHasRulesButRef)(r,this.RULES)){const e=(0,i.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=p.call(this,n,e)}const{schemaId:a}=this.opts;return s=s||new u({schema:r,schemaId:a,root:n,baseId:t}),s.schema!==s.root.schema?s:void 0}},16489:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});const n=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,s=[];++r<n;){var a=e[r];t(a,r,e)&&(s[o++]=a)}return s};var o=r(13153),s=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;const i=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return s.call(e,t)})))}:o.A},16699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(62235),o=r(56699),s=r(19205),a=r(19205),i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,n.allSchemaProperties)(r),f=d.filter((e=>(0,s.alwaysValidSchema)(l,r[e])));if(0===d.length||f.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const h=u.strictSchema&&!u.allowMatchingProperties&&c.properties,m=t.name("valid");!0===l.props||l.props instanceof o.Name||(l.props=(0,a.evaluatedPropsToName)(t,l.props));const{props:p}=l;function y(e){for(const t in h)new RegExp(e).test(t)&&(0,s.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(r){t.forIn("key",i,(s=>{t.if(o._`${(0,n.usePattern)(e,r)}.test(${s})`,(()=>{const n=f.includes(r);n||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:a.Type.Str},m),l.opts.unevaluated&&!0!==p?t.assign(o._`${p}[${s}]`,!0):n||l.allErrors||t.if((0,o.not)(m),(()=>t.break()))}))}))}!function(){for(const e of d)h&&y(e),l.allErrors?g(e):(t.var(m,!0),g(e),t.if(m))}()}};t.default=i},17666:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CodeGen=r.Name=r.nil=r.stringify=r.str=r._=r.KeywordCxt=void 0;var o=n(69810);Object.defineProperty(r,"KeywordCxt",{enumerable:!0,get:function(){return o.KeywordCxt}});var s=n(93789);Object.defineProperty(r,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(r,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(r,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(r,"Name",{enumerable:!0,get:function(){return s.Name}}),Object.defineProperty(r,"CodeGen",{enumerable:!0,get:function(){return s.CodeGen}});const a=n(99598),i=n(70303),c=n(5095),l=n(65219),u=n(93789),d=n(63043),f=n(28840),h=n(7083),m=n(37301),p=n(76976),y=(e,t)=>new RegExp(e,t);y.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),$={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."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function w(e){var t,r,n,o,s,a,i,c,l,u,d,f,h,m,g,v,$,b,w,_,A,S,j,P,E;const x=e.strict,k=null===(t=e.code)||void 0===t?void 0:t.optimize,O=!0===k||void 0===k?1:k||0,N=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:y,C=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(a=null!==(s=e.strictSchema)&&void 0!==s?s:x)||void 0===a||a,strictNumbers:null===(c=null!==(i=e.strictNumbers)&&void 0!==i?i:x)||void 0===c||c,strictTypes:null!==(u=null!==(l=e.strictTypes)&&void 0!==l?l:x)&&void 0!==u?u:"log",strictTuples:null!==(f=null!==(d=e.strictTuples)&&void 0!==d?d:x)&&void 0!==f?f:"log",strictRequired:null!==(m=null!==(h=e.strictRequired)&&void 0!==h?h:x)&&void 0!==m&&m,code:e.code?{...e.code,optimize:O,regExp:N}:{optimize:O,regExp:N},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===($=e.meta)||void 0===$||$,messages:null===(b=e.messages)||void 0===b||b,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(_=e.schemaId)&&void 0!==_?_:"$id",addUsedSchema:null===(A=e.addUsedSchema)||void 0===A||A,validateSchema:null===(S=e.validateSchema)||void 0===S||S,validateFormats:null===(j=e.validateFormats)||void 0===j||j,unicodeRegExp:null===(P=e.unicodeRegExp)||void 0===P||P,int32range:null===(E=e.int32range)||void 0===E||E,uriResolver:C}}class _{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...w(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:v,es5:t,lines:r}),this.logger=function(e){if(!1===e)return k;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,c.getRules)(),A.call(this,$,e,"NOT SUPPORTED"),A.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&P.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),j.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=m;"id"===r&&(n={...m},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(t,r){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return o.call(this,t,r);async function o(e,t){await s.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||a.call(this,r)}async function s(e){e&&!this.getSchema(e)&&await o.call(this,{$ref:e},!0)}async function a(t){try{return this._compileSchemaEnv(t)}catch(e){if(!(e instanceof i.default))throw e;return c.call(this,e),await l.call(this,e.missingSchema),a.call(this,t)}}function c({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const t=await u.call(this,e);this.refs[e]||await s.call(this,t.$schema),this.refs[e]||this.addSchema(t,e,r)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,n);return this}let o;if("object"===typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,d.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=S.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new l.SchemaEnv({schema:{},schemaId:r});if(t=l.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=S.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,d.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(N.call(this,r,t),!t)return(0,h.eachItem)(r,(e=>C.call(this,e))),this;D.call(this,t);const n={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(r,0===n.type.length?e=>C.call(this,e,n):e=>n.type.forEach((t=>C.call(this,e,n,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r)):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,s=o[e];n&&s&&(o[e]=T(s))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,o=this.opts.addUsedSchema){let s;const{schemaId:a}=this.opts;if("object"==typeof e)s=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(void 0!==i)return i;r=(0,d.normalizeId)(s||r);const c=d.getSchemaRefs.call(this,e,r);return i=new l.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:r,localRefs:c}),this._cache.set(i.schema,i),o&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=i),n&&this.validateSchema(e,!0),i}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function A(e,t,r,n="error"){for(const o in e){const s=o;s in t&&this.logger[n](`${r}: option ${o}. ${e[s]}`)}}function S(e){return e=(0,d.normalizeId)(e),this.schemas[e]||this.refs[e]}function j(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function P(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function x(){const e={...this.opts};for(const t of g)delete e[t];return e}_.ValidationError=a.default,_.MissingRefError=i.default,r.default=_;const k={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function N(e,t){const{RULES:r}=this;if((0,h.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function C(e,t,r){var n;const o=null===t||void 0===t?void 0:t.post;if(r&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let a=o?s.post:s.rules.find((({type:e})=>e===r));if(a||(a={type:r,rules:[]},s.rules.push(a)),s.keywords[e]=!0,!t)return;const i={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?I.call(this,a,i,t.before):a.rules.push(i),s.all[e]=i,null===(n=t.implements)||void 0===n||n.forEach((e=>this.addKeyword(e)))}function I(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function D(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const R={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,R]}}},19042:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(33831),o=r(16489),s=r(27422);const a=function(e){return(0,n.A)(e,s.A,o.A)}},19205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(56699),o=r(37622);function s(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"===typeof t)return;const o=n.RULES.keywords;for(const s in t)o[s]||m(e,`unknown keyword: "${s}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function i(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:o}){return(s,a,i,c)=>{const l=void 0===i?a:i instanceof n.Name?(a instanceof n.Name?e(s,a,i):t(s,a,i),i):a instanceof n.Name?(t(s,i,a),a):r(a,i);return c!==n.Name||l instanceof n.Name?l:o(s,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",n._`{}`);return void 0!==t&&d(e,r,t),r}function d(e,t,r){Object.keys(r).forEach((r=>e.assign(n._`${t}${(0,n.getProperty)(r)}`,!0)))}t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(s(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=s,t.schemaHasRules=a,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,o,s){if(!s){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return n._`${r}`}return n._`${e}${t}${(0,n.getProperty)(o)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(i(e))},t.escapeJsonPointer=i,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>{e.if(n._`${t} === true`,(()=>e.assign(r,!0)),(()=>e.assign(r,n._`${r} || {}`).code(n._`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>{!0===t?e.assign(r,!0):(e.assign(r,n._`${r} || {}`),d(e,r,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,n._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>e.assign(r,!0===t||n._`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const f={};var h;function m(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,r){if(e instanceof n.Name){const o=t===h.Num;return r?o?n._`"[" + ${e} + "]"`:n._`"['" + ${e} + "']"`:o?n._`"/" + ${e}`:n._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+i(e)},t.checkStrictMode=m},20903:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(94507);const o=function(e){return(0,n.A)(e,5)}},21085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=r(93789),o=r(7083),s=r(66735),a=r(7083);function i(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:n._`Object.prototype.hasOwnProperty`})}function c(e,t,r){return n._`${i(e)}.call(${t}, ${r})`}function l(e,t,r,o){const s=n._`${t}${(0,n.getProperty)(r)} === undefined`;return o?(0,n.or)(s,(0,n.not)(c(e,t,r))):s}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:r,data:o,it:s}=e;r.if(l(r,o,t,s.opts.ownProperties),(()=>{e.setParams({missingProperty:n._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},o,s){return(0,n.or)(...o.map((o=>(0,n.and)(l(e,t,o,r.ownProperties),n._`${s} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=i,t.isOwnProperty=c,t.propertyInData=function(e,t,r,o){const s=n._`${t}${(0,n.getProperty)(r)} !== undefined`;return o?n._`${s} && ${c(e,t,r)}`:s},t.noPropertyInData=l,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((r=>!(0,o.alwaysValidSchema)(e,t[r])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:o,schemaPath:a,errorPath:i},it:c},l,u,d){const f=d?n._`${e}, ${t}, ${o}${a}`:t,h=[[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,i)],[s.default.parentData,c.parentData],[s.default.parentDataProperty,c.parentDataProperty],[s.default.rootData,s.default.rootData]];c.opts.dynamicRef&&h.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const m=n._`${f}, ${r.object(...h)}`;return u!==n.nil?n._`${l}.call(${u}, ${m})`:n._`${l}(${m})`};const d=n._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},r){const o=t.unicodeRegExp?"u":"",{regExp:s}=t.code,i=s(r,o);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:n._`${"new RegExp"===s.code?d:(0,a.useFunc)(e,s)}(${r}, ${o})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:s,it:a}=e,i=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(i,!0),c((()=>t.break())),i;function c(a){const c=t.const("len",n._`${r}.length`);t.forRange("i",0,c,(r=>{e.subschema({keyword:s,dataProp:r,dataPropType:o.Type.Num},i),t.if((0,n.not)(i),a)}))}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some((e=>(0,o.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const i=t.let("valid",!1),c=t.name("_valid");t.block((()=>r.forEach(((r,o)=>{const a=e.subschema({keyword:s,schemaProp:o,compositeRule:!0},c);t.assign(i,n._`${i} || ${c}`);e.mergeValidEvaluated(a,c)||t.if((0,n.not)(i))})))),e.result(i,(()=>e.reset()),(()=>e.error(!0)))}},22031:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(52851),o=r(52528);const s=function(e,t,r,s){var a=!r;r||(r={});for(var i=-1,c=t.length;++i<c;){var l=t[i],u=s?s(r[l],e[l],l,r,e):void 0;void 0===u&&(u=e[l]),a?(0,o.A)(r,l,u):(0,n.A)(r,l,u)}return r}},22080:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(89469);const o=function(){this.__data__=new n.A,this.size=0};const s=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};const a=function(e){return this.__data__.get(e)};const i=function(e){return this.__data__.has(e)};var c=r(68335),l=r(62050);const u=function(e,t){var r=this.__data__;if(r instanceof n.A){var o=r.__data__;if(!c.A||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new l.A(o)}return r.set(e,t),this.size=r.size,this};function d(e){var t=this.__data__=new n.A(e);this.size=t.size}d.prototype.clear=o,d.prototype.delete=s,d.prototype.get=a,d.prototype.has=i,d.prototype.set=u;const f=d},22394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=r(17666),o=r(4824),s=r(77013),a=r(92455),i=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends n.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,i):a;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=r(69810);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=r(93789);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=r(99598);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=r(70303);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})},22796:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(93789),o=r(7083),s=r(66735);function a(e,t){const r=e.const("err",t);e.if(n._`${s.default.vErrors} === null`,(()=>e.assign(s.default.vErrors,n._`[${r}]`)),n._`${s.default.vErrors}.push(${r})`),e.code(n._`${s.default.errors}++`)}function i(e,t){const{gen:r,validateName:o,schemaEnv:s}=e;s.$async?r.throw(n._`new ${e.ValidationError}(${t})`):(r.assign(n._`${o}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>n.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?n.str`"${e}" keyword must be ${t} ($data)`:n.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,o,s){const{it:c}=e,{gen:u,compositeRule:d,allErrors:f}=c,h=l(e,r,o);(null!==s&&void 0!==s?s:d||f)?a(u,h):i(c,n._`[${h}]`)},t.reportExtraError=function(e,r=t.keywordError,n){const{it:o}=e,{gen:c,compositeRule:u,allErrors:d}=o;a(c,l(e,r,n)),u||d||i(o,s.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(s.default.errors,t),e.if(n._`${s.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(n._`${s.default.vErrors}.length`,t)),(()=>e.assign(s.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:o,errsCount:a,it:i}){if(void 0===a)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",a,s.default.errors,(a=>{e.const(c,n._`${s.default.vErrors}[${a}]`),e.if(n._`${c}.instancePath === undefined`,(()=>e.assign(n._`${c}.instancePath`,(0,n.strConcat)(s.default.instancePath,i.errorPath)))),e.assign(n._`${c}.schemaPath`,n.str`${i.errSchemaPath}/${t}`),i.opts.verbose&&(e.assign(n._`${c}.schema`,r),e.assign(n._`${c}.data`,o))}))};const c={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function l(e,t,r){const{createErrors:o}=e.it;return!1===o?n._`{}`:function(e,t,r={}){const{gen:o,it:a}=e,i=[u(a,r),d(e,r)];return function(e,{params:t,message:r},o){const{keyword:a,data:i,schemaValue:l,it:u}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:m}=u;o.push([c.keyword,a],[c.params,"function"==typeof t?t(e):t||n._`{}`]),d.messages&&o.push([c.message,"function"==typeof r?r(e):r]);d.verbose&&o.push([c.schema,l],[c.parentSchema,n._`${h}${m}`],[s.default.data,i]);f&&o.push([c.propertyName,f])}(e,t,i),o.object(...i)}(e,t,r)}function u({errorPath:e},{instancePath:t}){const r=t?n.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let a=s?t:n.str`${t}/${e}`;return r&&(a=n.str`${a}${(0,o.getErrorPath)(r,o.Type.Str)}`),[c.schemaPath,a]}},22886:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(r||(t.DiscrError=r={}))},22891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const n=r(56699),o=r(19205),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?a(e,n):(0,o.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:r,schema:s,data:a,keyword:i,it:c}=e;c.items=!0;const l=r.const("len",n._`${a}.length`);if(!1===s)e.setParams({len:t.length}),e.pass(n._`${l} <= ${t.length}`);else if("object"==typeof s&&!(0,o.alwaysValidSchema)(c,s)){const s=r.var("valid",n._`${l} <= ${t.length}`);r.if((0,n.not)(s),(()=>function(s){r.forRange("i",t.length,l,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:o.Type.Num},s),c.allErrors||r.if((0,n.not)(s),(()=>r.break()))}))}(s))),e.ok(s)}}t.validateAdditionalItems=a,t.default=s},22955:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(22080),o=r(8300);const s=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var a=r(64099);const i=function(e,t,r,n,i,c){var l=1&r,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var f=c.get(e),h=c.get(t);if(f&&h)return f==t&&h==e;var m=-1,p=!0,y=2&r?new o.A:void 0;for(c.set(e,t),c.set(t,e);++m<u;){var g=e[m],v=t[m];if(n)var $=l?n(v,g,m,t,e,c):n(g,v,m,e,t,c);if(void 0!==$){if($)continue;p=!1;break}if(y){if(!s(t,(function(e,t){if(!(0,a.A)(y,t)&&(g===e||i(g,e,r,n,c)))return y.push(t)}))){p=!1;break}}else if(g!==v&&!i(g,v,r,n,c)){p=!1;break}}return c.delete(e),c.delete(t),p};var c=r(241),l=r(43988),u=r(66984);const d=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var f=r(29959),h=c.A?c.A.prototype:void 0,m=h?h.valueOf:void 0;const p=function(e,t,r,n,o,s,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new l.A(e),new l.A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,u.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=d;case"[object Set]":var h=1&n;if(c||(c=f.A),e.size!=t.size&&!h)return!1;var p=a.get(e);if(p)return p==t;n|=2,a.set(e,t);var y=i(c(e),c(t),n,o,s,a);return a.delete(e),y;case"[object Symbol]":if(m)return m.call(e)==m.call(t)}return!1};var y=r(19042),g=Object.prototype.hasOwnProperty;const v=function(e,t,r,n,o,s){var a=1&r,i=(0,y.A)(e),c=i.length;if(c!=(0,y.A)(t).length&&!a)return!1;for(var l=c;l--;){var u=i[l];if(!(a?u in t:g.call(t,u)))return!1}var d=s.get(e),f=s.get(t);if(d&&f)return d==t&&f==e;var h=!0;s.set(e,t),s.set(t,e);for(var m=a;++l<c;){var p=e[u=i[l]],v=t[u];if(n)var $=a?n(v,p,u,t,e,s):n(p,v,u,e,t,s);if(!(void 0===$?p===v||o(p,v,r,n,s):$)){h=!1;break}m||(m="constructor"==u)}if(h&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(h=!1)}return s.delete(e),s.delete(t),h};var $=r(9137),b=r(92049),w=r(41200),_=r(54749),A="[object Arguments]",S="[object Array]",j="[object Object]",P=Object.prototype.hasOwnProperty;const E=function(e,t,r,o,s,a){var c=(0,b.A)(e),l=(0,b.A)(t),u=c?S:(0,$.A)(e),d=l?S:(0,$.A)(t),f=(u=u==A?j:u)==j,h=(d=d==A?j:d)==j,m=u==d;if(m&&(0,w.A)(e)){if(!(0,w.A)(t))return!1;c=!0,f=!1}if(m&&!f)return a||(a=new n.A),c||(0,_.A)(e)?i(e,t,r,o,s,a):p(e,t,u,r,o,s,a);if(!(1&r)){var y=f&&P.call(e,"__wrapped__"),g=h&&P.call(t,"__wrapped__");if(y||g){var E=y?e.value():e,x=g?t.value():t;return a||(a=new n.A),s(E,x,r,o,a)}}return!!m&&(a||(a=new n.A),v(e,t,r,o,s,a))};var x=r(53098);const k=function e(t,r,n,o,s){return t===r||(null==t||null==r||!(0,x.A)(t)&&!(0,x.A)(r)?t!==t&&r!==r:E(t,r,n,o,e,s))}},23036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=n.operators,s={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},a={message:({keyword:e,schemaCode:t})=>n.str`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${s[e].okStr}, limit: ${t}}`},i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:r,schemaCode:o}=e;e.fail$data(n._`${r} ${s[t].fail} ${o} || isNaN(${r})`)}};t.default=i},23149:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},23643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(37622);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var s;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(s||(t.UsedValueState=s={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=a;class i extends n.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=n._`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=i;const c=n._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:n.nil}}get(){return this._scope}name(e){return new i(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:o}=n,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let a=this._values[o];if(a){const e=a.get(s);if(e)return e}else a=this._values[o]=new Map;a.set(s,n);const i=this._scope[o]||(this._scope[o]=[]),c=i.length;return i[c]=t.ref,n.setValue(t,{property:o,itemIndex:c}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return n._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,a={},i){let c=n.nil;for(const l in e){const u=e[l];if(!u)continue;const d=a[l]=a[l]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,s.Started);let a=r(e);if(a){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;c=n._`${c}${r} ${e} = ${a};${this.opts._n}`}else{if(!(a=null===i||void 0===i?void 0:i(e)))throw new o(e);c=n._`${c}${a}${this.opts._n}`}d.set(e,s.Completed)}))}return c}}},24326:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(29008),o=r(65255),s=r(46778);const a=function(e,t){return(0,s.A)((0,o.A)(e,t,n.A),e+"")}},25175:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(2383),o=r(53098);const s=function(e){return(0,o.A)(e)&&"[object Arguments]"==(0,n.A)(e)};var a=Object.prototype,i=a.hasOwnProperty,c=a.propertyIsEnumerable;const l=s(function(){return arguments}())?s:function(e){return(0,o.A)(e)&&i.call(e,"callee")&&!c.call(e,"callee")}},25353:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=/^(?:0|[1-9]\d*)$/;const o=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},26461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const n=r(22394),o=r(93789),s=o.operators,a={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}},i={message:({keyword:e,schemaCode:t})=>o.str`should be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>o._`{comparison: ${a[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(a),type:"string",schemaType:"string",$data:!0,error:i,code(e){const{gen:t,data:r,schemaCode:s,keyword:i,it:c}=e,{opts:l,self:u}=c;if(!l.validateFormats)return;const d=new n.KeywordCxt(c,u.RULES.all.format.definition,"format");function f(e){return o._`${e}.compare(${r}, ${s}) ${a[i].fail} 0`}d.$data?function(){const r=t.scopeValue("formats",{ref:u.formats,code:l.code.formats}),n=t.const("fmt",o._`${r}[${d.schemaCode}]`);e.fail$data(o.or(o._`typeof ${n} != "object"`,o._`${n} instanceof RegExp`,o._`typeof ${n}.compare != "function"`,f(n)))}():function(){const r=d.schema,n=u.formats[r];if(!n||!0===n)return;if("object"!=typeof n||n instanceof RegExp||"function"!=typeof n.compare)throw new Error(`"${i}": format "${r}" does not define "compare" function`);const s=t.scopeValue("formats",{key:r,ref:n,code:l.code.formats?o._`${l.code.formats}${o.getProperty(r)}`:void 0});e.fail$data(f(s))}()},dependencies:["format"]};t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},26594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63418),o=r(33742),s=r(53308),a=r(53478),i=r(53727),c=[n.default,o.default,(0,s.default)(),a.default,i.metadataVocabulary,i.contentVocabulary];t.default=c},26666:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},27420:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(r||(t.DiscrError=r={}))},27422:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(50423),o=r(14453),s=r(38446);const a=function(e){return(0,s.A)(e)?(0,n.A)(e):(0,o.A)(e)}},27711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(79888),o=r(62235),s=r(19205),a=r(85622),i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===i.additionalProperties&&a.default.code(new n.KeywordCxt(l,a.default,"additionalProperties"));const u=(0,o.allSchemaProperties)(r);for(const n of u)l.definedProperties.add(n);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=s.mergeEvaluated.props(t,(0,s.toHash)(u),l.props));const d=u.filter((e=>!(0,s.alwaysValidSchema)(l,r[e])));if(0===d.length)return;const f=t.name("valid");for(const n of d)h(n)?m(n):(t.if((0,o.propertyInData)(t,c,n,l.opts.ownProperties)),m(n),l.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function h(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==r[e].default}function m(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=i},28085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s=r(37464),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>n._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:a,schemaCode:i,schema:c}=e;a||c&&"object"==typeof c?e.fail$data(n._`!${(0,o.useFunc)(t,s.default)}(${r}, ${i})`):e.fail(n._`${c} !== ${r}`)}};t.default=a},28132:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CodeGen=r.Name=r.nil=r.stringify=r.str=r._=r.KeywordCxt=void 0;var o=n(79888);Object.defineProperty(r,"KeywordCxt",{enumerable:!0,get:function(){return o.KeywordCxt}});var s=n(56699);Object.defineProperty(r,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(r,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(r,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(r,"Name",{enumerable:!0,get:function(){return s.Name}}),Object.defineProperty(r,"CodeGen",{enumerable:!0,get:function(){return s.CodeGen}});const a=n(36024),i=n(39889),c=n(43402),l=n(16245),u=n(56699),d=n(9737),f=n(66542),h=n(19205),m=n(53983),p=n(86122),y=(e,t)=>new RegExp(e,t);y.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),$={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."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function w(e){var t,r,n,o,s,a,i,c,l,u,d,f,h,m,g,v,$,b,w,_,A,S,j,P,E;const x=e.strict,k=null===(t=e.code)||void 0===t?void 0:t.optimize,O=!0===k||void 0===k?1:k||0,N=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:y,C=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(a=null!==(s=e.strictSchema)&&void 0!==s?s:x)||void 0===a||a,strictNumbers:null===(c=null!==(i=e.strictNumbers)&&void 0!==i?i:x)||void 0===c||c,strictTypes:null!==(u=null!==(l=e.strictTypes)&&void 0!==l?l:x)&&void 0!==u?u:"log",strictTuples:null!==(f=null!==(d=e.strictTuples)&&void 0!==d?d:x)&&void 0!==f?f:"log",strictRequired:null!==(m=null!==(h=e.strictRequired)&&void 0!==h?h:x)&&void 0!==m&&m,code:e.code?{...e.code,optimize:O,regExp:N}:{optimize:O,regExp:N},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===($=e.meta)||void 0===$||$,messages:null===(b=e.messages)||void 0===b||b,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(_=e.schemaId)&&void 0!==_?_:"$id",addUsedSchema:null===(A=e.addUsedSchema)||void 0===A||A,validateSchema:null===(S=e.validateSchema)||void 0===S||S,validateFormats:null===(j=e.validateFormats)||void 0===j||j,unicodeRegExp:null===(P=e.unicodeRegExp)||void 0===P||P,int32range:null===(E=e.int32range)||void 0===E||E,uriResolver:C}}class _{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...w(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:v,es5:t,lines:r}),this.logger=function(e){if(!1===e)return k;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,c.getRules)(),A.call(this,$,e,"NOT SUPPORTED"),A.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&P.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),j.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=m;"id"===r&&(n={...m},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(t,r){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return o.call(this,t,r);async function o(e,t){await s.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||a.call(this,r)}async function s(e){e&&!this.getSchema(e)&&await o.call(this,{$ref:e},!0)}async function a(t){try{return this._compileSchemaEnv(t)}catch(e){if(!(e instanceof i.default))throw e;return c.call(this,e),await l.call(this,e.missingSchema),a.call(this,t)}}function c({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const t=await u.call(this,e);this.refs[e]||await s.call(this,t.$schema),this.refs[e]||this.addSchema(t,e,r)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,n);return this}let o;if("object"===typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,d.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=S.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new l.SchemaEnv({schema:{},schemaId:r});if(t=l.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=S.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,d.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(N.call(this,r,t),!t)return(0,h.eachItem)(r,(e=>C.call(this,e))),this;D.call(this,t);const n={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(r,0===n.type.length?e=>C.call(this,e,n):e=>n.type.forEach((t=>C.call(this,e,n,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r)):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,s=o[e];n&&s&&(o[e]=T(s))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,o=this.opts.addUsedSchema){let s;const{schemaId:a}=this.opts;if("object"==typeof e)s=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(void 0!==i)return i;r=(0,d.normalizeId)(s||r);const c=d.getSchemaRefs.call(this,e,r);return i=new l.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:r,localRefs:c}),this._cache.set(i.schema,i),o&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=i),n&&this.validateSchema(e,!0),i}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function A(e,t,r,n="error"){for(const o in e){const s=o;s in t&&this.logger[n](`${r}: option ${o}. ${e[s]}`)}}function S(e){return e=(0,d.normalizeId)(e),this.schemas[e]||this.refs[e]}function j(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function P(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function x(){const e={...this.opts};for(const t of g)delete e[t];return e}_.ValidationError=a.default,_.MissingRefError=i.default,r.default=_;const k={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function N(e,t){const{RULES:r}=this;if((0,h.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function C(e,t,r){var n;const o=null===t||void 0===t?void 0:t.post;if(r&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let a=o?s.post:s.rules.find((({type:e})=>e===r));if(a||(a={type:r,rules:[]},s.rules.push(a)),s.keywords[e]=!0,!t)return;const i={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?I.call(this,a,i,t.before):a.rules.push(i),s.all[e]=i,null===(n=t.implements)||void 0===n||n.forEach((e=>this.addKeyword(e)))}function I(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function D(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const R={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,R]}}},28562:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(89610);const o=r(41917).A["__core-js_shared__"];var s=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();const a=function(e){return!!s&&s in e};var i=r(23149),c=r(81121),l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,m=RegExp("^"+f.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(e){return!(!(0,i.A)(e)||a(e))&&((0,n.A)(e)?m:l).test((0,c.A)(e))};const y=function(e,t){return null==e?void 0:e[t]};const g=function(e,t){var r=y(e,t);return p(r)?r:void 0}},28840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(5095),o=r(65335),s=r(22796),a=r(93789),i=r(7083);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c||(t.DataType=c={})),t.getSchemaTypes=function(e){const t=l(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=l,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:n,opts:s}=e,i=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,s.coerceTypes),l=t.length>0&&!(0===i.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(l){const o=f(t,n,s.strictNumbers,c.Wrong);r.if(o,(()=>{i.length?function(e,t,r){const{gen:n,data:o,opts:s}=e,i=n.let("dataType",a._`typeof ${o}`),c=n.let("coerced",a._`undefined`);"array"===s.coerceTypes&&n.if(a._`${i} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>n.assign(o,a._`${o}[0]`).assign(i,a._`typeof ${o}`).if(f(t,o,s.strictNumbers),(()=>n.assign(c,o)))));n.if(a._`${c} !== undefined`);for(const a of r)(u.has(a)||"array"===a&&"array"===s.coerceTypes)&&l(a);function l(e){switch(e){case"string":return void n.elseIf(a._`${i} == "number" || ${i} == "boolean"`).assign(c,a._`"" + ${o}`).elseIf(a._`${o} === null`).assign(c,a._`""`);case"number":return void n.elseIf(a._`${i} == "boolean" || ${o} === null
              || (${i} == "string" && ${o} && ${o} == +${o})`).assign(c,a._`+${o}`);case"integer":return void n.elseIf(a._`${i} === "boolean" || ${o} === null
              || (${i} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(c,a._`+${o}`);case"boolean":return void n.elseIf(a._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(c,!1).elseIf(a._`${o} === "true" || ${o} === 1`).assign(c,!0);case"null":return n.elseIf(a._`${o} === "" || ${o} === 0 || ${o} === false`),void n.assign(c,null);case"array":n.elseIf(a._`${i} === "string" || ${i} === "number"
              || ${i} === "boolean" || ${o} === null`).assign(c,a._`[${o}]`)}}n.else(),m(e),n.endIf(),n.if(a._`${c} !== undefined`,(()=>{n.assign(o,c),function({gen:e,parentData:t,parentDataProperty:r},n){e.if(a._`${t} !== undefined`,(()=>e.assign(a._`${t}[${r}]`,n)))}(e,c)}))}(e,t,i):m(e)}))}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,r,n=c.Correct){const o=n===c.Correct?a.operators.EQ:a.operators.NEQ;let s;switch(e){case"null":return a._`${t} ${o} null`;case"array":s=a._`Array.isArray(${t})`;break;case"object":s=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=i(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=i();break;default:return a._`typeof ${t} ${o} ${e}`}return n===c.Correct?s:(0,a.not)(s);function i(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,r?a._`isFinite(${t})`:a.nil)}}function f(e,t,r,n){if(1===e.length)return d(e[0],t,r,n);let o;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=a._`typeof ${t} != "object"`;o=s.null?e:a._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else o=a.nil;s.number&&delete s.integer;for(const i in s)o=(0,a.and)(o,d(i,t,r,n));return o}t.checkDataType=d,t.checkDataTypes=f;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function m(e){const t=function(e){const{gen:t,data:r,schema:n}=e,o=(0,i.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:e}}(e);(0,s.reportError)(t,h)}t.reportTypeError=m},29008:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return e}},29045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const n=r(70303),o=r(21085),s=r(93789),a=r(66735),i=r(65219),c=r(7083),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:o}=e,{baseId:a,schemaEnv:c,validateName:l,opts:f,self:h}=o,{root:m}=c;if(("#"===r||"#/"===r)&&a===m.baseId)return function(){if(c===m)return d(e,l,c,c.$async);const r=t.scopeValue("root",{ref:m});return d(e,s._`${r}.validate`,m,m.$async)}();const p=i.resolveRef.call(h,m,a,r);if(void 0===p)throw new n.default(o.opts.uriResolver,a,r);return p instanceof i.SchemaEnv?function(t){const r=u(e,t);d(e,r,t,t.$async)}(p):function(n){const o=t.scopeValue("schema",!0===f.code.source?{ref:n,code:(0,s.stringify)(n)}:{ref:n}),a=t.name("valid"),i=e.subschema({schema:n,dataTypes:[],schemaPath:s.nil,topSchemaRef:o,errSchemaPath:r},a);e.mergeEvaluated(i),e.ok(a)}(p)}};function u(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):s._`${r.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,r,n){const{gen:i,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,h=f.passContext?a.default.this:s.nil;function m(e){const t=s._`${e}.errors`;i.assign(a.default.vErrors,s._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),i.assign(a.default.errors,s._`${a.default.vErrors}.length`)}function p(e){var t;if(!l.opts.unevaluated)return;const n=null===(t=null===r||void 0===r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(n&&!n.dynamicProps)void 0!==n.props&&(l.props=c.mergeEvaluated.props(i,n.props,l.props));else{const t=i.var("props",s._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(i,t,l.props,s.Name)}if(!0!==l.items)if(n&&!n.dynamicItems)void 0!==n.items&&(l.items=c.mergeEvaluated.items(i,n.items,l.items));else{const t=i.var("items",s._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(i,t,l.items,s.Name)}}n?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try((()=>{i.code(s._`await ${(0,o.callValidateCode)(e,t,h)}`),p(t),u||i.assign(r,!0)}),(e=>{i.if(s._`!(${e} instanceof ${l.ValidationError})`,(()=>i.throw(e))),m(e),u||i.assign(r,!1)})),e.ok(r)}():e.result((0,o.callValidateCode)(e,t,h),(()=>p(t)),(()=>m(t)))}t.getValidate=u,t.callRef=d,t.default=l},29236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1096),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t.default=o},29320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7083),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:o}=e;if((0,n.alwaysValidSchema)(o,r))return void e.fail();const s=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),e.failResult(s,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},29959:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},30423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(66542),o=r(56699),s=r(19205),a=r(37464),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!i&&!c)return;const f=t.let("valid"),h=l.items?(0,n.getSchemaTypes)(l.items):[];function m(s,a){const i=t.name("item"),c=(0,n.checkDataTypes)(h,i,d.opts.strictNumbers,n.DataType.Wrong),l=t.const("indices",o._`{}`);t.for(o._`;${s}--;`,(()=>{t.let(i,o._`${r}[${s}]`),t.if(c,o._`continue`),h.length>1&&t.if(o._`typeof ${i} == "string"`,o._`${i} += "_"`),t.if(o._`typeof ${l}[${i}] == "number"`,(()=>{t.assign(a,o._`${l}[${i}]`),e.error(),t.assign(f,!1).break()})).code(o._`${l}[${i}] = ${s}`)}))}function p(n,i){const c=(0,s.useFunc)(t,a.default),l=t.name("outer");t.label(l).for(o._`;${n}--;`,(()=>t.for(o._`${i} = ${n}; ${i}--;`,(()=>t.if(o._`${c}(${r}[${n}], ${r}[${i}])`,(()=>{e.error(),t.assign(f,!1).break(l)}))))))}e.block$data(f,(function(){const n=t.let("i",o._`${r}.length`),s=t.let("j");e.setParams({i:n,j:s}),t.assign(f,!0),t.if(o._`${n} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?m:p)(n,s)))}),o._`${u} === false`),e.ok(f)}};t.default=i},30901:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(61882);const o=function(e){if("string"==typeof e||(0,n.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},32017:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,s;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!==o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(r,s[o]))return!1;for(o=n;0!==o--;){var a=s[o];if(!e(t[a],r[a]))return!1}return!0}return t!==t&&r!==r}},32729:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(59712),o=r(15647),s=r(97271);const a=function(e){return"function"!=typeof e.constructor||(0,s.A)(e)?{}:(0,n.A)((0,o.A)(e))}},32785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>n.str`must be multiple of ${e}`,params:({schemaCode:e})=>n._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:o,it:s}=e,a=s.opts.multipleOfPrecision,i=t.let("res"),c=a?n._`Math.abs(Math.round(${i}) - ${i}) > 1e-${a}`:n._`${i} !== parseInt(${i})`;e.fail$data(n._`(${o} === 0 || (${i} = ${r}/${o}, ${c}))`)}};t.default=o},32884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=[r(40329).default];t.default=n},33742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(23036),o=r(32785),s=r(83513),a=r(50556),i=r(10844),c=r(34757),l=r(58153),u=r(30423),d=r(28085),f=r(40377),h=[n.default,o.default,s.default,a.default,i.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=h},33831:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(76912),o=r(92049);const s=function(e,t,r){var s=t(e);return(0,o.A)(e)?s:(0,n.A)(s,r(e))}},34098:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(87671);const o=function(e){return(null==e?0:e.length)?(0,n.A)(e,1):[]}},34757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(62235),o=r(56699),s=r(19205),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:a,data:i,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===r.length)return;const d=r.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(o.nil,f);else for(const t of r)(0,n.checkReportMissingProp)(e,t)}():function(){const s=t.let("missing");if(d||c){const r=t.let("valid",!0);e.block$data(r,(()=>function(r,s){e.setParams({missingProperty:r}),t.forOf(r,a,(()=>{t.assign(s,(0,n.propertyInData)(t,i,r,u.ownProperties)),t.if((0,o.not)(s),(()=>{e.error(),t.break()}))}),o.nil)}(s,r))),e.ok(r)}else t.if((0,n.checkMissingProp)(e,r,s)),(0,n.reportMissingProp)(e,s),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of r)if(void 0===(null===t||void 0===t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,s.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){t.forOf("prop",a,(r=>{e.setParams({missingProperty:r}),t.if((0,n.noPropertyInData)(t,i,r,u.ownProperties),(()=>e.error()))}))}}};t.default=a},34834:e=>{"use strict";const t=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);function n(e){let t="",r=0,n=0;for(n=0;n<e.length;n++)if(r=e[n].charCodeAt(0),48!==r){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n];break}for(n+=1;n<e.length;n++){if(r=e[n].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n]}return t}const o=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function s(e){return e.length=0,!0}function a(e,t,r){if(e.length){const o=n(e);if(""===o)return r.error=!0,!1;t.push(o),e.length=0}return!0}function i(e){if(function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}(e,":")<2)return{host:e,isIPV6:!1};const t=function(e){let t=0;const r={error:!1,address:"",zone:""},o=[],i=[];let c=!1,l=!1,u=a;for(let n=0;n<e.length;n++){const a=e[n];if("["!==a&&"]"!==a)if(":"!==a)if("%"===a){if(!u(i,o,r))break;u=s}else i.push(a);else{if(!0===c&&(l=!0),!u(i,o,r))break;if(++t>7){r.error=!0;break}n>0&&":"===e[n-1]&&(c=!0),o.push(":")}}return i.length&&(u===s?r.zone=i.join(""):l?o.push(i.join("")):o.push(n(i))),r.address=o.join(""),r}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,r=t.address;return t.zone&&(e+="%"+t.zone,r+="%25"+t.zone),{host:e,isIPV6:!0,escapedHost:r}}}e.exports={nonSimpleDomain:o,recomposeAuthority:function(e){const t=[];if(void 0!==e.userinfo&&(t.push(e.userinfo),t.push("@")),void 0!==e.host){let n=unescape(e.host);if(!r(n)){const t=i(n);n=!0===t.isIPV6?`[${t.escapedHost}]`:e.host}t.push(n)}return"number"!==typeof e.port&&"string"!==typeof e.port||(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0},normalizeComponentEncoding:function(e,t){const r=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=r(e.scheme)),void 0!==e.userinfo&&(e.userinfo=r(e.userinfo)),void 0!==e.host&&(e.host=r(e.host)),void 0!==e.path&&(e.path=r(e.path)),void 0!==e.query&&(e.query=r(e.query)),void 0!==e.fragment&&(e.fragment=r(e.fragment)),e},removeDotSegments:function(e){let t=e;const r=[];let n=-1,o=0;for(;o=t.length;){if(1===o){if("."===t)break;if("/"===t){r.push("/");break}r.push(t);break}if(2===o){if("."===t[0]){if("."===t[1])break;if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&("."===t[1]||"/"===t[1])){r.push("/");break}}else if(3===o&&"/.."===t){0!==r.length&&r.pop(),r.push("/");break}if("."===t[0]){if("."===t[1]){if("/"===t[2]){t=t.slice(3);continue}}else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&"."===t[1]){if("/"===t[2]){t=t.slice(2);continue}if("."===t[2]&&"/"===t[3]){t=t.slice(3),0!==r.length&&r.pop();continue}}if(-1===(n=t.indexOf("/",1))){r.push(t);break}r.push(t.slice(0,n)),t=t.slice(n)}return r.join("")},isIPv4:r,isUUID:t,normalizeIPv6:i,stringArrayToHexStripped:n}},34916:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(87465),o=r(26666),s=r(66318);const a=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++n<o;)s[n]=e[n+t];return s};const i=function(e,t){return t.length<2?e:(0,s.A)(e,a(t,0,-1))};var c=r(30901);const l=function(e,t){return t=(0,n.A)(t,e),null==(e=i(e,t))||delete e[(0,c.A)((0,o.A)(t))]}},34963:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(2383),o=r(15647),s=r(53098),a=Function.prototype,i=Object.prototype,c=a.toString,l=i.hasOwnProperty,u=c.call(Object);const d=function(e){if(!(0,s.A)(e)||"[object Object]"!=(0,n.A)(e))return!1;var t=(0,o.A)(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==u}},35704:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37346);const o=function(e,t,r){return null==e?e:(0,n.A)(e,t,r)}},36024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},36904:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(45572),o=r(39759),s=r(92049),a=r(61882),i=r(37216),c=r(30901),l=r(3456);const u=function(e){return(0,s.A)(e)?(0,n.A)(e,c.A):(0,a.A)(e)?[e]:(0,o.A)((0,i.A)((0,l.A)(e)))}},37216:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(62050);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var a=e.apply(this,n);return r.cache=s.set(o,a)||s,a};return r.cache=new(o.Cache||n.A),r}o.Cache=n.A;const s=o;var a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;const c=function(e){var t=s(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}))},37301:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},37346:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(52851),o=r(87465),s=r(25353),a=r(23149),i=r(30901);const c=function(e,t,r,c){if(!(0,a.A)(e))return e;for(var l=-1,u=(t=(0,o.A)(t,e)).length,d=u-1,f=e;null!=f&&++l<u;){var h=(0,i.A)(t[l]),m=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=d){var p=f[h];void 0===(m=c?c(p,h,f):void 0)&&(m=(0,a.A)(p)?p:(0,s.A)(t[l+1])?[]:{})}(0,n.A)(f,h,m),f=f[h]}return e}},37464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(32017);n.code='require("ajv/dist/runtime/equal").default',t.default=n},37622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class o extends r{constructor(e){super(),this._items="string"===typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function s(e,...t){const r=[e[0]];let n=0;for(;n<t.length;)c(r,t[n]),r.push(e[++n]);return new o(r)}t._Code=o,t.nil=new o(""),t._=s;const a=new o("+");function i(e,...t){const r=[u(e[0])];let n=0;for(;n<t.length;)r.push(a),c(r,t[n]),r.push(a,u(e[++n]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const r=l(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new o(r)}function c(e,t){var r;t instanceof o?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:u(Array.isArray(r)?r.join(","):r))}function l(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=i,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:i`${e}${t}`},t.stringify=function(e){return new o(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):s`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},37805:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},38094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o}=e,s="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`Object.keys(${r}).length ${s} ${o}`)}};t.default=o},38446:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(89610),o=r(5254);const s=function(e){return null!=e&&(0,o.A)(e.length)&&!(0,n.A)(e)}},39622:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=Object.prototype.hasOwnProperty;const o=function(e,t){return null!=e&&n.call(e,t)};var s=r(85054);const a=function(e,t){return null!=e&&(0,s.A)(e,t,o)}},39759:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},39857:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(28562),o=r(41917);const s=(0,n.A)(o.A,"Set")},39889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9737);class o extends Error{constructor(e,t,r,o){super(o||`can't resolve reference ${r} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,r),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=o},40154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(56699),o=r(19205),s=r(65373);function a(e,t){const r=e.const("err",t);e.if(n._`${s.default.vErrors} === null`,(()=>e.assign(s.default.vErrors,n._`[${r}]`)),n._`${s.default.vErrors}.push(${r})`),e.code(n._`${s.default.errors}++`)}function i(e,t){const{gen:r,validateName:o,schemaEnv:s}=e;s.$async?r.throw(n._`new ${e.ValidationError}(${t})`):(r.assign(n._`${o}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>n.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?n.str`"${e}" keyword must be ${t} ($data)`:n.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,o,s){const{it:c}=e,{gen:u,compositeRule:d,allErrors:f}=c,h=l(e,r,o);(null!==s&&void 0!==s?s:d||f)?a(u,h):i(c,n._`[${h}]`)},t.reportExtraError=function(e,r=t.keywordError,n){const{it:o}=e,{gen:c,compositeRule:u,allErrors:d}=o;a(c,l(e,r,n)),u||d||i(o,s.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(s.default.errors,t),e.if(n._`${s.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(n._`${s.default.vErrors}.length`,t)),(()=>e.assign(s.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:o,errsCount:a,it:i}){if(void 0===a)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",a,s.default.errors,(a=>{e.const(c,n._`${s.default.vErrors}[${a}]`),e.if(n._`${c}.instancePath === undefined`,(()=>e.assign(n._`${c}.instancePath`,(0,n.strConcat)(s.default.instancePath,i.errorPath)))),e.assign(n._`${c}.schemaPath`,n.str`${i.errSchemaPath}/${t}`),i.opts.verbose&&(e.assign(n._`${c}.schema`,r),e.assign(n._`${c}.data`,o))}))};const c={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function l(e,t,r){const{createErrors:o}=e.it;return!1===o?n._`{}`:function(e,t,r={}){const{gen:o,it:a}=e,i=[u(a,r),d(e,r)];return function(e,{params:t,message:r},o){const{keyword:a,data:i,schemaValue:l,it:u}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:m}=u;o.push([c.keyword,a],[c.params,"function"==typeof t?t(e):t||n._`{}`]),d.messages&&o.push([c.message,"function"==typeof r?r(e):r]);d.verbose&&o.push([c.schema,l],[c.parentSchema,n._`${h}${m}`],[s.default.data,i]);f&&o.push([c.propertyName,f])}(e,t,i),o.object(...i)}(e,t,r)}function u({errorPath:e},{instancePath:t}){const r=t?n.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let a=s?t:n.str`${t}/${e}`;return r&&(a=n.str`${a}${(0,o.getErrorPath)(r,o.Type.Str)}`),[c.schemaPath,a]}},40329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match format "${e}"`,params:({schemaCode:e})=>n._`{format: ${e}}`},code(e,t){const{gen:r,data:o,$data:s,schema:a,schemaCode:i,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;l.validateFormats&&(s?function(){const s=r.scopeValue("formats",{ref:f.formats,code:l.code.formats}),a=r.const("fDef",n._`${s}[${i}]`),c=r.let("fType"),u=r.let("format");r.if(n._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,(()=>r.assign(c,n._`${a}.type || "string"`).assign(u,n._`${a}.validate`)),(()=>r.assign(c,n._`"string"`).assign(u,a))),e.fail$data((0,n.or)(!1===l.strictSchema?n.nil:n._`${i} && !${u}`,function(){const e=d.$async?n._`(${a}.async ? await ${u}(${o}) : ${u}(${o}))`:n._`${u}(${o})`,r=n._`(typeof ${u} == "function" ? ${e} : ${u}.test(${o}))`;return n._`${u} && ${u} !== true && ${c} === ${t} && !${r}`}()))}():function(){const s=f.formats[a];if(!s)return void function(){if(!1===l.strictSchema)return void f.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===s)return;const[i,c,h]=function(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):l.code.formats?n._`${l.code.formats}${(0,n.getProperty)(a)}`:void 0,o=r.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,n._`${o}.validate`];return["string",e,o]}(s);i===t&&e.pass(function(){if("object"==typeof s&&!(s instanceof RegExp)&&s.async){if(!d.$async)throw new Error("async format in sync schema");return n._`await ${h}(${o})`}return"function"==typeof c?n._`${h}(${o})`:n._`${h}.test(${o})`}())}())}};t.default=o},40367:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){return function(r){return e(t(r))}}},40377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s=r(37464),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>n._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:a,schema:i,schemaCode:c,it:l}=e;if(!a&&0===i.length)throw new Error("enum must have non-empty array");const u=i.length>=l.opts.loopEnum;let d;const f=()=>null!==d&&void 0!==d?d:d=(0,o.useFunc)(t,s.default);let h;if(u||a)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",c,(e=>t.if(n._`${f()}(${r}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);h=(0,n.or)(...i.map(((t,o)=>function(e,t){const o=i[t];return"object"===typeof o&&null!==o?n._`${f()}(${r}, ${e}[${t}])`:n._`${r} === ${o}`}(e,o))))}e.pass(h)}};t.default=a},41200:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(41917);const o=function(){return!1};var s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s?n.A.Buffer:void 0;const c=(i?i.isBuffer:void 0)||o},41665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(21085).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n},41917:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(72136),o="object"==typeof self&&self&&self.Object===Object&&self;const s=n.A||o||Function("return this")()},41924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(93789),o=r(7083);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:s,schemaPath:a,errSchemaPath:i,topSchemaRef:c}){if(void 0!==t&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const s=e.schema[t];return void 0===r?{schema:s,schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(r)}`}}if(void 0!==s){if(void 0===a||void 0===i||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:s,data:a,dataTypes:i,propertyName:c}){if(void 0!==a&&void 0!==r)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==r){const{errorPath:a,dataPathArr:i,opts:c}=t;u(l.let("data",n._`${t.data}${(0,n.getProperty)(r)}`,!0)),e.errorPath=n.str`${a}${(0,o.getErrorPath)(r,s,c.jsPropertySyntax)}`,e.parentDataProperty=n._`${r}`,e.dataPathArr=[...i,e.parentDataProperty]}if(void 0!==a){u(a instanceof n.Name?a:l.let("data",a,!0)),void 0!==c&&(e.propertyName=c)}function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}i&&(e.dataTypes=i)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:o,allErrors:s}){void 0!==n&&(e.compositeRule=n),void 0!==o&&(e.createErrors=o),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r}},42302:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(){}},42785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(28840),o=r(93789),s=r(7083),a=r(72482),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!i&&!c)return;const f=t.let("valid"),h=l.items?(0,n.getSchemaTypes)(l.items):[];function m(s,a){const i=t.name("item"),c=(0,n.checkDataTypes)(h,i,d.opts.strictNumbers,n.DataType.Wrong),l=t.const("indices",o._`{}`);t.for(o._`;${s}--;`,(()=>{t.let(i,o._`${r}[${s}]`),t.if(c,o._`continue`),h.length>1&&t.if(o._`typeof ${i} == "string"`,o._`${i} += "_"`),t.if(o._`typeof ${l}[${i}] == "number"`,(()=>{t.assign(a,o._`${l}[${i}]`),e.error(),t.assign(f,!1).break()})).code(o._`${l}[${i}] = ${s}`)}))}function p(n,i){const c=(0,s.useFunc)(t,a.default),l=t.name("outer");t.label(l).for(o._`;${n}--;`,(()=>t.for(o._`${i} = ${n}; ${i}--;`,(()=>t.if(o._`${c}(${r}[${n}], ${r}[${i}])`,(()=>{e.error(),t.assign(f,!1).break(l)}))))))}e.block$data(f,(function(){const n=t.let("i",o._`${r}.length`),s=t.let("j");e.setParams({i:n,j:s}),t.assign(f,!0),t.if(o._`${n} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?m:p)(n,s)))}),o._`${u} === false`),e.ok(f)}};t.default=i},43402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const r=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},43988:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(41917).A.Uint8Array},44030:(t,r,n)=>{"use strict";n.d(r,{Ay:()=>m});var o=n(65144),s=n(79756),a=n(68182),i=n(23149);const c={allErrors:!0,multipleOfPrecision:8,strict:!1,verbose:!0,discriminator:!1},l=/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,u=/^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/;var d=n(77500);function f(e,t,r,n,s,a,i){const{validationError:c}=t;let l=function(e=[],t){return e.map((e=>{var r;const{instancePath:n,keyword:s,params:a,schemaPath:i,parentSchema:c,...l}=e;let{message:u=""}=l,f=n.replace(/\//g,"."),h=`${f} ${u}`.trim(),m="";const p=[...(null===(r=a.deps)||void 0===r?void 0:r.split(", "))||[],a.missingProperty,a.property].filter((e=>e));if(p.length>0)p.forEach((e=>{const r=f?`${f}.${e}`:e;let n=(0,o.$R)((0,d.A)(t,`${r.replace(/^\./,"")}`)).title;if(void 0===n){const r=i.replace(/\/properties\//g,"/").split("/").slice(1,-1).concat([e]);n=(0,o.$R)((0,d.A)(t,r)).title}if(n)u=u.replace(`'${e}'`,`'${n}'`),m=n;else{const t=(0,d.A)(c,[o.s1,e,"title"]);t&&(u=u.replace(`'${e}'`,`'${t}'`),m=t)}})),h=u;else{const e=(0,o.$R)((0,d.A)(t,`${f.replace(/^\./,"")}`)).title;if(e)h=`'${e}' ${u}`.trim(),m=e;else{const e=null===c||void 0===c?void 0:c.title;e&&(h=`'${e}' ${u}`.trim(),m=e)}}return"missingProperty"in a&&(f=f?`${f}.${a.missingProperty}`:a.missingProperty),{name:s,property:f,message:u,params:a,stack:h,schemaPath:i,title:m}})).reduce(((e,t)=>{const{message:r,schemaPath:n}=t,s=null===n||void 0===n?void 0:n.indexOf(`/${o.Xo}/`),a=null===n||void 0===n?void 0:n.indexOf(`/${o.Ru}/`);let i;return s&&s>=0?i=null===n||void 0===n?void 0:n.substring(0,s):a&&a>=0&&(i=null===n||void 0===n?void 0:n.substring(0,a)),(i?e.find((e=>{var t;return e.message===r&&(null===(t=e.schemaPath)||void 0===t?void 0:t.startsWith(i))})):void 0)||e.push(t),e}),[])}(t.errors,i);c&&(l=[...l,{stack:c.message}]),"function"===typeof a&&(l=a(l,i));let u=(0,o.MD)(l);if(c&&(u={...u,$schema:{__errors:[c.message]}}),"function"!==typeof s)return{errors:l,errorSchema:u};const f=(0,o.NV)(e,n,r,n,!0),h=s(f,(0,o.JF)(f),i),m=(0,o.fV)(h);return(0,o.k6)({errors:l,errorSchema:u},m)}class h{constructor(e,t){const{additionalMetaSchemas:r,customFormats:n,ajvOptionsOverrides:d,ajvFormatOptions:f,AjvClass:h,extenderFn:m}=e;this.ajv=function(e,t,r={},n,d=s,f){let h=new d({...c,...r});return n?a(h,n):!1!==n&&a(h),h.addFormat("data-url",u),h.addFormat("color",l),h.addKeyword(o.Rr),h.addKeyword(o.FF),Array.isArray(e)&&h.addMetaSchema(e),(0,i.A)(t)&&Object.keys(t).forEach((e=>{h.addFormat(e,t[e])})),f&&(h=f(h)),h}(r,n,d,f,h,m),this.localizer=t}reset(){this.ajv.removeSchema()}rawValidation(e,t){var r,n;let s,a,i;try{e[o.K0]&&(a=this.ajv.getSchema(e[o.K0])),void 0===a&&(a=this.ajv.compile(e)),a(t)}catch(c){s=c}return a&&("function"===typeof this.localizer&&((null!==(r=a.errors)&&void 0!==r?r:[]).forEach((e=>{var t;["missingProperty","property"].forEach((t=>{var r;(null===(r=e.params)||void 0===r?void 0:r[t])&&(e.params[t]=`'${e.params[t]}'`)})),(null===(t=e.params)||void 0===t?void 0:t.deps)&&(e.params.deps=e.params.deps.split(", ").map((e=>`'${e}'`)).join(", "))})),this.localizer(a.errors),(null!==(n=a.errors)&&void 0!==n?n:[]).forEach((e=>{var t;["missingProperty","property"].forEach((t=>{var r;(null===(r=e.params)||void 0===r?void 0:r[t])&&(e.params[t]=e.params[t].slice(1,-1))})),(null===(t=e.params)||void 0===t?void 0:t.deps)&&(e.params.deps=e.params.deps.split(", ").map((e=>e.slice(1,-1))).join(", "))}))),i=a.errors||void 0,a.errors=null),{errors:i,validationError:s}}validateFormData(e,t,r,n,o){return f(this,this.rawValidation(t,e),e,t,r,n,o)}handleSchemaUpdate(e){var t,r;const n=null!==(t=e[o.K0])&&void 0!==t?t:o.at;void 0===this.ajv.getSchema(n)?this.ajv.addSchema(e,n):(0,o.c2)(e,null===(r=this.ajv.getSchema(n))||void 0===r?void 0:r.schema)||(this.ajv.removeSchema(n),this.ajv.addSchema(e,n))}isValid(t,r,n){var s;try{this.handleSchemaUpdate(n);const e=(0,o.vh)(t),a=null!==(s=e[o.K0])&&void 0!==s?s:(0,o.$K)(e);let i;i=this.ajv.getSchema(a),void 0===i&&(i=this.ajv.addSchema(e,a).getSchema(a)||this.ajv.compile(e));return i(r)}catch(e){return console.warn("Error encountered compiling schema:",e),!1}}}const m=function(e={},t){return new h(e,t)}()},45572:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},45885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(72104);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var s;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(s||(t.UsedValueState=s={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=a;class i extends n.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=n._`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=i;const c=n._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:n.nil}}get(){return this._scope}name(e){return new i(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:o}=n,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let a=this._values[o];if(a){const e=a.get(s);if(e)return e}else a=this._values[o]=new Map;a.set(s,n);const i=this._scope[o]||(this._scope[o]=[]),c=i.length;return i[c]=t.ref,n.setValue(t,{property:o,itemIndex:c}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return n._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,a={},i){let c=n.nil;for(const l in e){const u=e[l];if(!u)continue;const d=a[l]=a[l]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,s.Started);let a=r(e);if(a){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;c=n._`${c}${r} ${e} = ${a};${this.opts._n}`}else{if(!(a=null===i||void 0===i?void 0:i(e)))throw new o(e);c=n._`${c}${a}${this.opts._n}`}d.set(e,s.Completed)}))}return c}}},46778:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});const n=function(e){return function(){return e}};var o=r(84171),s=r(29008);const a=o.A?function(e,t){return(0,o.A)(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:s.A;var i=Date.now;const c=function(e){var t=0,r=0;return function(){var n=i(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(a)},46964:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const n=function(e,t){return null!=e&&t in Object(e)};var o=r(85054);const s=function(e,t){return null!=e&&(0,o.A)(e,t,n)}},46996:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(22955);const o=function(e,t){return(0,n.A)(e,t)}},47103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=r},47394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(67366),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t.default=o},48343:(t,r,n)=>{"use strict";const{normalizeIPv6:o,removeDotSegments:s,recomposeAuthority:a,normalizeComponentEncoding:i,isIPv4:c,nonSimpleDomain:l}=n(34834),{SCHEMES:u,getSchemeHandler:d}=n(343);function f(e,t,r,n){const o={};return n||(e=p(h(e,r),r),t=p(h(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=s(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=s(t.path||""),o.query=t.query):(t.path?("/"===t.path[0]?o.path=s(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=s(o.path)),o.query=t.query):(o.path=e.path,void 0!==t.query?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function h(e,t){const r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},n=Object.assign({},t),o=[],i=d(n.scheme||r.scheme);i&&i.serialize&&i.serialize(r,n),void 0!==r.path&&(n.skipEscape?r.path=unescape(r.path):(r.path=escape(r.path),void 0!==r.scheme&&(r.path=r.path.split("%3A").join(":")))),"suffix"!==n.reference&&r.scheme&&o.push(r.scheme,":");const c=a(r);if(void 0!==c&&("suffix"!==n.reference&&o.push("//"),o.push(c),r.path&&"/"!==r.path[0]&&o.push("/")),void 0!==r.path){let e=r.path;n.absolutePath||i&&i.absolutePath||(e=s(e)),void 0===c&&"/"===e[0]&&"/"===e[1]&&(e="/%2F"+e.slice(2)),o.push(e)}return void 0!==r.query&&o.push("?",r.query),void 0!==r.fragment&&o.push("#",r.fragment),o.join("")}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function p(t,r){const n=Object.assign({},r),s={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let a=!1;"suffix"===n.reference&&(t=n.scheme?n.scheme+":"+t:"//"+t);const i=t.match(m);if(i){if(s.scheme=i[1],s.userinfo=i[3],s.host=i[4],s.port=parseInt(i[5],10),s.path=i[6]||"",s.query=i[7],s.fragment=i[8],isNaN(s.port)&&(s.port=i[5]),s.host){if(!1===c(s.host)){const e=o(s.host);s.host=e.host.toLowerCase(),a=e.isIPV6}else a=!0}void 0!==s.scheme||void 0!==s.userinfo||void 0!==s.host||void 0!==s.port||void 0!==s.query||s.path?void 0===s.scheme?s.reference="relative":void 0===s.fragment?s.reference="absolute":s.reference="uri":s.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==s.reference&&(s.error=s.error||"URI is not a "+n.reference+" reference.");const r=d(n.scheme||s.scheme);if(!n.unicodeSupport&&(!r||!r.unicodeSupport)&&s.host&&(n.domainHost||r&&r.domainHost)&&!1===a&&l(s.host))try{s.host=URL.domainToASCII(s.host.toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII: "+e}(!r||r&&!r.skipNormalize)&&(-1!==t.indexOf("%")&&(void 0!==s.scheme&&(s.scheme=unescape(s.scheme)),void 0!==s.host&&(s.host=unescape(s.host))),s.path&&(s.path=escape(unescape(s.path))),s.fragment&&(s.fragment=encodeURI(decodeURIComponent(s.fragment)))),r&&r.parse&&r.parse(s,n)}else s.error=s.error||"URI can not be parsed.";return s}const y={SCHEMES:u,normalize:function(e,t){return"string"===typeof e?e=h(p(e,t),t):"object"===typeof e&&(e=p(h(e,t),t)),e},resolve:function(e,t,r){const n=r?Object.assign({scheme:"null"},r):{scheme:"null"},o=f(p(e,n),p(t,n),n,!0);return n.skipEscape=!0,h(o,n)},resolveComponent:f,equal:function(e,t,r){return"string"===typeof e?(e=unescape(e),e=h(i(p(e,r),!0),{...r,skipEscape:!0})):"object"===typeof e&&(e=h(i(e,!0),{...r,skipEscape:!0})),"string"===typeof t?(t=unescape(t),t=h(i(p(t,r),!0),{...r,skipEscape:!0})):"object"===typeof t&&(t=h(i(t,!0),{...r,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:h,parse:p};t.exports=y,t.exports.default=y,t.exports.fastUri=y},50302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21085),o=r(93789),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:s,schemaCode:a,it:i}=e,c=i.opts.unicodeRegExp?"u":"",l=r?o._`(new RegExp(${a}, ${c}))`:(0,n.usePattern)(e,s);e.fail$data(o._`!${l}.test(${t})`)}};t.default=s},50416:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(34098),o=r(65255),s=r(46778);const a=function(e){return(0,s.A)((0,o.A)(e,void 0,n.A),e+"")}},50423:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(59520),o=r(25175),s=r(92049),a=r(41200),i=r(25353),c=r(54749),l=Object.prototype.hasOwnProperty;const u=function(e,t){var r=(0,s.A)(e),u=!r&&(0,o.A)(e),d=!r&&!u&&(0,a.A)(e),f=!r&&!u&&!d&&(0,c.A)(e),h=r||u||d||f,m=h?(0,n.A)(e.length,String):[],p=m.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||d&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,i.A)(y,p))||m.push(y);return m}},50556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(62235),o=r(56699),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:s,schemaCode:a,it:i}=e,c=i.opts.unicodeRegExp?"u":"",l=r?o._`(new RegExp(${a}, ${c}))`:(0,n.usePattern)(e,s);e.fail$data(o._`!${l}.test(${t})`)}};t.default=s},50575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(22886),s=r(16245),a=r(39889),i=r(19205),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>n._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){const{gen:t,data:r,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",!1),m=t.const("tag",n._`${r}${(0,n.getProperty)(f)}`);function p(r){const o=t.name("valid"),s=e.subschema({keyword:"oneOf",schemaProp:r},o);return e.mergeEvaluated(s,n.Name),o}t.if(n._`typeof ${m} == "string"`,(()=>function(){const r=function(){var e;const t={},r=o(l);let n=!0;for(let l=0;l<d.length;l++){let t=d[l];if((null===t||void 0===t?void 0:t.$ref)&&!(0,i.schemaHasRulesButRef)(t,u.self.RULES)){const e=t.$ref;if(t=s.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),t instanceof s.SchemaEnv&&(t=t.schema),void 0===t)throw new a.default(u.opts.uriResolver,u.baseId,e)}const h=null===(e=null===t||void 0===t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n=n&&(r||o(t)),c(h,l)}if(!n)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const r of e.enum)h(r,t)}}function h(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(n._`${m} === ${e}`),t.assign(h,p(r[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:m,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:m,tagName:f}))),e.ok(h)}};t.default=c},52528:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(84171);const o=function(e,t,r){"__proto__"==t&&n.A?(0,n.A)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},52610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(57065),o=r(47394),s=r(67366),a=r(56166),i=r(96925),c=r(71273),l=r(7705),u=r(90396),d=r(55581),f=r(78013),h=r(29320),m=r(41665),p=r(9259),y=r(66636),g=r(7567),v=r(70866);t.default=function(e=!1){const t=[h.default,m.default,p.default,y.default,g.default,v.default,l.default,u.default,c.default,d.default,f.default];return e?t.push(o.default,a.default):t.push(n.default,s.default),t.push(i.default),t}},52789:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return function(t){return e(t)}}},52851:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(52528),o=r(66984),s=Object.prototype.hasOwnProperty;const a=function(e,t,r){var a=e[t];s.call(e,t)&&(0,o.A)(a,r)&&(void 0!==r||t in e)||(0,n.A)(e,t,r)}},53098:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return null!=e&&"object"==typeof e}},53308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(22891),o=r(29236),s=r(1096),a=r(67208),i=r(95011),c=r(81451),l=r(97267),u=r(85622),d=r(27711),f=r(16699),h=r(8265),m=r(86027),p=r(1937),y=r(54866),g=r(58445),v=r(67908);t.default=function(e=!1){const t=[h.default,m.default,p.default,y.default,g.default,v.default,l.default,u.default,c.default,d.default,f.default];return e?t.push(o.default,a.default):t.push(n.default,s.default),t.push(i.default),t}},53478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=[r(94887).default];t.default=n},53533:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(38446),o=r(53098);const s=function(e){return(0,o.A)(e)&&(0,n.A)(e)}},53727:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},53983:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},54749:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(2383),o=r(5254),s=r(53098),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;const i=function(e){return(0,s.A)(e)&&(0,o.A)(e.length)&&!!a[(0,n.A)(e)]};var c=r(52789),l=r(64841),u=l.A&&l.A.isTypedArray;const d=u?(0,c.A)(u):i},54866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(19205),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(o,t))return;const a=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s),e.mergeEvaluated(a)}))}};t.default=o},54930:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(45572),o=r(94507),s=r(34916),a=r(87465),i=r(22031),c=r(34963);const l=function(e){return(0,c.A)(e)?void 0:e};var u=r(50416),d=r(83973);const f=(0,u.A)((function(e,t){var r={};if(null==e)return r;var c=!1;t=(0,n.A)(t,(function(t){return t=(0,a.A)(t,e),c||(c=t.length>1),t})),(0,i.A)(e,(0,d.A)(e),r),c&&(r=(0,o.A)(r,7,l));for(var u=t.length;u--;)(0,s.A)(r,t[u]);return r}))},55581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(69810),o=r(21085),s=r(7083),a=r(90396),i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===i.additionalProperties&&a.default.code(new n.KeywordCxt(l,a.default,"additionalProperties"));const u=(0,o.allSchemaProperties)(r);for(const n of u)l.definedProperties.add(n);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=s.mergeEvaluated.props(t,(0,s.toHash)(u),l.props));const d=u.filter((e=>!(0,s.alwaysValidSchema)(l,r[e])));if(0===d.length)return;const f=t.name("valid");for(const n of d)h(n)?m(n):(t.if((0,o.propertyInData)(t,c,n,l.opts.ownProperties)),m(n),l.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function h(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==r[e].default}function m(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=i},56166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s=r(21085),a=r(57065),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,(0,o.alwaysValidSchema)(n,t)||(i?(0,a.validateAdditionalItems)(e,i):e.ok((0,s.validateArray)(e)))}};t.default=i},56239:(e,t)=>{var r=/~/,n=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function s(e){return r.test(e)?e.replace(n,o):e}function a(e){if("string"===typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!==typeof t&&"number"!==typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function i(e,t){if("object"!==typeof e)throw new Error("Invalid input object.");var r=(t=a(t)).length;if(1===r)return e;for(var n=1;n<r;){if(e=e[s(t[n++])],r===n)return e;if("object"!==typeof e||null===e)return}}function c(e,t,r){if("object"!==typeof e)throw new Error("Invalid input object.");if(0===(t=a(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,r){for(var n,o,a=1,i=t.length;a<i;){if("constructor"===t[a]||"prototype"===t[a]||"__proto__"===t[a])return e;if(n=s(t[a++]),o=i>a,"undefined"===typeof e[n]&&(Array.isArray(e)&&"-"===n&&(n=e.length),o&&(""!==t[a]&&t[a]<1/0||"-"===t[a]?e[n]=[]:e[n]={})),!o)break;e=e[n]}var c=e[n];return void 0===r?delete e[n]:e[n]=r,c}(e,t,r)}t.get=i,t.set=c,t.compile=function(e){var t=a(e);return{get:function(e){return i(e,t)},set:function(e,r){return c(e,t,r)}}}},56699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(37622),o=r(23643);var s=r(37622);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var a=r(23643);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class i{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends i{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const r=e?o.varKinds.var:this.varKind,n=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=N(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class l extends i{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=N(this.rhs,e,t),this}get names(){return O(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class f extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends i{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class m extends i{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=N(this.code,e,t),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class p extends i{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const o=r[n];o.optimizeNames(e,t)||(C(e,o.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>k(e,t.names)),{})}}class y extends p{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class g extends p{}class v extends y{}v.kind="else";class $ extends y{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof $?t:t.nodes:this.nodes.length?this:new $(I(e),t instanceof $?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=N(this.condition,e,t),this}get names(){const e=super.names;return O(e,this.condition),this.else&&k(e,this.else.names),e}}$.kind="if";class b extends y{}b.kind="for";class w extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=N(this.iteration,e,t),this}get names(){return k(super.names,this.iteration.names)}}class _ extends b{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=O(super.names,this.from);return O(e,this.to)}}class A extends b{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=N(this.iterable,e,t),this}get names(){return k(super.names,this.iterable.names)}}class S extends y{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}S.kind="func";class j extends p{render(e){return"return "+super.render(e)}}j.kind="return";class P extends y{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&k(e,this.catch.names),this.finally&&k(e,this.finally.names),e}}class E extends y{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}E.kind="catch";class x extends y{render(e){return"finally"+super.render(e)}}x.kind="finally";function k(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function O(e,t){return t instanceof n._CodeOrName?k(e,t.names):e}function N(e,t,r){return e instanceof n.Name?s(e):(o=e)instanceof n._Code&&o._items.some((e=>e instanceof n.Name&&1===t[e.str]&&void 0!==r[e.str]))?new n._Code(e._items.reduce(((e,t)=>(t instanceof n.Name&&(t=s(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function s(e){const n=r[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function C(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function I(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:n._`!${F(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const o=this._scope.toName(t);return void 0!==r&&n&&(this._constants[o.str]=r),this._leafNode(new c(e,o,r)),o}const(e,t,r){return this._def(o.varKinds.const,e,t,r)}let(e,t,r){return this._def(o.varKinds.let,e,t,r)}var(e,t,r){return this._def(o.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new l(e,t,r))}add(e,r){return this._leafNode(new u(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new m(e)),this}object(...e){const t=["{"];for(const[r,o]of e)t.length>1&&t.push(","),t.push(r),(r!==o||this.opts.es5)&&(t.push(":"),(0,n.addCodeArg)(t,o));return t.push("}"),new n._Code(t)}if(e,t,r){if(this._blockNode(new $(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new $(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode($,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,r,n,s=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const a=this._scope.toName(e);return this._for(new _(s,a,t,r),(()=>n(a)))}forOf(e,t,r,s=o.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,n._`${e}.length`,(t=>{this.var(a,n._`${e}[${t}]`),r(a)}))}return this._for(new A("of",s,a,t),(()=>r(a)))}forIn(e,t,r,s=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,n._`Object.keys(${t})`,r);const a=this._scope.toName(e);return this._for(new A("in",s,a,t),(()=>r(a)))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new j;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(j)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new P;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new E(e),t(e)}return r&&(this._currNode=n.finally=new x,this.code(r)),this._endBlockNode(E,x)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=n.nil,r,o){return this._blockNode(new S(e,t,r)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof $))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=I;const D=T(t.operators.AND);t.and=function(...e){return e.reduce(D)};const R=T(t.operators.OR);function T(e){return(t,r)=>t===n.nil?r:r===n.nil?t:n._`${F(t)} ${e} ${F(r)}`}function F(e){return e instanceof n.Name?e:n._`(${e})`}t.or=function(...e){return e.reduce(R)}},56711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>n.str`must be multiple of ${e}`,params:({schemaCode:e})=>n._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:o,it:s}=e,a=s.opts.multipleOfPrecision,i=t.let("res"),c=a?n._`Math.abs(Math.round(${i}) - ${i}) > 1e-${a}`:n._`${i} !== parseInt(${i})`;e.fail$data(n._`(${o} === 0 || (${i} = ${r}/${o}, ${c}))`)}};t.default=o},56967:(e,t)=>{"use strict";var r="eye-slash",n=[],o="f070",s="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z";t.mw={prefix:"fas",iconName:r,icon:[640,512,n,o,s]},t.k6=t.mw},57065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const n=r(93789),o=r(7083),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?a(e,n):(0,o.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:r,schema:s,data:a,keyword:i,it:c}=e;c.items=!0;const l=r.const("len",n._`${a}.length`);if(!1===s)e.setParams({len:t.length}),e.pass(n._`${l} <= ${t.length}`);else if("object"==typeof s&&!(0,o.alwaysValidSchema)(c,s)){const s=r.var("valid",n._`${l} <= ${t.length}`);r.if((0,n.not)(s),(()=>function(s){r.forRange("i",t.length,l,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:o.Type.Num},s),c.allErrors||r.if((0,n.not)(s),(()=>r.break()))}))}(s))),e.ok(s)}}t.validateAdditionalItems=a,t.default=s},58153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o}=e,s="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`${r}.length ${s} ${o}`)}};t.default=o},58445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>n.str`must match "${e.ifClause}" schema`,params:({params:e})=>n._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:r,it:s}=e;void 0===r.then&&void 0===r.else&&(0,o.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const i=a(s,"then"),c=a(s,"else");if(!i&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),i&&c){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(u,d("then",r),d("else",r))}else i?t.if(u,d("then")):t.if((0,n.not)(u),d("else"));function d(r,o){return()=>{const s=e.subschema({keyword:r},u);t.assign(l,u),e.mergeValidEvaluated(s,l),o?t.assign(o,n._`${r}`):e.setParams({ifClause:r})}}e.pass(l,(()=>e.error(!0)))}};function a(e,t){const r=e.schema[t];return void 0!==r&&!(0,o.alwaysValidSchema)(e,r)}t.default=s},59121:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>ro});var n=r(74848),o=r(96540),s=r(65144),a=r(20903),i=r(77500),c=r(66401),l=r(69084),u=r(46964);const d=function(e,t){return(0,l.A)(e,t,(function(t,r){return(0,u.A)(e,r)}))};const f=(0,r(50416).A)((function(e,t){return null==e?{}:d(e,t)}));var h=r(35704),m=r(36904),p=r(34916);const y=function(e,t){return null==e||(0,p.A)(e,t)};var g=r(23149),v=r(5664);function $(){return(0,v.A)("rjsf-array-item-")}function b(e){return Array.isArray(e)?e.map((e=>({key:$(),item:e}))):[]}function w(e){return Array.isArray(e)?e.map((e=>e.item)):[]}function _(e){return Array.isArray(e.type)?!e.type.includes("null"):"null"!==e.type}function A(e,t,r,n){let{addable:o}=(0,s.$R)(n,e.globalUiOptions);return!1!==o&&(o=void 0===t.maxItems||r.length<t.maxItems),o}function S(e,t,r,n){if("function"!==typeof e.items)return e.items;try{return e.items(t,r,n)}catch(qe){return void console.error(`Error executing dynamic uiSchema.items function for item at index ${r}:`,qe)}}function j(e,t){const{schemaUtils:r,globalFormOptions:n}=e;let o=t.items;return n.useFallbackUiForUnsupportedType&&!o?o={}:(0,s.nQ)(t)&&(0,s.Hh)(t)&&(o=t.additionalItems),r.getDefaultFormState(o)}function P(e){const{schema:t,fieldPathId:r,uiSchema:o,formData:a=[],disabled:i=!1,readonly:c=!1,autofocus:l=!1,required:u=!1,placeholder:d,onBlur:f,onFocus:h,registry:m,rawErrors:p,name:y,onSelectChange:g}=e,{widgets:v,schemaUtils:$,globalFormOptions:b,globalUiOptions:w}=m,_=$.retrieveSchema(t.items,a),A=(0,s.f9)(_,o),{widget:S="select",title:j,...P}=(0,s.$R)(o,w),E=(0,s.Bt)(t,S,v),x=j??t.title??y,k=$.getDisplayLabel(t,o,w),O=(0,s.lB)((0,s.Yg)("",b,r,!0));return(0,n.jsx)(E,{id:O[s.K0],name:y,multiple:!0,onChange:g,onBlur:f,onFocus:h,options:{...P,enumOptions:A},schema:t,uiSchema:o,registry:m,value:a,disabled:i,readonly:c,required:u,label:x,hideLabel:!k,placeholder:d,autofocus:l,rawErrors:p,htmlName:O.name})}function E(e){const{schema:t,fieldPathId:r,uiSchema:o,disabled:a=!1,readonly:i=!1,autofocus:c=!1,required:l=!1,hideError:u,placeholder:d,onBlur:f,onFocus:h,formData:m=[],registry:p,rawErrors:y,name:g,onSelectChange:v}=e,{widgets:$,schemaUtils:b,globalFormOptions:w,globalUiOptions:_}=p,{widget:A,title:S,...j}=(0,s.$R)(o,_),P=(0,s.Bt)(t,A,$),E=S??t.title??g,x=b.getDisplayLabel(t,o,_),k=(0,s.lB)((0,s.Yg)("",w,r,!0));return(0,n.jsx)(P,{id:k[s.K0],name:g,multiple:!0,onChange:v,onBlur:f,onFocus:h,options:j,schema:t,uiSchema:o,registry:p,value:m,disabled:a,readonly:i,hideError:u,required:l,label:E,hideLabel:!x,placeholder:d,autofocus:c,rawErrors:y,htmlName:k.name})}function x(e){const{schema:t,uiSchema:r,fieldPathId:o,name:a,disabled:i=!1,readonly:c=!1,autofocus:l=!1,required:u=!1,onBlur:d,onFocus:f,registry:h,formData:m=[],rawErrors:p,onSelectChange:y}=e,{widgets:g,schemaUtils:v,globalFormOptions:$,globalUiOptions:b}=h,{widget:w="files",title:_,...A}=(0,s.$R)(r,b),S=(0,s.Bt)(t,w,g),j=_??t.title??a,P=v.getDisplayLabel(t,r,b),E=(0,s.lB)((0,s.Yg)("",$,o,!0));return(0,n.jsx)(S,{options:A,id:E[s.K0],name:a,multiple:!0,onChange:y,onBlur:d,onFocus:f,schema:t,uiSchema:r,value:m,disabled:i,readonly:c,required:u,registry:h,autofocus:l,rawErrors:p,label:j,hideLabel:!P,htmlName:E.name})}function k(e){const{itemKey:t,index:r,name:a,disabled:i,hideError:c,readonly:l,registry:u,uiOptions:d,parentUiSchema:f,canAdd:h,canRemove:m=!0,canMoveUp:p,canMoveDown:y,itemSchema:g,itemData:v,itemUiSchema:$,itemFieldPathId:b,itemErrorSchema:w,autofocus:A,onBlur:S,onFocus:j,onChange:P,rawErrors:E,totalItems:x,title:k,handleAddItem:O,handleCopyItem:N,handleRemoveItem:C,handleReorderItems:I}=e,{schemaUtils:D,fields:{ArraySchemaField:R,SchemaField:T},globalUiOptions:F}=u,M=(0,s.lB)(b),U=R||T,V=(0,s.$F)("ArrayFieldItemTemplate",u,d),z=D.getDisplayLabel(g,$,F),{description:L}=(0,s.$R)($),q=!!L||!!g.description,{orderable:B=!0,removable:K=!0,copyable:G=!1}=d,W={moveUp:B&&p,moveDown:B&&y,copy:G&&h,remove:K&&m,toolbar:!1};W.toolbar=Object.keys(W).some((e=>W[e]));const H=(0,o.useCallback)((e=>{O(e,r+1)}),[O,r]),J=(0,o.useCallback)((e=>{N(e,r)}),[N,r]),Z=(0,o.useCallback)((e=>{C(e,r)}),[C,r]),Y=(0,o.useCallback)((e=>{I(e,r,r-1)}),[I,r]),X=(0,o.useCallback)((e=>{I(e,r,r+1)}),[I,r]),Q={children:(0,n.jsx)(U,{name:a,title:k,index:r,schema:g,uiSchema:$,formData:v,errorSchema:w,fieldPathId:M,required:_(g),onChange:P,onBlur:S,onFocus:j,registry:u,disabled:i,readonly:l,hideError:c,autofocus:A,rawErrors:E}),buttonsProps:{fieldPathId:M,disabled:i,readonly:l,canAdd:h,hasCopy:W.copy,hasMoveUp:W.moveUp,hasMoveDown:W.moveDown,hasRemove:W.remove,index:r,totalItems:x,onAddItem:H,onCopyItem:J,onRemoveItem:Z,onMoveUpItem:Y,onMoveDownItem:X,registry:u,schema:g,uiSchema:$},itemKey:t,className:"rjsf-array-item",disabled:i,hasToolbar:W.toolbar,index:r,totalItems:x,readonly:l,registry:u,schema:g,uiSchema:$,parentUiSchema:f,displayLabel:z,hasDescription:q};return(0,n.jsx)(V,{...Q})}function O(e){const{schema:t,uiSchema:r={},errorSchema:o,fieldPathId:a,formData:i,name:c,title:l,disabled:u=!1,readonly:d=!1,autofocus:f=!1,required:h=!1,hideError:m=!1,registry:p,onBlur:y,onFocus:v,rawErrors:$,onChange:b,keyedFormData:_,handleAddItem:j,handleCopyItem:P,handleRemoveItem:E,handleReorderItems:x}=e,O=t.title||l||c,{schemaUtils:N,fields:C,formContext:I,globalFormOptions:D,globalUiOptions:R}=p,{OptionalDataControlsField:T}=C,F=(0,s.$R)(r,R),M=(0,g.A)(t.items)?t.items:{},U=N.retrieveSchema(M),V=w(_),z=(0,s.II)(p,t,h,r),L=(0,s.Uc)(i),q=A(p,t,V,r)&&(!z||L),B=L?_:[],K=z?" rjsf-optional-array-field":"",G=e.childFieldPathId??a,W=z?(0,n.jsx)(T,{...e,fieldPathId:G}):void 0,H={canAdd:q,items:B.map(((e,t)=>{const{key:a,item:i}=e,l=i,g=N.retrieveSchema(M,l),w=o?o[t]:void 0,A=(0,s.Yg)(t,D,G),C=S(r,i,t,I),R={itemKey:a,index:t,name:c&&`${c}-${t}`,registry:p,uiOptions:F,hideError:m,readonly:d,disabled:u,required:h,title:O?`${O}-${t+1}`:void 0,canAdd:q,canMoveUp:t>0,canMoveDown:t<V.length-1,itemSchema:g,itemFieldPathId:A,itemErrorSchema:w,itemData:l,itemUiSchema:C,autofocus:f&&0===t,onBlur:y,onFocus:v,rawErrors:$,totalItems:_.length,handleAddItem:j,handleCopyItem:P,handleRemoveItem:E,handleReorderItems:x,onChange:b};return(0,n.jsx)(k,{...R},a)})),className:`rjsf-field rjsf-field-array rjsf-field-array-of-${U.type}${K}`,disabled:u,fieldPathId:a,uiSchema:r,onAddClick:j,readonly:d,required:h,schema:t,title:O,formData:V,rawErrors:$,registry:p,optionalDataControl:W},J=(0,s.$F)("ArrayFieldTemplate",p,F);return(0,n.jsx)(J,{...H})}function N(e){const{schema:t,uiSchema:r={},formData:o,errorSchema:a,fieldPathId:i,name:c,title:l,disabled:u=!1,readonly:d=!1,autofocus:f=!1,required:h=!1,hideError:m=!1,registry:p,onBlur:y,onFocus:v,rawErrors:$,keyedFormData:b,onChange:w,handleAddItem:_,handleCopyItem:j,handleRemoveItem:P,handleReorderItems:E}=e;let{formData:x=[]}=e;const O=t.title||l||c,{schemaUtils:N,fields:C,formContext:I,globalFormOptions:D,globalUiOptions:R}=p,T=(0,s.$R)(r,R),{OptionalDataControlsField:F}=C,M=(0,s.II)(p,t,h,r),U=(0,s.Uc)(o),V=((0,g.A)(t.items)?t.items:[]).map(((e,t)=>N.retrieveSchema(e,x[t]))),z=(0,g.A)(t.additionalItems)?N.retrieveSchema(t.additionalItems,o):null,L=e.childFieldPathId??i;x.length<V.length&&(x=x.concat(new Array(V.length-x.length)));const q=U?b:[],B=M?" rjsf-optional-array-field":"",K=M?(0,n.jsx)(F,{...e,fieldPathId:L}):void 0,G=A(p,t,x,r)&&!!z&&(!M||U),W={canAdd:G,className:`rjsf-field rjsf-field-array rjsf-field-array-fixed-items${B}`,disabled:u,fieldPathId:i,formData:o,items:q.map(((e,o)=>{const{key:i,item:l}=e,A=l,C=o>=V.length,R=(C&&(0,g.A)(t.additionalItems)?N.retrieveSchema(t.additionalItems,A):V[o])||{},F=(0,s.Yg)(o,D,L);let M;M=C?r.additionalItems:Array.isArray(r.items)?r.items[o]:S(r,l,o,I);const U=a?a[o]:void 0,z={index:o,itemKey:i,name:c&&`${c}-${o}`,registry:p,uiOptions:T,hideError:m,readonly:d,disabled:u,required:h,title:O?`${O}-${o+1}`:void 0,canAdd:G,canRemove:C,canMoveUp:o>=V.length+1,canMoveDown:C&&o<x.length-1,itemSchema:R,itemData:A,itemUiSchema:M,itemFieldPathId:F,itemErrorSchema:U,autofocus:f&&0===o,onBlur:y,onFocus:v,rawErrors:$,totalItems:b.length,onChange:w,handleAddItem:_,handleCopyItem:j,handleRemoveItem:P,handleReorderItems:E};return(0,n.jsx)(k,{...z},i)})),onAddClick:_,readonly:d,required:h,registry:p,schema:t,uiSchema:r,title:O,errorSchema:a,rawErrors:$,optionalDataControl:K},H=(0,s.$F)("ArrayFieldTemplate",p,T);return(0,n.jsx)(H,{...W})}function C(e){const{schema:t,uiSchema:r,errorSchema:i,fieldPathId:c,registry:l,formData:u,onChange:d}=e,{globalFormOptions:f,schemaUtils:m,translateString:p}=l,{keyedFormData:y,updateKeyedFormData:g}=function(e=[]){const t=(0,o.useMemo)((()=>(0,s.wM)(e)),[e]),[r,n]=(0,o.useState)((()=>({formDataHash:t,keyedFormData:b(e)})));let{keyedFormData:a,formDataHash:i}=r;if(t!==i){const r=Array.isArray(e)?e:[],o=a||[];a=r.length===o.length?o.map(((e,t)=>({key:e.key,item:r[t]}))):b(r),i=t,n({formDataHash:i,keyedFormData:a})}const c=(0,o.useCallback)((e=>{const t=w(e),r=(0,s.wM)(t);return n({formDataHash:r,keyedFormData:e}),t}),[]);return{keyedFormData:a,updateKeyedFormData:c}}(u),v=e.childFieldPathId??c,_=(0,o.useCallback)(((e,r)=>{let n;if(e&&e.preventDefault(),i){n={};for(const e in i){const t=parseInt(e);void 0===r||t<r?(0,h.A)(n,[t],i[e]):t>=r&&(0,h.A)(n,[t+1],i[e])}}const o={key:$(),item:j(l,t)},s=[...y];void 0!==r?s.splice(r,0,o):s.push(o),d(g(s),v.path,n)}),[y,l,t,d,g,i,v]),A=(0,o.useCallback)(((e,t)=>{let r;if(e&&e.preventDefault(),i){r={};for(const e in i){const n=parseInt(e);n<=t?(0,h.A)(r,[n],i[e]):n>t&&(0,h.A)(r,[n+1],i[e])}}const n={key:$(),item:(0,a.A)(y[t].item)},o=[...y];void 0!==t?o.splice(t+1,0,n):o.push(n),d(g(o),v.path,r)}),[y,d,g,i,v]),S=(0,o.useCallback)(((e,t)=>{let r;if(e&&e.preventDefault(),i){r={};for(const e in i){const n=parseInt(e);n<t?(0,h.A)(r,[n],i[e]):n>t&&(0,h.A)(r,[n-1],i[e])}}const n=y.filter(((e,r)=>r!==t));d(g(n),v.path,r)}),[y,d,g,i,v]),k=(0,o.useCallback)(((e,t,r)=>{let n;if(e&&(e.preventDefault(),e.currentTarget.blur()),i){n={};for(const e in i){const o=parseInt(e);o==t?(0,h.A)(n,[r],i[t]):o==r?(0,h.A)(n,[t],i[r]):(0,h.A)(n,[e],i[o])}}const o=function(){const e=y.slice();return e.splice(t,1),e.splice(r,0,y[t]),e}();d(g(o),v.path,n)}),[y,d,g,i,v]),C=(0,o.useCallback)(((e,t,r,n)=>{d(void 0===e?null:e,t,r,n)}),[d]),I=(0,o.useCallback)((e=>{d(e,v.path,void 0,v?.[s.K0])}),[d,v]),D={...e,formData:u,fieldPathId:v,onSelectChange:I},R={...e,handleAddItem:_,handleCopyItem:A,handleRemoveItem:S,handleReorderItems:k,keyedFormData:y,onChange:C};if(!(s.ZN in t)){if(!f.useFallbackUiForUnsupportedType){const e=(0,s.$R)(r),o=(0,s.$F)("UnsupportedFieldTemplate",l,e);return(0,n.jsx)(o,{schema:t,fieldPathId:c,reason:p(s.Zl.MissingItems),registry:l})}const e={...t,[s.ZN]:{type:void 0}};D.schema=e,R.schema=e}return m.isMultiSelect(D.schema)?(0,n.jsx)(P,{...D}):(0,s.ar)(r)?(0,n.jsx)(E,{...D}):(0,s.nQ)(D.schema)?(0,n.jsx)(N,{...R}):m.isFilesArray(D.schema,r)?(0,n.jsx)(x,{...D}):(0,n.jsx)(O,{...R})}const I=function(e){const{schema:t,name:r,uiSchema:a,fieldPathId:i,formData:c,registry:l,required:u,disabled:d,readonly:f,hideError:h,autofocus:m,title:p,onChange:y,onFocus:v,onBlur:$,rawErrors:b}=e,{title:w}=t,{widgets:_,translateString:A,globalUiOptions:S}=l,{widget:j="checkbox",title:P,label:E=!0,enumNames:x,...k}=(0,s.$R)(a,S),O=(0,s.Bt)(t,j,_),N=A(s.Zl.YesLabel),C=A(s.Zl.NoLabel);let I;const D=P??w??p??r;if(Array.isArray(t.oneOf))I=(0,s.f9)({oneOf:t.oneOf.map((e=>{if((0,g.A)(e))return{...e,title:e.title||(!0===e.const?N:C)}})).filter((e=>e))},a);else{const e=t.enum??[!0,!1];I=!x&&2===e.length&&e.every((e=>"boolean"===typeof e))?[{value:e[0],label:e[0]?N:C},{value:e[1],label:e[1]?N:C}]:(0,s.f9)({enum:e},a)}const R=(0,o.useCallback)(((e,t,r)=>y(e,i.path,t,r)),[y,i]);return(0,n.jsx)(O,{options:{...k,enumOptions:I},schema:t,uiSchema:a,id:i.$id,name:r,onChange:R,onFocus:v,onBlur:$,label:D,hideLabel:!E,value:c,required:u,disabled:d,readonly:f,hideError:h,registry:l,autofocus:m,rawErrors:b,htmlName:i.name})};function D(e){const{id:t,formData:r,displayLabel:a=!0,schema:i,name:c,uiSchema:l,required:u,disabled:d=!1,readonly:f=!1,onBlur:h,onFocus:m,registry:p,fieldPathId:y,onChange:g,errorSchema:v}=e,{translateString:$,fields:b,globalFormOptions:w}=p,[_,A]=(0,o.useState)(function(e){const t=typeof e;return"string"===t||"number"===t||"boolean"===t?t:"object"===t?Array.isArray(e)?"array":"object":"string"}(r)),S=(0,s.$R)(l),j=(0,s.lB)((0,s.Yg)("__internal_type_selector",w,y)),P=$(s.Zl.Type),E=(0,o.useMemo)((()=>({type:"string",enum:["string","number","boolean","object","array"],default:"string",title:P})),[P]);if(!w.useFallbackUiForUnsupportedType){const{reason:t=$(s.Zl.UnknownFieldType,[String(i.type)])}=e,r=(0,s.$F)("UnsupportedFieldTemplate",p,S);return(0,n.jsx)(r,{schema:i,fieldPathId:y,reason:t,registry:p})}const x=(0,s.$F)("FallbackFieldTemplate",p,S),{SchemaField:k}=b;return(0,n.jsx)(x,{schema:i,registry:p,typeSelector:(0,n.jsx)(k,{fieldPathId:j,name:`${c}__fallback_type`,schema:E,formData:_,onChange:e=>{null!=e&&(A(e),g(function(e,t){switch(t){case"string":return String(e);case"number":{const t=Number(e);return isNaN(t)?0:t}case"boolean":return Boolean(e);default:return e}}(r,e),y.path,v,t))},onBlur:h,onFocus:m,registry:p,hideLabel:!a,disabled:d,readonly:f,required:u},r?(0,s.wM)(r):"__empty__"),schemaField:(0,n.jsx)(k,{...e,schema:{type:_,title:$(s.Zl.Value),..."object"===_&&{additionalProperties:!0}}})})}var R=r(72641),T=r(94288),F=r(99922),M=r(92049);const U=function(e,t){return((0,M.A)(e)?R.A:T.A)(e,(0,F.A)(t))};var V=r(34098),z=r(39622),L=r(63338),q=r(38446),B=r(9703),K=r(62250),G=r(45572);const W=function(e,t){return(0,G.A)(t,(function(t){return e[t]}))};var H=r(27422);const J=function(e){return null==e?[]:W(e,(0,H.A)(e))};var Z=Math.max;const Y=function(e,t,r,n){e=(0,q.A)(e)?e:J(e),r=r&&!n?(0,K.A)(r):0;var o=e.length;return r<0&&(r=Z(o+r,0)),(0,B.A)(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&(0,L.A)(e,t,r)>-1};var X=r(8300),Q=r(83149),ee=r(87809),te=r(52789),re=r(64099),ne=Math.min;const oe=function(e,t,r){for(var n=r?ee.A:Q.A,o=e[0].length,s=e.length,a=s,i=Array(s),c=1/0,l=[];a--;){var u=e[a];a&&t&&(u=(0,G.A)(u,(0,te.A)(t))),c=ne(u.length,c),i[a]=!r&&(t||o>=120&&u.length>=120)?new X.A(a&&u):void 0}u=e[0];var d=-1,f=i[0];e:for(;++d<o&&l.length<c;){var h=u[d],m=t?t(h):h;if(h=r||0!==h?h:0,!(f?(0,re.A)(f,m):n(l,m,r))){for(a=s;--a;){var p=i[a];if(!(p?(0,re.A)(p,m):n(e[a],m,r)))continue e}f&&f.push(m),l.push(h)}}return l};var se=r(24326),ae=r(53533);const ie=function(e){return(0,ae.A)(e)?e:[]};const ce=(0,se.A)((function(e){var t=(0,G.A)(e,ie);return t.length&&t[0]===e[0]?oe(t):[]}));var le=r(89610),ue=r(46996),de=r(34963);const fe=function(e){return void 0===e};var he,me,pe=r(26666);!function(e){e.ROW="ui:row",e.COLUMN="ui:col",e.COLUMNS="ui:columns",e.CONDITION="ui:condition"}(he||(he={})),function(e){e.ALL="all",e.SOME="some",e.NONE="none"}(me||(me={}));const ye=/^\$lookup=(.+)/,ge="layoutGrid";function ve(e,t){return e??t}const $e=(0,s.cq)();function be(e,t,r){let n={},o=e[t];if((0,de.A)(o)){const{children:e,className:t,...a}=o;if(o=e,t){const e=t.split(" ").map((e=>(0,s.a6)(r,e,e))).join(" ");n={...a,className:e}}else n=a}if(!Array.isArray(o))throw new TypeError(`Expected array for "${t}" in ${JSON.stringify(e)}`);return{children:o,gridProps:n}}function we(e,t,r){let n;if(/^\d+?$/.test(r)&&e&&"array"===e?.type&&(0,z.A)(e,s.ZN)){const o=Number(r),a=e[s.ZN];n=Array.isArray(a)?o>a.length?(0,pe.A)(a):a[o]:a,t={[s.K0]:t[s.K0],path:[...t.path.slice(0,t.path.length-1),o]}}return{rawSchema:n,fieldPathId:t}}function _e(e,t){let r,o,a=null,i={};if((0,B.A)(t)||fe(t))r=t??"";else{const{name:l="",render:u,...d}=t;r=l,i=d,(0,c.A)(i)||U(i,((t,r)=>{if((0,B.A)(t)){const n=ye.exec(t);if(Array.isArray(n)&&n.length>1){const t=n[1];i[r]=(0,s.a6)(e,t,t)}}})),a=function(e,t){let r=e;return(0,B.A)(r)&&(r=(0,s.a6)(t,r)),(0,le.A)(r)?r:null}(u,e),!l&&a&&(o=(0,n.jsx)(a,{...d,"data-testid":$e.uiComponent}))}return{name:r,UIComponent:a,uiProps:i,rendered:o}}function Ae(e){const{childrenLayoutGridSchemaId:t,...r}=e,{registry:n,schema:a,formData:i}=r,{schemaUtils:c}=n,l=c.retrieveSchema(a,i);return t.map((e=>(0,o.createElement)(ke,{...r,key:`layoutGrid-${(0,s.wM)(e)}`,schema:l,layoutGridSchema:e})))}function Se(e){const{layoutGridSchema:t,...r}=e,{formData:o,registry:s}=r,{children:a,gridProps:c}=be(t,he.CONDITION,s),{operator:l,field:u="",value:d}=c;return function(e,t,r="$0m3tH1nG Un3xP3cT3d"){const n=(0,V.A)([t]).sort(),o=(0,V.A)([r]).sort();switch(e){case me.ALL:return(0,ue.A)(n,o);case me.SOME:return ce(n,o).length>0;case me.NONE:return 0===ce(n,o).length;default:return!1}}(l,(0,i.A)(o,u,null),d)?(0,n.jsx)(Ae,{...r,childrenLayoutGridSchemaId:a}):null}function je(e){const{layoutGridSchema:t,...r}=e,{registry:o,uiSchema:a}=r,{children:i,gridProps:c}=be(t,he.COLUMN,o),l=(0,s.$R)(a),u=(0,s.$F)("GridTemplate",o,l);return(0,n.jsx)(u,{column:!0,"data-testid":$e.col,...c,children:(0,n.jsx)(Ae,{...r,childrenLayoutGridSchemaId:i})})}function Pe(e){const{layoutGridSchema:t,...r}=e,{registry:o,uiSchema:a}=r,{children:i,gridProps:c}=be(t,he.COLUMNS,o),l=(0,s.$R)(a),u=(0,s.$F)("GridTemplate",o,l);return i.map((e=>(0,n.jsx)(u,{column:!0,"data-testid":$e.col,...c,children:(0,n.jsx)(Ae,{...r,childrenLayoutGridSchemaId:[e]})},`column-${(0,s.wM)(e)}`)))}function Ee(e){const{layoutGridSchema:t,...r}=e,{registry:o,uiSchema:a}=r,{children:i,gridProps:c}=be(t,he.ROW,o),l=(0,s.$R)(a),u=(0,s.$F)("GridTemplate",o,l);return(0,n.jsx)(u,{...c,"data-testid":$e.row,children:(0,n.jsx)(Ae,{...r,childrenLayoutGridSchemaId:i})})}function xe(e){const{gridSchema:t,schema:r,uiSchema:o,errorSchema:a,fieldPathId:l,onBlur:u,onFocus:d,formData:f,readonly:m,registry:p,layoutGridSchema:y,...g}=e,{onChange:v}=g,{fields:$}=p,{SchemaField:b,LayoutMultiSchemaField:w}=$,_=_e(p,t),{name:A,UIComponent:S,uiProps:j}=_,{schema:P,isRequired:E,isReadonly:x,optionsInfo:k,fieldPathId:O}=function(e,t,r,n,o){const{schemaUtils:a,globalFormOptions:l}=e;let u=r,d=o;const f=t.split("."),h=f.pop();let m,p=a.retrieveSchema(u,n),y=n,g=p.readOnly;f.forEach((e=>{if(d=(0,s.Yg)(e,l,d),(0,z.A)(p,s.s1))u=(0,i.A)(p,[s.s1,e],{});else if(p&&((0,z.A)(p,s.Ru)||(0,z.A)(p,s.Xo))){const t=(0,z.A)(p,s.Ru)?s.Ru:s.Xo,r=a.findSelectedOptionInXxxOf(p,e,t,y);u=(0,i.A)(r,[s.s1,e],{})}else{const t=we(p,d,e);u=t.rawSchema??{},d=t.fieldPathId}y=(0,i.A)(y,e,{}),p=a.retrieveSchema(u,y),g=ve(p.readOnly,g)}));let v=!1;if((0,c.A)(p)&&(p=void 0),p&&h){if(p&&((0,z.A)(p,s.Ru)||(0,z.A)(p,s.Xo))){const e=(0,z.A)(p,s.Ru)?s.Ru:s.Xo;p=a.findSelectedOptionInXxxOf(p,h,e,y)}d=(0,s.Yg)(h,l,d),v=void 0!==p&&Array.isArray(p.required)&&Y(p.required,h);const e=we(p,d,h);if(e.rawSchema?(p=e.rawSchema,d=e.fieldPathId):(p=(0,i.A)(p,[s.s1,h]),p=p?a.retrieveSchema(p):p),g=ve(p?.readOnly,g),p&&((0,z.A)(p,s.Ru)||(0,z.A)(p,s.Xo))){const e=(0,z.A)(p,s.Ru)?s.Ru:s.Xo,t=(0,s.KU)(p);m={options:p[e],hasDiscriminator:!!t}}}return{schema:p,isRequired:v,isReadonly:g,optionsInfo:m,fieldPathId:d}}(p,A,r,f,l),N=(0,s.lB)(O);if(_.rendered)return _.rendered;if(P){const e=k?.hasDiscriminator?w:b,{fieldUiSchema:t,uiReadonly:r}=function(e,t,r,n,o){const a=(0,i.A)(r,[s.AK],{}),l=(0,i.A)(r,e),u={...(0,i.A)(l,[s.ce],{}),...t,...a},d={...l};(0,c.A)(u)||(0,h.A)(d,[s.ce],u),(0,c.A)(a)||(0,h.A)(d,[s.AK],a);let{readonly:f}=(0,s.$R)(d);return(!0===o||fe(f)&&!0===n)&&(f=!0,(0,z.A)(u,s.jY)?(0,h.A)(d,[s.ce,s.jY],!0):(0,h.A)(d,`ui:${s.jY}`,!0)),{fieldUiSchema:d,uiReadonly:f}}(A,j,o,x,m);return(0,n.jsx)(e,{"data-testid":k?.hasDiscriminator?$e.layoutMultiSchemaField:$e.field,...g,name:A,required:E,readonly:r,schema:P,uiSchema:t,errorSchema:(0,i.A)(a,A),fieldPathId:N,formData:(0,i.A)(f,A),onChange:v,onBlur:u,onFocus:d,options:k?.options,registry:p})}return S?(0,n.jsx)(S,{"data-testid":$e.uiComponent,...g,name:A,required:E,formData:f,readOnly:!!x||m,errorSchema:a,uiSchema:o,schema:r,fieldPathId:l,onBlur:u,onFocus:d,registry:p,...j}):null}function ke(e){const{uiSchema:t}=e;let{layoutGridSchema:r}=e;const o=(0,s.$R)(t);if(!r&&ge in o&&(0,g.A)(o[ge])&&(r=o[ge]),(0,g.A)(r)){if(he.ROW in r)return(0,n.jsx)(Ee,{...e,layoutGridSchema:r});if(he.COLUMN in r)return(0,n.jsx)(je,{...e,layoutGridSchema:r});if(he.COLUMNS in r)return(0,n.jsx)(Pe,{...e,layoutGridSchema:r});if(he.CONDITION in r)return(0,n.jsx)(Se,{...e,layoutGridSchema:r})}return(0,n.jsx)(xe,{...e,gridSchema:r})}function Oe(e){const{fieldPathId:t,title:r,schema:o,uiSchema:a,required:i,registry:c,name:l}=e,u=(0,s.$R)(a,c.globalUiOptions),{title:d}=u,{title:f}=o,h=d||r||f||l;if(!h)return null;const m=(0,s.$F)("TitleFieldTemplate",c,u);return(0,n.jsx)(m,{id:(0,s.EH)(t),title:h,required:i,schema:o,uiSchema:a,registry:c})}ke.TEST_IDS=$e;var Ne=r(42302),Ce=r(54930);function Ie(e,t,r){return e.map((({schema:e})=>e)).find((e=>{const n=(0,i.A)(e,[s.s1,t]);return(0,i.A)(n,s.uh,(0,i.A)(n,s.qC,"!@#!@$@#$!@$#"))===r}))}function De(e,t,r,n,o){const a=t.map((e=>r.retrieveSchema(e,o)));let i=e;(0,z.A)(e,s.Ru)?i={...e,[s.Ru]:a}:(0,z.A)(e,s.Xo)&&(i={...e,[s.Xo]:a});const c=(0,s.f9)(i,n);if(!c)throw new Error(`No enumOptions were computed from the schema ${JSON.stringify(i)}`);return c}function Re(e){const{name:t,baseType:r,disabled:a=!1,formData:l,fieldPathId:u,onBlur:d,onChange:f,options:m,onFocus:p,registry:y,uiSchema:g,schema:v,autofocus:$,readonly:b,required:w,errorSchema:_,hideError:A=!1}=e,{widgets:S,schemaUtils:j,globalUiOptions:P}=y,[E,x]=(0,o.useState)(De(v,m,j,g,l)),k=(0,i.A)(u,s.K0),O=(0,s.KU)(v),N=(0,s.$F)("FieldErrorTemplate",y,m),C=(0,s.$F)("FieldTemplate",y,m),I=(0,s.wM)(v),D=(0,s.wM)(m),R=g?(0,s.wM)(g):"",T=l?(0,s.wM)(l):"";(0,o.useEffect)((()=>{x(De(v,m,j,g,l))}),[I,D,j,R,T]);const{widget:F=(O?"radio":"select"),title:M="",placeholder:U="",optionsSchemaSelector:V=O,hideError:z,...L}=(0,s.$R)(g);if(!V)throw new Error("No selector field provided for the LayoutMultiSchemaField");const q=(0,i.A)(l,V);let B=(0,i.A)(E[0]?.schema,[s.s1,V],{});const K=Ie(E,V,q);B=B?.type?B:{...B,type:K?.type||r};const G=(0,s.Bt)(B,F,S),W=void 0===z?A:Boolean(z),H=(0,i.A)(_,[s.s2],[]),J=(0,Ce.A)(_,[s.s2]),Z=j.getDisplayLabel(v,g,P),Y={enumOptions:E,...L},X=!W&&H.length>0?(0,n.jsx)(N,{fieldPathId:u,schema:v,errors:H,registry:y}):void 0;return(0,n.jsx)(C,{id:k,schema:v,label:(M||v.title)??"",disabled:a||Array.isArray(E)&&(0,c.A)(E),uiSchema:g,required:w,readonly:!!b,registry:y,displayLabel:Z,errors:X,onChange:f,onKeyRename:Ne.A,onKeyRenameBlur:Ne.A,onRemoveProperty:Ne.A,children:(0,n.jsx)(G,{id:k,name:t,schema:v,label:(M||v.title)??"",disabled:a||Array.isArray(E)&&(0,c.A)(E),uiSchema:g,autofocus:$,readonly:b,required:w,registry:y,multiple:!1,rawErrors:H,hideError:W,hideLabel:!Z,errorSchema:J,placeholder:U,onChange:e=>{const t=Ie(E,V,e),r=Ie(E,V,q);let n=j.sanitizeDataForNewSchema(t,r,l);n&&t&&(n=j.getDefaultFormState(t,n,"excludeObjectChildren")),n&&(0,h.A)(n,V,e),f(n,u.path,void 0,k)},onBlur:d,onFocus:p,value:q,options:Y,htmlName:u.name})})}class Te extends o.Component{constructor(e){super(e);const{formData:t,options:r,registry:{schemaUtils:n}}=this.props,o=r.map((e=>n.retrieveSchema(e,t)));this.state={retrievedOptions:o,selectedOption:this.getMatchingOption(0,t,o)}}componentDidUpdate(e,t){const{formData:r,options:n,fieldPathId:o}=this.props,{selectedOption:a}=this.state;let i=this.state;if(!(0,s.c2)(e.options,n)){const{registry:{schemaUtils:e}}=this.props;i={selectedOption:a,retrievedOptions:n.map((t=>e.retrieveSchema(t,r)))}}if(!(0,s.c2)(r,e.formData)&&o.$id===e.fieldPathId.$id){const{retrievedOptions:e}=i,n=this.getMatchingOption(a,r,e);t&&n!==a&&(i={selectedOption:n,retrievedOptions:e})}i!==this.state&&this.setState(i)}getMatchingOption(e,t,r){const{schema:n,registry:{schemaUtils:o}}=this.props,a=(0,s.KU)(n);return o.getClosestMatchingOption(t,r,e,a)}onOptionChange=e=>{const{selectedOption:t,retrievedOptions:r}=this.state,{formData:n,onChange:o,registry:s,fieldPathId:a}=this.props,{schemaUtils:i}=s,c=void 0!==e?parseInt(e,10):-1;if(c===t)return;const l=c>=0?r[c]:void 0,u=t>=0?r[t]:void 0;let d=i.sanitizeDataForNewSchema(l,u,n);l&&(d=i.getDefaultFormState(l,d,"excludeObjectChildren")),this.setState({selectedOption:c},(()=>{o(d,a.path,void 0,this.getFieldId())}))};getFieldId(){const{fieldPathId:e,schema:t}=this.props;return`${e.$id}${t.oneOf?"__oneof_select":"__anyof_select"}`}render(){const{name:e,disabled:t=!1,errorSchema:r={},formData:o,onBlur:a,onFocus:l,readonly:u,required:d=!1,registry:f,schema:h,uiSchema:m}=this.props,{widgets:p,fields:y,translateString:g,globalUiOptions:v,schemaUtils:$}=f,{SchemaField:b}=y,w=(0,s.$F)("MultiSchemaFieldTemplate",f,v),_=(0,s.II)(f,h,d,m),A=(0,s.Uc)(o),{selectedOption:S,retrievedOptions:j}=this.state,{widget:P="select",placeholder:E,autofocus:x,autocomplete:k,title:O=h.title,...N}=(0,s.$R)(m,v),C=(0,s.Bt)({type:"number"},P,p),I=(0,i.A)(r,s.s2,[]),D=(0,Ce.A)(r,[s.s2]),R=$.getDisplayLabel(h,m,v),T=S>=0&&j[S]||null;let F;if(T){const{required:e}=h;F=e?(0,s.dW)({required:e},T):T}let M=[];s.Ru in h&&m&&s.Ru in m?Array.isArray(m[s.Ru])?M=m[s.Ru]:console.warn(`uiSchema.oneOf is not an array for "${O||e}"`):s.Xo in h&&m&&s.Xo in m&&(Array.isArray(m[s.Xo])?M=m[s.Xo]:console.warn(`uiSchema.anyOf is not an array for "${O||e}"`));let U=m;S>=0&&M.length>S&&(U=M[S]);const V=O?s.Zl.TitleOptionPrefix:s.Zl.OptionPrefix,z=O?[O]:[],L=j.map(((e,t)=>{const{title:r=e.title}=(0,s.$R)(M[t]);return{label:r||g(V,z.concat(String(t+1))),value:t}})),q=!_||A?(0,n.jsx)(C,{id:this.getFieldId(),name:`${e}${h.oneOf?"__oneof_select":"__anyof_select"}`,schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:a,onFocus:l,disabled:t||(0,c.A)(L),multiple:!1,rawErrors:I,errorSchema:D,value:S>=0?S:void 0,options:{enumOptions:L,...N},registry:f,placeholder:E,autocomplete:k,autofocus:x,label:O??e,hideLabel:!R,readonly:u}):void 0,B=F&&"null"!==F.type&&(0,n.jsx)(b,{...this.props,schema:F,uiSchema:U})||null;return(0,n.jsx)(w,{schema:h,registry:f,uiSchema:m,selector:q,optionSchemaField:B})}}const Fe=Te,Me=/\.([0-9]*0)*$/,Ue=/[0.]0*$/;const Ve=function(e){const{registry:t,onChange:r,formData:a,value:i}=e,[c,l]=(0,o.useState)(i),{StringField:u}=t.fields;let d=a;const f=(0,o.useCallback)(((e,t,n,o)=>{l(e),"."===`${e}`.charAt(0)&&(e=`0${e}`);const a="string"===typeof e&&e.match(Me)?(0,s.i)(e.replace(Ue,"")):(0,s.i)(e);r(a,t,n,o)}),[r]);if("string"===typeof c&&"number"===typeof d){const e=new RegExp(`^(${String(d).replace(".","\\.")})?\\.?0*$`);c.match(e)&&(d=c)}return(0,n.jsx)(u,{...e,formData:d,onChange:f})};function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ze.apply(null,arguments)}const Le=["strong","em","del","mark"],qe=[["**",Le[0]],["__",Le[0]],["~~",Le[2]],["==",Le[3]],["*","em"],["_","em"]];function Be(e,t){for(var r=1,n=t+1;n<e.length&&r>0;)"\\"!==e[n]?("["===e[n]&&r++,"]"===e[n]&&r--,n++):n+=2;if(0===r&&n<e.length&&("("===e[n]||"["===e[n])){var o="("===e[n]?")":"]",s=1;for(n++;n<e.length&&s>0;)"\\"!==e[n]?("("===e[n]&&")"===o&&s++,e[n]===o&&s--,n++):n+=2;if(0===s)return n}return-1}function Ke(e,t){if(!t||!t.inline&&!t.simple)return null;var r=e[0];if("*"!==r&&"_"!==r&&"~"!==r&&"="!==r)return null;for(var n="",o=0,s="",a=0;a<6;a++){var i=qe[a][0];if(e.startsWith(i)&&e.length>=2*i.length){n=i,o=i.length,s=qe[a][1];break}}if(!n)return null;for(var c=o,l=!1,u=!1,d="",f=0,h="",m=!1,p="";c<e.length;){var y=e[c];if(m)h+=y,m=!1,p=y,c++;else if("\\"!==y)if("`"!==y||0!==f){if("["===y&&!l&&0===f){var g=Be(e,c);if(-1!==g){h+=e.slice(c,g),c=g,p=e[g-1];continue}}if(u)h+=y,d?y===d&&(d=""):'"'===y||"'"===y?d=y:">"===y&&(u=!1),p=y,c++;else if("<"!==y||l){if("\n"===y&&"\n"===p&&!l&&0===f)return null;if(!l&&0===f){for(var v=0;c+v<e.length&&e[c+v]===n[0];)v++;if(v>=o&&(1!==o||"*"!==n&&"_"!==n||e[c-1]!==n&&e[c+1]!==n)){var $=[e.slice(0,c+v),s,h+e.slice(c+o,c+v)];return $.index=0,$.input=e,$}}h+=y,p=y,c++}else{var b=e[c+1],w=e.indexOf(">",c);if(-1!==w){var _=e.slice(c,w+1).endsWith("/>");"/"===b?f=Math.max(0,f-1):_||f++}u=!0,h+=y,p=y,c++}}else l=!l,h+=y,p=y,c++;else h+=y,m=!0,p=y,c++}return null}const Ge=["children","options"],We=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{class:"className",for:"htmlFor"}),He={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"\u201c"},Je=["style","script","pre"],Ze=["src","href","data","formAction","srcDoc","action"],Ye=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Xe=/\n{2,}$/,Qe=/^(\s*>[\s\S]*?)(?=\n\n|$)/,et=/^ *> ?/gm,tt=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,rt=/^ {2,}\n/,nt=/^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/,ot=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,st=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,at=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,it=/^(?:\n *)*\n/,ct=/\r\n?/g,lt=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,ut=/^\[\^([^\]]+)]/,dt=/\f/g,ft=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,ht=/^\[(x|\s)\]/,mt=/^(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,pt=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,yt=/^([^\n]+)\n *(=|-)\2{2,} *\n/,gt=/^<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>/i;function vt(e){const t=gt.exec(e);if(!t)return null;const r=t[1],n=r.toLowerCase(),o=n.length+1;let s=t[0].length;"\n"===e[s]&&s++;const a=s;let i=s,c=1;const l=e.length;for(;c>0;){const t=e.indexOf("<",s);if(-1===t)return null;let a=-1,u=-1;if("/"===e[t+1])u=t;else if(e[t+1]===n[0]||e[t+1]===r[0]){let s=!0;for(let o=0;o<n.length;o++){const a=e[t+1+o];if(a!==n[o]&&a!==r[o]){s=!1;break}}!s||" "!==e[t+o]&&">"!==e[t+o]||(a=t)}if(-1!==a||-1!==u)if(-1!==a&&(-1===u||a<u))s=a+o+1,c++;else{let t=u+2;for(;t<l;){const r=e[t];if(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r)break;t++}if(t+n.length>l)return null;let o=!0;for(let s=0;s<n.length;s++){const a=e[t+s];if(a!==n[s]&&a!==r[s]){o=!1;break}}if(!o){s=t;continue}for(t+=n.length;t<l;){const r=e[t];if(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r)break;t++}if(t>=l||">"!==e[t]){s=t;continue}i=u,s=t+1,c--}else s=t+1}let u=0;for(;s+u<l&&"\n"===e[s+u];)u++;return[e.slice(0,s+u),r,t[2],e.slice(a,i)]}const $t=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,bt=/^<!--[\s\S]*?(?:-->)/,wt=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,_t=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,At=/^\{.*\}$/,St=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,jt=/^<([^ >]+[:@\/][^ >]+)>/,Pt=/-([a-z])?/gi,Et=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,xt=/^[^\n]+(?:  \n|\n{2,})/,kt=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Ot=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Nt=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Ct=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,It=/\t/g,Dt=/(^ *\||\| *$)/g,Rt=/^ *:-+: *$/,Tt=/^ *:-+ *$/,Ft=/^ *-+: *$/,Mt=/^(:[a-zA-Z0-9-_]+:)/,Ut=/^\\([^0-9A-Za-z\s])/,Vt=/\\([^0-9A-Za-z\s])/g,zt=/^[\s\S](?:(?!  \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/,Lt=/^\n+/,qt=/^([ \t]*)/,Bt=/(?:^|\n)( *)$/,Kt="(?:\\d+\\.)",Gt="(?:[*+-])";function Wt(e){return"( *)("+(1===e?Kt:Gt)+") +"}const Ht=Wt(1),Jt=Wt(2);function Zt(e){return RegExp("^"+(1===e?Ht:Jt))}const Yt=Zt(1),Xt=Zt(2);function Qt(e){return RegExp("^"+(1===e?Ht:Jt)+"[^\\n]*(?:\\n(?!\\1"+(1===e?Kt:Gt)+" )[^\\n]*)*(\\n|$)","gm")}const er=Qt(1),tr=Qt(2);function rr(e){const t=1===e?Kt:Gt;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const nr=rr(1),or=rr(2);function sr(e,t){const r=1===t,n=r?nr:or,o=r?er:tr,s=r?Yt:Xt;return{t:e=>s.test(e),o:vr((function(e,t){const r=Bt.exec(t.prevCapture);return r&&(t.list||!t.inline&&!t.simple)?n.exec(e=r[1]+e):null})),u:1,i(e,t,n){const a=r?+e[2]:void 0,i=e[0].replace(Xe,"\n").match(o),c=s.exec(i[0]),l=RegExp("^ {1,"+(c?c[0].length:0)+"}","gm");let u=!1;return{items:i.map((function(e,r){const o=e.replace(l,"").replace(s,""),a=r===i.length-1,c=dr(o,"\n\n")||a&&u;u=c;const d=n.inline,f=n.list;let h;n.list=!0,c?(n.inline=!1,h=lr(o)+"\n\n"):(n.inline=!0,h=lr(o));const m=t(h,n);return n.inline=d,n.list=f,m})),ordered:r,start:a}}}}const ar=RegExp("^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),ir=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function cr(e){return"string"==typeof e}function lr(e){let t=e.length;for(;t>0&&e[t-1]<=" ";)t--;return e.slice(0,t)}function ur(e,t){return e.startsWith(t)}function dr(e,t){return-1!==e.indexOf(t)}function fr(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t++)if(ur(e,r[t]))return!0;return!1}return r(e,t)}function hr(e){return e.replace(/[\xc0\xc1\xc2\xc3\xc4\xc5\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xc6]/g,"a").replace(/[\xe7\xc7]/g,"c").replace(/[\xf0\xd0]/g,"d").replace(/[\xc8\xc9\xca\xcb\xe9\xe8\xea\xeb]/g,"e").replace(/[\xcf\xef\xce\xee\xcd\xed\xcc\xec]/g,"i").replace(/[\xd1\xf1]/g,"n").replace(/[\xf8\xd8\u0153\u0152\xd5\xf5\xd4\xf4\xd3\xf3\xd2\xf2]/g,"o").replace(/[\xdc\xfc\xdb\xfb\xda\xfa\xd9\xf9]/g,"u").replace(/[\u0178\xff\xdd\xfd]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function mr(e){return Ft.test(e)?"right":Rt.test(e)?"center":Tt.test(e)?"left":null}function pr(e,t,r,n){const o=r.inTable;r.inTable=!0;let s=[[]],a="";function i(){if(!a)return;const e=s[s.length-1];e.push.apply(e,t(a,r)),a=""}return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach(((e,t,r)=>{"|"===e.trim()&&(i(),n)?0!==t&&t!==r.length-1&&s.push([]):a+=e})),i(),r.inTable=o,s}function yr(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(Dt,"").split("|").map(mr):[],o=e[3]?function(e,t,r){return e.trim().split("\n").map((function(e){return pr(e,t,r,!0)}))}(e[3],t,r):[],s=pr(e[1],t,r,!!o.length);return r.inline=!1,o.length?{align:n,cells:o,header:s,type:"25"}:{children:s,type:"21"}}function gr(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function vr(e){return e.inline=1,e}function $r(e){return vr((function(t,r){return r.inline?e.exec(t):null}))}function br(e){return vr((function(t,r){return r.inline||r.simple?e.exec(t):null}))}function wr(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function _r(e){return vr((function(t){return e.exec(t)}))}const Ar=/(javascript|vbscript|data(?!:image)):/i;function Sr(e){try{const t=decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"");if(Ar.test(t))return null}catch(e){return null}return e}function jr(e){return e?e.replace(Vt,"$1"):e}function Pr(e,t,r){const n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;const s=e(t,r);return r.inline=n,r.simple=o,s}function Er(e,t,r){const n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;const s=e(t,r);return r.inline=n,r.simple=o,s}function xr(e,t,r){const n=r.inline||!1;r.inline=!1;const o=e(t,r);return r.inline=n,o}const kr=(e,t,r)=>({children:Pr(t,e[2],r)});function Or(){return{}}function Nr(...e){return e.filter(Boolean).join(" ")}function Cr(e,t,r){let n=e;const o=t.split(".");for(;o.length&&(n=n[o[0]],void 0!==n);)o.shift();return n||r}function Ir(e,t,r,n){if(!t||!t.trim())return null;const o=t.match(Ye);return o?o.reduce((function(t,o){const s=o.indexOf("=");if(-1!==s){const a=function(e){return-1!==e.indexOf("-")&&null===e.match(wt)&&(e=e.replace(Pt,(function(e,t){return t.toUpperCase()}))),e}(o.slice(0,s)).trim(),i=We[a]||a;if("ref"===i)return t;const c=t[i]=function(e,t,r,n){return"style"===t?function(e){const t=[];if(!e)return t;let r="",n=0,o="";for(let a=0;a<e.length;a++){const s=e[a];if('"'===s||"'"===s)o?s===o&&(o="",n--):(o=s,n++);else if("("===s&&r.endsWith("url"))n++;else if(")"===s&&n>0)n--;else if(";"===s&&0===n){const e=r.indexOf(":");e>0&&t.push([r.slice(0,e).trim(),r.slice(e+1).trim()]),r="";continue}r+=s}const s=r.indexOf(":");return s>0&&t.push([r.slice(0,s).trim(),r.slice(s+1).trim()]),t}(r).reduce((function(t,[r,o]){return t[r.replace(/(-[a-z])/g,(e=>e[1].toUpperCase()))]=n(o,e,r),t}),{}):-1!==Ze.indexOf(t)?n(jr(r),e,t):(r.match(At)&&(r=jr(r.slice(1,r.length-1))),"true"===r||"false"!==r&&r)}(e,a,function(e){const t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(o.slice(s+1).trim()),r);"string"==typeof c&&(gt.test(c)||_t.test(c))&&(t[i]=n(c.trim()))}else"style"!==o&&(t[We[o]||o]=!0);return t}),{}):null}function Dr(e,t){for(let r=0;r<e.length;r++)if(e[r].test(t))return!0;return!1}const Rr=e=>{let{children:t,options:r}=e,n=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,Ge);return function(e="",t={}){t.overrides=t.overrides||{},t.namedCodesToUnicode=t.namedCodesToUnicode?ze({},He,t.namedCodesToUnicode):He;const r=t.slugify||hr,n=t.sanitizer||Sr,s=t.createElement||o.createElement,a=[Qe,ot,st,t.enforceAtxHeadings?pt:mt,yt,Et,nr,or],i=[...a,xt,gt,bt,_t];function c(e,r,...n){const o=Cr(t.overrides,e+".props",{});return s(function(e,t){const r=Cr(t,e);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Cr(t,e+".component",e):e}(e,t.overrides),ze({},r,o,{className:Nr(null==r?void 0:r.className,o.className)||void 0}),...n)}function l(e){e=e.replace(ft,"");let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===Ct.test(e));const o=h(n?e:lr(e).replace(Lt,"")+"\n\n",{inline:n});if(t.ast)return o;const a=m(o);for(;cr(a[a.length-1])&&!a[a.length-1].trim();)a.pop();if(u.length&&a.push(c("footer",{key:"footer"},u.map((function(e){return c("div",{id:r(e.identifier,hr),key:e.identifier},e.identifier,m(h(e.footnote,{inline:!0})))})))),null===t.wrapper)return a;const i=t.wrapper||(n?"span":"div");let l;if(a.length>1||t.forceWrapper)l=a;else{if(1===a.length)return l=a[0],"string"==typeof l?c("span",{key:"outer"},l):l;l=null}return s(i,ze({key:"outer"},t.wrapperProps),l)}const u=[],d={},f={0:{t:[">"],o:wr(Qe),u:1,i(e,t,r){const[,n,o]=e[0].replace(et,"").match(tt);return{alert:n,children:t(o,r)}}},1:{t:["  "],o:$r(rt),u:1,i:Or},2:{t:function(e,t){if(t.inline||t.simple)return!1;var r=e[0];return"-"===r||"*"===r||"_"===r},o:wr(nt),u:1,i:Or},3:{t:["    "],o:wr(st),u:0,i:e=>({lang:void 0,text:jr(lr(e[0].replace(/^ {4}/gm,"")))})},4:{t:["```","~~~"],o:wr(ot),u:0,i:e=>({attrs:Ir("code",e[3]||"",n,l),lang:e[2]||void 0,text:e[4],type:"3"})},5:{t:["`"],o:br(at),u:3,i:e=>({text:jr(e[2])})},6:{t:["[^"],o:wr(lt),u:0,i:e=>(u.push({footnote:e[2],identifier:e[1]}),{})},7:{t:["[^"],o:$r(ut),u:1,i:e=>({target:"#"+r(e[1],hr),text:e[1]})},8:{t:["[ ]","[x]"],o:$r(ht),u:1,i:e=>({completed:"x"===e[1].toLowerCase()})},9:{t:["#"],o:wr(t.enforceAtxHeadings?pt:mt),u:1,i:(e,t,n)=>({children:Pr(t,e[2],n),id:r(e[2],hr),level:e[1].length})},10:{t:e=>{const t=e.indexOf("\n");return t>0&&t<e.length-1&&("="===e[t+1]||"-"===e[t+1])},o:wr(yt),u:1,i:(e,t,r)=>({children:Pr(t,e[1],r),level:"="===e[2]?1:2,type:"9"})},11:{t:["<"],o:vr(vt),u:1,i(e,t,r){const[,o]=e[3].match(qt),s=RegExp("^"+o,"gm"),a=e[3].replace(s,""),c=Dr(i,a)?xr:Pr,u=e[1].toLowerCase(),d=-1!==Je.indexOf(u),f=(d?u:e[1]).trim(),h={attrs:Ir(f,e[2],n,l),noInnerParse:d,tag:f};if(r.inAnchor=r.inAnchor||"a"===u,d)h.text=e[3];else{const e=r.inHTML;r.inHTML=!0,h.children=c(t,a,r),r.inHTML=e}return r.inAnchor=!1,h}},13:{t:["<"],o:_r(_t),u:1,i(e){const t=e[1].trim();return{attrs:Ir(t,e[2]||"",n,l),tag:t}}},12:{t:["\x3c!--"],o:_r(bt),u:1,i:()=>({})},14:{t:["!["],o:br(ir),u:1,i:e=>({alt:jr(e[1]),target:jr(e[2]),title:jr(e[3])})},15:{t:["["],o:$r(ar),u:3,i:(e,t,r)=>({children:Er(t,e[1],r),target:jr(e[2]),title:jr(e[3])})},16:{t:function(e,t){return!(!t.inline||t.inAnchor)&&"<"===e[0]&&(dr(e,":")||dr(e,"@")||dr(e,"/"))},o:$r(jt),u:0,i(e){let t=e[1],r=!1;return dr(t,"@")&&!dr(t,"//")&&(r=!0,t=t.replace("mailto:","")),{children:[{text:t,type:"27"}],target:r?"mailto:"+t:t,type:"15"}}},17:{t:(e,r)=>!r.inAnchor&&!t.disableAutoLink&&ur(e,"http"),o:$r(St),u:0,i:e=>({children:[{text:e[1],type:"27"}],target:e[1],title:void 0,type:"15"})},20:sr(0,1),30:sr(0,2),19:{t:["\n"],o:wr(it),u:3,i:Or},21:{t:function(e,t){return!t.inline&&!t.simple},o:vr((function(e,t){if(t.inline||t.simple||t.inHTML&&!dr(e,"\n\n")&&!dr(t.prevCapture,"\n\n"))return null;let r="",n=0;for(;;){const t=e.indexOf("\n",n),o=e.slice(n,-1===t?void 0:t+1),s=e[n];if((">"===s||"#"===s||"|"===s||"`"===s||"~"===s||"*"===s||"-"===s||"_"===s||" "===s)&&Dr(a,o))break;if(r+=o,-1===t||!o.trim())break;n=t+1}const o=lr(r);return""===o?null:[r,,o]})),u:3,i:kr},22:{t:["["],o:$r(kt),u:0,i:e=>(d[e[1]]={target:e[2],title:e[4]},{})},23:{t:["!["],o:br(Ot),u:0,i:e=>({alt:e[1]?jr(e[1]):void 0,ref:e[2]})},24:{t:e=>"["===e[0]&&!dr(e,"]("),o:$r(Nt),u:0,i:(e,t,r)=>({children:t(e[1],r),fallbackChildren:e[0],ref:e[2]})},25:{t:["|"],o:wr(Et),u:1,i:yr},27:{o:vr((function(e,t){let r;return ur(e,":")&&(r=Mt.exec(e)),r||zt.exec(e)})),u:4,i(e){const r=e[0];return{text:dr(r,"&")?r.replace($t,((e,r)=>t.namedCodesToUnicode[r]||e)):r}}},34:{t:["*","_","~","="],o:vr(Ke),u:2,i:(e,t,r)=>({children:t(e[2],r),tag:e[1]})},28:{t:["\\"],o:br(Ut),u:1,i:e=>({text:e[1],type:"27"})}};!0===t.disableParsingRawHTML&&(delete f[11],delete f[13]);const h=function(e){var t=Object.keys(e);function r(n,o){var s=[];if(o.prevCapture=o.prevCapture||"",n.trim())for(;n;)for(var a=0;a<t.length;){var i=t[a],c=e[i];if(!c.t||fr(n,o,c.t)){var l=c.o(n,o);if(l&&l[0]){n=n.substring(l[0].length);var u=c.i(l,r,o);o.prevCapture+=l[0],u.type||(u.type=i),s.push(u);break}a++}else a++}return o.prevCapture="",s}return t.sort((function(t,r){return e[t].u-e[r].u||(t<r?-1:1)})),function(e,t){return r(function(e){return e.replace(ct,"\n").replace(dt,"").replace(It,"    ")}(e),t)}}(f),m=function(e,t,r,n,o){function s(e){return Array.isArray(e)?e.map((e=>"text"in e?e.text:"")):"text"in e?e.text:""}return function a(i,c={}){const l=(c.renderDepth||0)+1;if(l>2500)return s(i);c.renderDepth=l;try{if(Array.isArray(i)){const e=c.key,t=[];let r=!1;for(let n=0;n<i.length;n++){c.key=n;const e=a(i[n],c),o=cr(e);o&&r?t[t.length-1]+=e:null!==e&&t.push(e),r=o}return c.key=e,c.renderDepth=l-1,t}const s=function(s,a,i){const c=()=>function(e,t,r,n,o,s,a){switch(e.type){case"0":{const o={key:r.key};return e.alert&&(o.className="markdown-alert-"+s(e.alert.toLowerCase(),hr),e.children.unshift({attrs:{},children:[{type:"27",text:e.alert}],noInnerParse:!0,type:"11",tag:"header"})),n("blockquote",o,t(e.children,r))}case"1":return n("br",{key:r.key});case"2":return n("hr",{key:r.key});case"3":return n("pre",{key:r.key},n("code",ze({},e.attrs,{className:e.lang?"lang-"+e.lang:""}),e.text));case"5":return n("code",{key:r.key},e.text);case"7":return n("a",{key:r.key,href:o(e.target,"a","href")},n("sup",{key:r.key},e.text));case"8":return n("input",{checked:e.completed,key:r.key,readOnly:!0,type:"checkbox"});case"9":return n("h"+e.level,{id:e.id,key:r.key},t(e.children,r));case"11":return n(e.tag,ze({key:r.key},e.attrs),e.text||(e.children?t(e.children,r):""));case"13":return n(e.tag,ze({},e.attrs,{key:r.key}));case"14":return n("img",{key:r.key,alt:e.alt||void 0,title:e.title||void 0,src:o(e.target,"img","src")});case"15":return n("a",{key:r.key,href:o(e.target,"a","href"),title:e.title},t(e.children,r));case"23":return a[e.ref]?n("img",{key:r.key,alt:e.alt,src:o(a[e.ref].target,"img","src"),title:a[e.ref].title}):null;case"24":return a[e.ref]?n("a",{key:r.key,href:o(a[e.ref].target,"a","href"),title:a[e.ref].title},t(e.children,r)):n("span",{key:r.key},e.fallbackChildren);case"25":{const o=e;return n("table",{key:r.key},n("thead",null,n("tr",null,o.header.map((function(e,s){return n("th",{key:s,style:gr(o,s)},t(e,r))})))),n("tbody",null,o.cells.map((function(e,s){return n("tr",{key:s},e.map((function(e,s){return n("td",{key:s,style:gr(o,s)},t(e,r))})))}))))}case"27":return e.text;case"34":return n(e.tag,{key:r.key},t(e.children,r));case"20":case"30":return n(e.ordered?"ol":"ul",{key:r.key,start:"20"===e.type?e.start:void 0},e.items.map((function(e,o){return n("li",{key:o},t(e,r))})));case"19":return"\n";case"21":return n("p",{key:r.key},t(e.children,r));default:return null}}(s,a,i,t,r,n,o);return e?e(c,s,a,i):c()}(i,a,c);return c.renderDepth=l-1,s}catch(e){if(e instanceof RangeError&&e.message.includes("Maximum call stack"))return s(i);throw e}}}(t.renderRule,c,n,r,d);return l(e)}(null==t?"":t,ze({},r,{wrapperProps:ze({},null==r?void 0:r.wrapperProps,n)}))},Tr=Symbol("remove-this-key"),Fr=Symbol("reset");function Mr(e,t){return Array.isArray(e.required)&&-1!==e.required.indexOf(t)}function Ur(e){const{fieldPathId:t,schema:r,registry:a,uiSchema:i,errorSchema:c,formData:l,onChange:u,onBlur:d,onFocus:f,disabled:h,readonly:m,required:p,hideError:y,propertyName:g,handleKeyRename:v,handleRemoveProperty:$,addedByAdditionalProperties:b}=e,[w,_]=(0,o.useState)(!1),{globalFormOptions:A,fields:S}=a,{SchemaField:j}=S,P=(0,s.lB)((0,s.Yg)(g,A,t.path)),E=(0,o.useCallback)(((e,t,r,n)=>{void 0===e&&b&&(e=""),u(e,t,r,n)}),[u,b]),x=(0,o.useCallback)((e=>{g!==e&&_(!0),v(g,e)}),[g,v]),k=(0,o.useCallback)((e=>{const{target:{value:t}}=e;x(t)}),[x]),O=(0,o.useCallback)((()=>{$(g)}),[g,$]);return(0,n.jsx)(j,{name:g,required:p,schema:r,uiSchema:i,errorSchema:c,fieldPathId:P,formData:l,wasPropertyKeyModified:w,onKeyRename:x,onKeyRenameBlur:k,onRemoveProperty:O,onChange:E,onBlur:d,onFocus:f,registry:a,disabled:h,readonly:m,hideError:y})}function Vr(e){const{schema:t,uiSchema:r={},formData:a,errorSchema:c,fieldPathId:l,name:u,required:d=!1,disabled:f,readonly:m,hideError:p,onBlur:y,onFocus:v,onChange:$,registry:b,title:w}=e,{fields:_,schemaUtils:A,translateString:S,globalUiOptions:j}=b,{OptionalDataControlsField:P}=_,E=A.retrieveSchema(t,a,!0),x=(0,s.$R)(r,j),{properties:k={}}=E,O=e.childFieldPathId??l,N=x.title??E.title??w??u,C=x.description??E.description,I=(0,s.II)(b,E,d,r),D=(0,s.Uc)(a);let R=[];const T=(0,o.useCallback)(((e,t)=>{const{duplicateKeySuffixSeparator:n="-"}=(0,s.$R)(r,j);let o=0,a=e;for(;(0,z.A)(t,a);)a=`${e}${n}${++o}`;return a}),[r,j]),F=(0,o.useCallback)((()=>{if(!E.additionalProperties&&!E.patternProperties)return;const{translateString:e}=b,t={...a},r=T("newKey",t);if(E.patternProperties)(0,h.A)(t,r,null);else{let n,o,i;if((0,g.A)(E.additionalProperties)){n=E.additionalProperties.type,o=E.additionalProperties.const,i=E.additionalProperties.default;let e=E.additionalProperties;if(s.Es in e){const{schemaUtils:t}=b;e=t.retrieveSchema({[s.Es]:e[s.Es]},a),n=e.type,o=e.const,i=e.default}n||!(s.Xo in e)&&!(s.Ru in e)||(n="object")}const c=o??i??function(e,t){switch(t){case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{};default:return e(s.Zl.NewStringDefault)}}(e,n);(0,h.A)(t,r,c)}$(t,O.path)}),[a,$,b,O,T,E]),M=(0,o.useCallback)(((e,t)=>{if(e!==t){const r=T(t,a),n={...a},o={[e]:r},s=Object.keys(n).map((e=>{const t=o[e]||e;return{[t]:n[e]}})),i=Object.assign({},...s);$(i,O.path)}}),[a,$,O,T]),U=(0,o.useCallback)((e=>{$(Tr,[...O.path,e])}),[$,O]);if(!I||D)try{const e=Object.keys(k);R=(0,s.UI)(e,x.order)}catch(B){return(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"rjsf-config-error",style:{color:"red"},children:(0,n.jsx)(Rr,{options:{disableParsingRawHTML:!0},children:S(s.Zl.InvalidObjectField,[u||"root",B.message])})}),(0,n.jsx)("pre",{children:JSON.stringify(E)})]})}const V=(0,s.$F)("ObjectFieldTemplate",b,x),L=I?(0,n.jsx)(P,{...e,fieldPathId:O,schema:E}):void 0,q={title:!1===x.label?"":N,description:!1===x.label?void 0:C,properties:R.map((e=>{const t=(0,z.A)(E,[s.s1,e,s.Rr]),o=t?r.additionalProperties:r[e],l="hidden"===(0,s.$R)(o).widget;return{content:(0,n.jsx)(Ur,{propertyName:e,required:Mr(E,e),schema:(0,i.A)(E,[s.s1,e],{}),uiSchema:o,errorSchema:(0,i.A)(c,[e]),fieldPathId:O,formData:(0,i.A)(a,[e]),handleKeyRename:M,handleRemoveProperty:U,addedByAdditionalProperties:t,onChange:$,onBlur:y,onFocus:v,registry:b,disabled:f,readonly:m,hideError:p},e),name:e,readonly:m,disabled:f,required:d,hidden:l}})),readonly:m,disabled:f,required:d,fieldPathId:l,uiSchema:r,errorSchema:c,schema:E,formData:a,registry:b,optionalDataControl:L,className:I?"rjsf-optional-object-field":void 0};return(0,n.jsx)(V,{...q,onAddProperty:F})}function zr(e){const{schema:t,uiSchema:r={},formData:o,disabled:a=!1,readonly:i=!1,onChange:c,errorSchema:l,fieldPathId:u,registry:d}=e,{globalUiOptions:f={},schemaUtils:h,translateString:m}=d,p=(0,s.$R)(r,f),y=(0,s.$F)("OptionalDataControlsTemplate",d,p),g=(0,s.Uc)(o);let v,$,b,w;if(a||i)v=(0,s.C1)(u,"Msg"),$=g?void 0:m(s.Zl.OptionalObjectEmptyMsg);else{$=m(g?s.Zl.OptionalObjectRemove:s.Zl.OptionalObjectAdd),g?(v=(0,s.C1)(u,"Remove"),w=()=>c(void 0,u.path,l)):(v=(0,s.C1)(u,"Add"),b=()=>{let e=h.getDefaultFormState(t,o,"excludeObjectChildren");void 0===e&&(e="array"===(0,s._I)(t)?[]:{}),c(e,u.path,l)})}return $&&(0,n.jsx)(y,{id:v,registry:d,schema:t,uiSchema:r,label:$,onAddClick:b,onRemoveClick:w})}const Lr={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function qr(e){const{schema:t,fieldPathId:r,uiSchema:a,formData:i,errorSchema:c,name:l,onChange:u,onKeyRename:d,onKeyRenameBlur:f,onRemoveProperty:h,required:m=!1,registry:p,wasPropertyKeyModified:y=!1}=e,{schemaUtils:v,globalFormOptions:$,globalUiOptions:b,fields:w}=p,{AnyOfField:_,OneOfField:A}=w,S=(0,s.$R)(a,b),j=(0,s.$F)("FieldTemplate",p,S),P=(0,s.$F)("DescriptionFieldTemplate",p,S),E=(0,s.$F)("FieldHelpTemplate",p,S),x=(0,s.$F)("FieldErrorTemplate",p,S),k=v.retrieveSchema(t,i),O=r[s.K0],N=(0,o.useCallback)(((e,t,r,n)=>u(e,t,r,n||O)),[O,u]),C=function(e,t,r){const n=t.field,{fields:o}=r;if("function"===typeof n)return n;if("string"===typeof n&&n in o)return o[n];const a=(0,s._I)(e),i=Array.isArray(a)?a[0]:a||"",c=e.$id;let l=Lr[i];return c&&c in o&&(l=c),l||!e.anyOf&&!e.oneOf?l in o?o[l]:o.FallbackField:()=>null}(k,S,p),I=Boolean(S.disabled??e.disabled),D=Boolean(S.readonly??(e.readonly||e.schema.readOnly||k.readOnly)),R=S.hideError,T=void 0===R?e.hideError:Boolean(R),F=Boolean(S.autofocus??e.autofocus);if(0===Object.keys(k).length)return null;let M=v.getDisplayLabel(k,a,b);const U=S.field&&!0===S.fieldReplacesAnyOrOneOf;let V,z,L={fieldPathId:r};if((s.Xo in k||s.Ru in k)&&!U&&!v.isSelect(k)){k[s.Xo]?(V=_,z=k[s.Xo].map((e=>v.retrieveSchema((0,g.A)(e)?e:{},i)))):k[s.Ru]&&(V=A,z=k[s.Ru].map((e=>v.retrieveSchema((0,g.A)(e)?e:{},i))));const e=(0,s.II)(p,k,m,a),t=(0,s.Uc)(i);M=M&&(!e||t),L={childFieldPathId:r,fieldPathId:(0,s.Yg)("XxxOf",$,r)}}const{__errors:q,...B}=c||{},K=(0,Ce.A)(a,["ui:classNames","classNames","ui:style"]);s.ce in K&&(K[s.ce]=(0,Ce.A)(K[s.ce],["classNames","style"]));const G=(0,n.jsx)(C,{...e,onChange:N,...L,schema:k,uiSchema:K,disabled:I,readonly:D,hideError:T,autofocus:F,errorSchema:B,rawErrors:q}),W=r[s.K0];let H;H=y||s.Rr in k?l:S.title||e.schema.title||k.title||e.title||l;const J=S.description||e.schema.description||k.description||"",Z=S.help,Y="hidden"===S.widget,X=["rjsf-field",`rjsf-field-${(0,s._I)(k)}`];!T&&q&&q.length>0&&X.push("rjsf-field-error"),S.classNames&&X.push(S.classNames);const Q=(0,n.jsx)(E,{help:Z,fieldPathId:r,schema:k,uiSchema:a,hasErrors:!T&&q&&q.length>0,registry:p}),ee=T||V&&!v.isSelect(k)?void 0:(0,n.jsx)(x,{errors:q,errorSchema:c,fieldPathId:r,schema:k,uiSchema:a,registry:p}),te={description:(0,n.jsx)(P,{id:(0,s.IR)(W),description:J,schema:k,uiSchema:a,registry:p}),rawDescription:J,help:Q,rawHelp:"string"===typeof Z?Z:void 0,errors:ee,rawErrors:T?void 0:q,id:W,label:H,hidden:Y,onChange:u,onKeyRename:d,onKeyRenameBlur:f,onRemoveProperty:h,required:m,disabled:I,readonly:D,hideError:T,displayLabel:M,classNames:X.join(" ").trim(),style:S.style,formData:i,schema:k,uiSchema:a,registry:p};return(0,n.jsx)(j,{...te,children:(0,n.jsxs)(n.Fragment,{children:[G,V&&(0,n.jsx)(V,{name:l,disabled:I,readonly:D,hideError:T,errorSchema:c,formData:i,fieldPathId:r,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:z,registry:p,required:m,schema:k,uiSchema:a})]})})}class Br extends o.Component{shouldComponentUpdate(e){const{registry:{globalFormOptions:t}}=this.props,{experimental_componentUpdateStrategy:r="customDeep"}=t;return(0,s.F9)(this,e,this.state,r)}render(){return(0,n.jsx)(qr,{...this.props})}}const Kr=Br;const Gr=function(e){const{schema:t,name:r,uiSchema:a,fieldPathId:i,formData:c,required:l,disabled:u=!1,readonly:d=!1,autofocus:f=!1,onChange:h,onBlur:m,onFocus:p,registry:y,rawErrors:g,hideError:v,title:$}=e,{title:b,format:w}=t,{widgets:_,schemaUtils:A,globalUiOptions:S}=y,j=A.isSelect(t)?(0,s.f9)(t,a):void 0;let P=j?"select":"text";w&&(0,s.Lw)(t,w,_)&&(P=w);const{widget:E=P,placeholder:x="",title:k,...O}=(0,s.$R)(a),N=A.getDisplayLabel(t,a,S),C=k??$??b??r,I=(0,s.Bt)(t,E,_),D=(0,o.useCallback)(((e,t,r)=>h(e,i.path,t,r)),[h,i]);return(0,n.jsx)(I,{options:{...O,enumOptions:j},schema:t,uiSchema:a,id:i.$id,name:r,label:C,hideLabel:!N,hideError:v,value:c,onChange:D,onBlur:m,onFocus:p,required:l,disabled:u,readonly:d,autofocus:f,registry:y,placeholder:x,rawErrors:g,htmlName:i.name})};const Wr=function(e){const{formData:t,onChange:r,fieldPathId:n}=e;return(0,o.useEffect)((()=>{void 0===t&&r(null,n.path)}),[n,t,r]),null};const Hr=function(){return{AnyOfField:Fe,ArrayField:C,BooleanField:I,FallbackField:D,LayoutGridField:ke,LayoutHeaderField:Oe,LayoutMultiSchemaField:Re,NumberField:Ve,ObjectField:Vr,OneOfField:Fe,OptionalDataControlsField:zr,SchemaField:Kr,StringField:Gr,NullField:Wr}};function Jr(e){const{fieldPathId:t,description:r,registry:o,schema:a,uiSchema:i}=e,c=(0,s.$R)(i,o.globalUiOptions),{label:l=!0}=c;if(!r||!l)return null;const u=(0,s.$F)("DescriptionFieldTemplate",o,c);return(0,n.jsx)(u,{id:(0,s.IR)(t),description:r,schema:a,uiSchema:i,registry:o})}function Zr(e){const{children:t,className:r,buttonsProps:o,displayLabel:a,hasDescription:i,hasToolbar:c,registry:l,uiSchema:u}=e,d=(0,s.$R)(u),f=(0,s.$F)("ArrayFieldItemButtonsTemplate",l,d),h={display:"flex",alignItems:a?"center":"baseline"},m={display:"flex",justifyContent:"flex-end",marginTop:a?`${i?31:9}px`:0};return(0,n.jsxs)("div",{className:r,style:h,children:[(0,n.jsx)("div",{className:c?"col-xs-9 col-md-10 col-xl-11":"col-xs-12",children:t}),c&&(0,n.jsx)("div",{className:"col-xs-3 col-md-2 col-xl-1 array-item-toolbox",children:(0,n.jsx)("div",{className:"btn-group",style:m,children:(0,n.jsx)(f,{...o,style:{flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"}})})})]})}function Yr(e){const{disabled:t,hasCopy:r,hasMoveDown:o,hasMoveUp:a,hasRemove:i,fieldPathId:c,onCopyItem:l,onRemoveItem:u,onMoveDownItem:d,onMoveUpItem:f,readonly:h,registry:m,uiSchema:p}=e,{CopyButton:y,MoveDownButton:g,MoveUpButton:v,RemoveButton:$}=m.templates.ButtonTemplates;return(0,n.jsxs)(n.Fragment,{children:[(a||o)&&(0,n.jsx)(v,{id:(0,s.aA)(c,"moveUp"),className:"rjsf-array-item-move-up",disabled:t||h||!a,onClick:f,uiSchema:p,registry:m}),(a||o)&&(0,n.jsx)(g,{id:(0,s.aA)(c,"moveDown"),className:"rjsf-array-item-move-down",disabled:t||h||!o,onClick:d,uiSchema:p,registry:m}),r&&(0,n.jsx)(y,{id:(0,s.aA)(c,"copy"),className:"rjsf-array-item-copy",disabled:t||h,onClick:l,uiSchema:p,registry:m}),i&&(0,n.jsx)($,{id:(0,s.aA)(c,"remove"),className:"rjsf-array-item-remove",disabled:t||h,onClick:u,uiSchema:p,registry:m})]})}function Xr(e){const{canAdd:t,className:r,disabled:o,fieldPathId:a,uiSchema:i,items:c,optionalDataControl:l,onAddClick:u,readonly:d,registry:f,required:h,schema:m,title:p}=e,y=(0,s.$R)(i),g=(0,s.$F)("ArrayFieldDescriptionTemplate",f,y),v=(0,s.$F)("ArrayFieldTitleTemplate",f,y),$=!d&&!o,{ButtonTemplates:{AddButton:b}}=f.templates;return(0,n.jsxs)("fieldset",{className:r,id:a.$id,children:[(0,n.jsx)(v,{fieldPathId:a,title:y.title||p,required:h,schema:m,uiSchema:i,registry:f,optionalDataControl:$?l:void 0}),(0,n.jsx)(g,{fieldPathId:a,description:y.description||m.description,schema:m,uiSchema:i,registry:f}),$?void 0:l,(0,n.jsx)("div",{className:"row array-item-list",children:c}),t&&(0,n.jsx)(b,{id:(0,s.aA)(a,"add"),className:"rjsf-array-item-add",onClick:u,disabled:o||d,uiSchema:i,registry:f})]})}function Qr(e){const{fieldPathId:t,title:r,schema:o,uiSchema:a,required:i,registry:c,optionalDataControl:l}=e,u=(0,s.$R)(a,c.globalUiOptions),{label:d=!0}=u;if(!r||!d)return null;const f=(0,s.$F)("TitleFieldTemplate",c,u);return(0,n.jsx)(f,{id:(0,s.EH)(t),title:r,required:i,schema:o,uiSchema:a,registry:c,optionalDataControl:l})}function en(e){const{id:t,name:r,htmlName:a,value:i,readonly:c,disabled:l,autofocus:u,onBlur:d,onFocus:f,onChange:h,onChangeOverride:m,options:p,schema:y,uiSchema:g,registry:v,rawErrors:$,type:b,hideLabel:w,hideError:_,...A}=e;if(!t)throw console.log("No id for",e),new Error(`no id for props ${JSON.stringify(e)}`);const S={...A,...(0,s.ti)(y,b,p)};let j;j="number"===S.type||"integer"===S.type?i||0===i?i:"":null==i?"":i;const P=(0,o.useCallback)((({target:{value:e}})=>h(""===e?p.emptyValue:e)),[h,p]),E=(0,o.useCallback)((({target:e})=>d(t,e&&e.value)),[d,t]),x=(0,o.useCallback)((({target:e})=>f(t,e&&e.value)),[f,t]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{id:t,name:a||t,className:"form-control",readOnly:c,disabled:l,autoFocus:u,value:j,...S,list:y.examples?(0,s.$c)(t):void 0,onChange:m||P,onBlur:E,onFocus:x,"aria-describedby":(0,s.eG)(t,!!y.examples)}),Array.isArray(y.examples)&&(0,n.jsx)("datalist",{id:(0,s.$c)(t),children:y.examples.concat(y.default&&!y.examples.includes(y.default)?[y.default]:[]).map((e=>(0,n.jsx)("option",{value:e},e)))},`datalist_${t}`)]})}function tn({uiSchema:e}){const{submitText:t,norender:r,props:o={}}=(0,s.Bj)(e);return r?null:(0,n.jsx)("div",{children:(0,n.jsx)("button",{type:"submit",...o,className:`btn btn-info ${o.className||""}`,children:t})})}function rn(e){const{iconType:t="default",icon:r,className:o,uiSchema:s,registry:a,...i}=e;return(0,n.jsx)("button",{type:"button",className:`btn btn-${t} ${o}`,...i,children:(0,n.jsx)("i",{className:`glyphicon glyphicon-${r}`})})}function nn(e){const{registry:{translateString:t}}=e;return(0,n.jsx)(rn,{title:t(s.Zl.CopyButton),...e,icon:"copy"})}function on(e){const{registry:{translateString:t}}=e;return(0,n.jsx)(rn,{title:t(s.Zl.MoveDownButton),...e,icon:"arrow-down"})}function sn(e){const{registry:{translateString:t}}=e;return(0,n.jsx)(rn,{title:t(s.Zl.MoveUpButton),...e,icon:"arrow-up"})}function an(e){const{registry:{translateString:t}}=e;return(0,n.jsx)(rn,{title:t(s.Zl.RemoveButton),...e,iconType:"danger",icon:"remove"})}function cn({id:e,className:t,onClick:r,disabled:o,registry:a}){const{translateString:i}=a;return(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("p",{className:`col-xs-4 col-sm-2 col-lg-1 col-xs-offset-8 col-sm-offset-10 col-lg-offset-11 text-right ${t}`,children:(0,n.jsx)(rn,{id:e,iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:i(s.Zl.AddButton),onClick:r,disabled:o,registry:a})})})}const ln=function(){return{SubmitButton:tn,AddButton:cn,CopyButton:nn,MoveDownButton:on,MoveUpButton:sn,RemoveButton:an}},un=(0,s.cq)();function dn({description:e,registry:t,uiSchema:r={}}){const{globalUiOptions:o}=t;return(0,s.$R)(r,o).enableMarkdownInDescription&&"string"===typeof e?(0,n.jsx)(Rr,{options:{disableParsingRawHTML:!0},"data-testid":un.markdown,children:e}):e}function fn(e){const{id:t,description:r,registry:o,uiSchema:s}=e;return r?(0,n.jsx)("div",{id:t,className:"field-description",children:(0,n.jsx)(dn,{description:r,registry:o,uiSchema:s})}):null}function hn({errors:e,registry:t}){const{translateString:r}=t;return(0,n.jsxs)("div",{className:"panel panel-danger errors",children:[(0,n.jsx)("div",{className:"panel-heading",children:(0,n.jsx)("h3",{className:"panel-title",children:r(s.Zl.ErrorsLabel)})}),(0,n.jsx)("ul",{className:"list-group",children:e.map(((e,t)=>(0,n.jsx)("li",{className:"list-group-item text-danger",children:e.stack},t)))})]})}function mn(e){const{schema:t,registry:r,typeSelector:o,schemaField:a}=e,i=(0,s.$F)("MultiSchemaFieldTemplate",r);return(0,n.jsx)(i,{selector:o,optionSchemaField:a,schema:t,registry:r})}dn.TEST_IDS=un;function pn(e){const{label:t,required:r,id:o}=e;return t?(0,n.jsxs)("label",{className:"control-label",htmlFor:o,children:[t,r&&(0,n.jsx)("span",{className:"required",children:"*"})]}):null}const yn=function(e){const{id:t,label:r,children:o,errors:a,help:i,description:c,hidden:l,required:u,displayLabel:d,registry:f,uiSchema:h}=e,m=(0,s.$R)(h),p=(0,s.$F)("WrapIfAdditionalTemplate",f,m);if(l)return(0,n.jsx)("div",{className:"hidden",children:o});const y="checkbox"===m.widget;return(0,n.jsxs)(p,{...e,children:[d&&!y&&(0,n.jsx)(pn,{label:r,required:u,id:t}),d&&c?c:null,o,a,i]})};function gn(e){const{errors:t=[],fieldPathId:r}=e;if(0===t.length)return null;const o=(0,s.rD)(r);return(0,n.jsx)("div",{children:(0,n.jsx)("ul",{id:o,className:"error-detail bs-callout bs-callout-info",children:t.filter((e=>!!e)).map(((e,t)=>(0,n.jsx)("li",{className:"text-danger",children:e},t)))})})}const vn=(0,s.cq)();function $n({help:e,registry:t,uiSchema:r={}}){const{globalUiOptions:o}=t;return(0,s.$R)(r,o).enableMarkdownInHelp&&"string"===typeof e?(0,n.jsx)(Rr,{options:{disableParsingRawHTML:!0},"data-testid":vn.markdown,children:e}):e}function bn(e){const{fieldPathId:t,help:r,uiSchema:o,registry:a}=e;return r?(0,n.jsx)("div",{id:(0,s.F5)(t),className:"help-block",children:(0,n.jsx)($n,{help:r,registry:a,uiSchema:o})}):null}function wn(e){const{children:t,column:r,className:o,...s}=e;return(0,n.jsx)("div",{className:o,...s,children:t})}function _n(e){const{selector:t,optionSchemaField:r}=e;return(0,n.jsxs)("div",{className:"panel panel-default panel-body",children:[(0,n.jsx)("div",{className:"form-group",children:t}),r]})}function An(e){const{className:t,description:r,disabled:o,formData:a,fieldPathId:i,onAddProperty:c,optionalDataControl:l,properties:u,readonly:d,registry:f,required:h,schema:m,title:p,uiSchema:y}=e,g=(0,s.$R)(y),v=(0,s.$F)("TitleFieldTemplate",f,g),$=(0,s.$F)("DescriptionFieldTemplate",f,g),b=!d&&!o,{ButtonTemplates:{AddButton:w}}=f.templates;return(0,n.jsxs)("fieldset",{className:t,id:i.$id,children:[p&&(0,n.jsx)(v,{id:(0,s.EH)(i),title:p,required:h,schema:m,uiSchema:y,registry:f,optionalDataControl:b?l:void 0}),r&&(0,n.jsx)($,{id:(0,s.IR)(i),description:r,schema:m,uiSchema:y,registry:f}),b?void 0:l,u.map((e=>e.content)),(0,s.Xl)(m,y,a)&&(0,n.jsx)(w,{id:(0,s.aA)(i,"add"),className:"rjsf-object-property-expand",onClick:c,disabled:o||d,uiSchema:y,registry:f})]})}function Sn(e){const{id:t,registry:r,label:o,onAddClick:s,onRemoveClick:a}=e;return s?(0,n.jsx)(rn,{id:t,registry:r,icon:"plus",className:"rjsf-add-optional-data btn-sm",onClick:s,title:o}):a?(0,n.jsx)(rn,{id:t,registry:r,icon:"remove",className:"rjsf-remove-optional-data btn-sm",onClick:a,title:o}):(0,n.jsx)("em",{id:t,children:o})}$n.TEST_IDS=vn;function jn(e){const{id:t,title:r,required:o,optionalDataControl:s}=e;return(0,n.jsxs)("legend",{id:t,children:[r,o&&(0,n.jsx)("span",{className:"required",children:"*"}),s&&(0,n.jsx)("span",{className:"pull-right",style:{marginBottom:"2px"},children:s})]})}const Pn=function(e){const{schema:t,fieldPathId:r,reason:o,registry:a}=e,{translateString:i}=a;let c=s.Zl.UnsupportedField;const l=[];return r&&r.$id&&(c=s.Zl.UnsupportedFieldWithId,l.push(r.$id)),o&&(c=c===s.Zl.UnsupportedField?s.Zl.UnsupportedFieldWithReason:s.Zl.UnsupportedFieldWithIdAndReason,l.push(o)),(0,n.jsxs)("div",{className:"unsupported-field",children:[(0,n.jsx)("p",{children:(0,n.jsx)(Rr,{options:{disableParsingRawHTML:!0},children:i(c,l)})}),t&&(0,n.jsx)("pre",{children:JSON.stringify(t,null,2)})]})};function En(e){const{id:t,classNames:r,style:o,disabled:a,displayLabel:i,label:c,onKeyRenameBlur:l,onRemoveProperty:u,rawDescription:d,readonly:f,required:h,schema:m,hideError:p,rawErrors:y,children:g,uiSchema:v,registry:$}=e,{templates:b,translateString:w}=$,{RemoveButton:_}=b.ButtonTemplates,A=w(s.Zl.KeyLabel,[c]),S=s.Rr in m,j=!!d,P=["form-group",r];!p&&y&&y.length>0&&P.push("has-error has-danger");const E=P.join(" ").trim();if(!S)return(0,n.jsx)("div",{className:E,style:o,children:g});const x=j?46:26;return(0,n.jsx)("div",{className:E,style:o,children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-xs-5 form-additional",children:(0,n.jsxs)("div",{className:"form-group",children:[i&&(0,n.jsx)(pn,{label:A,required:h,id:`${t}-key`}),i&&d&&(0,n.jsx)("div",{children:"\xa0"}),(0,n.jsx)("input",{className:"form-control",type:"text",id:`${t}-key`,onBlur:l,defaultValue:c})]})}),(0,n.jsx)("div",{className:"form-additional form-group col-xs-5",children:g}),(0,n.jsx)("div",{className:"col-xs-2",style:{marginTop:i?`${x}px`:void 0},children:(0,n.jsx)(_,{id:(0,s.aA)(t,"remove"),className:"rjsf-object-property-remove btn-block",style:{border:"0"},disabled:a||f,onClick:u,uiSchema:v,registry:$})})]})})}const xn=function(){return{ArrayFieldDescriptionTemplate:Jr,ArrayFieldItemTemplate:Zr,ArrayFieldItemButtonsTemplate:Yr,ArrayFieldTemplate:Xr,ArrayFieldTitleTemplate:Qr,ButtonTemplates:ln(),BaseInputTemplate:en,DescriptionFieldTemplate:fn,ErrorListTemplate:hn,FallbackFieldTemplate:mn,FieldTemplate:yn,FieldErrorTemplate:gn,FieldHelpTemplate:bn,GridTemplate:wn,MultiSchemaFieldTemplate:_n,ObjectFieldTemplate:An,OptionalDataControlsTemplate:Sn,TitleFieldTemplate:jn,UnsupportedFieldTemplate:Pn,WrapIfAdditionalTemplate:En}};const kn=function(e){const{disabled:t=!1,readonly:r=!1,autofocus:o=!1,options:a,id:i,name:c,registry:l,onBlur:u,onFocus:d}=e,{translateString:f}=l,{elements:h,handleChange:m,handleClear:p,handleSetNow:y}=(0,s.qJ)(e);return(0,n.jsxs)("ul",{className:"list-inline",children:[h.map(((e,a)=>(0,n.jsx)("li",{className:"list-inline-item",children:(0,n.jsx)(s.Xq,{rootId:i,name:c,select:m,...e,disabled:t,readonly:r,registry:l,onBlur:u,onFocus:d,autofocus:o&&0===a})},a))),("undefined"===a.hideNowButton||!a.hideNowButton)&&(0,n.jsx)("li",{className:"list-inline-item",children:(0,n.jsx)("a",{href:"#",className:"btn btn-info btn-now",onClick:y,children:f(s.Zl.NowLabel)})}),("undefined"===a.hideClearButton||!a.hideClearButton)&&(0,n.jsx)("li",{className:"list-inline-item",children:(0,n.jsx)("a",{href:"#",className:"btn btn-warning btn-clear",onClick:p,children:f(s.Zl.ClearLabel)})})]})};const On=function({time:e=!0,...t}){const{AltDateWidget:r}=t.registry.widgets;return(0,n.jsx)(r,{time:e,...t})};const Nn=function({schema:e,uiSchema:t,options:r,id:a,value:i,disabled:c,readonly:l,label:u,hideLabel:d,autofocus:f=!1,onBlur:h,onFocus:m,onChange:p,registry:y,htmlName:g}){const v=(0,s.$F)("DescriptionFieldTemplate",y,r),$=(0,s.l1)(e),b=(0,o.useCallback)((e=>p(e.target.checked)),[p]),w=(0,o.useCallback)((e=>h(a,e.target.checked)),[h,a]),_=(0,o.useCallback)((e=>m(a,e.target.checked)),[m,a]),A="checkbox"===(0,s.$R)(t).widget?void 0:r.description??e.description;return(0,n.jsxs)("div",{className:"checkbox "+(c||l?"disabled":""),children:[!d&&A&&(0,n.jsx)(v,{id:(0,s.IR)(a),description:A,schema:e,uiSchema:t,registry:y}),(0,n.jsxs)("label",{children:[(0,n.jsx)("input",{type:"checkbox",id:a,name:g||a,checked:"undefined"!==typeof i&&i,required:$,disabled:c||l,autoFocus:f,onChange:b,onBlur:w,onFocus:_,"aria-describedby":(0,s.eG)(a)}),(0,s.w)((0,n.jsx)("span",{children:u}),d)]})]})};const Cn=function({id:e,disabled:t,options:{inline:r=!1,enumOptions:a,enumDisabled:i,emptyValue:c},value:l,autofocus:u=!1,readonly:d,onChange:f,onBlur:h,onFocus:m,htmlName:p}){const y=Array.isArray(l)?l:[l],g=(0,o.useCallback)((({target:t})=>h(e,(0,s.Od)(t&&t.value,a,c))),[h,e,a,c]),v=(0,o.useCallback)((({target:t})=>m(e,(0,s.Od)(t&&t.value,a,c))),[m,e,a,c]);return(0,n.jsx)("div",{className:"checkboxes",id:e,children:Array.isArray(a)&&a.map(((o,c)=>{const l=(0,s.BH)(o.value,y),h=Array.isArray(i)&&-1!==i.indexOf(o.value),m=t||h||d?"disabled":"",$=(0,n.jsxs)("span",{children:[(0,n.jsx)("input",{type:"checkbox",id:(0,s.pk)(e,c),name:p||e,checked:l,value:String(c),disabled:t||h||d,autoFocus:u&&0===c,onChange:e=>{e.target.checked?f((0,s.L4)(c,y,a)):f((0,s.Uw)(c,y,a))},onBlur:g,onFocus:v,"aria-describedby":(0,s.eG)(e)}),(0,n.jsx)("span",{children:o.label})]});return r?(0,n.jsx)("label",{className:`checkbox-inline ${m}`,children:$},c):(0,n.jsx)("div",{className:`checkbox ${m}`,children:(0,n.jsx)("label",{children:$})},c)}))})};function In(e){const{disabled:t,readonly:r,options:o,registry:a}=e,i=(0,s.$F)("BaseInputTemplate",a,o);return(0,n.jsx)(i,{type:"color",...e,disabled:t||r})}function Dn(e){const{onChange:t,options:r,registry:a}=e,i=(0,s.$F)("BaseInputTemplate",a,r),c=(0,o.useCallback)((e=>t(e||void 0)),[t]);return(0,n.jsx)(i,{type:"date",...e,onChange:c})}function Rn(e){const{onChange:t,value:r,options:o,registry:a}=e,i=(0,s.$F)("BaseInputTemplate",a,o);return(0,n.jsx)(i,{type:"datetime-local",...e,value:(0,s.v4)(r),onChange:e=>t((0,s.z$)(e))})}function Tn(e){const{options:t,registry:r}=e,o=(0,s.$F)("BaseInputTemplate",r,t);return(0,n.jsx)(o,{type:"email",...e})}function Fn({fileInfo:e,registry:t}){const{translateString:r}=t,{dataURL:o,type:a,name:i}=e;return o?["image/jpeg","image/png"].includes(a)?(0,n.jsx)("img",{src:o,style:{maxWidth:"100%"},className:"file-preview"}):(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)("a",{download:`preview-${i}`,href:o,className:"file-download",children:r(s.Zl.PreviewLabel)})]}):null}function Mn({filesInfo:e,registry:t,preview:r,onRemove:o,options:a}){if(0===e.length)return null;const{translateString:i}=t,{RemoveButton:c}=(0,s.$F)("ButtonTemplates",t,a);return(0,n.jsx)("ul",{className:"file-info",children:e.map(((e,a)=>{const{name:l,size:u,type:d}=e;return(0,n.jsxs)("li",{children:[(0,n.jsx)(Rr,{children:i(s.Zl.FilesInfo,[l,d,String(u)])}),r&&(0,n.jsx)(Fn,{fileInfo:e,registry:t}),(0,n.jsx)(c,{onClick:()=>o(a),registry:t})]},a)}))})}const Un=function(e){const{disabled:t,readonly:r,required:o,multiple:a,onChange:i,value:c,options:l,registry:u}=e,{filesInfo:d,handleChange:f,handleRemove:h}=(0,s.uC)(c,i,a),m=(0,s.$F)("BaseInputTemplate",u,l);return(0,n.jsxs)("div",{children:[(0,n.jsx)(m,{...e,disabled:t||r,type:"file",required:!c&&o,onChangeOverride:e=>{e.target.files&&f(e.target.files)},value:"",accept:l.accept?String(l.accept):void 0}),(0,n.jsx)(Mn,{filesInfo:d,onRemove:h,registry:u,preview:l.filePreview,options:l})]})};const Vn=function({id:e,value:t,htmlName:r}){return(0,n.jsx)("input",{type:"hidden",id:e,name:r||e,value:"undefined"===typeof t?"":t})};function zn(e){const{options:t,registry:r}=e,o=(0,s.$F)("BaseInputTemplate",r,t);return(0,n.jsx)(o,{type:"password",...e})}const Ln=function({options:e,value:t,required:r,disabled:a,readonly:i,autofocus:c=!1,onBlur:l,onFocus:u,onChange:d,id:f,htmlName:h}){const{enumOptions:m,enumDisabled:p,inline:y,emptyValue:g}=e,v=(0,o.useCallback)((({target:e})=>l(f,(0,s.Od)(e&&e.value,m,g))),[l,m,g,f]),$=(0,o.useCallback)((({target:e})=>u(f,(0,s.Od)(e&&e.value,m,g))),[u,m,g,f]);return(0,n.jsx)("div",{className:"field-radio-group",id:f,role:"radiogroup",children:Array.isArray(m)&&m.map(((e,o)=>{const l=(0,s.BH)(e.value,t),u=Array.isArray(p)&&-1!==p.indexOf(e.value),m=a||u||i?"disabled":"",g=(0,n.jsxs)("span",{children:[(0,n.jsx)("input",{type:"radio",id:(0,s.pk)(f,o),checked:l,name:h||f,required:r,value:String(o),disabled:a||u||i,autoFocus:c&&0===o,onChange:()=>d(e.value),onBlur:v,onFocus:$,"aria-describedby":(0,s.eG)(f)}),(0,n.jsx)("span",{children:e.label})]});return y?(0,n.jsx)("label",{className:`radio-inline ${m}`,children:g},o):(0,n.jsx)("div",{className:`radio ${m}`,children:(0,n.jsx)("label",{children:g})},o)}))})};function qn(e){const{value:t,registry:{templates:{BaseInputTemplate:r}}}=e;return(0,n.jsxs)("div",{className:"field-range-wrapper",children:[(0,n.jsx)(r,{type:"range",...e}),(0,n.jsx)("span",{className:"range-view",children:t})]})}function Bn({id:e,value:t,required:r,disabled:s,readonly:a,autofocus:i,onChange:c,onFocus:l,onBlur:u,schema:d,options:f,htmlName:h}){const{stars:m=5,shape:p="star"}=f,y=d.maximum?Math.min(d.maximum,5):Math.min(Math.max(m,1),5),g=d.minimum||0,v=(0,o.useCallback)((e=>{s||a||c(e)}),[c,s,a]),$=(0,o.useCallback)((t=>{if(l){const r=Number(t.target.dataset.value);l(e,r)}}),[l,e]),b=(0,o.useCallback)((t=>{if(u){const r=Number(t.target.dataset.value);u(e,r)}}),[u,e]),w=e=>"heart"===p?e?"\u2665":"\u2661":e?"\u2605":"\u2606";return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"rating-widget",style:{display:"inline-flex",fontSize:"1.5rem",cursor:s||a?"default":"pointer"},children:[[...Array(y)].map(((e,r)=>{const o=g+r,i=o<=t;return(0,n.jsx)("span",{onClick:()=>v(o),onFocus:$,onBlur:b,"data-value":o,tabIndex:s||a?-1:0,role:"radio","aria-checked":o===t,"aria-label":`${o} ${"heart"===p?"heart":"star"}${1===o?"":"s"}`,style:{color:i?"#FFD700":"#ccc",padding:"0 0.2rem",transition:"color 0.2s",userSelect:"none"},children:w(i)},r)})),(0,n.jsx)("input",{type:"hidden",id:e,name:h||e,value:t||"",required:r,disabled:s||a,"aria-hidden":"true"})]})})}function Kn(e,t){return t?Array.from(e.target.options).slice().filter((e=>e.selected)).map((e=>e.value)):e.target.value}const Gn=function({schema:e,id:t,options:r,value:a,required:i,disabled:c,readonly:l,multiple:u=!1,autofocus:d=!1,onChange:f,onBlur:h,onFocus:m,placeholder:p,htmlName:y}){const{enumOptions:g,enumDisabled:v,emptyValue:$}=r,b=u?[]:"",w=(0,o.useCallback)((e=>{const r=Kn(e,u);return m(t,(0,s.Od)(r,g,$))}),[m,t,u,g,$]),_=(0,o.useCallback)((e=>{const r=Kn(e,u);return h(t,(0,s.Od)(r,g,$))}),[h,t,u,g,$]),A=(0,o.useCallback)((e=>{const t=Kn(e,u);return f((0,s.Od)(t,g,$))}),[f,u,g,$]),S=(0,s.Yu)(a,g,u),j=!u&&void 0===e.default;return(0,n.jsxs)("select",{id:t,name:y||t,multiple:u,role:"combobox",className:"form-control",value:"undefined"===typeof S?b:S,required:i,disabled:c||l,autoFocus:d,onBlur:_,onFocus:w,onChange:A,"aria-describedby":(0,s.eG)(t),children:[j&&(0,n.jsx)("option",{value:"",children:p}),Array.isArray(g)&&g.map((({value:e,label:t},r)=>{const o=v&&-1!==v.indexOf(e);return(0,n.jsx)("option",{value:String(r),disabled:o,children:t},r)}))]})};function Wn({id:e,options:t={},placeholder:r,value:a,required:i,disabled:c,readonly:l,autofocus:u=!1,onChange:d,onBlur:f,onFocus:h,htmlName:m}){const p=(0,o.useCallback)((({target:{value:e}})=>d(""===e?t.emptyValue:e)),[d,t.emptyValue]),y=(0,o.useCallback)((({target:t})=>f(e,t&&t.value)),[f,e]),g=(0,o.useCallback)((({target:t})=>h(e,t&&t.value)),[e,h]);return(0,n.jsx)("textarea",{id:e,name:m||e,className:"form-control",value:a||"",placeholder:r,required:i,disabled:c,readOnly:l,autoFocus:u,rows:t.rows,onBlur:y,onFocus:g,onChange:p,"aria-describedby":(0,s.eG)(e)})}Wn.defaultProps={autofocus:!1,options:{}};const Hn=Wn;function Jn(e){const{options:t,registry:r}=e,o=(0,s.$F)("BaseInputTemplate",r,t);return(0,n.jsx)(o,{...e})}function Zn(e){const{onChange:t,options:r,registry:a}=e,i=(0,s.$F)("BaseInputTemplate",a,r),c=(0,o.useCallback)((e=>t(e?`${e}:00`:void 0)),[t]);return(0,n.jsx)(i,{type:"time",...e,onChange:c})}function Yn(e){const{options:t,registry:r}=e,o=(0,s.$F)("BaseInputTemplate",r,t);return(0,n.jsx)(o,{type:"url",...e})}function Xn(e){const{options:t,registry:r}=e,o=(0,s.$F)("BaseInputTemplate",r,t);return(0,n.jsx)(o,{type:"number",...e})}const Qn=function(){return{AltDateWidget:kn,AltDateTimeWidget:On,CheckboxWidget:Nn,CheckboxesWidget:Cn,ColorWidget:In,DateWidget:Dn,DateTimeWidget:Rn,EmailWidget:Tn,FileWidget:Un,HiddenWidget:Vn,PasswordWidget:zn,RadioWidget:Ln,RangeWidget:qn,RatingWidget:Bn,SelectWidget:Gn,TextWidget:Jn,TextareaWidget:Hn,TimeWidget:Zn,UpDownWidget:Xn,URLWidget:Yn}};function eo(e,t){return{...f(e,["schema","uiSchema","fieldPathId","schemaUtils","formData","edit","errors","errorSchema"]),...void 0!==t&&{status:t}}}class to extends o.Component{formElement;pendingChanges=[];constructor(e){if(super(e),!e.validator)throw new Error("A validator is required for Form functionality to work");const{formData:t,initialFormData:r,onChange:n}=e,a=t??r;this.state=this.getStateFromProps(e,a,void 0,void 0,void 0,!0),n&&!(0,s.c2)(this.state.formData,a)&&n(eo(this.state)),this.formElement=(0,o.createRef)()}getSnapshotBeforeUpdate(e,t){if(!(0,s.c2)(this.props,e)){const r=(0,s.kp)(this.props.formData,e.formData),n=(0,s.kp)(this.props.formData,this.state.formData),o=!(0,s.c2)(e.schema,this.props.schema),a=r.length>0||!(0,s.c2)(e.formData,this.props.formData),i=n.length>0||!(0,s.c2)(this.state.formData,this.props.formData),c=this.getStateFromProps(this.props,this.props.formData,o||a?void 0:this.state.retrievedSchema,o,r,!i);return{nextState:c,shouldUpdate:!(0,s.c2)(c,t)}}return{shouldUpdate:!1}}componentDidUpdate(e,t,r){if(r.shouldUpdate){const{nextState:e}=r;(0,s.c2)(e.formData,this.props.formData)||(0,s.c2)(e.formData,t.formData)||!this.props.onChange||this.props.onChange(eo(e)),this.setState(e)}}getStateFromProps(e,t,r,n=!1,o=[],a=!1){const i=this.state||{},c="schema"in e?e.schema:this.props.schema,l="validator"in e?e.validator:this.props.validator,u=("uiSchema"in e?e.uiSchema:this.props.uiSchema)||{},d=void 0===e.formData&&void 0===this.props.formData,f="undefined"!==typeof t,h="liveValidate"in e?e.liveValidate:this.props.liveValidate,m=f&&!e.noValidate&&h,p="experimental_defaultFormStateBehavior"in e?e.experimental_defaultFormStateBehavior:this.props.experimental_defaultFormStateBehavior,y="experimental_customMergeAllOf"in e?e.experimental_customMergeAllOf:this.props.experimental_customMergeAllOf;let g=i.schemaUtils;g&&!g.doesSchemaUtilsDiffer(l,c,p,y)||(g=(0,s.BP)(l,c,p,y));const v=g.getRootSchema();let $=t;t===Fr?$=void 0:void 0===t&&d&&($=i.formData);const b=g.getDefaultFormState(v,$,!1,i.initialDefaultsGenerated),w=this.updateRetrievedSchema(r??g.retrieveSchema(v,b));let _,A,S=i.schemaValidationErrors,j=i.schemaValidationErrorSchema;if(m&&!a){const e=this.liveValidate(v,g,i.errorSchema,b,void 0,i.customErrors,r,void 0!==r);_=e.errors,A=e.errorSchema,S=e.schemaValidationErrors,j=e.schemaValidationErrorSchema}else{const t=e.noValidate||n?{errors:[],errorSchema:{}}:e.liveValidate?{errors:i.errors||[],errorSchema:i.errorSchema||{}}:{errors:i.schemaValidationErrors||[],errorSchema:i.schemaValidationErrorSchema||{}};if(_=t.errors,A=t.errorSchema,o.length>0&&!m){const e=o.reduce(((e,t)=>(e[t]=void 0,e)),{});A=j=(0,s.rL)(t.errorSchema,e,"preventDuplicates")}const r=this.mergeErrors({errorSchema:A,errors:_},e.extraErrors,i.customErrors);_=r.errors,A=r.errorSchema}const P=this.getRegistry(e,v,g),E=(0,s.c2)(i.registry,P)?i.registry:P;return{schemaUtils:g,schema:v,uiSchema:u,fieldPathId:i.fieldPathId&&i.fieldPathId?.[s.K0]===E.globalFormOptions.idPrefix?i.fieldPathId:(0,s.Yg)("",E.globalFormOptions),formData:b,edit:f,errors:_,errorSchema:A,schemaValidationErrors:S,schemaValidationErrorSchema:j,retrievedSchema:w,initialDefaultsGenerated:!0,registry:E}}shouldComponentUpdate(e,t){const{experimental_componentUpdateStrategy:r="customDeep"}=this.props;return(0,s.F9)(this,e,t,r)}validate(e,t=this.state.schema,r,n){const o=r||this.state.schemaUtils,{customValidate:s,transformErrors:a,uiSchema:i}=this.props,c=n??o.retrieveSchema(t,e);return o.getValidator().validateFormData(e,c,s,a,i)}renderErrors(e){const{errors:t,errorSchema:r,schema:o,uiSchema:a}=this.state,i=(0,s.$R)(a),c=(0,s.$F)("ErrorListTemplate",e,i);return t&&t.length?(0,n.jsx)(c,{errors:t,errorSchema:r||{},schema:o,uiSchema:a,registry:e}):null}mergeErrors(e,t,r){let n=e.errorSchema,o=e.errors;if(t){const r=(0,s.k6)(e,t);n=r.errorSchema,o=r.errors}if(r){const t=(0,s.k6)(e,r.ErrorSchema,!0);n=t.errorSchema,o=t.errors}return{errors:o,errorSchema:n}}liveValidate(e,t,r,n,o,a,i,c=!1){const l=this.validate(n,e,t,i),u=l.errors;let d=l.errorSchema;c&&(d=(0,s.rL)(r,l.errorSchema,"preventDuplicates"));const f=u,h=d;return{...this.mergeErrors({errorSchema:d,errors:u},o,a),schemaValidationErrors:f,schemaValidationErrorSchema:h}}getUsedFormData=(e,t)=>{if(0===t.length&&"object"!==typeof e)return e;const r=f(e,t);return Array.isArray(e)?Object.keys(r).map((e=>r[e])):r};getFieldNames=(e,t)=>{const r=(e,t)=>"object"!==typeof e||(0,c.A)(e)||t&&!(0,c.A)(e),n=(e,o=[],a=[[]])=>{const c=Object.keys(e);return c.forEach((l=>{const u=e[l];if("object"===typeof u){const e=a.map((e=>[...e,l]));u[s.FF]&&""!==u[s.oS]?o.push(u[s.oS]):n(u,o,e)}else l===s.oS&&""!==u&&a.forEach((e=>{const n=(0,i.A)(t,e),s=1===c.length;(r(n,s)||Array.isArray(n)&&n.every((e=>r(e,s))))&&o.push(e)}))})),o};return n(e)};omitExtraData=e=>{const{schema:t,schemaUtils:r}=this.state,n=r.retrieveSchema(t,e),o=r.toPathSchema(n,"",e),s=this.getFieldNames(o,e);return this.getUsedFormData(e,s)};setFieldValue=(e,t)=>{const{registry:r}=this.state,n=Array.isArray(e)?e:e.split("."),o=(0,s.Yg)("",r.globalFormOptions,n);this.onChange(t,n,void 0,o[s.K0])};onChange=(e,t,r,n)=>{this.pendingChanges.push({newValue:e,path:t,newErrorSchema:r,id:n}),1===this.pendingChanges.length&&this.processPendingChange()};processPendingChange(){if(0===this.pendingChanges.length)return;const{newValue:e,path:t,id:r}=this.pendingChanges[0],{newErrorSchema:n}=this.pendingChanges[0],{extraErrors:o,omitExtraData:l,liveOmit:u,noValidate:d,liveValidate:f,onChange:m}=this.props,{formData:p,schemaUtils:g,schema:v,fieldPathId:$,schemaValidationErrorSchema:b,errors:w}=this.state;let{customErrors:_,errorSchema:A}=this.state;const S=$.path[0]||"",j=!t||0===t.length||1===t.length&&t[0]===S;let P=this.state.retrievedSchema,E=j?e:(0,a.A)(p);if((0,s.Gv)(E)||Array.isArray(E)){e===Tr?y(E,t):j||(0,h.A)(E,t,e);const r=this.getStateFromProps(this.props,E,void 0,void 0,void 0,!0);E=r.formData,P=r.retrievedSchema}const x=!d&&(!0===f||"onChange"===f);let k={formData:E,schema:v},O=E;if(!0!==l||!0!==u&&"onChange"!==u||(O=this.omitExtraData(E),k={formData:O}),n){const e=j?b:(0,i.A)(b,t);if((0,c.A)(e))if(_||(_=new s.Ny),j){const e=(0,i.A)(n,s.s2);e&&_.setErrors(e)}else(0,h.A)(_.ErrorSchema,t,n);else j?A=n:(0,h.A)(A,t,n)}else _&&(0,i.A)(_.ErrorSchema,[...t,s.s2])&&_.clearErrors(t);if(x&&1===this.pendingChanges.length){const e=this.liveValidate(v,g,A,O,o,_,P);k={formData:O,...e,customErrors:_}}else if(!d&&n){const e=this.mergeErrors({errorSchema:A,errors:w},o,_);k={formData:O,...e,customErrors:_}}this.setState(k,(()=>{m&&m(eo({...this.state,...k}),r),this.pendingChanges.shift(),this.processPendingChange()}))}updateRetrievedSchema(e){return(0,s.c2)(e,this.state?.retrievedSchema)?this.state.retrievedSchema:e}reset=()=>{const{formData:e,initialFormData:t=Fr,onChange:r}=this.props,n={formData:this.getStateFromProps(this.props,e??t,void 0,void 0,void 0,!0).formData,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{},initialDefaultsGenerated:!1,customErrors:void 0};this.setState(n,(()=>r&&r(eo({...this.state,...n}))))};onBlur=(e,t)=>{const{onBlur:r,omitExtraData:n,liveOmit:o,liveValidate:a}=this.props;if(r&&r(e,t),!0===n&&"onBlur"===o||"onBlur"===a){const{onChange:t,extraErrors:r}=this.props,{formData:c}=this.state;let l=c,u={formData:l};if(!0===n&&"onBlur"===o&&(l=this.omitExtraData(c),u={formData:l}),"onBlur"===a){const{schema:e,schemaUtils:t,errorSchema:n,customErrors:o,retrievedSchema:s}=this.state,a=this.liveValidate(e,t,n,l,r,o,s);u={formData:l,...a,customErrors:o}}const d=Object.keys(u).filter((e=>!e.startsWith("schemaValidation"))).some((e=>{const t=(0,i.A)(this.state,e),r=(0,i.A)(u,e);return!(0,s.c2)(t,r)}));this.setState(u,(()=>{t&&d&&t(eo({...this.state,...u}),e)}))}};onFocus=(e,t)=>{const{onFocus:r}=this.props;r&&r(e,t)};onSubmit=e=>{if(e.preventDefault(),e.target!==e.currentTarget)return;e.persist();const{omitExtraData:t,extraErrors:r,noValidate:n,onSubmit:o}=this.props;let{formData:a}=this.state;if(!0===t&&(a=this.omitExtraData(a)),n||this.validateFormWithFormData(a)){const t=r||{},n=r?(0,s.SL)(r):[];this.setState({formData:a,errors:n,errorSchema:t,schemaValidationErrors:[],schemaValidationErrorSchema:{}},(()=>{o&&o(eo({...this.state,formData:a},"submitted"),e)}))}};getGlobalFormOptions(e){const{uiSchema:t={},experimental_componentUpdateStrategy:r,idSeparator:n=s.s0,idPrefix:o=s.De,nameGenerator:a,useFallbackUiForUnsupportedType:i=!1}=e;return{idPrefix:t["ui:rootFieldId"]||o,idSeparator:n,useFallbackUiForUnsupportedType:i,...void 0!==r&&{experimental_componentUpdateStrategy:r},...void 0!==a&&{nameGenerator:a}}}getRegistry(e,t,r){const{translateString:n,uiSchema:o={}}=e,{fields:a,templates:i,widgets:c,formContext:l,translateString:u}={fields:Hr(),templates:xn(),widgets:Qn(),rootSchema:{},formContext:{},translateString:s.qe,globalFormOptions:{idPrefix:s.De,idSeparator:s.s0,useFallbackUiForUnsupportedType:!1}};return{fields:{...a,...e.fields},templates:{...i,...e.templates,ButtonTemplates:{...i.ButtonTemplates,...e.templates?.ButtonTemplates}},widgets:{...c,...e.widgets},rootSchema:t,formContext:e.formContext||l,schemaUtils:r,translateString:n||u,globalUiOptions:o[s.AK],globalFormOptions:this.getGlobalFormOptions(e)}}submit=()=>{if(this.formElement.current){const e=new CustomEvent("submit",{cancelable:!0});e.preventDefault(),this.formElement.current.dispatchEvent(e),this.formElement.current.requestSubmit()}};focusOnError(e){const{idPrefix:t="root",idSeparator:r="_"}=this.props,{property:n}=e,o=(0,m.A)(n);""===o[0]?o[0]=t:o.unshift(t);const s=o.join(r);let a=this.formElement.current.elements[s];a||(a=this.formElement.current.querySelector(`input[id^="${s}"`)),a&&a.length&&(a=a[0]),a&&a.focus()}validateFormWithFormData=e=>{const{extraErrors:t,extraErrorsBlockSubmit:r,focusOnFirstError:n,onError:o}=this.props,{errors:a}=this.state,i=this.validate(e);let c=i.errors,l=i.errorSchema;const u=c,d=l,f=c.length>0||t&&r;if(f){if(t){const e=(0,s.k6)(i,t);l=e.errorSchema,c=e.errors}n&&("function"===typeof n?n(c[0]):this.focusOnError(c[0])),this.setState({errors:c,errorSchema:l,schemaValidationErrors:u,schemaValidationErrorSchema:d},(()=>{o?o(c):console.error("Form validation failed",c)}))}else a.length>0&&this.setState({errors:[],errorSchema:{},schemaValidationErrors:[],schemaValidationErrorSchema:{}});return!f};validateForm(){const{omitExtraData:e}=this.props;let{formData:t}=this.state;return!0===e&&(t=this.omitExtraData(t)),this.validateFormWithFormData(t)}render(){const{children:e,id:t,className:r="",tagName:o,name:a,method:i,target:c,action:l,autoComplete:u,enctype:d,acceptCharset:f,noHtml5Validate:h=!1,disabled:m,readonly:p,showErrorList:y="top",_internalFormWrapper:g}=this.props,{schema:v,uiSchema:$,formData:b,errorSchema:w,fieldPathId:_,registry:A}=this.state,{SchemaField:S}=A.fields,{SubmitButton:j}=A.templates.ButtonTemplates,P=g?o:void 0,E=g||o||"form";let{[s.xh]:x={}}=(0,s.$R)($);m&&(x={...x,props:{...x.props,disabled:!0}});const k={[s.ce]:{[s.xh]:x}};return(0,n.jsxs)(E,{className:r||"rjsf",id:t,name:a,method:i,target:c,action:l,autoComplete:u,encType:d,acceptCharset:f,noValidate:h,onSubmit:this.onSubmit,as:P,ref:this.formElement,children:["top"===y&&this.renderErrors(A),(0,n.jsx)(S,{name:"",schema:v,uiSchema:$,errorSchema:w,fieldPathId:_,formData:b,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:A,disabled:m,readonly:p}),e||(0,n.jsx)(j,{uiSchema:k,registry:A}),"bottom"===y&&this.renderErrors(A)]})}}r(44030);const ro=to},59520:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},59712:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(23149),o=Object.create;const s=function(){function e(){}return function(t){if(!(0,n.A)(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}()},61475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const n=r(39889),o=r(62235),s=r(56699),a=r(65373),i=r(16245),c=r(19205),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:o}=e,{baseId:a,schemaEnv:c,validateName:l,opts:f,self:h}=o,{root:m}=c;if(("#"===r||"#/"===r)&&a===m.baseId)return function(){if(c===m)return d(e,l,c,c.$async);const r=t.scopeValue("root",{ref:m});return d(e,s._`${r}.validate`,m,m.$async)}();const p=i.resolveRef.call(h,m,a,r);if(void 0===p)throw new n.default(o.opts.uriResolver,a,r);return p instanceof i.SchemaEnv?function(t){const r=u(e,t);d(e,r,t,t.$async)}(p):function(n){const o=t.scopeValue("schema",!0===f.code.source?{ref:n,code:(0,s.stringify)(n)}:{ref:n}),a=t.name("valid"),i=e.subschema({schema:n,dataTypes:[],schemaPath:s.nil,topSchemaRef:o,errSchemaPath:r},a);e.mergeEvaluated(i),e.ok(a)}(p)}};function u(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):s._`${r.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,r,n){const{gen:i,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,h=f.passContext?a.default.this:s.nil;function m(e){const t=s._`${e}.errors`;i.assign(a.default.vErrors,s._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),i.assign(a.default.errors,s._`${a.default.vErrors}.length`)}function p(e){var t;if(!l.opts.unevaluated)return;const n=null===(t=null===r||void 0===r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(n&&!n.dynamicProps)void 0!==n.props&&(l.props=c.mergeEvaluated.props(i,n.props,l.props));else{const t=i.var("props",s._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(i,t,l.props,s.Name)}if(!0!==l.items)if(n&&!n.dynamicItems)void 0!==n.items&&(l.items=c.mergeEvaluated.items(i,n.items,l.items));else{const t=i.var("items",s._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(i,t,l.items,s.Name)}}n?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try((()=>{i.code(s._`await ${(0,o.callValidateCode)(e,t,h)}`),p(t),u||i.assign(r,!0)}),(e=>{i.if(s._`!(${e} instanceof ${l.ValidationError})`,(()=>i.throw(e))),m(e),u||i.assign(r,!1)})),e.ok(r)}():e.result((0,o.callValidateCode)(e,t,h),(()=>p(t)),(()=>m(t)))}t.getValidate=u,t.callRef=d,t.default=l},61882:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(2383),o=r(53098);const s=function(e){return"symbol"==typeof e||(0,o.A)(e)&&"[object Symbol]"==(0,n.A)(e)}},62050:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});const n=(0,r(28562).A)(Object,"create");const o=function(){this.__data__=n?n(null):{},this.size=0};const s=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var a=Object.prototype.hasOwnProperty;const i=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(t,e)?t[e]:void 0};var c=Object.prototype.hasOwnProperty;const l=function(e){var t=this.__data__;return n?void 0!==t[e]:c.call(t,e)};const u=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this};function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d.prototype.clear=o,d.prototype.delete=s,d.prototype.get=i,d.prototype.has=l,d.prototype.set=u;const f=d;var h=r(89469),m=r(68335);const p=function(){this.size=0,this.__data__={hash:new f,map:new(m.A||h.A),string:new f}};const y=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const g=function(e,t){var r=e.__data__;return y(t)?r["string"==typeof t?"string":"hash"]:r.map};const v=function(e){var t=g(this,e).delete(e);return this.size-=t?1:0,t};const $=function(e){return g(this,e).get(e)};const b=function(e){return g(this,e).has(e)};const w=function(e,t){var r=g(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function _(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_.prototype.clear=p,_.prototype.delete=v,_.prototype.get=$,_.prototype.has=b,_.prototype.set=w;const A=_},62235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=r(56699),o=r(19205),s=r(65373),a=r(19205);function i(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:n._`Object.prototype.hasOwnProperty`})}function c(e,t,r){return n._`${i(e)}.call(${t}, ${r})`}function l(e,t,r,o){const s=n._`${t}${(0,n.getProperty)(r)} === undefined`;return o?(0,n.or)(s,(0,n.not)(c(e,t,r))):s}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:r,data:o,it:s}=e;r.if(l(r,o,t,s.opts.ownProperties),(()=>{e.setParams({missingProperty:n._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},o,s){return(0,n.or)(...o.map((o=>(0,n.and)(l(e,t,o,r.ownProperties),n._`${s} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=i,t.isOwnProperty=c,t.propertyInData=function(e,t,r,o){const s=n._`${t}${(0,n.getProperty)(r)} !== undefined`;return o?n._`${s} && ${c(e,t,r)}`:s},t.noPropertyInData=l,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((r=>!(0,o.alwaysValidSchema)(e,t[r])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:o,schemaPath:a,errorPath:i},it:c},l,u,d){const f=d?n._`${e}, ${t}, ${o}${a}`:t,h=[[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,i)],[s.default.parentData,c.parentData],[s.default.parentDataProperty,c.parentDataProperty],[s.default.rootData,s.default.rootData]];c.opts.dynamicRef&&h.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const m=n._`${f}, ${r.object(...h)}`;return u!==n.nil?n._`${l}.call(${u}, ${m})`:n._`${l}(${m})`};const d=n._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},r){const o=t.unicodeRegExp?"u":"",{regExp:s}=t.code,i=s(r,o);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:n._`${"new RegExp"===s.code?d:(0,a.useFunc)(e,s)}(${r}, ${o})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:s,it:a}=e,i=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(i,!0),c((()=>t.break())),i;function c(a){const c=t.const("len",n._`${r}.length`);t.forRange("i",0,c,(r=>{e.subschema({keyword:s,dataProp:r,dataPropType:o.Type.Num},i),t.if((0,n.not)(i),a)}))}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some((e=>(0,o.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const i=t.let("valid",!1),c=t.name("_valid");t.block((()=>r.forEach(((r,o)=>{const a=e.subschema({keyword:s,schemaProp:o,compositeRule:!0},c);t.assign(i,n._`${i} || ${c}`);e.mergeValidEvaluated(a,c)||t.if((0,n.not)(i))})))),e.result(i,(()=>e.reset()),(()=>e.error(!0)))}},62250:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=/\s/;const o=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t};var s=/^\s+/;const a=function(e){return e?e.slice(0,o(e)+1).replace(s,""):e};var i=r(23149),c=r(61882),l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt;const h=function(e){if("number"==typeof e)return e;if((0,c.A)(e))return NaN;if((0,i.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var r=u.test(e);return r||d.test(e)?f(e.slice(2),r?2:8):l.test(e)?NaN:+e};var m=1/0;const p=function(e){return e?(e=h(e))===m||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0};const y=function(e){var t=p(e),r=t%1;return t===t?r?t-r:t:0}},62514:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case i:case a:case f:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case p:case m:case c:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=s,t.Lazy=p,t.Memo=m,t.Portal=o,t.Profiler=i,t.StrictMode=a,t.Suspense=f,t.SuspenseList=h,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===l},t.isContextProvider=function(e){return g(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===d},t.isFragment=function(e){return g(e)===s},t.isLazy=function(e){return g(e)===p},t.isMemo=function(e){return g(e)===m},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===i},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===f},t.isSuspenseList=function(e){return g(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===s||e===i||e===a||e===f||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=g},62657:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(93789),o=r(66735),s=r(21085),a=r(22796);function i(e){const{gen:t,data:r,it:o}=e;t.if(o.parentData,(()=>t.assign(r,n._`${o.parentData}[${o.parentDataProperty}]`)))}function c(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}t.macroKeywordCode=function(e,t){const{gen:r,keyword:o,schema:s,parentSchema:a,it:i}=e,l=t.macro.call(i.self,s,a,i),u=c(r,o,l);!1!==i.opts.validateSchema&&i.self.validateSchema(l,!0);const d=r.name("valid");e.subschema({schema:l,schemaPath:n.nil,errSchemaPath:`${i.errSchemaPath}/${o}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var r;const{gen:l,keyword:u,schema:d,parentSchema:f,$data:h,it:m}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(m,t);const p=!h&&t.compile?t.compile.call(m.self,d,f,m):t.validate,y=c(l,u,p),g=l.let("valid");function v(r=(t.async?n._`await `:n.nil)){const a=m.opts.passContext?o.default.this:o.default.self,i=!("compile"in t&&!h||!1===t.schema);l.assign(g,n._`${r}${(0,s.callValidateCode)(e,y,a,i)}`,t.modifying)}function $(e){var r;l.if((0,n.not)(null!==(r=t.valid)&&void 0!==r?r:g),e)}e.block$data(g,(function(){if(!1===t.errors)v(),t.modifying&&i(e),$((()=>e.error()));else{const r=t.async?function(){const e=l.let("ruleErrs",null);return l.try((()=>v(n._`await `)),(t=>l.assign(g,!1).if(n._`${t} instanceof ${m.ValidationError}`,(()=>l.assign(e,n._`${t}.errors`)),(()=>l.throw(t))))),e}():function(){const e=n._`${y}.errors`;return l.assign(e,null),v(n.nil),e}();t.modifying&&i(e),$((()=>function(e,t){const{gen:r}=e;r.if(n._`Array.isArray(${t})`,(()=>{r.assign(o.default.vErrors,n._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,n._`${o.default.vErrors}.length`),(0,a.extendErrors)(e)}),(()=>e.error()))}(e,r)))}})),e.ok(null!==(r=t.valid)&&void 0!==r?r:g)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&"undefined"==typeof e))},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},o,s){if(Array.isArray(o.keyword)?!o.keyword.includes(s):o.keyword!==s)throw new Error("ajv implementation error");const a=o.dependencies;if(null===a||void 0===a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[s])){const e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}}},63043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(7083),o=r(32017),s=r(7106),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&l(e)<=t)};const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(i.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(c))return!0;if("object"==typeof r&&c(r))return!0}return!1}function l(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!a.has(r)&&("object"==typeof e[r]&&(0,n.eachItem)(e[r],(e=>t+=l(e))),t===1/0))return 1/0}return t}function u(e,t="",r){!1!==r&&(t=h(t));const n=e.parse(t);return d(e,n)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const f=/#\/?$/;function h(e){return e?e.replace(f,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,r){return r=h(r),e.resolve(t,r)};const m=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r,uriResolver:n}=this.opts,a=h(e[r]||t),i={"":a},c=u(n,a,!1),l={},d=new Set;return s(e,{allKeys:!0},((e,t,n,o)=>{if(void 0===o)return;const s=c+t;let a=i[o];function u(t){const r=this.opts.uriResolver.resolve;if(t=h(a?r(a,t):t),d.has(t))throw p(t);d.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?f(e,n.schema,t):t!==h(s)&&("#"===t[0]?(f(e,l[t],t),l[t]=e):this.refs[t]=s),t}function y(e){if("string"==typeof e){if(!m.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[r]&&(a=u.call(this,e[r])),y.call(this,e.$anchor),y.call(this,e.$dynamicAnchor),i[t]=a})),l;function f(e,t,r){if(void 0!==t&&!o(e,t))throw p(r)}function p(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},63338:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=function(e,t,r,n){for(var o=e.length,s=r+(n?1:-1);n?s--:++s<o;)if(t(e[s],s,e))return s;return-1};const o=function(e){return e!==e};const s=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1};const a=function(e,t,r){return t===t?s(e,t,r):n(e,o,r)}},63418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(68729),o=r(61475),s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,o.default];t.default=s},64099:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){return e.has(t)}},64147:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(56699),o=r(65373),s=r(62235),a=r(40154);function i(e){const{gen:t,data:r,it:o}=e;t.if(o.parentData,(()=>t.assign(r,n._`${o.parentData}[${o.parentDataProperty}]`)))}function c(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}t.macroKeywordCode=function(e,t){const{gen:r,keyword:o,schema:s,parentSchema:a,it:i}=e,l=t.macro.call(i.self,s,a,i),u=c(r,o,l);!1!==i.opts.validateSchema&&i.self.validateSchema(l,!0);const d=r.name("valid");e.subschema({schema:l,schemaPath:n.nil,errSchemaPath:`${i.errSchemaPath}/${o}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var r;const{gen:l,keyword:u,schema:d,parentSchema:f,$data:h,it:m}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(m,t);const p=!h&&t.compile?t.compile.call(m.self,d,f,m):t.validate,y=c(l,u,p),g=l.let("valid");function v(r=(t.async?n._`await `:n.nil)){const a=m.opts.passContext?o.default.this:o.default.self,i=!("compile"in t&&!h||!1===t.schema);l.assign(g,n._`${r}${(0,s.callValidateCode)(e,y,a,i)}`,t.modifying)}function $(e){var r;l.if((0,n.not)(null!==(r=t.valid)&&void 0!==r?r:g),e)}e.block$data(g,(function(){if(!1===t.errors)v(),t.modifying&&i(e),$((()=>e.error()));else{const r=t.async?function(){const e=l.let("ruleErrs",null);return l.try((()=>v(n._`await `)),(t=>l.assign(g,!1).if(n._`${t} instanceof ${m.ValidationError}`,(()=>l.assign(e,n._`${t}.errors`)),(()=>l.throw(t))))),e}():function(){const e=n._`${y}.errors`;return l.assign(e,null),v(n.nil),e}();t.modifying&&i(e),$((()=>function(e,t){const{gen:r}=e;r.if(n._`Array.isArray(${t})`,(()=>{r.assign(o.default.vErrors,n._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,n._`${o.default.vErrors}.length`),(0,a.extendErrors)(e)}),(()=>e.error()))}(e,r)))}})),e.ok(null!==(r=t.valid)&&void 0!==r?r:g)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&"undefined"==typeof e))},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},o,s){if(Array.isArray(o.keyword)?!o.keyword.includes(s):o.keyword!==s)throw new Error("ajv implementation error");const a=o.dependencies;if(null===a||void 0===a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[s])){const e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}}},64715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s=r(72482),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>n._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:a,schema:i,schemaCode:c,it:l}=e;if(!a&&0===i.length)throw new Error("enum must have non-empty array");const u=i.length>=l.opts.loopEnum;let d;const f=()=>null!==d&&void 0!==d?d:d=(0,o.useFunc)(t,s.default);let h;if(u||a)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",c,(e=>t.if(n._`${f()}(${r}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);h=(0,n.or)(...i.map(((t,o)=>function(e,t){const o=i[t];return"object"===typeof o&&null!==o?n._`${f()}(${r}, ${e}[${t}])`:n._`${r} === ${o}`}(e,o))))}e.pass(h)}};t.default=a},64841:(t,r,n)=>{"use strict";n.d(r,{A:()=>c});var o=n(72136),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s&&o.A.process;const c=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}()},65144:(t,r,n)=>{"use strict";function o(e){return"object"===typeof e&&null!==e&&(!("number"===typeof e.lastModified&&"undefined"!==typeof File&&e instanceof File)&&(!("function"===typeof e.getMonth&&"undefined"!==typeof Date&&e instanceof Date)&&!Array.isArray(e)))}function s(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),o(e.additionalItems)}function a(e){if(""===e)return;if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;if(/\.\d*0$/.test(e))return e;const t=Number(e);return"number"===typeof t&&!Number.isNaN(t)?t:e}n.d(r,{Rr:()=>i,Xo:()=>u,qC:()=>d,De:()=>x,s0:()=>k,uh:()=>f,Xq:()=>Po,s2:()=>p,Ny:()=>jn,K0:()=>y,ZN:()=>v,oS:()=>$,Ru:()=>b,s1:()=>_,jY:()=>A,Es:()=>P,FF:()=>I,at:()=>D,xh:()=>j,Zl:()=>go,AK:()=>F,ce:()=>T,Hh:()=>s,eG:()=>to,i:()=>a,aA:()=>no,Xl:()=>z,JF:()=>q,BP:()=>pn,c2:()=>G,IR:()=>Zn,qe:()=>yn,Uw:()=>vn,Yu:()=>bn,BH:()=>$n,L4:()=>wn,Od:()=>gn,rD:()=>Yn,$c:()=>Xn,kp:()=>In,NV:()=>an,KU:()=>cr,ti:()=>Rn,_I:()=>dr,Bj:()=>Fn,$F:()=>Mn,cq:()=>Vn,$R:()=>V,Bt:()=>Kn,Lw:()=>Hn,$K:()=>Wn,wM:()=>Gn,F5:()=>Qn,ar:()=>cn,nQ:()=>Br,Uc:()=>so,Gv:()=>o,w:()=>ao,z$:()=>io,a6:()=>co,rL:()=>Wr,dW:()=>fr,pk:()=>ro,C1:()=>oo,f9:()=>Xr,UI:()=>lo,l1:()=>uo,F9:()=>ho,II:()=>po,EH:()=>eo,SL:()=>yo,MD:()=>$o,Yg:()=>bo,fV:()=>wo,qJ:()=>Eo,lB:()=>xo,uC:()=>Co,v4:()=>Io,k6:()=>Do,vh:()=>Ro});const i="__additional_property",c="additionalProperties",l="allOf",u="anyOf",d="const",f="default",h="dependencies",m="enum",p="__errors",y="$id",g="if",v="items",$="$name",b="oneOf",w="patternProperties",_="properties",A="readonly",S="required",j="submitButtonOptions",P="$ref",E="$schema",x="root",k="_",O=["discriminator","propertyName"],N="formContext",C="layoutGridLookupMap",I="__rjsf_additionalProperties",D="__rjsf_rootSchema",R="ui:widget",T="ui:options",F="ui:globalOptions",M="https://json-schema.org/draft/2019-09/schema",U="https://json-schema.org/draft/2020-12/schema";function V(e={},t={}){return e?Object.keys(e).filter((e=>0===e.indexOf("ui:"))).reduce(((t,r)=>{const n=e[r];return r===R&&o(n)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),t):r===T&&o(n)?{...t,...n}:{...t,[r.substring(3)]:n}}),{...t}):{...t}}function z(e,t={},r){if(!e.additionalProperties&&!e.patternProperties)return!1;const{expandable:n=!0}=V(t);return!1===n?n:void 0===e.maxProperties||!r||Object.keys(r).length<e.maxProperties}var L=n(34963);function q(e){const t={[p]:[],addError(e){this[p].push(e)}};if(Array.isArray(e))return e.reduce(((e,t,r)=>({...e,[r]:q(t)})),t);if((0,L.A)(e)){const r=e;return Object.keys(r).reduce(((e,t)=>({...e,[t]:q(r[t])})),t)}return t}var B=n(22955);const K=function(e,t,r){var n=(r="function"==typeof r?r:void 0)?r(e,t):void 0;return void 0===n?(0,B.A)(e,t,void 0,r):!!n};function G(e,t){return K(e,t,((e,t)=>{if("function"===typeof e&&"function"===typeof t)return!0}))}var W=n(77500),H=n(39622),J=n(46996),Z=n(35704),Y=n(59520),X=n(99922),Q=n(62250),ee=4294967295,te=Math.min;const re=function(e,t){if((e=(0,Q.A)(e))<1||e>9007199254740991)return[];var r=ee,n=te(e,ee);t=(0,X.A)(t),e-=ee;for(var o=(0,Y.A)(n,t);++r<e;)t(r);return o};var ne=n(72641),oe=n(59712),se=n(79841),ae=n(22080);const ie=function(e,t,r,n){var o=r.length,s=o,a=!n;if(null==e)return!s;for(e=Object(e);o--;){var i=r[o];if(a&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<s;){var c=(i=r[o])[0],l=e[c],u=i[1];if(a&&i[2]){if(void 0===l&&!(c in e))return!1}else{var d=new ae.A;if(n)var f=n(l,u,c,e,t,d);if(!(void 0===f?(0,B.A)(u,l,3,n,d):f))return!1}}return!0};var ce=n(23149);const le=function(e){return e===e&&!(0,ce.A)(e)};var ue=n(27422);const de=function(e){for(var t=(0,ue.A)(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,le(o)]}return t};const fe=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}};const he=function(e){var t=de(e);return 1==t.length&&t[0][2]?fe(t[0][0],t[0][1]):function(r){return r===e||ie(r,e,t)}};var me=n(46964),pe=n(86586),ye=n(30901);const ge=function(e,t){return(0,pe.A)(e)&&le(t)?fe((0,ye.A)(e),t):function(r){var n=(0,W.A)(r,e);return void 0===n&&n===t?(0,me.A)(r,e):(0,B.A)(t,n,3)}};var ve=n(29008),$e=n(92049);const be=function(e){return function(t){return null==t?void 0:t[e]}};var we=n(66318);const _e=function(e){return function(t){return(0,we.A)(t,e)}};const Ae=function(e){return(0,pe.A)(e)?be((0,ye.A)(e)):_e(e)};const Se=function(e){return"function"==typeof e?e:null==e?ve.A:"object"==typeof e?(0,$e.A)(e)?ge(e[0],e[1]):he(e):Ae(e)};var je=n(15647),Pe=n(41200),Ee=n(89610),xe=n(54749);const ke=function(e,t,r){var n=(0,$e.A)(e),o=n||(0,Pe.A)(e)||(0,xe.A)(e);if(t=Se(t,4),null==r){var s=e&&e.constructor;r=o?n?new s:[]:(0,ce.A)(e)&&(0,Ee.A)(s)?(0,oe.A)((0,je.A)(e)):{}}return(o?ne.A:se.A)(e,(function(e,n,o){return t(r,e,n,o)})),r};var Oe=n(52528),Ne=n(66984);const Ce=function(e,t,r){(void 0!==r&&!(0,Ne.A)(e[t],r)||void 0===r&&!(t in e))&&(0,Oe.A)(e,t,r)};var Ie=n(97132),De=n(80154),Re=n(1801),Te=n(39759),Fe=n(32729),Me=n(25175),Ue=n(53533);const Ve=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]};var ze=n(22031),Le=n(79999);const qe=function(e){return(0,ze.A)(e,(0,Le.A)(e))};const Be=function(e,t,r,n,o,s,a){var i=Ve(e,r),c=Ve(t,r),l=a.get(c);if(l)Ce(e,r,l);else{var u=s?s(i,c,r+"",e,t,a):void 0,d=void 0===u;if(d){var f=(0,$e.A)(c),h=!f&&(0,Pe.A)(c),m=!f&&!h&&(0,xe.A)(c);u=c,f||h||m?(0,$e.A)(i)?u=i:(0,Ue.A)(i)?u=(0,Te.A)(i):h?(d=!1,u=(0,De.A)(c,!0)):m?(d=!1,u=(0,Re.A)(c,!0)):u=[]:(0,L.A)(c)||(0,Me.A)(c)?(u=i,(0,Me.A)(i)?u=qe(i):(0,ce.A)(i)&&!(0,Ee.A)(i)||(u=(0,Fe.A)(c))):d=!1}d&&(a.set(c,u),o(u,c,n,s,a),a.delete(c)),Ce(e,r,u)}};const Ke=function e(t,r,n,o,s){t!==r&&(0,Ie.A)(r,(function(a,i){if(s||(s=new ae.A),(0,ce.A)(a))Be(t,r,i,n,e,o,s);else{var c=o?o(Ve(t,i),a,i+"",t,r,s):void 0;void 0===c&&(c=a),Ce(t,i,c)}}),Le.A)};var Ge=n(24326),We=n(38446),He=n(25353);const Je=function(e,t,r){if(!(0,ce.A)(r))return!1;var n=typeof t;return!!("number"==n?(0,We.A)(r)&&(0,He.A)(t,r.length):"string"==n&&t in r)&&(0,Ne.A)(r[t],e)};const Ze=function(e){return(0,Ge.A)((function(t,r){var n=-1,o=r.length,s=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&Je(r[0],r[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++n<o;){var i=r[n];i&&e(t,i,n,s)}return t}))}((function(e,t,r){Ke(e,t,r)}));var Ye=n(87671),Xe=1/0;const Qe=function(e){return(null==e?0:e.length)?(0,Ye.A)(e,Xe):[]};var et=n(8300),tt=n(83149),rt=n(87809),nt=n(64099),ot=n(39857),st=n(42302),at=n(29959);const it=ot.A&&1/(0,at.A)(new ot.A([,-0]))[1]==1/0?function(e){return new ot.A(e)}:st.A;const ct=function(e,t,r){var n=-1,o=tt.A,s=e.length,a=!0,i=[],c=i;if(r)a=!1,o=rt.A;else if(s>=200){var l=t?null:it(e);if(l)return(0,at.A)(l);a=!1,o=nt.A,c=new et.A}else c=t?[]:i;e:for(;++n<s;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,a&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue e;t&&c.push(d),i.push(u)}else o(c,d,r)||(c!==i&&c.push(d),i.push(u))}return i};const lt=function(e){return e&&e.length?ct(e):[]};var ut=n(66401);const dt=Object.prototype;function ft(e){for(const t in e)if(dt.hasOwnProperty.call(e,t))return!1;return!0}new Set(["array","boolean","integer","null","number","object","string"]);const ht=["$defs","definitions","properties","patternProperties","dependencies"],mt=(new Set(ht),["items","allOf","oneOf","anyOf"]),pt=(new Set(mt),["items","additionalItems","additionalProperties","propertyNames","contains","if","then","else","not"]);new Set(pt);function yt(e){return"object"===typeof e}function gt(e){return yt(e)?ft(e):!0===e}function vt(e,t){return e<t?-1:e>t?1:0}function $t(e,t){const r=e.length;if(0===r)return t;let n=t.length;if(0===n)return e;if(r<n){const o=e;e=t,t=o,n=r}const o=new Set(e);for(let s=0;s<n;s++)o.add(t[s]);return Array.from(o)}function bt(e,t){const r=[];if(0===e.length||0===t.length)return r;if(e.length>t.length){const r=e;e=t,t=r}const n=new Set(t);for(let o=0;o<e.length&&n.size>0;o++){const t=e[o];n.delete(t)&&r.push(t)}return r}function wt(e){return 0===e.length}function _t(e){return(t,r)=>{const n=t.length-r.length;if(0!==n)return n;for(let o=0;o<t.length;o++)if(t[o]!==r[o]){const n=e(t[o],r[o]);if(0!==n)return n}return 0}}function At(e,{threshold:t=12}={}){return r=>{const n=r.length;if(0===n)return r;if(n<=t){const t=[];let o=0;e:for(let s=0;s<n;s++){const n=r[s];for(let r=0;r<o;r++)if(0===e(n,t[r]))continue e;o=t.push(n)}return t}const o=r.slice().sort(e);let s=0;for(let t=1;t<n;t++)0!==e(o[s],o[t])&&++s!==t&&(o[s]=o[t]);return o.length=s+1,o}}const St=function(e,t){return r=>{if(e.has(r))return e.get(r);const n=t(r);return e.set(r,n),n}},jt=()=>0,Pt=e=>void 0===e,Et=e=>"object"!==typeof e,xt={boolean:0,number:1,string:2};function kt(e,t){const r=typeof e,n=typeof t;return r===n?vt(e,t):xt[r]-xt[n]}function Ot(e,t,r=jt){return(n,o)=>e(n)?e(o)?r(n,o):-1:e(o)?1:t(n,o)}function Nt(e){return Ot(Pt,e)}function Ct(e,t){return Ot((t=>void 0===t||e(t)),t)}function It(e,t){return Ot(Array.isArray,e,t)}const Dt=Nt(vt),Rt=Ct((e=>0===e),((e,t)=>e-t));function Tt(e){return e}const Ft=(e,t)=>e?Ft(t%e,e):t;function Mt(e,t){return e===t?e:`^(?=.*(?:${e}))(?=.*(?:${t})).*$`}function*Ut(e,t,r){const n=e.length,o=t.length;if(n>0&&o>0)for(let s=0;s<n;s++){const n=e[s];for(let e=0;e<o;e++)yield r(n,t[e])}}function Vt(e,t){return e||t}function zt(e){return(t,r)=>{const n={...t},o=Object.keys(r),s=o.length;for(let a=0;a<s;a++){const s=o[a];n[s]=void 0===t[s]?r[s]:e(t[s],r[s])}return n}}function Lt(e,t,r){void 0===r||gt(r)?delete e[t]:e[t]=r}const qt=["properties","patternProperties","additionalProperties"];function Bt(e){const t=Object.keys(e),r=t.length,n=[];for(let o=0;o<r;o++){const r=t[o];n.push({regExp:new RegExp(r),schema:e[r]})}return[n,t]}const Kt=[[],[]];function Gt(e,t,r){const n=r.length;for(let o=0;o<n;o++){const n=r[o];if(!n.regExp.test(t))continue;const s=n.schema;if(!1===s)return!0;e.push(s)}return!1}const Wt=["items","additionalItems"],Ht=["if","then","else"];function Jt(e,t){return void 0!==t.if&&(e.if=t.if),void 0!==t.then&&(e.then=t.then),void 0!==t.else&&(e.else=t.else),e}function Zt(e,t){if(e===t)return e;switch(e){case"number":if("integer"===t)return"integer";case"integer":if("number"===t)return"integer";default:return}}function Yt(e,t,r){return[e,t,r]}const Xt=[Yt("minimum","maximum",(e=>e.maximum>=e.minimum)),Yt("exclusiveMinimum","maximum",(e=>e.maximum>e.exclusiveMinimum)),Yt("minimum","exclusiveMaximum",(e=>e.exclusiveMaximum>e.minimum)),Yt("exclusiveMinimum","exclusiveMaximum",(e=>e.exclusiveMaximum>e.exclusiveMinimum)),Yt("minLength","maxLength",(e=>e.maxLength>=e.minLength)),Yt("minItems","maxItems",(e=>e.maxItems>=e.minItems)),Yt("minProperties","maxProperties",(e=>e.maxProperties>=e.minProperties))];var Qt=n(56239),er=n(54930),tr=n(48343);function rr(e,t){if(y in e&&tr.equal(e[y],t))return e;for(const r of Object.values(e))if(Array.isArray(r)){for(const e of r)if((0,ce.A)(e)){const r=rr(e,t);if(void 0!==r)return r}}else if((0,ce.A)(r)){const e=rr(r,t);if(void 0!==e)return e}}function nr(e,t){const r=(0,W.A)(e,y,t);P in e&&(e={...e,[P]:tr.resolve(r,e[P])});for(const[n,o]of Object.entries(e))Array.isArray(o)?e={...e,[n]:o.map((e=>(0,ce.A)(e)?nr(e,r):e))}:(0,ce.A)(o)&&(e={...e,[n]:nr(o,r)});return e}function or(e,t){const r=t[e];return[(0,er.A)(t,[e]),r]}function sr(e,t={},r=[],n=(0,W.A)(t,[y])){const o=e||"";let s;if(o.startsWith("#")){const e=decodeURIComponent(o.substring(1));void 0===n||y in t&&t[y]===n?s=Qt.get(t,e):t[E]===U&&(s=rr(t,n.replace(/\/$/,"")),void 0!==s&&(s=Qt.get(s,e)))}else if(t[E]===U){const e=n?tr.resolve(n,o):o,[r,...a]=e.replace(/#\/?$/,"").split("#");s=rr(t,r.replace(/\/$/,"")),void 0!==s&&(n=s[y],(0,ut.A)(a)||(s=Qt.get(s,decodeURIComponent(a.join("#")))))}if(void 0===s)throw new Error(`Could not find a definition for ${e}.`);const a=s[P];if(a){if(r.includes(a)){if(1===r.length)throw new Error(`Definition for ${e} is a circular reference`);const[t,...n]=r,s=[...n,o,t].join(" -> ");throw new Error(`Definition for ${t} contains a circular reference through ${s}`)}const[i,c]=or(P,s),u=sr(c,t,[...r,o],n);return Object.keys(i).length>0?t[E]===M||t[E]===U?{[l]:[i,u]}:{...i,...u}:u}return s}function ar(e,t={},r=(0,W.A)(t,[y])){return sr(e,t,[],r)}var ir=n(9703);function cr(e){let t;const r=(0,W.A)(e,O);return(0,ir.A)(r)?t=r:void 0!==r&&console.warn(`Expecting discriminator to be a string, got "${typeof r}" instead`),t}function lr(e){return Array.isArray(e)?"array":"string"===typeof e?"string":null==e?"null":"boolean"===typeof e?"boolean":isNaN(e)?"object"===typeof e?"object":"string":"number"}const ur=(0,Ge.A)((function(e){return ct((0,Ye.A)(e,1,Ue.A,!0))}));function dr(e){let{type:t}=e;return!t&&e.const?lr(e.const):!t&&e.enum?"string":!t&&(e.properties||e.additionalProperties||e.patternProperties)?"object":(Array.isArray(t)&&(t=2===t.length&&t.includes("null")?t.find((e=>"null"!==e)):t[0]),t)}function fr(e,t){const r=Object.assign({},e);return Object.keys(t).reduce(((r,n)=>{const s=e?e[n]:{},a=t[n];return e&&n in e&&o(a)?r[n]=fr(s,a):e&&t&&("object"===dr(e)||"object"===dr(t))&&n===S&&Array.isArray(s)&&Array.isArray(a)?r[n]=ur(s,a):r[n]=a,r}),r)}var hr=n(2383),mr=n(53098);const pr=function(e){return"number"==typeof e||(0,mr.A)(e)&&"[object Number]"==(0,hr.A)(e)};function yr(e,t,r){var n;if(e&&r){const o=(0,W.A)(e,r);if(void 0===o)return;for(let e=0;e<t.length;e++){const s=t[e],a=(0,W.A)(s,[_,r],{});if("object"!==a.type&&"array"!==a.type){if(a.const===o)return e;if(null===(n=a.enum)||void 0===n?void 0:n.includes(o))return e}}}}function gr(e,t,r,n,o){if(void 0===t)return 0;const s=yr(t,r,o);if(pr(s))return s;for(let a=0;a<r.length;a++){const s=r[a];if(o&&(0,H.A)(s,[_,o])){const r=(0,W.A)(t,o),i=(0,W.A)(s,[_,o],{});if(e.isValid(i,r,n))return a}else if(s[_]){const r={anyOf:Object.keys(s[_]).map((e=>({required:[e]})))};let o;if(s.anyOf){const{...e}=s;e.allOf?e.allOf=e.allOf.slice():e.allOf=[],e.allOf.push(r),o=e}else o=Object.assign({},s,r);if(delete o.required,e.isValid(o,t,n))return a}else if(e.isValid(s,t,n))return a}return 0}function vr(e,t,r={},n,o,s=!1){return xr(e,t,r,n,void 0,void 0,o,s)[0]}function $r(e){return e.reduce(((e,t)=>t.length>1?t.flatMap((t=>re(e.length,(r=>[...e[r]].concat(t))))):(e.forEach((e=>e.push(t[0]))),e)),[[]])}function br(e,t){return Object.keys(e.patternProperties).filter((e=>RegExp(e).test(t))).reduce(((t,r)=>((0,Z.A)(t,[r],e.patternProperties[r]),t)),{})}function wr(e,t,r,n,o,s,a,i){const c=_r(t,r,o,void 0,i);return c!==t?xr(e,c,r,s,n,o,a,i):[t]}function _r(e,t,r,n,s){if(!o(e))return e;let a=e;if(P in a){const{$ref:e,...o}=a;if(r.includes(e))return a;r.push(e);a={...ar(e,t,n),...o},y in a&&(n=a[y])}if(_ in a){const e=[],o=ke(a[_],((o,a,i)=>{const c=[...r];o[i]=_r(a,t,c,n,s),e.push(c)}),{});Ze(r,lt(Qe(e))),a={...a,[_]:o}}if(v in a&&!Array.isArray(a.items)&&"boolean"!==typeof a.items&&(a={...a,items:_r(a.items,t,r,n,s)}),s){let o,i;u in e&&Array.isArray(e[u])?(o=u,i=a[u]):b in e&&Array.isArray(e[b])&&(o=b,i=a[b]),o&&i&&(a={...a,[o]:i.map((e=>_r(e,t,r,n,s)))})}return G(e,a)?e:a}const{compareSchemaDefinitions:Ar,compareSchemaValues:Sr}=function({deduplicationCache:e=new WeakMap,sortedKeysCache:t=new WeakMap}={}){const r=St(t,(e=>Object.keys(e).sort()));function n(e){return(t,n)=>{const o=r(t),s=r(n),a=Math.min(o.length,s.length);for(let e=0;e<a;e++){const t=vt(o[e],s[e]);if(0!==t)return t}if(o.length!==s.length)return o.length-s.length;for(let r=0;r<a;r++){const s=o[r],a=e(t[s],n[s]);if(0!==a)return a}return 0}}function o(t){const r=_t(t),n=St(e,At(t,{threshold:0}));return(e,t)=>r(n(e),n(t))}const s=o(vt);function a(e,t){if(yt(e)){if(yt(t)){const r=function(e,t){const r=e.length;if(0===r)return t;const n=t.length;if(0===n)return e;if(n>r){const r=e;e=t,t=r}const o=new Set(e),s=t.length;for(let a=0;a<s;a++){const r=t[a];o.has(r)||e.push(r)}return e}(Object.keys(e),Object.keys(t)),n=r.length;for(let o=0;o<n;o++){const n=r[o];if(e[n]===t[n])continue;const s=(m[n]??i)(e[n],t[n]);if(0!==s)return s}return 0}return!0===t&&ft(e)?0:1}return yt(t)?!0===e&&ft(t)?0:-1:vt(e,t)}const i=Nt(l),c=Ot(Et,It(n(i),_t(l)),kt);function l(e,t){return null===e?-1:null===t?1:c(e,t)}const u=Nt(a),d=Ct(ft,n(u)),f=Nt(o(a)),h=Ct(gt,a),m={$id:Dt,$comment:Dt,$defs:d,$ref:Dt,$schema:Dt,const:i,contains:u,contentEncoding:Dt,contentMediaType:Dt,default:i,definitions:d,description:Dt,else:u,examples:i,exclusiveMaximum:Dt,exclusiveMinimum:Dt,format:Dt,if:u,maximum:Dt,maxItems:Dt,maxLength:Dt,maxProperties:Dt,minimum:Dt,multipleOf:Dt,not:u,pattern:Dt,propertyNames:u,readOnly:Dt,then:u,title:Dt,writeOnly:Dt,uniqueItems:Ct((e=>!1===e),jt),minLength:Rt,minItems:Rt,minProperties:Rt,required:Ct(wt,s),enum:Ct(wt,o(l)),type:Nt(((e,t)=>{const r=Array.isArray(e),n=Array.isArray(t);return r||n?s(r?e:[e],n?t:[t]):vt(e,t)})),items:Ct((e=>!Array.isArray(e)&&gt(e)),It(a,_t(a))),anyOf:f,allOf:f,oneOf:f,properties:d,patternProperties:d,additionalProperties:h,additionalItems:h,dependencies:Ct(ft,n(Nt(It(a,s))))};return{compareSchemaValues:l,compareSchemaDefinitions:a}}(),{mergeArrayOfSchemaDefinitions:jr}=function({mergePatterns:e=Mt,isSubRegExp:t=Object.is,intersectJson:r=bt,deduplicateJsonSchemaDef:n=Tt,defaultMerger:o=Tt,assigners:s=[],checks:a=Xt,mergers:i}={}){function c(e){const t=e.length;let r=e[0];for(let n=1;n<t;n++){const t=m(r,e[n]);if(!1===t)return!1;gt(t)||(r=t)}return r}function l(e,t,r,n,o,s,a){if(e.length=0,!1===r)return!1;e.push(r);if(void 0!==o){if(!1===o)return!1;e.push(o)}if(Gt(e,t,s))return!1;const i=e.length<2;if(!1===a){if(i)return;if(Gt(e,t,n))return!1}else i&&void 0!==a&&e.push(a);return 1===e.length?e[0]:c(e)}function u(e,t,r,n,o,s){const a=r.length;if(a>0&&!1!==o)if(s)Object.assign(e,t);else for(let i=0;i<a;i++){const s=r[i];n.has(s)||(e[s]=m(t[s],o))}return e}function d(e,t){return n(Array.from(Ut(e,t,m)))}const f=function(e){const t=new Map;for(const r of e)for(const e of r[0])t.set(e,r[1]);return t}([[qt,(r,{properties:n={},patternProperties:o,additionalProperties:s=!0},{properties:a={},patternProperties:i,additionalProperties:c=!0})=>{const d=gt(s),f=gt(c);if(d&&f)return Lt(r,"properties",p(n,a)),Lt(r,"patternProperties",o&&i?p(o,i):o??i),delete r.additionalProperties,r;Lt(r,"additionalProperties",m(s,c));const h={},y=Object.keys(n),g=y.length,[v,$]=o?Bt(o):Kt,[b,w]=i?Bt(i):Kt,_=[],A=new Set,S=f?void 0:c;for(let e=0;e<g;e++){const t=y[e];A.add(t);const r=l(_,t,n[t],v,a[t],b,S);void 0!==r&&(h[t]=r)}const j=Object.keys(a),P=j.length,E=d?void 0:s;for(let e=0;e<P;e++){const t=j[e];if(A.has(t))continue;const r=l(_,t,a[t],b,void 0,v,E);void 0!==r&&(h[t]=r)}Lt(r,"properties",h);let x={};const k=new Set;if($.length>0&&w.length>0){const r=Ut($,w,((r,n)=>{t(r,n)&&k.add(r),t(n,r)&&k.add(n),x[e(r,n)]=m(o[r],i[n])}));for(;!r.next().done;);}return x=u(x,o,$,k,c,f),x=u(x,i,w,k,s,d),Lt(r,"patternProperties",x),r}],[Wt,(e,{items:t=[],additionalItems:r},{items:n=[],additionalItems:o})=>{const s=Array.isArray(t),a=Array.isArray(n),i=[];if(e.items=i,s&&a){const[s,a,c]=t.length<n.length?[t.length,r,n]:[n.length,o,t];let l=0;for(;l<s;l++)i.push(m(t[l],n[l]));if(!1===a)e.additionalItems=!1;else{const t=void 0===a||gt(a);for(;l<c.length;l++)i.push(t?c[l]:m(c[l],a));Lt(e,"additionalItems",void 0!==r&&void 0!==o?m(r,o):r??o)}}else if(s||a){const[a,c,l]=s?[t,n,r]:[n,t,o];Lt(e,"additionalItems",l&&m(l,c));for(let e=0;e<a.length;e++)i.push(m(a[e],c))}else delete e.additionalItems,e.items=m(t,n);return e}],[Ht,(e,t,r)=>{Jt(e,t);const n=Jt({},r);return void 0===e.allOf?e.allOf=[n]:e.allOf=e.allOf.concat(n),e}],...s]),h=function(e){const t=new Map;for(const[r,n,o]of e){const e=e=>{if(!o(e))throw new Error(`Schema keys '${r}' and '${n}' are conflicting (${r}: ${JSON.stringify(e[r])}, ${n}: ${JSON.stringify(e[n])})`)};for(const o of[[r,n],[n,r]]){let r=t.get(o[0]);void 0===r&&(r=[],t.set(o[0],r)),r.push({oppositeKey:o[1],check:e})}}return t}(a);function m(e,t){if(!1===e||!1===t)return!1;if(gt(e))return!!gt(t)||t;if(gt(t))return e;let r={...e};const n=new Set,s=new Set,a=Object.keys(t),i=a.length;for(let c=0;c<i;c++){const i=a[c],l=t[i];if(void 0===l)continue;const u=h.get(i);if(void 0!==u){const t=u.length;for(let r=0;r<t;r++){const t=u[r];void 0!==e[t.oppositeKey]&&s.add(t.check)}}const d=e[i];if(void 0===d){r[i]=l;continue}const m=f.get(i);if(m){n.add(m);continue}const p=y[i]??o;r[i]=p(d,l)}for(const o of n)r=o(r,e,t);for(const o of s)o(r);return r}const p=zt(m),y={$id:o,$ref:o,$schema:o,$comment:o,$defs:p,definitions:p,type:(e,t)=>{if(e===t)return e;const r=Array.isArray(e),n=Array.isArray(t);if(r||n){if(r||n){const o=new Set;if(r&&n)for(const r of Ut(e,t,Zt))void 0!==r&&o.add(r);else{const n=r?e:t,s=r?t:e,a=n.length;for(let e=0;e<a;e++){const t=Zt(s,n[e]);void 0!==t&&o.add(t)}}const s=o.size;if(1===s)return o.values().next().value;if(s>1)return Array.from(o)}}else{const r=Zt(e,t);if(void 0!==r)return r}throw new Error(`It is not possible to create an intersection of the following incompatible types: ${e.toString()}, ${t.toString()}`)},default:o,description:o,title:o,const:o,format:o,contentEncoding:o,contentMediaType:o,not:(e,t)=>{const r=n([e,t]);return 1===r.length?r[0]:{anyOf:r}},pattern:e,readOnly:Vt,writeOnly:Vt,enum:(e,t)=>{const n=r(e,t);if(0===n.length)throw new Error(`Intersection of the following enums is empty: "${JSON.stringify(e)}", "${JSON.stringify(t)}"`);return n},anyOf:d,oneOf:d,allOf:(e,t)=>n(e.concat(t)),propertyNames:m,contains:m,dependencies:zt(((e,t)=>Array.isArray(e)?Array.isArray(t)?$t(e,t):m(t,{required:e}):Array.isArray(t)?m(e,{required:t}):m(e,t))),examples:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))throw new Error(`Value of the 'examples' field should be an array, but got "${JSON.stringify(e)}" and "${JSON.stringify(t)}"`);return $t(e,t)},multipleOf:(e,t)=>{let r=1;for(;!Number.isInteger(e)||!Number.isInteger(t);)r*=10,e*=10,t*=10;return((e,t)=>Math.abs(e*t)/Ft(e,t))(e,t)/r},exclusiveMaximum:Math.min,maximum:Math.min,maxItems:Math.min,maxLength:Math.min,maxProperties:Math.min,exclusiveMinimum:Math.max,minimum:Math.max,minItems:Math.max,minLength:Math.max,minProperties:Math.max,uniqueItems:Vt,required:$t,...i};return{mergeSchemaDefinitions:m,mergeArrayOfSchemaDefinitions:c}}({intersectJson:(Pr=Sr,(e,t)=>{const r=[];let n=e.length,o=t.length;if(0===n||0===o)return r;if(n>o){const r=e;e=t,t=r;const s=n;n=o,o=s}const s=[...e].sort(Pr),a=[...t].sort(Pr);let i=0,c=0;for(;i<n&&c<o;){const e=Pr(s[i],a[c]);0===e?(0!==r.length&&0===Pr(r[r.length-1],s[i])||r.push(s[i]),i++,c++):e<0?i++:c++}return r}),deduplicateJsonSchemaDef:At(Ar)});var Pr;const Er=function(e){return t=>e(function(e){const t=[],r=[e];for(;r.length>0;){const e=r.pop();if("boolean"===typeof e||void 0===e.allOf){t.push(e);continue}const{allOf:n,...o}=e;t.push(o);for(let t=n.length-1;t>=0;t--)r.push(n[t])}return t}(t))}(jr);function xr(t,r,n,s,a=!1,d=[],f,m){if(!o(r))return[{}];const p=function(e,t,r,n,o,s,a,i){const c=wr(e,t,r,n,o,s,a,i);if(c.length>1||c[0]!==t)return c;if(h in t)return kr(e,t,r,n,o,s,a).flatMap((t=>xr(e,t,r,s,n,o,a)));if(l in t&&Array.isArray(t[l]))return $r(t.allOf.map((t=>xr(e,t,r,s,n,o,a)))).map((e=>({...t,allOf:e})));return[t]}(t,r,n,a,d,s,f,m);return p.flatMap((r=>{var h;let m=r;if(g in m)return function(e,t,r,n,o,s,a){const{if:i,then:c,else:l,...u}=t,d=e.isValid(i,s||{},r);let f=[u],h=[];if(n)c&&"boolean"!==typeof c&&(h=h.concat(xr(e,c,r,s,n,o,a))),l&&"boolean"!==typeof l&&(h=h.concat(xr(e,l,r,s,n,o,a)));else{const t=d?c:l;t&&"boolean"!==typeof t&&(h=h.concat(xr(e,t,r,s,n,o,a)))}return h.length&&(f=h.map((e=>fr(u,e)))),f.flatMap((t=>xr(e,t,r,s,n,o,a)))}(t,m,n,a,d,s,f);if(l in m){if(a){const{allOf:e,...t}=m;return[...e,t]}try{const e=[],t=[];null===(h=m.allOf)||void 0===h||h.forEach((r=>{"object"===typeof r&&r.contains?e.push(r):t.push(r)})),e.length&&(m={...m,allOf:t}),m=f?f(m):function(e){return Er(e)}(m),e.length&&(m.allOf=e)}catch(e){console.warn("could not merge subschemas in allOf:\n",e);const{allOf:r,...n}=m;return n}}_ in m&&w in m&&(m=Object.keys(m.properties).reduce(((e,r)=>{const o=br(e,r);return(0,ut.A)(o)||(e.properties[r]=vr(t,{allOf:[e.properties[r],...Object.values(o)]},n,(0,W.A)(s,[r]),f)),e}),{...m,properties:{...m.properties}}));return w in m||c in m&&!1!==m.additionalProperties?function(e,t,r,n,s){const a={...t,properties:{...t.properties}},d=n&&o(n)?n:{};return Object.keys(d).forEach((t=>{if(!(t in a.properties)){if(w in a){const n=br(a,t);if(!(0,ut.A)(n))return a.properties[t]=vr(e,{[l]:Object.values(n)},r,(0,W.A)(d,[t]),s),void(0,Z.A)(a.properties,[t,i],!0)}if(c in a&&!1!==a.additionalProperties){let n;n="boolean"!==typeof a.additionalProperties?P in a.additionalProperties?vr(e,{[P]:(0,W.A)(a.additionalProperties,[P])},r,d,s):"type"in a.additionalProperties?{...a.additionalProperties}:u in a.additionalProperties||b in a.additionalProperties?{type:"object",...a.additionalProperties}:{type:lr((0,W.A)(d,[t]))}:{type:lr((0,W.A)(d,[t]))},a.properties[t]=n,(0,Z.A)(a.properties,[t,i],!0)}else a.properties[t]={type:"null"},(0,Z.A)(a.properties,[t,i],!0)}})),a}(t,m,n,s,f):m}))}function kr(e,t,r,n,o,s,a){const{dependencies:i,...c}=t,l=function(e,t,r,n,o){let s;const{oneOf:a,anyOf:i,...c}=t;if(Array.isArray(a)?s=a:Array.isArray(i)&&(s=i),s){const a=void 0===o&&n?{}:o,i=cr(t);s=s.map((e=>_r(e,r,[])));const l=gr(e,a,s,r,i);if(n)return s.map((e=>fr(c,e)));t=fr(c,s[l])}return[t]}(e,c,r,n,s);return l.flatMap((t=>Or(e,i,t,r,n,o,s,a)))}function Or(e,t,r,n,s,a,i,c){let l=[r];for(const u in t){if(!s&&void 0===(0,W.A)(i,[u]))continue;if(r.properties&&!(u in r.properties))continue;const[d,f]=or(u,t);return Array.isArray(f)?l[0]=Nr(r,f):o(f)&&(l=Cr(e,r,n,u,f,s,a,i,c)),l.flatMap((t=>Or(e,d,t,n,s,a,i,c)))}return l}function Nr(e,t){if(!t)return e;const r=Array.isArray(e.required)?Array.from(new Set([...e.required,...t])):t;return{...e,required:r}}function Cr(e,t,r,n,o,s,a,i,c){return xr(e,o,r,i,s,a,c).flatMap((o=>{const{oneOf:l,...u}=o;if(t=fr(t,u),void 0===l)return t;return $r(l.map((t=>"boolean"!==typeof t&&P in t?wr(e,t,r,s,a,i):[t]))).flatMap((o=>function(e,t,r,n,o,s,a,i,c){const l=o.filter((t=>{if("boolean"===typeof t||!t||!t.properties)return!1;const{[n]:o}=t.properties;if(o){const t={type:"object",properties:{[n]:o}};return e.isValid(t,i,r)||s}return!1}));if(!s&&1!==l.length)return console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),[t];return l.flatMap((o=>{const l=o,[u]=or(n,l.properties),d={...l,properties:u};return xr(e,d,r,i,s,a,c).map((e=>fr(t,e)))}))}(e,t,r,n,o,s,a,i,c)))}))}function Ir(e,t,r,n,o,s={},a){if(Array.isArray(r[o])){const i=cr(r)||n,c=r[o].map((r=>vr(e,r,t,s,a))),l=(0,W.A)(s,i);if(void 0!==l)return c.find((e=>(0,J.A)((0,W.A)(e,[_,i,f],(0,W.A)(e,[_,i,d])),l)))}}function Dr(e,t,r,n,o){let s=r;if((0,H.A)(r,P)&&(s=vr(e,r,t,void 0,o)),(0,ut.A)(n))return s;const a=Array.isArray(n)?n:n.split("."),[i,...c]=a;return i&&(0,H.A)(s,i)?(s=(0,W.A)(s,i),Dr(e,t,s,c,o)):void 0}function Rr(e,t,r,n,o,s){const a=Dr(e,t,r,n,s);return void 0===a?o:a}const Tr={title:"!@#$_UNKNOWN_$#@!"};const Fr=function(e,t,r,n){var o=-1,s=null==e?0:e.length;for(n&&s&&(r=e[++o]);++o<s;)r=t(r,e[o],o,e);return r};var Mr=n(94288);const Ur=function(e,t,r,n,o){return o(e,(function(e,o,s){r=n?(n=!1,e):t(r,e,o,s)})),r};const Vr=function(e,t,r){var n=(0,$e.A)(e)?Fr:Ur,o=arguments.length<3;return n(e,Se(t,4),r,o,Mr.A)},zr={type:"object",$id:"_$junk_option_schema_id$_",properties:{__not_really_there__:{type:"number"}}};function Lr(e,t,r,n,o){let s=0;return r&&((0,ce.A)(r.properties)?s+=Vr(r.properties,((r,s,a)=>{const i=(0,W.A)(n,a);if("boolean"===typeof s)return r;if((0,H.A)(s,P)){const n=vr(e,s,t,i,o);return r+Lr(e,t,n,i||{},o)}if(((0,H.A)(s,b)||(0,H.A)(s,u))&&i){const n=(0,H.A)(s,b)?b:u,a=cr(s);return r+qr(e,t,i,(0,W.A)(s,n),-1,a,o)}if("object"===s.type)return(0,ce.A)(i)&&(r+=1),r+Lr(e,t,s,i,o);if(s.type===lr(i)){let e=r+1;return s.default?e+=i===s.default?1:-1:s.const&&(e+=i===s.const?1:-1),e}return r}),0):(0,ir.A)(r.type)&&r.type===lr(n)&&(s+=1)),s}function qr(e,t,r,n,o=-1,s,a){const i=n.map((e=>_r(e,t,[]))),c=yr(r,n,s);if(pr(c))return c;const l=i.reduce(((n,o,a)=>(1===gr(e,r,[zr,o],t,s)&&n.push(a),n)),[]);if(1===l.length)return l[0];l.length||re(i.length,(e=>l.push(e)));const u=new Set,{bestIndex:d}=l.reduce(((n,o)=>{const{bestScore:s}=n,c=i[o],l=Lr(e,t,c,r,a);return u.add(l),l>s?{bestIndex:o,bestScore:l}:n}),{bestIndex:o,bestScore:0});return 1===u.size&&o>=0?o:d}function Br(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((e=>o(e)))}const Kr=function(e){return null==e};function Gr(e,t,r=!1,n=!1,s=!1){if(Array.isArray(t)){const o=Array.isArray(e)?e:[],a=s?t:o,i=(s?o:t).map(((e,i)=>void 0!==a[i]?Gr(o[i],t[i],r,n,s):e));return(r||s)&&i.length<a.length&&i.push(...a.slice(i.length)),i}if(o(t)){const a=Object.assign({},e);return Object.keys(t).reduce(((a,i)=>{var c;const l=(0,W.A)(t,i),u=o(e)&&i in e,d=i in t,f=null!==(c=(0,W.A)(e,i))&&void 0!==c?c:{},h=u&&Object.entries(f).some((([,e])=>o(e))),m=u&&o((0,W.A)(e,i)),p=d&&o(l);return m&&p&&!h?(a[i]={...(0,W.A)(e,i),...l},a):(a[i]=Gr((0,W.A)(e,i),l,r,n,s&&(u||!d)),a)}),a)}return n&&(void 0!==e&&Kr(t)||"number"===typeof t&&isNaN(t))||s&&!Kr(t)?e:t}function Wr(e,t,r=!1){return Object.keys(t).reduce(((n,s)=>{const a=e?e[s]:{},i=t[s];if(e&&s in e&&o(i))n[s]=Wr(a,i,r);else if(r&&Array.isArray(a)&&Array.isArray(i)){let e=i;"preventDuplicates"===r&&(e=i.reduce(((e,t)=>(a.includes(t)||e.push(t),e)),[])),n[s]=a.concat(e)}else n[s]=i;return n}),Object.assign({},e))}function Hr(e){return Array.isArray(e.enum)&&1===e.enum.length||d in e}function Jr(e,t,r={},n){const o=vr(e,t,r,void 0,n),s=o.oneOf||o.anyOf;return!!Array.isArray(o.enum)||!!Array.isArray(s)&&s.every((e=>"boolean"!==typeof e&&Hr(e)))}function Zr(e,t,r,n){return!(!t.uniqueItems||!t.items||"boolean"===typeof t.items)&&Jr(e,t.items,r,n)}function Yr(e){const t=e[d],r=dr(e);return o(t)&&(0,ir.A)(null===t||void 0===t?void 0:t.$data)&&"object"!==r&&"array"!==r}function Xr(e,t){if(e.enum){let r;if(t){const{enumNames:e}=V(t);r=e}return e.enum.map(((e,t)=>({label:(null===r||void 0===r?void 0:r[t])||String(e),value:e})))}let r,n;e.anyOf?(r=e.anyOf,n=null===t||void 0===t?void 0:t.anyOf):e.oneOf&&(r=e.oneOf,n=null===t||void 0===t?void 0:t.oneOf);let o=cr(e);if(t){const{optionsSchemaSelector:e=o}=V(t);o=e}return r&&r.map(((e,t)=>{const{title:r}=V(null===n||void 0===n?void 0:n[t]),s=e;let a,i=r;if(o){const e=(0,W.A)(s,[_,o],{});a=(0,W.A)(e,f,(0,W.A)(e,d)),i=i||(null===e||void 0===e?void 0:e.title)||s.title||String(a)}else a=function(e){if(m in e&&Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(d in e)return e.const;throw new Error("schema cannot be inferred as a constant")}(s),i=i||s.title||String(a);return{schema:s,label:i,value:a}}))}const Qr=["string","number","integer","boolean","null"];var en;function tn(e,t=en.Ignore,r=-1){if(r>=0){if(Array.isArray(e.items)&&r<e.items.length){const t=e.items[r];if("boolean"!==typeof t)return t}}else if(e.items&&!Array.isArray(e.items)&&"boolean"!==typeof e.items)return e.items;return t!==en.Ignore&&o(e.additionalItems)?e.additionalItems:{}}function rn(e,t){const{default:r,type:n}=e;return Array.isArray(n)&&n.includes("null")&&(0,ut.A)(t)&&null===r?null:t}function nn(e,t,r,n,s,a=[],i={},c=!1,l=!1){const{emptyObjectFields:u="populateAllDefaults"}=i;if(!0===n||c)e[t]=r;else if("excludeObjectChildren"===n)(l&&void 0!==r||!o(r)||!(0,ut.A)(r))&&(e[t]=r);else if("skipDefaults"!==u){const n=void 0===s?a.includes(t):s;o(r)?"skipEmptyDefaults"===u?(0,ut.A)(r)||(e[t]=r):(0,ut.A)(r)&&!a.includes(t)||!n&&"populateRequiredDefaults"===u||(e[t]=r):void 0!==r&&("populateAllDefaults"===u||"skipEmptyDefaults"===u||n&&a.includes(t))&&(e[t]=r)}}function on(e,t,r={}){const{parentDefaults:n,rawFormData:s,rootSchema:a={},includeUndefinedValues:i=!1,_recurseList:c=[],experimental_defaultFormStateBehavior:m,experimental_customMergeAllOf:p,required:y,shouldMergeDefaultsIntoFormData:g=!1,initialDefaultsGenerated:v}=r;let $=o(s)?s:{};const w=o(t)?t:{};let _=n,A=null,S=m,j=c;if(void 0===w[d]||"never"===(null===m||void 0===m?void 0:m.constAsDefaults)||Yr(w))if(o(_)&&o(w.default))_=Wr(_,w.default);else if(!(f in w)||w[u]||w[b]||w[P]){if(P in w){const e=w[P];c.includes(e)||(j=c.concat(e),A=ar(e,a)),A&&!_&&(_=w.default),g&&A&&!o(s)&&($=s)}else if(h in w){const t={...sn(e,w,r,_),...$};A=kr(e,w,a,!1,[],t,p)[0]}else if(Br(w))_=w.items.map(((t,r)=>on(e,t,{rootSchema:a,includeUndefinedValues:i,_recurseList:c,experimental_defaultFormStateBehavior:m,experimental_customMergeAllOf:p,parentDefaults:Array.isArray(n)?n[r]:void 0,rawFormData:$,required:y,shouldMergeDefaultsIntoFormData:g})));else if(b in w){const{oneOf:t,...r}=w;if(0===t.length)return;const n=cr(w),{type:o="null"}=r;!Array.isArray(o)&&Qr.includes(o)&&"skipOneOf"===(null===S||void 0===S?void 0:S.constAsDefaults)&&(S={...S,constAsDefaults:"never"}),A=t[qr(e,a,null!==s&&void 0!==s?s:w.default,t,0,n,p)],A=fr(r,A)}else if(u in w){const{anyOf:t,...r}=w;if(0===t.length)return;const n=cr(w);A=t[qr(e,a,null!==s&&void 0!==s?s:w.default,t,0,n,p)],A=fr(r,A)}}else _=w.default;else _=w[d];if(A)return on(e,A,{rootSchema:a,includeUndefinedValues:i,_recurseList:j,experimental_defaultFormStateBehavior:S,experimental_customMergeAllOf:p,parentDefaults:_,rawFormData:null!==s&&void 0!==s?s:$,required:y,shouldMergeDefaultsIntoFormData:g,initialDefaultsGenerated:v});void 0===_&&(_=w.default);const E=sn(e,w,r,_);let x=null!==E&&void 0!==E?E:_;if(g){const{arrayMinItems:t={}}=m||{},{mergeExtraDefaults:r}=t,n=function(e,t,r,n,o,s){const a=!Hr(t)&&Jr(e,t,r,s);let i=n;if(a){const e=Xr(t);i=(null===e||void 0===e?void 0:e.some((e=>G(e.value,n))))?n:void 0}const c=t[d]&&"always"===(null===o||void 0===o?void 0:o.constAsDefaults);c&&(i=t.const);return i}(e,w,a,s,m,p);o(s)&&!(l in w)||(x=Gr(x,n,r,!0))}return x}function sn(e,t,r={},n){switch(dr(t)){case"object":return function(e,t,{rawFormData:r,rootSchema:n={},includeUndefinedValues:s=!1,_recurseList:a=[],experimental_defaultFormStateBehavior:i,experimental_customMergeAllOf:c,required:u,shouldMergeDefaultsIntoFormData:f,initialDefaultsGenerated:h}={},m){{const p=o(r)?r:{},y=t,g="populateDefaults"===(null===i||void 0===i?void 0:i.allOf)&&l in y?vr(e,y,n,p,c):y,v=g[d],$=Object.keys(g.properties||{}).reduce(((t,r)=>{var l;const y=(0,W.A)(g,[_,r],{}),$=o(v)&&void 0!==v[r],b=(o(y)&&d in y||$)&&"never"!==(null===i||void 0===i?void 0:i.constAsDefaults)&&!Yr(y);return nn(t,r,on(e,y,{rootSchema:n,_recurseList:a,experimental_defaultFormStateBehavior:i,experimental_customMergeAllOf:c,includeUndefinedValues:!0===s,parentDefaults:(0,W.A)(m,[r]),rawFormData:(0,W.A)(p,[r]),required:null===(l=g.required)||void 0===l?void 0:l.includes(r),shouldMergeDefaultsIntoFormData:f,initialDefaultsGenerated:h}),s,u,g.required,i,b,"null"===(null===y||void 0===y?void 0:y.type)),t}),{});if(g.additionalProperties&&!h){const t=o(g.additionalProperties)?g.additionalProperties:{},r=new Set;o(m)&&Object.keys(m).filter((e=>!g.properties||!g.properties[e])).forEach((e=>r.add(e)));const l=[];Object.keys(p).filter((e=>!g.properties||!g.properties[e])).forEach((e=>{r.add(e),l.push(e)})),r.forEach((r=>{var o;const d=on(e,t,{rootSchema:n,_recurseList:a,experimental_defaultFormStateBehavior:i,experimental_customMergeAllOf:c,includeUndefinedValues:!0===s,parentDefaults:(0,W.A)(m,[r]),rawFormData:(0,W.A)(p,[r]),required:null===(o=g.required)||void 0===o?void 0:o.includes(r),shouldMergeDefaultsIntoFormData:f,initialDefaultsGenerated:h});nn($,r,d,s,u,l)}))}return rn(t,$)}}(e,t,r,n);case"array":return function(e,t,{rawFormData:r,rootSchema:n={},_recurseList:s=[],experimental_defaultFormStateBehavior:a,experimental_customMergeAllOf:i,required:c,requiredAsRoot:l=!1,shouldMergeDefaultsIntoFormData:u,initialDefaultsGenerated:f}={},h){var m,p;const y=t,g=null!==(m=null===a||void 0===a?void 0:a.arrayMinItems)&&void 0!==m?m:{},{populate:v,mergeExtraDefaults:$}=g,b="never"===v,w="requiredOnly"===v,_="all"===v||!b&&!w,A=null!==(p=null===g||void 0===g?void 0:g.computeSkipPopulate)&&void 0!==p?p:()=>!1,S="skipEmptyDefaults"===(null===a||void 0===a?void 0:a.emptyObjectFields)?void 0:[];if(Array.isArray(h)&&(h=h.map(((t,r)=>{const o=tn(y,en.Fallback,r);return on(e,o,{rootSchema:n,_recurseList:s,experimental_defaultFormStateBehavior:a,experimental_customMergeAllOf:i,parentDefaults:t,required:c,shouldMergeDefaultsIntoFormData:u,initialDefaultsGenerated:f})}))),Array.isArray(r)){const t=tn(y);if(b)h=r;else{const o=r.map(((r,o)=>on(e,t,{rootSchema:n,_recurseList:s,experimental_defaultFormStateBehavior:a,experimental_customMergeAllOf:i,rawFormData:r,parentDefaults:(0,W.A)(h,[o]),required:c,shouldMergeDefaultsIntoFormData:u,initialDefaultsGenerated:f})));h=Gr(h,o,(w&&c||_)&&$)}}if(!1===(o(y)&&d in y&&"never"!==(null===a||void 0===a?void 0:a.constAsDefaults))){if(b)return null!==h&&void 0!==h?h:S;if(w&&!c)return h||void 0}let j;const P=Array.isArray(h)?h.length:0;if(!y.minItems||Zr(e,y,n,i)||A(e,y,n)||y.minItems<=P)j=h||!c&&!l?h:S;else{const t=h||[],r=tn(y,en.Invert),o=r.default,l=Array.from({length:y.minItems-P},(()=>on(e,r,{parentDefaults:o,rootSchema:n,_recurseList:s,experimental_defaultFormStateBehavior:a,experimental_customMergeAllOf:i,required:c,shouldMergeDefaultsIntoFormData:u})));j=t.concat(l)}return rn(t,j)}(e,t,r,n)}}function an(e,t,r,n,s=!1,a,i,c){if(!o(t))throw new Error("Invalid schema: "+t);const l=vr(e,t,n,r,i),u=on(e,l,{rootSchema:n,includeUndefinedValues:s,experimental_defaultFormStateBehavior:a,experimental_customMergeAllOf:i,rawFormData:r,shouldMergeDefaultsIntoFormData:!0,initialDefaultsGenerated:c,requiredAsRoot:!0});if("object"!==l.type&&o(l.default))return{...u,...r};if(o(r)||Array.isArray(r)){const{mergeDefaultsIntoFormData:e}=a||{};return Gr(u,r,!0,"useDefaultIfFormDataUndefined"===e,!0)}return u}function cn(e={}){return"widget"in V(e)&&"hidden"!==V(e).widget}function ln(e,t,r={},n,o){if("files"===r[R])return!0;if(t.items){const r=vr(e,t.items,n,void 0,o);return"string"===r.type&&"data-url"===r.format}return!1}!function(e){e[e.Ignore=0]="Ignore",e[e.Invert=1]="Invert",e[e.Fallback=2]="Fallback"}(en||(en={}));const un=Symbol("no Value");function dn(e,t,r,n,o={},s){let a;if((0,H.A)(r,_)){const i={};if((0,H.A)(n,_)){const e=(0,W.A)(n,_,{});Object.keys(e).forEach((e=>{(0,H.A)(o,e)&&(i[e]=void 0)}))}const c=Object.keys((0,W.A)(r,_,{})),l={};c.forEach((a=>{const c=(0,W.A)(o,a);let u=(0,W.A)(n,[_,a],{}),d=(0,W.A)(r,[_,a],{});(0,H.A)(u,P)&&(u=vr(e,u,t,c,s)),(0,H.A)(d,P)&&(d=vr(e,d,t,c,s));const f=(0,W.A)(u,"type"),h=(0,W.A)(d,"type");if(!f||f===h)if((0,H.A)(i,a)&&delete i[a],"object"===h||"array"===h&&Array.isArray(c)){const r=dn(e,t,d,u,c,s);void 0===r&&"array"!==h||(l[a]=r)}else{const e=(0,W.A)(d,"default",un),t=(0,W.A)(u,"default",un);e!==un&&e!==c&&(t===c?i[a]=e:!0===(0,W.A)(d,"readOnly")&&(i[a]=void 0));const r=(0,W.A)(d,"const",un),n=(0,W.A)(u,"const",un);r!==un&&r!==c&&(i[a]=n===c?r:void 0)}})),a={..."string"==typeof o||Array.isArray(o)?void 0:o,...i,...l}}else if("array"===(0,W.A)(n,"type")&&"array"===(0,W.A)(r,"type")&&Array.isArray(o)){let i=(0,W.A)(n,"items"),c=(0,W.A)(r,"items");if("object"!==typeof i||"object"!==typeof c||Array.isArray(i)||Array.isArray(c))"boolean"===typeof i&&"boolean"===typeof c&&i===c&&(a=o);else{(0,H.A)(i,P)&&(i=vr(e,i,t,o,s)),(0,H.A)(c,P)&&(c=vr(e,c,t,o,s));const n=(0,W.A)(i,"type"),l=(0,W.A)(c,"type");if(!n||n===l){const n=(0,W.A)(r,"maxItems",-1);a="object"===l?o.reduce(((r,o)=>{const a=dn(e,t,c,i,o,s);return void 0!==a&&(n<0||r.length<n)&&r.push(a),r}),[]):n>0&&o.length>n?o.slice(0,n):o}}}return a}function fn(e,t,r,n,o,s=[],a){if(P in t||h in t||l in t){const i=vr(e,t,n,o,a);if(-1===s.findIndex((e=>G(e,i))))return fn(e,i,r,n,o,s.concat(i),a)}let i={[$]:r.replace(/^\./,"")};if(b in t||u in t){const c=b in t?t.oneOf:t.anyOf,l=cr(t),u=c[qr(e,n,o,c,0,l,a)];i={...i,...fn(e,u,r,n,o,s,a)}}if(c in t&&!1!==t[c]&&(0,Z.A)(i,I,!0),v in t&&Array.isArray(o)){const{items:c,additionalItems:l}=t;Array.isArray(c)?o.forEach(((t,o)=>{c[o]?i[o]=fn(e,c[o],`${r}.${o}`,n,t,s,a):l?i[o]=fn(e,l,`${r}.${o}`,n,t,s,a):console.warn(`Unable to generate path schema for "${r}.${o}". No schema defined for it`)})):o.forEach(((t,o)=>{i[o]=fn(e,c,`${r}.${o}`,n,t,s,a)}))}else if(_ in t)for(const c in t.properties){const l=(0,W.A)(t,[_,c],{});i[c]=fn(e,l,`${r}.${c}`,n,(0,W.A)(o,[c]),s,a)}return i}function hn(e,t,r="",n,o,s){return fn(e,t,r,n,o,void 0,s)}class mn{constructor(e,t,r,n){t&&t[E]===U?this.rootSchema=nr(t,(0,W.A)(t,y,"#")):this.rootSchema=t,this.validator=e,this.experimental_defaultFormStateBehavior=r,this.experimental_customMergeAllOf=n}getRootSchema(){return this.rootSchema}getValidator(){return this.validator}doesSchemaUtilsDiffer(e,t,r={},n){return!(!e||!t)&&(this.validator!==e||!G(this.rootSchema,t)||!G(this.experimental_defaultFormStateBehavior,r)||this.experimental_customMergeAllOf!==n)}findFieldInSchema(e,t,r){return function(e,t,r,n,o={},s){const a=Array.isArray(n)?[...n]:n.split(".");let i=r;const c=a.pop();a.length&&a.forEach((r=>{i=Rr(e,t,i,[_,r],{},s),(0,H.A)(i,b)?i=Ir(e,t,i,c,b,(0,W.A)(o,r),s):(0,H.A)(i,u)&&(i=Ir(e,t,i,c,u,(0,W.A)(o,r),s))})),(0,H.A)(i,b)?i=Ir(e,t,i,c,b,o,s):(0,H.A)(i,u)&&(i=Ir(e,t,i,c,u,o,s));let l=Rr(e,t,i,[_,c],Tr,s);l===Tr&&(l=void 0);const d=Rr(e,t,i,S,[],s);let f;return l&&Array.isArray(d)&&(f=d.includes(c)),{field:l,isRequired:f}}(this.validator,this.rootSchema,e,t,r,this.experimental_customMergeAllOf)}findSelectedOptionInXxxOf(e,t,r,n){return Ir(this.validator,this.rootSchema,e,t,r,n,this.experimental_customMergeAllOf)}getDefaultFormState(e,t,r=!1,n){return an(this.validator,e,t,this.rootSchema,r,this.experimental_defaultFormStateBehavior,this.experimental_customMergeAllOf,n)}getDisplayLabel(e,t,r){return function(e,t,r={},n,o,s){const a=V(r,o),{label:c=!0}=a;let l=Boolean(c);if(l){const o=dr(t),a=(0,W.A)(t,i,!1);"array"===o&&(l=a||Zr(e,t,n,s)||ln(e,t,r,n,s)||cn(r)),"object"===o&&(l=a),"boolean"===o&&r&&!r[R]&&(l=!1),r&&r["ui:field"]&&(l=!1)}return l}(this.validator,e,t,this.rootSchema,r,this.experimental_customMergeAllOf)}getClosestMatchingOption(e,t,r,n){return qr(this.validator,this.rootSchema,e,t,r,n,this.experimental_customMergeAllOf)}getFirstMatchingOption(e,t,r){return gr(this.validator,e,t,this.rootSchema,r)}getFromSchema(e,t,r){return Rr(this.validator,this.rootSchema,e,t,r,this.experimental_customMergeAllOf)}isFilesArray(e,t){return ln(this.validator,e,t,this.rootSchema,this.experimental_customMergeAllOf)}isMultiSelect(e){return Zr(this.validator,e,this.rootSchema,this.experimental_customMergeAllOf)}isSelect(e){return Jr(this.validator,e,this.rootSchema,this.experimental_customMergeAllOf)}retrieveSchema(e,t,r){return vr(this.validator,e,this.rootSchema,t,this.experimental_customMergeAllOf,r)}sanitizeDataForNewSchema(e,t,r){return dn(this.validator,this.rootSchema,e,t,r,this.experimental_customMergeAllOf)}toPathSchema(e,t,r){return hn(this.validator,e,t,this.rootSchema,r,this.experimental_customMergeAllOf)}}function pn(e,t,r={},n){return new mn(e,t,r,n)}function yn(e,t){return function(e,t){let r=e;if(Array.isArray(t)){const e=r.split(/(%\d)/);t.forEach(((t,r)=>{const n=e.findIndex((e=>e===`%${r+1}`));n>=0&&(e[n]=t)})),r=e.join("")}return r}(e,t)}function gn(e,t=[],r){if(Array.isArray(e))return e.map((e=>gn(e,t))).filter((e=>e!==r));const n=""===e||null===e?-1:Number(e),o=t[n];return o?o.value:r}function vn(e,t,r=[]){const n=gn(e,r);return Array.isArray(t)?t.filter((e=>!G(e,n))):G(n,t)?void 0:t}function $n(e,t){return Array.isArray(t)?t.some((t=>G(t,e))):G(t,e)}function bn(e,t=[],r=!1){const n=t.map(((t,r)=>$n(t.value,e)?String(r):void 0)).filter((e=>"undefined"!==typeof e));return r?n:n[0]}function wn(e,t,r=[]){const n=gn(e,r);if(!Kr(n)){const e=r.findIndex((e=>n===e.value)),o=r.map((({value:e})=>e));return t.slice(0,e).concat(n,t.slice(e)).sort(((e,t)=>Number(o.indexOf(e)>o.indexOf(t))))}return t}var _n=n(20903),An=n(37346);const Sn=function(e,t,r,n){return n="function"==typeof n?n:void 0,null==e?e:(0,An.A)(e,t,r,n)};class jn{constructor(e){this.errorSchema={},this.resetAllErrors(e)}get ErrorSchema(){return this.errorSchema}getOrCreateErrorBlock(e){let t=Array.isArray(e)&&e.length>0||"string"===typeof e?(0,W.A)(this.errorSchema,e):this.errorSchema;return!t&&e&&(t={},Sn(this.errorSchema,e,t,Object)),t}resetAllErrors(e){return this.errorSchema=e?(0,_n.A)(e):{},this}addErrors(e,t){const r=this.getOrCreateErrorBlock(t);let n=(0,W.A)(r,p);return Array.isArray(n)||(n=[],r[p]=n),Array.isArray(e)?(0,Z.A)(r,p,[...new Set([...n,...e])]):(0,Z.A)(r,p,[...new Set([...n,e])]),this}setErrors(e,t){const r=this.getOrCreateErrorBlock(t),n=Array.isArray(e)?[...new Set([...e])]:[e];return(0,Z.A)(r,p,n),this}clearErrors(e){const t=this.getOrCreateErrorBlock(e);return(0,Z.A)(t,p,[]),this}}var Pn=n(45572),En=n(69084),xn=n(83973);const kn=function(e,t){if(null==e)return{};var r=(0,Pn.A)((0,xn.A)(e),(function(e){return[e]}));return t=Se(t),(0,En.A)(e,r,(function(e,r){return t(e,r[0])}))};var On=n(52789);const Nn=function(e,t,r,n){var o=-1,s=tt.A,a=!0,i=e.length,c=[],l=t.length;if(!i)return c;r&&(t=(0,Pn.A)(t,(0,On.A)(r))),n?(s=rt.A,a=!1):t.length>=200&&(s=nt.A,a=!1,t=new et.A(t));e:for(;++o<i;){var u=e[o],d=null==r?u:r(u);if(u=n||0!==u?u:0,a&&d===d){for(var f=l;f--;)if(t[f]===d)continue e;c.push(u)}else s(t,d,n)||c.push(u)}return c};const Cn=(0,Ge.A)((function(e,t){return(0,Ue.A)(e)?Nn(e,(0,Ye.A)(t,1,Ue.A,!0)):[]}));function In(e,t){const r=(0,L.A)(e),n=(0,L.A)(t);if(e===t||!r&&!n)return[];if(r&&!n)return(0,ue.A)(e);if(!r&&n)return(0,ue.A)(t);return[...(0,ue.A)(kn(e,((e,r)=>!G(e,(0,W.A)(t,r))))),...Cn((0,ue.A)(t),(0,ue.A)(e))]}function Dn(e){const t={};return e.multipleOf&&(t.step=e.multipleOf),(e.minimum||0===e.minimum)&&(t.min=e.minimum),(e.maximum||0===e.maximum)&&(t.max=e.maximum),t}function Rn(e,t,r={},n=!0){const o={type:t||"text",...Dn(e)};return r.inputType?o.type=r.inputType:t||("number"===e.type?(o.type="number",n&&void 0===o.step&&(o.step="any")):"integer"===e.type&&(o.type="number",void 0===o.step&&(o.step=1))),r.autocomplete&&(o.autoComplete=r.autocomplete),r.accept&&(o.accept=r.accept),o}const Tn={props:{disabled:!1},submitText:"Submit",norender:!1};function Fn(e={}){const t=V(e);if(t&&t[j]){const e=t[j];return{...Tn,...e}}return Tn}function Mn(e,t,r={}){const{templates:n}=t;if("ButtonTemplates"===e)return n[e];if(Object.hasOwn(r,e)&&"string"===typeof r[e]&&Object.hasOwn(n,r[e])){return n[r[e]]}return r[e]||n[e]}var Un=n(5664);function Vn(){if("undefined"===typeof process||"test"!==(0,W.A)(process,"env.NODE_ENV"))return{};const e=new Map;return new Proxy({},{get:(t,r)=>(e.has(r)||e.set(r,(0,Un.A)("test-id-")),e.get(r))})}var zn=n(74848),Ln=n(96540),qn=n(80782);const Bn={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",time:"TimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function Kn(e,t,r={}){const n=dr(e);if("function"===typeof t||t&&qn.isForwardRef((0,Ln.createElement)(t))||qn.isMemo(t))return function(e){let t=(0,W.A)(e,"MergedWidget");if(!t){const r=e.defaultProps&&e.defaultProps.options||{};t=({options:t,...n})=>(0,zn.jsx)(e,{options:{...r,...t},...n}),(0,Z.A)(e,"MergedWidget",t)}return t}(t);if("string"!==typeof t)throw new Error(`Unsupported widget definition: ${typeof t} in schema: ${JSON.stringify(e)}`);if(t in r){return Kn(e,r[t],r)}if("string"===typeof n){if(!(n in Bn))throw new Error(`No widget for type '${n}' in schema: ${JSON.stringify(e)}`);if(t in Bn[n]){return Kn(e,r[Bn[n][t]],r)}}throw new Error(`No widget '${t}' for type '${n}' in schema: ${JSON.stringify(e)}`)}function Gn(e){return function(e){let t=0;for(let r=0;r<e.length;r+=1)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t.toString(16)}(function(e){const t=new Set;return JSON.stringify(e,((e,r)=>(t.add(e),r))),JSON.stringify(e,Array.from(t).sort())}(e))}function Wn(e){return Gn(e)}function Hn(t,r,n={}){try{return Kn(t,r,n),!0}catch(e){const r=e;if(r.message&&(r.message.startsWith("No widget")||r.message.startsWith("Unsupported widget")))return!1;throw e}}function Jn(e,t){return`${(0,ir.A)(e)?e:e[y]}__${t}`}function Zn(e){return Jn(e,"description")}function Yn(e){return Jn(e,"error")}function Xn(e){return Jn(e,"examples")}function Qn(e){return Jn(e,"help")}function eo(e){return Jn(e,"title")}function to(e,t=!1){const r=t?` ${Xn(e)}`:"";return`${Yn(e)} ${Zn(e)} ${Qn(e)}${r}`}function ro(e,t){return`${e}-${t}`}function no(e,t){return Jn(e,t)}function oo(e,t){return Jn(e,`optional${t}`)}function so(e){return!Kr(e)&&(!(0,ce.A)(e)||Array.isArray(e)||!(0,ut.A)(e))}function ao(e,t,r){return t?r:e}function io(e){return e?new Date(e).toJSON():void 0}function co(e,t,r){const n=[C];return(0,H.A)(e,N)&&n.unshift(N),(0,W.A)(e,[...n,t],r)}function lo(e,t){if(!Array.isArray(t))return e;const r=e=>e.reduce(((e,t)=>(e[t]=!0,e)),{}),n=r(e),o=t.filter((e=>"*"===e||n[e])),s=r(o),a=e.filter((e=>!s[e])),i=o.indexOf("*");if(-1===i){if(a.length)throw new Error("uiSchema order list does not contain "+((c=a).length>1?`properties '${c.join("', '")}'`:`property '${c[0]}'`));return o}var c;if(i!==o.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");const l=[...o];return l.splice(i,1,...a),l}function uo(e){if(e.const)return!0;if(e.enum&&1===e.enum.length&&!0===e.enum[0])return!0;if(e.anyOf&&1===e.anyOf.length)return uo(e.anyOf[0]);if(e.oneOf&&1===e.oneOf.length)return uo(e.oneOf[0]);if(e.allOf){const t=e=>uo(e);return e.allOf.some(t)}return!1}function fo(e,t){if(Object.is(e,t))return!0;if(null==e||null==t)return!1;if("object"!==typeof e||"object"!==typeof t)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const n=r[o];if(!Object.prototype.hasOwnProperty.call(t,n)||!Object.is(e[n],t[n]))return!1}return!0}function ho(e,t,r,n="customDeep"){if("always"===n)return!0;if("shallow"===n){const{props:n,state:o}=e;return!fo(n,t)||!fo(o,r)}const{props:o,state:s}=e;return!G(o,t)||!G(s,r)}function mo(e){const t=lt(e.map((e=>(0,ce.A)(e)?dr(e):void 0)).flat().filter((e=>void 0!==e)));return 1===t.length?t[0]:t}function po(e,t,r,n){const{enableOptionalDataFieldForType:o=[]}=V(n,e.globalUiOptions);let s;return s=u in t&&Array.isArray(t[u])?mo(t[u]):b in t&&Array.isArray(t[b])?mo(t[b]):dr(t),!function(e,t){const{rootSchema:r,schemaUtils:n}=e;if((0,J.A)(t,r))return!0;if(P in r){const e=n.retrieveSchema(r);return(0,J.A)(t,e)}return!1}(e,t)&&!r&&!!s&&!Array.isArray(s)&&!!o.find((e=>e===s))}function yo(e,t=[]){if(!e)return[];let r=[];return p in e&&(r=r.concat(e[p].map((e=>{const r=`.${t.join(".")}`;return{property:r,message:e,stack:`${r} ${e}`}})))),Object.keys(e).reduce(((r,n)=>{if(n!==p){const o=e[n];(0,L.A)(o)&&(r=r.concat(yo(o,[...t,n])))}return r}),r)}var go,vo=n(36904);function $o(e){const t=new jn;return e.length&&e.forEach((e=>{const{property:r,message:n}=e,o="."===r?[]:(0,vo.A)(r);o.length>0&&""===o[0]&&o.splice(0,1),n&&t.addErrors(n,o)})),t.ErrorSchema}function bo(e,t,r,n){const o=Array.isArray(r)?r:null===r||void 0===r?void 0:r.path,s=""===e?[]:[e],a=o?o.concat(...s):s,i=[t.idPrefix,...a].join(t.idSeparator);let c;return t.nameGenerator&&a.length>0&&(c=t.nameGenerator(a,t.idPrefix,n)),{path:a,[y]:i,...void 0!==c&&{name:c}}}function wo(e){return Object.keys(e).reduce(((t,r)=>{if("addError"===r)return t;{const n=e[r];return(0,L.A)(n)?{...t,[r]:wo(n)}:{...t,[r]:n}}}),{})}function _o(e,t){let r=String(e);for(;r.length<t;)r="0"+r;return r}function Ao(e,t){if(e<=0&&t<=0)e=(new Date).getFullYear()+e,t=(new Date).getFullYear()+t;else if(e<0||t<0)throw new Error(`Both start (${e}) and stop (${t}) must both be <= 0 or > 0, got one of each`);if(e>t)return Ao(t,e).reverse();const r=[];for(let n=e;n<=t;n++)r.push({value:n,label:_o(n,2)});return r}function So(e,t=!0){if(!e)return{year:-1,month:-1,day:-1,hour:t?-1:0,minute:t?-1:0,second:t?-1:0};const r=new Date(e);if(Number.isNaN(r.getTime()))throw new Error("Unable to parse date "+e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:t?r.getUTCHours():0,minute:t?r.getUTCMinutes():0,second:t?r.getUTCSeconds():0}}function jo(e,t=!0){const{year:r,month:n,day:o,hour:s=0,minute:a=0,second:i=0}=e,c=Date.UTC(r,n-1,o,s,a,i),l=new Date(c).toJSON();return t?l:l.slice(0,10)}function Po(e){const{className:t="form-control",type:r,range:n,value:o,select:s,rootId:a,name:i,disabled:c,readonly:l,autofocus:u,registry:d,onBlur:f,onFocus:h}=e,m=`${a}_${r}`,{SelectWidget:p}=d.widgets,y=(0,Ln.useCallback)((e=>s(r,e)),[s,r]);return(0,zn.jsx)(p,{schema:{type:"integer"},id:m,name:i,className:t,options:{enumOptions:Ao(n[0],n[1])},placeholder:r,value:o,disabled:c,readonly:l,autofocus:u,onChange:y,onBlur:f,onFocus:h,registry:d,label:"","aria-describedby":to(a)})}function Eo(e){const{time:t=!1,disabled:r=!1,readonly:n=!1,options:o,onChange:s,value:a}=e,[i,c]=(0,Ln.useState)(So(a,t));(0,Ln.useEffect)((()=>{c(So(a,t))}),[t,a]);const l=(0,Ln.useCallback)(((e,r)=>{const n={...i,[e]:"undefined"===typeof r?-1:r};!function(e){return Object.values(e).every((e=>-1!==e))}(n)?c(n):s(jo(n,t))}),[i,s,t]),u=(0,Ln.useCallback)((e=>{e.preventDefault(),r||n||s(void 0)}),[r,n,s]),d=(0,Ln.useCallback)((e=>{if(e.preventDefault(),r||n)return;const o=So((new Date).toJSON(),t);s(jo(o,t))}),[r,n,t,s]);return{elements:(0,Ln.useMemo)((()=>function(e,t,r=[1900,(new Date).getFullYear()+2],n="YMD"){const{day:o,month:s,year:a,hour:i,minute:c,second:l}=e,u={type:"day",range:[1,31],value:o},d={type:"month",range:[1,12],value:s},f={type:"year",range:r,value:a},h=[];switch(n){case"MDY":h.push(d,u,f);break;case"DMY":h.push(u,d,f);break;default:h.push(f,d,u)}return t&&h.push({type:"hour",range:[0,23],value:i},{type:"minute",range:[0,59],value:c},{type:"second",range:[0,59],value:l}),h}(i,t,o.yearsRange,o.format)),[i,t,o.yearsRange,o.format]),handleChange:l,handleClear:u,handleSetNow:d}}function xo(e){const t=(0,Ln.useRef)(e);return(0,J.A)(e,t.current)||(t.current=e),t.current}function ko(e,t){return e.replace(";base64",`;name=${encodeURIComponent(t)};base64`)}function Oo(e){const{name:t,size:r,type:n}=e;return new Promise(((o,s)=>{const a=new window.FileReader;a.onerror=s,a.onload=e=>{var s;"string"===typeof(null===(s=e.target)||void 0===s?void 0:s.result)?o({dataURL:ko(e.target.result,t),name:t,size:r,type:n}):o({dataURL:null,name:t,size:r,type:n})},a.readAsDataURL(e)}))}function No(e){return e.reduce(((e,t)=>{if(!t)return e;try{const{blob:r,name:n}=function(e){var t;if(-1===e.indexOf("data:"))throw new Error("File is invalid: URI must be a dataURI");const r=e.slice(5).split(";base64,");if(2!==r.length)throw new Error("File is invalid: dataURI must be base64");const[n,o]=r,[s,...a]=n.split(";"),i=s||"",c=decodeURI((null===(t=a.map((e=>e.split("="))).find((([e])=>"name"===e)))||void 0===t?void 0:t[1])||"unknown");try{const e=atob(o),t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return{blob:new window.Blob([new Uint8Array(t)],{type:i}),name:c}}catch(l){throw new Error("File is invalid: "+l.message)}}(t);return[...e,{dataURL:t,name:n,size:r.size,type:r.type}]}catch(r){return e}}),[])}function Co(e,t,r=!1){const n=(0,Ln.useMemo)((()=>r&&e?Array.isArray(e)?e:[e]:[]),[e,r]);return{filesInfo:(0,Ln.useMemo)((()=>Array.isArray(e)?No(e):No([e||""])),[e]),handleChange:(0,Ln.useCallback)((e=>{(function(e){return Promise.all(Array.from(e).map(Oo))})(e).then((e=>{const o=e.map((e=>e.dataURL||null));t(r?n.concat(...o):o[0])}))}),[n,r,t]),handleRemove:(0,Ln.useCallback)((e=>{if(r){const r=n.filter(((t,r)=>r!==e));t(r)}else t(void 0)}),[n,r,t])}}function Io(e){if(!e)return"";const t=new Date(e);return`${_o(t.getFullYear(),4)}-${_o(t.getMonth()+1,2)}-${_o(t.getDate(),2)}T${_o(t.getHours(),2)}:${_o(t.getMinutes(),2)}:${_o(t.getSeconds(),2)}.${_o(t.getMilliseconds(),3)}`}function Do(e,t,r=!1){if(!t)return e;const{errors:n,errorSchema:o}=e;let s=yo(t),a=t;return(0,ut.A)(o)||(a=Wr(o,t,!r||"preventDuplicates"),s=[...n].concat(s)),{errorSchema:a,errors:s}}function Ro(e){return Array.isArray(e)?function(e){for(let t=0;t<e.length;t++)e[t]=Ro(e[t]);return e}([...e]):(0,ce.A)(e)?function(e){for(const t in e){const r=e,n=r[t];t===P&&"string"===typeof n&&n.startsWith("#")?r[t]=D+n:r[t]=Ro(n)}return e}({...e}):e}!function(e){e.ArrayItemTitle="Item",e.MissingItems="Missing items definition",e.EmptyArray="No items yet. Use the button below to add some.",e.YesLabel="Yes",e.NoLabel="No",e.CloseLabel="Close",e.ErrorsLabel="Errors",e.NewStringDefault="New Value",e.AddButton="Add",e.AddItemButton="Add Item",e.CopyButton="Copy",e.MoveDownButton="Move down",e.MoveUpButton="Move up",e.RemoveButton="Remove",e.NowLabel="Now",e.ClearLabel="Clear",e.AriaDateLabel="Select a date",e.PreviewLabel="Preview",e.DecrementAriaLabel="Decrease value by 1",e.IncrementAriaLabel="Increase value by 1",e.OptionalObjectAdd="Add data for optional field",e.OptionalObjectRemove="Remove data for optional field",e.OptionalObjectEmptyMsg="No data for optional field",e.Type="Type",e.Value="Value",e.UnknownFieldType="Unknown field type %1",e.OptionPrefix="Option %1",e.TitleOptionPrefix="%1 option %2",e.KeyLabel="%1 Key",e.InvalidObjectField='Invalid "%1" object field configuration: _%2_.',e.UnsupportedField="Unsupported field schema.",e.UnsupportedFieldWithId="Unsupported field schema for field `%1`.",e.UnsupportedFieldWithReason="Unsupported field schema: _%1_.",e.UnsupportedFieldWithIdAndReason="Unsupported field schema for field `%1`: _%2_.",e.FilesInfo="**%1** (%2, %3 bytes)"}(go||(go={}))},65219:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.resolveSchema=r.getCompilingSchema=r.resolveRef=r.compileSchema=r.SchemaEnv=void 0;const o=n(93789),s=n(99598),a=n(66735),i=n(63043),c=n(7083),l=n(69810);class u{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,i.normalizeId)(null===r||void 0===r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null===r||void 0===r?void 0:r.$async,this.refs={}}}function d(t){const r=h.call(this,t);if(r)return r;const n=(0,i.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:c,lines:u}=this.opts.code,{ownProperties:d}=this.opts,f=new o.CodeGen(this.scope,{es5:c,lines:u,ownProperties:d});let m;t.$async&&(m=f.scopeValue("Error",{ref:s.default,code:o._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");t.validateName=p;const y={gen:f,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[o.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:t.schema,code:(0,o.stringify)(t.schema)}:{ref:t.schema}),validateName:p,ValidationError:m,schema:t.schema,schemaEnv:t,rootId:n,baseId:t.baseId||n,schemaPath:o.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:o._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(t),(0,l.validateFunctionCode)(y),f.optimize(this.opts.code.optimize);const e=f.toString();g=`${f.scopeRefs(a.default.scope)}return ${e}`,this.opts.code.process&&(g=this.opts.code.process(g,t));const r=new Function(`${a.default.self}`,`${a.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:r}),r.errors=null,r.schema=t.schema,r.schemaEnv=t,t.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:p,validateCode:e,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=y;r.evaluated={props:e instanceof o.Name?void 0:e,items:t instanceof o.Name?void 0:t,dynamicProps:e instanceof o.Name,dynamicItems:t instanceof o.Name},r.source&&(r.source.evaluated=(0,o.stringify)(r.evaluated))}return t.validate=r,t}catch(e){throw delete t.validate,delete t.validateName,g&&this.logger.error("Error compiling schema, function code:",g),e}finally{this._compilations.delete(t)}}function f(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:d.call(this,e)}function h(e){for(const n of this._compilations)if(r=e,(t=n).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return n;var t,r}function m(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||p.call(this,e,t)}function p(e,t){const r=this.opts.uriResolver.parse(t),n=(0,i._getFullPath)(this.opts.uriResolver,r);let o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===o)return g.call(this,r,e);const s=(0,i.normalizeId)(n),a=this.refs[s]||this.schemas[s];if("string"==typeof a){const t=p.call(this,e,a);if("object"!==typeof(null===t||void 0===t?void 0:t.schema))return;return g.call(this,r,t)}if("object"===typeof(null===a||void 0===a?void 0:a.schema)){if(a.validate||d.call(this,a),s===(0,i.normalizeId)(t)){const{schema:t}=a,{schemaId:r}=this.opts,n=t[r];return n&&(o=(0,i.resolveUrl)(this.opts.uriResolver,o,n)),new u({schema:t,schemaId:r,root:e,baseId:o})}return g.call(this,r,a)}}r.SchemaEnv=u,r.compileSchema=d,r.resolveRef=function(e,t,r){var n;r=(0,i.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let s=m.call(this,e,r);if(void 0===s){const o=null===(n=e.localRefs)||void 0===n?void 0:n[r],{schemaId:a}=this.opts;o&&(s=new u({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==s?e.refs[r]=f.call(this,s):void 0},r.getCompilingSchema=h,r.resolveSchema=p;const y=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:r,root:n}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const l of e.fragment.slice(1).split("/")){if("boolean"===typeof r)return;const e=r[(0,c.unescapeFragment)(l)];if(void 0===e)return;const n="object"===typeof(r=e)&&r[this.opts.schemaId];!y.has(l)&&n&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,n))}let s;if("boolean"!=typeof r&&r.$ref&&!(0,c.schemaHasRulesButRef)(r,this.RULES)){const e=(0,i.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=p.call(this,n,e)}const{schemaId:a}=this.opts;return s=s||new u({schema:r,schemaId:a,root:n,baseId:t}),s.schema!==s.root.schema?s:void 0}},65255:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const n=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)};var o=Math.max;const s=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var s=arguments,a=-1,i=o(s.length-t,0),c=Array(i);++a<i;)c[a]=s[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=s[a];return l[t]=r(c),n(e,this,l)}}},65335:(e,t)=>{"use strict";function r(e,t){return t.rules.some((t=>n(e,t)))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){const o=t.RULES.types[n];return o&&!0!==o&&r(e,o)},t.shouldUseGroup=r,t.shouldUseRule=n},65373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=o},65633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(56699),o=r(19205);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:s,schemaPath:a,errSchemaPath:i,topSchemaRef:c}){if(void 0!==t&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const s=e.schema[t];return void 0===r?{schema:s,schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(r)}`}}if(void 0!==s){if(void 0===a||void 0===i||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:s,data:a,dataTypes:i,propertyName:c}){if(void 0!==a&&void 0!==r)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==r){const{errorPath:a,dataPathArr:i,opts:c}=t;u(l.let("data",n._`${t.data}${(0,n.getProperty)(r)}`,!0)),e.errorPath=n.str`${a}${(0,o.getErrorPath)(r,s,c.jsPropertySyntax)}`,e.parentDataProperty=n._`${r}`,e.dataPathArr=[...i,e.parentDataProperty]}if(void 0!==a){u(a instanceof n.Name?a:l.let("data",a,!0)),void 0!==c&&(e.propertyName=c)}function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}i&&(e.dataTypes=i)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:o,allErrors:s}){void 0!==n&&(e.compositeRule=n),void 0!==o&&(e.createErrors=o),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r}},66318:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(87465),o=r(30901);const s=function(e,t){for(var r=0,s=(t=(0,n.A)(t,e)).length;null!=e&&r<s;)e=e[(0,o.A)(t[r++])];return r&&r==s?e:void 0}},66401:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(14453),o=r(9137),s=r(25175),a=r(92049),i=r(38446),c=r(41200),l=r(97271),u=r(54749),d=Object.prototype.hasOwnProperty;const f=function(e){if(null==e)return!0;if((0,i.A)(e)&&((0,a.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,c.A)(e)||(0,u.A)(e)||(0,s.A)(e)))return!e.length;var t=(0,o.A)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,l.A)(e))return!(0,n.A)(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},66542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(43402),o=r(97193),s=r(40154),a=r(56699),i=r(19205);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c||(t.DataType=c={})),t.getSchemaTypes=function(e){const t=l(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=l,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:n,opts:s}=e,i=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,s.coerceTypes),l=t.length>0&&!(0===i.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(l){const o=f(t,n,s.strictNumbers,c.Wrong);r.if(o,(()=>{i.length?function(e,t,r){const{gen:n,data:o,opts:s}=e,i=n.let("dataType",a._`typeof ${o}`),c=n.let("coerced",a._`undefined`);"array"===s.coerceTypes&&n.if(a._`${i} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>n.assign(o,a._`${o}[0]`).assign(i,a._`typeof ${o}`).if(f(t,o,s.strictNumbers),(()=>n.assign(c,o)))));n.if(a._`${c} !== undefined`);for(const a of r)(u.has(a)||"array"===a&&"array"===s.coerceTypes)&&l(a);function l(e){switch(e){case"string":return void n.elseIf(a._`${i} == "number" || ${i} == "boolean"`).assign(c,a._`"" + ${o}`).elseIf(a._`${o} === null`).assign(c,a._`""`);case"number":return void n.elseIf(a._`${i} == "boolean" || ${o} === null
              || (${i} == "string" && ${o} && ${o} == +${o})`).assign(c,a._`+${o}`);case"integer":return void n.elseIf(a._`${i} === "boolean" || ${o} === null
              || (${i} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(c,a._`+${o}`);case"boolean":return void n.elseIf(a._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(c,!1).elseIf(a._`${o} === "true" || ${o} === 1`).assign(c,!0);case"null":return n.elseIf(a._`${o} === "" || ${o} === 0 || ${o} === false`),void n.assign(c,null);case"array":n.elseIf(a._`${i} === "string" || ${i} === "number"
              || ${i} === "boolean" || ${o} === null`).assign(c,a._`[${o}]`)}}n.else(),m(e),n.endIf(),n.if(a._`${c} !== undefined`,(()=>{n.assign(o,c),function({gen:e,parentData:t,parentDataProperty:r},n){e.if(a._`${t} !== undefined`,(()=>e.assign(a._`${t}[${r}]`,n)))}(e,c)}))}(e,t,i):m(e)}))}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,r,n=c.Correct){const o=n===c.Correct?a.operators.EQ:a.operators.NEQ;let s;switch(e){case"null":return a._`${t} ${o} null`;case"array":s=a._`Array.isArray(${t})`;break;case"object":s=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=i(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=i();break;default:return a._`typeof ${t} ${o} ${e}`}return n===c.Correct?s:(0,a.not)(s);function i(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,r?a._`isFinite(${t})`:a.nil)}}function f(e,t,r,n){if(1===e.length)return d(e[0],t,r,n);let o;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=a._`typeof ${t} != "object"`;o=s.null?e:a._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else o=a.nil;s.number&&delete s.integer;for(const i in s)o=(0,a.and)(o,d(i,t,r,n));return o}t.checkDataType=d,t.checkDataTypes=f;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function m(e){const t=function(e){const{gen:t,data:r,schema:n}=e,o=(0,i.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:e}}(e);(0,s.reportError)(t,h)}t.reportTypeError=m},66636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7083),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(o,t))return;const a=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s),e.mergeEvaluated(a)}))}};t.default=o},66735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=o},66984:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){return e===t||e!==e&&t!==t}},67208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s=r(62235),a=r(22891),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,(0,o.alwaysValidSchema)(n,t)||(i?(0,a.validateAdditionalItems)(e,i):e.ok((0,s.validateArray)(e)))}};t.default=i},67366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const n=r(93789),o=r(7083),s=r(21085),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return i(e,"additionalItems",t);r.items=!0,(0,o.alwaysValidSchema)(r,t)||e.ok((0,s.validateArray)(e))}};function i(e,t,r=e.schema){const{gen:s,parentSchema:a,data:i,keyword:c,it:l}=e;!function(e){const{opts:n,errSchemaPath:s}=l,a=r.length,i=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(n.strictTuples&&!i){const e=`"${c}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,o.checkStrictMode)(l,e,n.strictTuples)}}(a),l.opts.unevaluated&&r.length&&!0!==l.items&&(l.items=o.mergeEvaluated.items(s,r.length,l.items));const u=s.name("valid"),d=s.const("len",n._`${i}.length`);r.forEach(((t,r)=>{(0,o.alwaysValidSchema)(l,t)||(s.if(n._`${d} > ${r}`,(()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},u))),e.ok(u))}))}t.validateTuple=i,t.default=a},67908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(19205),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t.default=o},68182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(14018),o=r(26461),s=r(93789),a=new s.Name("fullFormats"),i=new s.Name("fastFormats"),c=(e,t={keywords:!0})=>{if(Array.isArray(t))return l(e,t,n.fullFormats,a),e;const[r,s]="fast"===t.mode?[n.fastFormats,i]:[n.fullFormats,a];return l(e,t.formats||n.formatNames,r,s),t.keywords&&o.default(e),e};function l(e,t,r,n){var o,a;null!==(o=(a=e.opts.code).formats)&&void 0!==o||(a.formats=s._`require("ajv-formats/dist/formats").${n}`);for(const s of t)e.addFormat(s,r[s])}c.get=(e,t="full")=>{const r=("fast"===t?n.fastFormats:n.fullFormats)[e];if(!r)throw new Error(`Unknown format "${e}"`);return r},e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c},68335:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(28562),o=r(41917);const s=(0,n.A)(o.A,"Map")},68729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=r},69084:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(66318),o=r(37346),s=r(87465);const a=function(e,t,r){for(var a=-1,i=t.length,c={};++a<i;){var l=t[a],u=(0,n.A)(e,l);r(u,l)&&(0,o.A)(c,(0,s.A)(l,e),u)}return c}},69810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(15583),o=r(28840),s=r(65335),a=r(28840),i=r(75590),c=r(62657),l=r(41924),u=r(93789),d=r(66735),f=r(63043),h=r(7083),m=r(22796);function p({gen:e,validateName:t,schema:r,schemaEnv:n,opts:o},s){o.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,n.$async,(()=>{e.code(u._`"use strict"; ${y(r,o)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)}))}(e,o),e.code(s)})):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(o)}`,n.$async,(()=>e.code(y(r,o)).code(s)))}function y(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?u._`/*# sourceURL=${r} */`:u.nil}function g(e,t){$(e)&&(b(e),v(e))?function(e,t){const{schema:r,gen:n,opts:o}=e;o.$comment&&r.$comment&&_(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const s=n.const("_errs",d.default.errors);w(e,s),n.var(t,u._`${s} === ${d.default.errors}`)}(e,t):(0,n.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function $(e){return"boolean"!=typeof e.schema}function b(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:o}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function w(e,t){if(e.opts.jtd)return A(e,[],!1,t);const r=(0,o.getSchemaTypes)(e.schema);A(e,r,!(0,o.coerceAndCheckDataType)(e,r),t)}function _({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:o}){const s=r.$comment;if(!0===o.$comment)e.code(u._`${d.default.self}.logger.log(${s})`);else if("function"==typeof o.$comment){const r=u.str`${n}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${s}, ${r}, ${o}.schema)`)}}function A(e,t,r,n){const{gen:o,schema:i,data:c,allErrors:l,opts:f,self:m}=e,{RULES:p}=m;function y(h){(0,s.shouldUseGroup)(i,h)&&(h.type?(o.if((0,a.checkDataType)(h.type,c,f.strictNumbers)),S(e,h),1===t.length&&t[0]===h.type&&r&&(o.else(),(0,a.reportTypeError)(e)),o.endIf()):S(e,h),l||o.if(u._`${d.default.errors} === ${n||0}`))}!i.$ref||!f.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(i,p)?(f.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{P(e.dataTypes,t)||E(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const r=[];for(const n of e.dataTypes)P(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&E(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const r=e.self.RULES.all;for(const n in r){const o=r[n];if("object"==typeof o&&(0,s.shouldUseRule)(e.schema,o)){const{type:r}=o.definition;r.length&&!r.some((e=>j(t,e)))&&E(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of p.rules)y(e);y(p.post)}))):o.block((()=>k(e,"$ref",p.all.$ref.definition)))}function S(e,t){const{gen:r,schema:n,opts:{useDefaults:o}}=e;o&&(0,i.assignDefaults)(e,t.type),r.block((()=>{for(const r of t.rules)(0,s.shouldUseRule)(n,r)&&k(e,r.keyword,r.definition,t.type)}))}function j(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function P(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function E(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){$(e)&&(b(e),v(e))?function(e){const{schema:t,opts:r,gen:n}=e;p(e,(()=>{r.$comment&&t.$comment&&_(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(d.default.vErrors,null),n.let(d.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",u._`${r}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:o,opts:s}=e;r.$async?t.if(u._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(u._`new ${o}(${d.default.vErrors})`))):(t.assign(u._`${n}.errors`,d.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof u.Name&&e.assign(u._`${t}.props`,r);n instanceof u.Name&&e.assign(u._`${t}.items`,n)}(e),t.return(u._`${d.default.errors} === 0`))}(e)}))}(e):p(e,(()=>(0,n.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,r){if((0,c.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",C(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,r){this.failResult((0,u.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?m.reportExtraError:m.reportError)(this,this.def.error,t)}$dataError(){(0,m.reportError)(this,this.def.$dataError||m.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,m.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=u.nil){this.gen.block((()=>{this.check$data(e,r),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:o,def:s}=this;r.if((0,u.or)(u._`${n} === undefined`,t)),e!==u.nil&&r.assign(e,!0),(o.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:o}=this;return(0,u.or)(function(){if(r.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return u._`${(0,a.checkDataTypes)(e,t,o.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return u._`!${r}(${t})`}return u.nil}())}subschema(e,t){const r=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(r,this.it,e),(0,l.extendSubschemaMode)(r,e);const n={...this.it,...r,items:void 0,props:void 0};return g(n,t),n}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=h.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=h.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function k(e,t,r,n){const o=new x(e,r,t);"code"in r?r.code(o,n):o.$data&&r.validate?(0,c.funcKeywordCode)(o,r):"macro"in r?(0,c.macroKeywordCode)(o,r):(r.compile||r.validate)&&(0,c.funcKeywordCode)(o,r)}t.KeywordCxt=x;const O=/^\/(?:[^~]|~0|~1)*$/,N=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function C(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let o,s;if(""===e)return d.default.rootData;if("/"===e[0]){if(!O.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,s=d.default.rootData}else{const a=N.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+a[1];if(o=a[2],"#"===o){if(i>=t)throw new Error(c("property/index",i));return n[t-i]}if(i>t)throw new Error(c("data",i));if(s=r[t-i],!o)return s}let a=s;const i=o.split("/");for(const l of i)l&&(s=u._`${s}${(0,u.getProperty)((0,h.unescapeJsonPointer)(l))}`,a=u._`${a} && ${s}`);return a;function c(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=C},70303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63043);class o extends Error{constructor(e,t,r,o){super(o||`can't resolve reference ${r} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,r),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=o},70866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7083),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t.default=o},71273:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(93789),o=r(7083),s=r(21085);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const o=1===t?"property":"properties";return n.str`must have ${o} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:o}})=>n._`{property: ${e},
    missingProperty: ${o},
    depsCount: ${t},
    deps: ${r}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const n in e){if("__proto__"===n)continue;(Array.isArray(e[n])?t:r)[n]=e[n]}return[t,r]}(e);i(e,t),c(e,r)}};function i(e,t=e.schema){const{gen:r,data:o,it:a}=e;if(0===Object.keys(t).length)return;const i=r.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,s.propertyInData)(r,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),a.allErrors?r.if(u,(()=>{for(const t of l)(0,s.checkReportMissingProp)(e,t)})):(r.if(n._`${u} && (${(0,s.checkMissingProp)(e,l,i)})`),(0,s.reportMissingProp)(e,i),r.else())}}function c(e,t=e.schema){const{gen:r,data:n,keyword:a,it:i}=e,c=r.name("valid");for(const l in t)(0,o.alwaysValidSchema)(i,t[l])||(r.if((0,s.propertyInData)(r,n,l,i.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:l},c);e.mergeValidEvaluated(t,c)}),(()=>r.var(c,!0))),e.ok(c))}t.validatePropertyDeps=i,t.validateSchemaDeps=c,t.default=a},72104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class o extends r{constructor(e){super(),this._items="string"===typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function s(e,...t){const r=[e[0]];let n=0;for(;n<t.length;)c(r,t[n]),r.push(e[++n]);return new o(r)}t._Code=o,t.nil=new o(""),t._=s;const a=new o("+");function i(e,...t){const r=[u(e[0])];let n=0;for(;n<t.length;)r.push(a),c(r,t[n]),r.push(a,u(e[++n]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const r=l(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new o(r)}function c(e,t){var r;t instanceof o?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:u(Array.isArray(r)?r.join(","):r))}function l(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=i,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:i`${e}${t}`},t.stringify=function(e){return new o(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):s`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},72129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(40154),o=r(56699),s=r(65373),a={message:"boolean schema is false"};function i(e,t){const{gen:r,data:o}=e,s={gen:r,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,n.reportError)(s,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:n}=e;!1===r?i(e,!1):"object"==typeof r&&!0===r.$async?t.return(s.default.data):(t.assign(o._`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),i(e)):r.var(t,!0)}},72136:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n="object"==typeof global&&global&&global.Object===Object&&global},72482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(32017);n.code='require("ajv/dist/runtime/equal").default',t.default=n},72641:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},73929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},75590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const n=r(93789),o=r(7083);function s(e,t,r){const{gen:s,compositeRule:a,data:i,opts:c}=e;if(void 0===r)return;const l=n._`${i}${(0,n.getProperty)(t)}`;if(a)return void(0,o.checkStrictMode)(e,`default is ignored for: ${l}`);let u=n._`${l} === undefined`;"empty"===c.useDefaults&&(u=n._`${u} || ${l} === null || ${l} === ""`),s.if(u,n._`${l} = ${(0,n.stringify)(r)}`)}t.assignDefaults=function(e,t){const{properties:r,items:n}=e.schema;if("object"===t&&r)for(const o in r)s(e,o,r[o].default);else"array"===t&&Array.isArray(n)&&n.forEach(((t,r)=>s(e,r,t.default)))}},76912:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},76976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(48343);n.code='require("ajv/dist/runtime/uri").default',t.default=n},77013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(27420),s=r(65219),a=r(70303),i=r(7083),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>n._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){const{gen:t,data:r,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",!1),m=t.const("tag",n._`${r}${(0,n.getProperty)(f)}`);function p(r){const o=t.name("valid"),s=e.subschema({keyword:"oneOf",schemaProp:r},o);return e.mergeEvaluated(s,n.Name),o}t.if(n._`typeof ${m} == "string"`,(()=>function(){const r=function(){var e;const t={},r=o(l);let n=!0;for(let l=0;l<d.length;l++){let t=d[l];if((null===t||void 0===t?void 0:t.$ref)&&!(0,i.schemaHasRulesButRef)(t,u.self.RULES)){const e=t.$ref;if(t=s.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),t instanceof s.SchemaEnv&&(t=t.schema),void 0===t)throw new a.default(u.opts.uriResolver,u.baseId,e)}const h=null===(e=null===t||void 0===t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n=n&&(r||o(t)),c(h,l)}if(!n)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const r of e.enum)h(r,t)}}function h(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(n._`${m} === ${e}`),t.assign(h,p(r[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:m,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:m,tagName:f}))),e.ok(h)}};t.default=c},77500:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(66318);const o=function(e,t,r){var o=null==e?void 0:(0,n.A)(e,t);return void 0===o?r:o}},78013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21085),o=r(93789),s=r(7083),a=r(7083),i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,n.allSchemaProperties)(r),f=d.filter((e=>(0,s.alwaysValidSchema)(l,r[e])));if(0===d.length||f.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const h=u.strictSchema&&!u.allowMatchingProperties&&c.properties,m=t.name("valid");!0===l.props||l.props instanceof o.Name||(l.props=(0,a.evaluatedPropsToName)(t,l.props));const{props:p}=l;function y(e){for(const t in h)new RegExp(e).test(t)&&(0,s.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(r){t.forIn("key",i,(s=>{t.if(o._`${(0,n.usePattern)(e,r)}.test(${s})`,(()=>{const n=f.includes(r);n||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:a.Type.Str},m),l.opts.unevaluated&&!0!==p?t.assign(o._`${p}[${s}]`,!0):n||l.allErrors||t.if((0,o.not)(m),(()=>t.break()))}))}))}!function(){for(const e of d)h&&y(e),l.allErrors?g(e):(t.var(m,!0),g(e),t.if(m))}()}};t.default=i},79756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=r(28132),o=r(26594),s=r(50575),a=r(37805),i=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends n.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,i):a;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=r(79888);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=r(56699);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=r(36024);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=r(39889);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})},79841:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(97132),o=r(27422);const s=function(e,t){return e&&(0,n.A)(e,t,o.A)}},79888:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(72129),o=r(66542),s=r(97193),a=r(66542),i=r(99524),c=r(64147),l=r(65633),u=r(56699),d=r(65373),f=r(9737),h=r(19205),m=r(40154);function p({gen:e,validateName:t,schema:r,schemaEnv:n,opts:o},s){o.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,n.$async,(()=>{e.code(u._`"use strict"; ${y(r,o)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)}))}(e,o),e.code(s)})):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(o)}`,n.$async,(()=>e.code(y(r,o)).code(s)))}function y(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?u._`/*# sourceURL=${r} */`:u.nil}function g(e,t){$(e)&&(b(e),v(e))?function(e,t){const{schema:r,gen:n,opts:o}=e;o.$comment&&r.$comment&&_(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const s=n.const("_errs",d.default.errors);w(e,s),n.var(t,u._`${s} === ${d.default.errors}`)}(e,t):(0,n.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function $(e){return"boolean"!=typeof e.schema}function b(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:o}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function w(e,t){if(e.opts.jtd)return A(e,[],!1,t);const r=(0,o.getSchemaTypes)(e.schema);A(e,r,!(0,o.coerceAndCheckDataType)(e,r),t)}function _({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:o}){const s=r.$comment;if(!0===o.$comment)e.code(u._`${d.default.self}.logger.log(${s})`);else if("function"==typeof o.$comment){const r=u.str`${n}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${s}, ${r}, ${o}.schema)`)}}function A(e,t,r,n){const{gen:o,schema:i,data:c,allErrors:l,opts:f,self:m}=e,{RULES:p}=m;function y(h){(0,s.shouldUseGroup)(i,h)&&(h.type?(o.if((0,a.checkDataType)(h.type,c,f.strictNumbers)),S(e,h),1===t.length&&t[0]===h.type&&r&&(o.else(),(0,a.reportTypeError)(e)),o.endIf()):S(e,h),l||o.if(u._`${d.default.errors} === ${n||0}`))}!i.$ref||!f.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(i,p)?(f.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{P(e.dataTypes,t)||E(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const r=[];for(const n of e.dataTypes)P(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&E(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const r=e.self.RULES.all;for(const n in r){const o=r[n];if("object"==typeof o&&(0,s.shouldUseRule)(e.schema,o)){const{type:r}=o.definition;r.length&&!r.some((e=>j(t,e)))&&E(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of p.rules)y(e);y(p.post)}))):o.block((()=>k(e,"$ref",p.all.$ref.definition)))}function S(e,t){const{gen:r,schema:n,opts:{useDefaults:o}}=e;o&&(0,i.assignDefaults)(e,t.type),r.block((()=>{for(const r of t.rules)(0,s.shouldUseRule)(n,r)&&k(e,r.keyword,r.definition,t.type)}))}function j(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function P(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function E(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){$(e)&&(b(e),v(e))?function(e){const{schema:t,opts:r,gen:n}=e;p(e,(()=>{r.$comment&&t.$comment&&_(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(d.default.vErrors,null),n.let(d.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",u._`${r}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:o,opts:s}=e;r.$async?t.if(u._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(u._`new ${o}(${d.default.vErrors})`))):(t.assign(u._`${n}.errors`,d.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof u.Name&&e.assign(u._`${t}.props`,r);n instanceof u.Name&&e.assign(u._`${t}.items`,n)}(e),t.return(u._`${d.default.errors} === 0`))}(e)}))}(e):p(e,(()=>(0,n.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,r){if((0,c.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",C(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,r){this.failResult((0,u.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?m.reportExtraError:m.reportError)(this,this.def.error,t)}$dataError(){(0,m.reportError)(this,this.def.$dataError||m.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,m.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=u.nil){this.gen.block((()=>{this.check$data(e,r),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:o,def:s}=this;r.if((0,u.or)(u._`${n} === undefined`,t)),e!==u.nil&&r.assign(e,!0),(o.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:o}=this;return(0,u.or)(function(){if(r.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return u._`${(0,a.checkDataTypes)(e,t,o.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return u._`!${r}(${t})`}return u.nil}())}subschema(e,t){const r=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(r,this.it,e),(0,l.extendSubschemaMode)(r,e);const n={...this.it,...r,items:void 0,props:void 0};return g(n,t),n}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=h.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=h.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function k(e,t,r,n){const o=new x(e,r,t);"code"in r?r.code(o,n):o.$data&&r.validate?(0,c.funcKeywordCode)(o,r):"macro"in r?(0,c.macroKeywordCode)(o,r):(r.compile||r.validate)&&(0,c.funcKeywordCode)(o,r)}t.KeywordCxt=x;const O=/^\/(?:[^~]|~0|~1)*$/,N=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function C(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let o,s;if(""===e)return d.default.rootData;if("/"===e[0]){if(!O.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,s=d.default.rootData}else{const a=N.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+a[1];if(o=a[2],"#"===o){if(i>=t)throw new Error(c("property/index",i));return n[t-i]}if(i>t)throw new Error(c("data",i));if(s=r[t-i],!o)return s}let a=s;const i=o.split("/");for(const l of i)l&&(s=u._`${s}${(0,u.getProperty)((0,h.unescapeJsonPointer)(l))}`,a=u._`${a} && ${s}`);return a;function c(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=C},79999:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(50423),o=r(23149),s=r(97271);const a=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var i=Object.prototype.hasOwnProperty;const c=function(e){if(!(0,o.A)(e))return a(e);var t=(0,s.A)(e),r=[];for(var n in e)("constructor"!=n||!t&&i.call(e,n))&&r.push(n);return r};var l=r(38446);const u=function(e){return(0,l.A)(e)?(0,n.A)(e,!0):c(e)}},80154:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(41917),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=s&&s.exports===o?n.A.Buffer:void 0,i=a?a.allocUnsafe:void 0;const c=function(e,t){if(t)return e.slice();var r=e.length,n=i?i(r):new e.constructor(r);return e.copy(n),n}},80450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=n.operators,s={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},a={message:({keyword:e,schemaCode:t})=>n.str`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${s[e].okStr}, limit: ${t}}`},i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:r,schemaCode:o}=e;e.fail$data(n._`${r} ${s[t].fail} ${o} || isNaN(${r})`)}};t.default=i},80782:(e,t,r)=>{"use strict";e.exports=r(62514)},81121:(t,r,n)=>{"use strict";n.d(r,{A:()=>s});var o=Function.prototype.toString;const s=function(t){if(null!=t){try{return o.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},81451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(56699),o=r(19205),s=r(62235);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const o=1===t?"property":"properties";return n.str`must have ${o} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:o}})=>n._`{property: ${e},
    missingProperty: ${o},
    depsCount: ${t},
    deps: ${r}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const n in e){if("__proto__"===n)continue;(Array.isArray(e[n])?t:r)[n]=e[n]}return[t,r]}(e);i(e,t),c(e,r)}};function i(e,t=e.schema){const{gen:r,data:o,it:a}=e;if(0===Object.keys(t).length)return;const i=r.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,s.propertyInData)(r,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),a.allErrors?r.if(u,(()=>{for(const t of l)(0,s.checkReportMissingProp)(e,t)})):(r.if(n._`${u} && (${(0,s.checkMissingProp)(e,l,i)})`),(0,s.reportMissingProp)(e,i),r.else())}}function c(e,t=e.schema){const{gen:r,data:n,keyword:a,it:i}=e,c=r.name("valid");for(const l in t)(0,o.alwaysValidSchema)(i,t[l])||(r.if((0,s.propertyInData)(r,n,l,i.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:l},c);e.mergeValidEvaluated(t,c)}),(()=>r.var(c,!0))),e.ok(c))}t.validatePropertyDeps=i,t.validateSchemaDeps=c,t.default=a},82261:(e,t)=>{"use strict";function r(e){const t=e.length;let r,n=0,o=0;for(;o<t;)n++,r=e.charCodeAt(o++),r>=55296&&r<=56319&&o<t&&(r=e.charCodeAt(o),56320===(64512&r)&&o++);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},83149:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(63338);const o=function(e,t){return!!(null==e?0:e.length)&&(0,n.A)(e,t,0)>-1}},83511:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(76912),o=r(15647),s=r(16489),a=r(13153);const i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,n.A)(t,(0,s.A)(e)),e=(0,o.A)(e);return t}:a.A},83513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s=r(12403),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:a,it:i}=e,c="maxLength"===t?n.operators.GT:n.operators.LT,l=!1===i.opts.unicode?n._`${r}.length`:n._`${(0,o.useFunc)(e.gen,s.default)}(${r})`;e.fail$data(n._`${l} ${c} ${a}`)}};t.default=a},83875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s=r(82261),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:a,it:i}=e,c="maxLength"===t?n.operators.GT:n.operators.LT,l=!1===i.opts.unicode?n._`${r}.length`:n._`${(0,o.useFunc)(e.gen,s.default)}(${r})`;e.fail$data(n._`${l} ${c} ${a}`)}};t.default=a},83973:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(33831),o=r(83511),s=r(79999);const a=function(e){return(0,n.A)(e,s.A,o.A)}},84171:(t,r,n)=>{"use strict";n.d(r,{A:()=>s});var o=n(28562);const s=function(){try{var t=(0,o.A)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}()},85054:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(87465),o=r(25175),s=r(92049),a=r(25353),i=r(5254),c=r(30901);const l=function(e,t,r){for(var l=-1,u=(t=(0,n.A)(t,e)).length,d=!1;++l<u;){var f=(0,c.A)(t[l]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&(0,i.A)(u)&&(0,a.A)(f,u)&&((0,s.A)(e)||(0,o.A)(e))}},85622:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(62235),o=r(56699),s=r(65373),a=r(19205),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=u;if(u.props=!0,"all"!==f.removeAdditional&&(0,a.alwaysValidSchema)(u,r))return;const h=(0,n.allSchemaProperties)(i.properties),m=(0,n.allSchemaProperties)(i.patternProperties);function p(e){t.code(o._`delete ${c}[${e}]`)}function y(n){if("all"===f.removeAdditional||f.removeAdditional&&!1===r)p(n);else{if(!1===r)return e.setParams({additionalProperty:n}),e.error(),void(d||t.break());if("object"==typeof r&&!(0,a.alwaysValidSchema)(u,r)){const r=t.name("valid");"failing"===f.removeAdditional?(g(n,r,!1),t.if((0,o.not)(r),(()=>{e.reset(),p(n)}))):(g(n,r),d||t.if((0,o.not)(r),(()=>t.break())))}}}function g(t,r,n){const o={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===n&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,r)}t.forIn("key",c,(r=>{h.length||m.length?t.if(function(r){let s;if(h.length>8){const e=(0,a.schemaRefOrVal)(u,i.properties,"properties");s=(0,n.isOwnProperty)(t,e,r)}else s=h.length?(0,o.or)(...h.map((e=>o._`${r} === ${e}`))):o.nil;return m.length&&(s=(0,o.or)(s,...m.map((t=>o._`${(0,n.usePattern)(e,t)}.test(${r})`)))),(0,o.not)(s)}(r),(()=>y(r))):y(r)})),e.ok(o._`${l} === ${s.default.errors}`)}};t.default=i},86027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(62235).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n},86122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(48343);n.code='require("ajv/dist/runtime/uri").default',t.default=n},86586:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(92049),o=r(61882),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;const i=function(e,t){if((0,n.A)(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!(0,o.A)(e))||(a.test(e)||!s.test(e)||null!=t&&e in Object(t))}},87465:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(92049),o=r(86586),s=r(37216),a=r(3456);const i=function(e,t){return(0,n.A)(e)?e:(0,o.A)(e,t)?[e]:(0,s.A)((0,a.A)(e))}},87671:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(76912),o=r(241),s=r(25175),a=r(92049),i=o.A?o.A.isConcatSpreadable:void 0;const c=function(e){return(0,a.A)(e)||(0,s.A)(e)||!!(i&&e&&e[i])};const l=function e(t,r,o,s,a){var i=-1,l=t.length;for(o||(o=c),a||(a=[]);++i<l;){var u=t[i];r>0&&o(u)?r>1?e(u,r-1,o,s,a):(0,n.A)(a,u):s||(a[a.length]=u)}return a}},87809:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}},89469:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});const n=function(){this.__data__=[],this.size=0};var o=r(66984);const s=function(e,t){for(var r=e.length;r--;)if((0,o.A)(e[r][0],t))return r;return-1};var a=Array.prototype.splice;const i=function(e){var t=this.__data__,r=s(t,e);return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)};const c=function(e){var t=this.__data__,r=s(t,e);return r<0?void 0:t[r][1]};const l=function(e){return s(this.__data__,e)>-1};const u=function(e,t){var r=this.__data__,n=s(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d.prototype.clear=n,d.prototype.delete=i,d.prototype.get=c,d.prototype.has=l,d.prototype.set=u;const f=d},89610:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(2383),o=r(23149);const s=function(e){if(!(0,o.A)(e))return!1;var t=(0,n.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},90344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(47103),o=r(29045),s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,o.default];t.default=s},90396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21085),o=r(93789),s=r(66735),a=r(7083),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=u;if(u.props=!0,"all"!==f.removeAdditional&&(0,a.alwaysValidSchema)(u,r))return;const h=(0,n.allSchemaProperties)(i.properties),m=(0,n.allSchemaProperties)(i.patternProperties);function p(e){t.code(o._`delete ${c}[${e}]`)}function y(n){if("all"===f.removeAdditional||f.removeAdditional&&!1===r)p(n);else{if(!1===r)return e.setParams({additionalProperty:n}),e.error(),void(d||t.break());if("object"==typeof r&&!(0,a.alwaysValidSchema)(u,r)){const r=t.name("valid");"failing"===f.removeAdditional?(g(n,r,!1),t.if((0,o.not)(r),(()=>{e.reset(),p(n)}))):(g(n,r),d||t.if((0,o.not)(r),(()=>t.break())))}}}function g(t,r,n){const o={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===n&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,r)}t.forIn("key",c,(r=>{h.length||m.length?t.if(function(r){let s;if(h.length>8){const e=(0,a.schemaRefOrVal)(u,i.properties,"properties");s=(0,n.isOwnProperty)(t,e,r)}else s=h.length?(0,o.or)(...h.map((e=>o._`${r} === ${e}`))):o.nil;return m.length&&(s=(0,o.or)(s,...m.map((t=>o._`${(0,n.usePattern)(e,t)}.test(${r})`)))),(0,o.not)(s)}(r),(()=>y(r))):y(r)})),e.ok(o._`${l} === ${s.default.errors}`)}};t.default=i},90565:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(43988);const o=function(e){var t=new e.constructor(e.byteLength);return new n.A(t).set(new n.A(e)),t}},92049:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=Array.isArray},92348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(80450),o=r(56711),s=r(83875),a=r(50302),i=r(38094),c=r(4267),l=r(99347),u=r(42785),d=r(3767),f=r(64715),h=[n.default,o.default,s.default,a.default,i.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=h},92455:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},93789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(72104),o=r(45885);var s=r(72104);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var a=r(45885);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class i{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends i{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const r=e?o.varKinds.var:this.varKind,n=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=N(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class l extends i{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=N(this.rhs,e,t),this}get names(){return O(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class f extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends i{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class m extends i{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=N(this.code,e,t),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class p extends i{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const o=r[n];o.optimizeNames(e,t)||(C(e,o.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>k(e,t.names)),{})}}class y extends p{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class g extends p{}class v extends y{}v.kind="else";class $ extends y{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof $?t:t.nodes:this.nodes.length?this:new $(I(e),t instanceof $?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=N(this.condition,e,t),this}get names(){const e=super.names;return O(e,this.condition),this.else&&k(e,this.else.names),e}}$.kind="if";class b extends y{}b.kind="for";class w extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=N(this.iteration,e,t),this}get names(){return k(super.names,this.iteration.names)}}class _ extends b{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=O(super.names,this.from);return O(e,this.to)}}class A extends b{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=N(this.iterable,e,t),this}get names(){return k(super.names,this.iterable.names)}}class S extends y{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}S.kind="func";class j extends p{render(e){return"return "+super.render(e)}}j.kind="return";class P extends y{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&k(e,this.catch.names),this.finally&&k(e,this.finally.names),e}}class E extends y{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}E.kind="catch";class x extends y{render(e){return"finally"+super.render(e)}}x.kind="finally";function k(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function O(e,t){return t instanceof n._CodeOrName?k(e,t.names):e}function N(e,t,r){return e instanceof n.Name?s(e):(o=e)instanceof n._Code&&o._items.some((e=>e instanceof n.Name&&1===t[e.str]&&void 0!==r[e.str]))?new n._Code(e._items.reduce(((e,t)=>(t instanceof n.Name&&(t=s(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function s(e){const n=r[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function C(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function I(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:n._`!${F(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const o=this._scope.toName(t);return void 0!==r&&n&&(this._constants[o.str]=r),this._leafNode(new c(e,o,r)),o}const(e,t,r){return this._def(o.varKinds.const,e,t,r)}let(e,t,r){return this._def(o.varKinds.let,e,t,r)}var(e,t,r){return this._def(o.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new l(e,t,r))}add(e,r){return this._leafNode(new u(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new m(e)),this}object(...e){const t=["{"];for(const[r,o]of e)t.length>1&&t.push(","),t.push(r),(r!==o||this.opts.es5)&&(t.push(":"),(0,n.addCodeArg)(t,o));return t.push("}"),new n._Code(t)}if(e,t,r){if(this._blockNode(new $(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new $(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode($,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,r,n,s=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const a=this._scope.toName(e);return this._for(new _(s,a,t,r),(()=>n(a)))}forOf(e,t,r,s=o.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,n._`${e}.length`,(t=>{this.var(a,n._`${e}[${t}]`),r(a)}))}return this._for(new A("of",s,a,t),(()=>r(a)))}forIn(e,t,r,s=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,n._`Object.keys(${t})`,r);const a=this._scope.toName(e);return this._for(new A("in",s,a,t),(()=>r(a)))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new j;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(j)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new P;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new E(e),t(e)}return r&&(this._currNode=n.finally=new x,this.code(r)),this._endBlockNode(E,x)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=n.nil,r,o){return this._blockNode(new S(e,t,r)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof $))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=I;const D=T(t.operators.AND);t.and=function(...e){return e.reduce(D)};const R=T(t.operators.OR);function T(e){return(t,r)=>t===n.nil?r:r===n.nil?t:n._`${F(t)} ${e} ${F(r)}`}function F(e){return e instanceof n.Name?e:n._`(${e})`}t.or=function(...e){return e.reduce(R)}},94288:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(79841),o=r(38446);const s=function(e,t){return function(r,n){if(null==r)return r;if(!(0,o.A)(r))return e(r,n);for(var s=r.length,a=t?s:-1,i=Object(r);(t?a--:++a<s)&&!1!==n(i[a],a,i););return r}}(n.A)},94507:(e,t,r)=>{"use strict";r.d(t,{A:()=>J});var n=r(22080),o=r(72641),s=r(52851),a=r(22031),i=r(27422);const c=function(e,t){return e&&(0,a.A)(t,(0,i.A)(t),e)};var l=r(79999);const u=function(e,t){return e&&(0,a.A)(t,(0,l.A)(t),e)};var d=r(80154),f=r(39759),h=r(16489);const m=function(e,t){return(0,a.A)(e,(0,h.A)(e),t)};var p=r(83511);const y=function(e,t){return(0,a.A)(e,(0,p.A)(e),t)};var g=r(19042),v=r(83973),$=r(9137),b=Object.prototype.hasOwnProperty;const w=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&b.call(e,"index")&&(r.index=e.index,r.input=e.input),r};var _=r(90565);const A=function(e,t){var r=t?(0,_.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var S=/\w*$/;const j=function(e){var t=new e.constructor(e.source,S.exec(e));return t.lastIndex=e.lastIndex,t};var P=r(241),E=P.A?P.A.prototype:void 0,x=E?E.valueOf:void 0;const k=function(e){return x?Object(x.call(e)):{}};var O=r(1801);const N=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,_.A)(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return A(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,O.A)(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return j(e);case"[object Symbol]":return k(e)}};var C=r(32729),I=r(92049),D=r(41200),R=r(53098);const T=function(e){return(0,R.A)(e)&&"[object Map]"==(0,$.A)(e)};var F=r(52789),M=r(64841),U=M.A&&M.A.isMap;const V=U?(0,F.A)(U):T;var z=r(23149);const L=function(e){return(0,R.A)(e)&&"[object Set]"==(0,$.A)(e)};var q=M.A&&M.A.isSet;const B=q?(0,F.A)(q):L;var K="[object Arguments]",G="[object Function]",W="[object Object]",H={};H[K]=H["[object Array]"]=H["[object ArrayBuffer]"]=H["[object DataView]"]=H["[object Boolean]"]=H["[object Date]"]=H["[object Float32Array]"]=H["[object Float64Array]"]=H["[object Int8Array]"]=H["[object Int16Array]"]=H["[object Int32Array]"]=H["[object Map]"]=H["[object Number]"]=H[W]=H["[object RegExp]"]=H["[object Set]"]=H["[object String]"]=H["[object Symbol]"]=H["[object Uint8Array]"]=H["[object Uint8ClampedArray]"]=H["[object Uint16Array]"]=H["[object Uint32Array]"]=!0,H["[object Error]"]=H[G]=H["[object WeakMap]"]=!1;const J=function e(t,r,a,h,p,b){var _,A=1&r,S=2&r,j=4&r;if(a&&(_=p?a(t,h,p,b):a(t)),void 0!==_)return _;if(!(0,z.A)(t))return t;var P=(0,I.A)(t);if(P){if(_=w(t),!A)return(0,f.A)(t,_)}else{var E=(0,$.A)(t),x=E==G||"[object GeneratorFunction]"==E;if((0,D.A)(t))return(0,d.A)(t,A);if(E==W||E==K||x&&!p){if(_=S||x?{}:(0,C.A)(t),!A)return S?y(t,u(_,t)):m(t,c(_,t))}else{if(!H[E])return p?t:{};_=N(t,E,A)}}b||(b=new n.A);var k=b.get(t);if(k)return k;b.set(t,_),B(t)?t.forEach((function(n){_.add(e(n,r,a,n,t,b))})):V(t)&&t.forEach((function(n,o){_.set(o,e(n,r,a,o,t,b))}));var O=j?S?v.A:g.A:S?l.A:i.A,R=P?void 0:O(t);return(0,o.A)(R||t,(function(n,o){R&&(n=t[o=n]),(0,s.A)(_,o,e(n,r,a,o,t,b))})),_}},94887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match format "${e}"`,params:({schemaCode:e})=>n._`{format: ${e}}`},code(e,t){const{gen:r,data:o,$data:s,schema:a,schemaCode:i,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;l.validateFormats&&(s?function(){const s=r.scopeValue("formats",{ref:f.formats,code:l.code.formats}),a=r.const("fDef",n._`${s}[${i}]`),c=r.let("fType"),u=r.let("format");r.if(n._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,(()=>r.assign(c,n._`${a}.type || "string"`).assign(u,n._`${a}.validate`)),(()=>r.assign(c,n._`"string"`).assign(u,a))),e.fail$data((0,n.or)(!1===l.strictSchema?n.nil:n._`${i} && !${u}`,function(){const e=d.$async?n._`(${a}.async ? await ${u}(${o}) : ${u}(${o}))`:n._`${u}(${o})`,r=n._`(typeof ${u} == "function" ? ${e} : ${u}.test(${o}))`;return n._`${u} && ${u} !== true && ${c} === ${t} && !${r}`}()))}():function(){const s=f.formats[a];if(!s)return void function(){if(!1===l.strictSchema)return void f.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===s)return;const[i,c,h]=function(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):l.code.formats?n._`${l.code.formats}${(0,n.getProperty)(a)}`:void 0,o=r.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,n._`${o}.validate`];return["string",e,o]}(s);i===t&&e.pass(function(){if("object"==typeof s&&!(s instanceof RegExp)&&s.async){if(!d.$async)throw new Error("async format in sync schema");return n._`await ${h}(${o})`}return"function"==typeof c?n._`${h}(${o})`:n._`${h}.test(${o})`}())}())}};t.default=o},95011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?n.str`must contain at least ${e} valid item(s)`:n.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?n._`{minContains: ${e}}`:n._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:s,data:a,it:i}=e;let c,l;const{minContains:u,maxContains:d}=s;i.opts.next?(c=void 0===u?1:u,l=d):c=1;const f=t.const("len",n._`${a}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,o.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,o.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(i,r)){let t=n._`${f} >= ${c}`;return void 0!==l&&(t=n._`${t} && ${f} <= ${l}`),void e.pass(t)}i.items=!0;const h=t.name("valid");function m(){const e=t.name("_valid"),r=t.let("count",0);p(e,(()=>t.if(e,(()=>function(e){t.code(n._`${e}++`),void 0===l?t.if(n._`${e} >= ${c}`,(()=>t.assign(h,!0).break())):(t.if(n._`${e} > ${l}`,(()=>t.assign(h,!1).break())),1===c?t.assign(h,!0):t.if(n._`${e} >= ${c}`,(()=>t.assign(h,!0))))}(r)))))}function p(r,n){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},r),n()}))}void 0===l&&1===c?p(h,(()=>t.if(h,(()=>t.break())))):0===c?(t.let(h,!0),void 0!==l&&t.if(n._`${a}.length > 0`,m)):(t.let(h,!1),m()),e.result(h,(()=>e.reset()))}};t.default=s},96925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o=r(7083),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?n.str`must contain at least ${e} valid item(s)`:n.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?n._`{minContains: ${e}}`:n._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:s,data:a,it:i}=e;let c,l;const{minContains:u,maxContains:d}=s;i.opts.next?(c=void 0===u?1:u,l=d):c=1;const f=t.const("len",n._`${a}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,o.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,o.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(i,r)){let t=n._`${f} >= ${c}`;return void 0!==l&&(t=n._`${t} && ${f} <= ${l}`),void e.pass(t)}i.items=!0;const h=t.name("valid");function m(){const e=t.name("_valid"),r=t.let("count",0);p(e,(()=>t.if(e,(()=>function(e){t.code(n._`${e}++`),void 0===l?t.if(n._`${e} >= ${c}`,(()=>t.assign(h,!0).break())):(t.if(n._`${e} > ${l}`,(()=>t.assign(h,!1).break())),1===c?t.assign(h,!0):t.if(n._`${e} >= ${c}`,(()=>t.assign(h,!0))))}(r)))))}function p(r,n){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},r),n()}))}void 0===l&&1===c?p(h,(()=>t.if(h,(()=>t.break())))):0===c?(t.let(h,!0),void 0!==l&&t.if(n._`${a}.length > 0`,m)):(t.let(h,!1),m()),e.result(h,(()=>e.reset()))}};t.default=s},97132:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return function(t,r,n){for(var o=-1,s=Object(t),a=n(t),i=a.length;i--;){var c=a[e?i:++o];if(!1===r(s[c],c,s))break}return t}}()},97193:(e,t)=>{"use strict";function r(e,t){return t.rules.some((t=>n(e,t)))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){const o=t.RULES.types[n];return o&&!0!==o&&r(e,o)},t.shouldUseGroup=r,t.shouldUseRule=n},97267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56699),o=r(19205),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>n._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:r,data:s,it:a}=e;if((0,o.alwaysValidSchema)(a,r))return;const i=t.name("valid");t.forIn("key",s,(r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},i),t.if((0,n.not)(i),(()=>{e.error(!0),a.allErrors||t.break()}))})),e.ok(i)}};t.default=s},97271:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=Object.prototype;const o=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},99347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93789),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o}=e,s="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`${r}.length ${s} ${o}`)}};t.default=o},99524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const n=r(56699),o=r(19205);function s(e,t,r){const{gen:s,compositeRule:a,data:i,opts:c}=e;if(void 0===r)return;const l=n._`${i}${(0,n.getProperty)(t)}`;if(a)return void(0,o.checkStrictMode)(e,`default is ignored for: ${l}`);let u=n._`${l} === undefined`;"empty"===c.useDefaults&&(u=n._`${u} || ${l} === null || ${l} === ""`),s.if(u,n._`${l} = ${(0,n.stringify)(r)}`)}t.assignDefaults=function(e,t){const{properties:r,items:n}=e.schema;if("object"===t&&r)for(const o in r)s(e,o,r[o].default);else"array"===t&&Array.isArray(n)&&n.forEach(((t,r)=>s(e,r,t.default)))}},99598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},99922:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(29008);const o=function(e){return"function"==typeof e?e:n.A}}}]);