From 299f4b90a15887fe8715362510d3b691ac630297 Mon Sep 17 00:00:00 2001 From: char0n Date: Fri, 13 Dec 2024 09:26:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20swagger-?= =?UTF-8?q?api/apidom@8f3a3002d1d8c64b68957f0f2ef700fb598b113d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/apidom.worker-B-JKHOFz.js | 35 +++++ assets/apidom.worker-C_70i9BI.js | 35 ----- assets/index-C28DSHFS.js | 218 +++++++++++++++++++++++++++++++ assets/index-DXhhulnz.js | 218 ------------------------------- index.html | 2 +- 5 files changed, 254 insertions(+), 254 deletions(-) create mode 100644 assets/apidom.worker-B-JKHOFz.js delete mode 100644 assets/apidom.worker-C_70i9BI.js create mode 100644 assets/index-C28DSHFS.js delete mode 100644 assets/index-DXhhulnz.js diff --git a/assets/apidom.worker-B-JKHOFz.js b/assets/apidom.worker-B-JKHOFz.js new file mode 100644 index 000000000..de967fccc --- /dev/null +++ b/assets/apidom.worker-B-JKHOFz.js @@ -0,0 +1,35 @@ +(function(){"use strict";/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */const proxyMarker=Symbol("Comlink.proxy"),createEndpoint=Symbol("Comlink.endpoint"),releaseProxy=Symbol("Comlink.releaseProxy"),finalizer=Symbol("Comlink.finalizer"),throwMarker=Symbol("Comlink.thrown"),isObject$4=r=>typeof r=="object"&&r!==null||typeof r=="function",proxyTransferHandler={canHandle:r=>isObject$4(r)&&r[proxyMarker],serialize(r){const{port1:e,port2:t}=new MessageChannel;return expose(r,e),[t,[t]]},deserialize(r){return r.start(),wrap(r)}},throwTransferHandler={canHandle:r=>isObject$4(r)&&throwMarker in r,serialize({value:r}){let e;return r instanceof Error?e={isError:!0,value:{message:r.message,name:r.name,stack:r.stack}}:e={isError:!1,value:r},[e,[]]},deserialize(r){throw r.isError?Object.assign(new Error(r.value.message),r.value):r.value}},transferHandlers=new Map([["proxy",proxyTransferHandler],["throw",throwTransferHandler]]);function isAllowedOrigin(r,e){for(const t of r)if(e===t||t==="*"||t instanceof RegExp&&t.test(e))return!0;return!1}function expose(r,e=globalThis,t=["*"]){e.addEventListener("message",function s(n){if(!n||!n.data)return;if(!isAllowedOrigin(t,n.origin)){console.warn(`Invalid origin '${n.origin}' for comlink proxy`);return}const{id:o,type:a,path:c}=Object.assign({path:[]},n.data),l=(n.data.argumentList||[]).map(fromWireValue);let u;try{const p=c.slice(0,-1).reduce((h,g)=>h[g],r),m=c.reduce((h,g)=>h[g],r);switch(a){case"GET":u=m;break;case"SET":p[c.slice(-1)[0]]=fromWireValue(n.data.value),u=!0;break;case"APPLY":u=m.apply(p,l);break;case"CONSTRUCT":{const h=new m(...l);u=proxy(h)}break;case"ENDPOINT":{const{port1:h,port2:g}=new MessageChannel;expose(r,g),u=transfer(h,[h])}break;case"RELEASE":u=void 0;break;default:return}}catch(p){u={value:p,[throwMarker]:0}}Promise.resolve(u).catch(p=>({value:p,[throwMarker]:0})).then(p=>{const[m,h]=toWireValue(p);e.postMessage(Object.assign(Object.assign({},m),{id:o}),h),a==="RELEASE"&&(e.removeEventListener("message",s),closeEndPoint(e),finalizer in r&&typeof r[finalizer]=="function"&&r[finalizer]())}).catch(p=>{const[m,h]=toWireValue({value:new TypeError("Unserializable return value"),[throwMarker]:0});e.postMessage(Object.assign(Object.assign({},m),{id:o}),h)})}),e.start&&e.start()}function isMessagePort(r){return r.constructor.name==="MessagePort"}function closeEndPoint(r){isMessagePort(r)&&r.close()}function wrap(r,e){const t=new Map;return r.addEventListener("message",function(n){const{data:o}=n;if(!o||!o.id)return;const a=t.get(o.id);if(a)try{a(o)}finally{t.delete(o.id)}}),createProxy(r,t,[],e)}function throwIfProxyReleased(r){if(r)throw new Error("Proxy has been released and is not useable")}function releaseEndpoint(r){return requestResponseMessage(r,new Map,{type:"RELEASE"}).then(()=>{closeEndPoint(r)})}const proxyCounter=new WeakMap,proxyFinalizers="FinalizationRegistry"in globalThis&&new FinalizationRegistry(r=>{const e=(proxyCounter.get(r)||0)-1;proxyCounter.set(r,e),e===0&&releaseEndpoint(r)});function registerProxy(r,e){const t=(proxyCounter.get(e)||0)+1;proxyCounter.set(e,t),proxyFinalizers&&proxyFinalizers.register(r,e,r)}function unregisterProxy(r){proxyFinalizers&&proxyFinalizers.unregister(r)}function createProxy(r,e,t=[],s=function(){}){let n=!1;const o=new Proxy(s,{get(a,c){if(throwIfProxyReleased(n),c===releaseProxy)return()=>{unregisterProxy(o),releaseEndpoint(r),e.clear(),n=!0};if(c==="then"){if(t.length===0)return{then:()=>o};const l=requestResponseMessage(r,e,{type:"GET",path:t.map(u=>u.toString())}).then(fromWireValue);return l.then.bind(l)}return createProxy(r,e,[...t,c])},set(a,c,l){throwIfProxyReleased(n);const[u,p]=toWireValue(l);return requestResponseMessage(r,e,{type:"SET",path:[...t,c].map(m=>m.toString()),value:u},p).then(fromWireValue)},apply(a,c,l){throwIfProxyReleased(n);const u=t[t.length-1];if(u===createEndpoint)return requestResponseMessage(r,e,{type:"ENDPOINT"}).then(fromWireValue);if(u==="bind")return createProxy(r,e,t.slice(0,-1));const[p,m]=processArguments(l);return requestResponseMessage(r,e,{type:"APPLY",path:t.map(h=>h.toString()),argumentList:p},m).then(fromWireValue)},construct(a,c){throwIfProxyReleased(n);const[l,u]=processArguments(c);return requestResponseMessage(r,e,{type:"CONSTRUCT",path:t.map(p=>p.toString()),argumentList:l},u).then(fromWireValue)}});return registerProxy(o,r),o}function myFlat(r){return Array.prototype.concat.apply([],r)}function processArguments(r){const e=r.map(toWireValue);return[e.map(t=>t[0]),myFlat(e.map(t=>t[1]))]}const transferCache=new WeakMap;function transfer(r,e){return transferCache.set(r,e),r}function proxy(r){return Object.assign(r,{[proxyMarker]:!0})}function toWireValue(r){for(const[e,t]of transferHandlers)if(t.canHandle(r)){const[s,n]=t.serialize(r);return[{type:"HANDLER",name:e,value:s},n]}return[{type:"RAW",value:r},transferCache.get(r)||[]]}function fromWireValue(r){switch(r.type){case"HANDLER":return transferHandlers.get(r.name).deserialize(r.value);case"RAW":return r.value}}function requestResponseMessage(r,e,t,s){return new Promise(n=>{const o=generateUUID();e.set(o,n),r.start&&r.start(),r.postMessage(Object.assign({id:o},t),s)})}function generateUUID(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}var F=function(){return!1},T=function(){return!0};function _isPlaceholder(r){return r!=null&&typeof r=="object"&&r["@@functional/placeholder"]===!0}function _curry1(r){return function e(t){return arguments.length===0||_isPlaceholder(t)?e:r.apply(this,arguments)}}function _curry2(r){return function e(t,s){switch(arguments.length){case 0:return e;case 1:return _isPlaceholder(t)?e:_curry1(function(n){return r(t,n)});default:return _isPlaceholder(t)&&_isPlaceholder(s)?e:_isPlaceholder(t)?_curry1(function(n){return r(n,s)}):_isPlaceholder(s)?_curry1(function(n){return r(t,n)}):r(t,s)}}}function _concat(r,e){r=r||[],e=e||[];var t,s=r.length,n=e.length,o=[];for(t=0;t=arguments.length)?l=e[a]:(l=arguments[n],n+=1),s[a]=l,_isPlaceholder(l)?c=!0:o-=1,a+=1}return!c&&o<=0?t.apply(this,s):_arity(Math.max(0,o),_curryN(r,s,t))}}var curryN=_curry2(function(e,t){return e===1?_curry1(t):_arity(e,_curryN(e,[],t))});function _curry3(r){return function e(t,s,n){switch(arguments.length){case 0:return e;case 1:return _isPlaceholder(t)?e:_curry2(function(o,a){return r(t,o,a)});case 2:return _isPlaceholder(t)&&_isPlaceholder(s)?e:_isPlaceholder(t)?_curry2(function(o,a){return r(o,s,a)}):_isPlaceholder(s)?_curry2(function(o,a){return r(t,o,a)}):_curry1(function(o){return r(t,s,o)});default:return _isPlaceholder(t)&&_isPlaceholder(s)&&_isPlaceholder(n)?e:_isPlaceholder(t)&&_isPlaceholder(s)?_curry2(function(o,a){return r(o,a,n)}):_isPlaceholder(t)&&_isPlaceholder(n)?_curry2(function(o,a){return r(o,s,a)}):_isPlaceholder(s)&&_isPlaceholder(n)?_curry2(function(o,a){return r(t,o,a)}):_isPlaceholder(t)?_curry1(function(o){return r(o,s,n)}):_isPlaceholder(s)?_curry1(function(o){return r(t,o,n)}):_isPlaceholder(n)?_curry1(function(o){return r(t,s,o)}):r(t,s,n)}}}var _isArray=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function _isTransformer(r){return r!=null&&typeof r["@@transducer/step"]=="function"}function _dispatchable(r,e,t){return function(){if(arguments.length===0)return t();var s=arguments[arguments.length-1];if(!_isArray(s)){for(var n=0;n=0;)t=nonEnumerableProps[s],_has(t,e)&&!contains(n,t)&&(n[n.length]=t),s-=1;return n}),type=_curry1(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function _uniqContentEquals(r,e,t,s){var n=_arrayFromIterator(r),o=_arrayFromIterator(e);function a(c,l){return _equals(c,l,t.slice(),s.slice())}return!_includesWith(function(c,l){return!_includesWith(a,l,c)},o,n)}function _equals(r,e,t,s){if(_objectIs$1(r,e))return!0;var n=type(r);if(n!==type(e))return!1;if(typeof r["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof r["fantasy-land/equals"]=="function"&&r["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](r);if(typeof r.equals=="function"||typeof e.equals=="function")return typeof r.equals=="function"&&r.equals(e)&&typeof e.equals=="function"&&e.equals(r);switch(n){case"Arguments":case"Array":case"Object":if(typeof r.constructor=="function"&&_functionName(r.constructor)==="Promise")return r===e;break;case"Boolean":case"Number":case"String":if(!(typeof r==typeof e&&_objectIs$1(r.valueOf(),e.valueOf())))return!1;break;case"Date":if(!_objectIs$1(r.valueOf(),e.valueOf()))return!1;break;case"Error":return r.name===e.name&&r.message===e.message;case"RegExp":if(!(r.source===e.source&&r.global===e.global&&r.ignoreCase===e.ignoreCase&&r.multiline===e.multiline&&r.sticky===e.sticky&&r.unicode===e.unicode))return!1;break}for(var o=t.length-1;o>=0;){if(t[o]===r)return s[o]===e;o-=1}switch(n){case"Map":return r.size!==e.size?!1:_uniqContentEquals(r.entries(),e.entries(),t.concat([r]),s.concat([e]));case"Set":return r.size!==e.size?!1:_uniqContentEquals(r.values(),e.values(),t.concat([r]),s.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=keys(r);if(a.length!==keys(e).length)return!1;var c=t.concat([r]),l=s.concat([e]);for(o=a.length-1;o>=0;){var u=a[o];if(!(_has(u,e)&&_equals(e[u],r[u],c,l)))return!1;o-=1}return!0}var equals=_curry2(function(e,t){return _equals(e,t,[],[])});function _indexOf(r,e,t){var s,n;if(typeof r.indexOf=="function")switch(typeof e){case"number":if(e===0){for(s=1/e;t=0}function _map(r,e){for(var t=0,s=e.length,n=Array(s);t":_toString(a,c)},s=function(o,a){return _map(function(c){return _quote(c)+": "+t(o[c])},a.slice().sort())};switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+_map(t,r).join(", ")+"))";case"[object Array]":return"["+_map(t,r).concat(s(r,reject(function(o){return/^\d+$/.test(o)},keys(r)))).join(", ")+"]";case"[object Boolean]":return typeof r=="object"?"new Boolean("+t(r.valueOf())+")":r.toString();case"[object Date]":return"new Date("+(isNaN(r.valueOf())?t(NaN):_quote(_toISOString(r)))+")";case"[object Map]":return"new Map("+t(Array.from(r))+")";case"[object Null]":return"null";case"[object Number]":return typeof r=="object"?"new Number("+t(r.valueOf())+")":1/r===-1/0?"-0":r.toString(10);case"[object Set]":return"new Set("+t(Array.from(r).sort())+")";case"[object String]":return typeof r=="object"?"new String("+t(r.valueOf())+")":_quote(r);case"[object Undefined]":return"undefined";default:if(typeof r.toString=="function"){var n=r.toString();if(n!=="[object Object]")return n}return"{"+s(r,keys(r)).join(", ")+"}"}}var toString$2=_curry1(function(e){return _toString(e,[])}),max=_curry2(function(e,t){if(e===t)return t;function s(l,u){if(l>u!=u>l)return u>l?u:l}var n=s(e,t);if(n!==void 0)return n;var o=s(typeof e,typeof t);if(o!==void 0)return o===typeof e?e:t;var a=toString$2(e),c=s(a,toString$2(t));return c!==void 0&&c===a?e:t}),XMap=function(){function r(e,t){this.xf=t,this.f=e}return r.prototype["@@transducer/init"]=_xfBase.init,r.prototype["@@transducer/result"]=_xfBase.result,r.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},r}(),_xmap=function(e){return function(t){return new XMap(e,t)}},map=_curry2(_dispatchable(["fantasy-land/map","map"],_xmap,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return curryN(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return _arrayReduce(function(s,n){return s[n]=e(t[n]),s},{},keys(t));default:return _map(e,t)}})),_isInteger=Number.isInteger||function(e){return e<<0===e};function _isString(r){return Object.prototype.toString.call(r)==="[object String]"}function _nth(r,e){var t=r<0?e.length+r:r;return _isString(e)?e.charAt(t):e[t]}var prop=_curry2(function(e,t){if(t!=null)return _isInteger(e)?_nth(e,t):t[e]}),pluck=_curry2(function(e,t){return map(prop(e),t)}),_isArrayLike=_curry1(function(e){return _isArray(e)?!0:!e||typeof e!="object"||_isString(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),symIterator=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function _createReduce(r,e,t){return function(n,o,a){if(_isArrayLike(a))return r(n,o,a);if(a==null)return o;if(typeof a["fantasy-land/reduce"]=="function")return e(n,o,a,"fantasy-land/reduce");if(a[symIterator]!=null)return t(n,o,a[symIterator]());if(typeof a.next=="function")return t(n,o,a);if(typeof a.reduce=="function")return e(n,o,a,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function _xArrayReduce(r,e,t){for(var s=0,n=t.length;s1){var o=!isNil(s)&&_has(n,s)&&typeof s[n]=="object"?s[n]:_isInteger(e[1])?[]:{};t=r(Array.prototype.slice.call(e,1),t,o)}return _assoc(n,t,s)}),assoc=_curry3(function(e,t,s){return assocPath([e],t,s)});function _isFunction(r){var e=Object.prototype.toString.call(r);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}var liftN=_curry2(function(e,t){var s=curryN(e,t);return curryN(e,function(){return _arrayReduce(ap,map(s,arguments[0]),Array.prototype.slice.call(arguments,1))})}),lift=_curry1(function(e){return liftN(e.length,e)}),both=_curry2(function(e,t){return _isFunction(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:lift(and)(e,t)});function _cloneRegExp(r){return new RegExp(r.source,r.flags?r.flags:(r.global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.sticky?"y":"")+(r.unicode?"u":"")+(r.dotAll?"s":""))}function _clone(r,e,t){if(t||(t=new _ObjectMap),_isPrimitive(r))return r;var s=function(o){var a=t.get(r);if(a)return a;t.set(r,o);for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(o[c]=_clone(r[c],!0,t));return o};switch(type(r)){case"Object":return s(Object.create(Object.getPrototypeOf(r)));case"Array":return s(Array(r.length));case"Date":return new Date(r.valueOf());case"RegExp":return _cloneRegExp(r);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return r.slice();default:return r}}function _isPrimitive(r){var e=typeof r;return r==null||e!="object"&&e!="function"}var _ObjectMap=function(){function r(){this.map={},this.length=0}return r.prototype.set=function(e,t){var s=this.hash(e),n=this.map[s];n||(this.map[s]=n=[]),n.push([e,t]),this.length+=1},r.prototype.hash=function(e){var t=[];for(var s in e)t.push(Object.prototype.toString.call(e[s]));return t.join()},r.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var a=this.map[t],s=0;s=0&&this.i>=this.n?_reduced(s):s},r}();function _xtake(r){return function(e){return new XTake(r,e)}}var take=_curry2(_dispatchable(["take"],_xtake,function(e,t){return slice(0,e<0?1/0:e,t)}));function dropLastWhile$1(r,e){for(var t=e.length-1;t>=0&&r(e[t]);)t-=1;return slice(0,t+1,e)}var XDropLastWhile=function(){function r(e,t){this.f=e,this.retained=[],this.xf=t}return r.prototype["@@transducer/init"]=_xfBase.init,r.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},r.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},r.prototype.flush=function(e,t){return e=_xReduce(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},r.prototype.retain=function(e,t){return this.retained.push(t),e},r}();function _xdropLastWhile(r){return function(e){return new XDropLastWhile(r,e)}}var dropLastWhile=_curry2(_dispatchable([],_xdropLastWhile,dropLastWhile$1)),last=_curry1(function(r){return _nth(-1,r)}),XDropWhile=function(){function r(e,t){this.xf=t,this.f=e}return r.prototype["@@transducer/init"]=_xfBase.init,r.prototype["@@transducer/result"]=_xfBase.result,r.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},r}();function _xdropWhile(r){return function(e){return new XDropWhile(r,e)}}var dropWhile=_curry2(_dispatchable(["dropWhile"],_xdropWhile,function(e,t){for(var s=0,n=t.length;st}),hasPath=_curry2(function(e,t){if(e.length===0||isNil(t))return!1;for(var s=t,n=0;nr.length)&&(e=r.length);for(var t=0,s=Array(e);te.length}),getMaxArity=pipe(sort(byArity),head,prop("length")),iteratorFn=curry(function(r,e,t){var s=t.apply(void 0,_toConsumableArray(r));return isNotNil(s)?reduced(s):e}),dispatchImpl=function(e){var t=getMaxArity(e);return curryN(t,function(){for(var s=arguments.length,n=new Array(s),o=0;o=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*s;s=Math.floor(Math.log(s)/Math.log(2));for(var o=e;s;)o+=e,s-=1;return o+=o.substring(0,n-o.length),o},repeatStrPonyfill=curry(repeat),repeatStrInvoker=flip(invoker(1,"repeat")),repeatStr=isFunction$1(String.prototype.repeat)?repeatStrInvoker:repeatStrPonyfill,invokeArgs=curryN(3,function(r,e,t){var s=path$1(r,t),n=path$1(init(r),t);if(!isNotFunction(s)&&!isEmptyArray(r)){var o=bind$1(s,n);return apply(o,e)}}),escapeRegExp=when(isString$2,replace(/[.*+?^${}()|[\]\\-]/g,"\\$&")),checkArguments=function(e,t,s){if(s==null||e==null||t==null)throw TypeError("Input values must not be `null` or `undefined`")},checkValue=function(e,t){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(t,"` must be a string"))},checkSearchValue=function(e){if(typeof e!="string"&&!(e instanceof String)&&!(e instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")},replaceAll$1=function(e,t,s){checkArguments(e,t,s),checkValue(s,"str"),checkValue(t,"replaceValue"),checkSearchValue(e);var n=new RegExp(isRegExp$1(e)?e:escapeRegExp(e),"g");return replace(n,t,s)},replaceAllPonyfill=curryN(3,replaceAll$1),replaceAllInvoker=invoker(2,"replaceAll"),replaceAll=isFunction$1(String.prototype.replaceAll)?replaceAllInvoker:replaceAllPonyfill,trimStart$2=replace(/^[\s\uFEFF\xA0]+/,""),trimStartPonyfill=trimStart$2,trimStartInvoker=invoker(0,"trimStart"),trimStart$1=isFunction$1(String.prototype.trimStart)?trimStartInvoker:trimStartPonyfill,trimStart=replace(/[\s\uFEFF\xA0]+$/,""),trimEndPonyfill=trimStart,trimEndInvoker=invoker(0,"trimEnd"),trimEnd=isFunction$1(String.prototype.trimEnd)?trimEndInvoker:trimEndPonyfill,trimCharsEnd=curry(function(r,e){return pipe(split(""),dropLastWhile(included(r)),join(""))(e)}),trimCharsStart=curry(function(r,e){return pipe(split(""),dropWhile(included(r)),join(""))(e)}),commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:function(){return r[s]}})}),t}var minim={},isNull_1,hasRequiredIsNull;function requireIsNull(){if(hasRequiredIsNull)return isNull_1;hasRequiredIsNull=1;function r(e){return e===null}return isNull_1=r,isNull_1}var _freeGlobal,hasRequired_freeGlobal;function require_freeGlobal(){if(hasRequired_freeGlobal)return _freeGlobal;hasRequired_freeGlobal=1;var r=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;return _freeGlobal=r,_freeGlobal}var _root,hasRequired_root;function require_root(){if(hasRequired_root)return _root;hasRequired_root=1;var r=require_freeGlobal(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return _root=t,_root}var _Symbol,hasRequired_Symbol;function require_Symbol(){if(hasRequired_Symbol)return _Symbol;hasRequired_Symbol=1;var r=require_root(),e=r.Symbol;return _Symbol=e,_Symbol}var _getRawTag,hasRequired_getRawTag;function require_getRawTag(){if(hasRequired_getRawTag)return _getRawTag;hasRequired_getRawTag=1;var r=require_Symbol(),e=Object.prototype,t=e.hasOwnProperty,s=e.toString,n=r?r.toStringTag:void 0;function o(a){var c=t.call(a,n),l=a[n];try{a[n]=void 0;var u=!0}catch{}var p=s.call(a);return u&&(c?a[n]=l:delete a[n]),p}return _getRawTag=o,_getRawTag}var _objectToString,hasRequired_objectToString;function require_objectToString(){if(hasRequired_objectToString)return _objectToString;hasRequired_objectToString=1;var r=Object.prototype,e=r.toString;function t(s){return e.call(s)}return _objectToString=t,_objectToString}var _baseGetTag,hasRequired_baseGetTag;function require_baseGetTag(){if(hasRequired_baseGetTag)return _baseGetTag;hasRequired_baseGetTag=1;var r=require_Symbol(),e=require_getRawTag(),t=require_objectToString(),s="[object Null]",n="[object Undefined]",o=r?r.toStringTag:void 0;function a(c){return c==null?c===void 0?n:s:o&&o in Object(c)?e(c):t(c)}return _baseGetTag=a,_baseGetTag}var isArray_1,hasRequiredIsArray;function requireIsArray(){if(hasRequiredIsArray)return isArray_1;hasRequiredIsArray=1;var r=Array.isArray;return isArray_1=r,isArray_1}var isObjectLike_1,hasRequiredIsObjectLike;function requireIsObjectLike(){if(hasRequiredIsObjectLike)return isObjectLike_1;hasRequiredIsObjectLike=1;function r(e){return e!=null&&typeof e=="object"}return isObjectLike_1=r,isObjectLike_1}var isString_1,hasRequiredIsString;function requireIsString(){if(hasRequiredIsString)return isString_1;hasRequiredIsString=1;var r=require_baseGetTag(),e=requireIsArray(),t=requireIsObjectLike(),s="[object String]";function n(o){return typeof o=="string"||!e(o)&&t(o)&&r(o)==s}return isString_1=n,isString_1}var isNumber_1,hasRequiredIsNumber;function requireIsNumber(){if(hasRequiredIsNumber)return isNumber_1;hasRequiredIsNumber=1;var r=require_baseGetTag(),e=requireIsObjectLike(),t="[object Number]";function s(n){return typeof n=="number"||e(n)&&r(n)==t}return isNumber_1=s,isNumber_1}var isBoolean_1,hasRequiredIsBoolean;function requireIsBoolean(){if(hasRequiredIsBoolean)return isBoolean_1;hasRequiredIsBoolean=1;var r=require_baseGetTag(),e=requireIsObjectLike(),t="[object Boolean]";function s(n){return n===!0||n===!1||e(n)&&r(n)==t}return isBoolean_1=s,isBoolean_1}var isObject_1,hasRequiredIsObject$1;function requireIsObject$1(){if(hasRequiredIsObject$1)return isObject_1;hasRequiredIsObject$1=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return isObject_1=r,isObject_1}var JSONSerialiser_1,hasRequiredJSONSerialiser;function requireJSONSerialiser(){if(hasRequiredJSONSerialiser)return JSONSerialiser_1;hasRequiredJSONSerialiser=1;class r{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const s={element:t.element};t._meta&&t._meta.length>0&&(s.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(s.attributes=this.serialiseObject(t.attributes));const n=this.serialiseContent(t.content);return n!==void 0&&(s.content=n),s}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const s=this.namespace.getElementClass(t.element),n=new s;n.element!==t.element&&(n.element=t.element),t.meta&&this.deserialiseObject(t.meta,n.meta),t.attributes&&this.deserialiseObject(t.attributes,n.attributes);const o=this.deserialiseContent(t.content);return(o!==void 0||n.content===null)&&(n.content=o),n}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}return t&&t.map?t.length===0?void 0:t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const s=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(s.value=this.deserialise(t.value)),s}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const s={};if(t.forEach((n,o)=>{n&&(s[o.toValue()]=this.serialise(n))}),Object.keys(s).length!==0)return s}deserialiseObject(t,s){Object.keys(t).forEach(n=>{s.set(n,this.deserialise(t[n]))})}}return JSONSerialiser_1=r,JSONSerialiser_1}var _listCacheClear,hasRequired_listCacheClear;function require_listCacheClear(){if(hasRequired_listCacheClear)return _listCacheClear;hasRequired_listCacheClear=1;function r(){this.__data__=[],this.size=0}return _listCacheClear=r,_listCacheClear}var eq_1,hasRequiredEq;function requireEq(){if(hasRequiredEq)return eq_1;hasRequiredEq=1;function r(e,t){return e===t||e!==e&&t!==t}return eq_1=r,eq_1}var _assocIndexOf,hasRequired_assocIndexOf;function require_assocIndexOf(){if(hasRequired_assocIndexOf)return _assocIndexOf;hasRequired_assocIndexOf=1;var r=requireEq();function e(t,s){for(var n=t.length;n--;)if(r(t[n][0],s))return n;return-1}return _assocIndexOf=e,_assocIndexOf}var _listCacheDelete,hasRequired_listCacheDelete;function require_listCacheDelete(){if(hasRequired_listCacheDelete)return _listCacheDelete;hasRequired_listCacheDelete=1;var r=require_assocIndexOf(),e=Array.prototype,t=e.splice;function s(n){var o=this.__data__,a=r(o,n);if(a<0)return!1;var c=o.length-1;return a==c?o.pop():t.call(o,a,1),--this.size,!0}return _listCacheDelete=s,_listCacheDelete}var _listCacheGet,hasRequired_listCacheGet;function require_listCacheGet(){if(hasRequired_listCacheGet)return _listCacheGet;hasRequired_listCacheGet=1;var r=require_assocIndexOf();function e(t){var s=this.__data__,n=r(s,t);return n<0?void 0:s[n][1]}return _listCacheGet=e,_listCacheGet}var _listCacheHas,hasRequired_listCacheHas;function require_listCacheHas(){if(hasRequired_listCacheHas)return _listCacheHas;hasRequired_listCacheHas=1;var r=require_assocIndexOf();function e(t){return r(this.__data__,t)>-1}return _listCacheHas=e,_listCacheHas}var _listCacheSet,hasRequired_listCacheSet;function require_listCacheSet(){if(hasRequired_listCacheSet)return _listCacheSet;hasRequired_listCacheSet=1;var r=require_assocIndexOf();function e(t,s){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,s])):n[o][1]=s,this}return _listCacheSet=e,_listCacheSet}var _ListCache,hasRequired_ListCache;function require_ListCache(){if(hasRequired_ListCache)return _ListCache;hasRequired_ListCache=1;var r=require_listCacheClear(),e=require_listCacheDelete(),t=require_listCacheGet(),s=require_listCacheHas(),n=require_listCacheSet();function o(a){var c=-1,l=a==null?0:a.length;for(this.clear();++cg))return!1;var d=m.get(a),b=m.get(c);if(d&&b)return d==c&&b==a;var E=-1,f=!0,_=l&n?new r:void 0;for(m.set(a,c),m.set(c,a);++E-1&&s%1==0&&s-1&&t%1==0&&t<=r}return isLength_1=e,isLength_1}var _baseIsTypedArray,hasRequired_baseIsTypedArray;function require_baseIsTypedArray(){if(hasRequired_baseIsTypedArray)return _baseIsTypedArray;hasRequired_baseIsTypedArray=1;var r=require_baseGetTag(),e=requireIsLength(),t=requireIsObjectLike(),s="[object Arguments]",n="[object Array]",o="[object Boolean]",a="[object Date]",c="[object Error]",l="[object Function]",u="[object Map]",p="[object Number]",m="[object Object]",h="[object RegExp]",g="[object Set]",y="[object String]",d="[object WeakMap]",b="[object ArrayBuffer]",E="[object DataView]",f="[object Float32Array]",_="[object Float64Array]",v="[object Int8Array]",$="[object Int16Array]",S="[object Int32Array]",x="[object Uint8Array]",O="[object Uint8ClampedArray]",A="[object Uint16Array]",V="[object Uint32Array]",w={};w[f]=w[_]=w[v]=w[$]=w[S]=w[x]=w[O]=w[A]=w[V]=!0,w[s]=w[n]=w[b]=w[o]=w[E]=w[a]=w[c]=w[l]=w[u]=w[p]=w[m]=w[h]=w[g]=w[y]=w[d]=!1;function R(j){return t(j)&&e(j.length)&&!!w[r(j)]}return _baseIsTypedArray=R,_baseIsTypedArray}var _baseUnary,hasRequired_baseUnary;function require_baseUnary(){if(hasRequired_baseUnary)return _baseUnary;hasRequired_baseUnary=1;function r(e){return function(t){return e(t)}}return _baseUnary=r,_baseUnary}var _nodeUtil={exports:{}};_nodeUtil.exports;var hasRequired_nodeUtil;function require_nodeUtil(){return hasRequired_nodeUtil||(hasRequired_nodeUtil=1,function(r,e){var t=require_freeGlobal(),s=e&&!e.nodeType&&e,n=s&&!0&&r&&!r.nodeType&&r,o=n&&n.exports===s,a=o&&t.process,c=function(){try{var l=n&&n.require&&n.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();r.exports=c}(_nodeUtil,_nodeUtil.exports)),_nodeUtil.exports}var isTypedArray_1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray_1;hasRequiredIsTypedArray=1;var r=require_baseIsTypedArray(),e=require_baseUnary(),t=require_nodeUtil(),s=t&&t.isTypedArray,n=s?e(s):r;return isTypedArray_1=n,isTypedArray_1}var _arrayLikeKeys,hasRequired_arrayLikeKeys;function require_arrayLikeKeys(){if(hasRequired_arrayLikeKeys)return _arrayLikeKeys;hasRequired_arrayLikeKeys=1;var r=require_baseTimes(),e=requireIsArguments(),t=requireIsArray(),s=requireIsBuffer(),n=require_isIndex(),o=requireIsTypedArray(),a=Object.prototype,c=a.hasOwnProperty;function l(u,p){var m=t(u),h=!m&&e(u),g=!m&&!h&&s(u),y=!m&&!h&&!g&&o(u),d=m||h||g||y,b=d?r(u.length,String):[],E=b.length;for(var f in u)(p||c.call(u,f))&&!(d&&(f=="length"||g&&(f=="offset"||f=="parent")||y&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||n(f,E)))&&b.push(f);return b}return _arrayLikeKeys=l,_arrayLikeKeys}var _isPrototype,hasRequired_isPrototype;function require_isPrototype(){if(hasRequired_isPrototype)return _isPrototype;hasRequired_isPrototype=1;var r=Object.prototype;function e(t){var s=t&&t.constructor,n=typeof s=="function"&&s.prototype||r;return t===n}return _isPrototype=e,_isPrototype}var _overArg,hasRequired_overArg;function require_overArg(){if(hasRequired_overArg)return _overArg;hasRequired_overArg=1;function r(e,t){return function(s){return e(t(s))}}return _overArg=r,_overArg}var _nativeKeys,hasRequired_nativeKeys;function require_nativeKeys(){if(hasRequired_nativeKeys)return _nativeKeys;hasRequired_nativeKeys=1;var r=require_overArg(),e=r(Object.keys,Object);return _nativeKeys=e,_nativeKeys}var _baseKeys,hasRequired_baseKeys;function require_baseKeys(){if(hasRequired_baseKeys)return _baseKeys;hasRequired_baseKeys=1;var r=require_isPrototype(),e=require_nativeKeys(),t=Object.prototype,s=t.hasOwnProperty;function n(o){if(!r(o))return e(o);var a=[];for(var c in Object(o))s.call(o,c)&&c!="constructor"&&a.push(c);return a}return _baseKeys=n,_baseKeys}var isArrayLike_1,hasRequiredIsArrayLike;function requireIsArrayLike(){if(hasRequiredIsArrayLike)return isArrayLike_1;hasRequiredIsArrayLike=1;var r=requireIsFunction(),e=requireIsLength();function t(s){return s!=null&&e(s.length)&&!r(s)}return isArrayLike_1=t,isArrayLike_1}var keys_1,hasRequiredKeys;function requireKeys(){if(hasRequiredKeys)return keys_1;hasRequiredKeys=1;var r=require_arrayLikeKeys(),e=require_baseKeys(),t=requireIsArrayLike();function s(n){return t(n)?r(n):e(n)}return keys_1=s,keys_1}var _getAllKeys,hasRequired_getAllKeys;function require_getAllKeys(){if(hasRequired_getAllKeys)return _getAllKeys;hasRequired_getAllKeys=1;var r=require_baseGetAllKeys(),e=require_getSymbols(),t=requireKeys();function s(n){return r(n,t,e)}return _getAllKeys=s,_getAllKeys}var _equalObjects,hasRequired_equalObjects;function require_equalObjects(){if(hasRequired_equalObjects)return _equalObjects;hasRequired_equalObjects=1;var r=require_getAllKeys(),e=1,t=Object.prototype,s=t.hasOwnProperty;function n(o,a,c,l,u,p){var m=c&e,h=r(o),g=h.length,y=r(a),d=y.length;if(g!=d&&!m)return!1;for(var b=g;b--;){var E=h[b];if(!(m?E in a:s.call(a,E)))return!1}var f=p.get(o),_=p.get(a);if(f&&_)return f==a&&_==o;var v=!0;p.set(o,a),p.set(a,o);for(var $=m;++bn.element===s:s.constructor&&s.extend?n=>n instanceof s:s}class t{constructor(n){this.elements=n||[]}toValue(){return this.elements.map(n=>n.toValue())}map(n,o){return this.elements.map(n,o)}flatMap(n,o){return this.map(n,o).reduce((a,c)=>a.concat(c),[])}compactMap(n,o){const a=[];return this.forEach(c=>{const l=n.bind(o)(c);l&&a.push(l)}),a}filter(n,o){return n=e(n),new t(this.elements.filter(n,o))}reject(n,o){return n=e(n),new t(this.elements.filter(r(n),o))}find(n,o){return n=e(n),this.elements.find(n,o)}forEach(n,o){this.elements.forEach(n,o)}reduce(n,o){return this.elements.reduce(n,o)}includes(n){return this.elements.some(o=>o.equals(n))}shift(){return this.elements.shift()}unshift(n){this.elements.unshift(this.refract(n))}push(n){return this.elements.push(this.refract(n)),this}add(n){this.push(n)}get(n){return this.elements[n]}getValue(n){const o=this.elements[n];if(o)return o.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}return typeof Symbol<"u"&&(t.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),ArraySlice_1=t,ArraySlice_1}var Element_1,hasRequiredElement;function requireElement(){if(hasRequiredElement)return Element_1;hasRequiredElement=1;const r=requireIsEqual(),e=requireKeyValuePair(),t=requireArraySlice();class s{constructor(o,a,c){a&&(this.meta=a),c&&(this.attributes=c),this.content=o}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach(o=>{o.parent=this,o.freeze()},this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const o=new this.constructor;return o.element=this.element,this.meta.length&&(o._meta=this.meta.clone()),this.attributes.length&&(o._attributes=this.attributes.clone()),this.content?this.content.clone?o.content=this.content.clone():Array.isArray(this.content)?o.content=this.content.map(a=>a.clone()):o.content=this.content:o.content=this.content,o}toValue(){return this.content instanceof s?this.content.toValue():this.content instanceof e?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map(o=>o.toValue(),this):this.content}toRef(o){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const a=new this.RefElement(this.id.toValue());return o&&(a.path=o),a}findRecursive(...o){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const a=o.pop();let c=new t;const l=(p,m)=>(p.push(m),p),u=(p,m)=>{m.element===a&&p.push(m);const h=m.findRecursive(a);return h&&h.reduce(l,p),m.content instanceof e&&(m.content.key&&u(p,m.content.key),m.content.value&&u(p,m.content.value)),p};return this.content&&(this.content.element&&u(c,this.content),Array.isArray(this.content)&&this.content.reduce(u,c)),o.isEmpty||(c=c.filter(p=>{let m=p.parents.map(h=>h.element);for(const h in o){const g=o[h],y=m.indexOf(g);if(y!==-1)m=m.splice(0,y);else return!1}return!0})),c}set(o){return this.content=o,this}equals(o){return r(this.toValue(),o)}getMetaProperty(o,a){if(!this.meta.hasKey(o)){if(this.isFrozen){const c=this.refract(a);return c.freeze(),c}this.meta.set(o,a)}return this.meta.get(o)}setMetaProperty(o,a){this.meta.set(o,a)}get element(){return this._storedElement||"element"}set element(o){this._storedElement=o}get content(){return this._content}set content(o){if(o instanceof s)this._content=o;else if(o instanceof t)this.content=o.elements;else if(typeof o=="string"||typeof o=="number"||typeof o=="boolean"||o==="null"||o==null)this._content=o;else if(o instanceof e)this._content=o;else if(Array.isArray(o))this._content=o.map(this.refract);else if(typeof o=="object")this._content=Object.keys(o).map(a=>new this.MemberElement(a,o[a]));else throw new Error("Cannot set content to given value")}get meta(){if(!this._meta){if(this.isFrozen){const o=new this.ObjectElement;return o.freeze(),o}this._meta=new this.ObjectElement}return this._meta}set meta(o){o instanceof this.ObjectElement?this._meta=o:this.meta.set(o||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const o=new this.ObjectElement;return o.freeze(),o}this._attributes=new this.ObjectElement}return this._attributes}set attributes(o){o instanceof this.ObjectElement?this._attributes=o:this.attributes.set(o||{})}get id(){return this.getMetaProperty("id","")}set id(o){this.setMetaProperty("id",o)}get classes(){return this.getMetaProperty("classes",[])}set classes(o){this.setMetaProperty("classes",o)}get title(){return this.getMetaProperty("title","")}set title(o){this.setMetaProperty("title",o)}get description(){return this.getMetaProperty("description","")}set description(o){this.setMetaProperty("description",o)}get links(){return this.getMetaProperty("links",[])}set links(o){this.setMetaProperty("links",o)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:o}=this;const a=new t;for(;o;)a.push(o),o=o.parent;return a}get children(){if(Array.isArray(this.content))return new t(this.content);if(this.content instanceof e){const o=new t([this.content.key]);return this.content.value&&o.push(this.content.value),o}return this.content instanceof s?new t([this.content]):new t}get recursiveChildren(){const o=new t;return this.children.forEach(a=>{o.push(a),a.recursiveChildren.forEach(c=>{o.push(c)})}),o}}return Element_1=s,Element_1}var NullElement_1,hasRequiredNullElement;function requireNullElement(){if(hasRequiredNullElement)return NullElement_1;hasRequiredNullElement=1;const r=requireElement();class e extends r{constructor(s,n,o){super(s||null,n,o),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}return NullElement_1=e,NullElement_1}var StringElement_1,hasRequiredStringElement;function requireStringElement(){if(hasRequiredStringElement)return StringElement_1;hasRequiredStringElement=1;const r=requireElement();return StringElement_1=class extends r{constructor(t,s,n){super(t,s,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}},StringElement_1}var NumberElement_1,hasRequiredNumberElement;function requireNumberElement(){if(hasRequiredNumberElement)return NumberElement_1;hasRequiredNumberElement=1;const r=requireElement();return NumberElement_1=class extends r{constructor(t,s,n){super(t,s,n),this.element="number"}primitive(){return"number"}},NumberElement_1}var BooleanElement_1,hasRequiredBooleanElement;function requireBooleanElement(){if(hasRequiredBooleanElement)return BooleanElement_1;hasRequiredBooleanElement=1;const r=requireElement();return BooleanElement_1=class extends r{constructor(t,s,n){super(t,s,n),this.element="boolean"}primitive(){return"boolean"}},BooleanElement_1}var ArrayElement_1,hasRequiredArrayElement;function requireArrayElement(){if(hasRequiredArrayElement)return ArrayElement_1;hasRequiredArrayElement=1;const r=requireNegate(),e=requireElement(),t=requireArraySlice();class s extends e{constructor(o,a,c){super(o||[],a,c),this.element="array"}primitive(){return"array"}get(o){return this.content[o]}getValue(o){const a=this.get(o);if(a)return a.toValue()}getIndex(o){return this.content[o]}set(o,a){return this.content[o]=this.refract(a),this}remove(o){const a=this.content.splice(o,1);return a.length?a[0]:null}map(o,a){return this.content.map(o,a)}flatMap(o,a){return this.map(o,a).reduce((c,l)=>c.concat(l),[])}compactMap(o,a){const c=[];return this.forEach(l=>{const u=o.bind(a)(l);u&&c.push(u)}),c}filter(o,a){return new t(this.content.filter(o,a))}reject(o,a){return this.filter(r(o),a)}reduce(o,a){let c,l;a!==void 0?(c=0,l=this.refract(a)):(c=1,l=this.primitive()==="object"?this.first.value:this.first);for(let u=c;u{o.bind(a)(c,this.refract(l))})}shift(){return this.content.shift()}unshift(o){this.content.unshift(this.refract(o))}push(o){return this.content.push(this.refract(o)),this}add(o){this.push(o)}findElements(o,a){const c=a||{},l=!!c.recursive,u=c.results===void 0?[]:c.results;return this.forEach((p,m,h)=>{l&&p.findElements!==void 0&&p.findElements(o,{results:u,recursive:l}),o(p,m,h)&&u.push(p)}),u}find(o){return new t(this.findElements(o,{recursive:!0}))}findByElement(o){return this.find(a=>a.element===o)}findByClass(o){return this.find(a=>a.classes.includes(o))}getById(o){return this.find(a=>a.id.toValue()===o).first}includes(o){return this.content.some(a=>a.equals(o))}contains(o){return this.includes(o)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(o){return new this.constructor(this.content.concat(o.content))}"fantasy-land/concat"(o){return this.concat(o)}"fantasy-land/map"(o){return new this.constructor(this.map(o))}"fantasy-land/chain"(o){return this.map(a=>o(a),this).reduce((a,c)=>a.concat(c),this.empty())}"fantasy-land/filter"(o){return new this.constructor(this.content.filter(o))}"fantasy-land/reduce"(o,a){return this.content.reduce(o,a)}get length(){return this.content.length}get isEmpty(){return this.content.length===0}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}return s.empty=function(){return new this},s["fantasy-land/empty"]=s.empty,typeof Symbol<"u"&&(s.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),ArrayElement_1=s,ArrayElement_1}var MemberElement_1,hasRequiredMemberElement;function requireMemberElement(){if(hasRequiredMemberElement)return MemberElement_1;hasRequiredMemberElement=1;const r=requireKeyValuePair(),e=requireElement();return MemberElement_1=class extends e{constructor(s,n,o,a){super(new r,o,a),this.element="member",this.key=s,this.value=n}get key(){return this.content.key}set key(s){this.content.key=this.refract(s)}get value(){return this.content.value}set value(s){this.content.value=this.refract(s)}},MemberElement_1}var ObjectSlice_1,hasRequiredObjectSlice;function requireObjectSlice(){if(hasRequiredObjectSlice)return ObjectSlice_1;hasRequiredObjectSlice=1;const r=requireNegate(),e=requireArraySlice();class t extends e{map(n,o){return this.elements.map(a=>n.bind(o)(a.value,a.key,a))}filter(n,o){return new t(this.elements.filter(a=>n.bind(o)(a.value,a.key,a)))}reject(n,o){return this.filter(r(n.bind(o)))}forEach(n,o){return this.elements.forEach((a,c)=>{n.bind(o)(a.value,a.key,a,c)})}keys(){return this.map((n,o)=>o.toValue())}values(){return this.map(n=>n.toValue())}}return ObjectSlice_1=t,ObjectSlice_1}var ObjectElement_1,hasRequiredObjectElement;function requireObjectElement(){if(hasRequiredObjectElement)return ObjectElement_1;hasRequiredObjectElement=1;const r=requireNegate(),e=requireIsObject$1(),t=requireArrayElement(),s=requireMemberElement(),n=requireObjectSlice();class o extends t{constructor(c,l,u){super(c||[],l,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce((c,l)=>(c[l.key.toValue()]=l.value?l.value.toValue():void 0,c),{})}get(c){const l=this.getMember(c);if(l)return l.value}getMember(c){if(c!==void 0)return this.content.find(l=>l.key.toValue()===c)}remove(c){let l=null;return this.content=this.content.filter(u=>u.key.toValue()===c?(l=u,!1):!0),l}getKey(c){const l=this.getMember(c);if(l)return l.key}set(c,l){if(e(c))return Object.keys(c).forEach(m=>{this.set(m,c[m])}),this;const u=c,p=this.getMember(u);return p?p.value=l:this.content.push(new s(u,l)),this}keys(){return this.content.map(c=>c.key.toValue())}values(){return this.content.map(c=>c.value.toValue())}hasKey(c){return this.content.some(l=>l.key.equals(c))}items(){return this.content.map(c=>[c.key.toValue(),c.value.toValue()])}map(c,l){return this.content.map(u=>c.bind(l)(u.value,u.key,u))}compactMap(c,l){const u=[];return this.forEach((p,m,h)=>{const g=c.bind(l)(p,m,h);g&&u.push(g)}),u}filter(c,l){return new n(this.content).filter(c,l)}reject(c,l){return this.filter(r(c),l)}forEach(c,l){return this.content.forEach(u=>c.bind(l)(u.value,u.key,u))}}return ObjectElement_1=o,ObjectElement_1}var LinkElement_1,hasRequiredLinkElement;function requireLinkElement(){if(hasRequiredLinkElement)return LinkElement_1;hasRequiredLinkElement=1;const r=requireElement();return LinkElement_1=class extends r{constructor(t,s,n){super(t||[],s,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}},LinkElement_1}var RefElement_1,hasRequiredRefElement;function requireRefElement(){if(hasRequiredRefElement)return RefElement_1;hasRequiredRefElement=1;const r=requireElement();return RefElement_1=class extends r{constructor(t,s,n){super(t||[],s,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}},RefElement_1}var elements,hasRequiredElements;function requireElements(){if(hasRequiredElements)return elements;hasRequiredElements=1;const r=requireElement(),e=requireNullElement(),t=requireStringElement(),s=requireNumberElement(),n=requireBooleanElement(),o=requireArrayElement(),a=requireMemberElement(),c=requireObjectElement(),l=requireLinkElement(),u=requireRefElement(),p=requireArraySlice(),m=requireObjectSlice(),h=requireKeyValuePair();function g(y){return y instanceof r?y:typeof y=="string"?new t(y):typeof y=="number"?new s(y):typeof y=="boolean"?new n(y):y===null?new e:Array.isArray(y)?new o(y.map(g)):typeof y=="object"?new c(y):y}return r.prototype.ObjectElement=c,r.prototype.RefElement=u,r.prototype.MemberElement=a,r.prototype.refract=g,p.prototype.refract=g,elements={Element:r,NullElement:e,StringElement:t,NumberElement:s,BooleanElement:n,ArrayElement:o,MemberElement:a,ObjectElement:c,LinkElement:l,RefElement:u,refract:g,ArraySlice:p,ObjectSlice:m,KeyValuePair:h},elements}var Namespace_1,hasRequiredNamespace;function requireNamespace(){if(hasRequiredNamespace)return Namespace_1;hasRequiredNamespace=1;const r=requireIsNull(),e=requireIsString(),t=requireIsNumber(),s=requireIsBoolean(),n=requireIsObject$1(),o=requireJSONSerialiser(),a=requireElements();class c{constructor(u){this.elementMap={},this.elementDetection=[],this.Element=a.Element,this.KeyValuePair=a.KeyValuePair,(!u||!u.noDefault)&&this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(u){return u.namespace&&u.namespace({base:this}),u.load&&u.load({base:this}),this}useDefault(){return this.register("null",a.NullElement).register("string",a.StringElement).register("number",a.NumberElement).register("boolean",a.BooleanElement).register("array",a.ArrayElement).register("object",a.ObjectElement).register("member",a.MemberElement).register("ref",a.RefElement).register("link",a.LinkElement),this.detect(r,a.NullElement,!1).detect(e,a.StringElement,!1).detect(t,a.NumberElement,!1).detect(s,a.BooleanElement,!1).detect(Array.isArray,a.ArrayElement,!1).detect(n,a.ObjectElement,!1),this}register(u,p){return this._elements=void 0,this.elementMap[u]=p,this}unregister(u){return this._elements=void 0,delete this.elementMap[u],this}detect(u,p,m){return(m===void 0?!0:m)?this.elementDetection.unshift([u,p]):this.elementDetection.push([u,p]),this}toElement(u){if(u instanceof this.Element)return u;let p;for(let m=0;m{const p=u[0].toUpperCase()+u.substr(1);this._elements[p]=this.elementMap[u]})),this._elements}get serialiser(){return new o(this)}}return o.prototype.Namespace=c,Namespace_1=c,Namespace_1}var JSON06Serialiser_1,hasRequiredJSON06Serialiser;function requireJSON06Serialiser(){if(hasRequiredJSON06Serialiser)return JSON06Serialiser_1;hasRequiredJSON06Serialiser=1;const r=requireJSONSerialiser();return JSON06Serialiser_1=class extends r{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let s;t._attributes&&t.attributes.get("variable")&&(s=t.attributes.get("variable"));const n={element:t.element};t._meta&&t._meta.length>0&&(n.meta=this.serialiseObject(t.meta));const o=t.element==="enum"||t.attributes.keys().indexOf("enumerations")!==-1;if(o){const a=this.enumSerialiseAttributes(t);a&&(n.attributes=a)}else if(t._attributes&&t._attributes.length>0){let{attributes:a}=t;a.get("metadata")&&(a=a.clone(),a.set("meta",a.get("metadata")),a.remove("metadata")),t.element==="member"&&s&&(a=a.clone(),a.remove("variable")),a.length>0&&(n.attributes=this.serialiseObject(a))}if(o)n.content=this.enumSerialiseContent(t,n);else if(this[`${t.element}SerialiseContent`])n.content=this[`${t.element}SerialiseContent`](t,n);else if(t.content!==void 0){let a;s&&t.content.key?(a=t.content.clone(),a.key.attributes.set("variable",s),a=this.serialiseContent(a)):a=this.serialiseContent(t.content),this.shouldSerialiseContent(t,a)&&(n.content=a)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(t,s){return t.element==="parseResult"||t.element==="httpRequest"||t.element==="httpResponse"||t.element==="category"||t.element==="link"?!0:!(s===void 0||Array.isArray(s)&&s.length===0)}refSerialiseContent(t,s){return delete s.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const s=t.attributes.clone(),n=s.remove("enumerations")||new this.namespace.elements.Array([]),o=s.get("default");let a=s.get("samples")||new this.namespace.elements.Array([]);if(o&&o.content&&(o.content.attributes&&o.content.attributes.remove("typeAttributes"),s.set("default",new this.namespace.elements.Array([o.content]))),a.forEach(c=>{c.content&&c.content.element&&c.content.attributes.remove("typeAttributes")}),t.content&&n.length!==0&&a.unshift(t.content),a=a.map(c=>c instanceof this.namespace.elements.Array?[c]:new this.namespace.elements.Array([c.content])),a.length&&s.set("samples",a),s.length>0)return this.serialiseObject(s)}enumSerialiseContent(t){if(t._attributes){const s=t.attributes.get("enumerations");if(s&&s.length>0)return s.content.map(n=>{const o=n.clone();return o.attributes.remove("typeAttributes"),this.serialise(o)})}if(t.content){const s=t.content.clone();return s.attributes.remove("typeAttributes"),[this.serialise(s)]}return[]}deserialise(t){if(typeof t=="string")return new this.namespace.elements.String(t);if(typeof t=="number")return new this.namespace.elements.Number(t);if(typeof t=="boolean")return new this.namespace.elements.Boolean(t);if(t===null)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const s=this.namespace.getElementClass(t.element),n=new s;n.element!==t.element&&(n.element=t.element),t.meta&&this.deserialiseObject(t.meta,n.meta),t.attributes&&this.deserialiseObject(t.attributes,n.attributes);const o=this.deserialiseContent(t.content);if((o!==void 0||n.content===null)&&(n.content=o),n.element==="enum"){n.content&&n.attributes.set("enumerations",n.content);let a=n.attributes.get("samples");if(n.attributes.remove("samples"),a){const l=a;a=new this.namespace.elements.Array,l.forEach(p=>{p.forEach(m=>{const h=new s(m);h.element=n.element,a.push(h)})});const u=a.shift();u?n.content=u.content:n.content=void 0,n.attributes.set("samples",a)}else n.content=void 0;let c=n.attributes.get("default");if(c&&c.length>0){c=c.get(0);const l=new s(c);l.element=n.element,n.attributes.set("default",l)}}else if(n.element==="dataStructure"&&Array.isArray(n.content))[n.content]=n.content;else if(n.element==="category"){const a=n.attributes.get("meta");a&&(n.attributes.set("metadata",a),n.attributes.remove("meta"))}else n.element==="member"&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const s=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(s.value=this.deserialise(t.value)),s}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length?!0:t.element==="enum"?!1:t.element!==t.primitive()||t.element==="member"}convertKeyToRefract(t,s){return this.shouldRefract(s)?this.serialise(s):s.element==="enum"?this.serialiseEnum(s):s.element==="array"?s.map(n=>this.shouldRefract(n)||t==="default"?this.serialise(n):n.element==="array"||n.element==="object"||n.element==="enum"?n.children.map(o=>this.serialise(o)):n.toValue()):s.element==="object"?(s.content||[]).map(this.serialise,this):s.toValue()}serialiseEnum(t){return t.children.map(s=>this.serialise(s))}serialiseObject(t){const s={};return t.forEach((n,o)=>{if(n){const a=o.toValue();s[a]=this.convertKeyToRefract(a,n)}}),s}deserialiseObject(t,s){Object.keys(t).forEach(n=>{s.set(n,this.deserialise(t[n]))})}},JSON06Serialiser_1}var hasRequiredMinim;function requireMinim(){if(hasRequiredMinim)return minim;hasRequiredMinim=1;const r=requireNamespace(),e=requireElements();return minim.Namespace=r,minim.namespace=function(s){return new r(s)},minim.KeyValuePair=requireKeyValuePair(),minim.ArraySlice=e.ArraySlice,minim.ObjectSlice=e.ObjectSlice,minim.Element=e.Element,minim.StringElement=e.StringElement,minim.NumberElement=e.NumberElement,minim.BooleanElement=e.BooleanElement,minim.NullElement=e.NullElement,minim.ArrayElement=e.ArrayElement,minim.ObjectElement=e.ObjectElement,minim.MemberElement=e.MemberElement,minim.RefElement=e.RefElement,minim.LinkElement=e.LinkElement,minim.refract=e.refract,minim.JSONSerialiser=requireJSONSerialiser(),minim.JSON06Serialiser=requireJSON06Serialiser(),minim}var minimExports=requireMinim();class Annotation extends minimExports.StringElement{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}class Comment extends minimExports.StringElement{constructor(e,t,s){super(e,t,s),this.element="comment"}}let ParseResult$1=class extends minimExports.ArrayElement{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter(e=>e.classes.contains("api")).first}get results(){return this.children.filter(e=>e.classes.contains("result"))}get result(){return this.results.first}get annotations(){return this.children.filter(e=>e.element==="annotation")}get warnings(){return this.children.filter(e=>e.element==="annotation"&&e.classes.contains("warning"))}get errors(){return this.children.filter(e=>e.element==="annotation"&&e.classes.contains("error"))}get isEmpty(){return this.children.reject(e=>e.element==="annotation").isEmpty}replaceResult(e){const{result:t}=this;if(isUndefined$1(t))return!1;const s=this.content.findIndex(n=>n===t);return s===-1?!1:(this.content[s]=e,!0)}};class SourceMap extends minimExports.ArrayElement{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter(e=>e.classes.contains("position")).get(0)}get positionEnd(){return this.children.filter(e=>e.classes.contains("position")).get(1)}set position(e){if(typeof e>"u")return;const t=new minimExports.ArrayElement([e.start.row,e.start.column,e.start.char]),s=new minimExports.ArrayElement([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const hasMethod=(r,e)=>typeof e=="object"&&e!==null&&r in e&&typeof e[r]=="function",hasBasicElementProps=r=>typeof r=="object"&&r!=null&&"_storedElement"in r&&typeof r._storedElement=="string"&&"_content"in r,primitiveEq=(r,e)=>typeof e=="object"&&e!==null&&"primitive"in e?typeof e.primitive=="function"&&e.primitive()===r:!1,hasClass=(r,e)=>typeof e=="object"&&e!==null&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof minimExports.ArrayElement)&&e.classes.includes(r),isElementType=(r,e)=>typeof e=="object"&&e!==null&&"element"in e&&e.element===r,createPredicate=r=>r({hasMethod,hasBasicElementProps,primitiveEq,isElementType,hasClass}),isElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e})=>t=>t instanceof minimExports.Element||r(t)&&e(void 0,t)),isStringElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e})=>t=>t instanceof minimExports.StringElement||r(t)&&e("string",t)),isNumberElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e})=>t=>t instanceof minimExports.NumberElement||r(t)&&e("number",t)),isNullElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e})=>t=>t instanceof minimExports.NullElement||r(t)&&e("null",t)),isBooleanElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e})=>t=>t instanceof minimExports.BooleanElement||r(t)&&e("boolean",t)),isObjectElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e,hasMethod:t})=>s=>s instanceof minimExports.ObjectElement||r(s)&&e("object",s)&&t("keys",s)&&t("values",s)&&t("items",s)),isArrayElement=createPredicate(({hasBasicElementProps:r,primitiveEq:e,hasMethod:t})=>s=>s instanceof minimExports.ArrayElement&&!(s instanceof minimExports.ObjectElement)||r(s)&&e("array",s)&&t("push",s)&&t("unshift",s)&&t("map",s)&&t("reduce",s)),isMemberElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof minimExports.MemberElement||r(s)&&e("member",s)&&t(void 0,s)),isLinkElement$2=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof minimExports.LinkElement||r(s)&&e("link",s)&&t(void 0,s)),isRefElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof minimExports.RefElement||r(s)&&e("ref",s)&&t(void 0,s)),isAnnotationElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof Annotation||r(s)&&e("annotation",s)&&t("array",s)),isCommentElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof Comment||r(s)&&e("comment",s)&&t("string",s)),isParseResultElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof ParseResult$1||r(s)&&e("parseResult",s)&&t("array",s)),isSourceMapElement=createPredicate(({hasBasicElementProps:r,isElementType:e,primitiveEq:t})=>s=>s instanceof SourceMap||r(s)&&e("sourceMap",s)&&t("array",s)),isPrimitiveElement=r=>isElementType("object",r)||isElementType("array",r)||isElementType("boolean",r)||isElementType("number",r)||isElementType("string",r)||isElementType("null",r)||isElementType("member",r),hasElementSourceMap=r=>isSourceMapElement(r.meta.get("sourceMap")),includesSymbols=(r,e)=>{if(r.length===0)return!0;const t=e.attributes.get("symbols");return isArrayElement(t)?all(included(t.toValue()),r):!1},includesClasses=(r,e)=>r.length===0?!0:all(included(e.classes.toValue()),r);var basePredicates=Object.freeze({__proto__:null,hasElementSourceMap,includesClasses,includesSymbols,isAnnotationElement,isArrayElement,isBooleanElement,isCommentElement,isElement,isLinkElement:isLinkElement$2,isMemberElement,isNullElement,isNumberElement,isObjectElement,isParseResultElement,isPrimitiveElement,isRefElement,isSourceMapElement,isStringElement});class Namespace extends minimExports.Namespace{constructor(){super(),this.register("annotation",Annotation),this.register("comment",Comment),this.register("parseResult",ParseResult$1),this.register("sourceMap",SourceMap)}}const namespace$c=new Namespace,createNamespace=r=>{const e=new Namespace;return isPlainObj(r)&&e.use(r),e},createToolbox$8=()=>({predicates:{...basePredicates},namespace:namespace$c});class Node{static type="node";type="node";isMissing;children;position;constructor({children:e=[],position:t,isMissing:s=!1}={}){this.type=this.constructor.type,this.isMissing=s,this.children=e,this.position=t}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach(t=>{const s=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,s)}),e}}class JsonNode extends Node{}class JsonDocument extends JsonNode{static type="document";get child(){return head(this.children)}}const isNodeType=(r,e)=>e!=null&&typeof e=="object"&&"type"in e&&e.type===r,isString$1=r=>isNodeType("string",r),isFalse=r=>isNodeType("false",r),isTrue=r=>isNodeType("true",r),isNull=r=>isNodeType("null",r),isNumber$1=r=>isNodeType("number",r),isArray$1=r=>isNodeType("array",r),isObject$2=r=>isNodeType("object",r),isStringContent=r=>isNodeType("stringContent",r),isEscapeSequence=r=>isNodeType("escapeSequence",r),isProperty=r=>isNodeType("property",r),isKey=r=>isNodeType("key",r);class JsonObject extends JsonNode{static type="object";get properties(){return this.children.filter(isProperty)}}class JsonProperty extends JsonNode{static type="property";get key(){return this.children.find(isKey)}get value(){return this.children.find(e=>isFalse(e)||isTrue(e)||isNull(e)||isNumber$1(e)||isString$1(e)||isArray$1(e)||isObject$2(e))}}class JsonArray extends JsonNode{static type="array";get items(){return this.children.filter(e=>isFalse(e)||isTrue(e)||isNull(e)||isNumber$1(e)||isString$1(e)||isArray$1(e)||isObject$2)}}class JsonValue extends JsonNode{static type="value";value;constructor({value:e,...t}){super({...t}),this.value=e}}class JsonString extends JsonNode{static type="string";get value(){return this.children.length===1?this.children[0].value:this.children.filter(e=>isStringContent(e)||isEscapeSequence(e)).reduce((e,t)=>e+t.value,"")}}class JsonKey extends JsonString{static type="key"}class JsonStringContent extends JsonValue{static type="stringContent"}class JsonNumber extends JsonValue{static type="number"}class JsonTrue extends JsonValue{static type="true"}class JsonFalse extends JsonValue{static type="false"}class JsonNull extends JsonValue{static type="null"}class YamlAlias extends Node{static type="alias";content;constructor({content:e,...t}){super({...t}),this.content=e}}class YamlNode extends Node{anchor;tag;style;styleGroup;constructor({anchor:e,tag:t,style:s,styleGroup:n,...o}){super({...o}),this.anchor=e,this.tag=t,this.style=s,this.styleGroup=n}}class YamlCollection extends YamlNode{}class YamlComment extends Node{static type="comment";content;constructor({content:e,...t}){super({...t}),this.content=e}}class YamlDirective extends Node{static type="directive";name;parameters;constructor({name:e,parameters:t,...s}){super({...s}),this.name=e,this.parameters=mergeRight({version:void 0,handle:void 0,prefix:void 0},t)}}class YamlDocument extends Node{static type="document"}const isDocument=r=>isNodeType("document",r),isMapping=r=>isNodeType("mapping",r),isSequence=r=>isNodeType("sequence",r),isKeyValuePair=r=>isNodeType("keyValuePair",r),isAnchor$1=r=>isNodeType("anchor",r),isScalar=r=>isNodeType("scalar",r),isAlias=r=>isNodeType("alias",r),isComment=r=>isNodeType("comment",r);class YamlKeyValuePair extends Node{static type="keyValuePair";styleGroup;constructor({styleGroup:e,...t}){super({...t}),this.styleGroup=e}}Object.defineProperties(YamlKeyValuePair.prototype,{key:{get(){return this.children.filter(r=>isScalar(r)||isMapping(r)||isSequence(r))[0]},enumerable:!0},value:{get(){const{key:r,children:e}=this,t=n=>n!==r,s=n=>isScalar(n)||isMapping(n)||isSequence(n)||isAlias(n);return e.filter(n=>t(n)&&s(n))[0]},enumerable:!0}});class YamlMapping extends YamlCollection{static type="mapping"}Object.defineProperty(YamlMapping.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(isKeyValuePair):[]},enumerable:!0});class YamlScalar extends YamlNode{static type="scalar";content;constructor({content:e,...t}){super({...t}),this.content=e}}class YamlSequence extends YamlCollection{static type="sequence"}Object.defineProperty(YamlSequence.prototype,"content",{get(){const{children:r}=this;return Array.isArray(r)?r.filter(e=>isSequence(e)||isMapping(e)||isScalar(e)||isAlias(e)):[]},enumerable:!0});class YamlStream extends Node{static type="stream"}Object.defineProperty(YamlStream.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(r=>isDocument(r)||isComment(r)):[]},enumerable:!0});let YamlNodeKind=function(r){return r.Scalar="Scalar",r.Sequence="Sequence",r.Mapping="Mapping",r}({});class YamlTag extends Node{static type="tag";explicitName;kind;constructor({explicitName:e,kind:t,...s}){super({...s}),this.explicitName=e,this.kind=t}}class YamlAnchor extends Node{static type="anchor";name;constructor({name:e,...t}){super({...t}),this.name=e}}let YamlStyle=function(r){return r.Plain="Plain",r.SingleQuoted="SingleQuoted",r.DoubleQuoted="DoubleQuoted",r.Literal="Literal",r.Folded="Folded",r.Explicit="Explicit",r.SinglePair="SinglePair",r.NextLine="NextLine",r.InLine="InLine",r}({}),YamlStyleGroup=function(r){return r.Flow="Flow",r.Block="Block",r}({});var esnext_aggregateError={},es_aggregateError={},es_aggregateError_constructor={},globalThis_1,hasRequiredGlobalThis;function requireGlobalThis(){if(hasRequiredGlobalThis)return globalThis_1;hasRequiredGlobalThis=1;var r=function(e){return e&&e.Math===Math&&e};return globalThis_1=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof commonjsGlobal=="object"&&commonjsGlobal)||r(typeof globalThis_1=="object"&&globalThis_1)||function(){return this}()||Function("return this")(),globalThis_1}var fails,hasRequiredFails;function requireFails(){return hasRequiredFails||(hasRequiredFails=1,fails=function(r){try{return!!r()}catch{return!0}}),fails}var functionBindNative,hasRequiredFunctionBindNative;function requireFunctionBindNative(){if(hasRequiredFunctionBindNative)return functionBindNative;hasRequiredFunctionBindNative=1;var r=requireFails();return functionBindNative=!r(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),functionBindNative}var functionApply,hasRequiredFunctionApply;function requireFunctionApply(){if(hasRequiredFunctionApply)return functionApply;hasRequiredFunctionApply=1;var r=requireFunctionBindNative(),e=Function.prototype,t=e.apply,s=e.call;return functionApply=typeof Reflect=="object"&&Reflect.apply||(r?s.bind(t):function(){return s.apply(t,arguments)}),functionApply}var functionUncurryThis,hasRequiredFunctionUncurryThis;function requireFunctionUncurryThis(){if(hasRequiredFunctionUncurryThis)return functionUncurryThis;hasRequiredFunctionUncurryThis=1;var r=requireFunctionBindNative(),e=Function.prototype,t=e.call,s=r&&e.bind.bind(t,t);return functionUncurryThis=r?s:function(n){return function(){return t.apply(n,arguments)}},functionUncurryThis}var classofRaw,hasRequiredClassofRaw;function requireClassofRaw(){if(hasRequiredClassofRaw)return classofRaw;hasRequiredClassofRaw=1;var r=requireFunctionUncurryThis(),e=r({}.toString),t=r("".slice);return classofRaw=function(s){return t(e(s),8,-1)},classofRaw}var functionUncurryThisClause,hasRequiredFunctionUncurryThisClause;function requireFunctionUncurryThisClause(){if(hasRequiredFunctionUncurryThisClause)return functionUncurryThisClause;hasRequiredFunctionUncurryThisClause=1;var r=requireClassofRaw(),e=requireFunctionUncurryThis();return functionUncurryThisClause=function(t){if(r(t)==="Function")return e(t)},functionUncurryThisClause}var isCallable,hasRequiredIsCallable;function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var r=typeof document=="object"&&document.all;return isCallable=typeof r>"u"&&r!==void 0?function(e){return typeof e=="function"||e===r}:function(e){return typeof e=="function"},isCallable}var objectGetOwnPropertyDescriptor={},descriptors$1,hasRequiredDescriptors;function requireDescriptors(){if(hasRequiredDescriptors)return descriptors$1;hasRequiredDescriptors=1;var r=requireFails();return descriptors$1=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),descriptors$1}var functionCall,hasRequiredFunctionCall;function requireFunctionCall(){if(hasRequiredFunctionCall)return functionCall;hasRequiredFunctionCall=1;var r=requireFunctionBindNative(),e=Function.prototype.call;return functionCall=r?e.bind(e):function(){return e.apply(e,arguments)},functionCall}var objectPropertyIsEnumerable={},hasRequiredObjectPropertyIsEnumerable;function requireObjectPropertyIsEnumerable(){if(hasRequiredObjectPropertyIsEnumerable)return objectPropertyIsEnumerable;hasRequiredObjectPropertyIsEnumerable=1;var r={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,t=e&&!r.call({1:2},1);return objectPropertyIsEnumerable.f=t?function(n){var o=e(this,n);return!!o&&o.enumerable}:r,objectPropertyIsEnumerable}var createPropertyDescriptor,hasRequiredCreatePropertyDescriptor;function requireCreatePropertyDescriptor(){return hasRequiredCreatePropertyDescriptor||(hasRequiredCreatePropertyDescriptor=1,createPropertyDescriptor=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}),createPropertyDescriptor}var indexedObject,hasRequiredIndexedObject;function requireIndexedObject(){if(hasRequiredIndexedObject)return indexedObject;hasRequiredIndexedObject=1;var r=requireFunctionUncurryThis(),e=requireFails(),t=requireClassofRaw(),s=Object,n=r("".split);return indexedObject=e(function(){return!s("z").propertyIsEnumerable(0)})?function(o){return t(o)==="String"?n(o,""):s(o)}:s,indexedObject}var isNullOrUndefined,hasRequiredIsNullOrUndefined;function requireIsNullOrUndefined(){return hasRequiredIsNullOrUndefined||(hasRequiredIsNullOrUndefined=1,isNullOrUndefined=function(r){return r==null}),isNullOrUndefined}var requireObjectCoercible,hasRequiredRequireObjectCoercible;function requireRequireObjectCoercible(){if(hasRequiredRequireObjectCoercible)return requireObjectCoercible;hasRequiredRequireObjectCoercible=1;var r=requireIsNullOrUndefined(),e=TypeError;return requireObjectCoercible=function(t){if(r(t))throw new e("Can't call method on "+t);return t},requireObjectCoercible}var toIndexedObject,hasRequiredToIndexedObject;function requireToIndexedObject(){if(hasRequiredToIndexedObject)return toIndexedObject;hasRequiredToIndexedObject=1;var r=requireIndexedObject(),e=requireRequireObjectCoercible();return toIndexedObject=function(t){return r(e(t))},toIndexedObject}var isObject$1,hasRequiredIsObject;function requireIsObject(){if(hasRequiredIsObject)return isObject$1;hasRequiredIsObject=1;var r=requireIsCallable();return isObject$1=function(e){return typeof e=="object"?e!==null:r(e)},isObject$1}var path,hasRequiredPath;function requirePath(){return hasRequiredPath||(hasRequiredPath=1,path={}),path}var getBuiltIn,hasRequiredGetBuiltIn;function requireGetBuiltIn(){if(hasRequiredGetBuiltIn)return getBuiltIn;hasRequiredGetBuiltIn=1;var r=requirePath(),e=requireGlobalThis(),t=requireIsCallable(),s=function(n){return t(n)?n:void 0};return getBuiltIn=function(n,o){return arguments.length<2?s(r[n])||s(e[n]):r[n]&&r[n][o]||e[n]&&e[n][o]},getBuiltIn}var objectIsPrototypeOf,hasRequiredObjectIsPrototypeOf;function requireObjectIsPrototypeOf(){if(hasRequiredObjectIsPrototypeOf)return objectIsPrototypeOf;hasRequiredObjectIsPrototypeOf=1;var r=requireFunctionUncurryThis();return objectIsPrototypeOf=r({}.isPrototypeOf),objectIsPrototypeOf}var environmentUserAgent,hasRequiredEnvironmentUserAgent;function requireEnvironmentUserAgent(){if(hasRequiredEnvironmentUserAgent)return environmentUserAgent;hasRequiredEnvironmentUserAgent=1;var r=requireGlobalThis(),e=r.navigator,t=e&&e.userAgent;return environmentUserAgent=t?String(t):"",environmentUserAgent}var environmentV8Version,hasRequiredEnvironmentV8Version;function requireEnvironmentV8Version(){if(hasRequiredEnvironmentV8Version)return environmentV8Version;hasRequiredEnvironmentV8Version=1;var r=requireGlobalThis(),e=requireEnvironmentUserAgent(),t=r.process,s=r.Deno,n=t&&t.versions||s&&s.version,o=n&&n.v8,a,c;return o&&(a=o.split("."),c=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!c&&e&&(a=e.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=e.match(/Chrome\/(\d+)/),a&&(c=+a[1]))),environmentV8Version=c,environmentV8Version}var symbolConstructorDetection,hasRequiredSymbolConstructorDetection;function requireSymbolConstructorDetection(){if(hasRequiredSymbolConstructorDetection)return symbolConstructorDetection;hasRequiredSymbolConstructorDetection=1;var r=requireEnvironmentV8Version(),e=requireFails(),t=requireGlobalThis(),s=t.String;return symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!e(function(){var n=Symbol("symbol detection");return!s(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&r&&r<41}),symbolConstructorDetection}var useSymbolAsUid,hasRequiredUseSymbolAsUid;function requireUseSymbolAsUid(){if(hasRequiredUseSymbolAsUid)return useSymbolAsUid;hasRequiredUseSymbolAsUid=1;var r=requireSymbolConstructorDetection();return useSymbolAsUid=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol",useSymbolAsUid}var isSymbol,hasRequiredIsSymbol;function requireIsSymbol(){if(hasRequiredIsSymbol)return isSymbol;hasRequiredIsSymbol=1;var r=requireGetBuiltIn(),e=requireIsCallable(),t=requireObjectIsPrototypeOf(),s=requireUseSymbolAsUid(),n=Object;return isSymbol=s?function(o){return typeof o=="symbol"}:function(o){var a=r("Symbol");return e(a)&&t(a.prototype,n(o))},isSymbol}var tryToString,hasRequiredTryToString;function requireTryToString(){if(hasRequiredTryToString)return tryToString;hasRequiredTryToString=1;var r=String;return tryToString=function(e){try{return r(e)}catch{return"Object"}},tryToString}var aCallable,hasRequiredACallable;function requireACallable(){if(hasRequiredACallable)return aCallable;hasRequiredACallable=1;var r=requireIsCallable(),e=requireTryToString(),t=TypeError;return aCallable=function(s){if(r(s))return s;throw new t(e(s)+" is not a function")},aCallable}var getMethod,hasRequiredGetMethod;function requireGetMethod(){if(hasRequiredGetMethod)return getMethod;hasRequiredGetMethod=1;var r=requireACallable(),e=requireIsNullOrUndefined();return getMethod=function(t,s){var n=t[s];return e(n)?void 0:r(n)},getMethod}var ordinaryToPrimitive,hasRequiredOrdinaryToPrimitive;function requireOrdinaryToPrimitive(){if(hasRequiredOrdinaryToPrimitive)return ordinaryToPrimitive;hasRequiredOrdinaryToPrimitive=1;var r=requireFunctionCall(),e=requireIsCallable(),t=requireIsObject(),s=TypeError;return ordinaryToPrimitive=function(n,o){var a,c;if(o==="string"&&e(a=n.toString)&&!t(c=r(a,n))||e(a=n.valueOf)&&!t(c=r(a,n))||o!=="string"&&e(a=n.toString)&&!t(c=r(a,n)))return c;throw new s("Can't convert object to primitive value")},ordinaryToPrimitive}var sharedStore={exports:{}},isPure,hasRequiredIsPure;function requireIsPure(){return hasRequiredIsPure||(hasRequiredIsPure=1,isPure=!0),isPure}var defineGlobalProperty,hasRequiredDefineGlobalProperty;function requireDefineGlobalProperty(){if(hasRequiredDefineGlobalProperty)return defineGlobalProperty;hasRequiredDefineGlobalProperty=1;var r=requireGlobalThis(),e=Object.defineProperty;return defineGlobalProperty=function(t,s){try{e(r,t,{value:s,configurable:!0,writable:!0})}catch{r[t]=s}return s},defineGlobalProperty}var hasRequiredSharedStore;function requireSharedStore(){if(hasRequiredSharedStore)return sharedStore.exports;hasRequiredSharedStore=1;var r=requireIsPure(),e=requireGlobalThis(),t=requireDefineGlobalProperty(),s="__core-js_shared__",n=sharedStore.exports=e[s]||t(s,{});return(n.versions||(n.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"}),sharedStore.exports}var shared,hasRequiredShared;function requireShared(){if(hasRequiredShared)return shared;hasRequiredShared=1;var r=requireSharedStore();return shared=function(e,t){return r[e]||(r[e]=t||{})},shared}var toObject,hasRequiredToObject;function requireToObject(){if(hasRequiredToObject)return toObject;hasRequiredToObject=1;var r=requireRequireObjectCoercible(),e=Object;return toObject=function(t){return e(r(t))},toObject}var hasOwnProperty_1,hasRequiredHasOwnProperty;function requireHasOwnProperty(){if(hasRequiredHasOwnProperty)return hasOwnProperty_1;hasRequiredHasOwnProperty=1;var r=requireFunctionUncurryThis(),e=requireToObject(),t=r({}.hasOwnProperty);return hasOwnProperty_1=Object.hasOwn||function(n,o){return t(e(n),o)},hasOwnProperty_1}var uid,hasRequiredUid;function requireUid(){if(hasRequiredUid)return uid;hasRequiredUid=1;var r=requireFunctionUncurryThis(),e=0,t=Math.random(),s=r(1 .toString);return uid=function(n){return"Symbol("+(n===void 0?"":n)+")_"+s(++e+t,36)},uid}var wellKnownSymbol,hasRequiredWellKnownSymbol;function requireWellKnownSymbol(){if(hasRequiredWellKnownSymbol)return wellKnownSymbol;hasRequiredWellKnownSymbol=1;var r=requireGlobalThis(),e=requireShared(),t=requireHasOwnProperty(),s=requireUid(),n=requireSymbolConstructorDetection(),o=requireUseSymbolAsUid(),a=r.Symbol,c=e("wks"),l=o?a.for||a:a&&a.withoutSetter||s;return wellKnownSymbol=function(u){return t(c,u)||(c[u]=n&&t(a,u)?a[u]:l("Symbol."+u)),c[u]},wellKnownSymbol}var toPrimitive,hasRequiredToPrimitive;function requireToPrimitive(){if(hasRequiredToPrimitive)return toPrimitive;hasRequiredToPrimitive=1;var r=requireFunctionCall(),e=requireIsObject(),t=requireIsSymbol(),s=requireGetMethod(),n=requireOrdinaryToPrimitive(),o=requireWellKnownSymbol(),a=TypeError,c=o("toPrimitive");return toPrimitive=function(l,u){if(!e(l)||t(l))return l;var p=s(l,c),m;if(p){if(u===void 0&&(u="default"),m=r(p,l,u),!e(m)||t(m))return m;throw new a("Can't convert object to primitive value")}return u===void 0&&(u="number"),n(l,u)},toPrimitive}var toPropertyKey,hasRequiredToPropertyKey;function requireToPropertyKey(){if(hasRequiredToPropertyKey)return toPropertyKey;hasRequiredToPropertyKey=1;var r=requireToPrimitive(),e=requireIsSymbol();return toPropertyKey=function(t){var s=r(t,"string");return e(s)?s:s+""},toPropertyKey}var documentCreateElement,hasRequiredDocumentCreateElement;function requireDocumentCreateElement(){if(hasRequiredDocumentCreateElement)return documentCreateElement;hasRequiredDocumentCreateElement=1;var r=requireGlobalThis(),e=requireIsObject(),t=r.document,s=e(t)&&e(t.createElement);return documentCreateElement=function(n){return s?t.createElement(n):{}},documentCreateElement}var ie8DomDefine,hasRequiredIe8DomDefine;function requireIe8DomDefine(){if(hasRequiredIe8DomDefine)return ie8DomDefine;hasRequiredIe8DomDefine=1;var r=requireDescriptors(),e=requireFails(),t=requireDocumentCreateElement();return ie8DomDefine=!r&&!e(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!==7}),ie8DomDefine}var hasRequiredObjectGetOwnPropertyDescriptor;function requireObjectGetOwnPropertyDescriptor(){if(hasRequiredObjectGetOwnPropertyDescriptor)return objectGetOwnPropertyDescriptor;hasRequiredObjectGetOwnPropertyDescriptor=1;var r=requireDescriptors(),e=requireFunctionCall(),t=requireObjectPropertyIsEnumerable(),s=requireCreatePropertyDescriptor(),n=requireToIndexedObject(),o=requireToPropertyKey(),a=requireHasOwnProperty(),c=requireIe8DomDefine(),l=Object.getOwnPropertyDescriptor;return objectGetOwnPropertyDescriptor.f=r?l:function(p,m){if(p=n(p),m=o(m),c)try{return l(p,m)}catch{}if(a(p,m))return s(!e(t.f,p,m),p[m])},objectGetOwnPropertyDescriptor}var isForced_1,hasRequiredIsForced;function requireIsForced(){if(hasRequiredIsForced)return isForced_1;hasRequiredIsForced=1;var r=requireFails(),e=requireIsCallable(),t=/#|\.prototype\./,s=function(l,u){var p=o[n(l)];return p===c?!0:p===a?!1:e(u)?r(u):!!u},n=s.normalize=function(l){return String(l).replace(t,".").toLowerCase()},o=s.data={},a=s.NATIVE="N",c=s.POLYFILL="P";return isForced_1=s,isForced_1}var functionBindContext,hasRequiredFunctionBindContext;function requireFunctionBindContext(){if(hasRequiredFunctionBindContext)return functionBindContext;hasRequiredFunctionBindContext=1;var r=requireFunctionUncurryThisClause(),e=requireACallable(),t=requireFunctionBindNative(),s=r(r.bind);return functionBindContext=function(n,o){return e(n),o===void 0?n:t?s(n,o):function(){return n.apply(o,arguments)}},functionBindContext}var objectDefineProperty={},v8PrototypeDefineBug,hasRequiredV8PrototypeDefineBug;function requireV8PrototypeDefineBug(){if(hasRequiredV8PrototypeDefineBug)return v8PrototypeDefineBug;hasRequiredV8PrototypeDefineBug=1;var r=requireDescriptors(),e=requireFails();return v8PrototypeDefineBug=r&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),v8PrototypeDefineBug}var anObject,hasRequiredAnObject;function requireAnObject(){if(hasRequiredAnObject)return anObject;hasRequiredAnObject=1;var r=requireIsObject(),e=String,t=TypeError;return anObject=function(s){if(r(s))return s;throw new t(e(s)+" is not an object")},anObject}var hasRequiredObjectDefineProperty;function requireObjectDefineProperty(){if(hasRequiredObjectDefineProperty)return objectDefineProperty;hasRequiredObjectDefineProperty=1;var r=requireDescriptors(),e=requireIe8DomDefine(),t=requireV8PrototypeDefineBug(),s=requireAnObject(),n=requireToPropertyKey(),o=TypeError,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l="enumerable",u="configurable",p="writable";return objectDefineProperty.f=r?t?function(h,g,y){if(s(h),g=n(g),s(y),typeof h=="function"&&g==="prototype"&&"value"in y&&p in y&&!y[p]){var d=c(h,g);d&&d[p]&&(h[g]=y.value,y={configurable:u in y?y[u]:d[u],enumerable:l in y?y[l]:d[l],writable:!1})}return a(h,g,y)}:a:function(h,g,y){if(s(h),g=n(g),s(y),e)try{return a(h,g,y)}catch{}if("get"in y||"set"in y)throw new o("Accessors not supported");return"value"in y&&(h[g]=y.value),h},objectDefineProperty}var createNonEnumerableProperty,hasRequiredCreateNonEnumerableProperty;function requireCreateNonEnumerableProperty(){if(hasRequiredCreateNonEnumerableProperty)return createNonEnumerableProperty;hasRequiredCreateNonEnumerableProperty=1;var r=requireDescriptors(),e=requireObjectDefineProperty(),t=requireCreatePropertyDescriptor();return createNonEnumerableProperty=r?function(s,n,o){return e.f(s,n,t(1,o))}:function(s,n,o){return s[n]=o,s},createNonEnumerableProperty}var _export,hasRequired_export;function require_export(){if(hasRequired_export)return _export;hasRequired_export=1;var r=requireGlobalThis(),e=requireFunctionApply(),t=requireFunctionUncurryThisClause(),s=requireIsCallable(),n=requireObjectGetOwnPropertyDescriptor().f,o=requireIsForced(),a=requirePath(),c=requireFunctionBindContext(),l=requireCreateNonEnumerableProperty(),u=requireHasOwnProperty(),p=function(m){var h=function(g,y,d){if(this instanceof h){switch(arguments.length){case 0:return new m;case 1:return new m(g);case 2:return new m(g,y)}return new m(g,y,d)}return e(m,this,arguments)};return h.prototype=m.prototype,h};return _export=function(m,h){var g=m.target,y=m.global,d=m.stat,b=m.proto,E=y?r:d?r[g]:r[g]&&r[g].prototype,f=y?a:a[g]||l(a,g,{})[g],_=f.prototype,v,$,S,x,O,A,V,w,R;for(x in h)v=o(y?x:g+(d?".":"#")+x,m.forced),$=!v&&E&&u(E,x),A=f[x],$&&(m.dontCallGetSet?(R=n(E,x),V=R&&R.value):V=E[x]),O=$&&V?V:h[x],!(!v&&!b&&typeof A==typeof O)&&(m.bind&&$?w=c(O,r):m.wrap&&$?w=p(O):b&&s(O)?w=t(O):w=O,(m.sham||O&&O.sham||A&&A.sham)&&l(w,"sham",!0),l(f,x,w),b&&(S=g+"Prototype",u(a,S)||l(a,S,{}),l(a[S],x,O),m.real&&_&&(v||!_[x])&&l(_,x,O)))},_export}var sharedKey,hasRequiredSharedKey;function requireSharedKey(){if(hasRequiredSharedKey)return sharedKey;hasRequiredSharedKey=1;var r=requireShared(),e=requireUid(),t=r("keys");return sharedKey=function(s){return t[s]||(t[s]=e(s))},sharedKey}var correctPrototypeGetter,hasRequiredCorrectPrototypeGetter;function requireCorrectPrototypeGetter(){if(hasRequiredCorrectPrototypeGetter)return correctPrototypeGetter;hasRequiredCorrectPrototypeGetter=1;var r=requireFails();return correctPrototypeGetter=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),correctPrototypeGetter}var objectGetPrototypeOf,hasRequiredObjectGetPrototypeOf;function requireObjectGetPrototypeOf(){if(hasRequiredObjectGetPrototypeOf)return objectGetPrototypeOf;hasRequiredObjectGetPrototypeOf=1;var r=requireHasOwnProperty(),e=requireIsCallable(),t=requireToObject(),s=requireSharedKey(),n=requireCorrectPrototypeGetter(),o=s("IE_PROTO"),a=Object,c=a.prototype;return objectGetPrototypeOf=n?a.getPrototypeOf:function(l){var u=t(l);if(r(u,o))return u[o];var p=u.constructor;return e(p)&&u instanceof p?p.prototype:u instanceof a?c:null},objectGetPrototypeOf}var functionUncurryThisAccessor,hasRequiredFunctionUncurryThisAccessor;function requireFunctionUncurryThisAccessor(){if(hasRequiredFunctionUncurryThisAccessor)return functionUncurryThisAccessor;hasRequiredFunctionUncurryThisAccessor=1;var r=requireFunctionUncurryThis(),e=requireACallable();return functionUncurryThisAccessor=function(t,s,n){try{return r(e(Object.getOwnPropertyDescriptor(t,s)[n]))}catch{}},functionUncurryThisAccessor}var isPossiblePrototype,hasRequiredIsPossiblePrototype;function requireIsPossiblePrototype(){if(hasRequiredIsPossiblePrototype)return isPossiblePrototype;hasRequiredIsPossiblePrototype=1;var r=requireIsObject();return isPossiblePrototype=function(e){return r(e)||e===null},isPossiblePrototype}var aPossiblePrototype,hasRequiredAPossiblePrototype;function requireAPossiblePrototype(){if(hasRequiredAPossiblePrototype)return aPossiblePrototype;hasRequiredAPossiblePrototype=1;var r=requireIsPossiblePrototype(),e=String,t=TypeError;return aPossiblePrototype=function(s){if(r(s))return s;throw new t("Can't set "+e(s)+" as a prototype")},aPossiblePrototype}var objectSetPrototypeOf,hasRequiredObjectSetPrototypeOf;function requireObjectSetPrototypeOf(){if(hasRequiredObjectSetPrototypeOf)return objectSetPrototypeOf;hasRequiredObjectSetPrototypeOf=1;var r=requireFunctionUncurryThisAccessor(),e=requireIsObject(),t=requireRequireObjectCoercible(),s=requireAPossiblePrototype();return objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n=!1,o={},a;try{a=r(Object.prototype,"__proto__","set"),a(o,[]),n=o instanceof Array}catch{}return function(l,u){return t(l),s(u),e(l)&&(n?a(l,u):l.__proto__=u),l}}():void 0),objectSetPrototypeOf}var objectGetOwnPropertyNames={},mathTrunc,hasRequiredMathTrunc;function requireMathTrunc(){if(hasRequiredMathTrunc)return mathTrunc;hasRequiredMathTrunc=1;var r=Math.ceil,e=Math.floor;return mathTrunc=Math.trunc||function(s){var n=+s;return(n>0?e:r)(n)},mathTrunc}var toIntegerOrInfinity,hasRequiredToIntegerOrInfinity;function requireToIntegerOrInfinity(){if(hasRequiredToIntegerOrInfinity)return toIntegerOrInfinity;hasRequiredToIntegerOrInfinity=1;var r=requireMathTrunc();return toIntegerOrInfinity=function(e){var t=+e;return t!==t||t===0?0:r(t)},toIntegerOrInfinity}var toAbsoluteIndex,hasRequiredToAbsoluteIndex;function requireToAbsoluteIndex(){if(hasRequiredToAbsoluteIndex)return toAbsoluteIndex;hasRequiredToAbsoluteIndex=1;var r=requireToIntegerOrInfinity(),e=Math.max,t=Math.min;return toAbsoluteIndex=function(s,n){var o=r(s);return o<0?e(o+n,0):t(o,n)},toAbsoluteIndex}var toLength,hasRequiredToLength;function requireToLength(){if(hasRequiredToLength)return toLength;hasRequiredToLength=1;var r=requireToIntegerOrInfinity(),e=Math.min;return toLength=function(t){var s=r(t);return s>0?e(s,9007199254740991):0},toLength}var lengthOfArrayLike,hasRequiredLengthOfArrayLike;function requireLengthOfArrayLike(){if(hasRequiredLengthOfArrayLike)return lengthOfArrayLike;hasRequiredLengthOfArrayLike=1;var r=requireToLength();return lengthOfArrayLike=function(e){return r(e.length)},lengthOfArrayLike}var arrayIncludes,hasRequiredArrayIncludes;function requireArrayIncludes(){if(hasRequiredArrayIncludes)return arrayIncludes;hasRequiredArrayIncludes=1;var r=requireToIndexedObject(),e=requireToAbsoluteIndex(),t=requireLengthOfArrayLike(),s=function(n){return function(o,a,c){var l=r(o),u=t(l);if(u===0)return!n&&-1;var p=e(c,u),m;if(n&&a!==a){for(;u>p;)if(m=l[p++],m!==m)return!0}else for(;u>p;p++)if((n||p in l)&&l[p]===a)return n||p||0;return!n&&-1}};return arrayIncludes={includes:s(!0),indexOf:s(!1)},arrayIncludes}var hiddenKeys,hasRequiredHiddenKeys;function requireHiddenKeys(){return hasRequiredHiddenKeys||(hasRequiredHiddenKeys=1,hiddenKeys={}),hiddenKeys}var objectKeysInternal,hasRequiredObjectKeysInternal;function requireObjectKeysInternal(){if(hasRequiredObjectKeysInternal)return objectKeysInternal;hasRequiredObjectKeysInternal=1;var r=requireFunctionUncurryThis(),e=requireHasOwnProperty(),t=requireToIndexedObject(),s=requireArrayIncludes().indexOf,n=requireHiddenKeys(),o=r([].push);return objectKeysInternal=function(a,c){var l=t(a),u=0,p=[],m;for(m in l)!e(n,m)&&e(l,m)&&o(p,m);for(;c.length>u;)e(l,m=c[u++])&&(~s(p,m)||o(p,m));return p},objectKeysInternal}var enumBugKeys,hasRequiredEnumBugKeys;function requireEnumBugKeys(){return hasRequiredEnumBugKeys||(hasRequiredEnumBugKeys=1,enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),enumBugKeys}var hasRequiredObjectGetOwnPropertyNames;function requireObjectGetOwnPropertyNames(){if(hasRequiredObjectGetOwnPropertyNames)return objectGetOwnPropertyNames;hasRequiredObjectGetOwnPropertyNames=1;var r=requireObjectKeysInternal(),e=requireEnumBugKeys(),t=e.concat("length","prototype");return objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(n){return r(n,t)},objectGetOwnPropertyNames}var objectGetOwnPropertySymbols={},hasRequiredObjectGetOwnPropertySymbols;function requireObjectGetOwnPropertySymbols(){return hasRequiredObjectGetOwnPropertySymbols||(hasRequiredObjectGetOwnPropertySymbols=1,objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols),objectGetOwnPropertySymbols}var ownKeys,hasRequiredOwnKeys;function requireOwnKeys(){if(hasRequiredOwnKeys)return ownKeys;hasRequiredOwnKeys=1;var r=requireGetBuiltIn(),e=requireFunctionUncurryThis(),t=requireObjectGetOwnPropertyNames(),s=requireObjectGetOwnPropertySymbols(),n=requireAnObject(),o=e([].concat);return ownKeys=r("Reflect","ownKeys")||function(c){var l=t.f(n(c)),u=s.f;return u?o(l,u(c)):l},ownKeys}var copyConstructorProperties,hasRequiredCopyConstructorProperties;function requireCopyConstructorProperties(){if(hasRequiredCopyConstructorProperties)return copyConstructorProperties;hasRequiredCopyConstructorProperties=1;var r=requireHasOwnProperty(),e=requireOwnKeys(),t=requireObjectGetOwnPropertyDescriptor(),s=requireObjectDefineProperty();return copyConstructorProperties=function(n,o,a){for(var c=e(o),l=s.f,u=t.f,p=0;ph;)t.f(c,g=p[h++],u[g]);return c},objectDefineProperties}var html,hasRequiredHtml;function requireHtml(){if(hasRequiredHtml)return html;hasRequiredHtml=1;var r=requireGetBuiltIn();return html=r("document","documentElement"),html}var objectCreate,hasRequiredObjectCreate;function requireObjectCreate(){if(hasRequiredObjectCreate)return objectCreate;hasRequiredObjectCreate=1;var r=requireAnObject(),e=requireObjectDefineProperties(),t=requireEnumBugKeys(),s=requireHiddenKeys(),n=requireHtml(),o=requireDocumentCreateElement(),a=requireSharedKey(),c=">",l="<",u="prototype",p="script",m=a("IE_PROTO"),h=function(){},g=function(f){return l+p+c+f+l+"/"+p+c},y=function(f){f.write(g("")),f.close();var _=f.parentWindow.Object;return f=null,_},d=function(){var f=o("iframe"),_="java"+p+":",v;return f.style.display="none",n.appendChild(f),f.src=String(_),v=f.contentWindow.document,v.open(),v.write(g("document.F=Object")),v.close(),v.F},b,E=function(){try{b=new ActiveXObject("htmlfile")}catch{}E=typeof document<"u"?document.domain&&b?y(b):d():y(b);for(var f=t.length;f--;)delete E[u][t[f]];return E()};return s[m]=!0,objectCreate=Object.create||function(_,v){var $;return _!==null?(h[u]=r(_),$=new h,h[u]=null,$[m]=_):$=E(),v===void 0?$:e.f($,v)},objectCreate}var installErrorCause,hasRequiredInstallErrorCause;function requireInstallErrorCause(){if(hasRequiredInstallErrorCause)return installErrorCause;hasRequiredInstallErrorCause=1;var r=requireIsObject(),e=requireCreateNonEnumerableProperty();return installErrorCause=function(t,s){r(s)&&"cause"in s&&e(t,"cause",s.cause)},installErrorCause}var errorStackClear,hasRequiredErrorStackClear;function requireErrorStackClear(){if(hasRequiredErrorStackClear)return errorStackClear;hasRequiredErrorStackClear=1;var r=requireFunctionUncurryThis(),e=Error,t=r("".replace),s=function(a){return String(new e(a).stack)}("zxcasd"),n=/\n\s*at [^:]*:[^\n]*/,o=n.test(s);return errorStackClear=function(a,c){if(o&&typeof a=="string"&&!e.prepareStackTrace)for(;c--;)a=t(a,n,"");return a},errorStackClear}var errorStackInstallable,hasRequiredErrorStackInstallable;function requireErrorStackInstallable(){if(hasRequiredErrorStackInstallable)return errorStackInstallable;hasRequiredErrorStackInstallable=1;var r=requireFails(),e=requireCreatePropertyDescriptor();return errorStackInstallable=!r(function(){var t=new Error("a");return"stack"in t?(Object.defineProperty(t,"stack",e(1,7)),t.stack!==7):!0}),errorStackInstallable}var errorStackInstall,hasRequiredErrorStackInstall;function requireErrorStackInstall(){if(hasRequiredErrorStackInstall)return errorStackInstall;hasRequiredErrorStackInstall=1;var r=requireCreateNonEnumerableProperty(),e=requireErrorStackClear(),t=requireErrorStackInstallable(),s=Error.captureStackTrace;return errorStackInstall=function(n,o,a,c){t&&(s?s(n,o):r(n,"stack",e(a,c)))},errorStackInstall}var iterators,hasRequiredIterators;function requireIterators(){return hasRequiredIterators||(hasRequiredIterators=1,iterators={}),iterators}var isArrayIteratorMethod,hasRequiredIsArrayIteratorMethod;function requireIsArrayIteratorMethod(){if(hasRequiredIsArrayIteratorMethod)return isArrayIteratorMethod;hasRequiredIsArrayIteratorMethod=1;var r=requireWellKnownSymbol(),e=requireIterators(),t=r("iterator"),s=Array.prototype;return isArrayIteratorMethod=function(n){return n!==void 0&&(e.Array===n||s[t]===n)},isArrayIteratorMethod}var toStringTagSupport,hasRequiredToStringTagSupport;function requireToStringTagSupport(){if(hasRequiredToStringTagSupport)return toStringTagSupport;hasRequiredToStringTagSupport=1;var r=requireWellKnownSymbol(),e=r("toStringTag"),t={};return t[e]="z",toStringTagSupport=String(t)==="[object z]",toStringTagSupport}var classof,hasRequiredClassof;function requireClassof(){if(hasRequiredClassof)return classof;hasRequiredClassof=1;var r=requireToStringTagSupport(),e=requireIsCallable(),t=requireClassofRaw(),s=requireWellKnownSymbol(),n=s("toStringTag"),o=Object,a=t(function(){return arguments}())==="Arguments",c=function(l,u){try{return l[u]}catch{}};return classof=r?t:function(l){var u,p,m;return l===void 0?"Undefined":l===null?"Null":typeof(p=c(u=o(l),n))=="string"?p:a?t(u):(m=t(u))==="Object"&&e(u.callee)?"Arguments":m},classof}var getIteratorMethod,hasRequiredGetIteratorMethod;function requireGetIteratorMethod(){if(hasRequiredGetIteratorMethod)return getIteratorMethod;hasRequiredGetIteratorMethod=1;var r=requireClassof(),e=requireGetMethod(),t=requireIsNullOrUndefined(),s=requireIterators(),n=requireWellKnownSymbol(),o=n("iterator");return getIteratorMethod=function(a){if(!t(a))return e(a,o)||e(a,"@@iterator")||s[r(a)]},getIteratorMethod}var getIterator,hasRequiredGetIterator;function requireGetIterator(){if(hasRequiredGetIterator)return getIterator;hasRequiredGetIterator=1;var r=requireFunctionCall(),e=requireACallable(),t=requireAnObject(),s=requireTryToString(),n=requireGetIteratorMethod(),o=TypeError;return getIterator=function(a,c){var l=arguments.length<2?n(a):c;if(e(l))return t(r(l,a));throw new o(s(a)+" is not iterable")},getIterator}var iteratorClose,hasRequiredIteratorClose;function requireIteratorClose(){if(hasRequiredIteratorClose)return iteratorClose;hasRequiredIteratorClose=1;var r=requireFunctionCall(),e=requireAnObject(),t=requireGetMethod();return iteratorClose=function(s,n,o){var a,c;e(s);try{if(a=t(s,"return"),!a){if(n==="throw")throw o;return o}a=r(a,s)}catch(l){c=!0,a=l}if(n==="throw")throw o;if(c)throw a;return e(a),o},iteratorClose}var iterate,hasRequiredIterate;function requireIterate(){if(hasRequiredIterate)return iterate;hasRequiredIterate=1;var r=requireFunctionBindContext(),e=requireFunctionCall(),t=requireAnObject(),s=requireTryToString(),n=requireIsArrayIteratorMethod(),o=requireLengthOfArrayLike(),a=requireObjectIsPrototypeOf(),c=requireGetIterator(),l=requireGetIteratorMethod(),u=requireIteratorClose(),p=TypeError,m=function(g,y){this.stopped=g,this.result=y},h=m.prototype;return iterate=function(g,y,d){var b=d&&d.that,E=!!(d&&d.AS_ENTRIES),f=!!(d&&d.IS_RECORD),_=!!(d&&d.IS_ITERATOR),v=!!(d&&d.INTERRUPTED),$=r(y,b),S,x,O,A,V,w,R,j=function(M){return S&&u(S,"normal",M),new m(!0,M)},P=function(M){return E?(t(M),v?$(M[0],M[1],j):$(M[0],M[1])):v?$(M,j):$(M)};if(f)S=g.iterator;else if(_)S=g;else{if(x=l(g),!x)throw new p(s(g)+" is not iterable");if(n(x)){for(O=0,A=o(g);A>O;O++)if(V=P(g[O]),V&&a(h,V))return V;return new m(!1)}S=c(g,x)}for(w=f?g.next:S.next;!(R=e(w,S)).done;){try{V=P(R.value)}catch(M){u(S,"throw",M)}if(typeof V=="object"&&V&&a(h,V))return V}return new m(!1)},iterate}var toString$1,hasRequiredToString;function requireToString(){if(hasRequiredToString)return toString$1;hasRequiredToString=1;var r=requireClassof(),e=String;return toString$1=function(t){if(r(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(t)},toString$1}var normalizeStringArgument,hasRequiredNormalizeStringArgument;function requireNormalizeStringArgument(){if(hasRequiredNormalizeStringArgument)return normalizeStringArgument;hasRequiredNormalizeStringArgument=1;var r=requireToString();return normalizeStringArgument=function(e,t){return e===void 0?arguments.length<2?"":t:r(e)},normalizeStringArgument}var hasRequiredEs_aggregateError_constructor;function requireEs_aggregateError_constructor(){if(hasRequiredEs_aggregateError_constructor)return es_aggregateError_constructor;hasRequiredEs_aggregateError_constructor=1;var r=require_export(),e=requireObjectIsPrototypeOf(),t=requireObjectGetPrototypeOf(),s=requireObjectSetPrototypeOf(),n=requireCopyConstructorProperties(),o=requireObjectCreate(),a=requireCreateNonEnumerableProperty(),c=requireCreatePropertyDescriptor(),l=requireInstallErrorCause(),u=requireErrorStackInstall(),p=requireIterate(),m=requireNormalizeStringArgument(),h=requireWellKnownSymbol(),g=h("toStringTag"),y=Error,d=[].push,b=function(_,v){var $=e(E,this),S;s?S=s(new y,$?t(this):E):(S=$?this:o(E),a(S,g,"Error")),v!==void 0&&a(S,"message",m(v)),u(S,b,S.stack,1),arguments.length>2&&l(S,arguments[2]);var x=[];return p(_,d,{that:x}),a(S,"errors",x),S};s?s(b,y):n(b,y,{name:!0});var E=b.prototype=o(y.prototype,{constructor:c(1,b),message:c(1,""),name:c(1,"AggregateError")});return r({global:!0,constructor:!0,arity:2},{AggregateError:b}),es_aggregateError_constructor}var hasRequiredEs_aggregateError;function requireEs_aggregateError(){return hasRequiredEs_aggregateError||(hasRequiredEs_aggregateError=1,requireEs_aggregateError_constructor()),es_aggregateError}var hasRequiredEsnext_aggregateError;function requireEsnext_aggregateError(){return hasRequiredEsnext_aggregateError||(hasRequiredEsnext_aggregateError=1,requireEs_aggregateError()),esnext_aggregateError}var es_error_cause={},proxyAccessor,hasRequiredProxyAccessor;function requireProxyAccessor(){if(hasRequiredProxyAccessor)return proxyAccessor;hasRequiredProxyAccessor=1;var r=requireObjectDefineProperty().f;return proxyAccessor=function(e,t,s){s in e||r(e,s,{configurable:!0,get:function(){return t[s]},set:function(n){t[s]=n}})},proxyAccessor}var inheritIfRequired,hasRequiredInheritIfRequired;function requireInheritIfRequired(){if(hasRequiredInheritIfRequired)return inheritIfRequired;hasRequiredInheritIfRequired=1;var r=requireIsCallable(),e=requireIsObject(),t=requireObjectSetPrototypeOf();return inheritIfRequired=function(s,n,o){var a,c;return t&&r(a=n.constructor)&&a!==o&&e(c=a.prototype)&&c!==o.prototype&&t(s,c),s},inheritIfRequired}var wrapErrorConstructorWithCause,hasRequiredWrapErrorConstructorWithCause;function requireWrapErrorConstructorWithCause(){if(hasRequiredWrapErrorConstructorWithCause)return wrapErrorConstructorWithCause;hasRequiredWrapErrorConstructorWithCause=1;var r=requireGetBuiltIn(),e=requireHasOwnProperty(),t=requireCreateNonEnumerableProperty(),s=requireObjectIsPrototypeOf(),n=requireObjectSetPrototypeOf(),o=requireCopyConstructorProperties(),a=requireProxyAccessor(),c=requireInheritIfRequired(),l=requireNormalizeStringArgument(),u=requireInstallErrorCause(),p=requireErrorStackInstall(),m=requireDescriptors(),h=requireIsPure();return wrapErrorConstructorWithCause=function(g,y,d,b){var E="stackTraceLimit",f=b?2:1,_=g.split("."),v=_[_.length-1],$=r.apply(null,_);if($){var S=$.prototype;if(!h&&e(S,"cause")&&delete S.cause,!d)return $;var x=r("Error"),O=y(function(A,V){var w=l(b?V:A,void 0),R=b?new $(A):new $;return w!==void 0&&t(R,"message",w),p(R,O,R.stack,2),this&&s(S,this)&&c(R,this,O),arguments.length>f&&u(R,arguments[f]),R});if(O.prototype=S,v!=="Error"?n?n(O,x):o(O,x,{name:!0}):m&&E in $&&(a(O,$,E),a(O,$,"prepareStackTrace")),o(O,$),!h)try{S.name!==v&&t(S,"name",v),S.constructor=O}catch{}return O}},wrapErrorConstructorWithCause}var hasRequiredEs_error_cause;function requireEs_error_cause(){if(hasRequiredEs_error_cause)return es_error_cause;hasRequiredEs_error_cause=1;var r=require_export(),e=requireGlobalThis(),t=requireFunctionApply(),s=requireWrapErrorConstructorWithCause(),n="WebAssembly",o=e[n],a=new Error("e",{cause:7}).cause!==7,c=function(u,p){var m={};m[u]=s(u,p,a),r({global:!0,constructor:!0,arity:1,forced:a},m)},l=function(u,p){if(o&&o[u]){var m={};m[u]=s(n+"."+u,p,a),r({target:n,stat:!0,constructor:!0,arity:1,forced:a},m)}};return c("Error",function(u){return function(m){return t(u,this,arguments)}}),c("EvalError",function(u){return function(m){return t(u,this,arguments)}}),c("RangeError",function(u){return function(m){return t(u,this,arguments)}}),c("ReferenceError",function(u){return function(m){return t(u,this,arguments)}}),c("SyntaxError",function(u){return function(m){return t(u,this,arguments)}}),c("TypeError",function(u){return function(m){return t(u,this,arguments)}}),c("URIError",function(u){return function(m){return t(u,this,arguments)}}),l("CompileError",function(u){return function(m){return t(u,this,arguments)}}),l("LinkError",function(u){return function(m){return t(u,this,arguments)}}),l("RuntimeError",function(u){return function(m){return t(u,this,arguments)}}),es_error_cause}var es_aggregateError_cause={},hasRequiredEs_aggregateError_cause;function requireEs_aggregateError_cause(){if(hasRequiredEs_aggregateError_cause)return es_aggregateError_cause;hasRequiredEs_aggregateError_cause=1;var r=require_export(),e=requireGetBuiltIn(),t=requireFunctionApply(),s=requireFails(),n=requireWrapErrorConstructorWithCause(),o="AggregateError",a=e(o),c=!s(function(){return a([1]).errors[0]!==1})&&s(function(){return a([1],o,{cause:7}).cause!==7});return r({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:n(o,function(l){return function(p,m){return t(l,this,arguments)}},c,!0)}),es_aggregateError_cause}var addToUnscopables,hasRequiredAddToUnscopables;function requireAddToUnscopables(){return hasRequiredAddToUnscopables||(hasRequiredAddToUnscopables=1,addToUnscopables=function(){}),addToUnscopables}var weakMapBasicDetection,hasRequiredWeakMapBasicDetection;function requireWeakMapBasicDetection(){if(hasRequiredWeakMapBasicDetection)return weakMapBasicDetection;hasRequiredWeakMapBasicDetection=1;var r=requireGlobalThis(),e=requireIsCallable(),t=r.WeakMap;return weakMapBasicDetection=e(t)&&/native code/.test(String(t)),weakMapBasicDetection}var internalState,hasRequiredInternalState;function requireInternalState(){if(hasRequiredInternalState)return internalState;hasRequiredInternalState=1;var r=requireWeakMapBasicDetection(),e=requireGlobalThis(),t=requireIsObject(),s=requireCreateNonEnumerableProperty(),n=requireHasOwnProperty(),o=requireSharedStore(),a=requireSharedKey(),c=requireHiddenKeys(),l="Object already initialized",u=e.TypeError,p=e.WeakMap,m,h,g,y=function(f){return g(f)?h(f):m(f,{})},d=function(f){return function(_){var v;if(!t(_)||(v=h(_)).type!==f)throw new u("Incompatible receiver, "+f+" required");return v}};if(r||o.state){var b=o.state||(o.state=new p);b.get=b.get,b.has=b.has,b.set=b.set,m=function(f,_){if(b.has(f))throw new u(l);return _.facade=f,b.set(f,_),_},h=function(f){return b.get(f)||{}},g=function(f){return b.has(f)}}else{var E=a("state");c[E]=!0,m=function(f,_){if(n(f,E))throw new u(l);return _.facade=f,s(f,E,_),_},h=function(f){return n(f,E)?f[E]:{}},g=function(f){return n(f,E)}}return internalState={set:m,get:h,has:g,enforce:y,getterFor:d},internalState}var functionName,hasRequiredFunctionName;function requireFunctionName(){if(hasRequiredFunctionName)return functionName;hasRequiredFunctionName=1;var r=requireDescriptors(),e=requireHasOwnProperty(),t=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,n=e(t,"name"),o=n&&function(){}.name==="something",a=n&&(!r||r&&s(t,"name").configurable);return functionName={EXISTS:n,PROPER:o,CONFIGURABLE:a},functionName}var defineBuiltIn,hasRequiredDefineBuiltIn;function requireDefineBuiltIn(){if(hasRequiredDefineBuiltIn)return defineBuiltIn;hasRequiredDefineBuiltIn=1;var r=requireCreateNonEnumerableProperty();return defineBuiltIn=function(e,t,s,n){return n&&n.enumerable?e[t]=s:r(e,t,s),e},defineBuiltIn}var iteratorsCore,hasRequiredIteratorsCore;function requireIteratorsCore(){if(hasRequiredIteratorsCore)return iteratorsCore;hasRequiredIteratorsCore=1;var r=requireFails(),e=requireIsCallable(),t=requireIsObject(),s=requireObjectCreate(),n=requireObjectGetPrototypeOf(),o=requireDefineBuiltIn(),a=requireWellKnownSymbol(),c=requireIsPure(),l=a("iterator"),u=!1,p,m,h;[].keys&&(h=[].keys(),"next"in h?(m=n(n(h)),m!==Object.prototype&&(p=m)):u=!0);var g=!t(p)||r(function(){var y={};return p[l].call(y)!==y});return g?p={}:c&&(p=s(p)),e(p[l])||o(p,l,function(){return this}),iteratorsCore={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:u},iteratorsCore}var objectToString,hasRequiredObjectToString;function requireObjectToString(){if(hasRequiredObjectToString)return objectToString;hasRequiredObjectToString=1;var r=requireToStringTagSupport(),e=requireClassof();return objectToString=r?{}.toString:function(){return"[object "+e(this)+"]"},objectToString}var setToStringTag,hasRequiredSetToStringTag;function requireSetToStringTag(){if(hasRequiredSetToStringTag)return setToStringTag;hasRequiredSetToStringTag=1;var r=requireToStringTagSupport(),e=requireObjectDefineProperty().f,t=requireCreateNonEnumerableProperty(),s=requireHasOwnProperty(),n=requireObjectToString(),o=requireWellKnownSymbol(),a=o("toStringTag");return setToStringTag=function(c,l,u,p){var m=u?c:c&&c.prototype;m&&(s(m,a)||e(m,a,{configurable:!0,value:l}),p&&!r&&t(m,"toString",n))},setToStringTag}var iteratorCreateConstructor,hasRequiredIteratorCreateConstructor;function requireIteratorCreateConstructor(){if(hasRequiredIteratorCreateConstructor)return iteratorCreateConstructor;hasRequiredIteratorCreateConstructor=1;var r=requireIteratorsCore().IteratorPrototype,e=requireObjectCreate(),t=requireCreatePropertyDescriptor(),s=requireSetToStringTag(),n=requireIterators(),o=function(){return this};return iteratorCreateConstructor=function(a,c,l,u){var p=c+" Iterator";return a.prototype=e(r,{next:t(+!u,l)}),s(a,p,!1,!0),n[p]=o,a},iteratorCreateConstructor}var iteratorDefine,hasRequiredIteratorDefine;function requireIteratorDefine(){if(hasRequiredIteratorDefine)return iteratorDefine;hasRequiredIteratorDefine=1;var r=require_export(),e=requireFunctionCall(),t=requireIsPure(),s=requireFunctionName(),n=requireIsCallable(),o=requireIteratorCreateConstructor(),a=requireObjectGetPrototypeOf(),c=requireObjectSetPrototypeOf(),l=requireSetToStringTag(),u=requireCreateNonEnumerableProperty(),p=requireDefineBuiltIn(),m=requireWellKnownSymbol(),h=requireIterators(),g=requireIteratorsCore(),y=s.PROPER,d=s.CONFIGURABLE,b=g.IteratorPrototype,E=g.BUGGY_SAFARI_ITERATORS,f=m("iterator"),_="keys",v="values",$="entries",S=function(){return this};return iteratorDefine=function(x,O,A,V,w,R,j){o(A,O,V);var P=function(U){if(U===w&&k)return k;if(!E&&U&&U in q)return q[U];switch(U){case _:return function(){return new A(this,U)};case v:return function(){return new A(this,U)};case $:return function(){return new A(this,U)}}return function(){return new A(this)}},M=O+" Iterator",I=!1,q=x.prototype,B=q[f]||q["@@iterator"]||w&&q[w],k=!E&&B||P(w),N=O==="Array"&&q.entries||B,D,H,J;if(N&&(D=a(N.call(new x)),D!==Object.prototype&&D.next&&(!t&&a(D)!==b&&(c?c(D,b):n(D[f])||p(D,f,S)),l(D,M,!0,!0),t&&(h[M]=S))),y&&w===v&&B&&B.name!==v&&(!t&&d?u(q,"name",v):(I=!0,k=function(){return e(B,this)})),w)if(H={values:P(v),keys:R?k:P(_),entries:P($)},j)for(J in H)(E||I||!(J in q))&&p(q,J,H[J]);else r({target:O,proto:!0,forced:E||I},H);return(!t||j)&&q[f]!==k&&p(q,f,k,{name:w}),h[O]=k,H},iteratorDefine}var createIterResultObject,hasRequiredCreateIterResultObject;function requireCreateIterResultObject(){return hasRequiredCreateIterResultObject||(hasRequiredCreateIterResultObject=1,createIterResultObject=function(r,e){return{value:r,done:e}}),createIterResultObject}var es_array_iterator,hasRequiredEs_array_iterator;function requireEs_array_iterator(){if(hasRequiredEs_array_iterator)return es_array_iterator;hasRequiredEs_array_iterator=1;var r=requireToIndexedObject(),e=requireAddToUnscopables(),t=requireIterators(),s=requireInternalState(),n=requireObjectDefineProperty().f,o=requireIteratorDefine(),a=requireCreateIterResultObject(),c=requireIsPure(),l=requireDescriptors(),u="Array Iterator",p=s.set,m=s.getterFor(u);es_array_iterator=o(Array,"Array",function(g,y){p(this,{type:u,target:r(g),index:0,kind:y})},function(){var g=m(this),y=g.target,d=g.index++;if(!y||d>=y.length)return g.target=null,a(void 0,!0);switch(g.kind){case"keys":return a(d,!1);case"values":return a(y[d],!1)}return a([d,y[d]],!1)},"values");var h=t.Arguments=t.Array;if(e("keys"),e("values"),e("entries"),!c&&l&&h.name!=="values")try{n(h,"name",{value:"values"})}catch{}return es_array_iterator}var es_string_iterator={},stringMultibyte,hasRequiredStringMultibyte;function requireStringMultibyte(){if(hasRequiredStringMultibyte)return stringMultibyte;hasRequiredStringMultibyte=1;var r=requireFunctionUncurryThis(),e=requireToIntegerOrInfinity(),t=requireToString(),s=requireRequireObjectCoercible(),n=r("".charAt),o=r("".charCodeAt),a=r("".slice),c=function(l){return function(u,p){var m=t(s(u)),h=e(p),g=m.length,y,d;return h<0||h>=g?l?"":void 0:(y=o(m,h),y<55296||y>56319||h+1===g||(d=o(m,h+1))<56320||d>57343?l?n(m,h):y:l?a(m,h,h+2):(y-55296<<10)+(d-56320)+65536)}};return stringMultibyte={codeAt:c(!1),charAt:c(!0)},stringMultibyte}var hasRequiredEs_string_iterator;function requireEs_string_iterator(){if(hasRequiredEs_string_iterator)return es_string_iterator;hasRequiredEs_string_iterator=1;var r=requireStringMultibyte().charAt,e=requireToString(),t=requireInternalState(),s=requireIteratorDefine(),n=requireCreateIterResultObject(),o="String Iterator",a=t.set,c=t.getterFor(o);return s(String,"String",function(l){a(this,{type:o,string:e(l),index:0})},function(){var u=c(this),p=u.string,m=u.index,h;return m>=p.length?n(void 0,!0):(h=r(p,m),u.index+=h.length,n(h,!1))}),es_string_iterator}var aggregateError$5,hasRequiredAggregateError$5;function requireAggregateError$5(){if(hasRequiredAggregateError$5)return aggregateError$5;hasRequiredAggregateError$5=1,requireEs_error_cause(),requireEs_aggregateError(),requireEs_aggregateError_cause(),requireEs_array_iterator(),requireEs_string_iterator();var r=requirePath();return aggregateError$5=r.AggregateError,aggregateError$5}var web_domCollections_iterator={},domIterables,hasRequiredDomIterables;function requireDomIterables(){return hasRequiredDomIterables||(hasRequiredDomIterables=1,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),domIterables}var hasRequiredWeb_domCollections_iterator;function requireWeb_domCollections_iterator(){if(hasRequiredWeb_domCollections_iterator)return web_domCollections_iterator;hasRequiredWeb_domCollections_iterator=1,requireEs_array_iterator();var r=requireDomIterables(),e=requireGlobalThis(),t=requireSetToStringTag(),s=requireIterators();for(var n in r)t(e[n],n),s[n]=s.Array;return web_domCollections_iterator}var aggregateError$4,hasRequiredAggregateError$4;function requireAggregateError$4(){if(hasRequiredAggregateError$4)return aggregateError$4;hasRequiredAggregateError$4=1,requireEsnext_aggregateError();var r=requireAggregateError$5();return requireWeb_domCollections_iterator(),aggregateError$4=r,aggregateError$4}var aggregateError$3,hasRequiredAggregateError$3;function requireAggregateError$3(){if(hasRequiredAggregateError$3)return aggregateError$3;hasRequiredAggregateError$3=1;var r=requireAggregateError$4();return aggregateError$3=r,aggregateError$3}var aggregateError$2,hasRequiredAggregateError$2;function requireAggregateError$2(){if(hasRequiredAggregateError$2)return aggregateError$2;hasRequiredAggregateError$2=1,requireEsnext_aggregateError();var r=requireAggregateError$3();return aggregateError$2=r,aggregateError$2}var aggregateError$1,hasRequiredAggregateError$1;function requireAggregateError$1(){return hasRequiredAggregateError$1||(hasRequiredAggregateError$1=1,aggregateError$1=requireAggregateError$2()),aggregateError$1}var aggregateError,hasRequiredAggregateError;function requireAggregateError(){return hasRequiredAggregateError||(hasRequiredAggregateError=1,aggregateError=requireAggregateError$1()),aggregateError}var aggregateErrorExports=requireAggregateError(),_AggregateError=getDefaultExportFromCjs(aggregateErrorExports);class ApiDOMAggregateError extends _AggregateError{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,s!=null&&typeof s=="object"&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:n}=s;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack} +CAUSE: ${n.stack}`)}}}class ApiDOMError extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ApiDOMAggregateError,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,t!=null&&typeof t=="object"&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:s}=t;this.cause=s,s instanceof Error&&"stack"in s&&(this.stack=`${this.stack} +CAUSE: ${s.stack}`)}}}class ApiDOMStructuredError extends ApiDOMError{constructor(e,t){if(super(e,t),t!=null&&typeof t=="object"){const{cause:s,...n}=t;Object.assign(this,n)}}}class UnsupportedOperationError extends ApiDOMError{}class NotImplementedError extends UnsupportedOperationError{}class YamlError extends ApiDOMStructuredError{}class YamlSchemaError extends YamlError{}class YamlTagError extends YamlSchemaError{specificTagName;explicitTagName;tagKind;tagPosition;nodeCanonicalContent;node;constructor(e,t){super(e,t),typeof t<"u"&&(this.specificTagName=t.specificTagName,this.explicitTagName=t.explicitTagName,this.tagKind=t.tagKind,this.tagPosition=t.tagPosition,this.nodeCanonicalContent=t.nodeCanonicalContent,this.node=t.node)}}let Tag$4=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(e){return!0}resolve(e){return e}};class GenericMapping extends Tag$4{static uri="tag:yaml.org,2002:map";test(e){return e.tag.kind===YamlNodeKind.Mapping}}class GenericSequence extends Tag$4{static uri="tag:yaml.org,2002:seq";test(e){return e.tag.kind===YamlNodeKind.Sequence}}class GenericString extends Tag$4{static uri="tag:yaml.org,2002:str"}var dist={},errors={},hasRequiredErrors;function requireErrors(){return hasRequiredErrors||(hasRequiredErrors=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.errorMessages=r.ErrorType=void 0;var e;(function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"})(e=r.ErrorType||(r.ErrorType={})),r.errorMessages=new Map([[e.MalformedUnicode,"malformed Unicode character escape sequence"],[e.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[e.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[e.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[e.EndOfString,"malformed escape sequence at end of string"]])}(errors)),errors}var hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.unraw=r.errorMessages=r.ErrorType=void 0;const e=requireErrors();Object.defineProperty(r,"ErrorType",{enumerable:!0,get:function(){return e.ErrorType}}),Object.defineProperty(r,"errorMessages",{enumerable:!0,get:function(){return e.errorMessages}});function t(g){return!g.match(/[^a-f0-9]/i)?parseInt(g,16):NaN}function s(g,y,d){const b=t(g);if(Number.isNaN(b)||d!==void 0&&d!==g.length)throw new SyntaxError(e.errorMessages.get(y));return b}function n(g){const y=s(g,e.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(y)}function o(g,y){const d=s(g,e.ErrorType.MalformedUnicode,4);if(y!==void 0){const b=s(y,e.ErrorType.MalformedUnicode,4);return String.fromCharCode(d,b)}return String.fromCharCode(d)}function a(g){return g.charAt(0)==="{"&&g.charAt(g.length-1)==="}"}function c(g){if(!a(g))throw new SyntaxError(e.errorMessages.get(e.ErrorType.MalformedUnicode));const y=g.slice(1,-1),d=s(y,e.ErrorType.MalformedUnicode);try{return String.fromCodePoint(d)}catch(b){throw b instanceof RangeError?new SyntaxError(e.errorMessages.get(e.ErrorType.CodePointLimit)):b}}function l(g,y=!1){if(y)throw new SyntaxError(e.errorMessages.get(e.ErrorType.OctalDeprecation));const d=parseInt(g,8);return String.fromCharCode(d)}const u=new Map([["b","\b"],["f","\f"],["n",` +`],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function p(g){return u.get(g)||g}const m=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function h(g,y=!1){return g.replace(m,function(d,b,E,f,_,v,$,S,x){if(b!==void 0)return"\\";if(E!==void 0)return n(E);if(f!==void 0)return c(f);if(_!==void 0)return o(_,v);if($!==void 0)return o($);if(S==="0")return"\0";if(S!==void 0)return l(S,!y);if(x!==void 0)return p(x);throw new SyntaxError(e.errorMessages.get(e.ErrorType.EndOfString))})}r.unraw=h,r.default=h}(dist)),dist}var distExports=requireDist();const blockStyleRegExp=/^(?