@swagger-api/apidom-parser-adapter-api-design-systems-yaml 0.69.2 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see apidom-parser-adapter-api-design-systems-yaml.browser.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomParserAdapterApiDesignSystemsYaml=e():t.apidomParserAdapterApiDesignSystemsYaml=e()}(self,(()=>(()=>{var t={8385:(t,e,r)=>{var n=r(6174);t.exports=n},5271:(t,e,r)=>{var n=r(7820);t.exports=n},7574:(t,e,r)=>{var n=r(2);t.exports=n},33:(t,e,r)=>{var n=r(5636);t.exports=n},9821:(t,e,r)=>{var n=r(2285);r(9031),t.exports=n},8008:(t,e,r)=>{var n=r(8535);t.exports=n},164:(t,e,r)=>{var n=r(6042);t.exports=n},2089:(t,e,r)=>{r(2276);var n=r(5607);t.exports=n("Array").indexOf},2604:(t,e,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||n(i,t)&&e===i.indexOf?s:e}},3512:(t,e,r)=>{r(297);var n=r(7545).Object,s=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(t,e,r)=>{r(6187);var n=r(7545);t.exports=n.Object.getOwnPropertySymbols},8651:(t,e,r)=>{r(2647);var n=r(7545);t.exports=n.Object.keys},5008:(t,e,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);t.exports=n.Symbol},994:(t,e,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);t.exports=n.f("iterator")},290:(t,e,r)=>{r(2432),r(3610);var n=r(9207);t.exports=n.f("toPrimitive")},5159:(t,e,r)=>{t.exports=r(2747)},8026:(t,e,r)=>{t.exports=r(229)},1903:(t,e,r)=>{t.exports=r(5090)},902:(t,e,r)=>{t.exports=r(5483)},9256:(t,e,r)=>{t.exports=r(2185)},5659:(t,e,r)=>{t.exports=r(9982)},3698:(t,e,r)=>{t.exports=r(8241)},2747:(t,e,r)=>{var n=r(8385);t.exports=n},229:(t,e,r)=>{var n=r(5271);t.exports=n},5090:(t,e,r)=>{var n=r(7574);t.exports=n},5483:(t,e,r)=>{var n=r(33);t.exports=n},2185:(t,e,r)=>{var n=r(9821);r(177),r(2725),r(1806),r(6658),r(4212),r(8658),r(1875),r(4592),r(6680),t.exports=n},9982:(t,e,r)=>{var n=r(8008);t.exports=n},8241:(t,e,r)=>{var n=r(164);t.exports=n},6235:(t,e,r)=>{var n=r(6447),s=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not a function")}},7757:(t,e,r)=>{var n=r(6447),s=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+s(t)+" as a prototype")}},7423:t=>{t.exports=function(){}},1138:(t,e,r)=>{var n=r(5744),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not an object")}},8180:(t,e,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(t){return function(e,r,o){var a,c=n(e),u=i(c),l=s(o,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},454:(t,e,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),a=r(4104),c=r(1321),u=s([].push),l=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,p=6==t,f=7==t,h=5==t||p;return function(_,d,m,y){for(var g,v,b=o(_),w=i(b),E=n(d,m),x=a(w),O=0,j=y||c,S=e?j(_,x):r||f?j(_,0):void 0;x>O;O++)if((h||O in w)&&(v=E(g=w[O],O,b),t))if(e)S[O]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u(S,g)}else switch(t){case 4:return!1;case 7:u(S,g)}return p?-1:s||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(t,e,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},424:(t,e,r)=>{"use strict";var n=r(6192);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1923:(t,e,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,a=Math.max;t.exports=function(t,e,r){for(var c=s(t),u=n(e,c),l=n(void 0===r?c:r,c),p=o(a(l-u,0)),f=0;u<l;u++,f++)i(p,f,t[u]);return p.length=f,p}},3096:(t,e,r)=>{var n=r(4120);t.exports=n([].slice)},3712:(t,e,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(s(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?a:e}},1321:(t,e,r)=>{var n=r(3712);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},9272:(t,e,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},4696:(t,e,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"==(n=i(e))&&s(e.callee)?"Arguments":n}},4635:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{var n=r(69),s=r(2760),i=r(774);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9361:(t,e,r)=>{"use strict";var n=r(77),s=r(2760),i=r(774);t.exports=function(t,e,r){var o=n(e);o in t?s.f(t,o,i(0,r)):t[o]=r}},2807:(t,e,r)=>{var n=r(2760);t.exports=function(t,e,r){return n.f(t,e,r)}},9362:(t,e,r)=>{var n=r(8711);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{var n=r(8576),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9425:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7365:t=>{t.exports={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}},8989:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},5607:(t,e,r)=>{var n=r(7545);t.exports=function(t){return n[t+"Prototype"]}},2952:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(t,e,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),u=r(7545),l=r(8043),p=r(8711),f=r(4500),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,_,d,m,y,g,v,b,w=t.target,E=t.global,x=t.stat,O=t.proto,j=E?n:x?n[w]:(n[w]||{}).prototype,S=E?u:u[w]||p(u,w,{})[w],A=S.prototype;for(d in e)s=!(r=c(E?d:w+(x?".":"#")+d,t.forced))&&j&&f(j,d),y=S[d],s&&(g=t.dontCallGetSet?(b=a(j,d))&&b.value:j[d]),m=s&&g?g:e[d],s&&typeof y==typeof m||(v=t.bind&&s?l(m,n):t.wrap&&s?h(m):O&&o(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&p(v,"sham",!0),p(S,d,v),O&&(f(u,_=w+"Prototype")||p(u,_,{}),p(u[_],d,m),t.real&&A&&(r||!A[d])&&p(A,d,m)))}},6192:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(t,e,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{var n=r(2784),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(t,e,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(t,e,r)=>{var n=r(4120),s=r(6235);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{var n=r(9272),s=r(4120);t.exports=function(t){if("Function"===n(t))return s(t)}},4120:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},9202:(t,e,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),a=r(4845),c=n([].push);t.exports=function(t){if(i(t))return t;if(s(t)){for(var e=t.length,r=[],n=0;n<e;n++){var u=t[n];"string"==typeof u?c(r,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(r,a(u))}var l=r.length,p=!0;return function(t,e){if(p)return p=!1,e;if(s(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},5037:(t,e,r)=>{var n=r(6235),s=r(5646);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},8576:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4500:(t,e,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},4535:t=>{t.exports={}},7403:(t,e,r)=>{var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{var n=r(69),s=r(6192),i=r(7449);t.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):o(t)}:o},9516:(t,e,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return o(t)}),t.exports=i.inspectSource},3326:(t,e,r)=>{var n,s,i,o=r(5278),a=r(8576),c=r(5744),u=r(8711),l=r(4500),p=r(6434),f=r(9766),h=r(4535),_="Object already initialized",d=a.TypeError,m=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw d(_);return e.facade=t,y.set(t,e),e},s=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=f("state");h[g]=!0,n=function(t,e){if(l(t,g))throw d(_);return e.facade=t,u(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},4770:(t,e,r)=>{var n=r(9272);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6447:(t,e,r)=>{var n=r(8382),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},2091:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),a=r(150),c=r(9516),u=function(){},l=[],p=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),_=!f.exec(u),d=function(t){if(!i(t))return!1;try{return p(u,l,t),!0}catch(t){return!1}},m=function(t){if(!i(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _||!!h(f,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!p||s((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?m:d},9245:(t,e,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r==l||r!=u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},5646:t=>{t.exports=function(t){return null==t}},5744:(t,e,r)=>{var n=r(6447),s=r(8382),i=s.all;t.exports=s.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},5546:t=>{t.exports=!0},3236:(t,e,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),a=r(7771),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),a=r(6447),c=r(5695),u=r(9341),l=r(4469),p=r(1284),f=r(8711),h=r(9362),_=r(8182),d=r(7771),m=r(4413),y=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=_("iterator"),E="keys",x="values",O="entries",j=function(){return this};t.exports=function(t,e,r,o,_,m,S){c(r,e,o);var A,P,k,M=function(t){if(t===_&&C)return C;if(!b&&t in F)return F[t];switch(t){case E:case x:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},N=e+" Iterator",I=!1,F=t.prototype,T=F[w]||F["@@iterator"]||_&&F[_],C=!b&&T||M(_),R="Array"==e&&F.entries||T;if(R&&(A=u(R.call(new t)))!==Object.prototype&&A.next&&(i||u(A)===v||(l?l(A,v):a(A[w])||h(A,w,j)),p(A,N,!0,!0),i&&(d[N]=j)),y&&_==x&&T&&T.name!==x&&(!i&&g?f(F,"name",x):(I=!0,C=function(){return s(T,this)})),_)if(P={values:M(x),keys:m?C:M(E),entries:M(O)},S)for(k in P)(b||I||!(k in F))&&h(F,k,P[k]);else n({target:e,proto:!0,forced:b||I},P);return i&&!S||F[w]===C||h(F,w,C,{name:_}),d[e]=C,P}},4413:(t,e,r)=>{"use strict";var n,s,i,o=r(6192),a=r(6447),c=r(5744),u=r(2853),l=r(9341),p=r(9362),f=r(8182),h=r(5546),_=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!c(n)||o((function(){var t={};return n[_].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[_])||p(n,_,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7771:t=>{t.exports={}},4104:(t,e,r)=>{var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2853:(t,e,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),a=r(4535),c=r(7403),u=r(7449),l=r(9766),p="prototype",f="script",h=l("IE_PROTO"),_=function(){},d=function(t){return"<"+f+">"+t+"</"+f+">"},m=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?m(n):(e=u("iframe"),r="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):m(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(_[p]=s(t),r=new _,_[p]=null,r[h]=t):r=y(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{var n=r(69),s=r(9600),i=r(2760),o=r(1138),a=r(101),c=r(7653);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},2760:(t,e,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),u=r(4500),l=r(188),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=a(t),e=c(e),l)try{return p(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},4052:(t,e,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return o(a)}}(t):i(s(t))}},2092:(t,e,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},4750:(t,e)=>{e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),a=r(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,a=r(4535),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},7653:(t,e,r)=>{var n=r(7934),s=r(2952);t.exports=Object.keys||function(t){return n(t,s)}},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4469:(t,e,r)=>{var n=r(6419),s=r(1138),i=r(7757);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},158:(t,e,r)=>{"use strict";var n=r(3471),s=r(4696);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(t,e,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw o("Can't convert object to primitive value")}},7545:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(5646),s=TypeError;t.exports=function(t){if(n(t))throw s("Can't call method on "+t);return t}},1284:(t,e,r)=>{var n=r(3471),s=r(2760).f,i=r(8711),o=r(4500),a=r(158),c=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a)}}},9766:(t,e,r)=>{var n=r(8717),s=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},6434:(t,e,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8717:(t,e,r)=>{var n=r(5546),s=r(6434);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,p=i(o(e)),f=s(r),h=p.length;return f<0||f>=h?t?"":void 0:(n=c(p,f))<55296||n>56319||f+1===h||(l=c(p,f+1))<56320||l>57343?t?a(p,f):n:t?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},6770:(t,e,r)=>{var n=r(4218),s=r(6192);t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(t,e,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);t.exports=function(){var t=s("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&o(e,a,(function(t){return n(r,this)}),{arity:1})}},31:(t,e,r)=>{var n=r(6770);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(t,e,r)=>{var n=r(1941),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},101:(t,e,r)=>{var n=r(2202),s=r(3209);t.exports=function(t){return n(s(t))}},1941:(t,e,r)=>{var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{var n=r(1941),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},1795:(t,e,r)=>{var n=r(3209),s=Object;t.exports=function(t){return s(n(t))}},7888:(t,e,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{var n=r(7888),s=r(3236);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},3471:(t,e,r)=>{var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{var n=r(4696),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},9288:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},615:(t,e,r)=>{var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{var n=r(69),s=r(6192);t.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},8332:(t,e,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2760).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});s(e,t)||o(e,t,{value:i.f(t)})}},9207:(t,e,r)=>{var n=r(8182);e.f=n},8182:(t,e,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),u=n.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},9106:(t,e,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),a=r(1795),c=r(4104),u=r(9425),l=r(9361),p=r(1321),f=r(242),h=r(8182),_=r(4218),d=h("isConcatSpreadable"),m=_>=51||!s((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=function(t){if(!o(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!f("concat")},{concat:function(t){var e,r,n,s,i,o=a(this),f=p(o,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?o:arguments[e]))for(s=c(i),u(h+s),r=0;r<s;r++,h++)r in i&&l(f,h,i[r]);else u(h+1),l(f,h++,i);return f.length=h,f}})},2276:(t,e,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),a=s([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?a(this,t,e)||0:i(this,t,e)}})},8939:(t,e,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),a=r(2760).f,c=r(5297),u=r(7271),l=r(5546),p=r(69),f="Array Iterator",h=o.set,_=o.getterFor(f);t.exports=c(Array,"Array",(function(t,e){h(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=_(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(t){}},2432:()=>{},9704:(t,e,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),a=r(4120),c=r(6192),u=r(6447),l=r(3236),p=r(3096),f=r(9202),h=r(6770),_=String,d=s("JSON","stringify"),m=a(/./.exec),y=a("".charAt),g=a("".charCodeAt),v=a("".replace),b=a(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,O=!h||c((function(){var t=s("Symbol")();return"[null]"!=d([t])||"{}"!=d({a:t})||"{}"!=d(Object(t))})),j=c((function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")})),S=function(t,e){var r=p(arguments),n=f(e);if(u(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(u(n)&&(e=o(n,this,_(t),e)),!l(e))return e},i(d,null,r)},A=function(t,e,r){var n=y(r,e-1),s=y(r,e+1);return m(E,t)&&!m(x,s)||m(x,t)&&!m(E,n)?"\\u"+b(g(t,0),16):t};d&&n({target:"JSON",stat:!0,arity:3,forced:O||j},{stringify:function(t,e,r){var n=p(arguments),s=i(O?S:d,null,n);return j&&"string"==typeof s?v(s,w,A):s}})},8671:(t,e,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(t,e,r)=>{var n=r(3085),s=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(t,e,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(a(t)):[]}})},2647:(t,e,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(t){return i(s(t))}})},6663:()=>{},1367:()=>{},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),a=r(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},9781:(t,e,r)=>{r(8332)("asyncIterator")},9351:(t,e,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),a=r(5546),c=r(69),u=r(6770),l=r(6192),p=r(4500),f=r(8902),h=r(1138),_=r(101),d=r(77),m=r(4845),y=r(774),g=r(2853),v=r(7653),b=r(2092),w=r(4052),E=r(4750),x=r(5141),O=r(2760),j=r(1187),S=r(6007),A=r(9362),P=r(2807),k=r(8717),M=r(9766),N=r(4535),I=r(2759),F=r(8182),T=r(9207),C=r(8332),R=r(3407),D=r(1284),q=r(3326),L=r(454).forEach,$=M("hidden"),z="Symbol",B="prototype",V=q.set,G=q.getterFor(z),U=Object[B],W=s.Symbol,Z=W&&W[B],H=s.TypeError,K=s.QObject,Q=x.f,Y=O.f,J=w.f,X=S.f,tt=o([].push),et=k("symbols"),rt=k("op-symbols"),nt=k("wks"),st=!K||!K[B]||!K[B].findChild,it=c&&l((function(){return 7!=g(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Q(U,e);n&&delete U[e],Y(t,e,r),n&&t!==U&&Y(U,e,n)}:Y,ot=function(t,e){var r=et[t]=g(Z);return V(r,{type:z,tag:t,description:e}),c||(r.description=e),r},at=function(t,e,r){t===U&&at(rt,e,r),h(t);var n=d(e);return h(r),p(et,n)?(r.enumerable?(p(t,$)&&t[$][n]&&(t[$][n]=!1),r=g(r,{enumerable:y(0,!1)})):(p(t,$)||Y(t,$,y(1,{})),t[$][n]=!0),it(t,n,r)):Y(t,n,r)},ct=function(t,e){h(t);var r=_(e),n=v(r).concat(ft(r));return L(n,(function(e){c&&!i(ut,r,e)||at(t,e,r[e])})),t},ut=function(t){var e=d(t),r=i(X,this,e);return!(this===U&&p(et,e)&&!p(rt,e))&&(!(r||!p(this,e)||!p(et,e)||p(this,$)&&this[$][e])||r)},lt=function(t,e){var r=_(t),n=d(e);if(r!==U||!p(et,n)||p(rt,n)){var s=Q(r,n);return!s||!p(et,n)||p(r,$)&&r[$][n]||(s.enumerable=!0),s}},pt=function(t){var e=J(_(t)),r=[];return L(e,(function(t){p(et,t)||p(N,t)||tt(r,t)})),r},ft=function(t){var e=t===U,r=J(e?rt:_(t)),n=[];return L(r,(function(t){!p(et,t)||e&&!p(U,t)||tt(n,et[t])})),n};u||(A(Z=(W=function(){if(f(Z,this))throw H("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=I(t),r=function(t){this===U&&i(r,rt,t),p(this,$)&&p(this[$],e)&&(this[$][e]=!1),it(this,e,y(1,t))};return c&&st&&it(U,e,{configurable:!0,set:r}),ot(e,t)})[B],"toString",(function(){return G(this).tag})),A(W,"withoutSetter",(function(t){return ot(I(t),t)})),S.f=ut,O.f=at,j.f=ct,x.f=lt,b.f=w.f=pt,E.f=ft,T.f=function(t){return ot(F(t),t)},c&&(P(Z,"description",{configurable:!0,get:function(){return G(this).description}}),a||A(U,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),L(v(nt),(function(t){C(t)})),n({target:z,stat:!0,forced:!u},{useSetter:function(){st=!0},useSimple:function(){st=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?g(t):ct(g(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt}),R(),D(W,z),N[$]=!0},492:()=>{},9148:(t,e,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),a=r(8717),c=r(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=o(t);if(i(u,e))return u[e];var r=s("Symbol")(e);return u[e]=r,l[r]=e,r}})},6681:(t,e,r)=>{r(8332)("hasInstance")},9594:(t,e,r)=>{r(8332)("isConcatSpreadable")},3665:(t,e,r)=>{r(8332)("iterator")},6187:(t,e,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(t,e,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),a=r(8717),c=r(31),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(s(u,t))return u[t]}})},1250:(t,e,r)=>{r(8332)("matchAll")},9017:(t,e,r)=>{r(8332)("match")},9786:(t,e,r)=>{r(8332)("replace")},503:(t,e,r)=>{r(8332)("search")},6565:(t,e,r)=>{r(8332)("species")},9322:(t,e,r)=>{r(8332)("split")},3610:(t,e,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(t,e,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(t,e,r)=>{r(8332)("unscopables")},177:(t,e,r)=>{r(8332)("asyncDispose")},9031:(t,e,r)=>{r(8332)("dispose")},2725:(t,e,r)=>{var n=r(3085),s=r(150),i=r(4120),o=s("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);n({target:"Symbol",stat:!0},{isRegistered:function(t){try{return void 0!==a(c(t))}catch(t){return!1}}})},1806:(t,e,r)=>{for(var n=r(3085),s=r(8717),i=r(150),o=r(4120),a=r(3236),c=r(8182),u=i("Symbol"),l=u.isWellKnown,p=i("Object","getOwnPropertyNames"),f=o(u.prototype.valueOf),h=s("wks"),_=0,d=p(u),m=d.length;_<m;_++)try{var y=d[_];a(u[y])&&c(y)}catch(t){}n({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(t){if(l&&l(t))return!0;try{for(var e=f(t),r=0,n=p(h),s=n.length;r<s;r++)if(h[n[r]]==e)return!0}catch(t){}return!1}})},6658:(t,e,r)=>{r(8332)("matcher")},4212:(t,e,r)=>{r(8332)("metadataKey")},1875:(t,e,r)=>{r(8332)("metadata")},8658:(t,e,r)=>{r(8332)("observable")},4592:(t,e,r)=>{r(8332)("patternMatch")},6680:(t,e,r)=>{r(8332)("replaceAll")},162:(t,e,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(t,e,r)=>{var n=r(2604);t.exports=n},7820:(t,e,r)=>{var n=r(3512);t.exports=n},2:(t,e,r)=>{var n=r(2921);t.exports=n},5636:(t,e,r)=>{var n=r(8651);t.exports=n},2285:(t,e,r)=>{var n=r(5008);r(162),t.exports=n},8535:(t,e,r)=>{var n=r(994);r(162),t.exports=n},6042:(t,e,r)=>{var n=r(290);t.exports=n},9515:(t,e,r)=>{var n=r(8761)(r(7772),"DataView");t.exports=n},9612:(t,e,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},235:(t,e,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},326:(t,e,r)=>{var n=r(8761)(r(7772),"Map");t.exports=n},6738:(t,e,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},1985:(t,e,r)=>{var n=r(8761)(r(7772),"Promise");t.exports=n},2143:(t,e,r)=>{var n=r(8761)(r(7772),"Set");t.exports=n},5386:(t,e,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,t.exports=o},6571:(t,e,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},857:(t,e,r)=>{var n=r(7772).Symbol;t.exports=n},9162:(t,e,r)=>{var n=r(7772).Uint8Array;t.exports=n},3215:(t,e,r)=>{var n=r(8761)(r(7772),"WeakMap");t.exports=n},7552:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[s++]=o)}return i}},1634:(t,e,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),p=!r&&!l&&o(t),f=!r&&!l&&!p&&c(t),h=r||l||p||f,_=h?n(t.length,String):[],d=_.length;for(var m in t)!e&&!u.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,d))||_.push(m);return _}},5067:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+r]=e[r];return t}},7064:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2218:(t,e,r)=>{var n=r(1225);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},1897:(t,e,r)=>{var n=r(5067),s=r(6152);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},3366:(t,e,r)=>{var n=r(857),s=r(2107),i=r(7157),o="[object Null]",a="[object Undefined]",c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:o:c&&c in Object(t)?s(t):i(t)}},5183:(t,e,r)=>{var n=r(3366),s=r(5125),i="[object Arguments]";t.exports=function(t){return s(t)&&n(t)==i}},8746:(t,e,r)=>{var n=r(1952),s=r(5125);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!=e&&r!=r:n(e,r,i,o,t,a))}},1952:(t,e,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),p=1,f="[object Arguments]",h="[object Array]",_="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,y,g){var v=c(t),b=c(e),w=v?h:a(t),E=b?h:a(e),x=(w=w==f?_:w)==_,O=(E=E==f?_:E)==_,j=w==E;if(j&&u(t)){if(!u(e))return!1;v=!0,x=!1}if(j&&!x)return g||(g=new n),v||l(t)?s(t,e,r,m,y,g):i(t,e,w,r,m,y,g);if(!(r&p)){var S=x&&d.call(t,"__wrapped__"),A=O&&d.call(e,"__wrapped__");if(S||A){var P=S?t.value():t,k=A?e.value():e;return g||(g=new n),y(P,k,r,m,g)}}return!!j&&(g||(g=new n),o(t,e,r,m,y,g))}},6840:(t,e,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?f:a).test(o(t))}},5522:(t,e,r)=>{var n=r(3366),s=r(1158),i=r(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},6411:(t,e,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6473:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},7826:t=>{t.exports=function(t){return function(e){return t(e)}}},9950:t=>{t.exports=function(t,e){return t.has(e)}},4019:(t,e,r)=>{var n=r(7772)["__core-js_shared__"];t.exports=n},4871:(t,e,r)=>{var n=r(5386),s=r(7064),i=r(9950),o=1,a=2;t.exports=function(t,e,r,c,u,l){var p=r&o,f=t.length,h=e.length;if(f!=h&&!(p&&h>f))return!1;var _=l.get(t),d=l.get(e);if(_&&d)return _==e&&d==t;var m=-1,y=!0,g=r&a?new n:void 0;for(l.set(t,e),l.set(e,t);++m<f;){var v=t[m],b=e[m];if(c)var w=p?c(b,v,m,e,t,l):c(v,b,m,t,e,l);if(void 0!==w){if(w)continue;y=!1;break}if(g){if(!s(e,(function(t,e){if(!i(g,e)&&(v===t||u(v,t,r,c,l)))return g.push(e)}))){y=!1;break}}else if(v!==b&&!u(v,b,r,c,l)){y=!1;break}}return l.delete(t),l.delete(e),y}},1491:(t,e,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),u=1,l=2,p="[object Boolean]",f="[object Date]",h="[object Error]",_="[object Map]",d="[object Number]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",b="[object ArrayBuffer]",w="[object DataView]",E=n?n.prototype:void 0,x=E?E.valueOf:void 0;t.exports=function(t,e,r,n,E,O,j){switch(r){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case b:return!(t.byteLength!=e.byteLength||!O(new s(t),new s(e)));case p:case f:case d:return i(+t,+e);case h:return t.name==e.name&&t.message==e.message;case m:case g:return t==e+"";case _:var S=a;case y:var A=n&u;if(S||(S=c),t.size!=e.size&&!A)return!1;var P=j.get(t);if(P)return P==e;n|=l,j.set(t,e);var k=o(S(t),S(e),n,E,O,j);return j.delete(t),k;case v:if(x)return x.call(t)==x.call(e)}return!1}},7416:(t,e,r)=>{var n=r(3483),s=1,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,c){var u=r&s,l=n(t),p=l.length;if(p!=n(e).length&&!u)return!1;for(var f=p;f--;){var h=l[f];if(!(u?h in e:i.call(e,h)))return!1}var _=c.get(t),d=c.get(e);if(_&&d)return _==e&&d==t;var m=!0;c.set(t,e),c.set(e,t);for(var y=u;++f<p;){var g=t[h=l[f]],v=e[h];if(o)var b=u?o(v,g,h,e,t,c):o(g,v,h,t,e,c);if(!(void 0===b?g===v||a(g,v,r,o,c):b)){m=!1;break}y||(y="constructor"==h)}if(m&&!y){var w=t.constructor,E=e.constructor;w==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(m=!1)}return c.delete(t),c.delete(e),m}},1242:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},3483:(t,e,r)=>{var n=r(1897),s=r(633),i=r(249);t.exports=function(t){return n(t,i,s)}},7937:(t,e,r)=>{var n=r(8304);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8761:(t,e,r)=>{var n=r(6840),s=r(8109);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},2107:(t,e,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},633:(t,e,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},940:(t,e,r)=>{var n=r(9515),s=r(326),i=r(1985),o=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",_="[object DataView]",d=u(n),m=u(s),y=u(i),g=u(o),v=u(a),b=c;(n&&b(new n(new ArrayBuffer(1)))!=_||s&&b(new s)!=l||i&&b(i.resolve())!=p||o&&b(new o)!=f||a&&b(new a)!=h)&&(b=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return _;case m:return l;case y:return p;case g:return f;case v:return h}return e}),t.exports=b},8109:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},2118:(t,e,r)=>{var n=r(9191);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},8138:(t,e,r)=>{var n=r(9191),s="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===s?void 0:r}return i.call(e,t)?e[t]:void 0}},4174:(t,e,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},7942:(t,e,r)=>{var n=r(9191),s="__lodash_hash_undefined__";t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?s:e,this}},9045:t=>{var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var s=typeof t;return!!(n=null==n?e:n)&&("number"==s||"symbol"!=s&&r.test(t))&&t>-1&&t%1==0&&t<n}},8304:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7394:(t,e,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},6001:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},3945:t=>{t.exports=function(){this.__data__=[],this.size=0}},1846:(t,e,r)=>{var n=r(2218),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},8028:(t,e,r)=>{var n=r(2218);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2344:(t,e,r)=>{var n=r(2218);t.exports=function(t){return n(this.__data__,t)>-1}},4769:(t,e,r)=>{var n=r(2218);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),s=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(t,e,r)=>{var n=r(7937);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6928:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).get(t)}},9493:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).has(t)}},4150:(t,e,r)=>{var n=r(7937);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},5179:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},9191:(t,e,r)=>{var n=r(8761)(Object,"create");t.exports=n},4248:(t,e,r)=>{var n=r(241)(Object.keys,Object);t.exports=n},4146:(t,e,r)=>{t=r.nmd(t);var n=r(1242),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},7157:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},241:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7772:(t,e,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},2842:t=>{var e="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,e),this}},2482:t=>{t.exports=function(t){return this.__data__.has(t)}},4207:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},5243:(t,e,r)=>{var n=r(235);t.exports=function(){this.__data__=new n,this.size=0}},2858:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4417:t=>{t.exports=function(t){return this.__data__.get(t)}},8605:t=>{t.exports=function(t){return this.__data__.has(t)}},1418:(t,e,r)=>{var n=r(235),s=r(326),i=r(6738),o=200;t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!s||a.length<o-1)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},7035:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},1225:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9631:(t,e,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6152:t=>{var e=Array.isArray;t.exports=e},7878:(t,e,r)=>{var n=r(1049),s=r(1158);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},4335:(t,e,r)=>{var n=r(3366),s=r(5125),i="[object Boolean]";t.exports=function(t){return!0===t||!1===t||s(t)&&n(t)==i}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),s=r(6330),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;t.exports=c},8149:(t,e,r)=>{var n=r(8746);t.exports=function(t,e){return n(t,e)}},1049:(t,e,r)=>{var n=r(3366),s=r(9259),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!s(t))return!1;var e=n(t);return e==o||e==a||e==i||e==c}},1158:t=>{var e=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}},5877:t=>{t.exports=function(t){return null===t}},537:(t,e,r)=>{var n=r(3366),s=r(5125),i="[object Number]";t.exports=function(t){return"number"==typeof t||s(t)&&n(t)==i}},9259:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5125:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},5505:(t,e,r)=>{var n=r(3366),s=r(6152),i=r(5125),o="[object String]";t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&n(t)==o}},7598:(t,e,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),s=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):s(t)}},1570:t=>{var e="Expected a function";t.exports=function(t){if("function"!=typeof t)throw new TypeError(e);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},981:t=>{t.exports=function(){return[]}},6330:t=>{t.exports=function(){return!1}},1178:(t,e,r)=>{const n=r(1570);function s(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),t.exports=i},3026:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5140:(t,e,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(t)){e=new s(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3853:(t,e,r)=>{const n=r(1570),s=r(1178);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},3756:(t,e,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),p=r(5202),f=r(2320),h=r(1178),_=r(3853),d=r(3026);function m(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new o(t);if("boolean"==typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new c(t.map(m));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=f,n.prototype.MemberElement=u,n.prototype.refract=m,h.prototype.refract=m,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:m,ArraySlice:h,ObjectSlice:_,KeyValuePair:d}},5202:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),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)}}},2320:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},7952:(t,e,r)=>{const n=r(5140),s=r(3756);e.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,e.W_=s.Element,e.RP=s.StringElement,e.VL=s.NumberElement,e.hh=s.BooleanElement,e.zr=s.NullElement,e.ON=s.ArrayElement,e.Sb=s.ObjectElement,e.c6=s.MemberElement,e.tK=s.RefElement,e.EA=s.LinkElement,e.Qc=s.refract,r(2947),r(8910)},1641:(t,e,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=o},3312:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(t,e,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),o=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof s&&(r.content.key&&o(t,r.content.key),r.content.value&&o(t,r.content.value)),t};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},8858:(t,e,r)=>{const n=r(3026),s=r(6420);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},4152:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},3860:(t,e,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},9542:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(t,e,r)=>{const n=r(2947);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}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 e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}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)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},2947:t=>{t.exports=class{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 e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},6591:t=>{!function(){"use strict";var e,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",_="deepProps",d="deepStatics",m="deepConf",y="initializers",g="methods",v="composers",b="compose";function w(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function E(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var x=E.bind(0,(function(t,e){if(e)for(var r=w(e),n=0;n<r.length;n+=1)Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]));return t}));function O(t){return"function"==typeof t}function j(t){return t&&"object"==typeof t||O(t)}function S(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var A=E.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!S(n))return n;for(var s,i,o=w(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==e&&(r[s]=t(S(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function P(){return(r=Array.prototype.concat.apply([],arguments).filter((function(t,e,r){return O(t)&&r.indexOf(t)===e}))).length?r:e}function k(t,e){function n(r,n){j(e[r])&&(j(t[r])||(t[r]={}),(n||x)(t[r],e[r]))}function s(n){(r=P(t[n],e[n]))&&(t[n]=r)}return e&&j(e=e[b]||e)&&(n(g),n(o),n(a,A),n(c),n(u),n(l,A),n(p),n(f),n(h,A),s(y),s(v)),t}function M(){return function(t){return r=function t(r){var n,s,i=t[b]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),f=i[a];if(f&&A(u,f),(f=i[o])&&x(u,f),(f=i[c])&&Object.defineProperties(u,f),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)O(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:t,args:p}))===e?u:s);return u},(n=t[l])&&A(r,n),(n=t[u])&&x(r,n),(n=t[p])&&Object.defineProperties(r,n),n=O(r[b])?r[b]:M,x(r[b]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function N(t){return O(t)&&O(t[b])}var I={};function F(t,i){return function(){return(s={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[b]||n).call(r,s)}}I[g]=F(g,x),I[o]=I.props=F(o,x),I[y]=I.init=F(y,P),I[v]=F(v,P),I[a]=I[_]=F(a,A),I[u]=I.statics=F(u,x),I[l]=I[d]=F(l,A),I[f]=I.conf=F(f,x),I[h]=I[m]=F(h,A),I[c]=F(c,x),I[p]=F(p,x),n=I[b]=x((function(){for(var t,w,E=0,O=[],S=arguments,k=this;E<S.length;)j(t=S[E++])&&O.push(N(t)?t:((s={})[g]=(w=t)[g]||e,n=w.props,s[o]=j((r=w[o])||n)?x({},n,r):e,s[y]=P(w.init,w[y]),s[v]=P(w[v]),n=w[_],s[a]=j((r=w[a])||n)?A({},n,r):e,s[c]=w[c],n=w.statics,s[u]=j((r=w[u])||n)?x({},n,r):e,n=w[d],s[l]=j((r=w[l])||n)?A({},n,r):e,r=w[p],s[p]=j((n=w.name&&{name:{value:w.name}})||r)?x({},r,n):e,n=w.conf,s[f]=j((r=w[f])||n)?x({},n,r):e,n=w[m],s[h]=j((r=w[h])||n)?A({},n,r):e,s));if(t=M.apply(k||i,O),k&&O.unshift(k),Array.isArray(S=t[b][v]))for(E=0;E<S.length;)t=N(k=S[E++]({stamp:t,composables:O}))?k:t;return t}),I),I.create=function(){return this.apply(e,arguments)},(s={})[u]=I,i=M(s),n[b]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},2396:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(t,e,r)=>{"use strict";const n=r(2396);function s(t,e,r){const s=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(s)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return s}function i(t,e){const r=s(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=s(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|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 c(t,e=!1){return t.replace(a,(function(t,r,a,c,u,l,p,f,h){if(void 0!==r)return"\\";if(void 0!==a)return function(t){const e=s(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(a);if(void 0!==c)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=s(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(c);if(void 0!==u)return i(u,l);if(void 0!==p)return i(p);if("0"===f)return"\0";if(void 0!==f)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(f,!e);if(void 0!==h)return _=h,o.get(_)||_;var _;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.S6=c},9794:(t,e,r)=>{var n=void 0!==n?n:{},s=function(){var e,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return e||(n=Object.assign({},n,o),e=new Promise((e=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,u,l=[],p="./this.program",f=function(t,e){throw e},h=!1,_=!1;h="object"==typeof window,_="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!h&&!c&&!_;var d,m,y,g,v,b="";c?(b=_?r(6287).dirname(b)+"/":"//",d=function(t,e){return g||(g=r(5530)),v||(v=r(6287)),t=v.normalize(t),g.readFileSync(t,e?null:"utf8")},y=function(t){var e=d(t,!0);return e.buffer||(e=new Uint8Array(e)),T(e.buffer),e},process.argv.length>1&&(p=process.argv[1].replace(/\\/g,"/")),l=process.argv.slice(2),t.exports=n,f=function(t){process.exit(t)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(d=function(t){return read(t)}),y=function(t){var e;return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(T("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?l=scriptArgs:void 0!==arguments&&(l=arguments),"function"==typeof quit&&(f=function(t){quit(t)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(h||_)&&(_?b=self.location.href:void 0!==s&&s.currentScript&&(b=s.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",d=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},_&&(y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),m=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(l=n.arguments),n.thisProgram&&(p=n.thisProgram),n.quit&&(f=n.quit);var E,x=16,O=[];function j(t,e){if(!E){E=new WeakMap;for(var r=0;r<Y.length;r++){var n=Y.get(r);n&&E.set(n,r)}}if(E.has(t))return E.get(t);var s=function(){if(O.length)return O.pop();try{Y.grow(1)}catch(t){if(!(t instanceof RangeError))throw t;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Y.length-1}();try{Y.set(s,t)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(t,e){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==e[0]?[]:[r[e[0]]]},s=1;s<e.length;++s)n.parameters.push(r[e[s]]);return new WebAssembly.Function(n,t)}var i=[1,0,1,96],o=e.slice(0,1),a=e.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:t}}).exports.f}(t,e);Y.set(s,i)}return E.set(t,s),s}var S,A=function(t){},P=n.dynamicLibraries||[];n.wasmBinary&&(S=n.wasmBinary);var k,M=n.noExitRuntime||!0;function N(t,e,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":R[t>>0]=e;break;case"i16":q[t>>1]=e;break;case"i32":L[t>>2]=e;break;case"i64":pt=[e>>>0,(lt=e,+Math.abs(lt)>=1?lt>0?(0|Math.min(+Math.floor(lt/4294967296),4294967295))>>>0:~~+Math.ceil((lt-+(~~lt>>>0))/4294967296)>>>0:0)],L[t>>2]=pt[0],L[t+4>>2]=pt[1];break;case"float":$[t>>2]=e;break;case"double":z[t>>3]=e;break;default:ct("invalid type for setValue: "+r)}}function I(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return R[t>>0];case"i16":return q[t>>1];case"i32":case"i64":return L[t>>2];case"float":return $[t>>2];case"double":return z[t>>3];default:ct("invalid type for getValue: "+e)}return null}"object"!=typeof WebAssembly&&ct("no native wasm support detected");var F=!1;function T(t,e){t||ct("Assertion failed: "+e)}var C,R,D,q,L,$,z,B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.subarray&&B)return B.decode(t.subarray(e,s));for(var i="";e<s;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var c=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&t[e++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function G(t,e){return t?V(D,t,e):""}function U(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function W(t,e,r){return U(t,D,e,r)}function Z(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}function H(t){var e=Z(t)+1,r=Kt(e);return U(t,R,r,e),r}function K(t){C=t,n.HEAP8=R=new Int8Array(t),n.HEAP16=q=new Int16Array(t),n.HEAP32=L=new Int32Array(t),n.HEAPU8=D=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=$=new Float32Array(t),n.HEAPF64=z=new Float64Array(t)}var Q=n.INITIAL_MEMORY||33554432;(k=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:Q/65536,maximum:32768}))&&(C=k.buffer),Q=C.byteLength,K(C);var Y=new WebAssembly.Table({initial:20,element:"anyfunc"}),J=[],X=[],tt=[],et=[],rt=!1,nt=0,st=null,it=null;function ot(t){nt++,n.monitorRunDependencies&&n.monitorRunDependencies(nt)}function at(t){if(nt--,n.monitorRunDependencies&&n.monitorRunDependencies(nt),0==nt&&(null!==st&&(clearInterval(st),st=null),it)){var e=it;it=null,e()}}function ct(t){throw n.onAbort&&n.onAbort(t),w(t+=""),F=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ut,lt,pt,ft="data:application/octet-stream;base64,";function ht(t){return t.startsWith(ft)}function _t(t){return t.startsWith("file://")}function dt(t){try{if(t==ut&&S)return new Uint8Array(S);if(y)return y(t);throw"both async and sync fetching of the wasm failed"}catch(t){ct(t)}}ht(ut="tree-sitter.wasm")||(ut=function(t){return n.locateFile?n.locateFile(t,b):b+t}(ut));var mt={},yt={get:function(t,e){return mt[e]||(mt[e]=new WebAssembly.Global({value:"i32",mutable:!0})),mt[e]}};function gt(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?Y.get(r)():Y.get(r)(e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}function vt(t){var e=0;function r(){for(var r=0,n=1;;){var s=t[e++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(t instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(t,"dylink");T(0!=n.length,"need dylink section"),t=new Int8Array(n[0])}else T(1836278016==new Uint32Array(new Uint8Array(t.subarray(0,24)).buffer)[0],"need to see wasm magic number"),T(0===t[8],"need the dylink section to be first"),e=9,r(),T(6===t[e]),T(t[++e]==="d".charCodeAt(0)),T(t[++e]==="y".charCodeAt(0)),T(t[++e]==="l".charCodeAt(0)),T(t[++e]==="i".charCodeAt(0)),T(t[++e]==="n".charCodeAt(0)),T(t[++e]==="k".charCodeAt(0)),e++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=t.subarray(e,e+a);e+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var bt=0;function wt(){return M||bt>0}function Et(t){return 0==t.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(t)?t:"_"+t}function xt(t,e){for(var r in t)if(t.hasOwnProperty(r)){Gt.hasOwnProperty(r)||(Gt[r]=t[r]);var s=Et(r);n.hasOwnProperty(s)||(n[s]=t[r])}}var Ot={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var jt=5251072;function St(t){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(t)}function At(t,e){var r={};for(var n in t){var s=t[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=e),r[n]=s}return function(t){for(var e in t)if(!St(e)){var r=!1,n=t[e];e.startsWith("orig$")&&(e=e.split("$")[1],r=!0),mt[e]||(mt[e]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==mt[e].value)&&("function"==typeof n?mt[e].value=j(n):"number"==typeof n?mt[e].value=n:w("unhandled export type for `"+e+"`: "+typeof n))}}(r),r}function Pt(t,e){var r,s;return e&&(r=Gt["orig$"+t]),r||(r=Gt[t]),r||(r=n[Et(t)]),!r&&t.startsWith("invoke_")&&(s=t.split("_")[1],r=function(){var t=Zt();try{return function(t,e,r){return t.includes("j")?function(t,e,r){var s=n["dynCall_"+t];return r&&r.length?s.apply(null,[e].concat(r)):s.call(null,e)}(t,e,r):Y.get(e).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(Ht(t),e!==e+0&&"longjmp"!==e)throw e;Qt(1,0)}}),r}function kt(t,e){var r=vt(t);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(t){if(rt)return Ut(t);var e=jt,r=e+t+15&-16;return jt=r,mt.__heap_base.value=r,e}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Y.length;Y.grow(r.tableSize);for(var u=a;u<a+r.memorySize;u++)R[u]=0;for(u=c;u<c+r.tableSize;u++)Y.set(u,null);var l=new Proxy({},{get:function(t,e){switch(e){case"__memory_base":return a;case"__table_base":return c}return e in Gt?Gt[e]:(e in t||(t[e]=function(){return r||(r=function(t){var e=Pt(t,!1);return e||(e=o[t]),e}(e)),r.apply(null,arguments)}),t[e]);var r}}),p={"GOT.mem":new Proxy({},yt),"GOT.func":new Proxy({},yt),env:l,wasi_snapshot_preview1:l};function f(t){for(var n=0;n<r.tableSize;n++){var s=Y.get(c+n);s&&E.set(s,c+n)}o=At(t.exports,a),e.allowUndefined||Nt();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(rt?i():X.push(i)),o}if(e.loadAsync){if(t instanceof WebAssembly.Module){var h=new WebAssembly.Instance(t,p);return Promise.resolve(f(h))}return WebAssembly.instantiate(t,p).then((function(t){return f(t.instance)}))}var _=t instanceof WebAssembly.Module?t:new WebAssembly.Module(t);return f(h=new WebAssembly.Instance(_,p))}return e.loadAsync?r.neededDynlibs.reduce((function(t,r){return t.then((function(){return Mt(r,e)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(t){Mt(t,e)})),n())}function Mt(t,e){"__main__"!=t||Ot.loadedLibNames[t]||(Ot.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},Ot.loadedLibNames.__main__=-1),e=e||{global:!0,nodelete:!0};var r,s=Ot.loadedLibNames[t];if(s)return r=Ot.loadedLibs[s],e.global&&!r.global&&(r.global=!0,"loading"!==r.module&&xt(r.module)),e.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,e.loadAsync?Promise.resolve(s):s;function i(t){if(e.fs){var r=e.fs.readFile(t,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),e.loadAsync?Promise.resolve(r):r}return e.loadAsync?(n=t,fetch(n,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load binary file at '"+n+"'";return t.arrayBuffer()})).then((function(t){return new Uint8Array(t)}))):y(t);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[t]){var r=n.preloadedWasm[t];return e.loadAsync?Promise.resolve(r):r}return e.loadAsync?i(t).then((function(t){return kt(t,e)})):kt(i(t),e)}function a(t){r.global&&xt(t),r.module=t}return s=Ot.nextHandle++,r={refcount:e.nodelete?1/0:1,name:t,module:"loading",global:e.global},Ot.loadedLibNames[t]=s,Ot.loadedLibs[s]=r,e.loadAsync?o().then((function(t){return a(t),s})):(a(o()),s)}function Nt(){for(var t in mt)if(0==mt[t].value){var e=Pt(t,!0);"function"==typeof e?mt[t].value=j(e,e.sig):"number"==typeof e?mt[t].value=e:T(!1,"bad export type for `"+t+"`: "+typeof e)}}n.___heap_base=jt;var It,Ft=new WebAssembly.Global({value:"i32",mutable:!0},5251072);function Tt(){ct()}n._abort=Tt,Tt.sig="v",It=c?function(){var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};var Ct=!0;function Rt(t,e){var r;if(0===t)r=Date.now();else{if(1!==t&&4!==t||!Ct)return 28,L[Wt()>>2]=28,-1;r=It()}return L[e>>2]=r/1e3|0,L[e+4>>2]=r%1e3*1e3*1e3|0,0}function Dt(t){try{return k.grow(t-C.byteLength+65535>>>16),K(k.buffer),1}catch(t){}}function qt(t){te(t)}Rt.sig="iii",qt.sig="vi";var Lt={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(t,e,r){if("/"===e[0])return e;var n;if(-100===t)n=FS.cwd();else{var s=FS.getStream(t);if(!s)throw new FS.ErrnoError(8);n=s.path}if(0==e.length){if(!r)throw new FS.ErrnoError(44);return n}return PATH.join2(n,e)},doStat:function(t,e,r){try{var n=t(e)}catch(t){if(t&&t.node&&PATH.normalize(e)!==PATH.normalize(FS.getPath(t.node)))return-54;throw t}return L[r>>2]=n.dev,L[r+4>>2]=0,L[r+8>>2]=n.ino,L[r+12>>2]=n.mode,L[r+16>>2]=n.nlink,L[r+20>>2]=n.uid,L[r+24>>2]=n.gid,L[r+28>>2]=n.rdev,L[r+32>>2]=0,pt=[n.size>>>0,(lt=n.size,+Math.abs(lt)>=1?lt>0?(0|Math.min(+Math.floor(lt/4294967296),4294967295))>>>0:~~+Math.ceil((lt-+(~~lt>>>0))/4294967296)>>>0:0)],L[r+40>>2]=pt[0],L[r+44>>2]=pt[1],L[r+48>>2]=4096,L[r+52>>2]=n.blocks,L[r+56>>2]=n.atime.getTime()/1e3|0,L[r+60>>2]=0,L[r+64>>2]=n.mtime.getTime()/1e3|0,L[r+68>>2]=0,L[r+72>>2]=n.ctime.getTime()/1e3|0,L[r+76>>2]=0,pt=[n.ino>>>0,(lt=n.ino,+Math.abs(lt)>=1?lt>0?(0|Math.min(+Math.floor(lt/4294967296),4294967295))>>>0:~~+Math.ceil((lt-+(~~lt>>>0))/4294967296)>>>0:0)],L[r+80>>2]=pt[0],L[r+84>>2]=pt[1],0},doMsync:function(t,e,r,n,s){var i=D.slice(t,t+r);FS.msync(e,i,s,r,n)},doMkdir:function(t,e){return"/"===(t=PATH.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),FS.mkdir(t,e,0),0},doMknod:function(t,e,r){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(t,e,r),0},doReadlink:function(t,e,r){if(r<=0)return-28;var n=FS.readlink(t),s=Math.min(r,Z(n)),i=R[e+s];return W(n,e,r+1),R[e+s]=i,s},doAccess:function(t,e){if(-8&e)return-28;var r;if(!(r=FS.lookupPath(t,{follow:!0}).node))return-44;var n="";return 4&e&&(n+="r"),2&e&&(n+="w"),1&e&&(n+="x"),n&&FS.nodePermissions(r,n)?-2:0},doDup:function(t,e,r){var n=FS.getStream(r);return n&&FS.close(n),FS.open(t,e,0,r,r).fd},doReadv:function(t,e,r,n){for(var s=0,i=0;i<r;i++){var o=L[e+8*i>>2],a=L[e+(8*i+4)>>2],c=FS.read(t,R,o,a,n);if(c<0)return-1;if(s+=c,c<a)break}return s},doWritev:function(t,e,r,n){for(var s=0,i=0;i<r;i++){var o=L[e+8*i>>2],a=L[e+(8*i+4)>>2],c=FS.write(t,R,o,a,n);if(c<0)return-1;s+=c}return s},varargs:void 0,get:function(){return Lt.varargs+=4,L[Lt.varargs-4>>2]},getStr:function(t){return G(t)},getStreamFromFD:function(t){var e=FS.getStream(t);if(!e)throw new FS.ErrnoError(8);return e},get64:function(t,e){return t}};function $t(t){try{var e=Lt.getStreamFromFD(t);return FS.close(e),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||ct(t),t.errno}}function zt(t,e,r,n){try{var s=Lt.getStreamFromFD(t),i=Lt.doWritev(s,e,r);return L[n>>2]=i,0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||ct(t),t.errno}}function Bt(t){A(t)}$t.sig="ii",zt.sig="iiiii",Bt.sig="vi";var Vt,Gt={__heap_base:jt,__indirect_function_table:Y,__memory_base:1024,__stack_pointer:Ft,__table_base:1,abort:Tt,clock_gettime:Rt,emscripten_memcpy_big:function(t,e,r){D.copyWithin(t,e,e+r)},emscripten_resize_heap:function(t){var e,r=D.length;if((t>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,t+100663296),Dt(Math.min(2147483648,((e=Math.max(t,s))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1},exit:qt,fd_close:$t,fd_seek:function(t,e,r,n,s){try{var i=Lt.getStreamFromFD(t),o=4294967296*r+(e>>>0);return o<=-9007199254740992||o>=9007199254740992?-61:(FS.llseek(i,o,n),pt=[i.position>>>0,(lt=i.position,+Math.abs(lt)>=1?lt>0?(0|Math.min(+Math.floor(lt/4294967296),4294967295))>>>0:~~+Math.ceil((lt-+(~~lt>>>0))/4294967296)>>>0:0)],L[s>>2]=pt[0],L[s+4>>2]=pt[1],i.getdents&&0===o&&0===n&&(i.getdents=null),0)}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||ct(t),t.errno}},fd_write:zt,memory:k,setTempRet0:Bt,tree_sitter_log_callback:function(t,e){if(de){const r=G(e);de(r,0!==t)}},tree_sitter_parse_callback:function(t,e,r,n,s){var i=_e(e,{row:r,column:n});"string"==typeof i?(N(s,i.length,"i32"),function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*t.length?r/2:t.length,s=0;s<n;++s){var i=t.charCodeAt(s);q[e>>1]=i,e+=2}q[e>>1]=0}(i,t,10240)):N(s,0,"i32")}},Ut=(function(){var t={env:Gt,wasi_snapshot_preview1:Gt,"GOT.mem":new Proxy(Gt,yt),"GOT.func":new Proxy(Gt,yt)};function e(t,e){var r=t.exports;r=At(r,1024),n.asm=r;var s,i=vt(e);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),xt(r),s=n.asm.__wasm_call_ctors,X.unshift(s),at()}function r(t){e(t.instance,t.module)}function s(e){return function(){if(!S&&(h||_)){if("function"==typeof fetch&&!_t(ut))return fetch(ut,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ut+"'";return t.arrayBuffer()})).catch((function(){return dt(ut)}));if(m)return new Promise((function(t,e){m(ut,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return dt(ut)}))}().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),ct(t)}))}if(ot(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}S||"function"!=typeof WebAssembly.instantiateStreaming||ht(ut)||_t(ut)||"function"!=typeof fetch?s(r):fetch(ut,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Ut=n._malloc=n.asm.malloc).apply(null,arguments)}),Wt=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Wt=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Zt=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Zt=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Ht=n.stackRestore=function(){return(Ht=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Kt=n.stackAlloc=function(){return(Kt=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Qt=n._setThrew=function(){return(Qt=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Yt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.dynCall_jiji=function(){return(n.dynCall_jiji=n.asm.dynCall_jiji).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(t,e){var r;return r=1==e?Kt(t.length):Ut(t.length),t.subarray||t.slice?D.set(t,r):D.set(new Uint8Array(t),r),r},it=function t(){Vt||Xt(),Vt||(it=t)};var Jt=!1;function Xt(t){function e(){Vt||(Vt=!0,n.calledRun=!0,F||(rt=!0,gt(X),gt(tt),n.onRuntimeInitialized&&n.onRuntimeInitialized(),ee&&function(t){var e=n._main;if(e){var r=(t=t||[]).length+1,s=Kt(4*(r+1));L[s>>2]=H(p);for(var i=1;i<r;i++)L[(s>>2)+i]=H(t[i-1]);L[(s>>2)+r]=0;try{te(e(r,s),!0)}catch(t){if(t instanceof Yt)return;if("unwind"==t)return;var o=t;t&&"object"==typeof t&&t.stack&&(o=[t,t.stack]),w("exception thrown: "+o),f(1,t)}}}(t),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),et.unshift(t);var t;gt(et)}()))}t=t||l,nt>0||!Jt&&(function(){if(P.length){if(!y)return ot(),void P.reduce((function(t,e){return t.then((function(){return Mt(e,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){at(),Nt()}));P.forEach((function(t){Mt(t,{global:!0,nodelete:!0,allowUndefined:!0})})),Nt()}else Nt()}(),Jt=!0,nt>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),J.unshift(t);var t;gt(J)}(),nt>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function te(t,e){e&&wt()&&0===t||(wt()||(n.onExit&&n.onExit(t),F=!0),f(t,new Yt(t)))}if(n.run=Xt,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var ee=!0;n.noInitialRun&&(ee=!1),Xt();const re=n,ne={},se=4,ie=5*se,oe=2*se,ae=2*se+2*oe,ce={row:0,column:0},ue=/[\w-.]*/g,le=/^_?tree_sitter_\w+/;var pe,fe,he,_e,de;class me{static init(){he=re._ts_init(),pe=I(he,"i32"),fe=I(he+se,"i32")}initialize(){re._ts_parser_new_wasm(),this[0]=I(he,"i32"),this[1]=I(he+se,"i32")}delete(){re._ts_parser_delete(this[0]),re._free(this[1]),this[0]=0,this[1]=0}setLanguage(t){let e;if(t){if(t.constructor!==be)throw new Error("Argument must be a Language");{e=t[0];const r=re._ts_language_version(e);if(r<fe||pe<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${fe} through ${pe}.`)}}else e=0,t=null;return this.language=t,re._ts_parser_set_language(this[0],e),this}getLanguage(){return this.language}parse(t,e,r){if("string"==typeof t)_e=(e,r,n)=>t.slice(e,n);else{if("function"!=typeof t)throw new Error("Argument must be a string or a function");_e=t}this.logCallback?(de=this.logCallback,re._ts_parser_enable_logger_wasm(this[0],1)):(de=null,re._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let t=s=re._calloc(n,ae);for(let e=0;e<n;e++)Ie(t,r.includedRanges[e]),t+=ae}const i=re._ts_parser_parse_wasm(this[0],this[1],e?e[0]:0,s,n);if(!i)throw _e=null,de=null,new Error("Parsing failed");const o=new ye(ne,i,this.language,_e);return _e=null,de=null,o}reset(){re._ts_parser_reset(this[0])}setTimeoutMicros(t){re._ts_parser_set_timeout_micros(this[0],t)}getTimeoutMicros(){return re._ts_parser_timeout_micros(this[0])}setLogger(t){if(t){if("function"!=typeof t)throw new Error("Logger callback must be a function")}else t=null;return this.logCallback=t,this}getLogger(){return this.logCallback}}class ye{constructor(t,e,r,n){Oe(t),this[0]=e,this.language=r,this.textCallback=n}copy(){const t=re._ts_tree_copy(this[0]);return new ye(ne,t,this.language,this.textCallback)}delete(){re._ts_tree_delete(this[0]),this[0]=0}edit(t){!function(t){let e=he;Me(e,t.startPosition),Me(e+=oe,t.oldEndPosition),Me(e+=oe,t.newEndPosition),N(e+=oe,t.startIndex,"i32"),N(e+=se,t.oldEndIndex,"i32"),N(e+=se,t.newEndIndex,"i32"),e+=se}(t),re._ts_tree_edit_wasm(this[0])}get rootNode(){return re._ts_tree_root_node_wasm(this[0]),Ae(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(t){if(t.constructor!==ye)throw new TypeError("Argument must be a Tree");re._ts_tree_get_changed_ranges_wasm(this[0],t[0]);const e=I(he,"i32"),r=I(he+se,"i32"),n=new Array(e);if(e>0){let t=r;for(let r=0;r<e;r++)n[r]=Fe(t),t+=ae;re._free(r)}return n}}class ge{constructor(t,e){Oe(t),this.tree=e}get typeId(){return Se(this),re._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return Se(this),re._ts_node_end_point_wasm(this.tree[0]),Ne(he)}get endIndex(){return Se(this),re._ts_node_end_index_wasm(this.tree[0])}get text(){return Ee(this.tree,this.startIndex,this.endIndex)}isNamed(){return Se(this),1===re._ts_node_is_named_wasm(this.tree[0])}hasError(){return Se(this),1===re._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return Se(this),1===re._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return Se(this),1===re._ts_node_is_missing_wasm(this.tree[0])}equals(t){return this.id===t.id}child(t){return Se(this),re._ts_node_child_wasm(this.tree[0],t),Ae(this.tree)}namedChild(t){return Se(this),re._ts_node_named_child_wasm(this.tree[0],t),Ae(this.tree)}childForFieldId(t){return Se(this),re._ts_node_child_by_field_id_wasm(this.tree[0],t),Ae(this.tree)}childForFieldName(t){const e=this.tree.language.fields.indexOf(t);if(-1!==e)return this.childForFieldId(e)}get childCount(){return Se(this),re._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return Se(this),re._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){Se(this),re._ts_node_children_wasm(this.tree[0]);const t=I(he,"i32"),e=I(he+se,"i32");if(this._children=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._children[e]=Ae(this.tree,r),r+=ie;re._free(e)}}return this._children}get namedChildren(){if(!this._namedChildren){Se(this),re._ts_node_named_children_wasm(this.tree[0]);const t=I(he,"i32"),e=I(he+se,"i32");if(this._namedChildren=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._namedChildren[e]=Ae(this.tree,r),r+=ie;re._free(e)}}return this._namedChildren}descendantsOfType(t,e,r){Array.isArray(t)||(t=[t]),e||(e=ce),r||(r=ce);const n=[],s=this.tree.language.types;for(let e=0,r=s.length;e<r;e++)t.includes(s[e])&&n.push(e);const i=re._malloc(se*n.length);for(let t=0,e=n.length;t<e;t++)N(i+t*se,n[t],"i32");Se(this),re._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,e.row,e.column,r.row,r.column);const o=I(he,"i32"),a=I(he+se,"i32"),c=new Array(o);if(o>0){let t=a;for(let e=0;e<o;e++)c[e]=Ae(this.tree,t),t+=ie}return re._free(a),re._free(i),c}get nextSibling(){return Se(this),re._ts_node_next_sibling_wasm(this.tree[0]),Ae(this.tree)}get previousSibling(){return Se(this),re._ts_node_prev_sibling_wasm(this.tree[0]),Ae(this.tree)}get nextNamedSibling(){return Se(this),re._ts_node_next_named_sibling_wasm(this.tree[0]),Ae(this.tree)}get previousNamedSibling(){return Se(this),re._ts_node_prev_named_sibling_wasm(this.tree[0]),Ae(this.tree)}get parent(){return Se(this),re._ts_node_parent_wasm(this.tree[0]),Ae(this.tree)}descendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");Se(this);let r=he+ie;return N(r,t,"i32"),N(r+se,e,"i32"),re._ts_node_descendant_for_index_wasm(this.tree[0]),Ae(this.tree)}namedDescendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");Se(this);let r=he+ie;return N(r,t,"i32"),N(r+se,e,"i32"),re._ts_node_named_descendant_for_index_wasm(this.tree[0]),Ae(this.tree)}descendantForPosition(t,e=t){if(!je(t)||!je(e))throw new Error("Arguments must be {row, column} objects");Se(this);let r=he+ie;return Me(r,t),Me(r+oe,e),re._ts_node_descendant_for_position_wasm(this.tree[0]),Ae(this.tree)}namedDescendantForPosition(t,e=t){if(!je(t)||!je(e))throw new Error("Arguments must be {row, column} objects");Se(this);let r=he+ie;return Me(r,t),Me(r+oe,e),re._ts_node_named_descendant_for_position_wasm(this.tree[0]),Ae(this.tree)}walk(){return Se(this),re._ts_tree_cursor_new_wasm(this.tree[0]),new ve(ne,this.tree)}toString(){Se(this);const t=re._ts_node_to_string_wasm(this.tree[0]),e=function(t){for(var e="";;){var r=D[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}}(t);return re._free(t),e}}class ve{constructor(t,e){Oe(t),this.tree=e,ke(this)}delete(){Pe(this),re._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(t){Se(t),Pe(this,he+ie),re._ts_tree_cursor_reset_wasm(this.tree[0]),ke(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Pe(this),re._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Pe(this),re._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Pe(this),1===re._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Pe(this),1===re._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Pe(this);const t=re._ts_tree_cursor_start_index_wasm(this.tree[0]),e=re._ts_tree_cursor_end_index_wasm(this.tree[0]);return Ee(this.tree,t,e)}get startPosition(){return Pe(this),re._ts_tree_cursor_start_position_wasm(this.tree[0]),Ne(he)}get endPosition(){return Pe(this),re._ts_tree_cursor_end_position_wasm(this.tree[0]),Ne(he)}get startIndex(){return Pe(this),re._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Pe(this),re._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Pe(this),re._ts_tree_cursor_current_node_wasm(this.tree[0]),Ae(this.tree)}currentFieldId(){return Pe(this),re._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Pe(this);const t=re._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return ke(this),1===t}gotoNextSibling(){Pe(this);const t=re._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return ke(this),1===t}gotoParent(){Pe(this);const t=re._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return ke(this),1===t}}class be{constructor(t,e){Oe(t),this[0]=e,this.types=new Array(re._ts_language_symbol_count(this[0]));for(let t=0,e=this.types.length;t<e;t++)re._ts_language_symbol_type(this[0],t)<2&&(this.types[t]=G(re._ts_language_symbol_name(this[0],t)));this.fields=new Array(re._ts_language_field_count(this[0])+1);for(let t=0,e=this.fields.length;t<e;t++){const e=re._ts_language_field_name_for_id(this[0],t);this.fields[t]=0!==e?G(e):null}}get version(){return re._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(t){const e=this.fields.indexOf(t);return-1!==e?e:null}fieldNameForId(t){return this.fields[t]||null}idForNodeType(t,e){const r=Z(t),n=re._malloc(r+1);W(t,n,r+1);const s=re._ts_language_symbol_for_name(this[0],n,r,e);return re._free(n),s||null}get nodeTypeCount(){return re._ts_language_symbol_count(this[0])}nodeTypeForId(t){const e=re._ts_language_symbol_name(this[0],t);return e?G(e):null}nodeTypeIsNamed(t){return!!re._ts_language_type_is_named_wasm(this[0],t)}nodeTypeIsVisible(t){return!!re._ts_language_type_is_visible_wasm(this[0],t)}query(t){const e=Z(t),r=re._malloc(e+1);W(t,r,e+1);const n=re._ts_query_new(this[0],r,e,he,he+se);if(!n){const e=I(he+se,"i32"),n=G(r,I(he,"i32")).length,s=t.substr(n,100).split("\n")[0];let i,o=s.match(ue)[0];switch(e){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,re._free(r),i}const s=re._ts_query_string_count(n),i=re._ts_query_capture_count(n),o=re._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let t=0;t<i;t++){const e=re._ts_query_capture_name_for_id(n,t,he),r=I(he,"i32");a[t]=G(e,r)}for(let t=0;t<s;t++){const e=re._ts_query_string_value_for_id(n,t,he),r=I(he,"i32");c[t]=G(e,r)}const u=new Array(o),l=new Array(o),p=new Array(o),f=new Array(o),h=new Array(o);for(let t=0;t<o;t++){const e=re._ts_query_predicates_for_pattern(n,t,he),r=I(he,"i32");f[t]=[],h[t]=[];const s=[];let i=e;for(let e=0;e<r;e++){const e=I(i,"i32"),r=I(i+=se,"i32");if(i+=se,1===e)s.push({type:"capture",name:a[r]});else if(2===e)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const e=s[0].value;let r=!0;switch(e){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const e=s[1].name,n=s[2].name;h[t].push((function(t){let s,i;for(const r of t)r.name===e&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const e=s[1].name,n=s[2].value;h[t].push((function(t){for(const s of t)if(s.name===e)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);h[t].push((function(t){for(const e of t)if(e.name===n)return i.test(e.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[t]||(u[t]={}),u[t][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${e}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error(`Arguments to \`#${e}\` predicate must be a strings.".`);const o="is?"===e?l:p;o[t]||(o[t]={}),o[t][s[1].value]=s[2]?s[2].value:null;break;default:f[t].push({operator:e,operands:s.slice(1)})}s.length=0}}Object.freeze(u[t]),Object.freeze(l[t]),Object.freeze(p[t])}return re._free(r),new we(ne,n,a,h,f,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(t){let e;if(t instanceof Uint8Array)e=Promise.resolve(t);else{const n=t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const t=r(5530);e=Promise.resolve(t.readFileSync(n))}else e=fetch(n).then((t=>t.arrayBuffer().then((e=>{if(t.ok)return new Uint8Array(e);{const r=new TextDecoder("utf-8").decode(e);throw new Error(`Language.load failed with status ${t.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:kt;return e.then((t=>n(t,{loadAsync:!0}))).then((t=>{const e=Object.keys(t),r=e.find((t=>le.test(t)&&!t.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(e,null,2)}`);const n=t[r]();return new be(ne,n)}))}}class we{constructor(t,e,r,n,s,i,o,a){Oe(t),this[0]=e,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){re._ts_query_delete(this[0]),this[0]=0}matches(t,e,r,n){e||(e=ce),r||(r=ce),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");Se(t),re._ts_query_matches_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=I(he,"i32"),o=I(he+se,"i32"),a=I(he+2*se,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let e=0;e<i;e++){const r=I(l,"i32"),n=I(l+=se,"i32");l+=se;const s=new Array(n);if(l=xe(this,t.tree,l,s),this.textPredicates[r].every((t=>t(s)))){c[u++]={pattern:r,captures:s};const t=this.setProperties[r];t&&(c[e].setProperties=t);const n=this.assertedProperties[r];n&&(c[e].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[e].refutedProperties=i)}}return c.length=u,re._free(o),c}captures(t,e,r,n){e||(e=ce),r||(r=ce),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");Se(t),re._ts_query_captures_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=I(he,"i32"),o=I(he+se,"i32"),a=I(he+2*se,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let e=0;e<i;e++){const e=I(l,"i32"),r=I(l+=se,"i32"),n=I(l+=se,"i32");if(l+=se,u.length=r,l=xe(this,t.tree,l,u),this.textPredicates[e].every((t=>t(u)))){const t=u[n],r=this.setProperties[e];r&&(t.setProperties=r);const s=this.assertedProperties[e];s&&(t.assertedProperties=s);const i=this.refutedProperties[e];i&&(t.refutedProperties=i),c.push(t)}}return re._free(o),c}predicatesForPattern(t){return this.predicates[t]}didExceedMatchLimit(){return this.exceededMatchLimit}}function Ee(t,e,r){const n=r-e;let s=t.textCallback(e,null,r);for(e+=s.length;e<r;){const n=t.textCallback(e,null,r);if(!(n&&n.length>0))break;e+=n.length,s+=n}return e>r&&(s=s.slice(0,n)),s}function xe(t,e,r,n){for(let s=0,i=n.length;s<i;s++){const i=I(r,"i32"),o=Ae(e,r+=se);r+=ie,n[s]={name:t.captureNames[i],node:o}}return r}function Oe(t){if(t!==ne)throw new Error("Illegal constructor")}function je(t){return t&&"number"==typeof t.row&&"number"==typeof t.column}function Se(t){let e=he;N(e,t.id,"i32"),N(e+=se,t.startIndex,"i32"),N(e+=se,t.startPosition.row,"i32"),N(e+=se,t.startPosition.column,"i32"),N(e+=se,t[0],"i32")}function Ae(t,e=he){const r=I(e,"i32");if(0===r)return null;const n=I(e+=se,"i32"),s=I(e+=se,"i32"),i=I(e+=se,"i32"),o=I(e+=se,"i32"),a=new ge(ne,t);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Pe(t,e=he){N(e+0*se,t[0],"i32"),N(e+1*se,t[1],"i32"),N(e+2*se,t[2],"i32")}function ke(t){t[0]=I(he+0*se,"i32"),t[1]=I(he+1*se,"i32"),t[2]=I(he+2*se,"i32")}function Me(t,e){N(t,e.row,"i32"),N(t+se,e.column,"i32")}function Ne(t){return{row:I(t,"i32"),column:I(t+se,"i32")}}function Ie(t,e){Me(t,e.startPosition),Me(t+=oe,e.endPosition),N(t+=oe,e.startIndex,"i32"),N(t+=se,e.endIndex,"i32"),t+=se}function Fe(t){const e={};return e.startPosition=Ne(t),t+=oe,e.endPosition=Ne(t),t+=oe,e.startIndex=I(t,"i32"),t+=se,e.endIndex=I(t,"i32"),e}for(const t of Object.getOwnPropertyNames(me.prototype))Object.defineProperty(i.prototype,t,{value:me.prototype[t],enumerable:!1,writable:!1});i.Language=be,n.onRuntimeInitialized=()=>{me.init(),e()}})))}}return i}();t.exports=s},5530:()=>{},6287:()=>{},6405:(t,e,r)=>{t.exports=r(5159)},9800:(t,e,r)=>{t.exports=r(8026)},4463:(t,e,r)=>{t.exports=r(1903)},5575:(t,e,r)=>{t.exports=r(902)},7829:(t,e,r)=>{t.exports=r(9256)},2876:(t,e,r)=>{t.exports=r(5659)},2903:(t,e,r)=>{t.exports=r(3698)}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n](i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>Gi,detectionRegExp:()=>Vi,mediaTypes:()=>Bi,namespace:()=>Wi,parse:()=>Ui});var t={};r.r(t),r.d(t,{hasElementSourceMap:()=>ns,includesClasses:()=>is,includesSymbols:()=>ss,isAnnotationElement:()=>Jn,isArrayElement:()=>Hn,isBooleanElement:()=>Wn,isCommentElement:()=>Xn,isElement:()=>Bn,isLinkElement:()=>Qn,isMemberElement:()=>Kn,isNullElement:()=>Un,isNumberElement:()=>Gn,isObjectElement:()=>Zn,isParseResultElement:()=>ts,isPrimitiveElement:()=>rs,isRefElement:()=>Yn,isSourceMapElement:()=>es,isStringElement:()=>Vn});var e={};r.r(e),r.d(e,{isInfoElement:()=>Oi,isMainElement:()=>xi,isPrincipleElement:()=>ji,isRequirementElement:()=>Si,isRequirementLevelElement:()=>Ai,isScenarioElement:()=>Pi,isStandardElement:()=>ki,isStandardIdentifierElement:()=>Mi});const s=function(){return!1};function i(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(t){return function e(r){return 0===arguments.length||i(r)?e:t.apply(this,arguments)}}function a(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return i(r)?e:o((function(e){return t(r,e)}));default:return i(r)&&i(n)?e:i(r)?o((function(e){return t(e,n)})):i(n)?o((function(e){return t(r,e)})):t(r,n)}}}const c=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function u(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!c(n)){for(var s=0;s<t.length;){if("function"==typeof n[t[s]])return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function l(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const p={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};var f=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=p.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=l(this.xf["@@transducer/step"](t,!1))),t},t}();const h=a(u(["all"],a((function(t,e){return new f(t,e)})),(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function _(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}function d(t){return"[object String]"===Object.prototype.toString.call(t)}const m=o((function(t){return!!c(t)||!!t&&("object"==typeof t&&(!d(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var y=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function g(t){return new y(t)}function v(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}const b=a((function(t,e){return v(t.length,(function(){return t.apply(e,arguments)}))}));function w(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function E(t,e,r,n){return t["@@transducer/result"](r[n](b(t["@@transducer/step"],t),e))}var x="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function O(t,e,r){if("function"==typeof t&&(t=g(t)),m(r))return function(t,e,r){for(var n=0,s=r.length;n<s;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}(t,e,r);if("function"==typeof r["fantasy-land/reduce"])return E(t,e,r,"fantasy-land/reduce");if(null!=r[x])return w(t,e,r[x]());if("function"==typeof r.next)return w(t,e,r);if("function"==typeof r.reduce)return E(t,e,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}var j=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p.init,t.prototype["@@transducer/result"]=p.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const S=a((function(t,e){return new j(t,e)}));function A(t,e,r){return function(){for(var n=[],s=0,o=t,a=0;a<e.length||s<arguments.length;){var c;a<e.length&&(!i(e[a])||s>=arguments.length)?c=e[a]:(c=arguments[s],s+=1),n[a]=c,i(c)||(o-=1),a+=1}return o<=0?r.apply(this,n):v(o,A(t,n,r))}}const P=a((function(t,e){return 1===t?o(e):v(t,A(t,[],e))}));function k(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var M=Object.prototype.toString;const N=function(){return"[object Arguments]"===M.call(arguments)?function(t){return"[object Arguments]"===M.call(t)}:function(t){return k("callee",t)}}();var I=!{toString:null}.propertyIsEnumerable("toString"),F=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),C=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1};const R="function"!=typeof Object.keys||T?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],s=T&&N(t);for(e in t)!k(e,t)||s&&"length"===e||(n[n.length]=e);if(I)for(r=F.length-1;r>=0;)k(e=F[r],t)&&!C(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const D=a(u(["fantasy-land/map","map"],S,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return P(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return O((function(r,n){return r[n]=t(e[n]),r}),{},R(e));default:return _(t,e)}}))),q=Number.isInteger||function(t){return t<<0===t};const L=a((function(t,e){var r=t<0?e.length+t:t;return d(e)?e.charAt(r):e[r]}));const $=a((function(t,e){if(null!=e)return q(t)?L(t,e):e[t]}));const z=a((function(t,e){return D($(t),e)}));function B(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return i(r)?e:a((function(e,n){return t(r,e,n)}));case 2:return i(r)&&i(n)?e:i(r)?a((function(e,r){return t(e,n,r)})):i(n)?a((function(e,n){return t(r,e,n)})):o((function(e){return t(r,n,e)}));default:return i(r)&&i(n)&&i(s)?e:i(r)&&i(n)?a((function(e,r){return t(e,r,s)})):i(r)&&i(s)?a((function(e,r){return t(e,n,r)})):i(n)&&i(s)?a((function(e,n){return t(r,e,n)})):i(r)?o((function(e){return t(e,n,s)})):i(n)?o((function(e){return t(r,e,s)})):i(s)?o((function(e){return t(r,n,e)})):t(r,n,s)}}}const V=B(O);const G=o((function(t){return function(){return t}}));const U=a((function(t,e){return e>t?e:t}));const W=o((function(t){return P(V(U,0,z("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function Z(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}const H=a((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:O((function(t,r){return Z(t,D(r,e))}),[],t)}));const K=a((function(t,e){return t.apply(this,e)}));function Q(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const Y=a((function(t,e){return t&&e}));const J=a((function(t,e){var r=P(t,e);return P(t,(function(){return O(H,D(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const X=o((function(t){return J(t.length,t)}));const tt=a((function(t,e){return Q(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:X(Y)(t,e)}));const et=X(o((function(t){return!t})));function rt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function nt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return c(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const st=B(nt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const it=o(nt("tail",st(1,1/0)));function ot(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,V(rt,arguments[0],it(arguments)))}const at=o((function(t){return d(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function ct(){if(0===arguments.length)throw new Error("compose requires at least one argument");return ot.apply(this,at(arguments))}function ut(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function lt(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}const pt="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};const ft=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function ht(t,e,r,n){var s=ut(t);function i(t,e){return _t(t,e,r.slice(),n.slice())}return!lt((function(t,e){return!lt(i,e,t)}),ut(e),s)}function _t(t,e,r,n){if(pt(t,e))return!0;var s,i,o=ft(t);if(o!==ft(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(s=t.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!pt(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!pt(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size===e.size&&ht(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&ht(t.values(),e.values(),r.concat([t]),n.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 c=R(t);if(c.length!==R(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var p=c[a];if(!k(p,e)||!_t(e[p],t[p],u,l))return!1;a-=1}return!0}const dt=a((function(t,e){return _t(t,e,[],[])}));function mt(t,e){return function(t,e,r){var n,s;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(s=t[r])&&1/s===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(s=t[r])&&s!=s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(dt(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function yt(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var gt=function(t){return(t<10?"0":"")+t};const vt="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+gt(t.getUTCMonth()+1)+"-"+gt(t.getUTCDate())+"T"+gt(t.getUTCHours())+":"+gt(t.getUTCMinutes())+":"+gt(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function bt(t){return"[object Object]"===Object.prototype.toString.call(t)}var wt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p.init,t.prototype["@@transducer/result"]=p.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();const Et=a(u(["fantasy-land/filter","filter"],a((function(t,e){return new wt(t,e)})),(function(t,e){return bt(e)?O((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},R(e)):function(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}(t,e)})));const xt=a((function(t,e){return Et((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function Ot(t,e){var r=function(r){var n=e.concat([t]);return mt(r,n)?"<Circular>":Ot(r,n)},n=function(t,e){return _((function(e){return yt(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+_(r,t).join(", ")+"))";case"[object Array]":return"["+_(r,t).concat(n(t,xt((function(t){return/^\d+$/.test(t)}),R(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):yt(vt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":yt(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var s=t.toString();if("[object Object]"!==s)return s}return"{"+n(t,R(t)).join(", ")+"}"}}const jt=o((function(t){return Ot(t,[])}));const St=a((function(t,e){if(c(t)){if(c(e))return t.concat(e);throw new TypeError(jt(e)+" is not an array")}if(d(t)){if(d(e))return t+e;throw new TypeError(jt(e)+" is not a string")}if(null!=t&&Q(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&Q(t.concat))return t.concat(e);throw new TypeError(jt(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const At=a((function(t,e){return P(V(U,0,z("length",e)),(function(){var r=arguments,n=this;return t.apply(n,_((function(t){return t.apply(n,r)}),e))}))}));const Pt=o((function(t){return P(t.length,t)}));const kt=a((function(t,e){return null==e||e!=e?t:e}));const Mt=L(-1);var Nt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p.init,t.prototype["@@transducer/result"]=p.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();const It=a(u(["dropWhile"],a((function(t,e){return new Nt(t,e)})),(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return st(r,1/0,e)})));var Ft=o((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():c(t)?[]:d(t)?"":bt(t)?{}:N(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const Tt=Ft;const Ct=o((function(t){return P(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const Rt=a((function(t,e){return t>e}));const Dt=o((function(t){return null==t}));const qt=a((function(t,e){if(0===t.length||Dt(e))return!1;for(var r=e,n=0;n<t.length;){if(Dt(r)||!k(t[n],r))return!1;r=r[t[n]],n+=1}return!0}));const Lt=a((function(t,e){return qt([t],e)}));const $t=L(0);const zt=a(pt);function Bt(t){return t}const Vt=o(Bt);const Gt=a(mt);const Ut=st(0,-1);const Wt="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var i in s)k(i,s)&&(e[i]=s[i]);r+=1}return e};const Zt=a((function(t,e){return P(t+1,(function(){var r=arguments[t];if(null!=r&&Q(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(jt(r)+' does not have a method named "'+e+'"')}))}));const Ht=o((function(t){return null!=t&&dt(t,Tt(t))}));const Kt=Zt(1,"join");const Qt=a((function(t,e){return t.map((function(t){for(var r,n=e,s=0;s<t.length;){if(null==n)return;r=t[s],n=q(r)?L(r,n):n[r],s+=1}return n}))}));const Yt=a((function(t,e){return Qt([t],e)[0]}));const Jt=a((function(t,e){return O((function(r,n){return r[n]=t(e[n],n,e),r}),{},R(e))}));const Xt=a((function(t,e){return Wt({},t,e)}));const te=a((function(t,e){for(var r={},n={},s=0,i=t.length;s<i;)n[t[s]]=1,s+=1;for(var o in e)n.hasOwnProperty(o)||(r[o]=e[o]);return r}));const ee=B((function(t,e,r){return kt(t,Yt(e,r))}));const re=B((function(t,e,r){return t(Yt(e,r))}));const ne=a((function(t,e){for(var r={},n=0;n<t.length;)t[n]in e&&(r[t[n]]=e[t[n]]),n+=1;return r}));const se=B((function(t,e,r){return kt(t,$(e,r))}));const ie=B((function(t,e,r){return t($(e,r))}));const oe=B((function(t,e,r){return r.replace(t,e)}));const ae=Zt(1,"split");const ce=P(4,(function(t,e,r,n){return O(t("function"==typeof e?g(e):e),r,n)}));var ue="\t\n\v\f\r \u2028\u2029\ufeff";const le=o("function"==typeof String.prototype.trim&&!ue.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ue+"]["+ue+"]*"),r=new RegExp("["+ue+"]["+ue+"]*$");return t.replace(e,"").replace(r,"")});const pe=G(void 0);const fe=dt(pe());const he=et(fe);var _e=r(7952);const de=dt(null);var me=et(de);function ye(t){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(t)}const ge=P(1,tt(me,(function(t){return"object"===ye(t)})));const ve=P(1,ot(ft,zt("GeneratorFunction")));const be=P(1,ot(ft,zt("AsyncFunction")));const we=W([ot(ft,zt("Function")),ve,be]);var Ee=ot(ft,zt("Object")),xe=ot(jt,dt(jt(Object))),Oe=re(tt(we,xe),["constructor"]);const je=P(1,(function(t){if(!ge(t)||!Ee(t))return!1;var e=Object.getPrototypeOf(t);return!!de(e)||Oe(e)}));class Se extends _e.RP{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const Ae=Se;class Pe extends _e.RP{constructor(t,e,r){super(t,e,r),this.element="comment"}}const ke=Pe;class Me extends _e.ON{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(fe(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const Ne=Me;class Ie extends _e.ON{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(null===t)return;const e=new _e.ON([t.start.row,t.start.column,t.start.char]),r=new _e.ON([t.end.row,t.end.column,t.end.char]);e.classes.push("position"),r.classes.push("position"),this.push(e).push(r)}}const Fe=Ie;class Te extends _e.lS{constructor(){super(),this.register("annotation",Ae),this.register("comment",ke),this.register("parseResult",Ne),this.register("sourceMap",Fe)}}const Ce=new Te,Re=t=>{const e=new Te;return je(t)&&e.use(t),e},De=Ce;const qe=P(1,ot(ft,zt("String"))),Le=r.p+"fba0b3cc0d7ee926ea482deee298a5fe.wasm",$e=globalThis.fetch;we($e)&&(globalThis.fetch=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return qe(e[0])&&e[0].endsWith("tree-sitter.wasm")?$e.apply(globalThis,[Le,it(e)]):$e.apply(globalThis,e)});var ze=r(9794);const Be=r.p+"d396281e11774e0afa7a40d620779b6d.wasm";let Ve=null,Ge=null;const Ue=async t=>{if(null===Ve&&null===Ge)Ge=ze.init().then((()=>ze.Language.load(Be))).then((t=>{const e=new ze;return e.setLanguage(t),e})).finally((()=>{Ge=null})),Ve=await Ge;else if(null===Ve&&null!==Ge)Ve=await Ge;else if(null===Ve)throw new Error("Error while initializing web-tree-sitter");return Ve.parse(t)};var We=r(6591);const Ze=We({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:n={}}=arguments.length>1?arguments[1]:void 0;this.type=n.type,this.isMissing=r,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}}});let He=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const Ke=We(Ze,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}});const Qe=dt("");const Ye=P(1,ot(ft,zt("Number")));var Je=tt(Ye,isFinite);var Xe=P(1,Je);const tr=we(Number.isFinite)?P(1,b(Number.isFinite,Number)):Xe;var er=tt(tr,At(dt,[Math.floor,Vt]));var rr=P(1,er);const nr=we(Number.isInteger)?P(1,b(Number.isInteger,Number)):rr;const sr=et(tr);const ir=P(1,tt(Ye,Rt(0)));const or=function(t,e){var r=Number(e);if(r!==e&&(r=0),ir(r))throw new RangeError("repeat count must be non-negative");if(sr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=t;r;)s+=t,r-=1;return s+=s.substring(0,n-s.length)};var ar=Pt(or),cr=Ct(Zt(1,"repeat"));const ur=we(String.prototype.repeat)?cr:ar;var lr=oe(/[\s\uFEFF\xA0]+$/,""),pr=Zt(0,"trimEnd");const fr=we(String.prototype.trimEnd)?pr:lr;var hr=oe(/^[\s\uFEFF\xA0]+/,""),_r=Zt(0,"trimStart");const dr=we(String.prototype.trimStart)?_r:hr;const mr=Ct(Gt);const yr=Pt((function(t,e){return ot(ae(""),It(mr(t)),Kt(""))(e)}));const gr=Ct(St);var vr=r(2770);const br=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,wr=t=>{const e=(t=>{const e=t.match(br),r=ee("",["groups","indentation"],e);return Qe(r)?void 0:parseInt(r,10)})(t);if(nr(e))return ur(" ",e);const r=ee("",[1],t.split("\n")),n=ee(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return ur(" ",n)},Er=t=>{const e=t.match(br),r=ee("",["groups","chomping"],e);return Qe(r)?void 0:r},xr=(t,e)=>fe(t)?`${fr(e)}\n`:"-"===t?fr(e):e,Or=t=>t.replace(/\r\n/g,"\n"),jr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Sr=Pt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Ar=ot(Or,le,jr,ae("\n"),D(dr),Kt("\n")),Pr=ot(Or,le,Sr("'"),jr,ae("\n"),D(dr),Kt("\n")),kr=ot(Or,le,Sr('"'),(t=>t.replace(/\\\n\s*/g,"")),jr,vr.S6,ae("\n"),D(dr),Kt("\n"));let Mr=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),Nr=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Ir=We({props:{styleGroup:null,style:null}}),Fr=We({methods:{test:t=>t.tag.kind===He.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===Mr.Plain?e=Ar(t.content):t.style===Mr.SingleQuoted?e=Pr(t.content):t.style===Mr.DoubleQuoted?e=kr(t.content):t.style===Mr.Literal?e=(t=>{const e=wr(t),r=Er(t),n=Or(t),s=it(n.split("\n")),i=ct(D(yr(e)),D(gr("\n"))),o=ce(i,St,"",s);return xr(r,o)})(t.content):t.style===Mr.Folded&&(e=(t=>{const e=wr(t),r=Er(t),n=Or(t),s=it(n.split("\n")),i=ct(D(yr(e)),D(gr("\n"))),o=ce(i,St,"",s),a=jr(o);return xr(r,a)})(t.content)),r.content=e,r},resolve:t=>t}}),Tr=We(Fr,{props:{tag:""}}),Cr=We(Tr,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===He.Mapping,resolve:t=>t}}),Rr=We(Tr,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===He.Sequence,resolve:t=>t}}),Dr=We(Tr,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{resolve:t=>t}}),qr=We({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Cr()),this.registerTag(Rr()),this.registerTag(Dr())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===He.Scalar?e=Dr.uri:t.tag.kind===He.Sequence?e=Rr.uri:t.tag.kind===He.Mapping&&(e=Cr.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e},registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})},registerTag(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(t):this.tags.push(t),this},overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this},resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;t.tag.kind===He.Scalar&&(r=Fr().canonicalFormat(t));const n=this.tags.find((t=>(null==t?void 0:t.tag)===e));if(void 0===n)throw new Error(`Tag "${e}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${e}"`);return n.resolve(r)}}}),Lr=We(Tr,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}}}),$r=We(Tr,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}}}),zr=We(Tr,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}}}),Br=We(Tr,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),Vr=We(qr,{init(){this.registerTag(Lr(),!0),this.registerTag($r(),!0),this.registerTag(zr(),!0),this.registerTag(Br(),!0)},methods:{toSpecificTagName(t){let e=qr.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===He.Sequence)e=Rr.uri;else if(t.tag.kind===He.Mapping)e=Cr.uri;else if(t.tag.kind===He.Scalar){const r=this.tags.find((e=>e.test(t)));e=(null==r?void 0:r.tag)||"?"}return e}}}),Gr=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},Ur={},Wr=t=>null==t?void 0:t.type,Zr=t=>"string"==typeof Wr(t),Hr=function(t){let{visitFnGetter:e=Gr,nodeTypeGetter:r=Wr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Array(t.length);return{enter(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!1);if("function"==typeof a){const e=a.call(t[i],s,...o);if(!1===e)n[i]=s;else if(e===Ur)n[i]=Ur;else if(void 0!==e)return e}}},leave(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!0);if("function"==typeof a){const e=a.call(t[i],s,...o);if(e===Ur)n[i]=Ur;else if(void 0!==e&&!1!==e)return e}}else n[i]===s&&(n[i]=null)}}},Kr=function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=Ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Gr,nodeTypeGetter:c=Wr,nodePredicate:u=Zr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}if(v.includes(w))continue;let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};Kr[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=Ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Gr,nodeTypeGetter:c=Wr,nodePredicate:u=Zr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=await i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};const Qr=We({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=r}}),Yr=We({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),Jr=We(Ze,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}}),Xr=We(Ze,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:r=null,styleGroup:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}}),tn=We(Xr,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),en=We(Ze,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),rn=(t,e)=>(null==e?void 0:e.type)===t,nn=(rn.bind(void 0,"literal"),rn.bind(void 0,"position"),rn.bind(void 0,"point"),rn.bind(void 0,"parseResult"),rn.bind(void 0,"stream"),rn.bind(void 0,"document")),sn=rn.bind(void 0,"mapping"),on=rn.bind(void 0,"sequence"),an=rn.bind(void 0,"keyValuePair"),cn=(rn.bind(void 0,"tag"),rn.bind(void 0,"scalar")),un=rn.bind(void 0,"alias"),ln=(rn.bind(void 0,"directive"),rn.bind(void 0,"comment")),pn=We(Ze,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>nn(t)||ln(t))):[]},enumerable:!0}}}),fn=We(Ze,{statics:{type:"parseResult"},methods:{get rootNode(){return $t(this.children)}}}),hn=We(Ze,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=Xt({version:null,handle:null,prefix:null},e)}}),_n=We(Ze,{statics:{type:"document"}}),dn=We(Xr,{}),mn=We(dn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(an):[]},enumerable:!0}}}),yn=We(Ze,Ir,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>cn(t)||sn(t)||on(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>cn(t)||sn(t)||on(t)||un(t))(e)))[0]},enumerable:!0}}}),gn=We(dn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>on(t)||sn(t)||cn(t)||un(t))):[]},enumerable:!0}}}),vn=We(Ze,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),bn=We(Ze,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),wn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},En=t=>Array.isArray(t)||Zr(t),xn=We({props:{schema:null},init(){const t=t=>{if(null===t)return null;const e=Qr({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),r=Qr({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return Yr({start:e,end:r})},e=e=>{var r;let{previousSibling:n}=e;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===e.type?"?":"!",i=e.type.endsWith("mapping")?He.Mapping:e.type.endsWith("sequence")?He.Sequence:He.Scalar,o=t(n);return Ke({explicitName:s,kind:i,position:o})},r=e=>{let{previousSibling:r}=e;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:Jr({name:r.text,position:t(r)})},n=t=>e=>"string"==typeof(null==e?void 0:e.type)&&e.type.endsWith(t),s=n("scalar"),i=n("mapping"),o=n("sequence"),a=(t,e)=>{var r;return`${t}Node`in e?e[`${t}Node`]:"childForFieldName"in e?null===(r=e.childForFieldName)||void 0===r?void 0:r.call(e,t):null},c=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("key",t)},u=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("value",t)},l=e=>{const r=Qr({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=a("key",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=Ke(void 0!==o?{explicitName:o.text,kind:He.Scalar,position:t(o)}:{explicitName:"?",kind:He.Scalar}),l=void 0!==c?Jr({name:c.text,position:t(c)}):null;return tn({content:"",position:Yr({start:r,end:r}),tag:u,anchor:l,styleGroup:Nr.Flow,style:Mr.Plain})},p=e=>{const r=Qr({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex}),s=a("value",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=Ke(void 0!==o?{explicitName:o.text,kind:He.Scalar,position:t(o)}:{explicitName:"?",kind:He.Scalar}),l=void 0!==c?Jr({name:c.text,position:t(c)}):null;return tn({content:"",position:Yr({start:r,end:r}),tag:u,anchor:l,styleGroup:Nr.Flow,style:Mr.Plain})};this.enter=function(e){if("function"==typeof e.isNamed&&!e.isNamed()||!1===e.isNamed){const r=t(e),n=e.type||e.text,s=e.isMissing();return en({value:n,position:r,isMissing:s})}},this.stream={enter(e){const r=t(e);return pn({children:e.children,position:r,isMissing:e.isMissing()})},leave:t=>fn({children:[t]})},this.yaml_directive={enter(e){var r;const n=t(e),s=(null==e||null===(r=e.firstNamedChild)||void 0===r?void 0:r.text)||null;return hn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=hn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(i),i}},this.reserved_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=e.child(2);return hn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==i?void 0:i.text)||null}})}},this.document={enter(e){const r=t(e);return _n({children:e.children,position:r,isMissing:e.isMissing()})},leave(t){t.children=t.children.flat()}},this.block_node={enter:t=>t.children},this.flow_node={enter(t){const[n]=t.children.slice(-1);if(s(n)||i(n)||o(n))return t.children;const a=Qr({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=tn({content:"",anchor:r(n),tag:e(n),position:Yr({start:a,end:a}),styleGroup:Nr.Flow,style:Mr.Plain});return[...t.children,c]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=mn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Nr.Block,style:Mr.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return yn({children:n,position:r,styleGroup:Nr.Block,isMissing:e.isMissing()})}},this.flow_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=mn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Nr.Flow,style:Mr.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return yn({children:n,position:r,styleGroup:Nr.Flow,isMissing:e.isMissing()})}},this.keyValuePair={leave(t){t.children=t.children.flat()}},this.block_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=gn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Nr.Block,style:Mr.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(t){if(t.children.length>1)return t.children;const e=Qr({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return[tn({content:"",anchor:null,tag:Ke({explicitName:"?",kind:He.Scalar}),position:Yr({start:e,end:e}),styleGroup:Nr.Flow,style:Mr.Plain})]}},this.flow_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=gn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:Nr.Flow,style:Mr.Explicit});return this.schema.resolve(a)}},this.sequence={leave(t){t.children=t.children.flat(1/0)}},this.plain_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Nr.Flow,style:Mr.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Nr.Flow,style:Mr.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Nr.Flow,style:Mr.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=n.text.startsWith("|")?Mr.Literal:n.text.startsWith(">")?Mr.Folded:null,c=tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Nr.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:t=>vn({content:t.text})},this.ERROR=function(e,r,n,s){const i=t(e),o=bn({children:e.children,position:i,isUnexpected:!e.hasError(),isMissing:e.isMissing(),value:e.text});return 0===s.length?fn({children:[o]}):o}}}),On=xn;var jn=r(9800),Sn=r(7829),An=r(2876);function Pn(t){return Pn="function"==typeof Sn&&"symbol"==typeof An?function(t){return typeof t}:function(t){return t&&"function"==typeof Sn&&t.constructor===Sn&&t!==Sn.prototype?"symbol":typeof t},Pn(t)}var kn=r(2903);function Mn(t){var e=function(t,e){if("object"!==Pn(t)||null===t)return t;var r=t[kn];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Pn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Pn(e)?e:String(e)}function Nn(t,e,r){return(e=Mn(e))in t?jn(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var In=r(4463),Fn=r(6405),Tn=r(5575);function Cn(t,e){if(null==t)return{};var r,n,s=function(t,e){if(null==t)return{};var r,n,s={},i=Tn(t);for(n=0;n<i.length;n++)r=i[n],Fn(e).call(e,r)>=0||(s[r]=t[r]);return s}(t,e);if(In){var i=In(t);for(n=0;n<i.length;n++)r=i[n],Fn(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}const Rn=(t,e)=>"function"==typeof(null==e?void 0:e[t]),Dn=t=>null!=t&&Object.prototype.hasOwnProperty.call(t,"_storedElement")&&Object.prototype.hasOwnProperty.call(t,"_content"),qn=(t,e)=>{var r;return(null==e||null===(r=e.primitive)||void 0===r?void 0:r.call(e))===t},Ln=(t,e)=>{var r,n;return(null==e||null===(r=e.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,t))||!1},$n=(t,e)=>(null==e?void 0:e.element)===t,zn=t=>t({hasMethod:Rn,hasBasicElementProps:Dn,primitiveEq:qn,isElementType:$n,hasClass:Ln}),Bn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof _e.W_||e(t)&&r(void 0,t)})),Vn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof _e.RP||e(t)&&r("string",t)})),Gn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof _e.VL||e(t)&&r("number",t)})),Un=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof _e.zr||e(t)&&r("null",t)})),Wn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof _e.hh||e(t)&&r("boolean",t)})),Zn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof _e.Sb||e(t)&&r("object",t)&&n("keys",t)&&n("values",t)&&n("items",t)})),Hn=zn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof _e.ON&&!(t instanceof _e.Sb)||e(t)&&r("array",t)&&n("push",t)&&n("unshift",t)&&n("map",t)&&n("reduce",t)})),Kn=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof _e.c6||e(t)&&r("member",t)&&n(void 0,t)})),Qn=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof _e.EA||e(t)&&r("link",t)&&n(void 0,t)})),Yn=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof _e.tK||e(t)&&r("ref",t)&&n(void 0,t)})),Jn=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ae||e(t)&&r("annotation",t)&&n("array",t)})),Xn=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof ke||e(t)&&r("comment",t)&&n("string",t)})),ts=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ne||e(t)&&r("parseResult",t)&&n("array",t)})),es=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Fe||e(t)&&r("sourceMap",t)&&n("array",t)})),rs=t=>$n("object",t)||$n("array",t)||$n("boolean",t)||$n("number",t)||$n("string",t)||$n("null",t)||$n("member",t),ns=t=>{var e,r;return es(null==t||null===(e=t.meta)||void 0===e||null===(r=e.get)||void 0===r?void 0:r.call(e,"sourceMap"))},ss=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!Hn(r)&&h(mr(r.toValue()),t)},is=(t,e)=>0===t.length||h(mr(e.classes.toValue()),t),os=["keyMap"],as=["keyMap"];function cs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function us(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cs(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const ls=t=>Zn(t)?"ObjectElement":Hn(t)?"ArrayElement":Kn(t)?"MemberElement":Vn(t)?"StringElement":Wn(t)?"BooleanElement":Gn(t)?"NumberElement":Un(t)?"NullElement":Qn(t)?"LinkElement":Yn(t)?"RefElement":void 0,ps=P(1,ot(ls,qe)),fs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},hs=(We({props:{result:[],predicate:s,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:t=this.predicate,returnOnTrue:e=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=t,this.returnOnTrue=e,this.returnOnFalse=r},methods:{enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}}),function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=fs}=r,s=Cn(r,os);return Kr(t,e,us({keyMap:n,nodeTypeGetter:ls,nodePredicate:ps},s))});hs[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=fs}=r,s=Cn(r,as);return Kr[Symbol.for("nodejs.util.promisify.custom")](t,e,us({keyMap:n,nodeTypeGetter:ls,nodePredicate:ps},s))};const _s=et(we);const ds=tt(P(1,we(Array.isArray)?Array.isArray:ot(ft,zt("Array"))),Ht);const ms=P(3,(function(t,e,r){var n=Yt(t,r),s=Yt(Ut(t),r);if(!_s(n)&&!ds(t)){var i=b(n,s);return K(i,e)}}));function ys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const gs=()=>({predicates:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ys(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t),namespace:De}),vs=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===e.length)return t;const n=se(gs,"toolboxCreator",r),s=se({},"visitorOptions",r),i=se(ls,"nodeTypeGetter",s),o=n(),a=e.map((t=>t(o))),c=Hr(a.map(se({},"visitor")),{nodeTypeGetter:i});a.forEach(ms(["pre"],[]));const u=hs(t,c,s);return a.forEach(ms(["post"],[])),u};function bs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ws(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bs(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Es=(t,e)=>{let{Type:r,plugins:n=[]}=e;const s=new r(t);return vs(s,n,{toolboxCreator:gs,visitorOptions:{nodeTypeGetter:ls}})},xs=t=>function(e){return Es(e,ws(ws({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:t}))};function Os(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}_e.Sb.refract=xs(_e.Sb),_e.ON.refract=xs(_e.ON),_e.RP.refract=xs(_e.RP),_e.hh.refract=xs(_e.hh),_e.zr.refract=xs(_e.zr),_e.VL.refract=xs(_e.VL),_e.EA.refract=xs(_e.EA),_e.tK.refract=xs(_e.tK),Ae.refract=xs(Ae),ke.refract=xs(ke),Ne.refract=xs(Ne),Fe.refract=xs(Fe);const js=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Os(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Os(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},fs),Ss=t=>Bn(t)?ls(t):Wr(t),As=t=>Bn(t)||Zr(t)||Array.isArray(t),Ps=We({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const t=(t,e)=>{if(!this.sourceMap)return;const r=new Fe;r.position=t.position,r.astNode=t,e.meta.set("sourceMap",r)};this.namespace=Re(),this.annotations=[],this.stream={leave(t){const e=new Ne;e._content=t.children.flat(1);const r=e.findElements(rs);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((t=>{e.push(t)})),this.annotations=[],e}},this.comment=function(e){if(0===this.processedDocumentCount){const r=new ke(e.content);return t(e,r),r}return null},this.document=function(e){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new Ae("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),t(e,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,e.children)},this.mapping=function(e){const r=new _e.Sb;return r._content=e.children,t(e,r),r},this.keyValuePair=function(e){const r=new _e.c6;return r.content.key=e.key,r.content.value=e.value,t(e,r),e.children.filter((t=>"error"===t.type)).forEach((t=>{this.error(t,e,[],[e])})),r},this.sequence=function(e){const r=new _e.ON;return r._content=e.children,t(e,r),r},this.scalar=function(e){const r=this.namespace.toElement(e.content);return""===e.content&&e.style===Mr.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),t(e,r),r},this.literal=function(e){if(e.isMissing){const r=`(Missing ${e.value})`,n=new Ae(r);n.classes.push("warning"),t(e,n),this.annotations.push(n)}return null},this.error=function(e,r,n,s){const i=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,o=new Ae(i);if(o.classes.push("error"),t(e,o),0===s.length){const t=new Ne;return t.push(o),t}return this.annotations.push(o),null}}}),ks=function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=On(),n=Ps(),s=Vr(),i=Kr(t.rootNode,r,{keyMap:wn,nodePredicate:En,state:{schema:s,sourceMap:e}});return Kr(i.rootNode,n,{keyMap:js,nodeTypeGetter:Ss,nodePredicate:As,state:{sourceMap:e}})},Ms=async function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await Ue(t);return ks(r,{sourceMap:e})},Ns=(t,e)=>{const r=kt(t,e);return Jt((t=>{if(je(t)&&Lt("$ref",t)&&ie(qe,"$ref",t)){const e=Yt(["$ref"],t),n=yr("#/",e);return Yt(n.split("/"),r)}return je(t)?Ns(t,r):t}),t)},Is=We({props:{element:null},methods:{copyMetaAndAttributes(t,e){ns(t)&&e.meta.set("sourceMap",t.meta.get("sourceMap"))}}}),Fs=We(Is,{methods:{enter(t){return this.element=t.clone(),Ur}}});function Ts(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const Cs=t=>{if(Bn(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Rs=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ts(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[]},fs);function Ds(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ds(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ds(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Ls=We(Is,{props:{specObj:null},init(t){let{specObj:e=this.specObj}=t;this.specObj=e},methods:{retrievePassingOptions(){return ne(["namespace","specObj"],this)},retrieveFixedFields(t){return ot(Yt(["visitors",...t,"fixedFields"]),R)(this.specObj)},retrieveVisitor(t){return re(we,["visitors",...t],this.specObj)?Yt(["visitors",...t],this.specObj):Yt(["visitors",...t,"$visitor"],this.specObj)},retrieveVisitorInstance(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(t)(qs(qs({},r),e))},toRefractedElement(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(t,r),s=Object.getPrototypeOf(n);return fe(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?e.clone():(hs(e,n,qs(qs({keyMap:Rs},r),{},{nodeTypeGetter:Cs})),n.element)}}});class $s extends _e.RP{constructor(t,e,r){super(t,e,r),this.element="requirementLevel"}}const zs=$s,Bs=We(Ls,Fs,{methods:{StringElement(t){const e=new zs(t.toValue());return this.copyMetaAndAttributes(t,e),this.element=e,Ur}}});class Vs extends _e.ON{constructor(t,e,r){super(t,e,r),this.element="standardIdentifier"}}const Gs=Vs,Us=We(Ls,Fs,{init(){this.element=new Gs},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","StandardIdentifier"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),Ur}}});class Ws extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(t){this.set("subject",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}get values(){return this.get("values")}set values(t){this.set("values",t)}get follows(){return this.get("follows")}set follows(t){this.set("follows",t)}}const Zs=Ws;const Hs=We(Ls,{props:{specPath:G(pe()),ignoredFields:[]},init(){let{specPath:t=this.specPath,ignoredFields:e=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=t,this.ignoredFields=e},methods:{ObjectElement(t){const e=this.specPath(t),r=this.retrieveFixedFields(e);return t.forEach(((t,n,s)=>{if(Vn(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...e,"fixedFields",n.toValue()],t),i=new _e.c6(n.clone(),r);i.classes.push("fixed-field"),this.copyMetaAndAttributes(s,i),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(t,this.element),Ur}}}),Ks=We(Hs,Fs,{props:{specPath:G(["document","objects","Requirement"])},init(){this.element=new Zs}}),Qs=Fs,Ys=Fs;class Js extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="scenario"}get description(){return this.get("description")}set description(t){this.set("description",t)}get when(){return this.get("when")}set when(t){this.set("when",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}}const Xs=Js,ti=We(Hs,Fs,{props:{specPath:G(["document","objects","Scenario"])},init(){this.element=new Xs}}),ei=Fs,ri=We(Ls,Fs,{init(){this.element=new _e.ON,this.element.classes.push("scenario-then")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Requirement"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),Ur}}});class ni extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="standard"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const si=ni,ii=We(Hs,Fs,{props:{specPath:G(["document","objects","Standard"])},init(){this.element=new si}}),oi=Fs,ai=Fs,ci=Fs;class ui extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="principle"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const li=ui,pi=We(Hs,Fs,{props:{specPath:G(["document","objects","Principle"])},init(){this.element=new li}}),fi=Fs,hi=Fs,_i=Fs;class di extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="info"}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const mi=di,yi=We(Hs,Fs,{props:{specPath:G(["document","objects","Info"])},init(){this.element=new mi}}),gi=Fs,vi=Fs;class bi extends _e.Sb{constructor(t,e,r){super(t,e,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(t){this.set("version",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get principles(){return this.get("principles")}set principles(t){this.set("principles",t)}get standards(){return this.get("standards")}set standards(t){this.set("standards",t)}get scenarios(){return this.get("scenarios")}set scenarios(t){this.set("scenarios",t)}}const wi=bi,Ei={visitors:{value:Fs,document:{objects:{Main:{$visitor:We(Hs,Fs,{props:{specPath:G(["document","objects","Main"])},init(){this.element=new wi}}),fixedFields:{version:Fs,info:{$ref:"#/visitors/document/objects/Info"},principles:We(Ls,Fs,{init(){this.element=new _e.ON,this.element.classes.push("main-principles")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Principle"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),Ur}}}),standards:We(Ls,Fs,{init(){this.element=new _e.ON,this.element.classes.push("main-standards")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Standard"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),Ur}}}),scenarios:We(Ls,Fs,{init(){this.element=new _e.ON,this.element.classes.push("main-scenarios")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Scenario"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),Ur}}})}},Info:{$visitor:yi,fixedFields:{title:gi,description:vi}},Principle:{$visitor:pi,fixedFields:{name:fi,description:hi,iri:_i,level:{$ref:"#/visitors/document/objects/RequirementLevel"}}},Standard:{$visitor:ii,fixedFields:{name:oi,description:ai,level:{$ref:"#/visitors/document/objects/RequirementLevel"},iri:ci}},Scenario:{$visitor:ti,fixedFields:{description:ei,when:{$ref:"#/visitors/document/objects/StandardIdentifier"},then:ri}},Requirement:{$visitor:Ks,fixedFields:{subject:{$ref:"#/visitors/document/objects/StandardIdentifier"},level:{$ref:"#/visitors/document/objects/RequirementLevel"},values:Qs,follows:Ys}},StandardIdentifier:Us,RequirementLevel:Bs}}}},xi=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof wi||e(t)&&r("main",t)&&n("object",t)})),Oi=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof mi||e(t)&&r("info",t)&&n("object",t)})),ji=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof li||e(t)&&r("principle",t)&&n("object",t)})),Si=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Zs||e(t)&&r("requirement",t)&&n("object",t)})),Ai=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof zs||e(t)&&r("requirementLevel",t)&&n("string",t)})),Pi=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Xs||e(t)&&r("scenario",t)&&n("object",t)})),ki=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof si||e(t)&&r("standard",t)&&n("object",t)})),Mi=zn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Gs||e(t)&&r("standardIdentifier",t)&&n("array",t)})),Ni={namespace:t=>{const{base:e}=t;return e.register("info",mi),e.register("main",wi),e.register("principle",li),e.register("requirement",Zs),e.register("requirementLevel",zs),e.register("scenario",Xs),e.register("standard",si),e.register("standardIdentifier",Gs),e}};function Ii(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Fi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Ti=()=>{const t=Re(Ni);return{predicates:Fi(Fi({},e),{},{isStringElement:Vn}),namespace:t}};function Ci(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ri(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ci(Object(r),!0).forEach((function(e){Nn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ci(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Di=function(t){let{specPath:e=["visitors","document","objects","Main","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,_e.Qc)(t),s=Ns(Ei),i=ms(e,[],s);return hs(n,i,{state:{specObj:s}}),vs(i.element,r,{toolboxCreator:Ti,visitorOptions:{keyMap:Rs,nodeTypeGetter:Cs}})},qi=t=>function(e){return Di(e,Ri(Ri({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:t}))};wi.refract=qi(["visitors","document","objects","Main","$visitor"]),mi.refract=qi(["visitors","document","objects","Info","$visitor"]),li.refract=qi(["visitors","document","objects","Principle","$visitor"]),Zs.refract=qi(["visitors","document","objects","Requirement","$visitor"]),zs.refract=qi(["visitors","document","objects","RequirementLevel","$visitor"]),Xs.refract=qi(["visitors","document","objects","Scenario","$visitor"]),si.refract=qi(["visitors","document","objects","Standards","$visitor"]),Gs.refract=qi(["visitors","document","objects","StandardIdentifier","$visitor"]);const Li=class extends Array{constructor(){super(...arguments),Nn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class $i extends Li{filterByFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const e="generic"===t?"apidesignsystems;version":t;return this.filter((t=>t.includes(e)))}findBy(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2021-05-07",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const r="generic"===e?`apidesignsystems;version=${t}`:`apidesignsystems+${e};version=${t}`;return this.find((t=>t.includes(r)))||this.unknownMediaType}latest(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return Mt(this.filterByFormat(t))}}const zi=new $i("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07"),Bi=new $i(...zi.filterByFormat("generic"),...zi.filterByFormat("yaml")),Vi=/(?<YAML>^(["']?)version\2\s*:\s*(["']?)(?<version_yaml>2021-05-07)\3)|(?<JSON>"version"\s*:\s*"(?<version_json>2021-05-07)")/m,Gi=async t=>Vi.test(t)&&await(async t=>{try{return"ERROR"!==(await Ue(t)).rootNode.type}catch{return!1}})(t),Ui=async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=se({},"refractorOpts",e),n=te(["refractorOpts"],e),s=await Ms(t,n),{result:i}=s;if(he(i)){const t=wi.refract(i,r);t.classes.push("result"),s.replaceResult(t)}return s},Wi=Re(Ni)})(),n})()));
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomParserAdapterApiDesignSystemsYaml=e():t.apidomParserAdapterApiDesignSystemsYaml=e()}(self,(()=>(()=>{var t={8385:(t,e,r)=>{var n=r(6174);t.exports=n},5271:(t,e,r)=>{var n=r(7820);t.exports=n},7574:(t,e,r)=>{var n=r(2);t.exports=n},33:(t,e,r)=>{var n=r(5636);t.exports=n},9821:(t,e,r)=>{var n=r(2285);r(9031),t.exports=n},8008:(t,e,r)=>{var n=r(8535);t.exports=n},164:(t,e,r)=>{var n=r(6042);t.exports=n},2089:(t,e,r)=>{r(2276);var n=r(5607);t.exports=n("Array").indexOf},2604:(t,e,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||n(i,t)&&e===i.indexOf?s:e}},3512:(t,e,r)=>{r(297);var n=r(7545).Object,s=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(t,e,r)=>{r(6187);var n=r(7545);t.exports=n.Object.getOwnPropertySymbols},8651:(t,e,r)=>{r(2647);var n=r(7545);t.exports=n.Object.keys},5008:(t,e,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);t.exports=n.Symbol},994:(t,e,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);t.exports=n.f("iterator")},290:(t,e,r)=>{r(2432),r(3610);var n=r(9207);t.exports=n.f("toPrimitive")},5159:(t,e,r)=>{t.exports=r(2747)},8026:(t,e,r)=>{t.exports=r(229)},1903:(t,e,r)=>{t.exports=r(5090)},902:(t,e,r)=>{t.exports=r(5483)},9256:(t,e,r)=>{t.exports=r(2185)},5659:(t,e,r)=>{t.exports=r(9982)},3698:(t,e,r)=>{t.exports=r(8241)},2747:(t,e,r)=>{var n=r(8385);t.exports=n},229:(t,e,r)=>{var n=r(5271);t.exports=n},5090:(t,e,r)=>{var n=r(7574);t.exports=n},5483:(t,e,r)=>{var n=r(33);t.exports=n},2185:(t,e,r)=>{var n=r(9821);r(177),r(2725),r(1806),r(6658),r(4212),r(8658),r(1875),r(4592),r(6680),t.exports=n},9982:(t,e,r)=>{var n=r(8008);t.exports=n},8241:(t,e,r)=>{var n=r(164);t.exports=n},6235:(t,e,r)=>{var n=r(6447),s=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not a function")}},7757:(t,e,r)=>{var n=r(6447),s=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+s(t)+" as a prototype")}},7423:t=>{t.exports=function(){}},1138:(t,e,r)=>{var n=r(5744),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not an object")}},8180:(t,e,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(t){return function(e,r,o){var a,c=n(e),u=i(c),l=s(o,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},454:(t,e,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),a=r(4104),c=r(1321),u=s([].push),l=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,p=6==t,f=7==t,h=5==t||p;return function(_,d,m,y){for(var g,v,b=o(_),w=i(b),E=n(d,m),x=a(w),O=0,j=y||c,S=e?j(_,x):r||f?j(_,0):void 0;x>O;O++)if((h||O in w)&&(v=E(g=w[O],O,b),t))if(e)S[O]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u(S,g)}else switch(t){case 4:return!1;case 7:u(S,g)}return p?-1:s||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(t,e,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},424:(t,e,r)=>{"use strict";var n=r(6192);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1923:(t,e,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,a=Math.max;t.exports=function(t,e,r){for(var c=s(t),u=n(e,c),l=n(void 0===r?c:r,c),p=o(a(l-u,0)),f=0;u<l;u++,f++)i(p,f,t[u]);return p.length=f,p}},3096:(t,e,r)=>{var n=r(4120);t.exports=n([].slice)},3712:(t,e,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(s(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?a:e}},1321:(t,e,r)=>{var n=r(3712);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},9272:(t,e,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},4696:(t,e,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"==(n=i(e))&&s(e.callee)?"Arguments":n}},4635:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{var n=r(69),s=r(2760),i=r(774);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9361:(t,e,r)=>{"use strict";var n=r(77),s=r(2760),i=r(774);t.exports=function(t,e,r){var o=n(e);o in t?s.f(t,o,i(0,r)):t[o]=r}},2807:(t,e,r)=>{var n=r(2760);t.exports=function(t,e,r){return n.f(t,e,r)}},9362:(t,e,r)=>{var n=r(8711);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{var n=r(8576),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9425:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7365:t=>{t.exports={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}},8989:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},5607:(t,e,r)=>{var n=r(7545);t.exports=function(t){return n[t+"Prototype"]}},2952:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(t,e,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),u=r(7545),l=r(8043),p=r(8711),f=r(4500),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,_,d,m,y,g,v,b,w=t.target,E=t.global,x=t.stat,O=t.proto,j=E?n:x?n[w]:(n[w]||{}).prototype,S=E?u:u[w]||p(u,w,{})[w],A=S.prototype;for(d in e)s=!(r=c(E?d:w+(x?".":"#")+d,t.forced))&&j&&f(j,d),y=S[d],s&&(g=t.dontCallGetSet?(b=a(j,d))&&b.value:j[d]),m=s&&g?g:e[d],s&&typeof y==typeof m||(v=t.bind&&s?l(m,n):t.wrap&&s?h(m):O&&o(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&p(v,"sham",!0),p(S,d,v),O&&(f(u,_=w+"Prototype")||p(u,_,{}),p(u[_],d,m),t.real&&A&&(r||!A[d])&&p(A,d,m)))}},6192:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(t,e,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{var n=r(2784),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(t,e,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(t,e,r)=>{var n=r(4120),s=r(6235);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{var n=r(9272),s=r(4120);t.exports=function(t){if("Function"===n(t))return s(t)}},4120:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},9202:(t,e,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),a=r(4845),c=n([].push);t.exports=function(t){if(i(t))return t;if(s(t)){for(var e=t.length,r=[],n=0;n<e;n++){var u=t[n];"string"==typeof u?c(r,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(r,a(u))}var l=r.length,p=!0;return function(t,e){if(p)return p=!1,e;if(s(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},5037:(t,e,r)=>{var n=r(6235),s=r(5646);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},8576:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4500:(t,e,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},4535:t=>{t.exports={}},7403:(t,e,r)=>{var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{var n=r(69),s=r(6192),i=r(7449);t.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):o(t)}:o},9516:(t,e,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return o(t)}),t.exports=i.inspectSource},3326:(t,e,r)=>{var n,s,i,o=r(5278),a=r(8576),c=r(5744),u=r(8711),l=r(4500),p=r(6434),f=r(9766),h=r(4535),_="Object already initialized",d=a.TypeError,m=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw d(_);return e.facade=t,y.set(t,e),e},s=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=f("state");h[g]=!0,n=function(t,e){if(l(t,g))throw d(_);return e.facade=t,u(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},4770:(t,e,r)=>{var n=r(9272);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6447:(t,e,r)=>{var n=r(8382),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},2091:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),a=r(150),c=r(9516),u=function(){},l=[],p=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),_=!f.exec(u),d=function(t){if(!i(t))return!1;try{return p(u,l,t),!0}catch(t){return!1}},m=function(t){if(!i(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _||!!h(f,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!p||s((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?m:d},9245:(t,e,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r==l||r!=u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},5646:t=>{t.exports=function(t){return null==t}},5744:(t,e,r)=>{var n=r(6447),s=r(8382),i=s.all;t.exports=s.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},5546:t=>{t.exports=!0},3236:(t,e,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),a=r(7771),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),a=r(6447),c=r(5695),u=r(9341),l=r(4469),p=r(1284),f=r(8711),h=r(9362),_=r(8182),d=r(7771),m=r(4413),y=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=_("iterator"),E="keys",x="values",O="entries",j=function(){return this};t.exports=function(t,e,r,o,_,m,S){c(r,e,o);var A,P,k,M=function(t){if(t===_&&C)return C;if(!b&&t in F)return F[t];switch(t){case E:case x:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},N=e+" Iterator",I=!1,F=t.prototype,T=F[w]||F["@@iterator"]||_&&F[_],C=!b&&T||M(_),R="Array"==e&&F.entries||T;if(R&&(A=u(R.call(new t)))!==Object.prototype&&A.next&&(i||u(A)===v||(l?l(A,v):a(A[w])||h(A,w,j)),p(A,N,!0,!0),i&&(d[N]=j)),y&&_==x&&T&&T.name!==x&&(!i&&g?f(F,"name",x):(I=!0,C=function(){return s(T,this)})),_)if(P={values:M(x),keys:m?C:M(E),entries:M(O)},S)for(k in P)(b||I||!(k in F))&&h(F,k,P[k]);else n({target:e,proto:!0,forced:b||I},P);return i&&!S||F[w]===C||h(F,w,C,{name:_}),d[e]=C,P}},4413:(t,e,r)=>{"use strict";var n,s,i,o=r(6192),a=r(6447),c=r(5744),u=r(2853),l=r(9341),p=r(9362),f=r(8182),h=r(5546),_=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!c(n)||o((function(){var t={};return n[_].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[_])||p(n,_,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7771:t=>{t.exports={}},4104:(t,e,r)=>{var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2853:(t,e,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),a=r(4535),c=r(7403),u=r(7449),l=r(9766),p="prototype",f="script",h=l("IE_PROTO"),_=function(){},d=function(t){return"<"+f+">"+t+"</"+f+">"},m=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?m(n):(e=u("iframe"),r="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):m(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(_[p]=s(t),r=new _,_[p]=null,r[h]=t):r=y(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{var n=r(69),s=r(9600),i=r(2760),o=r(1138),a=r(101),c=r(7653);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},2760:(t,e,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),u=r(4500),l=r(188),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=a(t),e=c(e),l)try{return p(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},4052:(t,e,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return o(a)}}(t):i(s(t))}},2092:(t,e,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},4750:(t,e)=>{e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),a=r(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,a=r(4535),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},7653:(t,e,r)=>{var n=r(7934),s=r(2952);t.exports=Object.keys||function(t){return n(t,s)}},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4469:(t,e,r)=>{var n=r(6419),s=r(1138),i=r(7757);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},158:(t,e,r)=>{"use strict";var n=r(3471),s=r(4696);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(t,e,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw o("Can't convert object to primitive value")}},7545:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(5646),s=TypeError;t.exports=function(t){if(n(t))throw s("Can't call method on "+t);return t}},1284:(t,e,r)=>{var n=r(3471),s=r(2760).f,i=r(8711),o=r(4500),a=r(158),c=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a)}}},9766:(t,e,r)=>{var n=r(8717),s=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},6434:(t,e,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8717:(t,e,r)=>{var n=r(5546),s=r(6434);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,p=i(o(e)),f=s(r),h=p.length;return f<0||f>=h?t?"":void 0:(n=c(p,f))<55296||n>56319||f+1===h||(l=c(p,f+1))<56320||l>57343?t?a(p,f):n:t?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},6770:(t,e,r)=>{var n=r(4218),s=r(6192);t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(t,e,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);t.exports=function(){var t=s("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&o(e,a,(function(t){return n(r,this)}),{arity:1})}},31:(t,e,r)=>{var n=r(6770);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(t,e,r)=>{var n=r(1941),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},101:(t,e,r)=>{var n=r(2202),s=r(3209);t.exports=function(t){return n(s(t))}},1941:(t,e,r)=>{var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{var n=r(1941),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},1795:(t,e,r)=>{var n=r(3209),s=Object;t.exports=function(t){return s(n(t))}},7888:(t,e,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{var n=r(7888),s=r(3236);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},3471:(t,e,r)=>{var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{var n=r(4696),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},9288:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},615:(t,e,r)=>{var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{var n=r(69),s=r(6192);t.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},8332:(t,e,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2760).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});s(e,t)||o(e,t,{value:i.f(t)})}},9207:(t,e,r)=>{var n=r(8182);e.f=n},8182:(t,e,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),u=n.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},9106:(t,e,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),a=r(1795),c=r(4104),u=r(9425),l=r(9361),p=r(1321),f=r(242),h=r(8182),_=r(4218),d=h("isConcatSpreadable"),m=_>=51||!s((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=function(t){if(!o(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!f("concat")},{concat:function(t){var e,r,n,s,i,o=a(this),f=p(o,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?o:arguments[e]))for(s=c(i),u(h+s),r=0;r<s;r++,h++)r in i&&l(f,h,i[r]);else u(h+1),l(f,h++,i);return f.length=h,f}})},2276:(t,e,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),a=s([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?a(this,t,e)||0:i(this,t,e)}})},8939:(t,e,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),a=r(2760).f,c=r(5297),u=r(7271),l=r(5546),p=r(69),f="Array Iterator",h=o.set,_=o.getterFor(f);t.exports=c(Array,"Array",(function(t,e){h(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=_(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(t){}},2432:()=>{},9704:(t,e,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),a=r(4120),c=r(6192),u=r(6447),l=r(3236),p=r(3096),f=r(9202),h=r(6770),_=String,d=s("JSON","stringify"),m=a(/./.exec),y=a("".charAt),g=a("".charCodeAt),v=a("".replace),b=a(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,O=!h||c((function(){var t=s("Symbol")();return"[null]"!=d([t])||"{}"!=d({a:t})||"{}"!=d(Object(t))})),j=c((function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")})),S=function(t,e){var r=p(arguments),n=f(e);if(u(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(u(n)&&(e=o(n,this,_(t),e)),!l(e))return e},i(d,null,r)},A=function(t,e,r){var n=y(r,e-1),s=y(r,e+1);return m(E,t)&&!m(x,s)||m(x,t)&&!m(E,n)?"\\u"+b(g(t,0),16):t};d&&n({target:"JSON",stat:!0,arity:3,forced:O||j},{stringify:function(t,e,r){var n=p(arguments),s=i(O?S:d,null,n);return j&&"string"==typeof s?v(s,w,A):s}})},8671:(t,e,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(t,e,r)=>{var n=r(3085),s=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(t,e,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(a(t)):[]}})},2647:(t,e,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(t){return i(s(t))}})},6663:()=>{},1367:()=>{},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),a=r(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},9781:(t,e,r)=>{r(8332)("asyncIterator")},9351:(t,e,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),a=r(5546),c=r(69),u=r(6770),l=r(6192),p=r(4500),f=r(8902),h=r(1138),_=r(101),d=r(77),m=r(4845),y=r(774),g=r(2853),v=r(7653),b=r(2092),w=r(4052),E=r(4750),x=r(5141),O=r(2760),j=r(1187),S=r(6007),A=r(9362),P=r(2807),k=r(8717),M=r(9766),N=r(4535),I=r(2759),F=r(8182),T=r(9207),C=r(8332),R=r(3407),D=r(1284),q=r(3326),L=r(454).forEach,$=M("hidden"),z="Symbol",B="prototype",V=q.set,G=q.getterFor(z),U=Object[B],W=s.Symbol,Z=W&&W[B],H=s.TypeError,K=s.QObject,Q=x.f,Y=O.f,J=w.f,X=S.f,tt=o([].push),et=k("symbols"),rt=k("op-symbols"),nt=k("wks"),st=!K||!K[B]||!K[B].findChild,it=c&&l((function(){return 7!=g(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Q(U,e);n&&delete U[e],Y(t,e,r),n&&t!==U&&Y(U,e,n)}:Y,ot=function(t,e){var r=et[t]=g(Z);return V(r,{type:z,tag:t,description:e}),c||(r.description=e),r},at=function(t,e,r){t===U&&at(rt,e,r),h(t);var n=d(e);return h(r),p(et,n)?(r.enumerable?(p(t,$)&&t[$][n]&&(t[$][n]=!1),r=g(r,{enumerable:y(0,!1)})):(p(t,$)||Y(t,$,y(1,{})),t[$][n]=!0),it(t,n,r)):Y(t,n,r)},ct=function(t,e){h(t);var r=_(e),n=v(r).concat(ft(r));return L(n,(function(e){c&&!i(ut,r,e)||at(t,e,r[e])})),t},ut=function(t){var e=d(t),r=i(X,this,e);return!(this===U&&p(et,e)&&!p(rt,e))&&(!(r||!p(this,e)||!p(et,e)||p(this,$)&&this[$][e])||r)},lt=function(t,e){var r=_(t),n=d(e);if(r!==U||!p(et,n)||p(rt,n)){var s=Q(r,n);return!s||!p(et,n)||p(r,$)&&r[$][n]||(s.enumerable=!0),s}},pt=function(t){var e=J(_(t)),r=[];return L(e,(function(t){p(et,t)||p(N,t)||tt(r,t)})),r},ft=function(t){var e=t===U,r=J(e?rt:_(t)),n=[];return L(r,(function(t){!p(et,t)||e&&!p(U,t)||tt(n,et[t])})),n};u||(A(Z=(W=function(){if(f(Z,this))throw H("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=I(t),r=function(t){this===U&&i(r,rt,t),p(this,$)&&p(this[$],e)&&(this[$][e]=!1),it(this,e,y(1,t))};return c&&st&&it(U,e,{configurable:!0,set:r}),ot(e,t)})[B],"toString",(function(){return G(this).tag})),A(W,"withoutSetter",(function(t){return ot(I(t),t)})),S.f=ut,O.f=at,j.f=ct,x.f=lt,b.f=w.f=pt,E.f=ft,T.f=function(t){return ot(F(t),t)},c&&(P(Z,"description",{configurable:!0,get:function(){return G(this).description}}),a||A(U,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),L(v(nt),(function(t){C(t)})),n({target:z,stat:!0,forced:!u},{useSetter:function(){st=!0},useSimple:function(){st=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?g(t):ct(g(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt}),R(),D(W,z),N[$]=!0},492:()=>{},9148:(t,e,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),a=r(8717),c=r(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=o(t);if(i(u,e))return u[e];var r=s("Symbol")(e);return u[e]=r,l[r]=e,r}})},6681:(t,e,r)=>{r(8332)("hasInstance")},9594:(t,e,r)=>{r(8332)("isConcatSpreadable")},3665:(t,e,r)=>{r(8332)("iterator")},6187:(t,e,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(t,e,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),a=r(8717),c=r(31),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(s(u,t))return u[t]}})},1250:(t,e,r)=>{r(8332)("matchAll")},9017:(t,e,r)=>{r(8332)("match")},9786:(t,e,r)=>{r(8332)("replace")},503:(t,e,r)=>{r(8332)("search")},6565:(t,e,r)=>{r(8332)("species")},9322:(t,e,r)=>{r(8332)("split")},3610:(t,e,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(t,e,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(t,e,r)=>{r(8332)("unscopables")},177:(t,e,r)=>{r(8332)("asyncDispose")},9031:(t,e,r)=>{r(8332)("dispose")},2725:(t,e,r)=>{var n=r(3085),s=r(150),i=r(4120),o=s("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);n({target:"Symbol",stat:!0},{isRegistered:function(t){try{return void 0!==a(c(t))}catch(t){return!1}}})},1806:(t,e,r)=>{for(var n=r(3085),s=r(8717),i=r(150),o=r(4120),a=r(3236),c=r(8182),u=i("Symbol"),l=u.isWellKnown,p=i("Object","getOwnPropertyNames"),f=o(u.prototype.valueOf),h=s("wks"),_=0,d=p(u),m=d.length;_<m;_++)try{var y=d[_];a(u[y])&&c(y)}catch(t){}n({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(t){if(l&&l(t))return!0;try{for(var e=f(t),r=0,n=p(h),s=n.length;r<s;r++)if(h[n[r]]==e)return!0}catch(t){}return!1}})},6658:(t,e,r)=>{r(8332)("matcher")},4212:(t,e,r)=>{r(8332)("metadataKey")},1875:(t,e,r)=>{r(8332)("metadata")},8658:(t,e,r)=>{r(8332)("observable")},4592:(t,e,r)=>{r(8332)("patternMatch")},6680:(t,e,r)=>{r(8332)("replaceAll")},162:(t,e,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(t,e,r)=>{var n=r(2604);t.exports=n},7820:(t,e,r)=>{var n=r(3512);t.exports=n},2:(t,e,r)=>{var n=r(2921);t.exports=n},5636:(t,e,r)=>{var n=r(8651);t.exports=n},2285:(t,e,r)=>{var n=r(5008);r(162),t.exports=n},8535:(t,e,r)=>{var n=r(994);r(162),t.exports=n},6042:(t,e,r)=>{var n=r(290);t.exports=n},9515:(t,e,r)=>{var n=r(8761)(r(7772),"DataView");t.exports=n},9612:(t,e,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},235:(t,e,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},326:(t,e,r)=>{var n=r(8761)(r(7772),"Map");t.exports=n},6738:(t,e,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},1985:(t,e,r)=>{var n=r(8761)(r(7772),"Promise");t.exports=n},2143:(t,e,r)=>{var n=r(8761)(r(7772),"Set");t.exports=n},5386:(t,e,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,t.exports=o},6571:(t,e,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},857:(t,e,r)=>{var n=r(7772).Symbol;t.exports=n},9162:(t,e,r)=>{var n=r(7772).Uint8Array;t.exports=n},3215:(t,e,r)=>{var n=r(8761)(r(7772),"WeakMap");t.exports=n},7552:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[s++]=o)}return i}},1634:(t,e,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),p=!r&&!l&&o(t),f=!r&&!l&&!p&&c(t),h=r||l||p||f,_=h?n(t.length,String):[],d=_.length;for(var m in t)!e&&!u.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,d))||_.push(m);return _}},5067:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+r]=e[r];return t}},7064:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2218:(t,e,r)=>{var n=r(1225);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},1897:(t,e,r)=>{var n=r(5067),s=r(6152);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},3366:(t,e,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},5183:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},8746:(t,e,r)=>{var n=r(1952),s=r(5125);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!=e&&r!=r:n(e,r,i,o,t,a))}},1952:(t,e,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",_=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,m,y){var g=c(t),v=c(e),b=g?f:a(t),w=v?f:a(e),E=(b=b==p?h:b)==h,x=(w=w==p?h:w)==h,O=b==w;if(O&&u(t)){if(!u(e))return!1;g=!0,E=!1}if(O&&!E)return y||(y=new n),g||l(t)?s(t,e,r,d,m,y):i(t,e,b,r,d,m,y);if(!(1&r)){var j=E&&_.call(t,"__wrapped__"),S=x&&_.call(e,"__wrapped__");if(j||S){var A=j?t.value():t,P=S?e.value():e;return y||(y=new n),m(A,P,r,d,y)}}return!!O&&(y||(y=new n),o(t,e,r,d,m,y))}},6840:(t,e,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?f:a).test(o(t))}},5522:(t,e,r)=>{var n=r(3366),s=r(1158),i=r(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},6411:(t,e,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6473:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},7826:t=>{t.exports=function(t){return function(e){return t(e)}}},9950:t=>{t.exports=function(t,e){return t.has(e)}},4019:(t,e,r)=>{var n=r(7772)["__core-js_shared__"];t.exports=n},4871:(t,e,r)=>{var n=r(5386),s=r(7064),i=r(9950);t.exports=function(t,e,r,o,a,c){var u=1&r,l=t.length,p=e.length;if(l!=p&&!(u&&p>l))return!1;var f=c.get(t),h=c.get(e);if(f&&h)return f==e&&h==t;var _=-1,d=!0,m=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++_<l;){var y=t[_],g=e[_];if(o)var v=u?o(g,y,_,e,t,c):o(y,g,_,t,e,c);if(void 0!==v){if(v)continue;d=!1;break}if(m){if(!s(e,(function(t,e){if(!i(m,e)&&(y===t||a(y,t,r,o,c)))return m.push(e)}))){d=!1;break}}else if(y!==g&&!a(y,g,r,o,c)){d=!1;break}}return c.delete(t),c.delete(e),d}},1491:(t,e,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,p,f){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!p(new s(t),new s(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=a;case"[object Set]":var _=1&n;if(h||(h=c),t.size!=e.size&&!_)return!1;var d=f.get(t);if(d)return d==e;n|=2,f.set(t,e);var m=o(h(t),h(e),n,u,p,f);return f.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},7416:(t,e,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var p=l;p--;){var f=u[p];if(!(c?f in e:s.call(e,f)))return!1}var h=a.get(t),_=a.get(e);if(h&&_)return h==e&&_==t;var d=!0;a.set(t,e),a.set(e,t);for(var m=c;++p<l;){var y=t[f=u[p]],g=e[f];if(i)var v=c?i(g,y,f,e,t,a):i(y,g,f,t,e,a);if(!(void 0===v?y===g||o(y,g,r,i,a):v)){d=!1;break}m||(m="constructor"==f)}if(d&&!m){var b=t.constructor,w=e.constructor;b==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(t),a.delete(e),d}},1242:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},3483:(t,e,r)=>{var n=r(1897),s=r(633),i=r(249);t.exports=function(t){return n(t,i,s)}},7937:(t,e,r)=>{var n=r(8304);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8761:(t,e,r)=>{var n=r(6840),s=r(8109);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},2107:(t,e,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},633:(t,e,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},940:(t,e,r)=>{var n=r(9515),s=r(326),i=r(1985),o=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",_="[object DataView]",d=u(n),m=u(s),y=u(i),g=u(o),v=u(a),b=c;(n&&b(new n(new ArrayBuffer(1)))!=_||s&&b(new s)!=l||i&&b(i.resolve())!=p||o&&b(new o)!=f||a&&b(new a)!=h)&&(b=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return _;case m:return l;case y:return p;case g:return f;case v:return h}return e}),t.exports=b},8109:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},2118:(t,e,r)=>{var n=r(9191);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},8138:(t,e,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(e,t)?e[t]:void 0}},4174:(t,e,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},7942:(t,e,r)=>{var n=r(9191);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9045:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},8304:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7394:(t,e,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},6001:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},3945:t=>{t.exports=function(){this.__data__=[],this.size=0}},1846:(t,e,r)=>{var n=r(2218),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},8028:(t,e,r)=>{var n=r(2218);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2344:(t,e,r)=>{var n=r(2218);t.exports=function(t){return n(this.__data__,t)>-1}},4769:(t,e,r)=>{var n=r(2218);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),s=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(t,e,r)=>{var n=r(7937);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6928:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).get(t)}},9493:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).has(t)}},4150:(t,e,r)=>{var n=r(7937);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},5179:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},9191:(t,e,r)=>{var n=r(8761)(Object,"create");t.exports=n},4248:(t,e,r)=>{var n=r(241)(Object.keys,Object);t.exports=n},4146:(t,e,r)=>{t=r.nmd(t);var n=r(1242),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},7157:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},241:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7772:(t,e,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},2842:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2482:t=>{t.exports=function(t){return this.__data__.has(t)}},4207:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},5243:(t,e,r)=>{var n=r(235);t.exports=function(){this.__data__=new n,this.size=0}},2858:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4417:t=>{t.exports=function(t){return this.__data__.get(t)}},8605:t=>{t.exports=function(t){return this.__data__.has(t)}},1418:(t,e,r)=>{var n=r(235),s=r(326),i=r(6738);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},7035:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},1225:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9631:(t,e,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6152:t=>{var e=Array.isArray;t.exports=e},7878:(t,e,r)=>{var n=r(1049),s=r(1158);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},4335:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),s=r(6330),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;t.exports=c},8149:(t,e,r)=>{var n=r(8746);t.exports=function(t,e){return n(t,e)}},1049:(t,e,r)=>{var n=r(3366),s=r(9259);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1158:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},5877:t=>{t.exports=function(t){return null===t}},537:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return"number"==typeof t||s(t)&&"[object Number]"==n(t)}},9259:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5125:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},5505:(t,e,r)=>{var n=r(3366),s=r(6152),i=r(5125);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},7598:(t,e,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),s=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):s(t)}},1570:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},981:t=>{t.exports=function(){return[]}},6330:t=>{t.exports=function(){return!1}},1178:(t,e,r)=>{const n=r(1570);function s(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),t.exports=i},3026:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5140:(t,e,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(t)){e=new s(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3853:(t,e,r)=>{const n=r(1570),s=r(1178);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},3756:(t,e,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),p=r(5202),f=r(2320),h=r(1178),_=r(3853),d=r(3026);function m(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new o(t);if("boolean"==typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new c(t.map(m));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=f,n.prototype.MemberElement=u,n.prototype.refract=m,h.prototype.refract=m,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:m,ArraySlice:h,ObjectSlice:_,KeyValuePair:d}},5202:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),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)}}},2320:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},7952:(t,e,r)=>{const n=r(5140),s=r(3756);e.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,e.W_=s.Element,e.RP=s.StringElement,e.VL=s.NumberElement,e.hh=s.BooleanElement,e.zr=s.NullElement,e.ON=s.ArrayElement,e.Sb=s.ObjectElement,e.c6=s.MemberElement,e.tK=s.RefElement,e.EA=s.LinkElement,e.Qc=s.refract,r(2947),r(8910)},1641:(t,e,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=o},3312:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(t,e,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),o=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof s&&(r.content.key&&o(t,r.content.key),r.content.value&&o(t,r.content.value)),t};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},8858:(t,e,r)=>{const n=r(3026),s=r(6420);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},4152:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},3860:(t,e,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},9542:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(t,e,r)=>{const n=r(2947);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}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 e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}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)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},2947:t=>{t.exports=class{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 e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},6591:t=>{!function(){"use strict";var e,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",_="deepProps",d="deepStatics",m="deepConf",y="initializers",g="methods",v="composers",b="compose";function w(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function E(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var x=E.bind(0,(function(t,e){if(e)for(var r=w(e),n=0;n<r.length;n+=1)Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]));return t}));function O(t){return"function"==typeof t}function j(t){return t&&"object"==typeof t||O(t)}function S(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var A=E.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!S(n))return n;for(var s,i,o=w(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==e&&(r[s]=t(S(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function P(){return(r=Array.prototype.concat.apply([],arguments).filter((function(t,e,r){return O(t)&&r.indexOf(t)===e}))).length?r:e}function k(t,e){function n(r,n){j(e[r])&&(j(t[r])||(t[r]={}),(n||x)(t[r],e[r]))}function s(n){(r=P(t[n],e[n]))&&(t[n]=r)}return e&&j(e=e[b]||e)&&(n(g),n(o),n(a,A),n(c),n(u),n(l,A),n(p),n(f),n(h,A),s(y),s(v)),t}function M(){return function(t){return r=function t(r){var n,s,i=t[b]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),f=i[a];if(f&&A(u,f),(f=i[o])&&x(u,f),(f=i[c])&&Object.defineProperties(u,f),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)O(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:t,args:p}))===e?u:s);return u},(n=t[l])&&A(r,n),(n=t[u])&&x(r,n),(n=t[p])&&Object.defineProperties(r,n),n=O(r[b])?r[b]:M,x(r[b]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function N(t){return O(t)&&O(t[b])}var I={};function F(t,i){return function(){return(s={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[b]||n).call(r,s)}}I[g]=F(g,x),I[o]=I.props=F(o,x),I[y]=I.init=F(y,P),I[v]=F(v,P),I[a]=I[_]=F(a,A),I[u]=I.statics=F(u,x),I[l]=I[d]=F(l,A),I[f]=I.conf=F(f,x),I[h]=I[m]=F(h,A),I[c]=F(c,x),I[p]=F(p,x),n=I[b]=x((function(){for(var t,w,E=0,O=[],S=arguments,k=this;E<S.length;)j(t=S[E++])&&O.push(N(t)?t:((s={})[g]=(w=t)[g]||e,n=w.props,s[o]=j((r=w[o])||n)?x({},n,r):e,s[y]=P(w.init,w[y]),s[v]=P(w[v]),n=w[_],s[a]=j((r=w[a])||n)?A({},n,r):e,s[c]=w[c],n=w.statics,s[u]=j((r=w[u])||n)?x({},n,r):e,n=w[d],s[l]=j((r=w[l])||n)?A({},n,r):e,r=w[p],s[p]=j((n=w.name&&{name:{value:w.name}})||r)?x({},r,n):e,n=w.conf,s[f]=j((r=w[f])||n)?x({},n,r):e,n=w[m],s[h]=j((r=w[h])||n)?A({},n,r):e,s));if(t=M.apply(k||i,O),k&&O.unshift(k),Array.isArray(S=t[b][v]))for(E=0;E<S.length;)t=N(k=S[E++]({stamp:t,composables:O}))?k:t;return t}),I),I.create=function(){return this.apply(e,arguments)},(s={})[u]=I,i=M(s),n[b]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},2396:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(t,e,r)=>{"use strict";const n=r(2396);function s(t,e,r){const s=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(s)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return s}function i(t,e){const r=s(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=s(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|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 c(t,e=!1){return t.replace(a,(function(t,r,a,c,u,l,p,f,h){if(void 0!==r)return"\\";if(void 0!==a)return function(t){const e=s(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(a);if(void 0!==c)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=s(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(c);if(void 0!==u)return i(u,l);if(void 0!==p)return i(p);if("0"===f)return"\0";if(void 0!==f)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(f,!e);if(void 0!==h)return _=h,o.get(_)||_;var _;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.S6=c},9794:(t,e,r)=>{var n=void 0!==n?n:{},s=function(){var e,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return e||(n=Object.assign({},n,o),e=new Promise((e=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,u,l,p,f=[],h="./this.program",_=function(t,e){throw e};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var d,m,y,g,v,b="";c?(b=p?r(6287).dirname(b)+"/":"//",d=function(t,e){return g||(g=r(5530)),v||(v=r(6287)),t=v.normalize(t),g.readFileSync(t,e?null:"utf8")},y=function(t){var e=d(t,!0);return e.buffer||(e=new Uint8Array(e)),F(e.buffer),e},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),f=process.argv.slice(2),t.exports=n,_=function(t){process.exit(t)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(d=function(t){return read(t)}),y=function(t){var e;return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(F("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?f=scriptArgs:void 0!==arguments&&(f=arguments),"function"==typeof quit&&(_=function(t){quit(t)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?b=self.location.href:void 0!==s&&s.currentScript&&(b=s.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",d=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},p&&(y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),m=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(f=n.arguments),n.thisProgram&&(h=n.thisProgram),n.quit&&(_=n.quit);var E,x=16,O=[];function j(t,e){if(!E){E=new WeakMap;for(var r=0;r<Q.length;r++){var n=Q.get(r);n&&E.set(n,r)}}if(E.has(t))return E.get(t);var s=function(){if(O.length)return O.pop();try{Q.grow(1)}catch(t){if(!(t instanceof RangeError))throw t;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Q.length-1}();try{Q.set(s,t)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(t,e){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==e[0]?[]:[r[e[0]]]},s=1;s<e.length;++s)n.parameters.push(r[e[s]]);return new WebAssembly.Function(n,t)}var i=[1,0,1,96],o=e.slice(0,1),a=e.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:t}}).exports.f}(t,e);Q.set(s,i)}return E.set(t,s),s}var S,A=n.dynamicLibraries||[];n.wasmBinary&&(S=n.wasmBinary);var P,k=n.noExitRuntime||!0;function M(t,e,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":C[t>>0]=e;break;case"i16":D[t>>1]=e;break;case"i32":q[t>>2]=e;break;case"i64":lt=[e>>>0,(ut=e,+Math.abs(ut)>=1?ut>0?(0|Math.min(+Math.floor(ut/4294967296),4294967295))>>>0:~~+Math.ceil((ut-+(~~ut>>>0))/4294967296)>>>0:0)],q[t>>2]=lt[0],q[t+4>>2]=lt[1];break;case"float":L[t>>2]=e;break;case"double":$[t>>3]=e;break;default:at("invalid type for setValue: "+r)}}function N(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return C[t>>0];case"i16":return D[t>>1];case"i32":case"i64":return q[t>>2];case"float":return L[t>>2];case"double":return $[t>>3];default:at("invalid type for getValue: "+e)}return null}"object"!=typeof WebAssembly&&at("no native wasm support detected");var I=!1;function F(t,e){t||at("Assertion failed: "+e)}var T,C,R,D,q,L,$,z="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function B(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.subarray&&z)return z.decode(t.subarray(e,s));for(var i="";e<s;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var c=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&t[e++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function V(t,e){return t?B(R,t,e):""}function G(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function U(t,e,r){return G(t,R,e,r)}function W(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}function Z(t){var e=W(t)+1,r=Wt(e);return G(t,C,r,e),r}function H(t){T=t,n.HEAP8=C=new Int8Array(t),n.HEAP16=D=new Int16Array(t),n.HEAP32=q=new Int32Array(t),n.HEAPU8=R=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=L=new Float32Array(t),n.HEAPF64=$=new Float64Array(t)}var K=n.INITIAL_MEMORY||33554432;(P=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:K/65536,maximum:32768}))&&(T=P.buffer),K=T.byteLength,H(T);var Q=new WebAssembly.Table({initial:20,element:"anyfunc"}),Y=[],J=[],X=[],tt=[],et=!1,rt=0,nt=null,st=null;function it(t){rt++,n.monitorRunDependencies&&n.monitorRunDependencies(rt)}function ot(t){if(rt--,n.monitorRunDependencies&&n.monitorRunDependencies(rt),0==rt&&(null!==nt&&(clearInterval(nt),nt=null),st)){var e=st;st=null,e()}}function at(t){throw n.onAbort&&n.onAbort(t),w(t+=""),I=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ct,ut,lt;function pt(t){return t.startsWith("data:application/octet-stream;base64,")}function ft(t){return t.startsWith("file://")}function ht(t){try{if(t==ct&&S)return new Uint8Array(S);if(y)return y(t);throw"both async and sync fetching of the wasm failed"}catch(t){at(t)}}pt(ct="tree-sitter.wasm")||(ct=function(t){return n.locateFile?n.locateFile(t,b):b+t}(ct));var _t={},dt={get:function(t,e){return _t[e]||(_t[e]=new WebAssembly.Global({value:"i32",mutable:!0})),_t[e]}};function mt(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?Q.get(r)():Q.get(r)(e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}function yt(t){var e=0;function r(){for(var r=0,n=1;;){var s=t[e++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(t instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(t,"dylink");F(0!=n.length,"need dylink section"),t=new Int8Array(n[0])}else F(1836278016==new Uint32Array(new Uint8Array(t.subarray(0,24)).buffer)[0],"need to see wasm magic number"),F(0===t[8],"need the dylink section to be first"),e=9,r(),F(6===t[e]),F(t[++e]==="d".charCodeAt(0)),F(t[++e]==="y".charCodeAt(0)),F(t[++e]==="l".charCodeAt(0)),F(t[++e]==="i".charCodeAt(0)),F(t[++e]==="n".charCodeAt(0)),F(t[++e]==="k".charCodeAt(0)),e++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=t.subarray(e,e+a);e+=a;var u=B(c,0);s.neededDynlibs.push(u)}return s}var gt=0;function vt(){return k||gt>0}function bt(t){return 0==t.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(t)?t:"_"+t}function wt(t,e){for(var r in t)if(t.hasOwnProperty(r)){zt.hasOwnProperty(r)||(zt[r]=t[r]);var s=bt(r);n.hasOwnProperty(s)||(n[s]=t[r])}}var Et={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xt=5251072;function Ot(t){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(t)}function jt(t,e){var r={};for(var n in t){var s=t[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=e),r[n]=s}return function(t){for(var e in t)if(!Ot(e)){var r=!1,n=t[e];e.startsWith("orig$")&&(e=e.split("$")[1],r=!0),_t[e]||(_t[e]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==_t[e].value)&&("function"==typeof n?_t[e].value=j(n):"number"==typeof n?_t[e].value=n:w("unhandled export type for `"+e+"`: "+typeof n))}}(r),r}function St(t,e){var r,s;return e&&(r=zt["orig$"+t]),r||(r=zt[t]),r||(r=n[bt(t)]),!r&&t.startsWith("invoke_")&&(s=t.split("_")[1],r=function(){var t=Gt();try{return function(t,e,r){return t.includes("j")?function(t,e,r){var s=n["dynCall_"+t];return r&&r.length?s.apply(null,[e].concat(r)):s.call(null,e)}(t,e,r):Q.get(e).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(Ut(t),e!==e+0&&"longjmp"!==e)throw e;Zt(1,0)}}),r}function At(t,e){var r=yt(t);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(t){if(et)return Bt(t);var e=xt,r=e+t+15&-16;return xt=r,_t.__heap_base.value=r,e}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Q.length;Q.grow(r.tableSize);for(var u=a;u<a+r.memorySize;u++)C[u]=0;for(u=c;u<c+r.tableSize;u++)Q.set(u,null);var l=new Proxy({},{get:function(t,e){switch(e){case"__memory_base":return a;case"__table_base":return c}return e in zt?zt[e]:(e in t||(t[e]=function(){return r||(r=function(t){var e=St(t,!1);return e||(e=o[t]),e}(e)),r.apply(null,arguments)}),t[e]);var r}}),p={"GOT.mem":new Proxy({},dt),"GOT.func":new Proxy({},dt),env:l,wasi_snapshot_preview1:l};function f(t){for(var n=0;n<r.tableSize;n++){var s=Q.get(c+n);s&&E.set(s,c+n)}o=jt(t.exports,a),e.allowUndefined||kt();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(et?i():J.push(i)),o}if(e.loadAsync){if(t instanceof WebAssembly.Module){var h=new WebAssembly.Instance(t,p);return Promise.resolve(f(h))}return WebAssembly.instantiate(t,p).then((function(t){return f(t.instance)}))}var _=t instanceof WebAssembly.Module?t:new WebAssembly.Module(t);return f(h=new WebAssembly.Instance(_,p))}return e.loadAsync?r.neededDynlibs.reduce((function(t,r){return t.then((function(){return Pt(r,e)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(t){Pt(t,e)})),n())}function Pt(t,e){"__main__"!=t||Et.loadedLibNames[t]||(Et.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},Et.loadedLibNames.__main__=-1),e=e||{global:!0,nodelete:!0};var r,s=Et.loadedLibNames[t];if(s)return r=Et.loadedLibs[s],e.global&&!r.global&&(r.global=!0,"loading"!==r.module&&wt(r.module)),e.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,e.loadAsync?Promise.resolve(s):s;function i(t){if(e.fs){var r=e.fs.readFile(t,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),e.loadAsync?Promise.resolve(r):r}return e.loadAsync?(n=t,fetch(n,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load binary file at '"+n+"'";return t.arrayBuffer()})).then((function(t){return new Uint8Array(t)}))):y(t);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[t]){var r=n.preloadedWasm[t];return e.loadAsync?Promise.resolve(r):r}return e.loadAsync?i(t).then((function(t){return At(t,e)})):At(i(t),e)}function a(t){r.global&&wt(t),r.module=t}return s=Et.nextHandle++,r={refcount:e.nodelete?1/0:1,name:t,module:"loading",global:e.global},Et.loadedLibNames[t]=s,Et.loadedLibs[s]=r,e.loadAsync?o().then((function(t){return a(t),s})):(a(o()),s)}function kt(){for(var t in _t)if(0==_t[t].value){var e=St(t,!0);"function"==typeof e?_t[t].value=j(e,e.sig):"number"==typeof e?_t[t].value=e:F(!1,"bad export type for `"+t+"`: "+typeof e)}}n.___heap_base=xt;var Mt,Nt=new WebAssembly.Global({value:"i32",mutable:!0},5251072);function It(){at()}n._abort=It,It.sig="v",Mt=c?function(){var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Ft(t,e){var r;if(0===t)r=Date.now();else{if(1!==t&&4!==t)return 28,q[Vt()>>2]=28,-1;r=Mt()}return q[e>>2]=r/1e3|0,q[e+4>>2]=r%1e3*1e3*1e3|0,0}function Tt(t){try{return P.grow(t-T.byteLength+65535>>>16),H(P.buffer),1}catch(t){}}function Ct(t){Yt(t)}Ft.sig="iii",Ct.sig="vi";var Rt={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(t,e,r){if("/"===e[0])return e;var n;if(-100===t)n=FS.cwd();else{var s=FS.getStream(t);if(!s)throw new FS.ErrnoError(8);n=s.path}if(0==e.length){if(!r)throw new FS.ErrnoError(44);return n}return PATH.join2(n,e)},doStat:function(t,e,r){try{var n=t(e)}catch(t){if(t&&t.node&&PATH.normalize(e)!==PATH.normalize(FS.getPath(t.node)))return-54;throw t}return q[r>>2]=n.dev,q[r+4>>2]=0,q[r+8>>2]=n.ino,q[r+12>>2]=n.mode,q[r+16>>2]=n.nlink,q[r+20>>2]=n.uid,q[r+24>>2]=n.gid,q[r+28>>2]=n.rdev,q[r+32>>2]=0,lt=[n.size>>>0,(ut=n.size,+Math.abs(ut)>=1?ut>0?(0|Math.min(+Math.floor(ut/4294967296),4294967295))>>>0:~~+Math.ceil((ut-+(~~ut>>>0))/4294967296)>>>0:0)],q[r+40>>2]=lt[0],q[r+44>>2]=lt[1],q[r+48>>2]=4096,q[r+52>>2]=n.blocks,q[r+56>>2]=n.atime.getTime()/1e3|0,q[r+60>>2]=0,q[r+64>>2]=n.mtime.getTime()/1e3|0,q[r+68>>2]=0,q[r+72>>2]=n.ctime.getTime()/1e3|0,q[r+76>>2]=0,lt=[n.ino>>>0,(ut=n.ino,+Math.abs(ut)>=1?ut>0?(0|Math.min(+Math.floor(ut/4294967296),4294967295))>>>0:~~+Math.ceil((ut-+(~~ut>>>0))/4294967296)>>>0:0)],q[r+80>>2]=lt[0],q[r+84>>2]=lt[1],0},doMsync:function(t,e,r,n,s){var i=R.slice(t,t+r);FS.msync(e,i,s,r,n)},doMkdir:function(t,e){return"/"===(t=PATH.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),FS.mkdir(t,e,0),0},doMknod:function(t,e,r){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(t,e,r),0},doReadlink:function(t,e,r){if(r<=0)return-28;var n=FS.readlink(t),s=Math.min(r,W(n)),i=C[e+s];return U(n,e,r+1),C[e+s]=i,s},doAccess:function(t,e){if(-8&e)return-28;var r;if(!(r=FS.lookupPath(t,{follow:!0}).node))return-44;var n="";return 4&e&&(n+="r"),2&e&&(n+="w"),1&e&&(n+="x"),n&&FS.nodePermissions(r,n)?-2:0},doDup:function(t,e,r){var n=FS.getStream(r);return n&&FS.close(n),FS.open(t,e,0,r,r).fd},doReadv:function(t,e,r,n){for(var s=0,i=0;i<r;i++){var o=q[e+8*i>>2],a=q[e+(8*i+4)>>2],c=FS.read(t,C,o,a,n);if(c<0)return-1;if(s+=c,c<a)break}return s},doWritev:function(t,e,r,n){for(var s=0,i=0;i<r;i++){var o=q[e+8*i>>2],a=q[e+(8*i+4)>>2],c=FS.write(t,C,o,a,n);if(c<0)return-1;s+=c}return s},varargs:void 0,get:function(){return Rt.varargs+=4,q[Rt.varargs-4>>2]},getStr:function(t){return V(t)},getStreamFromFD:function(t){var e=FS.getStream(t);if(!e)throw new FS.ErrnoError(8);return e},get64:function(t,e){return t}};function Dt(t){try{var e=Rt.getStreamFromFD(t);return FS.close(e),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||at(t),t.errno}}function qt(t,e,r,n){try{var s=Rt.getStreamFromFD(t),i=Rt.doWritev(s,e,r);return q[n>>2]=i,0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||at(t),t.errno}}function Lt(t){}Dt.sig="ii",qt.sig="iiiii",Lt.sig="vi";var $t,zt={__heap_base:xt,__indirect_function_table:Q,__memory_base:1024,__stack_pointer:Nt,__table_base:1,abort:It,clock_gettime:Ft,emscripten_memcpy_big:function(t,e,r){R.copyWithin(t,e,e+r)},emscripten_resize_heap:function(t){var e,r=R.length;if((t>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,t+100663296),Tt(Math.min(2147483648,((e=Math.max(t,s))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1},exit:Ct,fd_close:Dt,fd_seek:function(t,e,r,n,s){try{var i=Rt.getStreamFromFD(t),o=4294967296*r+(e>>>0);return o<=-9007199254740992||o>=9007199254740992?-61:(FS.llseek(i,o,n),lt=[i.position>>>0,(ut=i.position,+Math.abs(ut)>=1?ut>0?(0|Math.min(+Math.floor(ut/4294967296),4294967295))>>>0:~~+Math.ceil((ut-+(~~ut>>>0))/4294967296)>>>0:0)],q[s>>2]=lt[0],q[s+4>>2]=lt[1],i.getdents&&0===o&&0===n&&(i.getdents=null),0)}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||at(t),t.errno}},fd_write:qt,memory:P,setTempRet0:Lt,tree_sitter_log_callback:function(t,e){if(fe){const r=V(e);fe(r,0!==t)}},tree_sitter_parse_callback:function(t,e,r,n,s){var i=pe(e,{row:r,column:n});"string"==typeof i?(M(s,i.length,"i32"),function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*t.length?r/2:t.length,s=0;s<n;++s){var i=t.charCodeAt(s);D[e>>1]=i,e+=2}D[e>>1]=0}(i,t,10240)):M(s,0,"i32")}},Bt=(function(){var t={env:zt,wasi_snapshot_preview1:zt,"GOT.mem":new Proxy(zt,dt),"GOT.func":new Proxy(zt,dt)};function e(t,e){var r=t.exports;r=jt(r,1024),n.asm=r;var s,i=yt(e);i.neededDynlibs&&(A=i.neededDynlibs.concat(A)),wt(r),s=n.asm.__wasm_call_ctors,J.unshift(s),ot()}function r(t){e(t.instance,t.module)}function s(e){return function(){if(!S&&(l||p)){if("function"==typeof fetch&&!ft(ct))return fetch(ct,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ct+"'";return t.arrayBuffer()})).catch((function(){return ht(ct)}));if(m)return new Promise((function(t,e){m(ct,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return ht(ct)}))}().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),at(t)}))}if(it(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}S||"function"!=typeof WebAssembly.instantiateStreaming||pt(ct)||ft(ct)||"function"!=typeof fetch?s(r):fetch(ct,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Bt=n._malloc=n.asm.malloc).apply(null,arguments)}),Vt=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Vt=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Gt=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Gt=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Ut=n.stackRestore=function(){return(Ut=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Wt=n.stackAlloc=function(){return(Wt=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Zt=n._setThrew=function(){return(Zt=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ht(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.dynCall_jiji=function(){return(n.dynCall_jiji=n.asm.dynCall_jiji).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(t,e){var r;return r=1==e?Wt(t.length):Bt(t.length),t.subarray||t.slice?R.set(t,r):R.set(new Uint8Array(t),r),r},st=function t(){$t||Qt(),$t||(st=t)};var Kt=!1;function Qt(t){function e(){$t||($t=!0,n.calledRun=!0,I||(et=!0,mt(J),mt(X),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Jt&&function(t){var e=n._main;if(e){var r=(t=t||[]).length+1,s=Wt(4*(r+1));q[s>>2]=Z(h);for(var i=1;i<r;i++)q[(s>>2)+i]=Z(t[i-1]);q[(s>>2)+r]=0;try{Yt(e(r,s),!0)}catch(t){if(t instanceof Ht)return;if("unwind"==t)return;var o=t;t&&"object"==typeof t&&t.stack&&(o=[t,t.stack]),w("exception thrown: "+o),_(1,t)}}}(t),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),tt.unshift(t);var t;mt(tt)}()))}t=t||f,rt>0||!Kt&&(function(){if(A.length){if(!y)return it(),void A.reduce((function(t,e){return t.then((function(){return Pt(e,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ot(),kt()}));A.forEach((function(t){Pt(t,{global:!0,nodelete:!0,allowUndefined:!0})})),kt()}else kt()}(),Kt=!0,rt>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),Y.unshift(t);var t;mt(Y)}(),rt>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function Yt(t,e){e&&vt()&&0===t||(vt()||(n.onExit&&n.onExit(t),I=!0),_(t,new Ht(t)))}if(n.run=Qt,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Jt=!0;n.noInitialRun&&(Jt=!1),Qt();const Xt=n,te={},ee=4,re=5*ee,ne=2*ee,se=2*ee+2*ne,ie={row:0,column:0},oe=/[\w-.]*/g,ae=/^_?tree_sitter_\w+/;var ce,ue,le,pe,fe;class he{static init(){le=Xt._ts_init(),ce=N(le,"i32"),ue=N(le+ee,"i32")}initialize(){Xt._ts_parser_new_wasm(),this[0]=N(le,"i32"),this[1]=N(le+ee,"i32")}delete(){Xt._ts_parser_delete(this[0]),Xt._free(this[1]),this[0]=0,this[1]=0}setLanguage(t){let e;if(t){if(t.constructor!==ye)throw new Error("Argument must be a Language");{e=t[0];const r=Xt._ts_language_version(e);if(r<ue||ce<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${ue} through ${ce}.`)}}else e=0,t=null;return this.language=t,Xt._ts_parser_set_language(this[0],e),this}getLanguage(){return this.language}parse(t,e,r){if("string"==typeof t)pe=(e,r,n)=>t.slice(e,n);else{if("function"!=typeof t)throw new Error("Argument must be a string or a function");pe=t}this.logCallback?(fe=this.logCallback,Xt._ts_parser_enable_logger_wasm(this[0],1)):(fe=null,Xt._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let t=s=Xt._calloc(n,se);for(let e=0;e<n;e++)ke(t,r.includedRanges[e]),t+=se}const i=Xt._ts_parser_parse_wasm(this[0],this[1],e?e[0]:0,s,n);if(!i)throw pe=null,fe=null,new Error("Parsing failed");const o=new _e(te,i,this.language,pe);return pe=null,fe=null,o}reset(){Xt._ts_parser_reset(this[0])}setTimeoutMicros(t){Xt._ts_parser_set_timeout_micros(this[0],t)}getTimeoutMicros(){return Xt._ts_parser_timeout_micros(this[0])}setLogger(t){if(t){if("function"!=typeof t)throw new Error("Logger callback must be a function")}else t=null;return this.logCallback=t,this}getLogger(){return this.logCallback}}class _e{constructor(t,e,r,n){we(t),this[0]=e,this.language=r,this.textCallback=n}copy(){const t=Xt._ts_tree_copy(this[0]);return new _e(te,t,this.language,this.textCallback)}delete(){Xt._ts_tree_delete(this[0]),this[0]=0}edit(t){!function(t){let e=le;Ae(e,t.startPosition),Ae(e+=ne,t.oldEndPosition),Ae(e+=ne,t.newEndPosition),M(e+=ne,t.startIndex,"i32"),M(e+=ee,t.oldEndIndex,"i32"),M(e+=ee,t.newEndIndex,"i32"),e+=ee}(t),Xt._ts_tree_edit_wasm(this[0])}get rootNode(){return Xt._ts_tree_root_node_wasm(this[0]),Oe(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(t){if(t.constructor!==_e)throw new TypeError("Argument must be a Tree");Xt._ts_tree_get_changed_ranges_wasm(this[0],t[0]);const e=N(le,"i32"),r=N(le+ee,"i32"),n=new Array(e);if(e>0){let t=r;for(let r=0;r<e;r++)n[r]=Me(t),t+=se;Xt._free(r)}return n}}class de{constructor(t,e){we(t),this.tree=e}get typeId(){return xe(this),Xt._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return xe(this),Xt._ts_node_end_point_wasm(this.tree[0]),Pe(le)}get endIndex(){return xe(this),Xt._ts_node_end_index_wasm(this.tree[0])}get text(){return ve(this.tree,this.startIndex,this.endIndex)}isNamed(){return xe(this),1===Xt._ts_node_is_named_wasm(this.tree[0])}hasError(){return xe(this),1===Xt._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return xe(this),1===Xt._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return xe(this),1===Xt._ts_node_is_missing_wasm(this.tree[0])}equals(t){return this.id===t.id}child(t){return xe(this),Xt._ts_node_child_wasm(this.tree[0],t),Oe(this.tree)}namedChild(t){return xe(this),Xt._ts_node_named_child_wasm(this.tree[0],t),Oe(this.tree)}childForFieldId(t){return xe(this),Xt._ts_node_child_by_field_id_wasm(this.tree[0],t),Oe(this.tree)}childForFieldName(t){const e=this.tree.language.fields.indexOf(t);if(-1!==e)return this.childForFieldId(e)}get childCount(){return xe(this),Xt._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return xe(this),Xt._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){xe(this),Xt._ts_node_children_wasm(this.tree[0]);const t=N(le,"i32"),e=N(le+ee,"i32");if(this._children=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._children[e]=Oe(this.tree,r),r+=re;Xt._free(e)}}return this._children}get namedChildren(){if(!this._namedChildren){xe(this),Xt._ts_node_named_children_wasm(this.tree[0]);const t=N(le,"i32"),e=N(le+ee,"i32");if(this._namedChildren=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._namedChildren[e]=Oe(this.tree,r),r+=re;Xt._free(e)}}return this._namedChildren}descendantsOfType(t,e,r){Array.isArray(t)||(t=[t]),e||(e=ie),r||(r=ie);const n=[],s=this.tree.language.types;for(let e=0,r=s.length;e<r;e++)t.includes(s[e])&&n.push(e);const i=Xt._malloc(ee*n.length);for(let t=0,e=n.length;t<e;t++)M(i+t*ee,n[t],"i32");xe(this),Xt._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,e.row,e.column,r.row,r.column);const o=N(le,"i32"),a=N(le+ee,"i32"),c=new Array(o);if(o>0){let t=a;for(let e=0;e<o;e++)c[e]=Oe(this.tree,t),t+=re}return Xt._free(a),Xt._free(i),c}get nextSibling(){return xe(this),Xt._ts_node_next_sibling_wasm(this.tree[0]),Oe(this.tree)}get previousSibling(){return xe(this),Xt._ts_node_prev_sibling_wasm(this.tree[0]),Oe(this.tree)}get nextNamedSibling(){return xe(this),Xt._ts_node_next_named_sibling_wasm(this.tree[0]),Oe(this.tree)}get previousNamedSibling(){return xe(this),Xt._ts_node_prev_named_sibling_wasm(this.tree[0]),Oe(this.tree)}get parent(){return xe(this),Xt._ts_node_parent_wasm(this.tree[0]),Oe(this.tree)}descendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");xe(this);let r=le+re;return M(r,t,"i32"),M(r+ee,e,"i32"),Xt._ts_node_descendant_for_index_wasm(this.tree[0]),Oe(this.tree)}namedDescendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");xe(this);let r=le+re;return M(r,t,"i32"),M(r+ee,e,"i32"),Xt._ts_node_named_descendant_for_index_wasm(this.tree[0]),Oe(this.tree)}descendantForPosition(t,e=t){if(!Ee(t)||!Ee(e))throw new Error("Arguments must be {row, column} objects");xe(this);let r=le+re;return Ae(r,t),Ae(r+ne,e),Xt._ts_node_descendant_for_position_wasm(this.tree[0]),Oe(this.tree)}namedDescendantForPosition(t,e=t){if(!Ee(t)||!Ee(e))throw new Error("Arguments must be {row, column} objects");xe(this);let r=le+re;return Ae(r,t),Ae(r+ne,e),Xt._ts_node_named_descendant_for_position_wasm(this.tree[0]),Oe(this.tree)}walk(){return xe(this),Xt._ts_tree_cursor_new_wasm(this.tree[0]),new me(te,this.tree)}toString(){xe(this);const t=Xt._ts_node_to_string_wasm(this.tree[0]),e=function(t){for(var e="";;){var r=R[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}}(t);return Xt._free(t),e}}class me{constructor(t,e){we(t),this.tree=e,Se(this)}delete(){je(this),Xt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(t){xe(t),je(this,le+re),Xt._ts_tree_cursor_reset_wasm(this.tree[0]),Se(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return je(this),Xt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return je(this),Xt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return je(this),1===Xt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return je(this),1===Xt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){je(this);const t=Xt._ts_tree_cursor_start_index_wasm(this.tree[0]),e=Xt._ts_tree_cursor_end_index_wasm(this.tree[0]);return ve(this.tree,t,e)}get startPosition(){return je(this),Xt._ts_tree_cursor_start_position_wasm(this.tree[0]),Pe(le)}get endPosition(){return je(this),Xt._ts_tree_cursor_end_position_wasm(this.tree[0]),Pe(le)}get startIndex(){return je(this),Xt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return je(this),Xt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return je(this),Xt._ts_tree_cursor_current_node_wasm(this.tree[0]),Oe(this.tree)}currentFieldId(){return je(this),Xt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){je(this);const t=Xt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Se(this),1===t}gotoNextSibling(){je(this);const t=Xt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Se(this),1===t}gotoParent(){je(this);const t=Xt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Se(this),1===t}}class ye{constructor(t,e){we(t),this[0]=e,this.types=new Array(Xt._ts_language_symbol_count(this[0]));for(let t=0,e=this.types.length;t<e;t++)Xt._ts_language_symbol_type(this[0],t)<2&&(this.types[t]=V(Xt._ts_language_symbol_name(this[0],t)));this.fields=new Array(Xt._ts_language_field_count(this[0])+1);for(let t=0,e=this.fields.length;t<e;t++){const e=Xt._ts_language_field_name_for_id(this[0],t);this.fields[t]=0!==e?V(e):null}}get version(){return Xt._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(t){const e=this.fields.indexOf(t);return-1!==e?e:null}fieldNameForId(t){return this.fields[t]||null}idForNodeType(t,e){const r=W(t),n=Xt._malloc(r+1);U(t,n,r+1);const s=Xt._ts_language_symbol_for_name(this[0],n,r,e);return Xt._free(n),s||null}get nodeTypeCount(){return Xt._ts_language_symbol_count(this[0])}nodeTypeForId(t){const e=Xt._ts_language_symbol_name(this[0],t);return e?V(e):null}nodeTypeIsNamed(t){return!!Xt._ts_language_type_is_named_wasm(this[0],t)}nodeTypeIsVisible(t){return!!Xt._ts_language_type_is_visible_wasm(this[0],t)}query(t){const e=W(t),r=Xt._malloc(e+1);U(t,r,e+1);const n=Xt._ts_query_new(this[0],r,e,le,le+ee);if(!n){const e=N(le+ee,"i32"),n=V(r,N(le,"i32")).length,s=t.substr(n,100).split("\n")[0];let i,o=s.match(oe)[0];switch(e){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,Xt._free(r),i}const s=Xt._ts_query_string_count(n),i=Xt._ts_query_capture_count(n),o=Xt._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let t=0;t<i;t++){const e=Xt._ts_query_capture_name_for_id(n,t,le),r=N(le,"i32");a[t]=V(e,r)}for(let t=0;t<s;t++){const e=Xt._ts_query_string_value_for_id(n,t,le),r=N(le,"i32");c[t]=V(e,r)}const u=new Array(o),l=new Array(o),p=new Array(o),f=new Array(o),h=new Array(o);for(let t=0;t<o;t++){const e=Xt._ts_query_predicates_for_pattern(n,t,le),r=N(le,"i32");f[t]=[],h[t]=[];const s=[];let i=e;for(let e=0;e<r;e++){const e=N(i,"i32"),r=N(i+=ee,"i32");if(i+=ee,1===e)s.push({type:"capture",name:a[r]});else if(2===e)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const e=s[0].value;let r=!0;switch(e){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const e=s[1].name,n=s[2].name;h[t].push((function(t){let s,i;for(const r of t)r.name===e&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const e=s[1].name,n=s[2].value;h[t].push((function(t){for(const s of t)if(s.name===e)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);h[t].push((function(t){for(const e of t)if(e.name===n)return i.test(e.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[t]||(u[t]={}),u[t][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${e}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error(`Arguments to \`#${e}\` predicate must be a strings.".`);const o="is?"===e?l:p;o[t]||(o[t]={}),o[t][s[1].value]=s[2]?s[2].value:null;break;default:f[t].push({operator:e,operands:s.slice(1)})}s.length=0}}Object.freeze(u[t]),Object.freeze(l[t]),Object.freeze(p[t])}return Xt._free(r),new ge(te,n,a,h,f,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(t){let e;if(t instanceof Uint8Array)e=Promise.resolve(t);else{const n=t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const t=r(5530);e=Promise.resolve(t.readFileSync(n))}else e=fetch(n).then((t=>t.arrayBuffer().then((e=>{if(t.ok)return new Uint8Array(e);{const r=new TextDecoder("utf-8").decode(e);throw new Error(`Language.load failed with status ${t.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:At;return e.then((t=>n(t,{loadAsync:!0}))).then((t=>{const e=Object.keys(t),r=e.find((t=>ae.test(t)&&!t.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(e,null,2)}`);const n=t[r]();return new ye(te,n)}))}}class ge{constructor(t,e,r,n,s,i,o,a){we(t),this[0]=e,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Xt._ts_query_delete(this[0]),this[0]=0}matches(t,e,r,n){e||(e=ie),r||(r=ie),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");xe(t),Xt._ts_query_matches_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=N(le,"i32"),o=N(le+ee,"i32"),a=N(le+2*ee,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let e=0;e<i;e++){const r=N(l,"i32"),n=N(l+=ee,"i32");l+=ee;const s=new Array(n);if(l=be(this,t.tree,l,s),this.textPredicates[r].every((t=>t(s)))){c[u++]={pattern:r,captures:s};const t=this.setProperties[r];t&&(c[e].setProperties=t);const n=this.assertedProperties[r];n&&(c[e].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[e].refutedProperties=i)}}return c.length=u,Xt._free(o),c}captures(t,e,r,n){e||(e=ie),r||(r=ie),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");xe(t),Xt._ts_query_captures_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=N(le,"i32"),o=N(le+ee,"i32"),a=N(le+2*ee,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let e=0;e<i;e++){const e=N(l,"i32"),r=N(l+=ee,"i32"),n=N(l+=ee,"i32");if(l+=ee,u.length=r,l=be(this,t.tree,l,u),this.textPredicates[e].every((t=>t(u)))){const t=u[n],r=this.setProperties[e];r&&(t.setProperties=r);const s=this.assertedProperties[e];s&&(t.assertedProperties=s);const i=this.refutedProperties[e];i&&(t.refutedProperties=i),c.push(t)}}return Xt._free(o),c}predicatesForPattern(t){return this.predicates[t]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ve(t,e,r){const n=r-e;let s=t.textCallback(e,null,r);for(e+=s.length;e<r;){const n=t.textCallback(e,null,r);if(!(n&&n.length>0))break;e+=n.length,s+=n}return e>r&&(s=s.slice(0,n)),s}function be(t,e,r,n){for(let s=0,i=n.length;s<i;s++){const i=N(r,"i32"),o=Oe(e,r+=ee);r+=re,n[s]={name:t.captureNames[i],node:o}}return r}function we(t){if(t!==te)throw new Error("Illegal constructor")}function Ee(t){return t&&"number"==typeof t.row&&"number"==typeof t.column}function xe(t){let e=le;M(e,t.id,"i32"),M(e+=ee,t.startIndex,"i32"),M(e+=ee,t.startPosition.row,"i32"),M(e+=ee,t.startPosition.column,"i32"),M(e+=ee,t[0],"i32")}function Oe(t,e=le){const r=N(e,"i32");if(0===r)return null;const n=N(e+=ee,"i32"),s=N(e+=ee,"i32"),i=N(e+=ee,"i32"),o=N(e+=ee,"i32"),a=new de(te,t);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function je(t,e=le){M(e+0*ee,t[0],"i32"),M(e+1*ee,t[1],"i32"),M(e+2*ee,t[2],"i32")}function Se(t){t[0]=N(le+0*ee,"i32"),t[1]=N(le+1*ee,"i32"),t[2]=N(le+2*ee,"i32")}function Ae(t,e){M(t,e.row,"i32"),M(t+ee,e.column,"i32")}function Pe(t){return{row:N(t,"i32"),column:N(t+ee,"i32")}}function ke(t,e){Ae(t,e.startPosition),Ae(t+=ne,e.endPosition),M(t+=ne,e.startIndex,"i32"),M(t+=ee,e.endIndex,"i32"),t+=ee}function Me(t){const e={};return e.startPosition=Pe(t),t+=ne,e.endPosition=Pe(t),t+=ne,e.startIndex=N(t,"i32"),t+=ee,e.endIndex=N(t,"i32"),e}for(const t of Object.getOwnPropertyNames(he.prototype))Object.defineProperty(i.prototype,t,{value:he.prototype[t],enumerable:!1,writable:!1});i.Language=ye,n.onRuntimeInitialized=()=>{he.init(),e()}})))}}return i}();t.exports=s},5530:()=>{},6287:()=>{},6405:(t,e,r)=>{t.exports=r(5159)},9800:(t,e,r)=>{t.exports=r(8026)},4463:(t,e,r)=>{t.exports=r(1903)},5575:(t,e,r)=>{t.exports=r(902)},7829:(t,e,r)=>{t.exports=r(9256)},2876:(t,e,r)=>{t.exports=r(5659)},2903:(t,e,r)=>{t.exports=r(3698)}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n](i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&!t;)t=n[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>Xi,detectionRegExp:()=>Ji,mediaTypes:()=>Yi,namespace:()=>eo,parse:()=>to});var t={};r.r(t),r.d(t,{hasElementSourceMap:()=>hs,includesClasses:()=>ds,includesSymbols:()=>_s,isAnnotationElement:()=>cs,isArrayElement:()=>ss,isBooleanElement:()=>rs,isCommentElement:()=>us,isElement:()=>Jn,isLinkElement:()=>os,isMemberElement:()=>is,isNullElement:()=>es,isNumberElement:()=>ts,isObjectElement:()=>ns,isParseResultElement:()=>ls,isPrimitiveElement:()=>fs,isRefElement:()=>as,isSourceMapElement:()=>ps,isStringElement:()=>Xn});var e={};r.r(e),r.d(e,{isInfoElement:()=>Fi,isMainElement:()=>Ii,isPrincipleElement:()=>Ti,isRequirementElement:()=>Ci,isRequirementLevelElement:()=>Ri,isScenarioElement:()=>Di,isStandardElement:()=>qi,isStandardIdentifierElement:()=>Li});const s=function(){return!1};function i(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(t){return function e(r){return 0===arguments.length||i(r)?e:t.apply(this,arguments)}}function a(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return i(r)?e:o((function(e){return t(r,e)}));default:return i(r)&&i(n)?e:i(r)?o((function(e){return t(e,n)})):i(n)?o((function(e){return t(r,e)})):t(r,n)}}}const c=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function u(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!c(n)){for(var s=0;s<t.length;){if("function"==typeof n[t[s]])return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function l(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const p=function(){return this.xf["@@transducer/init"]()},f=function(t){return this.xf["@@transducer/result"](t)};var h=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=p,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=l(this.xf["@@transducer/step"](t,!1))),t},t}();function _(t){return function(e){return new h(t,e)}}const d=a(u(["all"],_,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function m(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function y(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}function g(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const v="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var b=Object.prototype.toString;const w=function(){return"[object Arguments]"===b.call(arguments)?function(t){return"[object Arguments]"===b.call(t)}:function(t){return g("callee",t)}}();var E=!{toString:null}.propertyIsEnumerable("toString"),x=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),j=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1};const S="function"!=typeof Object.keys||O?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],s=O&&w(t);for(e in t)!g(e,t)||s&&"length"===e||(n[n.length]=e);if(E)for(r=x.length-1;r>=0;)g(e=x[r],t)&&!j(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const A=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function P(t,e,r,n){var s=m(t);function i(t,e){return k(t,e,r.slice(),n.slice())}return!y((function(t,e){return!y(i,e,t)}),m(e),s)}function k(t,e,r,n){if(v(t,e))return!0;var s,i,o=A(t);if(o!==A(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(s=t.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!v(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!v(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size===e.size&&P(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&P(t.values(),e.values(),r.concat([t]),n.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 c=S(t);if(c.length!==S(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var p=c[a];if(!g(p,e)||!k(e[p],t[p],u,l))return!1;a-=1}return!0}const M=a((function(t,e){return k(t,e,[],[])}));function N(t,e){return function(t,e,r){var n,s;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(s=t[r])&&1/s===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(s=t[r])&&s!=s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(M(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function I(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}function F(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var T=function(t){return(t<10?"0":"")+t};const C="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+T(t.getUTCMonth()+1)+"-"+T(t.getUTCDate())+"T"+T(t.getUTCHours())+":"+T(t.getUTCMinutes())+":"+T(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function R(t,e,r){for(var n=0,s=r.length;n<s;)e=t(e,r[n]),n+=1;return e}function D(t){return"[object Object]"===Object.prototype.toString.call(t)}var q=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p,t.prototype["@@transducer/result"]=f,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function L(t){return function(e){return new q(t,e)}}const $=a(u(["fantasy-land/filter","filter"],L,(function(t,e){return D(e)?R((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},S(e)):function(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}(t,e)})));const z=a((function(t,e){return $((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function B(t,e){var r=function(r){var n=e.concat([t]);return N(r,n)?"<Circular>":B(r,n)},n=function(t,e){return I((function(e){return F(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+I(r,t).join(", ")+"))";case"[object Array]":return"["+I(r,t).concat(n(t,z((function(t){return/^\d+$/.test(t)}),S(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):F(C(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":F(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var s=t.toString();if("[object Object]"!==s)return s}return"{"+n(t,S(t)).join(", ")+"}"}}const V=o((function(t){return B(t,[])}));const G=a((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var s=r(typeof t,typeof e);if(void 0!==s)return s===typeof t?t:e;var i=V(t),o=r(i,V(e));return void 0!==o&&o===i?t:e}));var U=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p,t.prototype["@@transducer/result"]=f,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const W=function(t){return function(e){return new U(t,e)}};function Z(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function H(t,e,r){return function(){for(var n=[],s=0,o=t,a=0;a<e.length||s<arguments.length;){var c;a<e.length&&(!i(e[a])||s>=arguments.length)?c=e[a]:(c=arguments[s],s+=1),n[a]=c,i(c)||(o-=1),a+=1}return o<=0?r.apply(this,n):Z(o,H(t,n,r))}}const K=a((function(t,e){return 1===t?o(e):Z(t,H(t,[],e))}));const Q=a(u(["fantasy-land/map","map"],W,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return K(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return R((function(r,n){return r[n]=t(e[n]),r}),{},S(e));default:return I(t,e)}}))),Y=Number.isInteger||function(t){return t<<0===t};function J(t){return"[object String]"===Object.prototype.toString.call(t)}const X=a((function(t,e){var r=t<0?e.length+t:t;return J(e)?e.charAt(r):e[r]}));const tt=a((function(t,e){if(null!=e)return Y(t)?X(t,e):e[t]}));const et=a((function(t,e){return Q(tt(t),e)}));function rt(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return i(r)?e:a((function(e,n){return t(r,e,n)}));case 2:return i(r)&&i(n)?e:i(r)?a((function(e,r){return t(e,n,r)})):i(n)?a((function(e,n){return t(r,e,n)})):o((function(e){return t(r,n,e)}));default:return i(r)&&i(n)&&i(s)?e:i(r)&&i(n)?a((function(e,r){return t(e,r,s)})):i(r)&&i(s)?a((function(e,r){return t(e,n,r)})):i(n)&&i(s)?a((function(e,n){return t(r,e,n)})):i(r)?o((function(e){return t(e,n,s)})):i(n)?o((function(e){return t(r,e,s)})):i(s)?o((function(e){return t(r,n,e)})):t(r,n,s)}}}const nt=o((function(t){return!!c(t)||!!t&&("object"==typeof t&&(!J(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var st="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function it(t,e,r){return function(n,s,i){if(nt(i))return t(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[st])return r(n,s,i[st]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ot(t,e,r){for(var n=0,s=r.length;n<s;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const at=a((function(t,e){return Z(t.length,(function(){return t.apply(e,arguments)}))}));function ct(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function ut(t,e,r,n){return t["@@transducer/result"](r[n](at(t["@@transducer/step"],t),e))}const lt=it(ot,ut,ct);var pt=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function ft(t){return new pt(t)}const ht=rt((function(t,e,r){return lt("function"==typeof t?ft(t):t,e,r)}));const _t=o((function(t){return function(){return t}}));const dt=o((function(t){return K(ht(G,0,et("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function mt(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}function yt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function gt(t,e,r,n){return r[n](t,e)}const vt=it(R,gt,yt);const bt=a((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:vt((function(t,r){return mt(t,Q(r,e))}),[],t)}));const wt=a((function(t,e){return t.apply(this,e)}));function Et(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const xt=a((function(t,e){return t&&e}));const Ot=a((function(t,e){var r=K(t,e);return K(t,(function(){return R(bt,Q(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const jt=o((function(t){return Ot(t.length,t)}));const St=a((function(t,e){return Et(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:jt(xt)(t,e)}));const At=jt(o((function(t){return!t})));function Pt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function kt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return c(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Mt=rt(kt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const Nt=o(kt("tail",Mt(1,1/0)));function It(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Z(arguments[0].length,ht(Pt,arguments[0],Nt(arguments)))}const Ft=o((function(t){return J(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Tt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return It.apply(this,Ft(arguments))}const Ct=a((function(t,e){if(c(t)){if(c(e))return t.concat(e);throw new TypeError(V(e)+" is not an array")}if(J(t)){if(J(e))return t+e;throw new TypeError(V(e)+" is not a string")}if(null!=t&&Et(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&Et(t.concat))return t.concat(e);throw new TypeError(V(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Rt=a((function(t,e){return K(ht(G,0,et("length",e)),(function(){var r=arguments,n=this;return t.apply(n,I((function(t){return t.apply(n,r)}),e))}))}));const Dt=o((function(t){return K(t.length,t)}));const qt=a((function(t,e){return null==e||e!=e?t:e}));const Lt=X(-1);var $t=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=p,t.prototype["@@transducer/result"]=f,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function zt(t){return function(e){return new $t(t,e)}}const Bt=a(u(["dropWhile"],zt,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return Mt(r,1/0,e)})));var Vt=o((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():c(t)?[]:J(t)?"":D(t)?{}:w(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const Gt=Vt;const Ut=o((function(t){return K(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const Wt=a((function(t,e){return t>e}));const Zt=o((function(t){return null==t}));const Ht=a((function(t,e){if(0===t.length||Zt(e))return!1;for(var r=e,n=0;n<t.length;){if(Zt(r)||!g(t[n],r))return!1;r=r[t[n]],n+=1}return!0}));const Kt=a((function(t,e){return Ht([t],e)}));const Qt=X(0);var Yt=function(t,e){switch(arguments.length){case 0:return Yt;case 1:return function e(r){return 0===arguments.length?e:v(t,r)};default:return v(t,e)}};const Jt=Yt;function Xt(t){return t}const te=o(Xt);const ee=a(N);const re=Mt(0,-1);const ne="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var i in s)g(i,s)&&(e[i]=s[i]);r+=1}return e};const se=a((function(t,e){return K(t+1,(function(){var r=arguments[t];if(null!=r&&Et(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(V(r)+' does not have a method named "'+e+'"')}))}));const ie=o((function(t){return null!=t&&M(t,Gt(t))}));const oe=se(1,"join");const ae=a((function(t,e){return t.map((function(t){for(var r,n=e,s=0;s<t.length;){if(null==n)return;r=t[s],n=Y(r)?X(r,n):n[r],s+=1}return n}))}));const ce=a((function(t,e){return ae([t],e)[0]}));const ue=a((function(t,e){return R((function(r,n){return r[n]=t(e[n],n,e),r}),{},S(e))}));const le=a((function(t,e){return ne({},t,e)}));const pe=a((function(t,e){for(var r={},n={},s=0,i=t.length;s<i;)n[t[s]]=1,s+=1;for(var o in e)n.hasOwnProperty(o)||(r[o]=e[o]);return r}));const fe=rt((function(t,e,r){return qt(t,ce(e,r))}));const he=rt((function(t,e,r){return t(ce(e,r))}));const _e=a((function(t,e){for(var r={},n=0;n<t.length;)t[n]in e&&(r[t[n]]=e[t[n]]),n+=1;return r}));const de=rt((function(t,e,r){return qt(t,tt(e,r))}));const me=rt((function(t,e,r){return t(tt(e,r))}));const ye=rt((function(t,e,r){return r.replace(t,e)}));const ge=se(1,"split");const ve=K(4,(function(t,e,r,n){return lt(t("function"==typeof e?ft(e):e),r,n)}));var be="\t\n\v\f\r \u2028\u2029\ufeff";const we=o("function"==typeof String.prototype.trim&&!be.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+be+"]["+be+"]*"),r=new RegExp("["+be+"]["+be+"]*$");return t.replace(e,"").replace(r,"")});const Ee=_t(void 0);const xe=M(Ee());const Oe=At(xe);var je=r(7952);const Se=M(null);var Ae=At(Se);function Pe(t){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(t)}const ke=K(1,St(Ae,(function(t){return"object"===Pe(t)})));const Me=K(1,It(A,Jt("GeneratorFunction")));const Ne=K(1,It(A,Jt("AsyncFunction")));const Ie=dt([It(A,Jt("Function")),Me,Ne]);var Fe=It(A,Jt("Object")),Te=It(V,M(V(Object))),Ce=he(St(Ie,Te),["constructor"]);const Re=K(1,(function(t){if(!ke(t)||!Fe(t))return!1;var e=Object.getPrototypeOf(t);return!!Se(e)||Ce(e)}));class De extends je.RP{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const qe=De;class Le extends je.RP{constructor(t,e,r){super(t,e,r),this.element="comment"}}const $e=Le;class ze extends je.ON{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(xe(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const Be=ze;class Ve extends je.ON{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(null===t)return;const e=new je.ON([t.start.row,t.start.column,t.start.char]),r=new je.ON([t.end.row,t.end.column,t.end.char]);e.classes.push("position"),r.classes.push("position"),this.push(e).push(r)}}const Ge=Ve;class Ue extends je.lS{constructor(){super(),this.register("annotation",qe),this.register("comment",$e),this.register("parseResult",Be),this.register("sourceMap",Ge)}}const We=new Ue,Ze=t=>{const e=new Ue;return Re(t)&&e.use(t),e},He=We;const Ke=K(1,It(A,Jt("String"))),Qe=r.p+"fba0b3cc0d7ee926ea482deee298a5fe.wasm",Ye=globalThis.fetch;Ie(Ye)&&(globalThis.fetch=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ke(e[0])&&e[0].endsWith("tree-sitter.wasm")?Ye.apply(globalThis,[Qe,Nt(e)]):Ye.apply(globalThis,e)});var Je=r(9794);const Xe=r.p+"d396281e11774e0afa7a40d620779b6d.wasm";let tr=null,er=null;const rr=async t=>{if(null===tr&&null===er)er=Je.init().then((()=>Je.Language.load(Xe))).then((t=>{const e=new Je;return e.setLanguage(t),e})).finally((()=>{er=null})),tr=await er;else if(null===tr&&null!==er)tr=await er;else if(null===tr)throw new Error("Error while initializing web-tree-sitter");return tr.parse(t)};var nr=r(6591);const sr=nr({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:n={}}=arguments.length>1?arguments[1]:void 0;this.type=n.type,this.isMissing=r,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}}});let ir=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const or=nr(sr,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}});const ar=M("");const cr=K(1,It(A,Jt("Number")));var ur=St(cr,isFinite);var lr=K(1,ur);const pr=Ie(Number.isFinite)?K(1,at(Number.isFinite,Number)):lr;var fr=St(pr,Rt(M,[Math.floor,te]));var hr=K(1,fr);const _r=Ie(Number.isInteger)?K(1,at(Number.isInteger,Number)):hr;const dr=At(pr);const mr=K(1,St(cr,Wt(0)));const yr=function(t,e){var r=Number(e);if(r!==e&&(r=0),mr(r))throw new RangeError("repeat count must be non-negative");if(dr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=t;r;)s+=t,r-=1;return s+=s.substring(0,n-s.length)};var gr=Dt(yr),vr=Ut(se(1,"repeat"));const br=Ie(String.prototype.repeat)?vr:gr;var wr=ye(/[\s\uFEFF\xA0]+$/,""),Er=se(0,"trimEnd");const xr=Ie(String.prototype.trimEnd)?Er:wr;var Or=ye(/^[\s\uFEFF\xA0]+/,""),jr=se(0,"trimStart");const Sr=Ie(String.prototype.trimStart)?jr:Or;const Ar=Ut(ee);const Pr=Dt((function(t,e){return It(ge(""),Bt(Ar(t)),oe(""))(e)}));const kr=Ut(Ct);var Mr=r(2770);const Nr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Ir=t=>{const e=(t=>{const e=t.match(Nr),r=fe("",["groups","indentation"],e);return ar(r)?void 0:parseInt(r,10)})(t);if(_r(e))return br(" ",e);const r=fe("",[1],t.split("\n")),n=fe(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return br(" ",n)},Fr=t=>{const e=t.match(Nr),r=fe("",["groups","chomping"],e);return ar(r)?void 0:r},Tr=(t,e)=>xe(t)?`${xr(e)}\n`:"-"===t?xr(e):e,Cr=t=>t.replace(/\r\n/g,"\n"),Rr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Dr=Dt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),qr=It(Cr,we,Rr,ge("\n"),Q(Sr),oe("\n")),Lr=It(Cr,we,Dr("'"),Rr,ge("\n"),Q(Sr),oe("\n")),$r=It(Cr,we,Dr('"'),(t=>t.replace(/\\\n\s*/g,"")),Rr,Mr.S6,ge("\n"),Q(Sr),oe("\n"));let zr=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),Br=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Vr=nr({props:{styleGroup:null,style:null}}),Gr=nr({methods:{test:t=>t.tag.kind===ir.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===zr.Plain?e=qr(t.content):t.style===zr.SingleQuoted?e=Lr(t.content):t.style===zr.DoubleQuoted?e=$r(t.content):t.style===zr.Literal?e=(t=>{const e=Ir(t),r=Fr(t),n=Cr(t),s=Nt(n.split("\n")),i=Tt(Q(Pr(e)),Q(kr("\n"))),o=ve(i,Ct,"",s);return Tr(r,o)})(t.content):t.style===zr.Folded&&(e=(t=>{const e=Ir(t),r=Fr(t),n=Cr(t),s=Nt(n.split("\n")),i=Tt(Q(Pr(e)),Q(kr("\n"))),o=ve(i,Ct,"",s),a=Rr(o);return Tr(r,a)})(t.content)),r.content=e,r},resolve:t=>t}}),Ur=nr(Gr,{props:{tag:""}}),Wr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===ir.Mapping,resolve:t=>t}}),Zr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===ir.Sequence,resolve:t=>t}}),Hr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{resolve:t=>t}}),Kr=nr({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Wr()),this.registerTag(Zr()),this.registerTag(Hr())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===ir.Scalar?e=Hr.uri:t.tag.kind===ir.Sequence?e=Zr.uri:t.tag.kind===ir.Mapping&&(e=Wr.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e},registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})},registerTag(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(t):this.tags.push(t),this},overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this},resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;t.tag.kind===ir.Scalar&&(r=Gr().canonicalFormat(t));const n=this.tags.find((t=>(null==t?void 0:t.tag)===e));if(void 0===n)throw new Error(`Tag "${e}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${e}"`);return n.resolve(r)}}}),Qr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}}}),Yr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}}}),Jr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}}}),Xr=nr(Ur,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),tn=nr(Kr,{init(){this.registerTag(Qr(),!0),this.registerTag(Yr(),!0),this.registerTag(Jr(),!0),this.registerTag(Xr(),!0)},methods:{toSpecificTagName(t){let e=Kr.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===ir.Sequence)e=Zr.uri;else if(t.tag.kind===ir.Mapping)e=Wr.uri;else if(t.tag.kind===ir.Scalar){const r=this.tags.find((e=>e.test(t)));e=(null==r?void 0:r.tag)||"?"}return e}}}),en=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},rn={},nn=t=>null==t?void 0:t.type,sn=t=>"string"==typeof nn(t),on=function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=en,nodeTypeGetter:c=nn,nodePredicate:u=sn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}if(v.includes(w))continue;let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};on[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=en,nodeTypeGetter:c=nn,nodePredicate:u=sn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=await i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};const an=nr({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=r}}),cn=nr({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),un=nr(sr,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}}),ln=nr(sr,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:r=null,styleGroup:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}}),pn=nr(ln,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),fn=nr(sr,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),hn=(t,e)=>(null==e?void 0:e.type)===t,_n=(hn.bind(void 0,"literal"),hn.bind(void 0,"position"),hn.bind(void 0,"point"),hn.bind(void 0,"parseResult"),hn.bind(void 0,"stream"),hn.bind(void 0,"document")),dn=hn.bind(void 0,"mapping"),mn=hn.bind(void 0,"sequence"),yn=hn.bind(void 0,"keyValuePair"),gn=(hn.bind(void 0,"tag"),hn.bind(void 0,"scalar")),vn=hn.bind(void 0,"alias"),bn=(hn.bind(void 0,"directive"),hn.bind(void 0,"comment")),wn=nr(sr,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>_n(t)||bn(t))):[]},enumerable:!0}}}),En=nr(sr,{statics:{type:"parseResult"},methods:{get rootNode(){return Qt(this.children)}}}),xn=nr(sr,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=le({version:null,handle:null,prefix:null},e)}}),On=nr(sr,{statics:{type:"document"}}),jn=nr(ln,{}),Sn=nr(jn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(yn):[]},enumerable:!0}}}),An=nr(sr,Vr,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>gn(t)||dn(t)||mn(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>gn(t)||dn(t)||mn(t)||vn(t))(e)))[0]},enumerable:!0}}}),Pn=nr(jn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>mn(t)||dn(t)||gn(t)||vn(t))):[]},enumerable:!0}}}),kn=nr(sr,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Mn=nr(sr,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),Nn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},In=t=>Array.isArray(t)||sn(t),Fn=nr({props:{schema:null},init(){const t=t=>{if(null===t)return null;const e=an({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),r=an({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return cn({start:e,end:r})},e=e=>{var r;let{previousSibling:n}=e;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===e.type?"?":"!",i=e.type.endsWith("mapping")?ir.Mapping:e.type.endsWith("sequence")?ir.Sequence:ir.Scalar,o=t(n);return or({explicitName:s,kind:i,position:o})},r=e=>{let{previousSibling:r}=e;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:un({name:r.text,position:t(r)})},n=t=>e=>"string"==typeof(null==e?void 0:e.type)&&e.type.endsWith(t),s=n("scalar"),i=n("mapping"),o=n("sequence"),a=(t,e)=>{var r;return`${t}Node`in e?e[`${t}Node`]:"childForFieldName"in e?null===(r=e.childForFieldName)||void 0===r?void 0:r.call(e,t):null},c=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("key",t)},u=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("value",t)},l=e=>{const r=an({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=a("key",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=or(void 0!==o?{explicitName:o.text,kind:ir.Scalar,position:t(o)}:{explicitName:"?",kind:ir.Scalar}),l=void 0!==c?un({name:c.text,position:t(c)}):null;return pn({content:"",position:cn({start:r,end:r}),tag:u,anchor:l,styleGroup:Br.Flow,style:zr.Plain})},p=e=>{const r=an({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex}),s=a("value",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=or(void 0!==o?{explicitName:o.text,kind:ir.Scalar,position:t(o)}:{explicitName:"?",kind:ir.Scalar}),l=void 0!==c?un({name:c.text,position:t(c)}):null;return pn({content:"",position:cn({start:r,end:r}),tag:u,anchor:l,styleGroup:Br.Flow,style:zr.Plain})};this.enter=function(e){if("function"==typeof e.isNamed&&!e.isNamed()||!1===e.isNamed){const r=t(e),n=e.type||e.text,s=e.isMissing();return fn({value:n,position:r,isMissing:s})}},this.stream={enter(e){const r=t(e);return wn({children:e.children,position:r,isMissing:e.isMissing()})},leave:t=>En({children:[t]})},this.yaml_directive={enter(e){var r;const n=t(e),s=(null==e||null===(r=e.firstNamedChild)||void 0===r?void 0:r.text)||null;return xn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=xn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(i),i}},this.reserved_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=e.child(2);return xn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==i?void 0:i.text)||null}})}},this.document={enter(e){const r=t(e);return On({children:e.children,position:r,isMissing:e.isMissing()})},leave(t){t.children=t.children.flat()}},this.block_node={enter:t=>t.children},this.flow_node={enter(t){const[n]=t.children.slice(-1);if(s(n)||i(n)||o(n))return t.children;const a=an({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=pn({content:"",anchor:r(n),tag:e(n),position:cn({start:a,end:a}),styleGroup:Br.Flow,style:zr.Plain});return[...t.children,c]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=Sn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Br.Block,style:zr.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return An({children:n,position:r,styleGroup:Br.Block,isMissing:e.isMissing()})}},this.flow_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=Sn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Br.Flow,style:zr.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return An({children:n,position:r,styleGroup:Br.Flow,isMissing:e.isMissing()})}},this.keyValuePair={leave(t){t.children=t.children.flat()}},this.block_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=Pn({children:n.children,position:s,anchor:o,tag:i,styleGroup:Br.Block,style:zr.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(t){if(t.children.length>1)return t.children;const e=an({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return[pn({content:"",anchor:null,tag:or({explicitName:"?",kind:ir.Scalar}),position:cn({start:e,end:e}),styleGroup:Br.Flow,style:zr.Plain})]}},this.flow_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=Pn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:Br.Flow,style:zr.Explicit});return this.schema.resolve(a)}},this.sequence={leave(t){t.children=t.children.flat(1/0)}},this.plain_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Br.Flow,style:zr.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Br.Flow,style:zr.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Br.Flow,style:zr.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=n.text.startsWith("|")?zr.Literal:n.text.startsWith(">")?zr.Folded:null,c=pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:Br.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:t=>kn({content:t.text})},this.ERROR=function(e,r,n,s){const i=t(e),o=Mn({children:e.children,position:i,isUnexpected:!e.hasError(),isMissing:e.isMissing(),value:e.text});return 0===s.length?En({children:[o]}):o}}}),Tn=Fn;var Cn=r(9800),Rn=r(7829),Dn=r(2876);function qn(t){return qn="function"==typeof Rn&&"symbol"==typeof Dn?function(t){return typeof t}:function(t){return t&&"function"==typeof Rn&&t.constructor===Rn&&t!==Rn.prototype?"symbol":typeof t},qn(t)}var Ln=r(2903);function $n(t){var e=function(t,e){if("object"!==qn(t)||null===t)return t;var r=t[Ln];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==qn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qn(e)?e:String(e)}function zn(t,e,r){return(e=$n(e))in t?Cn(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bn=r(4463),Vn=r(6405),Gn=r(5575);function Un(t,e){if(null==t)return{};var r,n,s=function(t,e){if(null==t)return{};var r,n,s={},i=Gn(t);for(n=0;n<i.length;n++)r=i[n],Vn(e).call(e,r)>=0||(s[r]=t[r]);return s}(t,e);if(Bn){var i=Bn(t);for(n=0;n<i.length;n++)r=i[n],Vn(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}const Wn=(t,e)=>"function"==typeof(null==e?void 0:e[t]),Zn=t=>null!=t&&Object.prototype.hasOwnProperty.call(t,"_storedElement")&&Object.prototype.hasOwnProperty.call(t,"_content"),Hn=(t,e)=>{var r;return(null==e||null===(r=e.primitive)||void 0===r?void 0:r.call(e))===t},Kn=(t,e)=>{var r,n;return(null==e||null===(r=e.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,t))||!1},Qn=(t,e)=>(null==e?void 0:e.element)===t,Yn=t=>t({hasMethod:Wn,hasBasicElementProps:Zn,primitiveEq:Hn,isElementType:Qn,hasClass:Kn}),Jn=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof je.W_||e(t)&&r(void 0,t)})),Xn=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof je.RP||e(t)&&r("string",t)})),ts=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof je.VL||e(t)&&r("number",t)})),es=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof je.zr||e(t)&&r("null",t)})),rs=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof je.hh||e(t)&&r("boolean",t)})),ns=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof je.Sb||e(t)&&r("object",t)&&n("keys",t)&&n("values",t)&&n("items",t)})),ss=Yn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof je.ON&&!(t instanceof je.Sb)||e(t)&&r("array",t)&&n("push",t)&&n("unshift",t)&&n("map",t)&&n("reduce",t)})),is=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof je.c6||e(t)&&r("member",t)&&n(void 0,t)})),os=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof je.EA||e(t)&&r("link",t)&&n(void 0,t)})),as=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof je.tK||e(t)&&r("ref",t)&&n(void 0,t)})),cs=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof qe||e(t)&&r("annotation",t)&&n("array",t)})),us=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof $e||e(t)&&r("comment",t)&&n("string",t)})),ls=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Be||e(t)&&r("parseResult",t)&&n("array",t)})),ps=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ge||e(t)&&r("sourceMap",t)&&n("array",t)})),fs=t=>Qn("object",t)||Qn("array",t)||Qn("boolean",t)||Qn("number",t)||Qn("string",t)||Qn("null",t)||Qn("member",t),hs=t=>{var e,r;return ps(null==t||null===(e=t.meta)||void 0===e||null===(r=e.get)||void 0===r?void 0:r.call(e,"sourceMap"))},_s=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!ss(r)&&d(Ar(r.toValue()),t)},ds=(t,e)=>0===t.length||d(Ar(e.classes.toValue()),t),ms=["keyMap"],ys=["keyMap"];function gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gs(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const bs=t=>ns(t)?"ObjectElement":ss(t)?"ArrayElement":is(t)?"MemberElement":Xn(t)?"StringElement":rs(t)?"BooleanElement":ts(t)?"NumberElement":es(t)?"NullElement":os(t)?"LinkElement":as(t)?"RefElement":void 0,ws=It(bs,Ke),Es={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},xs=(nr({props:{result:[],predicate:s,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:t=this.predicate,returnOnTrue:e=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=t,this.returnOnTrue=e,this.returnOnFalse=r},methods:{enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}}),function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=Es}=r,s=Un(r,ms);return on(t,e,vs({keyMap:n,nodeTypeGetter:bs,nodePredicate:ws},s))});xs[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=Es}=r,s=Un(r,ys);return on[Symbol.for("nodejs.util.promisify.custom")](t,e,vs({keyMap:n,nodeTypeGetter:bs,nodePredicate:ws},s))};const Os=At(Ie);const js=St(K(1,Ie(Array.isArray)?Array.isArray:It(A,Jt("Array"))),ie);const Ss=K(3,(function(t,e,r){var n=ce(t,r),s=ce(re(t),r);if(!Os(n)&&!js(t)){var i=at(n,s);return wt(i,e)}}));function As(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const Ps=()=>({predicates:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?As(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):As(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t),namespace:He}),ks=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===e.length)return t;const n=de(Ps,"toolboxCreator",r),s=de({},"visitorOptions",r),i=de(bs,"nodeTypeGetter",s),o=n(),a=e.map((t=>t(o))),c=function(t){let{visitFnGetter:e=en,nodeTypeGetter:r=nn}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Array(t.length);return{enter(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!1);if("function"==typeof a){const e=a.call(t[i],s,...o);if(!1===e)n[i]=s;else if(e===rn)n[i]=rn;else if(void 0!==e)return e}}},leave(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!0);if("function"==typeof a){const e=a.call(t[i],s,...o);if(e===rn)n[i]=rn;else if(void 0!==e&&!1!==e)return e}}else n[i]===s&&(n[i]=null)}}}(a.map(de({},"visitor")),{nodeTypeGetter:i});a.forEach(Ss(["pre"],[]));const u=xs(t,c,s);return a.forEach(Ss(["post"],[])),u};function Ms(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ns(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ms(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Is=(t,e)=>{let{Type:r,plugins:n=[]}=e;const s=new r(t);return ks(s,n,{toolboxCreator:Ps,visitorOptions:{nodeTypeGetter:bs}})},Fs=t=>function(e){return Is(e,Ns(Ns({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:t}))};function Ts(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}je.Sb.refract=Fs(je.Sb),je.ON.refract=Fs(je.ON),je.RP.refract=Fs(je.RP),je.hh.refract=Fs(je.hh),je.zr.refract=Fs(je.zr),je.VL.refract=Fs(je.VL),je.EA.refract=Fs(je.EA),je.tK.refract=Fs(je.tK),qe.refract=Fs(qe),$e.refract=Fs($e),Be.refract=Fs(Be),Ge.refract=Fs(Ge);const Cs=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ts(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},Es),Rs=t=>Jn(t)?bs(t):nn(t),Ds=t=>Jn(t)||sn(t)||Array.isArray(t),qs=nr({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const t=(t,e)=>{if(!this.sourceMap)return;const r=new Ge;r.position=t.position,r.astNode=t,e.meta.set("sourceMap",r)};this.namespace=Ze(),this.annotations=[],this.stream={leave(t){const e=new Be;e._content=t.children.flat(1);const r=e.findElements(fs);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((t=>{e.push(t)})),this.annotations=[],e}},this.comment=function(e){if(0===this.processedDocumentCount){const r=new $e(e.content);return t(e,r),r}return null},this.document=function(e){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new qe("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),t(e,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,e.children)},this.mapping=function(e){const r=new je.Sb;return r._content=e.children,t(e,r),r},this.keyValuePair=function(e){const r=new je.c6;return r.content.key=e.key,r.content.value=e.value,t(e,r),e.children.filter((t=>"error"===t.type)).forEach((t=>{this.error(t,e,[],[e])})),r},this.sequence=function(e){const r=new je.ON;return r._content=e.children,t(e,r),r},this.scalar=function(e){const r=this.namespace.toElement(e.content);return""===e.content&&e.style===zr.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),t(e,r),r},this.literal=function(e){if(e.isMissing){const r=`(Missing ${e.value})`,n=new qe(r);n.classes.push("warning"),t(e,n),this.annotations.push(n)}return null},this.error=function(e,r,n,s){const i=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,o=new qe(i);if(o.classes.push("error"),t(e,o),0===s.length){const t=new Be;return t.push(o),t}return this.annotations.push(o),null}}}),Ls=function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=Tn(),n=qs(),s=tn(),i=on(t.rootNode,r,{keyMap:Nn,nodePredicate:In,state:{schema:s,sourceMap:e}});return on(i.rootNode,n,{keyMap:Cs,nodeTypeGetter:Rs,nodePredicate:Ds,state:{sourceMap:e}})},$s=(t,e)=>{const r=qt(t,e);return ue((t=>{if(Re(t)&&Kt("$ref",t)&&me(Ke,"$ref",t)){const e=ce(["$ref"],t),n=Pr("#/",e);return ce(n.split("/"),r)}return Re(t)?$s(t,r):t}),t)},zs=nr({props:{element:null},methods:{copyMetaAndAttributes(t,e){hs(t)&&e.meta.set("sourceMap",t.meta.get("sourceMap"))}}}),Bs=nr(zs,{methods:{enter(t){return this.element=t.clone(),rn}}});function Vs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const Gs=t=>{if(Jn(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Us=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vs(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[]},Es);function Ws(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ws(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ws(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Hs=nr(zs,{props:{specObj:null},init(t){let{specObj:e=this.specObj}=t;this.specObj=e},methods:{retrievePassingOptions(){return _e(["namespace","specObj"],this)},retrieveFixedFields(t){return It(ce(["visitors",...t,"fixedFields"]),S)(this.specObj)},retrieveVisitor(t){return he(Ie,["visitors",...t],this.specObj)?ce(["visitors",...t],this.specObj):ce(["visitors",...t,"$visitor"],this.specObj)},retrieveVisitorInstance(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(t)(Zs(Zs({},r),e))},toRefractedElement(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(t,r),s=Object.getPrototypeOf(n);return xe(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?e.clone():(xs(e,n,Zs(Zs({keyMap:Us},r),{},{nodeTypeGetter:Gs})),n.element)}}});class Ks extends je.RP{constructor(t,e,r){super(t,e,r),this.element="requirementLevel"}}const Qs=Ks,Ys=nr(Hs,Bs,{methods:{StringElement(t){const e=new Qs(t.toValue());return this.copyMetaAndAttributes(t,e),this.element=e,rn}}});class Js extends je.ON{constructor(t,e,r){super(t,e,r),this.element="standardIdentifier"}}const Xs=Js,ti=nr(Hs,Bs,{init(){this.element=new Xs},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","StandardIdentifier"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),rn}}});class ei extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(t){this.set("subject",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}get values(){return this.get("values")}set values(t){this.set("values",t)}get follows(){return this.get("follows")}set follows(t){this.set("follows",t)}}const ri=ei;const ni=nr(Hs,{props:{specPath:_t(Ee()),ignoredFields:[]},init(){let{specPath:t=this.specPath,ignoredFields:e=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=t,this.ignoredFields=e},methods:{ObjectElement(t){const e=this.specPath(t),r=this.retrieveFixedFields(e);return t.forEach(((t,n,s)=>{if(Xn(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...e,"fixedFields",n.toValue()],t),i=new je.c6(n.clone(),r);i.classes.push("fixed-field"),this.copyMetaAndAttributes(s,i),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(t,this.element),rn}}}),si=nr(ni,Bs,{props:{specPath:_t(["document","objects","Requirement"])},init(){this.element=new ri}}),ii=Bs,oi=Bs;class ai extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="scenario"}get description(){return this.get("description")}set description(t){this.set("description",t)}get when(){return this.get("when")}set when(t){this.set("when",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}}const ci=ai,ui=nr(ni,Bs,{props:{specPath:_t(["document","objects","Scenario"])},init(){this.element=new ci}}),li=Bs,pi=nr(Hs,Bs,{init(){this.element=new je.ON,this.element.classes.push("scenario-then")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Requirement"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),rn}}});class fi extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="standard"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const hi=fi,_i=nr(ni,Bs,{props:{specPath:_t(["document","objects","Standard"])},init(){this.element=new hi}}),di=Bs,mi=Bs,yi=Bs;class gi extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="principle"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const vi=gi,bi=nr(ni,Bs,{props:{specPath:_t(["document","objects","Principle"])},init(){this.element=new vi}}),wi=Bs,Ei=Bs,xi=Bs;class Oi extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="info"}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const ji=Oi,Si=nr(ni,Bs,{props:{specPath:_t(["document","objects","Info"])},init(){this.element=new ji}}),Ai=Bs,Pi=Bs;class ki extends je.Sb{constructor(t,e,r){super(t,e,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(t){this.set("version",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get principles(){return this.get("principles")}set principles(t){this.set("principles",t)}get standards(){return this.get("standards")}set standards(t){this.set("standards",t)}get scenarios(){return this.get("scenarios")}set scenarios(t){this.set("scenarios",t)}}const Mi=ki,Ni={visitors:{value:Bs,document:{objects:{Main:{$visitor:nr(ni,Bs,{props:{specPath:_t(["document","objects","Main"])},init(){this.element=new Mi}}),fixedFields:{version:Bs,info:{$ref:"#/visitors/document/objects/Info"},principles:nr(Hs,Bs,{init(){this.element=new je.ON,this.element.classes.push("main-principles")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Principle"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),rn}}}),standards:nr(Hs,Bs,{init(){this.element=new je.ON,this.element.classes.push("main-standards")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Standard"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),rn}}}),scenarios:nr(Hs,Bs,{init(){this.element=new je.ON,this.element.classes.push("main-scenarios")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Scenario"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),rn}}})}},Info:{$visitor:Si,fixedFields:{title:Ai,description:Pi}},Principle:{$visitor:bi,fixedFields:{name:wi,description:Ei,iri:xi,level:{$ref:"#/visitors/document/objects/RequirementLevel"}}},Standard:{$visitor:_i,fixedFields:{name:di,description:mi,level:{$ref:"#/visitors/document/objects/RequirementLevel"},iri:yi}},Scenario:{$visitor:ui,fixedFields:{description:li,when:{$ref:"#/visitors/document/objects/StandardIdentifier"},then:pi}},Requirement:{$visitor:si,fixedFields:{subject:{$ref:"#/visitors/document/objects/StandardIdentifier"},level:{$ref:"#/visitors/document/objects/RequirementLevel"},values:ii,follows:oi}},StandardIdentifier:ti,RequirementLevel:Ys}}}},Ii=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Mi||e(t)&&r("main",t)&&n("object",t)})),Fi=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof ji||e(t)&&r("info",t)&&n("object",t)})),Ti=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof vi||e(t)&&r("principle",t)&&n("object",t)})),Ci=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof ri||e(t)&&r("requirement",t)&&n("object",t)})),Ri=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Qs||e(t)&&r("requirementLevel",t)&&n("string",t)})),Di=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof ci||e(t)&&r("scenario",t)&&n("object",t)})),qi=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof hi||e(t)&&r("standard",t)&&n("object",t)})),Li=Yn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Xs||e(t)&&r("standardIdentifier",t)&&n("array",t)})),$i={namespace:t=>{const{base:e}=t;return e.register("info",ji),e.register("main",Mi),e.register("principle",vi),e.register("requirement",ri),e.register("requirementLevel",Qs),e.register("scenario",ci),e.register("standard",hi),e.register("standardIdentifier",Xs),e}};function zi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zi(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Vi=()=>{const t=Ze($i);return{predicates:Bi(Bi({},e),{},{isStringElement:Xn}),namespace:t}};function Gi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ui(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gi(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Wi=function(t){let{specPath:e=["visitors","document","objects","Main","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,je.Qc)(t),s=$s(Ni),i=Ss(e,[],s);return xs(n,i,{state:{specObj:s}}),ks(i.element,r,{toolboxCreator:Vi,visitorOptions:{keyMap:Us,nodeTypeGetter:Gs}})},Zi=t=>function(e){return Wi(e,Ui(Ui({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:t}))};Mi.refract=Zi(["visitors","document","objects","Main","$visitor"]),ji.refract=Zi(["visitors","document","objects","Info","$visitor"]),vi.refract=Zi(["visitors","document","objects","Principle","$visitor"]),ri.refract=Zi(["visitors","document","objects","Requirement","$visitor"]),Qs.refract=Zi(["visitors","document","objects","RequirementLevel","$visitor"]),ci.refract=Zi(["visitors","document","objects","Scenario","$visitor"]),hi.refract=Zi(["visitors","document","objects","Standards","$visitor"]),Xs.refract=Zi(["visitors","document","objects","StandardIdentifier","$visitor"]);const Hi=class extends Array{constructor(){super(...arguments),zn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Ki extends Hi{filterByFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const e="generic"===t?"apidesignsystems;version":t;return this.filter((t=>t.includes(e)))}findBy(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2021-05-07",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const r="generic"===e?`apidesignsystems;version=${t}`:`apidesignsystems+${e};version=${t}`;return this.find((t=>t.includes(r)))||this.unknownMediaType}latest(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return Lt(this.filterByFormat(t))}}const Qi=new Ki("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07"),Yi=new Ki(...Qi.filterByFormat("generic"),...Qi.filterByFormat("yaml")),Ji=/(?<YAML>^(["']?)version\2\s*:\s*(["']?)(?<version_yaml>2021-05-07)\3)|(?<JSON>"version"\s*:\s*"(?<version_json>2021-05-07)")/m,Xi=async t=>Ji.test(t)&&await(async t=>{try{return"ERROR"!==(await rr(t)).rootNode.type}catch{return!1}})(t),to=async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=de({},"refractorOpts",e),n=pe(["refractorOpts"],e),s=await async function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await rr(t);return Ls(r,{sourceMap:e})}(t,n),{result:i}=s;if(Oe(i)){const t=Mi.refract(i,r);t.classes.push("result"),s.replaceResult(t)}return s},eo=Ze($i)})(),n})()));
|