From d30fbd5c50af367f52238cc151632e63e77145e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Sep 2024 02:03:14 +0000 Subject: [PATCH] deploy: 1fddb29d1968efb2be369309af832f2365c38a53 --- 404.html | 2 +- assets/js/common.3693924e.js | 8 ++++++++ ...497e.js.LICENSE.txt => common.3693924e.js.LICENSE.txt} | 0 assets/js/common.d9e6497e.js | 8 -------- ...{runtime~main.d7791420.js => runtime~main.d3964bd7.js} | 2 +- docs/category/prototype-sketches/index.html | 2 +- docs/implementation-guides/index.html | 2 +- .../dereference-logic/generating-regions/index.html | 2 +- .../pointers/dereference-logic/index.html | 2 +- .../dereference-logic/making-regions-concrete/index.html | 2 +- .../pointers/evaluating-expressions/index.html | 2 +- docs/implementation-guides/pointers/index.html | 2 +- .../pointers/reading-from-regions/index.html | 2 +- .../pointers/testing/blockchain-simulation/index.html | 2 +- .../pointers/testing/compilation/index.html | 2 +- .../pointers/testing/deployment/index.html | 2 +- .../pointers/testing/example-pointers/index.html | 2 +- docs/implementation-guides/pointers/testing/index.html | 2 +- .../pointers/testing/jest/index.html | 2 +- .../pointers/testing/machine-observation/index.html | 2 +- .../pointers/testing/test-cases/index.html | 2 +- .../pointers/testing/test-cases/string-storage/index.html | 2 +- .../pointers/testing/test-cases/struct-storage/index.html | 2 +- .../testing/test-cases/uint256-array-memory/index.html | 2 +- .../pointers/types/cursors/index.html | 2 +- .../pointers/types/data-and-machines/index.html | 2 +- docs/implementation-guides/pointers/types/index.html | 2 +- .../pointers/types/pointer-types/index.html | 2 +- docs/known-challenges/index.html | 2 +- docs/overview/index.html | 2 +- docs/sketches/layout/index.html | 2 +- docs/sketches/prototype/index.html | 2 +- home/index.html | 2 +- index.html | 2 +- spec/category/complex-types/index.html | 2 +- spec/category/elementary-types/index.html | 2 +- spec/data/hex/index.html | 2 +- spec/data/overview/index.html | 2 +- spec/data/unsigned/index.html | 2 +- spec/materials/compilation/index.html | 2 +- spec/materials/id/index.html | 2 +- spec/materials/overview/index.html | 2 +- spec/materials/source-range/index.html | 2 +- spec/materials/source/index.html | 4 ++-- spec/overview/index.html | 2 +- spec/pointer/collection/conditional/index.html | 2 +- spec/pointer/collection/group/index.html | 2 +- spec/pointer/collection/index.html | 2 +- spec/pointer/collection/list/index.html | 2 +- spec/pointer/collection/scope/index.html | 2 +- spec/pointer/concepts/index.html | 2 +- spec/pointer/expression/index.html | 2 +- spec/pointer/index.html | 2 +- spec/pointer/overview/index.html | 2 +- spec/pointer/region/base/index.html | 2 +- spec/pointer/region/index.html | 2 +- spec/pointer/region/location/calldata/index.html | 2 +- spec/pointer/region/location/code/index.html | 2 +- spec/pointer/region/location/memory/index.html | 2 +- spec/pointer/region/location/returndata/index.html | 2 +- spec/pointer/region/location/stack/index.html | 2 +- spec/pointer/region/location/storage/index.html | 2 +- spec/pointer/region/location/transient/index.html | 2 +- spec/pointer/region/scheme/segment/index.html | 2 +- spec/pointer/region/scheme/slice/index.html | 2 +- spec/pointer/template/index.html | 2 +- spec/type/base/index.html | 2 +- spec/type/complex/alias/index.html | 2 +- spec/type/complex/array/index.html | 2 +- spec/type/complex/function/index.html | 2 +- spec/type/complex/mapping/index.html | 2 +- spec/type/complex/struct/index.html | 2 +- spec/type/complex/tuple/index.html | 2 +- spec/type/concepts/index.html | 2 +- spec/type/elementary/address/index.html | 2 +- spec/type/elementary/bool/index.html | 2 +- spec/type/elementary/bytes/index.html | 2 +- spec/type/elementary/contract/index.html | 2 +- spec/type/elementary/enum/index.html | 2 +- spec/type/elementary/fixed/index.html | 2 +- spec/type/elementary/int/index.html | 2 +- spec/type/elementary/string/index.html | 2 +- spec/type/elementary/ufixed/index.html | 2 +- spec/type/elementary/uint/index.html | 2 +- spec/type/index.html | 2 +- spec/type/overview/index.html | 2 +- status/index.html | 2 +- 87 files changed, 93 insertions(+), 93 deletions(-) create mode 100644 assets/js/common.3693924e.js rename assets/js/{common.d9e6497e.js.LICENSE.txt => common.3693924e.js.LICENSE.txt} (100%) delete mode 100644 assets/js/common.d9e6497e.js rename assets/js/{runtime~main.d7791420.js => runtime~main.d3964bd7.js} (99%) diff --git a/404.html b/404.html index 690737f7..c8fec6dc 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | ethdebug format - + diff --git a/assets/js/common.3693924e.js b/assets/js/common.3693924e.js new file mode 100644 index 00000000..ade55b6c --- /dev/null +++ b/assets/js/common.3693924e.js @@ -0,0 +1,8 @@ +/*! For license information please see common.3693924e.js.LICENSE.txt */ +(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8592],{43159:(e,t,n)=>{var r,o,i,s,a=n(90682),u=n(96111),c=n(21500);r=e.exports,o="parse",i=()=>f,Object.defineProperty(r,o,{get:i,set:s,enumerable:!0,configurable:!0});const l=c.LRParser.deserialize({version:14,states:"%QO]QPOOOOQO'#Cd'#CdOtQQO'#CgO!PQPO'#ClOOQO'#Cs'#CsQOQPOOOOQO'#Ci'#CiO!WQPO'#ChO!]QPO'#CuOOQO,59R,59RO!eQPO,59ROOQO'#Cm'#CmO!jQPO'#CyOOQO,59W,59WO!rQPO,59WO]QPO,59SO!wQQO,59aO#SQPO,59aOOQO1G.m1G.mO#[QPO,59eO#cQPO,59eOOQO1G.r1G.rOOQO1G.n1G.nOOQO,59Y,59YO#kQQO1G.{OOQO-E6l-E6lOOQO,59Z,59ZO#vQPO1G/POOQO-E6m-E6mPwQQO'#CnP]QPO'#Co",stateData:"$R~OfOSPOSQOS~OSSOTSOUSOVSOYQO_ROhPO~OXXOhUOjUO~O^]O~P]Ok_O~Ol`OXiX~OXbO~OlcO^mX~O^eO~OhUOjUOXia~OlhOXia~O^ma~P]OlkO^ma~OhUOjUOXii~O^mi~P]OPQj~",goto:"!}nPPPPPPPPoPPow!PPPo!V!_!ePPP!kP!wPPP!z]SOR_cknQWQVg`hmXVQ`hmQ[RVjcknQaWRiaQd[RldQTOWZRcknRf_RYQR^R",nodeNames:"\u26a0 LineComment BlockComment JsonText True False Null Number String } { Object Property PropertyName ] [ Array ArrayValue",maxTerm:29,nodeProps:[["group",-7,4,5,6,7,8,11,16,"Value"],["openedBy",9,"{",14,"["],["closedBy",10,"}",15,"]"]],skippedNodes:[0,1,2],repeatNodeCount:2,tokenData:"!!`~R!OXY$RYZ$RZ[$R[]$R]^$Rpq$Rrs$Wtu.Xwx0b{|2Y|}6p}!O2Y!O!P2l!P!Q6u!Q!R3l!R![5Q![!]8t!c!k.X!k!l8y!l!p.X!p!q@}!q!}.X!}#OB|#O#P/S#P#QCR#R#S.X#T#Y.X#Y#ZCW#Z#b.X#b#cHU#c#h.X#h#iLU#i#o.X#o#p!!U#q#r!!Z$f$g$R$g$IV.X$IV$IW$R$IW$I|.X$I|$I}$R$I}$JO$R$JU;'S.X;'S;=`0[<%l?HT.X?HT?HU$R?HUO.X~$WOf~~$ZXOp$vpq$Wqr$Wrs%`s#O$W#O#P&s#P;'S$W;'S;=`.R<%lO$W~$yVOr$vrs%`s#O$v#O#P%e#P;'S$v;'S;=`&m<%lO$v~%eOh~~%haYZ$v]^$vrs$vwx$v!Q!R$v#O#P$v#T#U$v#U#V$v#Y#Z$v#b#c$v#f#g$v#h#i$v#i#j$v#j#k$v#l#m$v$I|$I}$v$I}$JO$v~&pP;=`<%l$v~&vbYZ$v]^$vrs$Wwx$v!P!Q(O!Q!R$v#O#P$W#T#U$v#U#V$W#Y#Z$W#b#c$W#f#g$W#h#i$W#i#j*c#j#k$v#l#m$v$I|$I}$v$I}$JO$v~(RWpq(Oqr(Ors%`s#O(O#O#P(k#P;'S(O;'S;=`*]<%lO(O~(nXrs(O!P!Q(O#O#P(O#U#V(O#Y#Z(O#b#c(O#f#g(O#h#i(O#i#j)Z~)^R!Q![)g!c!i)g#T#Z)g~)jR!Q![)s!c!i)s#T#Z)s~)vR!Q![*P!c!i*P#T#Z*P~*SR!Q![(O!c!i(O#T#Z(O~*`P;=`<%l(O~*f]Or$vrs%`s!Q$v!Q![+_![!c$v!c!i+_!i#O$v#O#P%e#P#T$v#T#Z+_#Z;'S$v;'S;=`&m<%lO$v~+b]Or$vrs%`s!Q$v!Q![,Z![!c$v!c!i,Z!i#O$v#O#P%e#P#T$v#T#Z,Z#Z;'S$v;'S;=`&m<%lO$v~,^]Or$vrs%`s!Q$v!Q![-V![!c$v!c!i-V!i#O$v#O#P%e#P#T$v#T#Z-V#Z;'S$v;'S;=`&m<%lO$v~-Y]Or$vrs%`s!Q$v!Q![$W![!c$v!c!i$W!i#O$v#O#P%e#P#T$v#T#Z$W#Z;'S$v;'S;=`&m<%lO$v~.UP;=`<%l$WQ.^[jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XQ/VP#i#j/YQ/]R!Q![/f!c!i/f#T#Z/fQ/iR!Q![/r!c!i/r#T#Z/rQ/uR!Q![0O!c!i0O#T#Z0OQ0RR!Q![.X!c!i.X#T#Z.XQ0_P;=`<%l.X~0eVOw0bwx%`x#O0b#O#P0z#P;'S0b;'S;=`2S<%lO0b~0}aYZ0b]^0brs0bwx0b!Q!R0b#O#P0b#T#U0b#U#V0b#Y#Z0b#b#c0b#f#g0b#h#i0b#i#j0b#j#k0b#l#m0b$I|$I}0b$I}$JO0b~2VP;=`<%l0bP2]T!O!P2l!Q!R3l!R![5Q!k!l5c!p!q6dP2oP!Q![2rP2wRVP!Q![2r!g!h3Q#X#Y3QP3TR{|3^}!O3^!Q![3dP3aP!Q![3dP3iPVP!Q![3dP3qTVP!O!P2r!Q![4Q!g!h3Q#X#Y3Q#l#m4fP4TQ!O!P4Z!Q![4QP4`QVP!g!h3Q#X#Y3QP4iR!Q![4r!c!i4r#T#Z4rP4wRVP!Q![4r!c!i4r#T#Z4rP5VSVP!O!P2r!Q![5Q!g!h3Q#X#Y3QP5fP#b#c5iP5lP#Y#Z5oP5rP#]#^5uP5xP#b#c5{P6OP#]#^6RP6UP#h#i6XP6[P#m#n6_P6dOVPP6gP#T#U6jP6mP!p!q6_~6uOl~~6xQz{7O!P!Q8V~7RTOz7Oz{7b{;'S7O;'S;=`8P<%lO7O~7eVOz7Oz{7b{!P7O!P!Q7z!Q;'S7O;'S;=`8P<%lO7O~8POQ~~8SP;=`<%l7O~8[UP~OY8VZ]8V^$I|8V$JO;'S8V;'S;=`8n<%lO8V~8qP;=`<%l8V~8yOk~R9O^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c9z#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR:P^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#Y.X#Y#Z:{#Z#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR;Q^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^;|#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRO#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR>T^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#h.X#h#i?P#i#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR?U^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#m.X#m#n@Q#n#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR@X[VPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRAS]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UA{#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRBQ^jQtu.X!Q![.X!c!p.X!p!q@Q!q!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~CRO_~~CWO^~RC]]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UDU#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRDZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aEV#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRE[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#g.X#g#hFW#h#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRF]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#YGX#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRG`[TPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRHZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jIV#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRI[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aJW#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRJ]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aKX#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRK`[UPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRLZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#f.X#f#gMV#g#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRM[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jNW#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRN]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#Y! X#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR! `[SPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~!!ZOY~~!!`OX~",tokenizers:[0,1],topRules:{JsonText:[0,3]},dialects:{json5:137},tokenPrec:0});function f(e,t,{dialect:n="json",tabWidth:r=4}={}){let o="JSON5"===n?(i=u,i&&i.__esModule?i.default:i).parse(e,t):JSON.parse(e,t);var i;let s=l.configure({strict:!0,dialect:"JSON5"===n?"json5":"json"}).parse(e),c=new Map,f=[""];return s.iterate({enter(t){let n=t.type.prop(a.NodeProp.group);if((null==n?void 0:n.includes("Value"))&&d(c,m(f),{value:h(e,t.from,r),valueEnd:h(e,t.to,r)}),"PropertyName"===t.name){let n=e.slice(t.from,t.to),o="'"===n[0]||'"'==n[0];f.push(o?n.slice(1,-1):n),d(c,m(f),{key:h(e,t.from,r),keyEnd:h(e,t.to,r)})}else"Array"===t.name&&f.push(0)},leave(e){"Property"===e.name||"Array"===e.name?f.pop():"ArrayValue"===e.name&&f[f.length-1]++}}),{data:o,pointers:Object.fromEntries(c)}}function d(e,t,n){let r=e.get(t);r={...r,...n},e.set(t,r)}function h(e,t,n){let r=function(e,t){let n=0;for(let r=0;r"~"===e?"~0":"~1"))+"/":String(n)+"/";return t.slice(0,-1)}},84560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(54318)),s=r(n(5750));e.exports=(s.default,e=>e.reference?o.default.createElement(i.default,{...e}):o.default.createElement(s.default,{...e}))},54318:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.codeReducer=t.parseCustomization=t.parseReference=void 0;const a=i(n(2784)),u=s(n(5750)),c="See full example on GitHub",l={code:"loading...",error:null,loading:null},f={fontSize:".9em",fontWeight:600,color:"#0E75DD",textAlign:"center",paddingBottom:"13px",textDecoration:"underline"};function d(e){const t=e.slice(e.indexOf("https"),-1),[n,r]=t.split("#"),o=globalThis||{};o.URL||(o.URL=URL);const[i,s,a,u,...c]=new o.URL(n).pathname.split("/").slice(1),[l,f]=r?r.split("-").map((e=>parseInt(e.slice(1),10)-1)):[0,1/0];return{url:`https://raw.githubusercontent.com/${i}/${s}/${u}/${c.join("/")}`,fromLine:l,toLine:f,title:c.join("/")}}function h(e){var t,n,r,o;const i=null===(n=null===(t=null==e?void 0:e.match(/title="(?.*?)"/))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.title,s=null==e?void 0:e.match(/referenceLinkText="(?<referenceLinkText>.*?)"/),a=null!==(o=null===(r=null==s?void 0:s.groups)||void 0===r?void 0:r.referenceLinkText)&&void 0!==o?o:c,u=null==e?void 0:e.match(/customStyling/),l=1===(null==u?void 0:u.length);return{title:i,linkText:a,noteStyling:1===(null==u?void 0:u.length)?{}:f,useCustomStyling:l}}function p(e,{type:t,value:n}){switch(t){case"reset":return l;case"loading":return{...e,loading:!0};case"loaded":return{...e,code:n,loading:!1};case"error":return{...e,error:n,loading:!1};default:return e}}t.parseReference=d,t.parseCustomization=h,t.codeReducer=p,t.default=function(e){const[t,n]=(0,a.useReducer)(p,l),r=d(e.children);!1!==t.loading&&async function({url:e,fromLine:t,toLine:n},r){let o;try{o=await fetch(e)}catch(a){return r({type:"error",value:a})}if(200!==o.status)return r({type:"error",value:await o.text()});const i=(await o.text()).split("\n").slice(t,(n||t)+1),s=i.reduce(((e,t)=>{if(0===t.length)return e;const n=t.match(/^\s+/);return n?Math.min(e,n[0].length):0}),1/0);r({type:"loaded",value:i.map((e=>e.slice(s))).join("\n")})}(r,n);const o=h(e.metastring),i={...e,metastring:o.title?` title="${o.title}"`:` title="${r.title}"`,children:l.code};return a.default.createElement("div",null,a.default.createElement(u.default,{...i},t.code),a.default.createElement("div",{style:o.noteStyling,className:o.useCustomStyling?"github-codeblock-reference-link":""},a.default.createElement("a",{href:e.children,target:"_blank"},o.linkText)))}},77501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){const t=this._data[e];if(t&&(!this._stdTTL||(new Date).getTime()-t.ts<this._stdTTL))return this._stats.hits+=1,t.val;this._stats.misses+=1}set(e,t){this._data[e]={ts:(new Date).getTime(),val:t}}has(e){return e in this._data}purge(){Object.assign(this._stats,{hits:0,misses:0}),this._data={}}}},89728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const r=n(78458),o=n(5091),i=n(72579),s=n(18045);t.ResolveCrawler=class{constructor(e,t,n){this._resolved=n,this.resolvers=[],this.pointerGraph=new o.DepGraph({circular:!0}),this.pointerStemGraph=new o.DepGraph({circular:!0}),this.computeGraph=(e,t=[],n="#",r=[])=>{n||(n="#");let o=this._runner.computeRef({val:e,jsonPointer:n,pointerStack:r});if(void 0!==o)this._resolveRef({ref:o,val:e,parentPath:t,pointerStack:r,parentPointer:n,cacheKey:n,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(const i in e){if(!e.hasOwnProperty(i))continue;const a=e[i],u=s.addToJSONPointer(n,i);o=this._runner.computeRef({key:i,val:a,jsonPointer:u,pointerStack:r}),t.push(i),void 0!==o?this._resolveRef({ref:o,val:a,parentPath:t,parentPointer:u,pointerStack:r,cacheKey:s.uriToJSONPointer(o),resolvingPointer:this.jsonPointer}):"object"==typeof a&&this.computeGraph(a,t,u,r),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:n,parentPointer:o,ref:a}=e;if(s.uriIsJSONPointer(a)){if(this._runner.dereferenceInline){const e=s.uriToJSONPointer(a);let c;try{c=(0,r.pointerToPath)(e)}catch(u){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${a}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let l=c.length>0;for(const t in c)if(n[t]!==c[t]){l=!1;break}if(l)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t<n.length;t++){const r=n[t];if(r===c[t])f+=`/${r}`;else{d+=`/${r}`;const t=`${f}${d}`;t!==o&&t!==e&&(this.pointerStemGraph.hasNode(t)||this.pointerStemGraph.addNode(t),this.pointerStemGraph.addDependency(t,e))}}this.pointerGraph.hasNode(o)||this.pointerGraph.addNode(o),this.pointerGraph.hasNode(e)||this.pointerGraph.addNode(e);const h=`${this._runner.baseUri.toString()}${e}`;this._runner.graph.hasNode(h)||this._runner.graph.addNode(h,{refMap:{}}),this._runner.root!==h&&this._runner.graph.addDependency(this._runner.root,h),this.pointerGraph.addDependency(o,e),this.jsonPointer&&(t.length<2||!t.includes(e))&&(t.push(e),this.computeGraph(i(this._runner.source,c),c,e,t),t.pop())}}else{const t=a.toString();this._runner.graph.hasNode(t)||this._runner.graph.addNode(t,{refMap:{}}),this._runner.root!==t&&this._runner.graph.addDependency(this._runner.root,t),this._runner.dereferenceRemote&&!this._runner.atMaxUriDepth()&&this.resolvers.push(this._runner.lookupAndResolveUri(e))}},this.jsonPointer=t,this._runner=e}}},20028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;n(22970).__exportStar(n(88737),t);var r=n(77501);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return r.Cache}});var o=n(62163);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return o.defaultGetRef}})},88737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const r=n(5091),o=n(77501),i=n(62163);t.Resolver=class{constructor(e={}){this.ctx={},this.uriCache=e.uriCache||new o.Cache,this.resolvers=e.resolvers||{},this.getRef=e.getRef,this.transformRef=e.transformRef,this.dereferenceInline=void 0===e.dereferenceInline||e.dereferenceInline,this.dereferenceRemote=void 0===e.dereferenceRemote||e.dereferenceRemote,this.parseResolveResult=e.parseResolveResult,this.transformDereferenceResult=e.transformDereferenceResult,this.ctx=e.ctx}resolve(e,t={}){const n=new r.DepGraph({circular:!0});return new i.ResolveRunner(e,n,Object.assign(Object.assign({uriCache:this.uriCache,resolvers:this.resolvers,getRef:this.getRef,transformRef:this.transformRef,dereferenceInline:this.dereferenceInline,dereferenceRemote:this.dereferenceRemote,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult},t),{ctx:Object.assign({},this.ctx||{},t.ctx||{})})).resolve(t)}}},62163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const r=n(22970),o=n(78458),i=n(84441),s=n(5091),a=n(30412),u=n(72579),c=n(16765),l=n(30957),f=n(47156),d=n(77501),h=n(89728),p=n(18045),m=n(6238);let g=0;t.defaultGetRef=(e,t)=>{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class y{constructor(e,n=new s.DepGraph({circular:!0}),a={}){this.ctx={},this.computeRef=e=>{const t=this.getRef(e.key,e.val);if(void 0===t)return;let n=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(n)){let e=n.toString();n.is("absolute")||(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(n=new l((0,i.toFSPath)(e)).fragment(n.fragment()))}else(n.scheme().includes("http")||""===n.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===n.authority()&&(n=n.absoluteTo(this.baseUri))}return String(n).length>0&&this.isFile(this.baseUri)&&this.isFile(n)&&this.baseUri.path()===n.path()&&(n=new f.ExtendedURI(`#${n.fragment()}`)),this.transformRef?this.transformRef(Object.assign(Object.assign({},e),{ref:n,uri:this.baseUri}),this.ctx):n},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{ref:t}=e;let n=t.scheme();!this.resolvers[n]&&this.isFile(t)&&(n="file");const r=this.resolvers[n];if(!r)throw new Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let o=yield r.resolve(t,this.ctx);if(this.parseResolveResult)try{o=(yield this.parseResolveResult({uriResult:o,result:o,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(i){throw new Error(`Could not parse remote reference response for '${t.toString()}' - ${String(i)}`)}return new y(o,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})})),this.lookupAndResolveUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{val:t,ref:n,resolvingPointer:r,parentPointer:i,pointerStack:s}=e,a=e.parentPath?e.parentPath.slice():[],u=this.computeUriCacheKey(n),l={uri:n,pointerStack:s,targetPath:r===i?[]:a};if(this.uriStack.includes(u))return l.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},l;{let e;const r=this.baseUri.toString(),i=r&&0!==this.depth?r:null;try{if(this.atMaxUriDepth())throw new Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:n.clone().fragment(""),fragment:n.fragment(),cacheKey:u,parentPath:a}),i&&(e.uriStack=e.uriStack.concat(i))}catch(f){l.error={code:"RESOLVE_URI",message:String(f),uri:n,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:s,path:a}}if(e&&(l.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(n),parentPath:a}),l.resolved.errors.length))for(const s of l.resolved.errors)if("POINTER_MISSING"===s.code&&s.path.join("/")===n.fragment().slice(1)){const e=n.fragment?(0,o.trimStart)(s.path,(0,o.trimStart)(n.fragment(),"/").split("/")):s.path;e&&e.length?c(l.resolved.result,e,t):l.resolved.result&&(l.resolved.result=t)}}return l})),this.id=g+=1,this.depth=a.depth||0,this._source=e,this.resolvers=a.resolvers||{};const u=a.baseUri||"";let h=new l(u||"");this.isFile(h)&&(h=new l((0,i.toFSPath)(u))),this.baseUri=h,this.uriStack=a.uriStack||[],this.uriCache=a.uriCache||new d.Cache,this.root=a.root&&a.root.toString()||this.baseUri.toString()||"root",this.graph=n,this.graph.hasNode(this.root)||this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=a.getRef||t.defaultGetRef,this.transformRef=a.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===a.dereferenceInline||a.dereferenceInline,this.dereferenceRemote=void 0===a.dereferenceRemote||a.dereferenceRemote,this.parseResolveResult=a.parseResolveResult,this.transformDereferenceResult=a.transformDereferenceResult,this.ctx=a.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this};let n;const r=e&&e.jsonPointer&&e.jsonPointer.trim();if(r&&"#"!==r&&"#/"!==r){try{n=(0,o.pointerToPath)(r)}catch(f){return t.errors.push({code:"PARSE_POINTER",message:`'${r}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),t}t.result=u(t.result,n)}if(void 0===t.result)return t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:n||[]}),t;const i=new h.ResolveCrawler(this,r,t);i.computeGraph(t.result,n,r||"");let s=[];if(i.resolvers.length&&(s=yield Promise.all(i.resolvers)),s.length)for(const e of s){let r=e.targetPath;r.length||(r=n||[]),t.refMap[String(this.baseUri.clone().fragment((0,o.pathToPointer)(r)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,o.pathToPointer)(r),String(e.uri)),e.error&&t.errors.push(e.error),e.resolved&&(e.resolved.errors&&(t.errors=t.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,a.default)(this._source,(t=>{if(e.resolved){if(!r.length)return e.resolved.result;c(t,r,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,a.default)(this._source,(e=>{let n=[];try{n=i.pointerGraph.overallOrder();for(const r of n){const n=i.pointerGraph.dependantsOf(r);if(!n.length)continue;const s=(0,o.pointerToPath)(r),l=0===s.length?(0,a.original)(e):u(e,s);for(const a of n){let n;const u=(0,o.pointerToPath)(a),f=i.pointerStemGraph.dependenciesOf(r);for(const e of f)if((0,o.startsWith)(u,(0,o.pointerToPath)(e))){n=!0;break}n||(t.refMap[(0,o.pathToPointer)(u)]=(0,o.pathToPointer)(s),this._setGraphNodeEdge(this.root,(0,o.pathToPointer)(u),(0,o.pathToPointer)(s)),void 0!==l?(c(e,u,l),this._setGraphNodeData((0,o.pathToPointer)(s),l)):t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist`,path:u,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(r){}}))),t.result=n?u(this._source,n):this._source):t.result=this._source,this.transformDereferenceResult){const o=new l(r||"");try{const{result:n,error:r}=yield this.transformDereferenceResult({source:this.source,result:t.result,targetAuthority:o,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:o.fragment()});if(t.result=n,r)throw new Error(`Could not transform dereferenced result for '${o.toString()}' - ${String(r)}`)}catch(d){t.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==o.fragment()?`#${o.fragment()}`:""}' - ${String(d)}`,uri:o,uriStack:this.uriStack,pointerStack:[],path:n})}}return this._setGraphNodeData(this.root,this._source),t}))}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){const t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){const e=this.baseUri.scheme();return Boolean(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;const n=this.graph.getNodeData(e)||{};n.data=t,this.graph.setNodeData(e,n)}_setGraphNodeEdge(e,t,n){if(!this.graph.hasNode(e))return;const r=this.graph.getNodeData(e)||{};r.refMap=r.refMap||{},r.refMap[t]=n,this.graph.setNodeData(e,r)}}t.ResolveRunner=y},47156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const r=n(30957);t.ExtendedURI=class extends r{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},18045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;const n=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o};t.addToJSONPointer=(e,t)=>{return`${e}/${r=t,n(n(r,"~","~0"),"/","~1")}`;var r};t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},78458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUNDLE_ROOT:()=>re,ERRORS_ROOT:()=>oe,KEYS:()=>Fe,bundleTarget:()=>ie,decodePointer:()=>Q,decodePointerFragment:()=>ae,decodePointerUriFragment:()=>Q,decycle:()=>ue,encodePointer:()=>ce,encodePointerFragment:()=>M,encodePointerUriFragment:()=>L,encodeUriPointer:()=>B,extractPointerFromRef:()=>le,extractSourceFromRef:()=>Z,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>he,getLocationForJsonPath:()=>pe,hasRef:()=>I,isExternalRef:()=>G,isLocalRef:()=>N,isPlainObject:()=>A,parseTree:()=>ge,parseWithPointers:()=>me,pathToPointer:()=>z,pointerToPath:()=>X,remapRefs:()=>W,renameObjectKey:()=>_e,reparentBundleTarget:()=>Ee,resolveExternalRef:()=>xe,resolveExternalRefWithLocation:()=>De,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>ne,safeParse:()=>Se,safeStringify:()=>$e,startsWith:()=>Oe,stringify:()=>Ae,toPropertyPath:()=>Pe,trapAccess:()=>Ne,traverse:()=>J,trimStart:()=>Te});var r,o=n(76635),i=n(84441);function s(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,s=16,l=0,f=0,d=0,h=0,p=0;function m(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function g(){if(o="",p=0,i=r,f=l,h=d,r>=n)return i=n,s=17;var t=e.charCodeAt(r);if(a(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(a(t));return s=15}if(u(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),l++,d=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),p=2;break}var i=e.charCodeAt(r);if(34===i){t+=e.substring(o,r),r++;break}if(92!==i){if(i>=0&&i<=31){if(u(i)){t+=e.substring(o,r),p=2;break}p=6}r++}else{if(t+=e.substring(o,r),++r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=m(4,!0);s>=0?t+=String.fromCharCode(s):p=4;break;default:p=5}o=r}}return t}(),s=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return o=e.substring(g,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;for(var v=n-1,b=!1;r<v;){var _=e.charCodeAt(r);if(42===_&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,u(_)&&(13===_&&10===e.charCodeAt(r)&&r++,l++,d=r)}return b||(r++,p=1),o=e.substring(g,r),s=13}return o+=String.fromCharCode(t),r++,s=16;case 45:if(o+=String.fromCharCode(t),++r===n||!c(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&c(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&c(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&c(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&c(e.charCodeAt(r))){for(r++;r<e.length&&c(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&y(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return o+=String.fromCharCode(t),r++,s=16}}function y(e){if(a(e)||u(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,o="",i=0,s=16,p=0},getPosition:function(){return r},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return s},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return i-h},getTokenError:function(){return p}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function u(e){return 10===e||13===e||8232===e||8233===e}function c(e){return e>=48&&e<=57}function l(e,t,n){void 0===n&&(n=r.DEFAULT);var o=s(e,!1);function i(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var u=i(t.onObjectBegin),c=a(t.onObjectProperty),l=i(t.onObjectEnd),f=i(t.onArrayBegin),d=i(t.onArrayEnd),h=a(t.onLiteralValue),p=a(t.onSeparator),m=i(t.onComment),g=a(t.onError),y=n&&n.disallowComments,v=n&&n.allowTrailingComma;function b(){for(;;){var e=o.scan();switch(o.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:y||_(11);break;case 2:_(12);break;case 6:_(16)}switch(e){case 12:case 13:y?_(10):m();break;case 16:_(1);break;case 15:case 14:break;default:return e}}}function _(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),g(e),t.length+n.length>0)for(var r=o.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function w(e){var t=o.getTokenValue();return e?h(t):c(t),b(),!0}function E(){switch(o.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),4===o.getToken()&&v)break}else e&&_(6,[],[]);E()||_(4,[],[4,5]),e=!0}return d(),4!==o.getToken()?_(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),2===o.getToken()&&v)break}else e&&_(6,[],[]);(10!==o.getToken()?(_(3,[],[2,5]),0):(w(!1),6===o.getToken()?(p(":"),b(),E()||_(4,[],[2,5])):_(5,[],[2,5]),1))||_(4,[],[2,5]),e=!0}return l(),2!==o.getToken()?_(7,[2],[]):b(),!0}();case 10:return w(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(_(2),e=0)}catch(t){_(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()?!!n.allowEmptyContent||(_(4,[],[]),!1):E()?(17!==o.getToken()&&_(9,[],[]),!0):(_(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(r||(r={}));var f=s,d=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var o=t.children;if(Array.isArray(o))for(var i=0;i<o.length&&o[i].offset<=n;i++){var s=e(o[i],n,r);if(s)return s}return t}},h=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var o=t.parent.children.indexOf(t);-1!==o&&n.push(o)}return n},p=l;function m(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}const g=`__object_order_${Math.floor(Date.now()/36e5)}__`,y=Symbol.for(g),v=(String(y),{defineProperty:(e,t,n)=>(!Object.prototype.hasOwnProperty.call(e,t)&&y in e?e[y].push(t):"value"in n&&t===y&&-1===n.value.lastIndexOf(y)&&n.value.push(y),Reflect.defineProperty(e,t,n)),deleteProperty(e,t){const n=Object.prototype.hasOwnProperty.call(e,t),r=Reflect.deleteProperty(e,t);if(r&&n&&y in e){const n=e[y].indexOf(t);-1!==n&&e[y].splice(n,1)}return r},ownKeys:e=>y in e?e[y]:Reflect.ownKeys(e),set(e,t,n){const r=Object.prototype.hasOwnProperty.call(e,t),o=Reflect.set(e,t,n);return o&&!r&&y in e&&e[y].push(t),o}});function b(e,t=Reflect.ownKeys(e)){E(e);const n=new Proxy(e,v);return function(e,t){y in e?(e[y].length=0,e[y].push(...t)):Reflect.defineProperty(e,y,{configurable:!0,value:t})}(n,t),n}function _(e){return null!==e&&"object"==typeof e}function w(e){if(!_(e))return!1;if(void 0!==e[Symbol.toStringTag]){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){const t=e[Symbol.toStringTag];if("string"==typeof t)return t;const n=Reflect.apply(Object.prototype.toString,e,[]);return n.slice(8,n.length-1)}(e)}function E(e,t){if(function(){if("undefined"==typeof process||!_(process)||!_(process.env))return!1;return!1}()&&!w(e))throw new TypeError(t)}var k,x,D,S,C;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(k||(k={})),function(e){e.Unspecified="unspecified",e.Simple="simple",e.Matrix="matrix",e.Label="label",e.Form="form",e.CommaDelimited="commaDelimited",e.SpaceDelimited="spaceDelimited",e.PipeDelimited="pipeDelimited",e.DeepObject="deepObject",e.TabDelimited="tabDelimited"}(x||(x={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(D||(D={})),function(e){e.Article="article",e.HttpService="http_service",e.HttpServer="http_server",e.HttpOperation="http_operation",e.HttpCallback="http_callback",e.Model="model",e.Generic="generic",e.Unknown="unknown",e.TableOfContents="table_of_contents",e.SpectralRuleset="spectral_ruleset",e.Styleguide="styleguide",e.Image="image",e.StoplightResolutions="stoplight_resolutions",e.StoplightOverride="stoplight_override"}(S||(S={})),function(e){e.Json="json",e.Markdown="markdown",e.Yaml="yaml",e.Javascript="javascript",e.Apng="apng",e.Avif="avif",e.Bmp="bmp",e.Gif="gif",e.Jpeg="jpeg",e.Png="png",e.Svg="svg",e.Webp="webp"}(C||(C={}));var $=n(27822),O=n.n($);function A(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function P(e,t,n){if(!A(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${n}'`)}function j(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const F=e=>A(e)&&"$ref"in e,I=e=>F(e)&&"string"==typeof e.$ref,N=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),T=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o},M=e=>"number"==typeof e?e:T(T(e,"~","~0"),"/","~1"),R=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function B(e){return e.replace(R,encodeURIComponent)}const L=e=>{const t=M(e);return"number"==typeof t?t:B(t)},z=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(L).join("/")}`};function q(e){try{return decodeURIComponent(e)}catch(t){return e}}const V=/%[0-9a-f]+/gi,Q=e=>{let t;try{t=decodeURIComponent(e)}catch(n){t=e.replace(V,q)}return T(T(t,"~1","/"),"~0","~")},X=e=>H(e),H=e=>{if("string"!=typeof e)throw new TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw new URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw new URIError("Invalid JSON Pointer syntax.");return(e=>{const t=e.length,n=[];let r=-1;for(;++r<t;)n.push(Q(e[r]));return n})(e.substring(2).split("/"))},K=(e,t,n)=>{const r={value:e,path:n};t.onEnter&&t.onEnter(r);for(const o of Object.keys(e)){const r=e[o];t.onProperty&&t.onProperty({parent:e,parentPath:n,property:o,propertyValue:r}),"object"==typeof r&&null!==r&&K(r,t,n.concat(o))}t.onLeave&&t.onLeave(r)},J=(e,t)=>{"object"==typeof e&&null!==e&&K(e,"function"==typeof t?{onProperty:t}:t,[])};function W(e,t,n){J(e,{onProperty({property:e,propertyValue:r,parent:o}){"$ref"===e&&"string"==typeof r&&r.startsWith(t)&&(o.$ref=`${n}${r.slice(t.length)}`)}})}const G=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!G(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function Y(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*ee(e,t,n){F(e.value)&&(j(e.value),yield[-1,e.value]);for(const[r,o]of t.entries())P(e.value,o,n),e.value=e.value[o],F(e.value)&&(j(e.value),yield[r,e.value])}function te(e,t){return ne(e,t).value}function ne(e,t){return function e(t,n,r,o){if(null!==Z(n))throw new ReferenceError("Cannot resolve external references");const i=X(n);let s=[...i];"#"===n&&F(t)&&(j(t),i.unshift(...X(t.$ref)));const a={value:t};for(const[u,c]of ee(a,i,n)){if(r.includes(c))return{source:null,location:null!=o?o:s,value:r[r.length-1]};r.push(c);const n=e(t,c.$ref,r,s);a.value=n.value,(s=n.location).push(...i.slice(u+1))}return{source:null,location:s,value:r.length>0?Y(r[r.length-1],a.value):a.value}}(e,t,[])}const re="#/__bundled__",oe="#/__errors__",ie=({document:e,path:t,bundleRoot:n="#/__bundled__",errorsRoot:r="#/__errors__",cloneDocument:i=!0,keyProvider:s},a)=>{if(t===n||t===r)throw new Error("Roots do not make any sense");const u=i?(0,o.cloneDeep)(e):e;return se(u,X(n),X(r),t,s)(t,{[t]:!0},a)},se=(e,t,n,r,i)=>{const s=new Set,a=(u,c,l,f={},d={},h={})=>{const p=X(u),m=(0,o.get)(e,p);J(l||m,{onEnter:({value:n})=>{if(I(n)&&N(n.$ref)){const l=n.$ref;if(h[l])return;if(l===u&&(f[l]="#"),f[l])return void(n.$ref=f[l]);let p,m,g,y,v;try{let n;p=X(l),i&&(n=i({document:e,path:p})),n||(n=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,o.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:p})),g=n;let r=1;for(;s.has(g);)if(g=`${n}_${++r}`,r>20)throw new Error(`Keys ${n}_2 through ${n}_20 already taken.`);s.add(g),m=[...t,g],y=z(m)}catch(e){h[l]=e instanceof Error?e.message:String(e)}if(!p||!m||!y)return;if("object"==typeof e&&null!==e&&!(v=(0,o.get)(e,p)))try{v=te(Object(e),l)}catch(e){}void 0!==v&&(f[l]=y,n.$ref=y,(0,o.has)(d,m)||(Array.isArray(v)?(0,o.set)(d,m,new Array(v.length).fill(null)):"object"==typeof v&&(0,o.setWith)(d,m,{},Object),(0,o.set)(d,m,v),"#"===l?function(e,t,n,r){const i=n.map((e=>`[${JSON.stringify(e)}]`)).join(""),s=JSON.parse(JSON.stringify((0,o.omit)(Object(e),i))),a={};(0,o.set)(t,r,s),(0,o.set)(s,n,a),W(s,"#",z(r)),a.$ref="#"}(e,d,X(r),m):c[l]||(c[l]=!0,a(u,c,v,f,d,h),c[l]=!1)))}}});const g=(0,o.get)(d,t);return g&&Object.keys(g).length&&(0,o.set)(m,t,g),(Object.keys(h).length||(0,o.has)(e,n))&&(0,o.set)(m,n,(0,o.has)(e,n)?(0,o.get)(e,n):h),m};return a},ae=e=>T(T(e,"~1","/"),"~0","~"),ue=(e,t)=>{const n=new WeakMap;return function e(r,o){let i;if(t&&(r=t(r)),A(r)||Array.isArray(r)){const t=n.get(r);return t?{$ref:t}:(n.set(r,z(o)),Array.isArray(r)?i=r.map(((t,n)=>e(t,[...o,String(n)]))):(i={},Object.keys(r).forEach((t=>{i[t]=e(r[t],[...o,t])}))),n.delete(r),i)}return r}(e,[])},ce=e=>T(T(e,"~","~0"),"//","/~1"),le=e=>{if("string"!=typeof e||0===e.length)return null;const t=e.indexOf("#");return-1===t?null:e.slice(t)},fe=e=>{const t=f(e,!0);if(t.scan(),1!==t.getToken())return;if(t.scan(),2===t.getToken())return;if(10!==t.getToken())throw new SyntaxError("Unexpected character");const n=t.getTokenValue();if(t.scan(),6!==t.getToken())throw new SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[n,t.getTokenValue()];case 11:return[n,Number(t.getTokenValue())];case 8:return[n,!0];case 9:return[n,!1];case 7:return[n,null];case 16:throw new SyntaxError("Unexpected character");case 17:throw new SyntaxError("Unexpected end of file");default:return}},de=({lineMap:e,ast:t},n)=>{const r=e[n.line],o=e[n.line+1];if(void 0===r)return;const i=d(t,void 0===o?r+n.character:Math.min(o,r+n.character),!0);if(void 0===i)return;const s=h(i);return 0!==s.length?s:void 0};function he(e){return ae(e.split("/").pop()||"")}const pe=({ast:e},t,n=!1)=>{const r=function(e,t,n){e:for(const r of t){const t=Number.isInteger(Number(r))?Number(r):r;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return n?e:void 0;for(const n of e.children)if(Array.isArray(n.children)&&n.children[0].value===String(t)&&2===n.children.length){e=n.children[1];continue e}return n?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return n?e:void 0;e=e.children[t]}return e}(e,t,n);if(void 0!==r&&void 0!==r.range)return{range:r.range}},me=(e,t={disallowComments:!0})=>{const n=[],{ast:r,data:o,lineMap:i}=ge(e,n,t);return{data:o,diagnostics:n,ast:r,lineMap:i}};function ge(e,t=[],n){const r=ve(e);let o={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,s=[];const a=new WeakMap,u=[];function c(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function l(e,t,n){return{start:{line:e,character:t},end:{line:e,character:t+n}}}function f(e){return o.children.push(e),e}function d(e){Array.isArray(s)?s.push(e):null!==i&&(s[i]=e)}function h(e){d(e),u.push(s),s=e,i=null}function g(){s=u.pop()}p(e,{onObjectBegin:(e,t,r,i)=>{o=f({type:"object",offset:e,length:-1,parent:o,children:[],range:l(r,i,t)}),!1===n.ignoreDuplicateKeys&&a.set(o,[]),h(function(e){return e?b({}):{}}(!0===n.preserveKeyOrder))},onObjectProperty:(e,r,u,c,d)=>{if((o=f({type:"property",offset:r,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:r,length:u,parent:o}),!1===n.ignoreDuplicateKeys){const n=a.get(o.parent);n&&(0!==n.length&&n.includes(e)?t.push({range:l(c,d,u),message:"DuplicateKey",severity:D.Error,path:be(o),code:20}):n.push(e))}!0===n.preserveKeyOrder&&function(e,t){if(!(t in e))return;const n=e[y],r=n.indexOf(t);-1!==r&&(n.splice(r,1),n.push(t))}(s,e),i=e},onObjectEnd:(e,t,r,i)=>{!1===n.ignoreDuplicateKeys&&a.delete(o),o.length=e+t-o.offset,o.range&&(o.range.end.line=r,o.range.end.character=i+t),o=o.parent,c(e+t),g()},onArrayBegin:(e,t,n,r)=>{o=f({type:"array",offset:e,length:-1,parent:o,children:[],range:l(n,r,t)}),h([])},onArrayEnd:(e,t,n,r)=>{o.length=e+t-o.offset,o.range&&(o.range.end.line=n,o.range.end.character=r+t),o=o.parent,c(e+t),g()},onLiteralValue:(e,t,n,r,i)=>{f({type:ye(e),offset:t,length:n,parent:o,value:e,range:l(r,i,n)}),c(t+n),d(e)},onSeparator:(e,t)=>{"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&c(t))},onError:(e,n,r,o,i)=>{t.push({range:l(o,i,r),message:m(e),severity:D.Error,code:e})}},n);const v=o.children[0];return v&&delete v.parent,{ast:v,data:s[0],lineMap:r}}function ye(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}const ve=e=>{const t=[0];let n=0;for(;n<e.length;n++)"\n"===e[n]&&t.push(n+1);return t.push(n+1),t};function be(e,t=[]){return"property"===e.type&&t.unshift(e.children[0].value),void 0!==e.parent?("array"===e.parent.type&&void 0!==e.parent.parent&&t.unshift(e.parent.children.indexOf(e)),be(e.parent,t)):t}const _e=(e,t,n)=>{if(!e||!Object.hasOwnProperty.call(e,t)||t===n)return e;const r={};for(const[o,i]of Object.entries(e))o===t?r[n]=i:o in r||(r[o]=i);return r};function we(e){return A(e)||Array.isArray(e)}function Ee(e,t,n){if(n.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(n))throw Error("Target path cannot be contained within source");const r=X(t);let o=e;for(const a of r){if(!we(o))return;o=o[a]}if(!we(o))return;const i=X(n);let s=e;for(const[a,u]of i.entries()){if(!we(s)||u in s)return;const e=a===i.length-1?o:{};s[u]=e,s=e}delete e[r[0]],function e(t,n,r){for(const o of Object.keys(t)){const i=t[o];if("$ref"!==o)we(i)&&e(i,n,r);else{if("string"!=typeof i||!N(i))continue;0===i.indexOf(n)&&(t[o]=i.replace(n,r))}}}(e,t,n)}async function ke(e,t,n,r,o){let s=function(e,t){const n=Z(t);return null===n?e:(0,i.isAbsolute)(n)?n:(0,i.join)((0,i.dirname)(e),n)}(t,n);const a=le(n)||"#",u=await e[s],c=X(a);let l=[...c];const f={value:u};for(const[i,d]of ee(f,c,a)){if(r.includes(d))return{source:t,location:null!=o?o:l,value:r[r.length-1]};r.push(d);const n=await ke(e,s,d.$ref,r,l);({source:s,location:l}=n),f.value=n.value,l.push(...c.slice(i+1))}return{source:s,location:l,value:r.length>0?Y(r[r.length-1],f.value):f.value}}async function xe(e,t,n){return(await De(e,t,n)).value}function De(e,t,n){return ke(e,t,n,[])}const Se=(e,t)=>{if("string"!=typeof e)return e;try{const n=Ce(e);return"string"==typeof n?n:JSON.parse(e,t)}catch(e){return}},Ce=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},$e=(e,t,n)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,n)}catch(r){return O()(e,t,n)}},Oe=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(const n in t){if(!t.hasOwnProperty(n))continue;const r=parseInt(e[n]),o=parseInt(t[n]);if(isNaN(r)&&isNaN(o)){if(e[n]!==t[n])return!1}else if(r!==o)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},Ae=(e,t,n)=>{const r=$e(e,t,n);if(void 0===r)throw new Error("The value could not be stringified");return r};function Pe(e){return e.replace(/^(\/|#\/)/,"").split("/").map(ae).map(je).join(".")}function je(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Fe=Symbol.for(g),Ie={ownKeys:e=>Fe in e?e[Fe]:Reflect.ownKeys(e)},Ne=e=>new Proxy(e,Ie);function Te(e,t){if("string"==typeof e&&"string"==typeof t)return(0,o.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let n=0;for(const r in e)if(e.hasOwnProperty(r)){if(e[r]!==t[r])break;n++}return e.slice(n)}},84441:(e,t,n)=>{"use strict";function r(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function o(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}n.r(t),n.d(t,{basename:()=>l,deserializeSrn:()=>w,dirname:()=>f,extname:()=>d,format:()=>r,isAbsolute:()=>h,isURL:()=>p,join:()=>m,normalize:()=>a,parse:()=>s,relative:()=>g,resolve:()=>y,sep:()=>v,serializeSrn:()=>E,startsWithWindowsDrive:()=>b,stripRoot:()=>_,toFSPath:()=>a}),function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(o,Error),o.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."};var i=function(e,t){t=void 0!==t?t:{};var n,r,i,s,a={},u={Path:te},c=te,l=function(e,t,n,r){return{protocol:e,origin:t,absolute:!0,...n,...r}},f=function(e,t,n){return{protocol:e,origin:t,absolute:!0,...n,path:[]}},d="http://",h=W("http://",!0),p=function(e){return"http"},m="https://",g=W("https://",!0),y=function(e){return"https"},v="",b=function(){return null},_=function(e,t,n){return{protocol:e,origin:null,absolute:!0,...t,...n}},w="file://",E=W("file://",!0),k="file:",x=W("file:",!0),D=function(e){return"file"},S=function(e,t){return{protocol:"file",origin:null,absolute:!0,...e,...t}},C=/^[A-Za-z]/,$=G([["A","Z"],["a","z"]],!1,!1),O=":",A=W(":",!1),P=function(e){return{drive:e.toLowerCase()+":"}},j=function(){return{drive:null}},F=function(){return{drive:null}},I=function(e){return{protocol:null,origin:null,absolute:!1,drive:null,...e}},N=function(e){return{path:e}},T=function(e,t){return[e,...t]},M=function(e){return[e]},R=".",B=W(".",!1),L="/",z=W("/",!1),U="\\",q=W("\\",!1),V=/^[^\/\\]/,Q=G(["/","\\"],!0,!1),X=0,H=[{line:1,column:1}],K=0,J=[];if("startRule"in t){if(!(t.startRule in u))throw new Error("Can't start parsing from rule \""+t.startRule+'".');c=u[t.startRule]}function W(e,t){return{type:"literal",text:e,ignoreCase:t}}function G(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Z(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function Y(e,t){var n=Z(e),r=Z(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function ee(e){X<K||(X>K&&(K=X,J=[]),J.push(e))}function te(){var t;return(t=function(){var e,t,n,r,o;return e=X,(t=ne())!==a&&(n=re())!==a&&(r=ie())!==a&&(o=se())!==a?e=t=l(t,n,r,o):(X=e,e=a),e===a&&(e=X,(t=ne())!==a&&(n=re())!==a&&(r=function(){var e;return(e=v)!==a&&(e=F()),e}())!==a?e=t=f(t,n,r):(X=e,e=a)),e}())===a&&(t=function(){var t,n,r,o;return t=X,(n=function(){var t;return e.substr(X,7).toLowerCase()===w?(t=e.substr(X,7),X+=7):(t=a,ee(E)),t===a&&(e.substr(X,5).toLowerCase()===k?(t=e.substr(X,5),X+=5):(t=a,ee(x))),t!==a&&(t=D()),t}())!==a&&(r=oe())!==a&&(o=se())!==a?t=n=_(n,r,o):(X=t,t=a),t}())===a&&(t=function(){var e,t,n;return e=X,(t=oe())!==a&&(n=se())!==a?e=t=S(t,n):(X=e,e=a),e}())===a&&(t=function(){var t,n;return t=X,function(){var t;return(t=function(){var t,n,r;return t=X,46===e.charCodeAt(X)?(n=R,X++):(n=a,ee(B)),n!==a&&(r=ue())!==a?t=n=[n,r]:(X=t,t=a),t}())===a&&(t=v),t}()!==a&&(n=se())!==a?t=I(n):(X=t,t=a),t}()),t}function ne(){var t,n;return e.substr(X,7).toLowerCase()===d?(n=e.substr(X,7),X+=7):(n=a,ee(h)),n!==a&&(n=p()),(t=n)===a&&(t=function(){var t;return e.substr(X,8).toLowerCase()===m?(t=e.substr(X,8),X+=8):(t=a,ee(g)),t!==a&&(t=y()),t}()),t}function re(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=X,(n=v)!==a&&(n=b()),t=n),t}function oe(){var t;return(t=function(){var t,n,r,o;return t=X,(n=ue())===a&&(n=null),n!==a?(C.test(e.charAt(X))?(r=e.charAt(X),X++):(r=a,ee($)),r!==a?(58===e.charCodeAt(X)?(o=O,X++):(o=a,ee(A)),o!==a&&ue()!==a?t=n=P(r):(X=t,t=a)):(X=t,t=a)):(X=t,t=a),t}())===a&&(t=ie()),t}function ie(){var e;return(e=ue())!==a&&(e=j()),e}function se(){var e;return(e=function e(){var t,n,r;return t=X,(n=ae())!==a&&ue()!==a&&(r=e())!==a?t=n=T(n,r):(X=t,t=a),t===a&&(t=X,(n=ae())!==a&&(n=M(n)),t=n),t}())!==a&&(e=N(e)),e}function ae(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=v),t}function ue(){var t;return 47===e.charCodeAt(X)?(t=L,X++):(t=a,ee(z)),t===a&&(92===e.charCodeAt(X)?(t=U,X++):(t=a,ee(q))),t}function ce(){var t;return V.test(e.charAt(X))?(t=e.charAt(X),X++):(t=a,ee(Q)),t}if((n=c())!==a&&X===e.length)return n;throw n!==a&&X<e.length&&ee({type:"end"}),r=J,i=K<e.length?e.charAt(K):null,s=K<e.length?Y(K,K+1):Y(K,K),new o(o.buildMessage(r,i),r,i,s)};function s(e){if("string"!=typeof e)throw new Error(`@stoplight/path: Cannot parse ${e} because it is not a string`);return i(e,{})}function a(e){return r(u(s(e)))}function u(e){let t=e.path;t=t.filter((e=>""!==e&&"."!==e));const n=[];for(const r of t)".."===r&&n.length&&".."!==n[n.length-1]?n.pop():".."===r&&e.absolute||n.push(r);return e.path=n,e}function c(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let n=e,r="";return t>0&&(n=e.slice(0,t),r=e.slice(t)),{name:n,ext:r}}const l=(e,t)=>{const n=u(s(e)).path.pop();if(!n)return"";const{name:r,ext:o}=c(n);return!0===t||t===o?r:`${r}${o}`},f=e=>{const t=u(s(e));return t.path.pop(),r(u(t))},d=e=>{const t=u(s(e)).path.pop();if(!t)return"";const{ext:n}=c(t);return n};function h(e){return s(e).absolute}function p(e){const t=s(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(s),n=Object.assign({},t[0]);for(let r=1;r<t.length;r++){const o=t[r];if(o.absolute)throw new Error('Cannot join an absolute path "'+e[r]+'" in the middle of other paths.');for(const e of o.path)n.path.push(e)}return r(u(n))};function g(e,t){const n=u(s(t));if(!n.absolute)return r(n);const o=u(s(e));if(n.origin!==o.origin)return r(n);if(!o.absolute)return r(n);if(o.drive!==n.drive)return r(n);const i=Math.min(o.path.length,n.path.length);for(let r=0;r<i&&o.path[0]===n.path[0];r++)o.path.shift(),n.path.shift();return n.path.unshift(...o.path.fill("..")),r({origin:null,drive:null,absolute:!1,protocol:null,path:n.path})}function y(...e){if(0===e.length)return".";const t=u(s(e[e.length-1]));return t.absolute?r(t):m(...e)}const v="/",b=e=>null!==s(e).drive,_=e=>s(e).path.filter(Boolean).join("/");function w(e){const[t,n,r,...o]=e.split("/"),i=o.length?`/${o.join("/")}`:void 0;let s,a;return i&&(s=o.find((e=>e.includes("."))))&&(a=c(s).ext),{shortcode:t,orgSlug:n,projectSlug:r,uri:i,file:s,ext:a}}function E({shortcode:e,orgSlug:t,projectSlug:n,uri:r=""}){return[e,t,n,r.replace(/^\//,"")].filter(Boolean).join("/")}},4407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=n(49241),o=n(19282),i=n(86825),s=n(99412),a="https://json-schema.org/draft/2020-12/schema";class u extends r.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(s.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=u,e.exports=t=u,e.exports.Ajv2020=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var l=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var f=n(14282);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var d=n(24186);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})},80477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)u(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const s=new o("+");function a(e,...t){const n=[l(e[0])];let r=0;for(;r<t.length;)n.push(s),u(n,t[r]),n.push(s,l(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function u(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:l(Array.isArray(n)?n.join(","):n))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=a,t.addCodeArg=u,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new o(l(e))},t.safeStringify=l,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},15923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(80477),o=n(91131);var i=n(80477);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var s=n(91131);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class u extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=P(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=P(this.rhs,e,t),this}get names(){return A(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class l extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class f extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=P(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(j(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>O(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class v extends g{}v.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(F(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=P(this.condition,e,t),this}get names(){const e=super.names;return A(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class _ extends g{}_.kind="for";class w extends _{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=P(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class E extends _{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=A(super.names,this.from);return A(e,this.to)}}class k extends _{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=P(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class x extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class D extends m{render(e){return"return "+super.render(e)}}D.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class C extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class $ extends g{render(e){return"finally"+super.render(e)}}$.kind="finally";function O(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function A(e,t){return t instanceof r._CodeOrName?O(e,t.names):e}function P(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function F(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${M(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new l(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const s=this._scope.toName(e);return this._for(new E(i,s,t,n),(()=>r(s)))}forOf(e,t,n,i=o.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(s,r._`${e}[${t}]`),n(s)}))}return this._for(new k("of",i,s,t),(()=>n(s)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new k("in",i,s,t),(()=>n(s)))}endFor(){return this._endBlockNode(_)}label(e){return this._leafNode(new f(e))}break(e){return this._leafNode(new d(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new $,this.code(n)),this._endBlockNode(C,$)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new x(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=F;const I=T(t.operators.AND);t.and=function(...e){return e.reduce(I)};const N=T(t.operators.OR);function T(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${M(t)} ${e} ${M(n)}`}function M(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(N)}},91131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(80477);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=a;const u=r._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:r.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[o];if(s){const e=s.get(i);if(e)return e}else s=this._values[o]=new Map;s.set(i,r);const a=this._scope[o]||(this._scope[o]=[]),u=a.length;return a[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,s={},a){let u=r.nil;for(const c in e){const l=e[c];if(!l)continue;const f=s[c]=s[c]||new Map;l.forEach((e=>{if(f.has(e))return;f.set(e,i.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;u=r._`${u}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new o(e);u=r._`${u}${s}${this.opts._n}`}f.set(e,i.Completed)}))}return u}}},76028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(15923),o=n(91571),i=n(92115);function s(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function a(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:u}=e,{gen:l,compositeRule:f,allErrors:d}=u,h=c(e,n,o);(null!=i?i:f||d)?s(l,h):a(u,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:u,compositeRule:l,allErrors:f}=o;s(u,c(e,n,r)),l||f||a(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",s,i.default.errors,(s=>{e.const(u,r._`${i.default.vErrors}[${s}]`),e.if(r._`${u}.instancePath === undefined`,(()=>e.assign(r._`${u}.instancePath`,(0,r.strConcat)(i.default.instancePath,a.errorPath)))),e.assign(r._`${u}.schemaPath`,r.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(r._`${u}.schema`,n),e.assign(r._`${u}.data`,o))}))};const u={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:s}=e,a=[l(s,n),f(e,n)];return function(e,{params:t,message:n},o){const{keyword:s,data:a,schemaValue:c,it:l}=e,{opts:f,propertyName:d,topSchemaRef:h,schemaPath:p}=l;o.push([u.keyword,s],[u.params,"function"==typeof t?t(e):t||r._`{}`]),f.messages&&o.push([u.message,"function"==typeof n?n(e):n]);f.verbose&&o.push([u.schema,c],[u.parentSchema,r._`${h}${p}`],[i.default.data,a]);d&&o.push([u.propertyName,d])}(e,t,a),o.object(...a)}(e,t,n)}function l({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function f({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let s=i?t:r.str`${t}/${e}`;return n&&(s=r.str`${s}${(0,o.getErrorPath)(n,o.Type.Str)}`),[u.schemaPath,s]}},76968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(15923),o=n(14282),i=n(92115),s=n(48147),a=n(91571),u=n(4998);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function l(e){const t=d.call(this,e);if(t)return t;const n=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:l}=this.opts,f=new r.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let h;e.$async&&(h=f.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");e.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,u.validateFunctionCode)(m),f.optimize(this.opts.code.optimize);const t=f.toString();g=`${f.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(y){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),y}finally{this._compilations.delete(e)}}function f(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:l.call(this,e)}function d(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function h(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),r=(0,s._getFullPath)(this.opts.uriResolver,n);let o=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const i=(0,s.normalizeId)(r),a=this.refs[i]||this.schemas[i];if("string"==typeof a){const t=p.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||l.call(this,a),i===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,s.resolveUrl)(this.opts.uriResolver,o,r)),new c({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,a)}}t.SchemaEnv=c,t.compileSchema=l,t.resolveRef=function(e,t,n){var r;n=(0,s.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=h.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:s}=this.opts;o&&(i=new c({schema:o,schemaId:s,root:e,baseId:t}))}return void 0!==i?e.refs[n]=f.call(this,i):void 0},t.getCompilingSchema=d,t.resolveSchema=p;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const c of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,a.unescapeFragment)(c)];if(void 0===e)return;const r="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(c)&&r&&(t=(0,s.resolveUrl)(this.opts.uriResolver,t,r))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=p.call(this,r,e)}const{schemaId:u}=this.opts;return i=i||new c({schema:n,schemaId:u,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},92115:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},24186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48147);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},48147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(91571),o=n(69378),i=n(19522),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!u(e):!!t&&c(e)<=t)};const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(e){for(const t in e){if(a.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(u))return!0;if("object"==typeof n&&u(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function l(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return f(e,r)}function f(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=f;const d=/#\/?$/;function h(e){return e?e.replace(d,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,s=h(e[n]||t),a={"":s},u=l(r,s,!1),c={},f=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=u+t;let s=a[o];function l(t){const n=this.opts.uriResolver.resolve;if(t=h(s?n(s,t):t),f.has(t))throw m(t);f.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?d(e,r.schema,t):t!==h(i)&&("#"===t[0]?(d(e,c[t],t),c[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}"string"==typeof e[n]&&(s=l.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),a[t]=s})),c;function d(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},22825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},91571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(15923),o=n(80477);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const i in t)o[i]||p(e,`unknown keyword: "${i}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,s,a,u)=>{const c=void 0===a?s:a instanceof r.Name?(s instanceof r.Name?e(i,s,a):t(i,s,a),a):s instanceof r.Name?(t(i,a,s),s):n(s,a);return u!==r.Name||c instanceof r.Name?c:o(i,c)}}function l(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&f(e,n,t),n}function f(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return u(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=u,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),f(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:l}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=l,t.setEvaluated=f;const d={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:d[t.code]||(d[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=p},34540:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},12175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(76028),o=n(15923),i=n(92115),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),a(e)):n.var(t,!0)}},31411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(22825),o=n(34540),i=n(76028),s=n(15923),a=n(91571);var u;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(u||(t.DataType=u={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,a=function(e,t){return t?e.filter((e=>l.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(c){const o=d(t,r,i.strictNumbers,u.Wrong);n.if(o,(()=>{a.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",s._`typeof ${o}`),u=r.let("coerced",s._`undefined`);"array"===i.coerceTypes&&r.if(s._`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,s._`${o}[0]`).assign(a,s._`typeof ${o}`).if(d(t,o,i.strictNumbers),(()=>r.assign(u,o)))));r.if(s._`${u} !== undefined`);for(const s of n)(l.has(s)||"array"===s&&"array"===i.coerceTypes)&&c(s);function c(e){switch(e){case"string":return void r.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(u,s._`"" + ${o}`).elseIf(s._`${o} === null`).assign(u,s._`""`);case"number":return void r.elseIf(s._`${a} == "boolean" || ${o} === null + || (${a} == "string" && ${o} && ${o} == +${o})`).assign(u,s._`+${o}`);case"integer":return void r.elseIf(s._`${a} === "boolean" || ${o} === null + || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(u,s._`+${o}`);case"boolean":return void r.elseIf(s._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(u,!1).elseIf(s._`${o} === "true" || ${o} === 1`).assign(u,!0);case"null":return r.elseIf(s._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(u,null);case"array":r.elseIf(s._`${a} === "string" || ${a} === "number" + || ${a} === "boolean" || ${o} === null`).assign(u,s._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(s._`${u} !== undefined`,(()=>{r.assign(o,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,r)))}(e,u)}))}(e,t,a):p(e)}))}return c};const l=new Set(["string","number","integer","boolean","null"]);function f(e,t,n,r=u.Correct){const o=r===u.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===u.Correct?i:(0,s.not)(i);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function d(e,t,n,r){if(1===e.length)return f(e[0],t,n,r);let o;const i=(0,a.toHash)(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const a in i)o=(0,s.and)(o,f(a,t,n,r));return o}t.checkDataType=f,t.checkDataTypes=d;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,a.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},14911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(15923),o=n(91571);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:u}=e;if(void 0===n)return;const c=r._`${a}${(0,r.getProperty)(t)}`;if(s)return void(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);let l=r._`${c} === undefined`;"empty"===u.useDefaults&&(l=r._`${l} || ${c} === null || ${c} === ""`),i.if(l,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const o in n)i(e,o,n[o].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(12175),o=n(31411),i=n(34540),s=n(31411),a=n(14911),u=n(47366),c=n(62795),l=n(15923),f=n(92115),d=n(48147),h=n(91571),p=n(76028);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${f.default.data}, ${f.default.valCxt}`,r.$async,(()=>{e.code(l._`"use strict"; ${g(n,o)}`),function(e,t){e.if(f.default.valCxt,(()=>{e.var(f.default.instancePath,l._`${f.default.valCxt}.${f.default.instancePath}`),e.var(f.default.parentData,l._`${f.default.valCxt}.${f.default.parentData}`),e.var(f.default.parentDataProperty,l._`${f.default.valCxt}.${f.default.parentDataProperty}`),e.var(f.default.rootData,l._`${f.default.valCxt}.${f.default.rootData}`),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`${f.default.valCxt}.${f.default.dynamicAnchors}`)}),(()=>{e.var(f.default.instancePath,l._`""`),e.var(f.default.parentData,l._`undefined`),e.var(f.default.parentDataProperty,l._`undefined`),e.var(f.default.rootData,f.default.data),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`{}`)}))}(e,o),e.code(i)})):e.func(t,l._`${f.default.data}, ${function(e){return l._`{${f.default.instancePath}="", ${f.default.parentData}, ${f.default.parentDataProperty}, ${f.default.rootData}=${f.default.data}${e.dynamicRef?l._`, ${f.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(i)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function y(e,t){b(e)&&(_(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&E(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",f.default.errors);w(e,i),r.var(t,l._`${i} === ${f.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function _(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return k(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);k(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function E({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${f.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${f.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function k(e,t,n,r){const{gen:o,schema:a,data:u,allErrors:c,opts:d,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(a,h)&&(h.type?(o.if((0,s.checkDataType)(h.type,u,d.strictNumbers)),x(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,s.reportTypeError)(e)),o.endIf()):x(e,h),c||o.if(l._`${f.default.errors} === ${r||0}`))}!a.$ref||!d.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(a,m)?(d.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{S(e.dataTypes,t)||C(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)S(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&C(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>D(t,e)))&&C(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>O(e,"$ref",m.all.$ref.definition)))}function x(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&O(e,n.keyword,n.definition,t.type)}))}function D(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function C(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(_(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&E(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(f.default.vErrors,null),r.let(f.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,(()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`))),t.if(l._`${e.evaluated}.dynamicItems`,(()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${f.default.errors} === 0`,(()=>t.return(f.default.data)),(()=>t.throw(l._`new ${o}(${f.default.vErrors})`))):(t.assign(l._`${r}.errors`,f.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n);r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${f.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class ${constructor(e,t,n){if((0,u.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",j(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",f.default.errors))}result(e,t,n){this.failResult((0,l.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,l.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,l.or)(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,l.or)(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${(0,s.checkDataTypes)(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,l.Name))),!0}}function O(e,t,n,r){const o=new $(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,u.funcKeywordCode)(o,n):"macro"in n?(0,u.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,u.funcKeywordCode)(o,n)}t.KeywordCxt=$;const A=/^\/(?:[^~]|~0|~1)*$/,P=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function j(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return f.default.rootData;if("/"===e[0]){if(!A.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=f.default.rootData}else{const s=P.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(u("property/index",a));return r[t-a]}if(a>t)throw new Error(u("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const c of a)c&&(i=l._`${i}${(0,l.getProperty)((0,h.unescapeJsonPointer)(c))}`,s=l._`${s} && ${i}`);return s;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=j},47366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(15923),o=n(92115),i=n(7861),s=n(76028);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function u(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,c=t.macro.call(a.self,i,s,a),l=u(n,o,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const f=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:l,schema:f,parentSchema:d,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,f,d,p):t.validate,g=u(c,l,m),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const s=p.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!h||!1===t.schema);c.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,s,a)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&a(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${g}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&a(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},62795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(15923),o=n(91571);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:u}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:u,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:u}=t;l(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${s}${(0,o.getErrorPath)(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==s){l(s instanceof r.Name?s:c.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},49241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(14282),s=n(24186),a=n(22825),u=n(76968),c=n(15923),l=n(48147),f=n(31411),d=n(91571),h=n(338),p=n(32726),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function _(e){var t,n,r,o,i,s,a,u,c,l,f,d,h,g,y,v,b,_,w,E,k,x,D,S,C;const $=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,A=!0===O||void 0===O?1:O||0,P=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,j=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(s=null!==(i=e.strictSchema)&&void 0!==i?i:$)||void 0===s||s,strictNumbers:null===(u=null!==(a=e.strictNumbers)&&void 0!==a?a:$)||void 0===u||u,strictTypes:null!==(l=null!==(c=e.strictTypes)&&void 0!==c?c:$)&&void 0!==l?l:"log",strictTuples:null!==(d=null!==(f=e.strictTuples)&&void 0!==f?f:$)&&void 0!==d?d:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:$)&&void 0!==g&&g,code:e.code?{...e.code,optimize:A,regExp:P}:{optimize:A,regExp:P},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(E=e.schemaId)&&void 0!==E?E:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(x=e.validateSchema)||void 0===x||x,validateFormats:null===(D=e.validateFormats)||void 0===D||D,unicodeRegExp:null===(S=e.unicodeRegExp)||void 0===S||S,int32range:null===(C=e.int32range)||void 0===C||C,uriResolver:j}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,..._(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return $;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),E.call(this,v,e,"NOT SUPPORTED"),E.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&S.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),x.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await u.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new u.SchemaEnv({schema:{},schemaId:n});if(t=u.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(A.call(this,n,t),!t)return(0,d.eachItem)(n,(e=>P.call(this,e))),this;F.call(this,t);const r={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,d.eachItem)(n,0===r.type.length?e=>P.call(this,e,r):e=>r.type.forEach((t=>P.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=N(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,l.normalizeId)(i||n);const c=l.getSchemaRefs.call(this,e,n);return a=new u.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:c}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):u.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,e)}finally{this.opts=t}}}function E(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function k(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function x(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function S(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function C(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=s.default,t.default=w;const $={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function A(e,t){const{RULES:n}=this;if((0,d.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function P(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?j.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function j(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function F(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=N(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function N(e){return{anyOf:[e,I]}}},99412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(47322),o=n(70764),i=n(5124),s=n(96666),a=n(43182),u=n(71637),c=n(27889),l=n(83575),f=["/properties"];t.default=function(e){return[r,o,i,s,a,t(this,u),c,t(this,l)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,f):n}}},10487:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69378);r.code='require("ajv/dist/runtime/equal").default',t.default=r},77079:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},32726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(12854);r.code='require("ajv/dist/runtime/uri").default',t.default=r},14282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},78789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(15923),o=n(91571),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:u}=e;u.items=!0;const c=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(u,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),u.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},12964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(92115),s=n(91571),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:u,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=l;if(l.props=!0,"all"!==d.removeAdditional&&(0,s.alwaysValidSchema)(l,n))return;const h=(0,r.allSchemaProperties)(a.properties),p=(0,r.allSchemaProperties)(a.patternProperties);function m(e){t.code(o._`delete ${u}[${e}]`)}function g(r){if("all"===d.removeAdditional||d.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(f||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(l,n)){const n=t.name("valid");"failing"===d.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(y(r,n),f||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",u,(n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,s.schemaRefOrVal)(l,a.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map((e=>o._`${n} === ${e}`))):o.nil;return p.length&&(i=(0,o.or)(i,...p.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>g(n))):g(n)})),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=a},9076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)}))}};t.default=o},17361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(7861).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},25483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let u,c;const{minContains:l,maxContains:f}=i;a.opts.next?(u=void 0===l?1:l,c=f):u=1;const d=t.const("len",r._`${s}.length`);if(e.setParams({min:u,max:c}),void 0===c&&0===u)return void(0,o.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&u>c)return(0,o.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(a,n)){let t=r._`${d} >= ${u}`;return void 0!==c&&(t=r._`${t} && ${d} <= ${c}`),void e.pass(t)}a.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(h,!1).break())),1===u?t.assign(h,!0):t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0))))}(n)))))}function m(n,r){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===u?m(h,(()=>t.if(h,(()=>t.break())))):0===u?(t.let(h,!0),void 0!==c&&t.if(r._`${s}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,(()=>e.reset()))}};t.default=i},61958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(15923),o=n(91571),i=n(7861);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e}, + missingProperty: ${o}, + depsCount: ${t}, + deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);a(e,t),u(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const u in t){const c=t[u];if(0===c.length)continue;const l=(0,i.propertyInData)(n,o,u,s.opts.ownProperties);e.setParams({property:u,depsCount:c.length,deps:c.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of c)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,c,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function u(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,u=n.name("valid");for(const c in t)(0,o.alwaysValidSchema)(a,t[c])||(n.if((0,i.propertyInData)(n,r,c,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:c},u);e.mergeValidEvaluated(t,u)}),(()=>n.var(u,!0))),e.ok(u))}t.validatePropertyDeps=a,t.validateSchemaDeps=u,t.default=s},94341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,r.validateSchemaDeps)(e)};t.default=o},18686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),u=s(i,"else");if(!a&&!u)return;const c=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&u){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,f("then",n),f("else",n))}else a?t.if(l,f("then")):t.if((0,r.not)(l),f("else"));function f(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(c,l),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},74741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(78789),o=n(65068),i=n(9256),s=n(14882),a=n(25483),u=n(61958),c=n(88806),l=n(12964),f=n(97558),d=n(52914),h=n(69546),p=n(17361),m=n(74872),g=n(9076),y=n(18686),v=n(15269);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,v.default,c.default,l.default,u.default,f.default,d.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},9256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(15923),o=n(91571),i=n(7861),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:u,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${u}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(c,e,r.strictTuples)}}(s),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const l=i.name("valid"),f=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(c,t)||(i.if(r._`${f} > ${n}`,(()=>e.subschema({keyword:u,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},14882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(7861),s=n(78789),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},69546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},74872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,u=t.let("valid",!1),c=t.let("passing",null),l=t.name("_valid");e.setParams({passing:c}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${u}`).assign(u,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(l,(()=>{t.assign(u,!0),t.assign(c,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(u,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},52914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s=n(91571),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:u,it:c}=e,{opts:l}=c,f=(0,r.allSchemaProperties)(n),d=f.filter((e=>(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length||d.length===f.length&&(!c.opts.unevaluated||!0===c.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&u.properties,p=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=(0,s.evaluatedPropsToName)(t,c.props));const{props:m}=c;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=d.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},p),c.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||c.allErrors||t.if((0,o.not)(p),(()=>t.break()))}))}))}!function(){for(const e of f)h&&g(e),c.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=a},65068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9256),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},97558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4998),o=n(7861),i=n(91571),s=n(12964),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:u,it:c}=e;"all"===c.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(c,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const r of l)c.definedProperties.add(r);c.opts.unevaluated&&l.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),c.props));const f=l.filter((e=>!(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length)return;const d=t.name("valid");for(const r of f)h(r)?p(r):(t.if((0,o.propertyInData)(t,u,r,c.opts.ownProperties)),p(r),c.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(d);function h(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t.default=a},88806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},15269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(15923),o=n(91571),i=n(92115),s=n(91571);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function u(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function c(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(u(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(c(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(c(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=u,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${u(e,t,n)}`:i},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:u},c,l,f){const d=f?r._`${e}, ${t}, ${o}${s}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,u.parentData],[i.default.parentDataProperty,u.parentDataProperty],[i.default.rootData,i.default.rootData]];u.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${d}, ${n.object(...h)}`;return l!==r.nil?r._`${c}.call(${l}, ${p})`:r._`${c}(${p})`};const f=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?f:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return u((()=>t.assign(e,!1))),e}return t.var(a,!0),u((()=>t.break())),a;function u(s){const u=t.const("len",r._`${n}.length`);t.forRange("i",0,u,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),u=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},u);t.assign(a,r._`${a} || ${u}`);e.mergeValidEvaluated(s,u)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},95923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},35479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(95923),o=n(61905),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},61905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(24186),o=n(7861),i=n(15923),s=n(92115),a=n(76968),u=n(91571),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:u,validateName:c,opts:d,self:h}=o,{root:p}=u;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(u===p)return f(e,c,u,u.$async);const n=t.scopeValue("root",{ref:p});return f(e,i._`${n}.validate`,p,p.$async)}();const m=a.resolveRef.call(h,p,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);f(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===d.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function f(e,t,n,r){const{gen:a,it:c}=e,{allErrors:l,schemaEnv:f,opts:d}=c,h=d.passContext?s.default.this:i.nil;function p(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=u.mergeEvaluated.props(a,r.props,c.props));else{const t=a.var("props",i._`${e}.evaluated.props`);c.props=u.mergeEvaluated.props(a,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=u.mergeEvaluated.items(a,r.items,c.items));else{const t=a.var("items",i._`${e}.evaluated.items`);c.items=u.mergeEvaluated.items(a,t,c.items,i.Name)}}r?function(){if(!f.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${c.ValidationError})`,(()=>a.throw(e))),p(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),(()=>m(t)),(()=>p(t)))}t.getValidate=l,t.callRef=f,t.default=c},86825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91072),i=n(76968),s=n(91571),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:a,parentSchema:u,it:c}=e,{oneOf:l}=u;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function p(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let u=0;u<l.length;u++){let t=l[u];(null==t?void 0:t.$ref)&&!(0,s.schemaHasRulesButRef)(t,c.self.RULES)&&(t=i.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,null==t?void 0:t.$ref),t instanceof i.SchemaEnv&&(t=t.schema));const d=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(t)),a(d,u)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function a(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,p(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=a},91072:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},19282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(35479),o=n(31226),i=n(74741),s=n(82175),a=n(72628),u=n(22163),c=n(50051),l=n(17148),f=[s.default,r.default,o.default,(0,i.default)(!0),c.default,l.metadataVocabulary,l.contentVocabulary,a.default,u.default];t.default=f},34960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicAnchor=void 0;const r=n(15923),o=n(92115),i=n(76968),s=n(61905),a={keyword:"$dynamicAnchor",schemaType:"string",code:e=>u(e,e.schema)};function u(e,t){const{gen:n,it:a}=e;a.schemaEnv.root.dynamicAnchors[t]=!0;const u=r._`${o.default.dynamicAnchors}${(0,r.getProperty)(t)}`,c="#"===a.errSchemaPath?a.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:a,localRefs:u,meta:c}=t.root,{schemaId:l}=r.opts,f=new i.SchemaEnv({schema:n,schemaId:l,root:o,baseId:a,localRefs:u,meta:c});return i.compileSchema.call(r,f),(0,s.getValidate)(e,f)}(e);n.if(r._`!${u}`,(()=>n.assign(u,c)))}t.dynamicAnchor=u,t.default=a},5139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicRef=void 0;const r=n(15923),o=n(92115),i=n(61905),s={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)};function a(e,t){const{gen:n,keyword:s,it:a}=e;if("#"!==t[0])throw new Error(`"${s}" only supports hash fragment reference`);const u=t.slice(1);if(a.allErrors)c();else{const t=n.let("valid",!1);c(t),e.ok(t)}function c(e){if(a.schemaEnv.root.dynamicAnchors[u]){const t=n.let("_v",r._`${o.default.dynamicAnchors}${(0,r.getProperty)(u)}`);n.if(t,l(t,e),l(a.validateName,e))}else l(a.validateName,e)()}function l(t,r){return r?()=>n.block((()=>{(0,i.callRef)(e,t),n.let(r,!0)})):()=>(0,i.callRef)(e,t)}}t.dynamicRef=a,t.default=s},82175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(5139),i=n(77374),s=n(29873),a=[r.default,o.default,i.default,s.default];t.default=a},77374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(91571),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,r.dynamicAnchor)(e,""):(0,o.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t.default=i},29873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5139),o={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,r.dynamicRef)(e,e.schema)};t.default=o},41656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:u}=e,{opts:c,errSchemaPath:l,schemaEnv:f,self:d}=u;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:d.formats,code:c.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),u=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(u,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(u,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=f.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${u} === ${t} && !${n}`}()))}():function(){const i=d.formats[s];if(!i)return void function(){if(!1===c.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}}();if(!0===i)return;const[a,u,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!f.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof u?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},50051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(41656).default];t.default=r},17148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},72628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(22913),o=n(94341),i=n(83014),s=[r.default,o.default,i.default];t.default=s},22163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(96953),o=n(21540),i=[r.default,o.default];t.default=i},21540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e,a=s.items||0;if(!0===a)return;const u=t.const("len",r._`${i}.length`);if(!1===n)e.setParams({len:a}),e.fail(r._`${u} > ${a}`);else if("object"==typeof n&&!(0,o.alwaysValidSchema)(s,n)){const n=t.var("valid",r._`${u} <= ${a}`);t.if((0,r.not)(n),(()=>function(n,i){t.forRange("i",i,u,(i=>{e.subschema({keyword:"unevaluatedItems",dataProp:i,dataPropType:o.Type.Num},n),s.allErrors||t.if((0,r.not)(n),(()=>t.break()))}))}(n,a))),e.ok(n)}s.items=!0}};t.default=i},96953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(92115),s={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>r._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:s,errsCount:a,it:u}=e;if(!a)throw new Error("ajv implementation error");const{allErrors:c,props:l}=u;function f(i){if(!1===n)return e.setParams({unevaluatedProperty:i}),e.error(),void(c||t.break());if(!(0,o.alwaysValidSchema)(u,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:i,dataPropType:o.Type.Str},n),c||t.if((0,r.not)(n),(()=>t.break()))}}l instanceof r.Name?t.if(r._`${l} !== true`,(()=>t.forIn("key",s,(e=>t.if(function(e,t){return r._`!${e} || !${e}[${t}]`}(l,e),(()=>f(e))))))):!0!==l&&t.forIn("key",s,(e=>void 0===l?f(e):t.if(function(e,t){const n=[];for(const o in e)!0===e[o]&&n.push(r._`${t} !== ${o}`);return(0,r.and)(...n)}(l,e),(()=>f(e))))),u.props=!0,e.ok(r._`${a} === ${i.default.errors}`)}};t.default=s},11498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:u}=e;s||u&&"object"==typeof u?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${u} !== ${n}`)}};t.default=s},22913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentRequired",type:"object",schemaType:"object",error:r.error,code:e=>(0,r.validatePropertyDeps)(e)};t.default=o},70269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:u,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=c.opts.loopEnum;let f;const d=()=>null!=f?f:f=(0,o.useFunc)(t,i.default);let h;if(l||s)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",u,(e=>t.if(r._`${d()}(${n}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",u);h=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${d()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(h)}};t.default=s},31226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(94885),o=n(32066),i=n(97997),s=n(52787),a=n(12674),u=n(35390),c=n(20262),l=n(86534),f=n(11498),d=n(70269),h=[r.default,o.default,i.default,s.default,a.default,u.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},f.default,d.default];t.default=h},83014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,r.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};t.default=o},20262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},97997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(77079),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,u="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${u} ${s}`)}};t.default=s},94885:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},12674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},32066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),u=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${u}))`)}};t.default=o},52787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:s,it:a}=e,u=a.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${s}, ${u}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},35390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:u,it:c}=e,{opts:l}=c;if(!u&&0===n.length)return;const f=n.length>=l.loopRequired;if(c.allErrors?function(){if(f||u)e.block$data(o.nil,d);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(f||u){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(c,t,c.opts.strictRequired)}}function d(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},86534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31411),o=n(15923),i=n(91571),s=n(10487),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:u,parentSchema:c,schemaCode:l,it:f}=e;if(!a&&!u)return;const d=t.let("valid"),h=c.items?(0,r.getSchemaTypes)(c.items):[];function p(i,s){const a=t.name("item"),u=(0,r.checkDataTypes)(h,a,f.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(u,o._`continue`),h.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${c}[${a}] == "number"`,(()=>{t.assign(s,o._`${c}[${a}]`),e.error(),t.assign(d,!1).break()})).code(o._`${c}[${a}] = ${i}`)}))}function m(r,a){const u=(0,i.useFunc)(t,s.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${u}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(d,!1).break(c)}))))))}e.block$data(d,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(d,!0),t.if(o._`${r} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?p:m)(r,i)))}),o._`${l} === false`),e.ok(d)}};t.default=a},5750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>B});var r=n(2784),o=n(89741),i=n(40489),s=n(60361),a=n(97683);function u(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,s.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var c=n(90211),l=n(84501),f=n.n(l);const d=/title=(?<quote>["'])(?<title>.*?)\1/,h=/\{(?<range>[\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function y(e,t){const n=e.map((e=>{const{start:n,end:r}=m[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:o,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,r=f()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return y(["js","jsBlock"],t);case"jsx":case"tsx":return y(["js","jsBlock","jsx"],t);case"html":return y(["js","jsBlock","html"],t);case"python":case"py":case"bash":return y(["bash"],t);case"markdown":case"md":return y(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return y(["tex"],t);case"lua":case"haskell":case"sql":return y(["lua"],t);case"wasm":return y(["wasm"],t);case"vb":case"vba":case"visual-basic":return y(["vb","rem"],t);case"vbnet":return y(["vbnet","rem"],t);case"batch":return y(["rem"],t);case"basic":return y(["rem","f90"],t);case"fsharp":return y(["js","ml"],t);case"ocaml":case"sml":return y(["ml"],t);case"fortran":return y(["f90"],t);case"cobol":return y(["cobol"],t);default:return y(g,t)}}(r,o),a=n.split("\n"),u=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),l=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let f=0;f<a.length;){const e=a[f].match(s);if(!e){f+=1;continue}const t=e.slice(1).find((e=>void 0!==e));c[t]?u[c[t]].range+=`${f},`:l[t]?u[l[t]].start=f:d[t]&&(u[d[t]].range+=`${u[d[t]].start}-${f-1},`),a.splice(f,1)}n=a.join("\n");const p={};return Object.entries(u).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(52322);function w(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,o]=e;const i=t[r];i&&"string"==typeof o&&(n[i]=o)})),n}(u());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,c.k.common.codeBlock)})}const E={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function k(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:E.codeBlockLines,children:t})})}var x=n(6335);const D={attributes:!0,characterData:!0,childList:!0,subtree:!0};function S(e,t){const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,r.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=D);const o=(0,x.zX)(t),i=(0,x.Ql)(n);(0,r.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,i),()=>t.disconnect()}),[e,o,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var C=n(16935);const $={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function O(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,i.Z)(n,r&&$.codeLine)}),u=t.map(((e,t)=>(0,_.jsx)("span",{...s({token:e})},t)));return(0,_.jsxs)("span",{...a,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:$.codeLineNumber}),(0,_.jsx)("span",{className:$.codeLineContent,children:u})]}):u,(0,_.jsx)("br",{})]})}var A=n(1077);function P(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function j(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const F={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function I(e){let{code:t,className:n}=e;const[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),u=(0,r.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection(),s=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),o&&o.focus()}(t),s(!0),a.current=window.setTimeout((()=>{s(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,A.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,A.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,A.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,F.copyButton,o&&F.copyButtonCopied),onClick:u,children:(0,_.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(P,{className:F.copyButtonIcon}),(0,_.jsx)(j,{className:F.copyButtonSuccessIcon})]})})}function N(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const T={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function M(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,A.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,_.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&T.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(N,{className:T.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:s,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:f,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(l??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=u(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,r.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)}),[i]);return S(i,a),(0,r.useEffect)((()=>{a()}),[e,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:s}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||s,{lineClassNames:b,code:k}=v(t,{metastring:o,language:p,magicComments:h}),x=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[y&&(0,_.jsx)("div",{className:E.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:E.codeBlockContent,children:[(0,_.jsx)(C.y$,{theme:m,code:k,language:p??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:s}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)(O,{line:e,getLineProps:o,getTokenProps:s,classNames:b[t],showLineNumbers:x},t)))})})}}),(0,_.jsxs)("div",{className:E.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(M,{className:E.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(I,{className:E.codeButton,code:k})]})]})]})}function B(e){let{children:t,...n}=e;const i=(0,o.Z)(),s=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof s?R:k;return(0,_.jsx)(a,{...n,children:s},String(i))}},98480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(2784),o=n(40489),i=n(42530),s=n(89741),a=n(28698);const u={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var c=n(52322);function l(e){return!!e&&("SUMMARY"===e.tagName||l(e.parentElement))}function f(e,t){return!!e&&(e===t||f(e.parentElement,t))}function d(e){let{summary:t,children:n,...d}=e;(0,i.Z)().collectAnchor(d.id);const h=(0,s.Z)(),p=(0,r.useRef)(null),{collapsed:m,setCollapsed:g}=(0,a.u)({initialState:!d.open}),[y,v]=(0,r.useState)(d.open),b=r.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...d,ref:p,open:y,"data-collapsed":m,className:(0,o.Z)(u.details,h&&u.isBrowser,d.className),onMouseDown:e=>{l(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;l(t)&&f(t,p.current)&&(e.preventDefault(),m?(g(!1),v(!0)):g(!0))},children:[b,(0,c.jsx)(a.z,{lazy:!1,collapsed:m,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{g(e),v(!e)},children:(0,c.jsx)("div",{className:u.collapsibleContent,children:n})})]})}const h={details:"details_SZgV"},p="alert alert--info";function m(e){let{...t}=e;return(0,c.jsx)(d,{...t,className:(0,o.Z)(p,h.details,t.className)})}},82009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});n(2784);var r=n(40489);const o={tabItem:"tabItem_OMyP"};var i=n(52322);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,s),hidden:n,children:t})}},77336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(2784),o=n(40489),i=n(24126),s=n(7267),a=n(70164),u=n(32424),c=n(42244),l=n(37611);function f(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:o}}=e;return{value:t,label:n,attributes:r,default:o}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const o=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,u._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(o.location.search);t.set(i,e),o.replace({...o.location,search:t.toString()})}),[i,o])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:o}=e,i=d(e),[s,u]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[c,f]=p({queryString:n,groupId:o}),[m,g]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,i]=(0,l.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=c??m;return h({value:e,tabValues:i})?e:null})();(0,a.Z)((()=>{y&&u(y)}),[y]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);u(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(89741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(52322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:a}=e;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.o5)(),l=e=>{const t=e.currentTarget,n=u.indexOf(t),o=a[n].value;o!==r&&(c(t),s(o))},f=e=>{let t=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>u.push(e),onKeyDown:f,onClick:l,...i,className:(0,o.Z)("tabs__item",y.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function _(e){let{lazy:t,children:n,selectedValue:o}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===o));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function w(e){const t=m(e);return(0,v.jsxs)("div",{className:(0,o.Z)("tabs-container",y.tabList),children:[(0,v.jsx)(b,{...t,...e}),(0,v.jsx)(_,{...t,...e})]})}function E(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},14963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.FalseLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))}},48800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966),a=n(94598),u=n(77740),c=n(54884);t.default=function(e){let{schema:t}=e;const n=(0,a.useJSVOptionsContext)(),r="boolean"!=typeof t,l=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.TrueLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),r&&o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(u.QualifierMessages,{schema:t,options:n})),void 0!==l&&o.default.createElement(c.CreateDescription,{description:l}))}},38753:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},96187:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598);t.default=function(e){const{description:t}=e,{DescriptionComponent:n}=(0,i.useJSVOptionsContext)();return o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},n?o.default.createElement(n,{description:t}):t)}},15093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},18938:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n}=e,r=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NullLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},1996:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},76559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)(),l=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.StringLabel,{format:l}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},95566:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598),s=n(85685);t.default=function(e){const{value:t,schema:n}=e,{ValueComponent:r}=(0,i.useJSVOptionsContext)();return r?o.default.createElement(r,{value:t,schema:n}):(0,s.printSchemaType)(t)}},85901:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(51074);t.default=function(e){const{schema:t}=e;let n=t.dependencies,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return Array.isArray(r)?e.dependentRequired[n]=r:e.dependentSchemas[n]=r,e}),{dependentRequired:{},dependentSchemas:{}});return o.default.createElement(o.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&o.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&o.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))}},31892:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentRequired,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:n}}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},79131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentSchemas,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:n}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},54742:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let l=[{value:"schema_if",label:o.default.createElement(c.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(c.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(c.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(s.default,{defaultValue:"schema_if",values:l},l.map((e=>o.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(a.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(a.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(a.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},51074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var o=n(54742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(31892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var s=n(79131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(s).default}});var a=n(85901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(a).default}});var u=n(94845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(u).default}})},53303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}t.default=function(e){const{schema:t}=e;let n=t.additionalItems;if(void 0===n||"boolean"==typeof n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.items)?t.items.length:1;return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(s.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(u,{count:r}),schema:n,required:void 0!==t.minItems&&r>=t.minItems-1})))}},3606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e;let n=t.contains;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(s.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},55242:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(30559)),s=r(n(3606)),a=r(n(77610)),u=r(n(53303)),c=r(n(96912)),l=n(77740),f=n(94598),d=n(9966),h=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,p=(0,f.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.TypeLabel,null),"\xa0:\xa0",o.default.createElement(d.ArrayLabel,null),o.default.createElement(a.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(l.QualifierMessages,{schema:t,options:p,nullable:n})),void 0!==r&&o.default.createElement(h.CreateDescription,{description:r}))}},30559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{index:t,isArray:n}=e,r=n?t:"x";return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r}},"items[{index}]"))}t.default=function(e){const{schema:t}=e;let n=t.items;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(n),c=Array.isArray(n)?n:[n],l=c.length;return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(s.CreateEdge,{name:o.default.createElement(u,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=l})))))}},77610:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}t.default=function(e){const{schema:t}=e;let n=t.prefixItems;if(void 0===n)return o.default.createElement(o.default.Fragment,null);let r=Array.isArray(n),i=Array.isArray(n)?n.length:1,c=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(s.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(u,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},96912:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedItems;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(s.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(u,null),schema:n,required:!1})))}},39820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var o=n(55242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},54884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var o=n(14043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(51074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var s=n(52313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return s.CreateObject}});var a=n(39820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return a.CreateArray}});var u=n(76559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(u).default}});var c=n(38753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(c).default}});var l=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(l).default}});var f=n(15093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(18938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var h=n(48800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(h).default}});var p=n(14963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(p).default}});var m=n(96187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(95566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},34446:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.additionalProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(s.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},18315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(34446)),s=r(n(48439)),a=r(n(92190)),u=r(n(32457)),c=r(n(24595)),l=r(n(1431)),f=n(77740),d=n(94598),h=n(9966),p=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,m=(0,d.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(h.TypeLabel,null),"\xa0:\xa0",o.default.createElement(h.ObjectLabel,null),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},92190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.patternProperties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[t,n]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,a.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},48439:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.properties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[n,r]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(n)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,n),schema:r,required:!!Array.isArray(t.required)&&t.required.includes(n)}))})))}},32457:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.propertyNames;if(void 0===n||"boolean"==typeof n||void 0===n.pattern)return o.default.createElement(o.default.Fragment,null);let r=n.pattern,a={...n};return delete a.pattern,o.default.createElement("ul",null,o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:a,required:!1})))}},1431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(s.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},24595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),u=n.filter((e=>!r.includes(e)));return 0===u.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,u.map(((e,t)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},52313:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var o=n(18315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},65296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.allOf,r="allOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},74517:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.anyOf,r="anyOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},14043:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var o=n(70213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(74517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var s=n(49549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(s).default}});var a=n(83291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(a).default}});var u=n(17228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(u).default}})},83291:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.not;return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--danger"},"not"),o.default.createElement("br",null),o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},49549:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.oneOf,r="oneOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},17228:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,void 0!==t.oneOf&&o.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&o.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&o.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&o.default.createElement(i.NotSchema,{schema:t}))}},83327:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(98480));t.default=function(e){const{summary:t,children:n,detailsProps:r}=e;return o.default.createElement(i.default,{summary:o.default.createElement("summary",null,t),...r},n)}},50279:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204);t.default=function(e){let{name:t,schema:n,required:r}=e;return o.default.createElement(i.SchemaItem,{name:t,schema:n,required:r})}},42360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(54884),a=n(2204),u=n(77740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.CreateValidOrInvalid,{schema:t});const n=(0,u.isSchemaComposition)(t),r=(0,u.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(s.SchemaComposition,{schema:t}),r&&o.default.createElement(s.SchemaConditional,{schema:t}))}},8563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(77740);function c(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(a.RenderProvidedType,{schema:t,type:n,nullable:r})}function l(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(s.default,{defaultValue:n[0].value,values:n,key:"multiple_types"},n.map((e=>o.default.createElement(i.default,{key:e.value,value:e.value},o.default.createElement(a.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,u.detectedTypes)(t),r=n.includes("null");if(1===n.length||r&&2===n.length){const e=n.find((e=>"null"!==e))||n[0];return o.default.createElement(c,{schema:t,type:e,nullable:r})}if(n.length>1){const e=n.filter((e=>"null"!==e)).map((e=>({value:e,label:o.default.createElement(a.TypeLabelSwitch,{type:e})})));return o.default.createElement(l,{schema:t,types:e,nullable:r})}return(0,u.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(a.CreateValidOrInvalid,{schema:t})}},67189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&o.default.createElement(i.CreateAlwaysInvalid,null))}},99798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const s={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...s});case"object":return o.default.createElement(i.CreateObject,{schema:t,...s});case"string":return o.default.createElement(i.CreateString,{schema:t,...s});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...s});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...s});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...s});default:return o.default.createElement(i.CreateNull,{schema:t,...s})}}},25321:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(9966),u=n(77740),c=r(n(86448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:l,level:f}=(0,s.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,g="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),y=!h&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(u.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(a.RequiredLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(a.DeprecatedLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(a.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(a.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(a.ConstantLabel,null));return o.default.createElement("li",{className:c.default.schemaItem,id:l,"data-level":f},o.default.createElement(i.Collapsible,{summary:v,detailsProps:{open:!1}},o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateNodes,{schema:t}))))}},40080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(9966);t.default=function(e){const{type:t,...n}=e;switch(t){case"string":return o.default.createElement(i.StringLabel,{...n});case"number":return o.default.createElement(i.NumberLabel,{...n});case"boolean":return o.default.createElement(i.BooleanLabel,{...n});case"object":return o.default.createElement(i.ObjectLabel,{...n});case"array":return o.default.createElement(i.ArrayLabel,{...n});case"integer":return o.default.createElement(i.IntegerLabel,{...n});case"null":return o.default.createElement(i.NullLabel,{...n});case!0:return o.default.createElement(i.TrueLabel,{...n});case!1:return o.default.createElement(i.FalseLabel,{...n});default:return o.default.createElement("span",{style:{opacity:"0.6"}},t)}}},2204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var o=n(83327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(14130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var s=n(50279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(s).default}});var a=n(67189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(a).default}});var u=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(u).default}});var c=n(40080);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(c).default}});var l=n(99798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(l).default}});var f=n(25321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},94598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60168),t),o(n(50121),t)},60168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const r=n(2784);t.JSVOptionsContext=(0,r.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,r.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},50121:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyComponent=t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0;const s=i(n(2784));t.SchemaHierarchyContext=(0,s.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,s.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:n,children:r}=e;const{jsonPointer:o,level:i}=(0,t.useSchemaHierarchyContext)();return s.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},70056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(2784)),a=n(20028),u=n(2204),c=n(94598),l=n(9966);function f(e){const{error:t}=e;return s.default.createElement("div",null,s.default.createElement(l.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:n}=e,r="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",o={fullSchema:t,...n};return s.default.createElement(c.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},s.default.createElement(c.JSVOptionsContextProvider,{value:o},s.default.createElement(u.Collapsible,{summary:s.default.createElement("strong",null,r),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},s.default.createElement(u.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,s.useState)(void 0),[u,c]=(0,s.useState)(void 0);return(0,s.useEffect)((()=>{(new a.Resolver).resolve(t,n).then((e=>{c(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?s.default.createElement(f,{error:o}):void 0===u?s.default.createElement(l.LoadingLabel,null):s.default.createElement(d,{schema:u,viewerOptions:r,className:e.className})}},34929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)}},23492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))}},29277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))}},59164:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(89754));t.default=function(){return o.default.createElement("strong",{className:s.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},55548:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:s.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},66113:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))}},43297:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{error:t}=e;return o.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")}},94315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))}},61380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))}},15973:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))}},3207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("div",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))}},83204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))}},6760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))}},17487:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))}},93594:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))}},27532:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)}},23373:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65950));t.default=function(){return o.default.createElement("strong",{className:s.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},35405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(43654));t.default=function(){return o.default.createElement("strong",{className:s.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},74591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){let{format:t}=e;return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&o.default.createElement(o.default.Fragment,null,"\xa0",`(${t})`))}},77502:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))}},83978:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))}},74731:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))}},82093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65128));t.default=function(){return o.default.createElement("strong",{className:s.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},25006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)}},9966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var o=n(93594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(23492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var s=n(74731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(s).default}});var a=n(61380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(a).default}});var u=n(77502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(66113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(c).default}});var l=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(l).default}});var f=n(43297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(35405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var h=n(55548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(h).default}});var p=n(23373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(p).default}});var m=n(82093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(83978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(94315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(74591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(29277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(17487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(15973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var E=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(E).default}});var k=n(34929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(27532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(x).default}});var D=n(83204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(D).default}});var S=n(25006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var C=n(59164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(C).default}})},93325:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}t.default=function(e){const{schema:t}=e;let n=t,r=void 0!==n.minContains&&void 0!==n.maxContains;const c=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return o.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==n.minContains?"minContains":"maxContains"},c,"\xa0",void 0!==n.minContains&&o.default.createElement(a,{value:n.minContains}),r&&o.default.createElement(s.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(u,{value:n.maxContains}))}},40877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minItems&&void 0!==t.maxItems;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return o.default.createElement("div",{key:n?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},r,"\xa0",void 0!==t.minItems&&o.default.createElement(a,{value:t.minItems}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(u,{value:t.maxItems}))}},92065:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return o.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)}},69705:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return o.default.createElement("div",{key:"const"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.const,schema:t}))}},47131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return o.default.createElement("div",{key:"contentEncoding"},n,"\xa0",(0,s.printSchemaType)(t.contentEncoding))}},76884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return o.default.createElement("div",{key:"contentMediaType"},n,"\xa0",(0,s.printSchemaType)(t.contentMediaType))}},85734:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return o.default.createElement("div",{key:"contentSchema"},n,"\xa0",o.default.createElement(s.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(s.CreateNodes,{schema:t.contentSchema}))))}},69617:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return o.default.createElement("div",{key:"default"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.default,schema:t}))}},99272:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return o.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)}},78661:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return o.default.createElement("div",{key:"enum"},n,"\xa0",o.default.createElement("ul",null,t.enum.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s.CreateValue,{value:e,schema:t}))))))}},21499:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(82009)),a=r(n(77336)),u=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let r=t.examples.map(((e,t)=>({id:t,value:e,label:o.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return o.default.createElement("div",{key:"examples"},n,"\xa0",o.default.createElement(a.default,null,r.map((e=>o.default.createElement(s.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(u.CreateValue,{value:e.value,schema:t}))))))}},34785:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return o.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)}},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return o.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)}},7004:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return o.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)}},81165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function u(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}t.default=function(e){const{schema:t}=e;let n=t.exclusiveMinimum||t.minimum,r=void 0!==t.exclusiveMinimum,c=t.exclusiveMaximum||t.maximum,l=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==c,d=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return o.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==n&&o.default.createElement("code",null,o.default.createElement(a,{exclusive:r,value:n})),f&&o.default.createElement(s.AndLabel,null),void 0!==c&&o.default.createElement("code",null,o.default.createElement(u,{exclusive:l,value:c})))}},72040:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"multipleOf"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))}},85769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minProperties&&void 0!==t.maxProperties;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return o.default.createElement("div",{key:n?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},r,"\xa0",void 0!==t.minProperties&&o.default.createElement(a,{value:t.minProperties}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(u,{value:t.maxProperties}))}},74490:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"pattern"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",o.default.createElement("code",null,t.pattern))}},16272:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const a=s(n(2784)),u=i(n(85685)),c=n(7639),l={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>a.default.createElement(u.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>a.default.createElement(u.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>a.default.createElement(u.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>a.default.createElement(u.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return a.default.createElement(u.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>a.default.createElement(u.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>a.default.createElement(u.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return a.default.createElement(u.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return a.default.createElement(u.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>a.default.createElement(u.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return a.default.createElement(u.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:n}=e;return!0===n.showExamples&&void 0!==t.examples},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,c.hasUnresolvedRefs)(t)},Component:e=>a.default.createElement(u.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=l;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},88870:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return o.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)}},6165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minLength&&void 0!==t.maxLength;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return o.default.createElement("div",{key:n?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},r,"\xa0",void 0!==t.minLength&&o.default.createElement(a,{value:t.minLength}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(u,{value:t.maxLength}))}},70951:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:n}}=e,r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let s=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return o.default.createElement("div",{key:"unsolvedRefs"},n?o.default.createElement(n,{schema:t}):o.default.createElement(o.default.Fragment,null,r,"\xa0",s))}},64832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return o.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)}},85685:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=t.printSchemaType=void 0;const o=r(n(2784)),i=r(n(84560));t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?o.default.createElement("code",null,e.toString()):o.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};var s=n(78661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(s).default}});var a=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(a).default}});var u=n(85769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(71722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(c).default}});var l=n(40877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(l).default}});var f=n(93325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(34785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var h=n(81165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(h).default}});var p=n(74490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(p).default}});var m=n(72040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(92065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(69617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(69705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(21499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(99272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(88870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var E=n(64832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(E).default}});var k=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(76884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(x).default}});var D=n(47131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(D).default}});var S=n(85734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var C=n(70951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(C).default}});var $=n(16272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return $.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return $.DEFAULT_ORDER}})},7639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectedTypes=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0;t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*n(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef),t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==t.length?[...new Set(t)]:[...n(e)]}},41168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=void 0,t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},40578:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(2204),a=n(9966);function u(e,t){return!(t<=1)&&e!==t-1}function c(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.TypeLabelSwitch,{type:t});if(t.title)return o.default.createElement(o.default.Fragment,null,t.title);const n=(0,i.detectedTypes)(t);return 0===n.length?o.default.createElement(l,{schema:t}):o.default.createElement(o.default.Fragment,null,n.map(((e,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(f,{schema:t,type:e}),u(r,n.length)&&o.default.createElement(a.OrLabel,null)))))}function l(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.NotLabel,null)," ( ",o.default.createElement(c,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(a.OrLabel,null):t.oneOf?o.default.createElement(a.XorLabel,null):o.default.createElement(a.AndLabel,null),n=t.allOf||t.anyOf||t.oneOf;return o.default.createElement(o.default.Fragment,null,n.map(((t,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(c,{schema:t}),u(r,n.length)&&e))))}return o.default.createElement(s.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(s.TypeLabelSwitch,{type:t.format});if("array"===n)return o.default.createElement(d,{schema:t});if(!["array","object"].includes(n)){if(void 0!==t.const)return o.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return o.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return o.default.createElement(s.TypeLabelSwitch,{type:n})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return o.default.createElement(s.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(c,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];n.push(...e.map(((e,t)=>o.default.createElement(c,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(c,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(c,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(c,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&n.push(o.default.createElement(o.default.Fragment,{key:"open_tuple"},"...")),o.default.createElement(o.default.Fragment,null,"(",n.map(((e,t)=>o.default.createElement(o.default.Fragment,{key:t},e,u(t,n.length)&&","))),")[]")}t.default=c},72223:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(85685);t.default=function(e){const{options:t}=e,n=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return o.default.createElement(o.default.Fragment,null,n.filter((t=>i.QUALIFIERS_MAP[t].match(e))).map((t=>i.QUALIFIERS_MAP[t].Component(e))))}},77740:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var s=n(40578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(s).default}});var a=n(72223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(a).default}}),o(n(7639),t),o(n(41168),t)},75548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.referencesYaml=t.referencesId=t.describeSchema=void 0;const s=i(n(45984)),a=n(77107);function u(e,t){if(!t)return e;let n=s.parseDocument(e);for(const r of t.slice(2).split("/"))if(n=n.get(r,!0),!n)throw new Error(`Pointer ${t} not found in schema`);return s.stringify(n)}function c(e){return 1===Object.keys(e).length&&"id"in e}function l(e){return 1===Object.keys(e).length&&"yaml"in e}t.describeSchema=function(e){let{schema:t,pointer:n}=e;if("string"==typeof n&&!n.startsWith("#"))throw new Error("`pointer` option must start with '#'");return c(t)?function(e){let{schema:{id:t},pointer:n}=e;const[r,o]=t.split("#"),i=o?function(e){const t=e.filter((e=>"string"==typeof e)).map((e=>e.slice(1))).join("");if(0===t.length)return;return`#${t}`}([`#${o}`,n]):n,c=a.schemaYamls[r];if(!c)throw new Error(`Unknown schema with $id "${r}"`);const l=u(c,i),f=s.parse(l),d=s.parse(c);return{id:r,pointer:i,yaml:l,schema:f,rootSchema:d}}({schema:t,pointer:n}):l(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=u(t,n),o=s.parse(r),i=s.parse(t),a=o.$id;return a?{id:a,pointer:n,yaml:r,schema:o,rootSchema:i}:{pointer:n,yaml:r,schema:o,rootSchema:i}}({schema:t,pointer:n}):function(e){let{schema:t,pointer:n}=e;const r=u(s.stringify(t),n),o=s.parse(r),i=o.$id;return i?{id:i,pointer:n,yaml:r,schema:o,rootSchema:t}:{pointer:n,yaml:r,schema:o,rootSchema:t}}({schema:t,pointer:n})},t.referencesId=c,t.referencesYaml=l},99372:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.schemaIds=t.schemas=void 0,o(n(75548),t);var i=n(52109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},52109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(75548),o=n(77107);t.schemaIds=Object.keys(o.schemaYamls),t.schemas=t.schemaIds.map((e=>({[e]:(0,r.describeSchema)({schema:{id:e}}).schema}))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})},77107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"schema:ethdebug/format/data/hex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/data/hex"\n\ntitle: ethdebug/format/data/hex\ndescription: |\n A `0x`-prefixed hexadecimal string. This value **must** contain at least one\n hexadecimal character (`0x` by itself is not allowed).\n\ntype: string\npattern: "^0x[0-9a-fA-F]{1,}$"\n\nexamples:\n - "0x0000"\n - "0x1"\n',"schema:ethdebug/format/data/unsigned":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/data/unsigned"\n\ntitle: ethdebug/format/data/unsigned\ndescription: |\n A non-negative integer encoded as a JSON number.\n\ntype: integer\nminimum: 0\n\nexamples:\n - 0\n - 100\n',"schema:ethdebug/format/materials/compilation":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/compilation"\n\ntitle: ethdebug/format/materials/compilation\ndescription: |\n An object representing a single invocation of a compiler.\n\ntype: object\nproperties:\n id:\n description: |\n Compilation ID. Optional, but **should** be specified.\n\n This value **should** be globally-unique and generated only from the\n compiler inputs (settings, sources, etc.); the same compiler inputs/\n settings **should** produce the same identifier.\n\n $ref: "schema:ethdebug/format/materials/id"\n\n compiler:\n type: object\n title: Compiler name and version\n properties:\n name:\n type: string\n description: Compiler name\n\n version:\n type: string\n description: |\n Compiler version.\n\n This value **should** be specified using the most detailed version\n representation available, i.e., including source control hash and\n compiler build information whenever possible.\n\n required:\n - name\n - version\n\n examples:\n - name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n\n settings:\n description: |\n Compiler settings in a format native to the compiler.\n\n For compilers whose settings includes full source representations, this\n field **should** be specified in such a way that avoids large data\n redundancies (e.g. if compiler settings contain full source\n representations, then this field would significantly duplicate the\n information represented by the `sources` field in this object).\n\n In situations where settings information duplicates information\n represented elsewhere in **ethdebug/format**, compilers **may** adopt\n any reasonable strategy, e.g.:\n - omit duplications partially (leaving the rest of the settings\n intact)\n - omit this field entirely\n - specify this field as a hash of the full settings\n representation (with the expectation that users of this format will\n have access to the full representation by some other means)\n\n allOf:\n - true\n\n sources:\n type: array\n items:\n $ref: "schema:ethdebug/format/materials/source"\n\nrequired:\n - compiler\n - sources\n\nexamples:\n - compiler:\n name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n sources:\n - id: 0\n path: stdin\n contents: |\n (add 1 (mul 2 (add 3 4)))\n language: LLL\n',"schema:ethdebug/format/materials/id":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/id"\n\ntitle: ethdebug/format/materials/id\ndescription: An opaque external ID (likely generated by compiler)\n\ntype:\n - number\n - string\n\nexamples:\n - 5\n - "five"\n',"schema:ethdebug/format/materials/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/reference"\n\ntitle: ethdebug/format/materials/reference\ndescription: A reference to an external resource by ID\n\ntype: object\nproperties:\n id:\n $ref: "schema:ethdebug/format/materials/id"\n\n type:\n enum:\n - compilation\n - source\n\nrequired: [id]\n\nunevaluatedProperties: false\n\nexamples:\n - id: 1\n',"schema:ethdebug/format/materials/source-range":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source-range"\n\ntitle: ethdebug/format/materials/source-range\ndescription: |\n A range of bytes in a particular source.\n\n Note that this refers to the bytes range in the original character encoding\n for the source, not the character encoding used for strings in this JSON\n format (UTF-8). For compilers that support input sources in encodings other\n than this format\'s transmission encoding, compilers **must** address source\n ranges in this original encoding, and debuggers **must** re-encode source\n contents obtained from this format _before_ performing any range addressing.\n\n (Compilers that only accept UTF-8 or ASCII are naturally exempt from this\n concern.)\n\ntype: object\nproperties:\n compilation:\n title: Compilation reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n source:\n title: Source reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n range:\n title: Bytes range within source contents\n description: |\n Ranges that span the entire source contents **may** omit this field\n as a shorthand. This field is otherwise **required**.\n type: object\n properties:\n offset:\n description: |\n Byte offset at beginning of range.\n $ref: "schema:ethdebug/format/data/unsigned"\n\n length:\n description: Number of bytes contained in range\n $ref: "schema:ethdebug/format/data/unsigned"\n\n unevaluatedProperties: false\n\n required:\n - offset\n - length\n\nunevaluatedProperties: false\n\nrequired:\n - source\n\nexamples:\n - source:\n id: 5\n range:\n offset: 20\n length: 100\n',"schema:ethdebug/format/materials/source":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source"\n\ntitle: ethdebug/format/materials/source\ndescription: |\n An object representing one unit of compiler input, the raw text contents and\n identifying metadata (such as file path) that were given to the compiler as\n part of a compilation.\n\ntype: object\nproperties:\n id:\n description: |\n Source identifier. This field **must** be unique for all sources\n within a single compiler invocation (compilation).\n $ref: "schema:ethdebug/format/materials/id"\n\n path:\n type: string\n description: |\n Hierarchical file-system-like path to this source. This value may\n be an absolute path, a path relative to some root directory, a path\n to some resource within a package, etc.\n\n This value does not need to correspond to any file on disk (either\n physical or virtual), and might instead refer to a path identifier\n for a source that was generated by a compiler or other development tool.\n\n This format makes no specific restrictions on how paths should be\n specified (e.g., no restriction on path separators, etc.), other than\n that values for this field should match what users observe elsewhere for\n the inputs/outputs of this particular compiler invocation.\n\n If no path information is available for a particular source, e.g. if the\n source was provided to the compiler via shell standard input, this field\n should indicate that somehow (e.g., specifying `"path": "stdin"` or\n similar).\n\n This field\'s value **should** be unique across all sources within the\n same compilation.\n\n contents:\n description: |\n The full contents of the source, possibly re-encoded as UTF-8 to\n match parent JSON encoding.\n\n In cases where input source used a different encoding, this object\n **must** also specify an `encoding` property to indicate the\n encoding originally used. Where relevant, debuggers **must** also\n convert these `contents` back to the specified original encoding so\n as to match code author expectations.\n\n type: string\n\n encoding:\n description: |\n Character encoding of original source `contents`. This property\n is **required** if this encoding does not match the JSON transmission\n encoding (UTF-8), since the value of the `contents` property will\n represent the text of the source of this JSON encoding.\n\n This property **must not** appear in objects that do not specify\n a `contents` property.\n\n type: string\n\n language:\n description: |\n The high-level language that the source contents are written in.\n\n type: string\n\nrequired:\n - id\n - path\n - contents\n - language\n\nexamples:\n - id: 5\n path: ./contracts/SimpleStorage.sol\n contents: |\n // SPDX-License-Identifier: GPL-3.0\n pragma solidity >=0.4.16 <0.9.0;\n\n contract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n }\n\n language: Solidity\n',"schema:ethdebug/format/pointer/collection/conditional":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/conditional"\n\ntitle: ethdebug/format/pointer/collection/conditional\ndescription: |\n A pointer defined conditionally based on the non-zero-ness of some expression\n\ntype: object\n\nproperties:\n if:\n $ref: "schema:ethdebug/format/pointer/expression"\n then:\n $ref: "schema:ethdebug/format/pointer"\n else:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - if\n - then\n\nadditionalProperties: false\n\nexamples:\n - if: 0\n then:\n location: memory\n offset: 0\n length: 1\n else:\n location: memory\n offset: 1\n length: 1\n',"schema:ethdebug/format/pointer/collection/group":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/group"\n\ntitle: ethdebug/format/pointer/collection/group\ndescription: |\n A composite collection of pointers\ntype: object\nproperties:\n group:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer"\n minItems: 1\nrequired:\n - group\nadditionalProperties: false\n\nexamples:\n - group:\n - name: "data-pointer"\n location: stack\n slot: 0\n - location: memory\n offset:\n $read: "data-pointer"\n length: 32\n',"schema:ethdebug/format/pointer/collection/list":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/list"\n\ntitle: ethdebug/format/pointer/collection/list\ndescription: |\n An ordered list of pointers, indexed starting at zero.\ntype: object\n\nproperties:\n list:\n type: object\n properties:\n count:\n description: |\n The size of the list that this collection represents.\n $ref: "schema:ethdebug/format/pointer/expression"\n each:\n description: |\n An identifier name whose value as an expression resolves to the index\n in the list\n $ref: "schema:ethdebug/format/pointer/identifier"\n is:\n description: |\n The dynamically-generated pointer repeated as a list\n $ref: "schema:ethdebug/format/pointer"\n required:\n - count\n - each\n - is\n\nrequired:\n - list\n\nadditionalProperties: false\n\nexamples:\n - list:\n count: 5\n each: "index"\n is:\n location: memory\n offset:\n $read: "index"\n length: 1\n',"schema:ethdebug/format/pointer/collection/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/reference"\n\ntitle: ethdebug/format/pointer/collection/reference\ndescription: |\n A pointer by named reference to a pointer template (defined elsewhere).\n\ntype: object\n\nproperties:\n template:\n title: Template identifier\n $ref: "schema:ethdebug/format/pointer/identifier"\n\nrequired:\n - template\n\nadditionalProperties: false\n\nexamples:\n - template: "string-storage-pointer"\n',"schema:ethdebug/format/pointer/collection/scope":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/scope"\n\ntitle: ethdebug/format/pointer/collection/scope\ndescription: |\n A pointer defined with the aid of additional variables with values specified\n as expressions.\n\n Variables are specified by the `define` field as an object mapping of\n expression by identifier. Variables are specified **in order**, so that\n later appearing variables may reference earlier ones in the same object.\n\ntype: object\n\nproperties:\n define:\n title: Mapping of variables to expression value\n type: object\n patternProperties:\n "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n in:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - define\n - in\n\nadditionalProperties: false\n\nexamples:\n - define:\n example-offset:\n $sum: [1, 2]\n example-length:\n $product: [2, $wordsize]\n in:\n name: example\n location: memory\n offset: example-offset\n length: example-length\n',"schema:ethdebug/format/pointer/collection":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection"\n\ntitle: ethdebug/format/pointer/collection\ndescription: |\n A representation of a collection of pointers to data in the EVM\ntype: object\n\nallOf:\n - oneOf:\n - required: [group]\n - required: [list]\n - required: [if]\n - required: [define]\n - required: [template]\n\n - if:\n required: [group]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required: [list]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required: [if]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\n\n - if:\n required: [define]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/scope"\n\n - if:\n required: [template]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/reference"\n',"schema:ethdebug/format/pointer/expression":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/expression"\n\ntitle: ethdebug/format/pointer/expression\ndescription: |\n A schema for describing expressions that evaluate to values.\n\noneOf:\n - $ref: "#/$defs/Literal"\n - $ref: "#/$defs/Variable"\n - $ref: "#/$defs/Constant"\n - $ref: "#/$defs/Arithmetic"\n - $ref: "#/$defs/Lookup"\n - $ref: "#/$defs/Read"\n - $ref: "#/$defs/Keccak256"\n - $ref: "#/$defs/Resize"\n\n$defs:\n Literal:\n title: Literal value\n description: |\n An unsigned number or a `0x`-prefixed string of hexadecimal digits\n\n oneOf:\n - description: A non-negative integer literal\n $ref: "schema:ethdebug/format/data/unsigned"\n\n - description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n $ref: "schema:ethdebug/format/data/hex"\n\n examples:\n - 5\n - "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n Constant:\n title: Constant value\n type: string\n enum:\n - $wordsize\n\n Variable:\n title: Variable identifier\n description: |\n A string that matches an identifier used in an earlier declaration of\n a scalar variable. This expression evaluates to the value of that\n variable.\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n Arithmetic:\n title: Arithmetic operation\n type: object\n properties:\n "$sum":\n description: |\n A list of expressions to be added together.\n $ref: "#/$defs/Operands"\n "$difference":\n description: |\n A tuple of two expressions where the second is to be subtracted from\n the first.\n\n If the second operand is larger than the first, the result of this\n arithmetic operation is defined to equal zero (`0`).\n\n (i.e., `{ "$difference": [a, b] }` equals `a` minus `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$product":\n description: |\n A list of expressions to be multipled.\n $ref: "#/$defs/Operands"\n "$quotient":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of doing integer division.\n\n (i.e., `{ "$quotient": [a, b] }` equals `a` divided by `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$remainder":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of computing the modular-arithmetic remainder.\n\n (i.e., `{ "$remainder": [a, b] }` equals `a` mod `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - "$sum": [5, 3, 4]\n - "$difference": [5, 3]\n - "$product": [5, 3, 0]\n - "$quotient": [5, 3]\n - "$remainder":\n - "$product":\n - 2\n - 2\n - 2\n - 2\n - 3\n\n Operands:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n\n Lookup:\n title: Lookup region definition\n description: |\n An object of the form `{ ".<property-name>": "<region>" }`, to\n denote that this expression is equivalent to the defined value for\n the property named `<property-name>` inside the region referenced as\n `<region>`.\n\n `<property-name>` **must** be a valid and present property on the\n corresponding region, or it **must** correspond to an optional property\n whose schema specifies a default value for that property.\n type: object\n patternProperties:\n "^\\\\.(offset|length|slot)$":\n $ref: "#/$defs/Reference"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n\n examples:\n - .offset: "array-count"\n - .length: "array-item"\n - .offset: $this\n\n\n Read:\n title: Read region bytes\n description: |\n An object of the form `{ "$read": "<region>" }`. The value of this\n expression equals the raw bytes present in the running machine state\n in the referenced region.\n type: object\n properties:\n $read:\n $ref: "#/$defs/Reference"\n required:\n - $read\n additionalProperties: false\n examples:\n - $read: "struct-start"\n\n Reference:\n title: Region reference\n description: |\n A string value that **must** either be the `"name"` of at least one\n region declared with `{ "name": "<region>" }` previously in some root\n pointer representation, or it **must** be the literal value `"$this"`,\n which indicates a reference to the region containing this expression.\n\n If more than one region is defined with the same name, resolution is\n defined as firstly resolving to the latest earlier sibling that declares\n the matching name, then secondly resolving to the parent if it matches,\n then to parent\'s earlier siblings, and so on.\n type: string\n\n oneOf:\n - $ref: "schema:ethdebug/format/pointer/identifier"\n - const: "$this"\n description: |\n Indicates a reference to the region containing this expression.\n\n Keccak256:\n title: Keccak256 hash\n description: |\n An object of the form `{ "$keccak256": [...values] }`, indicating that this\n expression evaluates to the Solidity-style keccak256 hash of the\n tightly-packed bytes encoded by `values`.\n type: object\n properties:\n $keccak256:\n title: Array of hashed values\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n required:\n - $keccak256\n examples:\n - $keccak256:\n - 0\n - "0x00"\n\n Resize:\n title: Resize data\n description: |\n A resize operation expression is either an object of the form\n `{ "$sized<N>": <expression> }` or an object of the form\n `{ "$wordsized": <expression> }`, where `<expression>` is an expression\n whose value is to be resized, and, if applicable, where `<N>` is the\n smallest decimal representation of an unsigned integer.\n\n This object\'s value is evaluated as follows, based on the bytes width of\n the value `<expression>` evaluates to and based on `<N>` (using the\n value of `"$wordsize"` for `<N>` in the case of the latter form above):\n - If the width equals `<N>`, this object evalutes to the same value as\n `<expression>` (equivalent to the identity function or no-op).\n - If the width is less than `<N>`, this object evalutes to the same value\n as `<expression>` but with additional zero-bytes (`0x00`) prepended on\n the left (most significant) side, such that the resulting bytes width\n equals `<N>`.\n - If the width exceeds `<N>`, this object evalutes to the same value\n as `<expression>` but with a number of bytes removed from the left\n (most significant) side until the bytes width equals `<N>`.\n\n (These cases match the behavior that Solidity uses for resizing its\n `bytesN`/`uintN` types.)\n type: object\n oneOf:\n - title: Resize to literal number of bytes\n type: object\n patternProperties:\n "^\\\\$sized([1-9]+[0-9]*)$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n - title: Resize to word-size\n type: object\n patternProperties:\n "^\\\\$wordsized$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - $sized2: "0x00" # 0x0000\n - $sized2: "0xffffff" # 0xffff\n - $wordsized: "0x00" # 0x0000000000000000000000000000000000000000000000000000000000000000\n\nexamples:\n - 0\n - $sum:\n - .offset: "array-start"\n - .length: "array-start"\n - 1\n - $keccak256:\n - 5\n - .offset: "array-start"\n',"schema:ethdebug/format/pointer/identifier":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/identifier"\n\ntitle: ethdebug/format/pointer/identifier\ndescription: |\n An identifier for use within the context of a root pointer\ntype: string\npattern: "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$"\n\nexamples:\n - a\n - a0\n - -$\n - __init__\n',"schema:ethdebug/format/pointer/region/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/base"\n\ntitle: ethdebug/format/pointer/region/base\ndescription: |\n Common schema for all region schemas, regardless of `"location": ...`.\n\ntype: object\nproperties:\n name:\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n location:\n type: string\n\nrequired:\n - location\n\nexamples:\n - name: "array-item"\n location: memory\n',"schema:ethdebug/format/pointer/region/calldata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/calldata"\n\ntitle: ethdebug/format/pointer/region/calldata\ndescription: |\n A schema for representing a region of data in message calldata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"calldata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: calldata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: calldata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/code":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/code"\n\ntitle: ethdebug/format/pointer/region/code\ndescription: |\n A schema for representing a region of data in EVM bytecode.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"code"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: code\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: code\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/memory":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/memory"\n\ntitle: ethdebug/format/pointer/region/memory\ndescription: |\n A schema for representing a region of data in EVM memory. Pointer regions\n within memory represent a single/atomic sequence of byte locations.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"memory"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: memory\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: memory\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/returndata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/returndata"\n\ntitle: ethdebug/format/pointer/region/returndata\ndescription: |\n A schema for representing a region of data in message returndata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"returndata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: returndata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: returndata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/stack":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/stack"\n\ntitle: ethdebug/format/pointer/region/stack\ndescription: |\n A schema for representing a region of data in the EVM.\n\n Describes stack slots as number of positions from the top (at time of\n observation). Debuggers reading this information **should** immediately\n convert these positions to absolute positions from the bottom.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"stack"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: stack\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: stack\n slot: 0\n - location: stack\n slot: 1\n length:\n $product:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/storage":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/storage"\n\ntitle: ethdebug/format/pointer/region/storage\ndescription: |\n A schema for representing a region of data in EVM storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"storage"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: storage\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x03"\n - location: storage\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: storage\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/transient":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/transient"\n\ntitle: ethdebug/format/pointer/region/transient\ndescription: |\n A schema for representing a region of data in EVM transient storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"transient"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: transient\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: transient\n slot: "0x03"\n - location: transient\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: transient\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region"\n\ntitle: ethdebug/format/pointer/region\ndescription: |\n A representation of a region of data in the EVM\ntype: object\n\nproperties:\n location:\n $ref: "#/$defs/Location"\n\n\nallOf:\n - if:\n properties:\n location:\n const: stack\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/stack"\n\n - if:\n properties:\n location:\n const: memory\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/memory"\n\n - if:\n properties:\n location:\n const: storage\n then:\n $ref: "schema:ethdebug/format/pointer/region/storage"\n\n - if:\n properties:\n location:\n const: calldata\n then:\n $ref: "schema:ethdebug/format/pointer/region/calldata"\n\n - if:\n properties:\n location:\n const: returndata\n then:\n $ref: "schema:ethdebug/format/pointer/region/returndata"\n\n - if:\n properties:\n location:\n const: transient\n then:\n $ref: "schema:ethdebug/format/pointer/region/transient"\n\n - if:\n properties:\n location:\n const: code\n then:\n $ref: "schema:ethdebug/format/pointer/region/code"\n\n$defs:\n Location:\n type: string\n enum:\n - stack\n - memory\n - storage\n - calldata\n - returndata\n - transient\n - code\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n',"schema:ethdebug/format/pointer/scheme/segment":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/segment"\n\ntitle: ethdebug/format/pointer/scheme/segment\ndescription: |\n An addressing scheme for pointing to a range of bytes in a data location\n arranged as individually-addressable word-sized slots.\n\n **Note** that this addressing scheme permits addressing byte ranges that\n extend beyond the last byte of a particular slot, or even covering the range\n of multiple slots.\n\n In such cases, this schema defines the range as the concatenation of bytes\n across slots such that the address of the first byte after the end of slot\n `p` (i.e., `{ "offset": "$wordsize" }`) is interpreted as the first byte of\n slot `p + 1`.\n\ntype: object\n\nproperties:\n slot:\n $ref: "schema:ethdebug/format/pointer/expression"\n offset:\n description: |\n The starting byte index within the slot.\n\n This field is **optional**. If unspecified, it has the default value of\n `0`, indicating that the segment begins at the start of the specified\n slot.\n\n This field\'s expression must resolve to a value _n_ such that\n 0 \u2264 _n_ \\< `$wordsize` (i.e., the offset **must**\n begin inside the slot).\n $ref: "schema:ethdebug/format/pointer/expression"\n default: 0\n length:\n description: |\n The length of the bytes range this segment represents.\n\n This field is **optional**. If unspecified, its default value indicates\n that the segment ends at the end of the slot.\n\n If this field has value larger than the default value, i.e., if the\n segment extends beyond the last byte in the slot, then this segment is\n defined to be the concatenation of the sequentially-addressed slot(s)\n following following the slot specified.\n $ref: "schema:ethdebug/format/pointer/expression"\n default:\n $difference:\n - $wordsize\n - .offset: $this\n\nrequired:\n - slot\n\nexamples:\n - slot: 0\n - slot: 1\n length:\n $product:\n - $wordsize\n - 3\n',"schema:ethdebug/format/pointer/scheme/slice":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/slice"\n\ntitle: ethdebug/format/pointer/scheme/slice\ndescription: |\n An addressing scheme for pointing to a range of sequential bytes inside\n a data location whose structure is that of a regular bytes array\n (i.e., where bytes are indexed by byte offset, with no concept of word).\n\ntype: object\n\nproperties:\n offset:\n description: |\n The index of the byte (starting from zero) in the data location where\n the slice begins.\n $ref: "schema:ethdebug/format/pointer/expression"\n length:\n description: |\n The length of the slice in number of bytes.\n $ref: "schema:ethdebug/format/pointer/expression"\n\nrequired:\n - offset\n - length\n\nexamples:\n - offset: 0\n length: 32\n',"schema:ethdebug/format/pointer/template":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/template"\n\ntitle: ethdebug/format/pointer/template\ndescription: |\n A schema for representing a pointer defined in terms of some variables whose\n values are to be provided when invoking the template.\n\ntype: object\nproperties:\n expect:\n title: Template variables\n description: |\n An array of variable identifiers used in the definition of the\n pointer template.\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/identifier"\n additionalItems: false\n\n for:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - expect\n - for\n\nadditionalProperties: false\n\nexamples:\n - expect: ["slot"]\n for:\n location: storage\n slot: "slot"\n',"schema:ethdebug/format/pointer":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer"\n\ntitle: ethdebug/format/pointer\ndescription: |\n A schema for representing a pointer to a data position or a range of data\n positions in the EVM.\n\n An **ethdebug/format/pointer** is either a single region or a structured\n collection of other pointers.\n\ntype: object\n\nif:\n required: [location]\nthen:\n $ref: "schema:ethdebug/format/pointer/region"\nelse:\n $ref: "schema:ethdebug/format/pointer/collection"\n\nexamples:\n - # example: a single particular storage slot\n location: storage\n slot: 2\n\n - # example `uint256[] memory` allocation pointer\n define:\n "uint256-array-memory-pointer-slot": 0\n in:\n # this pointer composes an ordered list of other pointers\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: "uint256-array-memory-pointer-slot"\n\n # declare the "array-count" region to be at the offset indicated by\n # the value at "array-start"\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # thirdly, declare a sub-pointer that is a dynamic list whose size is\n # indicated by the value at "array-count", where each "item-index"\n # corresponds to a discrete "array-item" region\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n name: "array-item"\n location: "memory"\n offset:\n # array items are positioned so that the item with index 0\n # immediately follows "array-count", and each subsequent item\n # immediately follows the previous.\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: $this\n length: $wordsize\n\n - # example `struct Record { uint8 x; uint8 y; bytes4 salt; }` in storage\n define:\n "struct-storage-contract-variable-slot": 0\n in:\n group:\n - name: "x"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - $wordsize\n - .length: $this\n length: 1 # uint8\n - name: "y"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - .offset: "x"\n - .length: $this\n length: 1 # uint8\n - name: "salt"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - .offset: "y"\n - .length: $this\n length: 4 # bytes4\n\n - # example `(struct Record { uint256 x; uint256 y; })[] memory`\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declares the "array-count" region in memory at the offset indicated\n # by "array-start" and of length equal to word size\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # declare this to include a list of pointers of size indicated by the\n # value at "array-count", where each "item-index" corresponds to a\n # group of pointers\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n group:\n # each element in the list includes a "struct-pointer" region\n # in memory (laid out sequentially in a block as the raw\n # array data)\n - name: "struct-pointer"\n location: memory\n offset:\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "struct-pointer"\n length: $wordsize\n\n # following that pointer leads to the region corresponding to\n # the first member of the struct\n - name: "struct-member-0"\n location: memory\n offset:\n $read: "struct-pointer"\n length: $wordsize\n\n # the second struct member immediately follows the first\n - name: "struct-member-1"\n location: memory\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `string storage` allocation\n define:\n "string-storage-contract-variable-slot": 0\n in:\n group:\n # for short strings, the length is stored as 2n in the last byte of slot\n - name: "length-flag"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset:\n $difference: [$wordsize, 1]\n length: 1\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $sum:\n - $read: "length-flag"\n - 1\n - 2\n\n # short string case (flag is even)\n then:\n define:\n "string-length":\n $quotient: [{ $read: "length-flag" }, 2]\n in:\n name: "string"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset: 0\n length: "string-length"\n\n # long string case (flag is odd)\n else:\n group:\n # long strings may use full word to describe length as 2n+1\n - name: "long-string-length-data"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset: 0\n length: $wordsize\n\n - define:\n "string-length":\n $quotient:\n - $difference:\n - $read: "long-string-length-data"\n - 1\n - 2\n\n "start-slot":\n $keccak256:\n - $wordsized: "string-storage-contract-variable-slot"\n\n "total-slots":\n # account for both zero and nonzero slot remainders by adding\n # $wordsize-1 to the length before dividing\n $quotient:\n - $sum: ["string-length", { $difference: [$wordsize, 1] }]\n - $wordsize\n in:\n list:\n count: "total-slots"\n each: "i"\n is:\n define:\n "current-slot":\n $sum: ["start-slot", "i"]\n "previous-length":\n $product: ["i", $wordsize]\n in:\n # conditional based on whether this is the last slot:\n # is the string length longer than the previous length\n # plus this whole slot?\n if:\n $difference:\n - "string-length"\n - $sum: ["previous-length", "$wordsize"]\n then:\n # include the whole slot\n name: "string"\n location: storage\n slot: "current-slot"\n else:\n # include only what\'s left in the string\n name: "string"\n location: storage\n slot: "current-slot"\n offset: 0\n length:\n $difference: ["string-length", "previous-length"]\n',"schema:ethdebug/format/type/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/base"\n\ntitle: ethdebug/format/type/base\ndescription:\n Defines the minimally necessary schema for a data type.\n Types belong to a particular `class` (`"elementary"` or `"complex"`),\n and are further identified by a particular `kind`.\ntype: object\noneOf:\n - $ref: "#/$defs/ElementaryType"\n - $ref: "#/$defs/ComplexType"\n\n$defs:\n ElementaryType:\n title: Base elementary type\n description:\n Represents an elementary type (one that does not compose other types)\n type: object\n properties:\n class:\n type: string\n const: elementary\n kind:\n type: string\n contains:\n not:\n description:\n "Elementary types **must not** specify a `contains` field\n (to make it easier to discriminate elementary vs. complex)"\n required:\n - kind\n examples:\n - kind: uint\n bits: 256\n\n ComplexType:\n title: Base complex type\n description:\n Represents a complex type, one that composes other types (e.g., arrays,\n structs, mappings)\n type: object\n properties:\n class:\n type: string\n const: complex\n description: Indicates that this is a complex type\n kind:\n type: string\n description: The specific kind of complex type, e.g., array or struct\n contains:\n title: Complex type `contains` field\n description:\n Either a type wrapper, an array of type wrappers, or an object\n mapping to type wrappers.\n oneOf:\n - $ref: "#/$defs/TypeWrapper"\n - $ref: "#/$defs/TypeWrapperArray"\n - $ref: "#/$defs/TypeWrapperObject"\n\n required:\n - kind\n - contains\n examples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n - kind: struct\n contains:\n - member: x\n type:\n kind: uint\n bits: 256\n - member: y\n type:\n kind: uint\n bits: 256\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n payable: true\n value:\n type:\n kind: uint\n bits: 256\n\n TypeWrapper:\n title: \'{ "type": ... }\'\n description:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\n type: object\n properties:\n type:\n oneOf:\n - $ref: "schema:ethdebug/format/type/base"\n - $ref: "schema:ethdebug/format/type/reference"\n\n required:\n - type\n\n TypeWrapperArray:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "#/$defs/TypeWrapper"\n\n TypeWrapperObject:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "#/$defs/TypeWrapper"\n',"schema:ethdebug/format/type/complex/alias":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/alias"\n\ntitle: ethdebug/format/type/complex/alias\ndescription:\n Schema representing a type alias to another type\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: alias\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: alias\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: alias\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/array":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/array"\n\ntitle: ethdebug/format/type/complex/array\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: array\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: array\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/function":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/function"\n\ntitle: ethdebug/format/type/complex/function\ndescription: |\n Schema for representing a function type.\n\n Type representations must indicate whether they represent a function that is\n called internally (within the semantics of the language) or a function that\n is called externally (via EVM contract call semantics and the Solidity ABI).\n Internal function types require the `"internal": true` field; external\n function types require `"external": true`.\n\n Note that external function types may include a representation of the\n contract type that defines or provides this function as an external\n interface.\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: function\n contains:\n type: object\n title: Parameter and return types\n description: |\n Types this function type composes. Function types inherently compose\n two groupings of types (an ordered list of parameter types and typically\n either a return value or return parameters). Function types\' `contains`\n field is organized as a mapping of `parameters` types (a type wrapper for\n a tuple type) and an optional `returns` type (either a generic type\n wrapper or a type wrapper for a tuple type).\n\n This definition applies for both cases (internal and external function\n types). Each of those specific types may expand this `contains` field\n schema with other semantic details (such as an external function type\n indicating the contract type from which it is exposed).\n properties:\n parameters:\n $ref: "#/$defs/Parameters"\n returns:\n type: object\n title: Return type (or tuple of types)\n description: |\n To accommodate languages differing in whether functions return single\n values or lists of values, this field may be either a generic type\n wrapper or explicitly defined as a type wrapper around a tuple type.\n\n Debuggers that implement this schema **should** be aware that\n languages whose functions return sole values might return tuple\n types. Resolving this ambiguity remains outside the scope of the\n schema (but compilers **must** be consistent when representing\n function types in this schema).\n anyOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "#/$defs/Parameters"\n required:\n - parameters\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - type: object\n title: External function type\n properties:\n internal:\n const: false\n external:\n const: true\n contains:\n type: object\n title: Additional contents\n properties:\n contract:\n type: object\n title: Contract type providing external function\n description:\n A wrapper around the contract type that composes this external\n function type.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - type: object\n title: Contract type wrapper\n properties:\n type:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n required:\n - external\n\n - type: object\n title: Internal function type\n properties:\n internal:\n const: true\n external:\n const: false\n required:\n - internal\n\nexamples:\n - kind: function\n internal: true\n definition:\n name: increment\n contains:\n parameters:\n type:\n kind: tuple\n contains:\n - name: value\n type:\n kind: uint\n bits: 256\n returns:\n type:\n kind: uint\n bits: 256\n - kind: function\n external: true\n definition:\n name: withdraw\n contains:\n contract:\n type:\n kind: contract\n payable: true\n interface: true\n definition:\n name: Bank\n parameters:\n type:\n kind: tuple\n contains:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - name: amount\n type:\n kind: ufixed\n bits: 128\n places: 18\n returns:\n type:\n kind: tuple\n contains: []\n\n$defs:\n Parameters:\n type: object\n title: Parameters\n description:\n A type wrapper around a tuple of types. This schema uses a tuple type to\n represent an ordered list of types.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Tuple type wrapper\n type: object\n properties:\n type:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n',"schema:ethdebug/format/type/complex/mapping":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/mapping"\n\ntitle: ethdebug/format/type/complex/mapping\ndescription:\n Schema for representing mapping types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: mapping\n contains:\n type: object\n title: Mapping key/value types\n properties:\n key:\n $ref: "schema:ethdebug/format/type/wrapper"\n value:\n $ref: "schema:ethdebug/format/type/wrapper"\n required:\n - key\n - value\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n value:\n type:\n kind: uint\n bits: 256\n',"schema:ethdebug/format/type/complex/struct":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/struct"\n\ntitle: ethdebug/format/type/complex/struct\ndescription:\n Schema for representing struct types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: struct\n contains:\n type: array\n items:\n $ref: "#/$defs/MemberField"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: struct\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n MemberField:\n type: object\n title: MemberField\n description:\n A schema representing a member field inside a struct type. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n description:\n An object with optional `name` property for identifying named struct\n member fields. **Note** that this language does not specify that a\n struct must be consistent in its use of naming for all fields or none\n type: object\n properties:\n name:\n type: string\n',"schema:ethdebug/format/type/complex/tuple":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/tuple"\n\ntitle: ethdebug/format/type/complex/tuple\ndescription:\n Schema for representing tuple types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: tuple\n contains:\n type: array\n items:\n $ref: "#/$defs/Element"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - # empty tuple type\n kind: tuple\n contains: []\n\n - kind: tuple\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n Element:\n type: object\n title: Element\n description:\n An optionally named element type within a tuple. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n type: object\n properties:\n name:\n type: string\n description:\n For tuple types where positional element types are identified\n by name, this field **should** include this information.\n\n This schema makes no restriction on whether all-or-no elements\n have names, and so this field may be sparse across elements of\n the same tuple.\n',"schema:ethdebug/format/type/complex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex"\n\ntitle: ethdebug/format/type/complex\ndescription:\n Canonical representation of a complex type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: alias\n then:\n $ref: "schema:ethdebug/format/type/complex/alias"\n\n - if:\n properties:\n kind:\n const: tuple\n then:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n\n - if:\n properties:\n kind:\n const: array\n then:\n $ref: "schema:ethdebug/format/type/complex/array"\n\n - if:\n properties:\n kind:\n const: mapping\n then:\n $ref: "schema:ethdebug/format/type/complex/mapping"\n\n - if:\n properties:\n kind:\n const: struct\n then:\n $ref: "schema:ethdebug/format/type/complex/struct"\n\n - if:\n properties:\n kind:\n const: function\n then:\n $ref: "schema:ethdebug/format/type/complex/function"\n\n$defs:\n Kind:\n title: Known complex kind\n description:\n A schema for the values of `kind` reserved for known complex types\n included in ethdebug/format\n type: string\n enum:\n - alias\n - tuple\n - array\n - mapping\n - struct\n - function\n',"schema:ethdebug/format/type/definition":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/definition"\n\ntitle: ethdebug/format/type/definition\ndescription: |\n Object containing name and location information for a type.\n\n This schema does not require any particular field, but it **must** contain\n at least one property.\n\ntype: object\nproperties:\n name:\n type: string\n\n location:\n $ref: "schema:ethdebug/format/materials/source-range"\n\nanyOf:\n - title: Required `name`\n required: [name]\n - title: Required `location`\n required: [location]\n\nexamples:\n - name: Ballot\n location:\n source:\n id: 5\n range:\n offset: 10\n length: 56\n',"schema:ethdebug/format/type/elementary/address":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/address"\n\ntitle: ethdebug/format/type/elementary/address\ndescription:\n Schema describing the representation of an address type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: address\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\nrequired:\n - kind\nexamples:\n - # a type for addresses of unknown payability\n kind: address\n\n - # a type for payable addresses\n kind: address\n payable: true\n',"schema:ethdebug/format/type/elementary/bool":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bool"\n\ntitle: ethdebug/format/type/elementary/bool\ndescription:\n Schema describing the representation of the boolean type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bool\nrequired:\n - kind\nexamples:\n - kind: bool\n',"schema:ethdebug/format/type/elementary/bytes":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bytes"\n\ntitle: ethdebug/format/type/elementary/bytes\ndescription:\n Schema describing the representation of a type of bytes string\n (either dynamic or static)\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bytes\n size:\n description:\n The number of bytes in the bytes string. If this field is omitted, this\n type is the dynamic bytes string type.\n $ref: "schema:ethdebug/format/data/unsigned"\nrequired:\n - kind\nexamples:\n - # example static bytes type\n kind: bytes\n size: 32\n - # example dynamic bytes type\n kind: bytes\n',"schema:ethdebug/format/type/elementary/contract":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/contract"\n\ntitle: ethdebug/format/type/elementary/contract\ndescription:\n Schema describing the representation of a contract type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: contract\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - title: Normal contract type\n properties:\n library:\n const: false\n interface:\n const: false\n\n - title: Contract library type\n properties:\n library:\n const: true\n description:\n Indicates that this is a type representing a library\n required:\n - library\n\n - title: Contract interface type\n properties:\n interface:\n const: true\n description:\n Indicates that this is a type representing an interface\n required:\n - interface\n\nrequired:\n - kind\n\nexamples:\n - kind: contract\n\n - kind: contract\n library: false\n interface: false\n payable: true\n',"schema:ethdebug/format/type/elementary/enum":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/enum"\n\ntitle: ethdebug/format/type/elementary/enum\ndescription:\n Schema describing the representation of an enumerated type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: enum\n values:\n description:\n The allowed values of an enum. This format makes no restriction on which\n values are allowed here.\n type: array\n items: true\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - values\n\nexamples:\n - kind: enum\n values:\n - A\n - B\n - C\n',"schema:ethdebug/format/type/elementary/fixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/fixed"\n\ntitle: ethdebug/format/type/elementary/fixed\ndescription:\n Schema describing the representation of a signed fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: fixed\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: integer\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: fixed\n bits: 256\n places: 10\n',"schema:ethdebug/format/type/elementary/int":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/int"\n\ntitle: ethdebug/format/type/elementary/int\ndescription:\n Schema describing the representation of a signed integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: int\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: int\n bits: 256\n',"schema:ethdebug/format/type/elementary/string":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/string"\n\ntitle: ethdebug/format/type/elementary/string\ndescription:\n Schema describing the representation of a string type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: string\n encoding:\n type: string\n default: utf-8\nrequired:\n - kind\nexamples:\n - kind: string\n - kind: string\n encoding: utf-16\n',"schema:ethdebug/format/type/elementary/ufixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/ufixed"\n\ntitle: ethdebug/format/type/elementary/ufixed\ndescription:\n Schema describing the representation of an unsigned fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: ufixed\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: integer\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: ufixed\n bits: 256\n places: 10\n\n',"schema:ethdebug/format/type/elementary/uint":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/uint"\n\ntitle: ethdebug/format/type/elementary/uint\ndescription:\n Schema describing the representation of an unsigned integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: uint\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: uint\n bits: 256\n',"schema:ethdebug/format/type/elementary":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary"\n\ntitle: ethdebug/format/type/elementary\ndescription:\n Canonical representation of an elementary type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: uint\n then:\n $ref: "schema:ethdebug/format/type/elementary/uint"\n\n - if:\n properties:\n kind:\n const: int\n then:\n $ref: "schema:ethdebug/format/type/elementary/int"\n\n - if:\n properties:\n kind:\n const: bool\n then:\n $ref: "schema:ethdebug/format/type/elementary/bool"\n\n - if:\n properties:\n kind:\n const: bytes\n then:\n $ref: "schema:ethdebug/format/type/elementary/bytes"\n\n - if:\n properties:\n kind:\n const: string\n then:\n $ref: "schema:ethdebug/format/type/elementary/string"\n\n - if:\n properties:\n kind:\n const: ufixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/ufixed"\n\n - if:\n properties:\n kind:\n const: fixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/fixed"\n - if:\n properties:\n kind:\n const: address\n then:\n $ref: "schema:ethdebug/format/type/elementary/address"\n\n - if:\n properties:\n kind:\n const: contract\n then:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n\n - if:\n properties:\n kind:\n const: enum\n then:\n $ref: "schema:ethdebug/format/type/elementary/enum"\n\n$defs:\n Kind:\n title: Known elementary kind\n description:\n A schema for the values of `kind` reserved for known elementary types\n included in ethdebug/format\n type: string\n enum:\n - uint\n - int\n - bool\n - bytes\n - string\n - ufixed\n - fixed\n - address\n - contract\n - enum\n',"schema:ethdebug/format/type/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/reference"\n\ntitle: ethdebug/format/type/reference\ndescription: A reference to a known type by ID\ntype: object\nproperties:\n id:\n type:\n - string\n - number\nadditionalProperties: false\nrequired:\n - id\nexamples:\n - id: 5\n',"schema:ethdebug/format/type/wrapper":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/wrapper"\n\ntitle: ethdebug/format/type/wrapper\ndescription:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\ntype: object\nproperties:\n type:\n # Discriminate between reference and type based on presence of `id`\n if:\n required:\n - id\n then:\n $ref: "schema:ethdebug/format/type/reference"\n else:\n $ref: "schema:ethdebug/format/type"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n id: "<opaque-id>"\n\n$defs:\n Array:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "schema:ethdebug/format/type/wrapper"\n\n Object:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "schema:ethdebug/format/type/wrapper"\n',"schema:ethdebug/format/type":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type"\n\ntitle: ethdebug/format/type\ndescription:\n Canonical representation for all types.\ntype: object\n\nif:\n type: object\n title: Known kind\n description:\n If `kind` adheres to the set of known kinds defined by this format\n properties:\n kind:\n anyOf:\n - $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n - $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n\nthen:\n type: object\n title: KnownType\n description:\n Then the object must adhere to exactly one known kind of type\n allOf:\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/elementary"\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/complex"\n\nelse:\n type: object\n description:\n Else the object must be a valid **ethdebug/format/type/base** with\n additional constraints\n allOf:\n - $ref: "schema:ethdebug/format/type/base"\n - title: Required `class` field\n required:\n - class\n - title: Specialized complex type `contains` field\n type: object\n if:\n description:\n If this object is a complex type\n properties:\n class:\n const: complex\n then:\n description:\n Then the `contains` field must adhere to\n **ethdebug/format/type/wrapper** schemas, not the\n **ethdebug/format/type/base** equivalent.\n\n (i.e., these additional constraints must apply recursively)\n properties:\n contains:\n oneOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Array"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Object"\n'}},64223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ui});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>C,commaOrSpaceSeparated:()=>j,commaSeparated:()=>P,number:()=>O,overloadedBoolean:()=>$,spaceSeparated:()=>A});var o={};n.r(o),n.d(o,{attentionMarkers:()=>fn,contentInitial:()=>on,disable:()=>dn,document:()=>rn,flow:()=>an,flowInitial:()=>sn,insideSpan:()=>ln,string:()=>un,text:()=>cn});var i=n(2784),s=n(70056),a=n.n(s),u=n(84560),c=n.n(u),l=n(77336),f=n(82009),d=n(99372);const h={"schema:ethdebug/format/type/base":{title:"ethdebug/format/type/base schema",href:"/spec/type/base"},"schema:ethdebug/format/type/base#/$defs/TypeWrapper":{title:"Base type wrapper schema",href:"/spec/type/base#base-type-wrapper-schema"},"schema:ethdebug/format/type/wrapper":{title:"Type wrapper schema",href:"/spec/type/concepts#type-wrapper-schema"},"schema:ethdebug/format/type/reference":{title:"Type reference schema",href:"/spec/type/concepts#type-reference-schema"},"schema:ethdebug/format/type/definition":{title:"Type definition schema",href:"/spec/type/concepts#type-definition-schema"},"schema:ethdebug/format/type":{href:"/spec/type"},"schema:ethdebug/format/type/elementary":{href:"/spec/type#elementary-type-schema"},"schema:ethdebug/format/type/complex":{href:"/spec/type#complex-type-schema"},...["uint","int","ufixed","fixed","bool","bytes","string","address","contract","enum"].map((e=>({[`schema:ethdebug/format/type/elementary/${e}`]:{href:`/spec/type/elementary/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["alias","tuple","array","mapping","struct","function"].map((e=>({[`schema:ethdebug/format/type/complex/${e}`]:{href:`/spec/type/complex/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/type/complex/function#/$defs/Parameters":{title:"Parameters schema",href:"/spec/type/complex/function#parameters-schema"},"schema:ethdebug/format/pointer":{href:"/spec/pointer"},"schema:ethdebug/format/pointer/region":{href:"/spec/pointer/region"},"schema:ethdebug/format/pointer/region/base":{href:"/spec/pointer/region/base"},...["stack","memory","storage","calldata","returndata","transient","code"].map((e=>({[`schema:ethdebug/format/pointer/region/${e}`]:{href:`/spec/pointer/region/location/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["slice","segment"].map((e=>({[`schema:ethdebug/format/pointer/scheme/${e}`]:{href:`/spec/pointer/region/scheme/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/collection":{href:"/spec/pointer/collection"},...["group","list","conditional","scope"].map((e=>({[`schema:ethdebug/format/pointer/collection/${e}`]:{href:`/spec/pointer/collection/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/expression":{href:"/spec/pointer/expression"},"schema:ethdebug/format/pointer/template":{href:"/spec/pointer/template"},...Object.entries({Literal:{title:"Literal values schema",anchor:"#literal-values"},Variable:{title:"Variable expression schema",anchor:"#variables"},Arithmetic:{title:"Arithmetic operation expression schema",anchor:"#arithmetic-operations"},Lookup:{title:"Lookup expression schema",anchor:"#lookup-region-definition"},Read:{title:"Read expression schema",anchor:"#reading-from-the-evm"},Keccak256:{title:"Keccak256 hash expression schema",anchor:"#keccak256-hashes"},Resize:{title:"Resize operation schema",anchor:"#resize-operations"},Reference:{title:"Region reference",anchor:"#region-references"}}).map((e=>{let[t,{title:n,anchor:r}]=e;return{[`schema:ethdebug/format/pointer/expression#/$defs/${t}`]:{title:n,href:`/spec/pointer/expression${r}`}}})).reduce(((e,t)=>({...e,...t})),{}),...["hex","unsigned"].map((e=>({[`schema:ethdebug/format/data/${e}`]:{href:`/spec/data/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/materials/id":{title:"Identifier schema",href:"/spec/materials/id#identifier-schema"},"schema:ethdebug/format/materials/reference":{title:"Identifier schema",href:"/spec/materials/id#reference-schema"},"schema:ethdebug/format/materials/compilation":{title:"Compilation schema",href:"/spec/materials/compilation"},"schema:ethdebug/format/materials/source":{title:"Source schema",href:"/spec/materials/source"}};var p=n(35849);const m=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y={};function v(e,t){return((t||y).jsx?g:m).test(e)}const b=/[ \t\n\f\r]/g;function _(e){return""===e.replace(b,"")}class w{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function E(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new w(n,r,t)}function k(e){return e.toLowerCase()}w.prototype.property={},w.prototype.normal={},w.prototype.space=null;class x{constructor(e,t){this.property=e,this.attribute=t}}x.prototype.space=null,x.prototype.boolean=!1,x.prototype.booleanish=!1,x.prototype.overloadedBoolean=!1,x.prototype.number=!1,x.prototype.commaSeparated=!1,x.prototype.spaceSeparated=!1,x.prototype.commaOrSpaceSeparated=!1,x.prototype.mustUseProperty=!1,x.prototype.defined=!1;let D=0;const S=F(),C=F(),$=F(),O=F(),A=F(),P=F(),j=F();function F(){return 2**++D}const I=Object.keys(r);class N extends x{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<I.length;){const e=I[i];T(this,I[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}N.prototype.defined=!0;const M={}.hasOwnProperty;function R(e){const t={},n={};let r;for(r in e.properties)if(M.call(e.properties,r)){const o=e.properties[r],i=new N(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[k(r)]=r,n[k(i.attribute)]=r}return new w(t,n,e.space)}const B=R({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=R({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function U(e,t){return z(e,t.toLowerCase())}const q=R({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:U,properties:{xmlns:null,xmlnsXLink:null}}),V=R({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:C,ariaAutoComplete:null,ariaBusy:C,ariaChecked:C,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:C,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:C,ariaFlowTo:A,ariaGrabbed:C,ariaHasPopup:null,ariaHidden:C,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:O,ariaLive:null,ariaModal:C,ariaMultiLine:C,ariaMultiSelectable:C,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:C,ariaReadOnly:C,ariaRelevant:null,ariaRequired:C,ariaRoleDescription:A,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:C,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),Q=R({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:U,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P,acceptCharset:A,accessKey:A,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:A,autoFocus:S,autoPlay:S,blocking:A,capture:S,charSet:null,checked:S,cite:null,className:A,cols:O,colSpan:null,content:null,contentEditable:C,controls:S,controlsList:A,coords:O|P,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:$,draggable:C,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:A,height:O,hidden:S,high:O,href:null,hrefLang:null,htmlFor:A,httpEquiv:A,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:A,itemRef:A,itemScope:S,itemType:A,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:S,optimum:O,pattern:null,ping:A,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:A,required:S,reversed:S,rows:O,rowSpan:O,sandbox:A,scope:null,scoped:S,seamless:S,selected:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:C,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:C,width:O,wrap:null,align:null,aLink:null,archive:A,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:C,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:O,security:null,unselectable:null}}),X=R({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:z,properties:{about:j,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:A,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:P,g2:P,glyphName:P,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:A,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=E([L,B,q,V,Q],"html"),K=E([L,B,q,V,X],"svg"),J=/^data[-\w.:]+$/i,W=/-[a-z]/g,G=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const ee={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var te=n(63338);const ne=te.default||te,re=ie("end"),oe=ie("start");function ie(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function se(e){return e&&"object"==typeof e?"position"in e||"type"in e?ue(e.position):"start"in e||"end"in e?ue(e):"line"in e||"column"in e?ae(e):"":""}function ae(e){return ce(e&&e.line)+":"+ce(e&&e.column)}function ue(e){return ae(e&&e.start)+"-"+ae(e&&e.end)}function ce(e){return e&&"number"==typeof e?e:1}class le extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=se(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}le.prototype.file="",le.prototype.name="",le.prototype.reason="",le.prototype.message="",le.prototype.stack="",le.prototype.column=void 0,le.prototype.line=void 0,le.prototype.ancestors=void 0,le.prototype.cause=void 0,le.prototype.fatal=void 0,le.prototype.place=void 0,le.prototype.ruleId=void 0,le.prototype.source=void 0;const fe={}.hasOwnProperty,de=new Map,he=/[A-Z]/g,pe=/-([a-z])/g,me=new Set(["table","tbody","thead","tfoot","tr"]),ge=new Set(["td","th"]),ye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ve(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=oe(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?K:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=be(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function be(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=xe(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fe.call(t.properties,o)){const i=ke(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&ge.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ee(e,t);me.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_(t.value):_(t));var t})));return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}De(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:xe(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else De(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else De(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=Ee(e,t);return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);De(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return we(r,Ee(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function _e(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function we(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ee(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:de;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=be(e,i,s);void 0!==a&&n.push(a)}return n}function ke(e,t,n){const r=function(e,t){const n=k(t);let r=t,o=x;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(G,Z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=N}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){const n={};try{ne(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(pe,Ce)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)fe.call(e,n)&&(t[Se(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ee[r.property]||r.property:r.attribute,n]}}function xe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=v(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=v(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return fe.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);De(e)}function De(e,t){const n=new le("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Se(e){let t=e.replace(he,$e);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ce(e,t){return t.toUpperCase()}function $e(e){return"-"+e.toLowerCase()}const Oe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Ae=n(52322);const Pe={};function je(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fe(e.children,t,n)}return Array.isArray(e)?Fe(e,t,n):""}function Fe(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=je(e[o],t,n);return r.join("")}function Ie(e,t,n,r){const o=e.length;let i,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Ne(e,t){return e.length>0?(Ie(e,e.length,0,t),e):t}function Te(e){const t={};let n,r,o,i,s,a,u,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Me(e,c)),c=t[c],u=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),Ie(e,r,c-r+1,s))}}return!u}function Me(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,u=[],c={};let l,f,d=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e[++o][1]!==h;);i.push(o),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(l),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(m=d+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),d=g.length;d--;){const t=a.slice(g[d],g[d+1]),n=i.pop();u.unshift([n,n+t.length-1]),Ie(e,n,2,t)}for(d=-1;++d<u.length;)c[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return c}const Re={}.hasOwnProperty;function Be(e,t){let n;for(n in t){const r=(Re.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Re.call(r,i)||(r[i]=[]);const e=o[i];Le(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Le(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ie(e,0,0,r)}const ze=Ye(/\p{P}/u),Ue=Ye(/[A-Za-z]/),qe=Ye(/[\dA-Za-z]/),Ve=Ye(/[#-'*+\--9=?A-Z^-~]/);function Qe(e){return null!==e&&(e<32||127===e)}const Xe=Ye(/\d/),He=Ye(/[\dA-Fa-f]/),Ke=Ye(/[!-/:-@[-`{-~]/);function Je(e){return null!==e&&e<-2}function We(e){return null!==e&&(e<0||32===e)}function Ge(e){return-2===e||-1===e||32===e}const Ze=Ye(/\s/);function Ye(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function et(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const tt={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Je(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const nt={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,u,c)(r)}return c(r)}function u(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(s);let a=n;for(;a<t.events.length;)t.events[a][1].end=Object.assign({},o),a++;return Ie(t.events,i+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(o){if(s===n.length){if(!r)return d(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(rt,l,f)(o)}function l(e){return r&&v(),y(s),d(e)}function f(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,p(e)}function d(n){return t.containerState={},e.attempt(rt,h,p)(n)}function h(e){return s++,n.push([t.currentConstruct,t.containerState]),d(e)}function p(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):Je(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function g(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(s),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},a),e++;Ie(t.events,u+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},rt={tokenize:function(e,t,n){return et(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ot={tokenize:function(e,t,n){return function(t){return Ge(t)?et(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const it={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Te(e),e}},st={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const at={tokenize:function(e){const t=this,n=e.attempt(ot,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,et(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ut={resolveAll:dt()},ct=ft("string"),lt=ft("text");function ft(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return u(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:dt("text"===e?ht:void 0)}}function dt(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ht(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,u=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)i=!0,u++;else if(-1!==e){s++;break}}if(u){const o={type:n===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function pt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mt(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let s=[],a=[],u=!0;const c={consume:function(e){Je(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,u=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=p(),l.events.push(["exit",t,l]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(y),interrupt:v(y,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(h(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,_()},write:function(e){if(s=Ne(s,e),m(),null!==s[s.length-1])return[];return b(t,0),l.events=pt(i,l.events,l),l.events}};let f,d=t.tokenize.call(l,c);return t.resolveAll&&i.push(t),l;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){u=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let s,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return s=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){h=function(){const e=p(),t=l.previous,n=l.currentConstruct,o=l.events.length,i=Array.from(a);return{restore:s,from:o};function s(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=o,a=i,_()}}(),d=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,y,v)(n)}}function y(t){return u=!0,e(d,h),o}function v(e){return u=!0,h.restore(),++f<s.length?g(s[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Ie(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function _(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const gt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ge(t)?et(e,i,"whitespace")(t):i(t))}}};const yt={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(gt,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:c,e.attempt(vt,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return Ge(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,et(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Ge(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,et(e,e.attempt(yt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},vt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return!Ge(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},bt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _t={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Ge(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Ge(t))return et(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_t,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function wt(e,t,n,r,o,i,s,a,u){const c=u||Number.POSITIVE_INFINITY;let l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||32===t||41===t||Qe(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Je(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(o){return l||null!==o&&41!==o&&!We(o)?l<c&&40===o?(e.consume(o),l++,p):41===o?(e.consume(o),l--,p):null===o||32===o||40===o||Qe(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Et(e,t,n,r,o,i){const s=this;let a,u=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(f){return u>999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Je(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||Je(t)||u++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Ge(t)),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,l):l(t)}}function kt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),u(n))}function u(t){return t===s?(e.exit(i),a(s)):null===t?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Je(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?l:c)}function l(t){return t===s||92===t?(e.consume(t),c):c(t)}}function xt(e,t){let n;return function r(o){if(Je(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Ge(o))return et(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Et.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return We(t)?xt(e,a)(t):a(t)}function a(t){return wt(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ct,c,c)(t)}function c(t){return Ge(t)?et(e,l,"whitespace")(t):l(t)}function l(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ct={tokenize:function(e,t,n){return function(t){return We(t)?xt(e,r)(t):n(t)};function r(t){return kt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ge(t)?et(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const $t={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),et(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt(Ot,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},Ot={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):et(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}},partial:!0};const At={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||We(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):Ge(n)?et(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||We(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ie(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Pt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ge(t)?et(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const jt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ft=["pre","script","style","textarea"],It={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,s,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ue(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function l(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a=0,d):Ue(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:S:d):n(o)}function h(t){return Ue(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||We(a)){const u=47===a,c=s.toLowerCase();return u||i||!Ft.includes(c)?jt.includes(s.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):S(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):y(a)):(o=1,r.interrupt?t(a):S(a))}return 45===a||qe(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return Ge(t)?(e.consume(t),g):x(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||Ue(t)?(e.consume(t),v):Ge(t)?(e.consume(t),y):x(t)}function v(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):Ge(t)?(e.consume(t),b):y(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):Ge(t)?(e.consume(t),_):E(t)}function w(t){return t===u?(e.consume(t),u=null,k):null===t||Je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||We(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Ge(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||Je(t)?S(t):Ge(t)?(e.consume(t),D):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),F):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Nt,T,C)(t))}function C(t){return e.check(Tt,$,T)(t)}function $(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),S(t))}function A(t){return 45===t?(e.consume(t),I):S(t)}function P(t){return 47===t?(e.consume(t),s="",j):S(t)}function j(t){if(62===t){const n=s.toLowerCase();return Ft.includes(n)?(e.consume(t),N):S(t)}return Ue(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),j):S(t)}function F(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),I):S(t)}function N(t){return null===t||Je(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),N)}function T(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Nt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}},partial:!0},Tt={tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Mt={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Rt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Ge(t)?et(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===i?(o++,e.consume(t),l):o>=a?(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===i?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(n))}function l(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ge(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),et(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),l)}function f(t){return null===t||Je(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ge(t)?et(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||Je(t)?e.check(Mt,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Bt=document.createElement("i");function Lt(e){const t="&"+e+";";Bt.innerHTML=t;const n=Bt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const zt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,i=qe,c(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=He,c):(e.enter("characterReferenceValue"),o=7,i=Xe,c(t))}function c(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==qe||Lt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),c):n(a)}}};const Ut={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Ke(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const qt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}}};const Vt={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){if(!o)return n(t);if(o._inactive)return l(t);return i=r.parser.defined.includes(Dt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Qt,c,i?c:l)(t):91===t?e.attempt(Xt,c,i?u:l)(t):i?c(t):l(t)}function u(t){return e.attempt(Ht,c,l)(t)}function c(e){return t(e)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},l={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",u,t],["enter",c,t]],i=Ne(i,e.slice(r+1,r+a+3)),i=Ne(i,[["enter",l,t]]),i=Ne(i,pt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Ne(i,[["exit",l,t],e[o-2],e[o-1],["exit",c,t]]),i=Ne(i,e.slice(o+1)),i=Ne(i,[["exit",u,t]]),Ie(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Qt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return We(t)?xt(e,o)(t):o(t)}function o(t){return 41===t?c(t):wt(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return We(t)?xt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?kt(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function u(t){return We(t)?xt(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xt={tokenize:function(e,t,n){const r=this;return function(t){return Et.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Ht={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Kt={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};function Jt(e){return null===e||We(e)||Ze(e)?1:function(e){return Ke(e)||ze(e)}(e)?2:void 0}const Wt={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Jt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const u=e.exit("attentionSequence"),c=Jt(a),l=!c||2===c&&o||n.includes(a),f=!o||2===o&&c||n.includes(r);return u._open=Boolean(42===i?l:l&&(o||!f)),u._close=Boolean(42===i?f:f&&(c||!l)),t(a)}},resolveAll:function(e,t){let n,r,o,i,s,a,u,c,l=-1;for(;++l<e.length;)if("enter"===e[l][0]&&"attentionSequence"===e[l][1].type&&e[l][1]._close)for(n=l;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[l][1]).charCodeAt(0)){if((e[n][1]._close||e[l][1]._open)&&(e[l][1].end.offset-e[l][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[l][1].end.offset-e[l][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Gt(f,-a),Gt(d,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Ne(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Ne(u,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),u=Ne(u,pt(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),u=Ne(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,u=Ne(u,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,Ie(e,n-1,l-n+3,u),l=n+u.length-c-2;break}l=-1;for(;++l<e.length;)"attentionSequence"===e[l][1].type&&(e[l][1].type="data");return e}};function Gt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Zt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ue(t)?(e.consume(t),i):u(t)}function i(e){return 43===e||45===e||46===e||qe(e)?(r=1,s(e)):u(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||qe(t))&&r++<32?(e.consume(t),s):(r=0,u(t))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Qe(r)?n(r):(e.consume(r),a)}function u(t){return 64===t?(e.consume(t),c):Ve(t)?(e.consume(t),u):n(t)}function c(e){return qe(e)?l(e):n(e)}function l(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||qe(t))&&r++<63){const n=45===t?f:l;return e.consume(t),n}return n(t)}}};const Yt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),v):Ue(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):Ue(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function l(t){return null===t?n(t):45===t?(e.consume(t),f):Je(t)?(s=l,j(t)):(e.consume(t),l)}function f(t){return 45===t?(e.consume(t),d):l(t)}function d(e){return 62===e?P(e):45===e?f(e):l(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Je(t)?(s=p,j(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?P(t):93===t?(e.consume(t),g):p(t)}function y(t){return null===t||62===t?P(t):Je(t)?(s=y,j(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Je(t)?(s=v,j(t)):(e.consume(t),v)}function b(e){return 62===e?P(e):v(e)}function _(t){return Ue(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||qe(t)?(e.consume(t),w):E(t)}function E(t){return Je(t)?(s=E,j(t)):Ge(t)?(e.consume(t),E):P(t)}function k(t){return 45===t||qe(t)?(e.consume(t),k):47===t||62===t||We(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),P):58===t||95===t||Ue(t)?(e.consume(t),D):Je(t)?(s=x,j(t)):Ge(t)?(e.consume(t),x):P(t)}function D(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),D):S(t)}function S(t){return 61===t?(e.consume(t),C):Je(t)?(s=S,j(t)):Ge(t)?(e.consume(t),S):x(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,$):Je(t)?(s=C,j(t)):Ge(t)?(e.consume(t),C):(e.consume(t),O)}function $(t){return t===o?(e.consume(t),o=void 0,A):null===t?n(t):Je(t)?(s=$,j(t)):(e.consume(t),$)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||We(t)?x(t):(e.consume(t),O)}function A(e){return 47===e||62===e||We(e)?x(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function j(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return Ge(t)?et(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),s(t)}}};const en={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};const tn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const nn={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||Je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",u(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const rn={42:yt,43:yt,45:yt,48:yt,49:yt,50:yt,51:yt,52:yt,53:yt,54:yt,55:yt,56:yt,57:yt,62:_t},on={91:St},sn={[-2]:$t,[-1]:$t,32:$t},an={35:At,42:gt,45:[Pt,gt],60:It,61:Pt,95:gt,96:Rt,126:Rt},un={38:zt,92:Ut},cn={[-5]:qt,[-4]:qt,[-3]:qt,33:Kt,38:zt,42:Wt,60:[Zt,Yt],91:en,92:[tn,Ut],93:Vt,95:Wt,96:nn},ln={null:[Wt,ut]},fn={null:[42,95]},dn={null:[]};function hn(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Be(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:r(tt),document:r(nt),flow:r(at),string:r(ct),text:r(lt)};return n;function r(e){return function(t){return mt(n,e,t)}}}const pn=/[\0\t\n\r]/g;function mn(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mn(n.slice(t?2:1),t?16:10)}return Lt(n)||e}const vn={}.hasOwnProperty;function bn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:D,autolinkEmail:D,atxHeading:i(W),blockQuote:i(Q),characterEscape:D,characterReference:D,codeFenced:i(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(X,s),codeText:i(H,s),codeTextData:D,data:D,codeFlowValue:D,definition:i(K),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(J),hardBreakEscape:i(G),hardBreakTrailing:i(G),htmlFlow:i(Z,s),htmlFlowData:D,htmlText:i(Z,s),htmlTextData:D,image:i(Y),label:s,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:B,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(W),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:S,codeIndented:u(y),codeText:u(P),codeTextData:S,data:S,definition:u(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u($),hardBreakTrailing:u($),htmlFlow:u(O),htmlFlowData:S,htmlText:u(A),htmlTextData:S,image:u(F),label:N,labelText:I,lineEnding:C,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:L,resourceDestinationString:T,resourceTitleString:M,resource:R,setextHeading:u(x),setextHeadingLineSequence:k,setextHeadingText:E,strong:u(),thematicBreak:u()}};wn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:s,resume:l,data:n},u=[];let f=-1;for(;++f<e.length;)if("listOrdered"===e[f][1].type||"listUnordered"===e[f][1].type)if("enter"===e[f][0])u.push(f);else{f=o(e,u.pop(),f)}for(f=-1;++f<e.length;){const n=t[e[f][0]];vn.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},i),e[f][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||kn).call(i,void 0,e[0])}for(r.position={start:_n(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_n(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)r=t.transforms[f](r)||r;return r}function o(e,t,n){let r,o,i,s,a=t-1,u=-1,c=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:_n(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||kn).call(this,e,r[0])}n.position.end=_n(e.end)}function l(){return function(e,t){const n=t||Pe;return je(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function p(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function v(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase()}function b(){const e=this.resume();this.stack[this.stack.length-1].title=e}function _(){const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function k(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function D(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ie(),n.position={start:_n(e.start),end:void 0},t.push(n)),this.stack.push(n)}function S(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=_n(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=_n(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(D.call(this,e),S.call(this,e))}function $(){this.data.atHardBreak=!0}function O(){const e=this.resume();this.stack[this.stack.length-1].value=e}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function j(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function F(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(gn,yn)}(t),n.identifier=Dt(t).toLowerCase()}function N(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function T(){const e=this.resume();this.stack[this.stack.length-1].url=e}function M(){const e=this.resume();this.stack[this.stack.length-1].title=e}function R(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function L(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function U(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=mn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Lt(t)}const o=this.stack.pop();o.value+=r,o.position.end=_n(e.end)}function q(e){S.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function V(e){S.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function H(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function W(){return{type:"heading",depth:0,children:[]}}function G(){return{type:"break"}}function Z(){return{type:"html",value:""}}function Y(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Te(e););return e}(hn(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let u,c,l,f,d;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),l=0,n="",r&&(65279===o.charCodeAt(0)&&l++,r=void 0);l<o.length;){if(pn.lastIndex=l,u=pn.exec(o),f=u&&void 0!==u.index?u.index:o.length,d=o.charCodeAt(f),!u){n=o.slice(l);break}if(10===d&&l===f&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),l<f&&(a.push(o.slice(l,f)),t+=f-l),d){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function _n(e){return{line:e.line,column:e.column,offset:e.offset}}function wn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?wn(e,r):En(e,r)}}function En(e,t){let n;for(n in t)if(vn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function kn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is still open")}function xn(e){const t=this;t.parser=function(n){return bn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Dn="object"==typeof self?self:globalThis,Sn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new Dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Dn[i](s),o)};return r})(new Map,e)(0),Cn="",{toString:$n}={},{keys:On}=Object,An=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=$n.call(e).slice(8,-1);switch(n){case"Array":return[1,Cn];case"Object":return[2,Cn];case"Date":return[3,Cn];case"RegExp":return[4,Cn];case"Map":return[5,Cn];case"Set":return[6,Cn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Pn=([e,t])=>0===e&&("function"===t||"symbol"===t),jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=An(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],u=o([s,n],r);for(const t of On(r))!e&&Pn(An(r[t]))||n.push([i(t),i(r[t])]);return u}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Pn(An(o))&&!Pn(An(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Pn(An(o))||t.push(i(o));return n}}const{message:u}=r;return o([s,{name:a,message:u}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Fn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Sn(jn(e,t)):structuredClone(e):(e,t)=>Sn(jn(e,t));function In(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&qe(e.charCodeAt(n+1))&&qe(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Nn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Tn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Bn;if("function"==typeof e)return Rn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mn(e[n]);return Rn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Rn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Rn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Rn(e){return function(t,n,r){return Boolean(Ln(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Bn(){return!0}function Ln(e){return null!==e&&"object"==typeof e&&"type"in e}const zn=[],Un=!0,qn=!1,Vn="skip";function Qn(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Mn(o),s=r?-1:1;!function e(o,a,u){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(l,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return l;function l(){let c,l,f,d=zn;if((!t||i(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Un,e];return null==e?zn:[e]}(n(o,u)),d[0]===qn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==Vn)for(l=(r?t.children.length:-1)+s,f=u.concat(t);l>-1&&l<t.children.length;){const n=t.children[l];if(c=e(n,l,f)(),c[0]===qn)return c;l="number"==typeof c[1]?c[1]:l+s}}return d}}(e,void 0,[])()}function Xn(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),Qn(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}),o)}function Hn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function Kn(e){const t=e.spread;return null==t?e.children.length>1:t}const Jn=9,Wn=32;function Gn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Zn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zn(t.slice(o),o>0,!1)),i.join("")}function Zn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Jn||t===Wn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Jn||t===Wn;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yn={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=In(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={src:In(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:In(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={href:In(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:In(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Kn(n[r])}return t}(n):Kn(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const u=r[r.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&s.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=oe(t.children[1]),s=re(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const u=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Gn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:er,yaml:er,definition:er,footnoteDefinition:er};function er(){}const tr={}.hasOwnProperty,nr={};function rr(e,t){e.position&&(t.position=function(e){const t=oe(e),n=re(e);if(t&&n)return{start:t,end:n}}(e))}function or(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Fn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ir(e,t){const n=t.data||{},r=!("value"in t)||tr.call(n,"hProperties")||tr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function sr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ar(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ur(e,t){const n=function(e,t){const n=t||nr,r=new Map,o=new Map,i=new Map,s={...Yn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=ar(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=ar(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:or,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(tr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Fn(n);return r.children=a.all(e),r}return Fn(e)}return(a.options.unknownHandler||ir)(a,e,t)},options:n,patch:rr,wrap:sr};return Xn(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nn,r=e.options.footnoteBackLabel||Tn,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),c=In(s.toLowerCase());let l=0;const f=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++l<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,l);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else i.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function cr(e,t){return e&&"run"in e?async function(n,r){const o=ur(n,t);await e.run(o,r)}:function(n){return ur(n,t||e)}}function lr(e){if(e)throw e}var fr=n(49385);function dr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let u=-1;if(i)r(i);else{for(;++u<t.length;)null!==s[u]&&void 0!==s[u]||(s[u]=t[u]);t=s,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a instanceof Promise?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const pr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(mr(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){mr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)mr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){mr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else{if(47===n)break;n=47}if(47===n){if(s===u-1||1===a);else if(s!==u-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=u,a=0;continue}}else if(o.length>0){o="",i=0,s=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,u):o=e.slice(s+1,u),i=u-s-1;s=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function mr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gr={cwd:function(){return"/"}};function yr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function vr(e){if("string"==typeof e)e=new URL(e);else if(!yr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const br=["history","path","basename","stem","extname","dirname"];class _r{constructor(e){let t;t=e?yr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=gr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<br.length;){const e=br[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)br.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?pr.basename(this.path):void 0}set basename(e){Er(e,"basename"),wr(e,"basename"),this.path=pr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?pr.dirname(this.path):void 0}set dirname(e){kr(this.basename,"dirname"),this.path=pr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?pr.extname(this.path):void 0}set extname(e){if(wr(e,"extname"),kr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=pr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){yr(e)&&(e=vr(e)),Er(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?pr.basename(this.path,this.extname):void 0}set stem(e){Er(e,"stem"),wr(e,"stem"),this.path=pr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new le(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function wr(e,t){if(e&&e.includes(pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+pr.sep+"`")}function Er(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function kr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const xr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,t);const o=Object.getOwnPropertyNames(n);for(const i of o){const e=Object.getOwnPropertyDescriptor(n,i);e&&Object.defineProperty(r,i,e)}return r},Dr={}.hasOwnProperty;class Sr extends xr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=hr()}copy(){const e=new Sr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(fr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ar("data",this.frozen),this.namespace[e]=t,this):Dr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ar("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Fr(e),n=this.parser||this.Parser;return $r("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),$r("process",this.parser||this.Parser),Or("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=Fr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,(function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),$r("processSync",this.parser||this.Parser),Or("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,lr(e),t=r})),jr("processSync","process",n),t}run(e,t,n){Pr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=Fr(t);r.run(e,s,(function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){lr(e),n=t,r=!0})),jr("runSync","run",r),n}stringify(e,t){this.freeze();const n=Fr(t),r=this.compiler||this.Compiler;return Or("stringify",r),Pr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Ar("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(r.settings=fr(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];dr(s)&&dr(r)&&(r=fr(!0,s,r)),n[o]=[e,r,...i]}}}}const Cr=(new Sr).freeze();function $r(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Or(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ar(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pr(e){if(!dr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _r(e)}const Ir=[],Nr={allowDangerousHtml:!0},Tr=/^(https?|ircs?|mailto|xmpp)$/i,Mr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Rr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,a=e.rehypePlugins||Ir,u=e.remarkPlugins||Ir,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nr}:Nr,l=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Br,h=Cr().use(xn).use(u).use(cr,c).use(a),p=new _r;"string"==typeof r&&(p.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=h.parse(p);let g=h.runSync(m,p);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Xn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return l?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in Oe)if(Object.hasOwn(Oe,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Oe[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return f&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),ve(g,{Fragment:Ae.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ae.jsx,jsxs:Ae.jsxs,passKeys:!0,passNode:!0})}function Br(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tr.test(e.slice(0,t))?e:""}function Lr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,d.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,s=i&&n?`${i}${n}`:i||void 0;return(0,Ae.jsxs)(l.default,{groupId:"schema-language",children:[(0,Ae.jsx)(f.default,{value:"yaml",label:"YAML",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:s||"schema.yaml",children:o})}),(0,Ae.jsx)(f.default,{value:"json",label:"JSON",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"json",showLineNumbers:!0,title:s?`${s}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(n),!0).forEach((function(t){Xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jr(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}function Wr(e){return{}.toString.call(e).includes("Object")}function Gr(e){return"function"==typeof e}var Zr=Jr((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),Yr={changes:function(e,t){return Wr(t)||Zr("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&Zr("changeField"),t},selector:function(e){Gr(e)||Zr("selectorType")},handler:function(e){Gr(e)||Wr(e)||Zr("handlerType"),Wr(e)&&Object.values(e).some((function(e){return!Gr(e)}))&&Zr("handlersType")},initial:function(e){var t;e||Zr("initialIsRequired"),Wr(e)||Zr("initialType"),t=e,Object.keys(t).length||Zr("initialContent")}};function eo(e,t){return Gr(t)?t(e.current):t}function to(e,t){return e.current=Kr(Kr({},e.current),t),t}function no(e,t,n){return Gr(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}const ro={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yr.initial(e),Yr.handler(t);var n={current:e},r=Jr(no)(n,t),o=Jr(to)(n),i=Jr(Yr.changes)(e),s=Jr(eo)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Yr.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}(r,o,i,s)(e)}]}};const oo={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};const io=function(e){return{}.toString.call(e).includes("Object")};var so={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},ao=function(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}((function(e,t){throw new Error(e[t]||e.default)}))(so),uo={config:function(e){return e||ao("configIsRequired"),io(e)||ao("configType"),e.urls?(console.warn(so.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};const co=uo;const lo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};const fo=function e(t,n){return Object.keys(n).forEach((function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))})),qr(qr({},t),n)};var ho={type:"cancelation",msg:"operation is manually canceled"};const po=function(e){var t=!1,n=new Promise((function(n,r){e.then((function(e){return t?r(ho):n(e)})),e.catch(r)}));return n.cancel=function(){return t=!0},n};var mo,go,yo=ro.create({config:oo,isInitialized:!1,resolve:null,reject:null,monaco:null}),vo=(go=2,function(e){if(Array.isArray(e))return e}(mo=yo)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(mo,go)||function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qr(e,t):void 0}}(mo,go)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),bo=vo[0],_o=vo[1];function wo(e){return document.body.appendChild(e)}function Eo(e){var t=bo((function(e){return{config:e.config,reject:e.reject}})),n=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ko(){var e=bo((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){xo(t),e.resolve(t)}),(function(t){e.reject(t)}))}function xo(e){bo().monaco||_o({monaco:e})}var Do=new Promise((function(e,t){return _o({resolve:e,reject:t})})),So={config:function(e){var t=co.config(e),n=t.monaco,r=Vr(t,["monaco"]);_o((function(e){return{config:fo(e.config,r),monaco:n}}))},init:function(){var e=bo((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(_o({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),po(Do);if(window.monaco&&window.monaco.editor)return xo(window.monaco),e.resolve(window.monaco),po(Do);lo(wo,Eo)(ko)}return po(Do)},__getMonacoInstance:function(){return bo((function(e){return e.monaco}))}};const Co=So;var $o={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},Oo={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var Ao=function({children:e}){return i.createElement("div",{style:Oo.container},e)};var Po=function({width:e,height:t,isEditorReady:n,loading:r,_ref:o,className:s,wrapperProps:a}){return i.createElement("section",{style:{...$o.wrapper,width:e,height:t},...a},!n&&i.createElement(Ao,null,r),i.createElement("div",{ref:o,style:{...$o.fullWidth,...!n&&$o.hide},className:s}))},jo=(0,i.memo)(Po);var Fo=function(e){(0,i.useEffect)(e,[])};var Io=function(e,t,n=!0){let r=(0,i.useRef)(!0);(0,i.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function No(){}function To(e,t,n,r){return function(e,t){return e.editor.getModel(Mo(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Mo(e,r):void 0)}(e,t,n,r)}function Mo(e,t){return e.Uri.parse(t)}var Ro=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:s,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:c=!1,theme:l="light",loading:f="Loading...",options:d={},height:h="100%",width:p="100%",className:m,wrapperProps:g={},beforeMount:y=No,onMount:v=No}){let[b,_]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!0),k=(0,i.useRef)(null),x=(0,i.useRef)(null),D=(0,i.useRef)(null),S=(0,i.useRef)(v),C=(0,i.useRef)(y),$=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(x.current=e)&&E(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?function(){let e=k.current?.getModel();u||e?.original?.dispose(),c||e?.modified?.dispose(),k.current?.dispose()}():e.cancel()})),Io((()=>{if(k.current&&x.current){let t=k.current.getOriginalEditor(),o=To(x.current,e||"",r||n||"text",s||"");o!==t.getModel()&&t.setModel(o)}}),[s],b),Io((()=>{if(k.current&&x.current){let e=k.current.getModifiedEditor(),r=To(x.current,t||"",o||n||"text",a||"");r!==e.getModel()&&e.setModel(r)}}),[a],b),Io((()=>{let e=k.current.getModifiedEditor();e.getOption(x.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Io((()=>{k.current?.getModel()?.original.setValue(e||"")}),[e],b),Io((()=>{let{original:e,modified:t}=k.current.getModel();x.current.editor.setModelLanguage(e,r||n||"text"),x.current.editor.setModelLanguage(t,o||n||"text")}),[n,r,o],b),Io((()=>{x.current?.editor.setTheme(l)}),[l],b),Io((()=>{k.current?.updateOptions(d)}),[d],b);let O=(0,i.useCallback)((()=>{if(!x.current)return;C.current(x.current);let i=To(x.current,e||"",r||n||"text",s||""),u=To(x.current,t||"",o||n||"text",a||"");k.current?.setModel({original:i,modified:u})}),[n,t,o,e,r,s,a]),A=(0,i.useCallback)((()=>{!$.current&&D.current&&(k.current=x.current.editor.createDiffEditor(D.current,{automaticLayout:!0,...d}),O(),x.current?.editor.setTheme(l),_(!0),$.current=!0)}),[d,l,O]);return(0,i.useEffect)((()=>{b&&S.current(k.current,x.current)}),[b]),(0,i.useEffect)((()=>{!w&&!b&&A()}),[w,b,A]),i.createElement(jo,{width:p,height:h,isEditorReady:b,loading:f,_ref:D,className:m,wrapperProps:g})};(0,i.memo)(Ro);var Bo=function(){let[e,t]=(0,i.useState)(Co.__getMonacoInstance());return Fo((()=>{let n;return e||(n=Co.init(),n.then((e=>{t(e)}))),()=>n?.cancel()})),e};var Lo=function(e){let t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},zo=new Map;var Uo=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:o,path:s,theme:a="light",line:u,loading:c="Loading...",options:l={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:h=!1,width:p="100%",height:m="100%",className:g,wrapperProps:y={},beforeMount:v=No,onMount:b=No,onChange:_,onValidate:w=No}){let[E,k]=(0,i.useState)(!1),[x,D]=(0,i.useState)(!0),S=(0,i.useRef)(null),C=(0,i.useRef)(null),$=(0,i.useRef)(null),O=(0,i.useRef)(b),A=(0,i.useRef)(v),P=(0,i.useRef)(),j=(0,i.useRef)(r),F=Lo(s),I=(0,i.useRef)(!1),N=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(S.current=e)&&D(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>C.current?(P.current?.dispose(),h?d&&zo.set(s,C.current.saveViewState()):C.current.getModel()?.dispose(),void C.current.dispose()):e.cancel()})),Io((()=>{let i=To(S.current,e||r||"",t||o||"",s||n||"");i!==C.current?.getModel()&&(d&&zo.set(F,C.current?.saveViewState()),C.current?.setModel(i),d&&C.current?.restoreViewState(zo.get(s)))}),[s],E),Io((()=>{C.current?.updateOptions(l)}),[l],E),Io((()=>{!C.current||void 0===r||(C.current.getOption(S.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(N.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop(),N.current=!1))}),[r],E),Io((()=>{let e=C.current?.getModel();e&&o&&S.current?.editor.setModelLanguage(e,o)}),[o],E),Io((()=>{void 0!==u&&C.current?.revealLine(u)}),[u],E),Io((()=>{S.current?.editor.setTheme(a)}),[a],E);let T=(0,i.useCallback)((()=>{if($.current&&S.current&&!I.current){A.current(S.current);let i=s||n,c=To(S.current,r||e||"",t||o||"",i||"");C.current=S.current?.editor.create($.current,{model:c,automaticLayout:!0,...l},f),d&&C.current.restoreViewState(zo.get(i)),S.current.editor.setTheme(a),void 0!==u&&C.current.revealLine(u),k(!0),I.current=!0}}),[e,t,n,r,o,s,l,f,d,a,u]);return(0,i.useEffect)((()=>{E&&O.current(C.current,S.current)}),[E]),(0,i.useEffect)((()=>{!x&&!E&&T()}),[x,E,T]),j.current=r,(0,i.useEffect)((()=>{E&&_&&(P.current?.dispose(),P.current=C.current?.onDidChangeModelContent((e=>{N.current||_(C.current.getValue(),e)})))}),[E,_]),(0,i.useEffect)((()=>{if(E){let e=S.current.editor.onDidChangeMarkers((e=>{let t=C.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=S.current.editor.getModelMarkers({resource:t});w?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[E,w]),i.createElement(jo,{width:p,height:m,isEditorReady:E,loading:c,_ref:$,className:g,wrapperProps:y})},qo=(0,i.memo)(Uo),Vo=n(60361),Qo=n(43159),Xo=n.n(Qo),Ho=n(22038),Ko=n.n(Ho),Jo=n(404);function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wo.apply(this,arguments)}var Go={enum:1,type:0},Zo=/"/g,Yo=/NOT/g,ei=/\//g,ti=function(e){var t=e.value,n=e.suggestions,r=e.format,o=void 0===r?function(e){return"Did you mean '"+e+"'?"}:r;if(!t)return"";var i=n.reduce((function(e,n){var r=Ko()(t,n);return e.distance>r?{value:n,distance:r}:e}),{distance:1/0,value:""});return i.distance<t.length?o(i.value):""},ni=function(e){return e.split("/").pop()},ri=function(e){var t=e.object,n=e.pnter,r=e.fallback;try{return Jo.get(t,n)}catch(o){return r}},oi=function(e){var t=e.errors,n=e.data,r=e.schema,o=e.basePath,i=void 0===o?"{base}":o;if(!Array.isArray(t)||0===t.length)return[];var s=function(e){var t=e.reduce((function(e,t){var n,r,o,i,s,a,u=t.instancePath+(null!=(n=null!=(r=null==(o=t.params)?void 0:o.additionalProperty)?r:null==(i=t.params)?void 0:i.missingProperty)?n:""),c=e[u];return c?((null!=(s=Go[t.keyword])?s:0)>(null!=(a=Go[c.keyword])?a:0)&&(e[u]=t),e):(e[u]=t,e)}),{});return Object.values(t)}(t);return s.map((function(e){var t,o=(i+e.instancePath).replace(ei,"."),s=ni(e.instancePath),a={errorType:e.keyword},u=(s?"property '"+s+"'":o)+" "+e.message.replace(Zo,"'").replace(Yo,"not");switch(e.keyword){case"additionalProperties":var c=e.params.additionalProperty,l=e.schemaPath.replace("#","").replace("/additionalProperties",""),f=ri({object:r,pnter:l,fallback:{properties:{}}}).properties;t={message:"'"+c+"' property is not expected to be here",suggestion:ti({value:c,suggestions:Object.keys(null!=f?f:{}),format:function(e){return"Did you mean property '"+e+"'?"}}),path:o,context:a};break;case"enum":var d=e.params.allowedValues.map((function(e){return e.toString()})),h=ni(e.instancePath),p=ri({object:n,pnter:e.instancePath,fallback:""});t={message:"'"+h+"' property must be equal to one of the allowed values",suggestion:ti({value:p,suggestions:d}),path:o,context:Wo({},a,{allowedValues:e.params.allowedValues})};break;case"type":t={message:"'"+ni(e.instancePath)+"' property type must be "+e.params.type,path:o,context:a};break;case"required":t={message:o+" must have required property '"+e.params.missingProperty+"'",path:o,context:a};break;case"const":return{message:"'"+s+"' property must be equal to the allowed value",path:o,context:Wo({},a,{allowedValue:e.params.allowedValue})};default:return{message:u,path:o,context:a}}for(var m=0,g=Object.entries(t);m<g.length;m++){var y=g[m],v=y[0],b=y[1];null!=b&&""!==b||delete t[v]}return t}))},ii=n(4407),si=n.n(ii);function ai(e){const{schema:t}=(0,d.describeSchema)(e),{colorMode:n}=(0,Vo.I)(),r=t.examples?.[0]??{},o=(0,i.useRef)(null),s=Bo(),a=2,u=new(si())({schemas:Object.values(d.schemas),allErrors:!0,strict:!1}),[c,l]=(0,i.useState)(r),[f,h]=(0,i.useState)(!1);function p(e){console.error(e)}return(0,i.useEffect)((()=>{f&&function(){const t=u.getSchema(e.schema.id);if(!t)return p("Unable to validate schema");const n=function(){try{return Xo().parse(c,void 0,{tabWidth:a})}catch{return{data:"",pointers:{}}}}();t(n.data);const r=oi({schema:d.schemas[e.schema.id],data:n.data,errors:t.errors});console.log(r,t.errors),function(e,t){const n=o.current?.getModel();if(!n||!s)return p("Unable to validate schema");let r=[];if(e)for(const[o,i]of Object.entries(e)){let e=i.path.replace("{base}","").replace(/\./g,"/"),n=t.pointers[e],o=i.message.replace("{base}","").replace(/\./g,"/");"const"==i.context.errorType&&(o=`Expecting a constant value of "${i.context.allowedValue}"`),n&&o&&(r.push({startLineNumber:n.value.line+1,startColumn:n.value.column+1,endColumn:n.valueEnd.column+1,endLineNumber:n.valueEnd.line+1,message:o,severity:s.MarkerSeverity.Error}),n.key&&n.keyEnd&&r.push({startLineNumber:n.key.line+1,startColumn:n.key.column+1,endColumn:n.keyEnd.column+1,endLineNumber:n.keyEnd.line+1,message:o,severity:s.MarkerSeverity.Error}))}s.editor.setModelMarkers(n,"EthDebug",r)}(r,n)}()}),[c]),(0,Ae.jsx)("section",{className:"playground-container",children:(0,Ae.jsx)(qo,{height:"50vh",language:"json",theme:"dark"==n?"vs-dark":"vs-light",defaultValue:JSON.stringify(r,void 0,a),onChange:function(e){h(!0),l(e)},onMount:function(e){o.current=e},options:{contextmenu:!1,autoIndent:"advanced",tabSize:a}})})}function ui(e){const t=(0,d.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,s=ci(r,n||"");return(0,Ae.jsxs)(l.default,{children:[(0,Ae.jsx)(f.default,{value:"viewer",label:"Explore",children:(0,Ae.jsx)(p.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:h},children:(0,Ae.jsx)(a(),{schema:s,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,d.describeSchema)({schema:{id:t}});return ci(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Ae.jsx)("code",{children:t.toString()}):(0,Ae.jsx)(c(),{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Ae.jsx)(Rr,{children:t})}}})})}),(0,Ae.jsx)(f.default,{value:"listing",label:"View source",children:(0,Ae.jsx)(Lr,{schema:e.schema,pointer:e.pointer})}),(0,Ae.jsx)(f.default,{value:"playground",label:"Playground",children:(0,Ae.jsx)(ai,{schema:e.schema,pointer:e.pointer})})]})}function ci(e,t){return li(fi(e),`${t}#`)}function li(e,t){return Array.isArray(e)?e.map(((e,n)=>li(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=li(o,`${t}/${r}`),e}),{[p.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function fi(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(fi);if(1===Object.keys(e).length&&"$ref"in e)return e;const{$ref:t,...n}=e,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return e[n]=fi(r),e}),{});if(!t)return r;const o=["allOf","oneOf","anyOf"].find((t=>!(t in e)));if(!o)throw new Error(`Could not find available composition keyword in ${JSON.stringify(e)}`);return r[o]=[{$ref:t}],r}},35849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),s=Symbol("__$internalId")},94845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(51074),o=n(52322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,s=void 0!==t.dependentSchemas,a=void 0!==t.dependencies;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.IfElseThen,{schema:t}),i&&(0,o.jsx)(r.DependentRequired,{schema:t}),s&&(0,o.jsx)(r.DependentSchemas,{schema:t}),a&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},70213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(65296),o=n.n(r),i=n(77336),s=n(82009),a=n(94598),u=n(2204),c=n(52322);function l(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,c.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,c.jsx)("ul",{children:t.map(((e,t)=>(0,c.jsx)("li",{children:(0,c.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function d(e){const{schema:t}=e,n=function(e){const{allOf:t}=e;if(!t.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!t.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("properties"in t)||!t.properties)return!1;const n=t.properties;if(1!==Object.keys(n).length)return!1;const r=n[Object.keys(n)[0]];return"object"==typeof r&&"const"in r&&"string"==typeof r.const&&!!r.const})))return;const n=Object.keys(t[0].if.properties)[0],r=t.map(((e,t)=>{let{if:r,then:o}=e;return{[r.properties[n].const]:{schema:o,index:t}}})).reduce(((e,t)=>({...e,...t})),{});return Object.keys(r).length===t.length?{propertyName:n,schemasByConst:r}:void 0}(t);if(n)return(0,c.jsx)(l,{...n});const r=function(e){const{allOf:t}=e,[n,...r]=t;if("boolean"==typeof n||!("oneOf"in n))return;const{oneOf:o}=n;if(!o||!o.every((e=>"object"==typeof e&&"required"in e&&e.required instanceof Array&&1===e.required.length)))return;const i=o.map((e=>{let{required:[t]}=e;return t}));if(r.length!==i.length)return;if(!r.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!r.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("required"in t))return!1;const{required:n}=t;if(!n||1!==n.length)return!1;const[r]=n;return"string"==typeof r&&!!r})))return;return{propertyNames:i,schemasByPropertyName:r.map(((e,t)=>{let{if:{required:[n]},then:r}=e;return{[n]:{schema:r,index:t}}})).reduce(((e,t)=>({...e,...t})),{})}}(t);return r?(0,c.jsx)(f,{...r}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o(),{...e})})}},14130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});n(2784);var r=n(42360),o=n.n(r),i=n(94598),s=n(35849),a=n(27718),u=n(2204),c=n(77740),l=n(54884),f=n(52322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),{schemaIndex:d}=(0,s.J5)(),p=r,m=t,{documentation:g,semantics:y}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[s.D9]:i,...a}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:a}}(m);if(0===Object.keys(y).length||1===Object.keys(y).length&&"type"in y&&"object"==typeof p&&"type"in p&&("string"==typeof y.type&&y.type===p.type||y.type instanceof Array&&p.type instanceof Array&&y.type.length===p.type.length&&y.type.every((e=>p.type.includes(e))))){const{description:e}=g;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.QualifierMessages,{schema:g,options:o}),e&&(0,f.jsx)(l.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})]})}const{[s.D9]:v}=p;if(v&&v in d){const{href:e,title:t=`${v.startsWith("schema:")?v.slice(7):v} schema`}=d[v];return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 This schema extends the ",(0,f.jsx)(a.Z,{to:e,children:t}),".",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})})]})}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 These extensions apply to the base schema below:",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})}),(0,f.jsx)(u.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(c.GenerateFriendlyName,{schema:p})}),"\xa0",(0,f.jsx)("span",{className:"badge badge--info",children:"base schema"})]}),detailsProps:{open:!0},children:(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})})]})}function h(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,s.J5)(),{schema:r,...u}=e,{[s.D9]:c}=r;if(c&&c in n&&t>0){const{href:e,title:t=`${c.startsWith("schema:")?c.slice(7):c} schema`}=n[c];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(a.Z,{to:e,children:t})," documentation."]})})}const l=function(e){if("boolean"==typeof e)return;const t=["allOf","oneOf","anyOf"].filter((t=>t in e&&1===(e[t]||[]).length));if(1!==t.length)return;const[n]=t,{[n]:r,...o}=e,[i]=r;return{unnecessarilyComposedSchema:i,unnecessaryCompositionKeyword:n,schemaWithoutUnnecessaryComposition:o}}(r);return l?(0,f.jsx)(d,{...l}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...u})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(s){if(!i[s]){var a={},u=[],c=[];for(c.push({node:s,processed:!1});c.length>0;){var l=c[c.length-1],f=l.processed,d=l.node;if(f)c.pop(),u.pop(),a[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){c.pop();continue}if(a[d]){if(r){c.pop();continue}throw u.push(d),new o(u)}a[d]=!0,u.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)c.push({node:h[p],processed:!1});l.processed=!0}}}}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],o=Object.keys(this.nodes);if(0===o.length)return r;if(!this.circular){var i=n(this.outgoingEdges,!1,[],this.circular);o.forEach((function(e){i(e)}))}var s=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){s(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){s(e)})),r},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},r.prototype.directDependentsOf=r.prototype.directDependantsOf,r.prototype.dependentsOf=r.prototype.dependantsOf;var o=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,o),n};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(p&&o&&(s(o)||(c=i(o)))?(c?(c=!1,l=r&&i(r)?r:[]):l=r&&s(r)?r:{},a(f,{name:n,newValue:e(p,l,o)})):void 0!==o&&a(f,{name:n,newValue:o}));return f}},69378:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},6238:e=>{function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},50340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[K]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(e)||Array.isArray(e)||!!e[H]||!!(null===(t=e.constructor)||void 0===t?void 0:t[H])||f(e)||d(e))}function i(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[K];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var n=G(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=Y[e];return t||n(18,e),t}function b(e,t){Y[e]||(Y[e]=t)}function _(){return z}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function E(e){k(e),e.p.forEach(D),e.p=null}function k(e){e===z&&(z=e.l)}function x(e){return z={p:[],l:z,h:e,_:!0,m:0}}function D(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function S(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,i),i?(r[K].g&&(E(t),n(4)),o(e)&&(e=C(t,e),t.l||O(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=C(t,r,[]),E(t),t.o&&t.s(t.o,t.v),e!==X?e:void 0}function C(e,t,n){if(y(t))return t;var r=t[K];if(!r)return i(t,(function(o,i){return $(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return O(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var o=4===r.t||5===r.t?r.i=p(r.k):r.i,s=o,a=!1;3===r.t&&(s=new Set(o),o.clear(),a=!0),i(s,(function(t,i){return $(e,r,o,t,i,n,a)})),O(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function $(e,t,n,i,s,u,l){if(r(s)){var f=C(e,s,u&&t&&3!==t.t&&!a(t.N,i)?u.concat(i):void 0);if(c(n,i,f),!r(f))return;e._=!1}else l&&n.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e.m<1)return;C(e,s),t&&t.A.l||O(e,s)}}function O(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function A(e,t){var n=e[K];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.g||(e.g=!0,e.l&&j(e.l))}function F(e){e.i||(e.i=p(e.u))}function I(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:_(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},o=r,i=ee;n&&(o=[r],i=te);var s=Proxy.revocable(o,i),a=s.revoke,u=s.proxy;return r.k=u,r.j=a,u}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function N(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[K],a=s(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=T(t,a),r.R=!1}else n=T(t,a);return i(n,(function(t,o){r&&u(r.u,t)===o||c(n,t,e(o))})),3===a?new Set(n):n}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:o(r)&&j(r);break;case 4:n(r)&&j(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==K){var s=t[i];if(void 0===s&&!a(t,i))return!0;var u=n[i],c=u&&u[K];if(c?c.u!==s:!l(u,s))return!0}}var f=!!t[K];return r.length!==G(t).length+(f?0:1)}function o(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var s={};b("ES5",{I:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Z(n);delete i[K];for(var s=G(i),a=0;a<s.length;a++){var u=s[a];i[u]=e(u,t||!!i[u].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={t:r?5:4,A:n?n.A:_(),g:!1,R:!1,N:{},l:n,u:t,k:o,i:null,O:!1,C:!1};return Object.defineProperty(o,K,{value:i,writable:!0}),o},P:function(e,n,s){s?r(n)&&n[K].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var r=n.u,s=n.k,u=n.N,c=n.t;if(4===c)i(s,(function(t){t!==K&&(void 0!==r[t]||a(r,t)?u[t]||e(s[t]):(u[t]=!0,j(n)))})),i(r,(function(e){void 0!==s[e]||a(s,e)||(u[e]=!1,j(n))}));else if(5===c){if(o(n)&&(j(n),u.length=!0),s.length<r.length)for(var l=s.length;l<r.length;l++)u[l]=!1;else for(var f=r.length;f<s.length;f++)u[f]=!0;for(var d=Math.min(s.length,r.length),h=0;h<d;h++)s.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(s[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):o(e)}})}function R(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(d(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return a(t,H)&&(n[H]=t[H]),n}function t(t){return r(t)?e(t):t}var c="add";b("Patches",{W:function(t,r){return r.forEach((function(r){for(var o=r.path,i=r.op,a=t,l=0;l<o.length-1;l++){var f=s(a),d=o[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof a&&"prototype"===d&&n(24),"object"!=typeof(a=u(a,d))&&n(15,o.join("/"))}var h=s(a),p=e(r.value),m=o[o.length-1];switch(i){case"replace":switch(h){case 2:return a.set(m,p);case 3:n(16);default:return a[m]=p}case c:switch(h){case 1:return"-"===m?a.push(p):a.splice(m,0,p);case 2:return a.set(m,p);case 3:return a.add(p);default:return a[m]=p}case"remove":switch(h){case 1:return a.splice(m,1);case 2:return a.delete(m);case 3:return a.delete(r.value);default:return delete a[m]}default:n(17,i)}})),t},F:function(e,n,r,o){switch(e.t){case 0:case 4:case 2:return function(e,n,r,o){var s=e.u,l=e.i;i(e.N,(function(e,i){var f=u(s,e),d=u(l,e),h=i?a(s,e)?"replace":c:"remove";if(f!==d||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),o.push(h===c?{op:"remove",path:p}:"remove"===h?{op:c,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}}))}(e,n,r,o);case 5:case 1:return function(e,n,r,o){var i=e.u,s=e.N,a=e.i;if(a.length<i.length){var u=[a,i];i=u[0],a=u[1];var l=[o,r];r=l[0],o=l[1]}for(var f=0;f<i.length;f++)if(s[f]&&a[f]!==i[f]){var d=n.concat([f]);r.push({op:"replace",path:d,value:t(a[f])}),o.push({op:"replace",path:d,value:t(i[f])})}for(var h=i.length;h<a.length;h++){var p=n.concat([h]);r.push({op:c,path:p,value:t(a[h])})}i.length<a.length&&o.push({op:"replace",path:n.concat(["length"]),value:i.length})}(e,n,r,o);case 3:return function(e,t,n,r){var o=e.u,i=e.i,s=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([s]);n.push({op:"remove",path:o,value:e}),r.unshift({op:c,path:o,value:e})}s++})),s=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([s]);n.push({op:c,path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}s++}))}(e,n,r,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===X?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function B(){function e(e,t){function n(){this.constructor=e}a(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach((function(t){if(o(t)){var n=I(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)})))}function s(e){e.O&&n(3,JSON.stringify(h(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[K]={t:2,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[K]).size}}),r.has=function(e){return h(this[K]).has(e)},r.set=function(e,n){var r=this[K];return s(r),h(r).has(e)&&h(r).get(e)===n||(t(r),j(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[K];return s(n),t(n),j(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[K];s(e),h(e).size&&(t(e),j(e),e.N=new Map,i(e.u,(function(t){e.N.set(t,!1)})),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[K]).forEach((function(r,o){e.call(t,n.get(o),o,n)}))},r.get=function(e){var n=this[K];s(n);var r=h(n).get(e);if(n.R||!o(r))return r;if(r!==n.u.get(e))return r;var i=I(n.A.h,r,n);return t(n),n.i.set(e,i),i},r.keys=function(){return h(this[K]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[J]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[K]={t:3,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[K]).size}}),n.has=function(e){var t=this[K];return s(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[K];return s(t),this.has(e)||(r(t),j(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[K];return s(t),r(t),j(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[K];s(e),h(e).size&&(r(e),j(e),e.i.clear())},n.values=function(){var e=this[K];return s(e),r(e),e.i.values()},n.entries=function(){var e=this[K];return s(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[J]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var L;Object.defineProperty(t,"__esModule",{value:!0});var z,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,V="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),H=U?Symbol.for("immer-draftable"):"__$immer_draftable",K=U?Symbol.for("immer-state"):"__$immer_state",J="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",W=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},ee={get:function(e,t){if(t===K)return e;var n=h(e);if(!a(n,t))return function(e,t,n){var r,o=P(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!o(r)?r:r===A(e.u,t)?(F(e),e.i[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=P(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var o=A(h(e),t),i=null==o?void 0:o[K];if(i&&i.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(l(n,o)&&(void 0!==n||a(e.u,t)))return!0;F(e),j(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.u,t)||t in e.u?(e.N[t]=!1,F(e),j(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};i(ee,(function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=Q,this.D=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var a=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return a.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=x(t),l=I(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?E(c):k(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return w(c,i),S(e,c)}),(function(e){throw E(c),e})):(w(c,i),S(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===X&&(u=void 0),t.D&&m(u,!0),i){var d=[],h=[];v("Patches").M(e,u,d,h),i(d,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),r(e)&&(e=N(e));var t=x(this),i=I(this,e,void 0);return i[K].C=!0,k(t),i},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return w(n,t),S(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var o=t[n];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").W;return r(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new ne,oe=re.produce,ie=re.produceWithPatches.bind(re),se=re.setAutoFreeze.bind(re),ae=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=N,t.default=oe,t.enableAllPlugins=function(){M(),B(),R()},t.enableES5=M,t.enableMapSet=B,t.enablePatches=R,t.finishDraft=le,t.freeze=m,t.immerable=H,t.isDraft=r,t.isDraftable=o,t.nothing=X,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=se,t.setUseProxies=ae},30412:(e,t,n)=>{"use strict";e.exports=n(50340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(s),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return v(a),u}}return b(),function(){var e,t=[];for(_(t);e=E();)!1!==e&&(t.push(e),_(t));return t}()}},19522:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,u,c,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var d in r(i,s,a,u,c,l,f),i){var h=i[d];if(Array.isArray(h)){if(d in t.arrayKeywords)for(var p=0;p<h.length;p++)n(e,r,o,h[p],s+"/"+d+"/"+p,a,s,d,i,p)}else if(d in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,r,o,h[m],s+"/"+d+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,d,i,m)}else(d in t.keywords||e.allKeys&&!(d in t.skipKeywords))&&n(e,r,o,h,s+"/"+d,a,s,d,i)}o(i,s,a,u,c,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},96111:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),n=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),r=(n.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),o=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(t){return!0}},s=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a=t.document,u=r(a)&&r(a.createElement),c=function(e){return u?a.createElement(e):{}},l=!s&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,h={f:s?Object.defineProperty:function(e,t,n){if(o(e),t=f(t,!0),o(n),l)try{return d(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=s?function(e,t,n){return h.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=0,b=Math.random(),_=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++v+b).toString(36))},w=!1,E=e((function(e){var r="__core-js_shared__",o=t[r]||(t[r]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:w?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),k=E("native-function-to-string",Function.toString),x=e((function(e){var r=_("src"),o="toString",i=(""+k).split(o);n.inspectSource=function(e){return k.call(e)},(e.exports=function(e,n,o,s){var a="function"==typeof o;a&&(y(o,"name")||m(o,"name",n)),e[n]!==o&&(a&&(y(o,r)||m(o,r,e[n]?""+e[n]:i.join(String(n)))),e===t?e[n]=o:s?e[n]?e[n]=o:m(e,n,o):(delete e[n],m(e,n,o)))})(Function.prototype,o,(function(){return"function"==typeof this&&this[r]||k.call(this)}))})),D=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},S=function(e,t,n){if(D(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},C="prototype",$=function(e,r,o){var i,s,a,u,c=e&$.F,l=e&$.G,f=e&$.S,d=e&$.P,h=e&$.B,p=l?t:f?t[r]||(t[r]={}):(t[r]||{})[C],g=l?n:n[r]||(n[r]={}),y=g[C]||(g[C]={});for(i in l&&(o=r),o)a=((s=!c&&p&&void 0!==p[i])?p:o)[i],u=h&&s?S(a,t):d&&"function"==typeof a?S(Function.call,a):a,p&&x(p,i,a,e&$.U),g[i]!=a&&m(g,i,u),d&&y[i]!=a&&(y[i]=a)};t.core=n,$.F=1,$.G=2,$.S=4,$.P=8,$.B=16,$.W=32,$.U=64,$.R=128;var O,A=$,P=Math.ceil,j=Math.floor,F=function(e){return isNaN(e=+e)?0:(e>0?j:P)(e)},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},N=(O=!1,function(e,t){var n,r,o=String(I(e)),i=F(t),s=o.length;return i<0||i>=s?O?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?O?o.charAt(i):n:O?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});A(A.P,"String",{codePointAt:function(e){return N(this,e)}}),n.String.codePointAt;var T=Math.max,M=Math.min,R=function(e,t){return(e=F(e))<0?T(e+t,0):M(e,t)},B=String.fromCharCode,L=String.fromCodePoint;A(A.S+A.F*(!!L&&1!=L.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],o=arguments.length,i=0;o>i;){if(t=+n[i++],R(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var z,U,q,V,Q,X,H,K,J,W,G,Z,Y,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"==typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){z=String(e),U="start",q=[],V=0,Q=1,X=0,H=void 0,K=void 0,J=void 0;do{H=ie(),pe[U]()}while("eof"!==H.type);return"function"==typeof t?oe({"":J},"",t):J};function oe(e,t,n){var r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(var o=0;o<r.length;o++){var i=String(o),s=oe(r,i,n);void 0===s?delete r[i]:Object.defineProperty(r,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}else for(var a in r){var u=oe(r,a,n);void 0===u?delete r[a]:Object.defineProperty(r,a,{value:u,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function ie(){for(W="default",G="",Z=!1,Y=1;;){ee=se();var e=ue[W]();if(e)return e}}function se(){if(z[V])return String.fromCodePoint(z.codePointAt(V))}function ae(){var e=se();return"\n"===e?(Q++,X=0):e?X+=e.length:X++,e&&(V+=e.length),e}var ue={default:function(){switch(ee){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void ae();case"/":return ae(),void(W="comment");case void 0:return ae(),ce("eof")}if(!ne.isSpaceSeparator(ee))return ue[U]();ae()},comment:function(){switch(ee){case"*":return ae(),void(W="multiLineComment");case"/":return ae(),void(W="singleLineComment")}throw ye(ae())},multiLineComment:function(){switch(ee){case"*":return ae(),void(W="multiLineCommentAsterisk");case void 0:throw ye(ae())}ae()},multiLineCommentAsterisk:function(){switch(ee){case"*":return void ae();case"/":return ae(),void(W="default");case void 0:throw ye(ae())}ae(),W="multiLineComment"},singleLineComment:function(){switch(ee){case"\n":case"\r":case"\u2028":case"\u2029":return ae(),void(W="default");case void 0:return ae(),ce("eof")}ae()},value:function(){switch(ee){case"{":case"[":return ce("punctuator",ae());case"n":return ae(),le("ull"),ce("null",null);case"t":return ae(),le("rue"),ce("boolean",!0);case"f":return ae(),le("alse"),ce("boolean",!1);case"-":case"+":return"-"===ae()&&(Y=-1),void(W="sign");case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",1/0);case"N":return ae(),le("aN"),ce("numeric",NaN);case'"':case"'":return Z='"'===ae(),G="",void(W="string")}throw ye(ae())},identifierNameStartEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":break;default:if(!ne.isIdStartChar(e))throw be()}G+=e,W="identifierName"},identifierName:function(){switch(ee){case"$":case"_":case"\u200c":case"\u200d":return void(G+=ae());case"\\":return ae(),void(W="identifierNameEscape")}if(!ne.isIdContinueChar(ee))return ce("identifier",G);G+=ae()},identifierNameEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!ne.isIdContinueChar(e))throw be()}G+=e,W="identifierName"},sign:function(){switch(ee){case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",Y*(1/0));case"N":return ae(),le("aN"),ce("numeric",NaN)}throw ye(ae())},zero:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent");case"x":case"X":return G+=ae(),void(W="hexadecimal")}return ce("numeric",0*Y)},decimalInteger:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalPointLeading:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalFraction");throw ye(ae())},decimalPoint:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}return ne.isDigit(ee)?(G+=ae(),void(W="decimalFraction")):ce("numeric",Y*Number(G))},decimalFraction:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalExponent:function(){switch(ee){case"+":case"-":return G+=ae(),void(W="decimalExponentSign")}if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentSign:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentInteger:function(){if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},hexadecimal:function(){if(ne.isHexDigit(ee))return G+=ae(),void(W="hexadecimalInteger");throw ye(ae())},hexadecimalInteger:function(){if(!ne.isHexDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},string:function(){switch(ee){case"\\":return ae(),void(G+=fe());case'"':return Z?(ae(),ce("string",G)):void(G+=ae());case"'":return Z?void(G+=ae()):(ae(),ce("string",G));case"\n":case"\r":throw ye(ae());case"\u2028":case"\u2029":_e(ee);break;case void 0:throw ye(ae())}G+=ae()},start:function(){switch(ee){case"{":case"[":return ce("punctuator",ae())}W="value"},beforePropertyName:function(){switch(ee){case"$":case"_":return G=ae(),void(W="identifierName");case"\\":return ae(),void(W="identifierNameStartEscape");case"}":return ce("punctuator",ae());case'"':case"'":return Z='"'===ae(),void(W="string")}if(ne.isIdStartChar(ee))return G+=ae(),void(W="identifierName");throw ye(ae())},afterPropertyName:function(){if(":"===ee)return ce("punctuator",ae());throw ye(ae())},beforePropertyValue:function(){W="value"},afterPropertyValue:function(){switch(ee){case",":case"}":return ce("punctuator",ae())}throw ye(ae())},beforeArrayValue:function(){if("]"===ee)return ce("punctuator",ae());W="value"},afterArrayValue:function(){switch(ee){case",":case"]":return ce("punctuator",ae())}throw ye(ae())},end:function(){throw ye(ae())}};function ce(e,t){return{type:e,value:t,line:Q,column:X}}function le(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(se()!==r)throw ye(ae());ae()}}function fe(){switch(se()){case"b":return ae(),"\b";case"f":return ae(),"\f";case"n":return ae(),"\n";case"r":return ae(),"\r";case"t":return ae(),"\t";case"v":return ae(),"\v";case"0":if(ae(),ne.isDigit(se()))throw ye(ae());return"\0";case"x":return ae(),de();case"u":return ae(),he();case"\n":case"\u2028":case"\u2029":return ae(),"";case"\r":return ae(),"\n"===se()&&ae(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ye(ae())}return ae()}function de(){var e="",t=se();if(!ne.isHexDigit(t))throw ye(ae());if(e+=ae(),t=se(),!ne.isHexDigit(t))throw ye(ae());return e+=ae(),String.fromCodePoint(parseInt(e,16))}function he(){for(var e="",t=4;t-- >0;){var n=se();if(!ne.isHexDigit(n))throw ye(ae());e+=ae()}return String.fromCodePoint(parseInt(e,16))}var pe={start:function(){if("eof"===H.type)throw ve();me()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":return K=H.value,void(U="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===H.type)throw ve();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===H.type)throw ve();me()},beforeArrayValue:function(){if("eof"===H.type)throw ve();"punctuator"!==H.type||"]"!==H.value?me():ge()},afterPropertyValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(H.type){case"punctuator":switch(H.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=H.value}if(void 0===J)J=e;else{var t=q[q.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,K,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)q.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=q[q.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function ge(){q.pop();var e=q[q.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return Ee(void 0===e?"JSON5: invalid end of input at "+Q+":"+X:"JSON5: invalid character '"+we(e)+"' at "+Q+":"+X)}function ve(){return Ee("JSON5: invalid end of input at "+Q+":"+X)}function be(){return Ee("JSON5: invalid identifier character at "+Q+":"+(X-=5))}function _e(e){console.warn("JSON5: '"+we(e)+"' in strings is not valid ECMAScript; consider escaping")}function we(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Ee(e){var t=new SyntaxError(e);return t.lineNumber=Q,t.columnNumber=X,t}return{parse:re,stringify:function(e,t,n){var r,o,i,s=[],a="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,i=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c<l.length;c+=1){var f=l[c],d=void 0;"string"==typeof f?d=f:("number"==typeof f||f instanceof String||f instanceof Number)&&(d=String(f)),void 0!==d&&r.indexOf(d)<0&&r.push(d)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"==typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),h("",{"":e});function h(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),o&&(n=o.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?p(n,!1):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?y(n):m(n):void 0}function p(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",o=0;o<e.length;o++){var s=e[o];switch(s){case"'":case'"':t[s]++,r+=s;continue;case"\0":if(ne.isDigit(e[o+1])){r+="\\x00";continue}}if(n[s])r+=n[s];else if(s<" "){var a=s.charCodeAt(0).toString(16);r+="\\x"+("00"+a).substring(a.length)}else r+=s}var u=i||Object.keys(t).reduce((function(e,n){return t[e]<t[n]?e:n}));return u+(r=r.replace(new RegExp(u,"g"),n[u]))+u}function m(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,o,i=[],c=0,l=r||Object.keys(e);c<l.length;c+=1){var f=l[c],d=h(f,e);if(void 0!==d){var p=g(f)+":";""!==u&&(p+=" "),p+=d,i.push(p)}}if(0===i.length)n="{}";else if(""===u)n="{"+(o=i.join(","))+"}";else{var m=",\n"+a;o=i.join(m),n="{\n"+a+o+",\n"+t+"}"}return s.pop(),a=t,n}function g(e){if(0===e.length)return p(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!ne.isIdStartChar(t))return p(e,!0);for(var n=t.length;n<e.length;n++)if(!ne.isIdContinueChar(String.fromCodePoint(e.codePointAt(n))))return p(e,!0);return e}function y(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,r=[],o=0;o<e.length;o++){var i=h(String(o),e);r.push(void 0!==i?i:"null")}if(0===r.length)n="[]";else if(""===u)n="["+r.join(",")+"]";else{var c=",\n"+a,l=r.join(c);n="[\n"+a+l+",\n"+t+"]"}return s.pop(),a=t,n}}}}()},404:(e,t)=>{var n=/~/,r=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function i(e){return n.test(e)?e.replace(r,o):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!=typeof t&&"number"!=typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function a(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=s(t)).length;if(1===n)return e;for(var r=1;r<n;){if(e=e[i(t[r++])],n===r)return e;if("object"!=typeof e||null===e)return}}function u(e,t,n){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(t=s(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,n){for(var r,o,s=1,a=t.length;s<a;){if("constructor"===t[s]||"prototype"===t[s]||"__proto__"===t[s])return e;if(r=i(t[s++]),o=a>s,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),o&&(""!==t[s]&&t[s]<1/0||"-"===t[s]?e[r]=[]:e[r]={})),!o)break;e=e[r]}var u=e[r];return void 0===n?delete e[r]:e[r]=n,u}(e,t,n)}t.get=a,t.set=u,t.compile=function(e){var t=s(e);return{get:function(e){return a(e,t)},set:function(e,n){return u(e,t,n)}}}},22038:e=>{"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,s=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-s);)i--,s--;let a,u,c,l,f=0;for(;f<i&&e.charCodeAt(f)===r.charCodeAt(f);)f++;if(i-=f,s-=f,0===i)return s;let d=0,h=0;for(;d<i;)n[d]=e.charCodeAt(f+d),t[d]=++d;for(;h<s;)for(a=r.charCodeAt(f+h),c=h++,u=h,d=0;d<i;d++)l=a===n[d]?c:c+1,c=t[d],u=t[d]=c>u?l>u?u+1:l:l>c?c+1:l;return u};e.exports=r,e.exports.default=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},80235:(e,t,n)=>{var r=n(3945),o=n(21846),i=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},10326:(e,t,n)=>{var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},50857:(e,t,n)=>{var r=n(37772).Symbol;e.exports=r},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},60091:(e,t,n)=>{var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},53366:(e,t,n)=>{var r=n(50857),o=n(62107),i=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},82857:(e,t,n)=>{var r=n(60091),o=n(17297),i=n(39045),s=n(29259),a=n(33812);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var h=a(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=f){var m=d[h];void 0===(p=u?u(m,h,d):void 0)&&(p=s(m)?m:i(t[c+1])?[]:{})}r(d,h,p),d=d[h]}return e}},1054:(e,t,n)=>{var r=n(50857),o=n(50343),i=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(u){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},21401:(e,t,n)=>{var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},86152:e=>{var t=Array.isArray;e.exports=t},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=16,c=32,l=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",E="[object Error]",k="[object Function]",x="[object GeneratorFunction]",D="[object Map]",S="[object Number]",C="[object Object]",$="[object Promise]",O="[object RegExp]",A="[object Set]",P="[object String]",j="[object Symbol]",F="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",V="[object Uint32Array]",Q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,W=RegExp(K.source),G=RegExp(J.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",$e="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",je="["+xe+"]",Fe="["+Ae+"]",Ie="["+De+"]",Ne="\\d+",Te="["+Se+"]",Me="["+Ce+"]",Re="[^"+xe+Ae+Ne+Se+Ce+$e+"]",Be="\\ud83c[\\udffb-\\udfff]",Le="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+$e+"]",Ve="\\u200d",Qe="(?:"+Me+"|"+Re+")",Xe="(?:"+qe+"|"+Re+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Be+")"+"?",We="["+Oe+"]?",Ge=We+Je+("(?:"+Ve+"(?:"+[Le,ze,Ue].join("|")+")"+We+Je+")*"),Ze="(?:"+[Te,ze,Ue].join("|")+")"+Ge,Ye="(?:"+[Le+Ie+"?",Ie,ze,Ue,je].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Be+"(?="+Be+")|"+Ye+Ge,"g"),rt=RegExp([qe+"?"+Me+"+"+He+"(?="+[Fe,qe,"$"].join("|")+")",Xe+"+"+Ke+"(?="+[Fe,qe+Qe,"$"].join("|")+")",qe+"?"+Qe+"+"+He,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),ot=RegExp("["+Ve+xe+De+Oe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ut={};ut[T]=ut[M]=ut[R]=ut[B]=ut[L]=ut[z]=ut[U]=ut[q]=ut[V]=!0,ut[v]=ut[b]=ut[I]=ut[_]=ut[N]=ut[w]=ut[E]=ut[k]=ut[D]=ut[S]=ut[C]=ut[O]=ut[A]=ut[P]=ut[F]=!1;var ct={};ct[v]=ct[b]=ct[I]=ct[N]=ct[_]=ct[w]=ct[T]=ct[M]=ct[R]=ct[B]=ct[L]=ct[D]=ct[S]=ct[C]=ct[O]=ct[A]=ct[P]=ct[j]=ct[z]=ct[U]=ct[q]=ct[V]=!0,ct[E]=ct[k]=ct[F]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&ht.process,_t=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=_t&&_t.isArrayBuffer,Et=_t&&_t.isDate,kt=_t&&_t.isMap,xt=_t&&_t.isRegExp,Dt=_t&&_t.isSet,St=_t&&_t.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $t(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function Ft(e,t){return!!(null==e?0:e.length)&&qt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Tt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Rt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Ht("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function qt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Qt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Qt(e){return e!=e}function Xt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:m}function Ht(e){return function(t){return null==t?o:t[e]}}function Kt(e){return function(t){return null==e?o:e[t]}}function Jt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Wt(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==o&&(n=n===o?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,gn(e)+1).replace(se,""):e}function Yt(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&qt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Lt(e)}function mn(e){return un(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var yn=Kt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,st))).Array,ae=t.Date,xe=t.Error,De=t.Function,Se=t.Math,Ce=t.Object,$e=t.RegExp,Oe=t.String,Ae=t.TypeError,Pe=r.prototype,je=De.prototype,Fe=Ce.prototype,Ie=t["__core-js_shared__"],Ne=je.toString,Te=Fe.hasOwnProperty,Me=0,Re=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Fe.toString,Le=Ne.call(Ce),ze=mt._,Ue=$e("^"+Ne.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=vt?t.Buffer:o,Ve=t.Symbol,Qe=t.Uint8Array,Xe=qe?qe.allocUnsafe:o,He=ln(Ce.getPrototypeOf,Ce),Ke=Ce.create,Je=Fe.propertyIsEnumerable,We=Pe.splice,Ge=Ve?Ve.isConcatSpreadable:o,Ze=Ve?Ve.iterator:o,Ye=Ve?Ve.toStringTag:o,nt=function(){try{var e=hi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==mt.Date.now&&ae.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=Ce.getOwnPropertySymbols,bt=qe?qe.isBuffer:o,_t=t.isFinite,Lt=Pe.join,Kt=ln(Ce.keys,Ce),bn=Se.max,_n=Se.min,wn=ae.now,En=t.parseInt,kn=Se.random,xn=Pe.reverse,Dn=hi(t,"DataView"),Sn=hi(t,"Map"),Cn=hi(t,"Promise"),$n=hi(t,"Set"),On=hi(t,"WeakMap"),An=hi(Ce,"create"),Pn=On&&new On,jn={},Fn=Bi(Dn),In=Bi(Sn),Nn=Bi(Cn),Tn=Bi($n),Mn=Bi(On),Rn=Ve?Ve.prototype:o,Bn=Rn?Rn.valueOf:o,Ln=Rn?Rn.toString:o;function zn(e){if(na(e)&&!Qs(e)&&!(e instanceof Qn)){if(e instanceof Vn)return e;if(Te.call(e,"__wrapped__"))return Li(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ta(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Gn(e,t){var n=Qs(e),r=!n&&Vs(e),o=!n&&!r&&Js(e),i=!n&&!r&&!o&&la(e),s=n||r||o||i,a=s?Gt(e.length,Oe):[],u=a.length;for(var c in e)!t&&!Te.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,u))||a.push(c);return a}function Zn(e){var t=e.length;return t?e[Jr(0,t-1)]:o}function Yn(e,t){return Ti(Po(e),ur(t,0,e.length))}function er(e){return Ti(Po(e))}function tr(e,t,n){(n!==o&&!zs(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function nr(e,t,n){var r=e[t];Te.call(e,t)&&zs(r,n)&&(n!==o||t in e)||sr(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(zs(e[n][0],t))return n;return-1}function or(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&jo(t,ja(t),e)}function sr(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var n=-1,i=t.length,s=r(i),a=null==e;++n<i;)s[n]=a?o:Ca(e,t[n]);return s}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ta(e))return e;var f=Qs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Po(e,a)}else{var d=gi(e),h=d==k||d==x;if(Js(e))return Do(e,u);if(d==C||d==v||h&&!i){if(a=c||h?{}:vi(e),!u)return c?function(e,t){return jo(e,mi(e),t)}(e,function(e,t){return e&&jo(t,Fa(t),e)}(a,e)):function(e,t){return jo(e,pi(e),t)}(e,ir(a,e))}else{if(!ct[d])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case I:return So(e);case _:case w:return new r(+e);case N:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case T:case M:case R:case B:case L:case z:case U:case q:case V:return Co(e,n);case D:return new r;case S:case P:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case j:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,u)}}s||(s=new Wn);var p=s.get(e);if(p)return p;s.set(e,a),aa(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,s))})):ra(e)&&e.forEach((function(r,o){a.set(o,cr(r,t,n,o,e,s))}));var m=f?o:(l?c?si:ii:c?Fa:ja)(e);return Ot(m||e,(function(r,o){m&&(r=e[o=r]),nr(a,o,cr(r,t,n,o,e,s))})),a}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return ji((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ft,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Yt(n))),r?(i=It,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o<a;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}zn.templateSettings={escape:Z,evaluate:Y,interpolate:ee,variable:"",imports:{_:zn}},zn.prototype=qn.prototype,zn.prototype.constructor=zn,Vn.prototype=Un(qn.prototype),Vn.prototype.constructor=Vn,Qn.prototype=Un(qn.prototype),Qn.prototype.constructor=Qn,Xn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?o:n}return Te.call(t,e)?t[e]:o},Xn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:Te.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},Hn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},Hn.prototype.has=function(e){return rr(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Hn),string:new Xn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=No(wr),pr=No(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var s=e[r],a=t(s);if(null!=a&&(u===o?a==a&&!ca(a):n(a,u)))var u=a,c=s}return c}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=bi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?vr(a,t-1,n,r,o):Tt(o,a):r||(o[o.length]=a)}return o}var br=To(),_r=To(!0);function wr(e,t){return e&&br(e,t,ja)}function Er(e,t){return e&&_r(e,t,ja)}function kr(e,t){return jt(t,(function(t){return Zs(e[t])}))}function xr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function Dr(e,t,n){var r=t(e);return Qs(e)?r:Tt(r,n(e))}function Sr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ye&&Ye in Ce(e)?function(e){var t=Te.call(e,Ye),n=e[Ye];try{e[Ye]=o;var r=!0}catch(s){}var i=Be.call(e);r&&(t?e[Ye]=n:delete e[Ye]);return i}(e):function(e){return Be.call(e)}(e)}function Cr(e,t){return e>t}function $r(e,t){return null!=e&&Te.call(e,t)}function Or(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?It:Ft,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Nt(d,Yt(t))),l=_n(d.length,l),c[u]=!n&&(t||s>=120&&d.length>=120)?new Jn(u&&d):o}d=e[0];var h=-1,p=c[0];e:for(;++h<s&&f.length<l;){var m=d[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?tn(p,g):i(f,g,n))){for(u=a;--u;){var y=c[u];if(!(y?tn(y,g):i(e[u],g,n)))continue e}p&&p.push(g),f.push(m)}}return f}function Pr(e,t,n){var r=null==(e=Oi(e,t=wo(t,e)))?e:e[Ri(Gi(t))];return null==r?o:Ct(r,e,n)}function jr(e){return na(e)&&Sr(e)==v}function Fr(e,t,n,r,i){return e===t||(null==e||null==t||!na(e)&&!na(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var a=Qs(e),u=Qs(t),c=a?b:gi(e),l=u?b:gi(t),f=(c=c==v?C:c)==C,d=(l=l==v?C:l)==C,h=c==l;if(h&&Js(e)){if(!Js(t))return!1;a=!0,f=!1}if(h&&!f)return s||(s=new Wn),a||la(e)?ri(e,t,n,r,i,s):function(e,t,n,r,o,i,s){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Qe(e),new Qe(t)));case _:case w:case S:return zs(+e,+t);case E:return e.name==t.name&&e.message==t.message;case O:case P:return e==t+"";case D:var a=cn;case A:var u=1&r;if(a||(a=dn),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=ri(a(e),a(t),r,o,i,s);return s.delete(e),l;case j:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,s);if(!(1&n)){var p=f&&Te.call(e,"__wrapped__"),m=d&&Te.call(t,"__wrapped__");if(p||m){var g=p?e.value():e,y=m?t.value():t;return s||(s=new Wn),i(g,y,n,r,s)}}if(!h)return!1;return s||(s=new Wn),function(e,t,n,r,i,s){var a=1&n,u=ii(e),c=u.length,l=ii(t),f=l.length;if(c!=f&&!a)return!1;var d=c;for(;d--;){var h=u[d];if(!(a?h in t:Te.call(t,h)))return!1}var p=s.get(e),m=s.get(t);if(p&&m)return p==t&&m==e;var g=!0;s.set(e,t),s.set(t,e);var y=a;for(;++d<c;){var v=e[h=u[d]],b=t[h];if(r)var _=a?r(b,v,h,t,e,s):r(v,b,h,e,t,s);if(!(_===o?v===b||i(v,b,n,r,s):_)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}(e,t,n,r,i,s)}(e,t,n,r,Fr,i))}function Ir(e,t,n,r){var i=n.length,s=i,a=!r;if(null==e)return!s;for(e=Ce(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var c=(u=n[i])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===o&&!(c in e))return!1}else{var d=new Wn;if(r)var h=r(l,f,c,e,t,d);if(!(h===o?Fr(f,l,3,r,d):h))return!1}}return!0}function Nr(e){return!(!ta(e)||(t=e,Re&&Re in t))&&(Zs(e)?Ue:ve).test(Bi(e));var t}function Tr(e){return"function"==typeof e?e:null==e?ou:"object"==typeof e?Qs(e)?Ur(e[0],e[1]):zr(e):hu(e)}function Mr(e){if(!Di(e))return Kt(e);var t=[];for(var n in Ce(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!ta(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=Di(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Lr(e,t){var n=-1,o=Hs(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function zr(e){var t=di(e);return 1==t.length&&t[0][2]?Ci(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Ur(e,t){return Ei(e)&&Si(t)?Ci(Ri(e),t):function(n){var r=Ca(n,e);return r===o&&r===t?$a(n,e):Fr(t,r,3)}}function qr(e,t,n,r,i){e!==t&&br(t,(function(s,a){if(i||(i=new Wn),ta(s))!function(e,t,n,r,i,s,a){var u=Ai(e,n),c=Ai(t,n),l=a.get(c);if(l)return void tr(e,n,l);var f=s?s(u,c,n+"",e,t,a):o,d=f===o;if(d){var h=Qs(c),p=!h&&Js(c),m=!h&&!p&&la(c);f=c,h||p||m?Qs(u)?f=u:Ks(u)?f=Po(u):p?(d=!1,f=Do(c,!0)):m?(d=!1,f=Co(c,!0)):f=[]:ia(c)||Vs(c)?(f=u,Vs(u)?f=va(u):ta(u)&&!Zs(u)||(f=vi(c))):d=!1}d&&(a.set(c,f),i(f,c,r,s,a),a.delete(c));tr(e,n,f)}(e,t,a,n,qr,r,i);else{var u=r?r(Ai(e,a),s,a+"",e,t,i):o;u===o&&(u=s),tr(e,a,u)}}),Fa)}function Vr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:o}function Qr(e,t,n){t=t.length?Nt(t,(function(e){return Qs(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e})):[ou];var r=-1;t=Nt(t,Yt(li()));var o=Lr(e,(function(e,n,o){var i=Nt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;for(;++r<s;){var u=$o(o[r],i[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=xr(e,s);n(a,s)&&eo(i,wo(s,e),a)}return i}function Hr(e,t,n,r){var o=r?Vt:qt,i=-1,s=t.length,a=e;for(e===t&&(t=Po(t)),n&&(a=Nt(e,Yt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(a,l,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?We.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+gt(kn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Fi($i(e,t,ou),e+"")}function Zr(e){return Zn(za(e))}function Yr(e,t){var n=za(e);return Ti(n,ur(t,0,n.length))}function eo(e,t,n,r){if(!ta(e))return e;for(var i=-1,s=(t=wo(t,e)).length,a=s-1,u=e;null!=u&&++i<s;){var c=Ri(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=a){var f=u[c];(l=r?r(f,c,u):o)===o&&(l=ta(f)?f:_i(t[i+1])?[]:{})}nr(u,c,l),u=u[c]}return e}var to=Pn?function(e,t){return Pn.set(e,t),e}:ou,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ou;function ro(e){return Ti(za(e))}function oo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function io(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!ca(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ao(e,t,ou,n)}function ao(e,t,n,r){var i=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=ca(t),l=t===o;i<s;){var f=gt((i+s)/2),d=n(e[f]),h=d!==o,p=null===d,m=d==d,g=ca(d);if(a)var y=r||m;else y=l?m&&(r||h):u?m&&h&&(r||!p):c?m&&h&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);y?i=f+1:s=f}return _n(s,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!zs(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function co(e){return"number"==typeof e?e:ca(e)?m:+e}function lo(e){if("string"==typeof e)return e;if(Qs(e))return Nt(e,lo)+"";if(ca(e))return Ln?Ln.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Ft,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=It;else if(i>=200){var c=t?null:Go(e);if(c)return dn(c);s=!1,o=tn,u=new Jn}else u=t?[]:a;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),a.push(l)}else o(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ho(e,t){return null==(e=Oi(e,t=wo(t,e)))||delete e[Ri(Gi(t))]}function po(e,t,n,r){return eo(e,t,n(xr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Qn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Tt([e],t.args))}),n)}function yo(e,t,n){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=dr(s[i]||a,e[u],t,n));return fo(vr(s,1),t,n)}function vo(e,t,n){for(var r=-1,i=e.length,s=t.length,a={};++r<i;){var u=r<s?t[r]:o;n(a,e[r],u)}return a}function bo(e){return Ks(e)?e:[]}function _o(e){return"function"==typeof e?e:ou}function wo(e,t){return Qs(e)?e:Ei(e,t)?[e]:Mi(ba(e))}var Eo=Gr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var xo=ot||function(e){return mt.clearTimeout(e)};function Do(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Co(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $o(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=ca(e),a=t!==o,u=null===t,c=t==t,l=ca(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!i)return 1;if(!r&&!s&&!l&&e<t||l&&n&&i&&!r&&!s||u&&n&&i||!a&&i||!c)return-1}return 0}function Oo(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=bn(s-a,0),f=r(c+l),d=!o;++u<c;)f[u]=t[u];for(;++i<a;)(d||i<s)&&(f[n[i]]=e[i]);for(;l--;)f[u++]=e[i++];return f}function Ao(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=bn(s-u,0),d=r(f+l),h=!o;++i<f;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<u;)(h||i<s)&&(d[p+n[a]]=e[i++]);return d}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function jo(e,t,n,r){var i=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):o;c===o&&(c=e[u]),i?sr(n,u,c):nr(n,u,c)}return n}function Fo(e,t){return function(n,r){var o=Qs(n)?$t:or,i=t?t():{};return o(n,e,li(r,2),i)}}function Io(e){return Gr((function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&wi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ce(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t}))}function No(e,t){return function(n,r){if(null==n)return n;if(!Hs(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Ce(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function To(e){return function(t,n,r){for(var o=-1,i=Ce(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function Mo(e){return function(t){var n=un(t=ba(t))?mn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Mt(Za(Va(t).replace(et,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return ta(r)?r:n}}function Lo(e){return function(t,n,r){var i=Ce(t);if(!Hs(t)){var s=li(n,3);t=ja(t),n=function(e){return s(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[s?t[a]:a]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,s=Vn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ae(i);if(s&&!u&&"wrapper"==ui(a))var u=new Vn([],!0)}for(r=u?r:n;++r<n;){var c=ui(a=t[r]),l="wrapper"==c?ai(a):o;u=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ui(l[0])].apply(u,l[3]):1==a.length&&ki(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Qs(r))return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Uo(e,t,n,i,s,a,u,c,l,d){var h=t&f,p=1&t,m=2&t,g=24&t,y=512&t,v=m?o:Bo(e);return function f(){for(var b=arguments.length,_=r(b),w=b;w--;)_[w]=arguments[w];if(g)var E=ci(f),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,E);if(i&&(_=Oo(_,i,s,g)),a&&(_=Ao(_,a,u,g)),b-=k,g&&b<d){var x=fn(_,E);return Jo(e,t,Uo,f.placeholder,n,_,x,c,l,d-b)}var D=p?n:this,S=m?D[e]:e;return b=_.length,c?_=function(e,t){var n=e.length,r=_n(t.length,n),i=Po(e);for(;r--;){var s=t[r];e[r]=_i(s,n)?i[s]:o}return e}(_,c):y&&b>1&&_.reverse(),h&&l<b&&(_.length=l),this&&this!==mt&&this instanceof f&&(S=v||Bo(S)),S.apply(D,_)}}function qo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Qo(e){return oi((function(t){return t=Nt(t,Yt(li())),Gr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Xo(e,t){var n=(t=t===o?" ":lo(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,pt(e/pn(t)));return un(t)?ko(mn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,i){return i&&"number"!=typeof i&&wi(t,n,i)&&(n=i=o),t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n,o){for(var i=-1,s=bn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,i=i===o?t<n?1:-1:pa(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ya(t),n=ya(n)),e(t,n)}}function Jo(e,t,n,r,i,s,a,u,f,d){var h=8&t;t|=h?c:l,4&(t&=~(h?l:c))||(t&=-4);var p=[e,t,i,h?s:o,h?a:o,h?o:s,h?o:a,u,f,d],m=n.apply(o,p);return ki(e)&&Pi(m,p),m.placeholder=r,Ii(m,e,t)}function Wo(e){var t=Se[e];return function(e,n){if(e=ya(e),(n=null==n?0:_n(ma(n),292))&&_t(e)){var r=(ba(e)+"e").split("e");return+((r=(ba(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Go=$n&&1/dn(new $n([,-0]))[1]==h?function(e){return new $n(e)}:cu;function Zo(e){return function(t){var n=gi(t);return n==D?cn(t):n==A?hn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Yo(e,t,n,s,h,p,m,g){var y=2&t;if(!y&&"function"!=typeof e)throw new Ae(i);var v=s?s.length:0;if(v||(t&=-97,s=h=o),m=m===o?m:bn(ma(m),0),g=g===o?g:ma(g),v-=h?h.length:0,t&l){var b=s,_=h;s=h=o}var w=y?o:ai(e),E=[e,t,n,s,h,b,_,p,m,g];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?Oo(c,u,t[4]):u,e[4]=c?fn(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?Ao(c,u,t[6]):u,e[6]=c?fn(e[5],a):t[6]);(u=t[7])&&(e[7]=u);r&f&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,w),e=E[0],t=E[1],n=E[2],s=E[3],h=E[4],!(g=E[9]=E[9]===o?y?0:e.length:bn(E[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==u?function(e,t,n){var i=Bo(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=ci(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:fn(u,l);return(a-=f.length)<n?Jo(e,t,Uo,s.placeholder,o,u,f,o,o,n-a):Ct(this&&this!==mt&&this instanceof s?i:e,this,u)}}(e,t,g):t!=c&&33!=t||h.length?Uo.apply(o,E):function(e,t,n,o){var i=1&t,s=Bo(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,f=r(l+u),d=this&&this!==mt&&this instanceof t?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++a];return Ct(d,i?n:this,f)}}(e,t,n,s);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ii((w?to:Pi)(k,E),e,t)}function ei(e,t,n,r){return e===o||zs(e,Fe[n])&&!Te.call(r,n)?t:e}function ti(e,t,n,r,i,s){return ta(e)&&ta(t)&&(s.set(t,e),qr(e,t,o,ti,s),s.delete(t)),e}function ni(e){return ia(e)?o:e}function ri(e,t,n,r,i,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++d<u;){var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,s):r(m,g,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(p){if(!Bt(t,(function(e,t){if(!tn(p,t)&&(m===e||i(m,e,n,r,s)))return p.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function oi(e){return Fi($i(e,o,Xi),e+"")}function ii(e){return Dr(e,ja,pi)}function si(e){return Dr(e,Fa,mi)}var ai=Pn?function(e){return Pn.get(e)}:cu;function ui(e){for(var t=e.name+"",n=jn[t],r=Te.call(jn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Te.call(zn,"placeholder")?zn:e).placeholder}function li(){var e=zn.iteratee||iu;return e=e===iu?Tr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=ja(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Si(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Nr(n)?n:o}var pi=yt?function(e){return null==e?[]:(e=Ce(e),jt(yt(e),(function(t){return Je.call(e,t)})))}:gu,mi=yt?function(e){for(var t=[];e;)Tt(t,pi(e)),e=He(e);return t}:gu,gi=Sr;function yi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var s=Ri(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ea(o)&&_i(s,o)&&(Qs(e)||Vs(e))}function vi(e){return"function"!=typeof e.constructor||Di(e)?{}:Un(He(e))}function bi(e){return Qs(e)||Vs(e)||!!(Ge&&e&&e[Ge])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!ta(n))return!1;var r=typeof t;return!!("number"==r?Hs(n)&&_i(t,n.length):"string"==r&&t in n)&&zs(n[t],e)}function Ei(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ca(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=ui(e),n=zn[t];if("function"!=typeof n||!(t in Qn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(Dn&&gi(new Dn(new ArrayBuffer(1)))!=N||Sn&&gi(new Sn)!=D||Cn&&gi(Cn.resolve())!=$||$n&&gi(new $n)!=A||On&&gi(new On)!=F)&&(gi=function(e){var t=Sr(e),n=t==C?e.constructor:o,r=n?Bi(n):"";if(r)switch(r){case Fn:return N;case In:return D;case Nn:return $;case Tn:return A;case Mn:return F}return t});var xi=Ie?Zs:yu;function Di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Si(e){return e==e&&!ta(e)}function Ci(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function $i(e,t,n){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=bn(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),Ct(e,this,u)}}function Oi(e,t){return t.length<2?e:xr(e,oo(t,0,-1))}function Ai(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Ni(to),ji=ht||function(e,t){return mt.setTimeout(e,t)},Fi=Ni(no);function Ii(e,t,n){var r=t+"";return Fi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ot(y,(function(n){var r="_."+n[0];t&n[1]&&!Ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var s=Jr(n,i),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var Mi=function(e){var t=Ns(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(he,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ca(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Ne.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Li(e){if(e instanceof Qn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Gr((function(e,t){return Ks(e)?dr(e,vr(t,1,Ks,!0)):[]})),Ui=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),li(n,2)):[]})),qi=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),Ut(e,li(t,3),o)}function Qi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ma(n),i=n<0?bn(r+i,0):_n(i,r-1)),Ut(e,li(t,3),i,!0)}function Xi(e){return(null==e?0:e.length)?vr(e,1):[]}function Hi(e){return e&&e.length?e[0]:o}var Ki=Gr((function(e){var t=Nt(e,bo);return t.length&&t[0]===e[0]?Ar(t):[]})),Ji=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return t===Gi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,li(t,2)):[]})),Wi=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Gi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zi=Gr(Yi);function Yi(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var es=oi((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Kr(e,Nt(t,(function(e){return _i(e,n)?+e:e})).sort($o)),r}));function ts(e){return null==e?e:xn.call(e)}var ns=Gr((function(e){return fo(vr(e,1,Ks,!0))})),rs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),fo(vr(e,1,Ks,!0),li(t,2))})),os=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,fo(vr(e,1,Ks,!0),o,t)}));function is(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Ks(e))return t=bn(e.length,t),!0})),Gt(t,(function(t){return Nt(e,Ht(t))}))}function ss(e,t){if(!e||!e.length)return[];var n=is(e);return null==t?n:Nt(n,(function(e){return Ct(t,o,e)}))}var as=Gr((function(e,t){return Ks(e)?dr(e,t):[]})),us=Gr((function(e){return yo(jt(e,Ks))})),cs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),yo(jt(e,Ks),li(t,2))})),ls=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,yo(jt(e,Ks),o,t)})),fs=Gr(is);var ds=Gr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ss(e,n)}));function hs(e){var t=zn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ms=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Qn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var gs=Fo((function(e,t,n){Te.call(e,n)?++e[n]:sr(e,n,1)}));var ys=Lo(Vi),vs=Lo(Qi);function bs(e,t){return(Qs(e)?Ot:hr)(e,li(t,3))}function _s(e,t){return(Qs(e)?At:pr)(e,li(t,3))}var ws=Fo((function(e,t,n){Te.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Es=Gr((function(e,t,n){var o=-1,i="function"==typeof t,s=Hs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Ct(t,e,n):Pr(e,t,n)})),s})),ks=Fo((function(e,t,n){sr(e,n,t)}));function xs(e,t){return(Qs(e)?Nt:Lr)(e,li(t,3))}var Ds=Fo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ss=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,vr(t,1),[])})),Cs=lt||function(){return mt.Date.now()};function $s(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Yo(e,f,o,o,o,o,t)}function Os(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var As=Gr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(As));r|=c}return Yo(e,r,t,n,o)})),Ps=Gr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Ps));r|=c}return Yo(t,r,e,n,o)}));function js(e,t,n){var r,s,a,u,c,l,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function g(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=a}function y(){var e=Cs();if(g(e))return v(e);c=ji(y,function(e){var n=t-(e-l);return h?_n(n,a-(e-f)):n}(e))}function v(e){return c=o,p&&r?m(e):(r=s=o,u)}function b(){var e=Cs(),n=g(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=ji(y,t),d?m(e):u}(l);if(h)return xo(c),c=ji(y,t),m(l)}return c===o&&(c=ji(y,t)),u}return t=ya(t)||0,ta(n)&&(d=!!n.leading,a=(h="maxWait"in n)?bn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?u:v(Cs())},b}var Fs=Gr((function(e,t){return fr(e,1,t)})),Is=Gr((function(e,t,n){return fr(e,ya(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Ns.Cache||Kn),n}function Ts(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Kn;var Ms=Eo((function(e,t){var n=(t=1==t.length&&Qs(t[0])?Nt(t[0],Yt(li())):Nt(vr(t,1),Yt(li()))).length;return Gr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Ct(e,this,r)}))})),Rs=Gr((function(e,t){var n=fn(t,ci(Rs));return Yo(e,c,o,t,n)})),Bs=Gr((function(e,t){var n=fn(t,ci(Bs));return Yo(e,l,o,t,n)})),Ls=oi((function(e,t){return Yo(e,d,o,o,o,t)}));function zs(e,t){return e===t||e!=e&&t!=t}var Us=Ko(Cr),qs=Ko((function(e,t){return e>=t})),Vs=jr(function(){return arguments}())?jr:function(e){return na(e)&&Te.call(e,"callee")&&!Je.call(e,"callee")},Qs=r.isArray,Xs=wt?Yt(wt):function(e){return na(e)&&Sr(e)==I};function Hs(e){return null!=e&&ea(e.length)&&!Zs(e)}function Ks(e){return na(e)&&Hs(e)}var Js=bt||yu,Ws=Et?Yt(Et):function(e){return na(e)&&Sr(e)==w};function Gs(e){if(!na(e))return!1;var t=Sr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ia(e)}function Zs(e){if(!ta(e))return!1;var t=Sr(e);return t==k||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ys(e){return"number"==typeof e&&e==ma(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gi(e)==D};function oa(e){return"number"==typeof e||na(e)&&Sr(e)==S}function ia(e){if(!na(e)||Sr(e)!=C)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Le}var sa=xt?Yt(xt):function(e){return na(e)&&Sr(e)==O};var aa=Dt?Yt(Dt):function(e){return na(e)&&gi(e)==A};function ua(e){return"string"==typeof e||!Qs(e)&&na(e)&&Sr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Sr(e)==j}var la=St?Yt(St):function(e){return na(e)&&ea(e.length)&&!!ut[Sr(e)]};var fa=Ko(Br),da=Ko((function(e,t){return e<=t}));function ha(e){if(!e)return[];if(Hs(e))return ua(e)?mn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=gi(e);return(t==D?cn:t==A?dn:za)(e)}function pa(e){return e?(e=ya(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ma(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ur(ma(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ca(e))return m;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function va(e){return jo(e,Fa(e))}function ba(e){return null==e?"":lo(e)}var _a=Io((function(e,t){if(Di(t)||Hs(t))jo(t,ja(t),e);else for(var n in t)Te.call(t,n)&&nr(e,n,t[n])})),wa=Io((function(e,t){jo(t,Fa(t),e)})),Ea=Io((function(e,t,n,r){jo(t,Fa(t),e,r)})),ka=Io((function(e,t,n,r){jo(t,ja(t),e,r)})),xa=oi(ar);var Da=Gr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n<r;)for(var s=t[n],a=Fa(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===o||zs(f,Fe[l])&&!Te.call(e,l))&&(e[l]=s[l])}return e})),Sa=Gr((function(e){return e.push(o,ti),Ct(Na,o,e)}));function Ca(e,t,n){var r=null==e?o:xr(e,t);return r===o?n:r}function $a(e,t){return null!=e&&yi(e,t,Or)}var Oa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),tu(ou)),Aa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),li),Pa=Gr(Pr);function ja(e){return Hs(e)?Gn(e):Mr(e)}function Fa(e){return Hs(e)?Gn(e,!0):Rr(e)}var Ia=Io((function(e,t,n){qr(e,t,n)})),Na=Io((function(e,t,n,r){qr(e,t,n,r)})),Ta=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),jo(e,si(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Ma=oi((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return $a(e,n)}))}(e,t)}));function Ra(e,t){if(null==e)return{};var n=Nt(si(e),(function(e){return[e]}));return t=li(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Ba=Zo(ja),La=Zo(Fa);function za(e){return null==e?[]:en(e,ja(e))}var Ua=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Ga(ba(e).toLowerCase())}function Va(e){return(e=ba(e))&&e.replace(we,on).replace(tt,"")}var Qa=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ha=Mo("toLowerCase");var Ka=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ja=Ro((function(e,t,n){return e+(n?" ":"")+Ga(t)}));var Wa=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ga=Mo("toUpperCase");function Za(e,t,n){return e=ba(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ya=Gr((function(e,t){try{return Ct(e,o,t)}catch(n){return Gs(n)?n:new xe(n)}})),eu=oi((function(e,t){return Ot(t,(function(t){t=Ri(t),sr(e,t,As(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Tr("function"==typeof e?e:cr(e,1))}var su=Gr((function(e,t){return function(n){return Pr(n,e,t)}})),au=Gr((function(e,t){return function(n){return Pr(e,n,t)}}));function uu(e,t,n){var r=ja(t),o=kr(t,r);null!=n||ta(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,ja(t)));var i=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(e);return Ot(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tt([this.value()],arguments))})})),e}function cu(){}var lu=Qo(Nt),fu=Qo(Pt),du=Qo(Bt);function hu(e){return Ei(e)?Ht(Ri(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Ho(),mu=Ho(!0);function gu(){return[]}function yu(){return!1}var vu=Vo((function(e,t){return e+t}),0),bu=Wo("ceil"),_u=Vo((function(e,t){return e/t}),1),wu=Wo("floor");var Eu,ku=Vo((function(e,t){return e*t}),1),xu=Wo("round"),Du=Vo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=$s,zn.assign=_a,zn.assignIn=wa,zn.assignInWith=Ea,zn.assignWith=ka,zn.at=xa,zn.before=Os,zn.bind=As,zn.bindAll=eu,zn.bindKey=Ps,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},zn.chain=hs,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ma(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));s<i;)u[a++]=oo(e,s,s+=t);return u},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Tt(Qs(n)?Po(n):[n],vr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=li();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Gr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Ct(o[0],this,n))return Ct(o[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=ja(e);return function(n){return lr(n,e,t)}}(cr(e,1))},zn.constant=tu,zn.countBy=gs,zn.create=function(e,t){var n=Un(e);return null==t?n:ir(n,t)},zn.curry=function e(t,n,r){var i=Yo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.curryRight=function e(t,n,r){var i=Yo(t,u,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.debounce=js,zn.defaults=Da,zn.defaultsDeep=Sa,zn.defer=Fs,zn.delay=Is,zn.difference=zi,zn.differenceBy=Ui,zn.differenceWith=qi,zn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:ma(t))<0?0:t,r):[]},zn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:ma(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0):[]},zn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ma(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ma(r))<0&&(r+=i),r=n>r?0:ga(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},zn.filter=function(e,t){return(Qs(e)?jt:yr)(e,li(t,3))},zn.flatMap=function(e,t){return vr(xs(e,t),1)},zn.flatMapDeep=function(e,t){return vr(xs(e,t),h)},zn.flatMapDepth=function(e,t,n){return n=n===o?1:ma(n),vr(xs(e,t),n)},zn.flatten=Xi,zn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,h):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===o?1:ma(t)):[]},zn.flip=function(e){return Yo(e,512)},zn.flow=nu,zn.flowRight=ru,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},zn.functions=function(e){return null==e?[]:kr(e,ja(e))},zn.functionsIn=function(e){return null==e?[]:kr(e,Fa(e))},zn.groupBy=ws,zn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},zn.intersection=Ki,zn.intersectionBy=Ji,zn.intersectionWith=Wi,zn.invert=Oa,zn.invertBy=Aa,zn.invokeMap=Es,zn.iteratee=iu,zn.keyBy=ks,zn.keys=ja,zn.keysIn=Fa,zn.map=xs,zn.mapKeys=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},zn.mapValues=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},zn.matches=function(e){return zr(cr(e,1))},zn.matchesProperty=function(e,t){return Ur(e,cr(t,1))},zn.memoize=Ns,zn.merge=Ia,zn.mergeWith=Na,zn.method=su,zn.methodOf=au,zn.mixin=uu,zn.negate=Ts,zn.nthArg=function(e){return e=ma(e),Gr((function(t){return Vr(t,e)}))},zn.omit=Ta,zn.omitBy=function(e,t){return Ra(e,Ts(li(t)))},zn.once=function(e){return Os(2,e)},zn.orderBy=function(e,t,n,r){return null==e?[]:(Qs(t)||(t=null==t?[]:[t]),Qs(n=r?o:n)||(n=null==n?[]:[n]),Qr(e,t,n))},zn.over=lu,zn.overArgs=Ms,zn.overEvery=fu,zn.overSome=du,zn.partial=Rs,zn.partialRight=Bs,zn.partition=Ds,zn.pick=Ma,zn.pickBy=Ra,zn.property=hu,zn.propertyOf=function(e){return function(t){return null==e?o:xr(e,t)}},zn.pull=Zi,zn.pullAll=Yi,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,li(n,2)):e},zn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,o,n):e},zn.pullAt=es,zn.range=pu,zn.rangeRight=mu,zn.rearg=Ls,zn.reject=function(e,t){return(Qs(e)?jt:yr)(e,Ts(li(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=li(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Kr(e,o),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Gr(e,t=t===o?t:ma(t))},zn.reverse=ts,zn.sampleSize=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),(Qs(e)?Yn:Yr)(e,t)},zn.set=function(e,t,n){return null==e?e:eo(e,t,n)},zn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},zn.shuffle=function(e){return(Qs(e)?er:ro)(e)},zn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wi(e,t,n)?(t=0,n=r):(t=null==t?0:ma(t),n=n===o?r:ma(n)),oo(e,t,n)):[]},zn.sortBy=Ss,zn.sortedUniq=function(e){return e&&e.length?uo(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,li(t,2)):[]},zn.split=function(e,t,n){return n&&"number"!=typeof n&&wi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=lo(t))&&un(e)?ko(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ma(t),0),Gr((function(n){var r=n[t],o=ko(n,0,t);return r&&Tt(o,r),Ct(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ma(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ma(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,li(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ps,zn.toArray=ha,zn.toPairs=Ba,zn.toPairsIn=La,zn.toPath=function(e){return Qs(e)?Nt(e,Ri):ca(e)?[e]:Po(Mi(ba(e)))},zn.toPlainObject=va,zn.transform=function(e,t,n){var r=Qs(e),o=r||Js(e)||la(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ta(e)&&Zs(i)?Un(He(e)):{}}return(o?Ot:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return $s(e,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,li(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=is,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:po(e,t,_o(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,_o(n),r)},zn.values=za,zn.valuesIn=function(e){return null==e?[]:en(e,Fa(e))},zn.without=as,zn.words=Za,zn.wrap=function(e,t){return Rs(_o(t),e)},zn.xor=us,zn.xorBy=cs,zn.xorWith=ls,zn.zip=fs,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=Ba,zn.entriesIn=La,zn.extend=wa,zn.extendWith=Ea,uu(zn,zn),zn.add=vu,zn.attempt=Ya,zn.camelCase=Ua,zn.capitalize=qa,zn.ceil=bu,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ya(n))==n?n:0),t!==o&&(t=(t=ya(t))==t?t:0),ur(ya(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||lr(e,t,ja(t))},zn.deburr=Va,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_u,zn.endsWith=function(e,t,n){e=ba(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(ma(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=zs,zn.escape=function(e){return(e=ba(e))&&G.test(e)?e.replace(J,sn):e},zn.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Qs(e)?Pt:mr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.find=ys,zn.findIndex=Vi,zn.findKey=function(e,t){return zt(e,li(t,3),wr)},zn.findLast=vs,zn.findLastIndex=Qi,zn.findLastKey=function(e,t){return zt(e,li(t,3),Er)},zn.floor=wu,zn.forEach=bs,zn.forEachRight=_s,zn.forIn=function(e,t){return null==e?e:br(e,li(t,3),Fa)},zn.forInRight=function(e,t){return null==e?e:_r(e,li(t,3),Fa)},zn.forOwn=function(e,t){return e&&wr(e,li(t,3))},zn.forOwnRight=function(e,t){return e&&Er(e,li(t,3))},zn.get=Ca,zn.gt=Us,zn.gte=qs,zn.has=function(e,t){return null!=e&&yi(e,t,$r)},zn.hasIn=$a,zn.head=Hi,zn.identity=ou,zn.includes=function(e,t,n,r){e=Hs(e)?e:za(e),n=n&&!r?ma(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=ya(e),t,n)},zn.invoke=Pa,zn.isArguments=Vs,zn.isArray=Qs,zn.isArrayBuffer=Xs,zn.isArrayLike=Hs,zn.isArrayLikeObject=Ks,zn.isBoolean=function(e){return!0===e||!1===e||na(e)&&Sr(e)==_},zn.isBuffer=Js,zn.isDate=Ws,zn.isElement=function(e){return na(e)&&1===e.nodeType&&!ia(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Hs(e)&&(Qs(e)||"string"==typeof e||"function"==typeof e.splice||Js(e)||la(e)||Vs(e)))return!e.length;var t=gi(e);if(t==D||t==A)return!e.size;if(Di(e))return!Mr(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Fr(e,t)},zn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Fr(e,t,o,n):!!r},zn.isError=Gs,zn.isFinite=function(e){return"number"==typeof e&&_t(e)},zn.isFunction=Zs,zn.isInteger=Ys,zn.isLength=ea,zn.isMap=ra,zn.isMatch=function(e,t){return e===t||Ir(e,t,di(t))},zn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Ir(e,t,di(t),n)},zn.isNaN=function(e){return oa(e)&&e!=+e},zn.isNative=function(e){if(xi(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=oa,zn.isObject=ta,zn.isObjectLike=na,zn.isPlainObject=ia,zn.isRegExp=sa,zn.isSafeInteger=function(e){return Ys(e)&&e>=-9007199254740991&&e<=p},zn.isSet=aa,zn.isString=ua,zn.isSymbol=ca,zn.isTypedArray=la,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return na(e)&&gi(e)==F},zn.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":Lt.call(e,t)},zn.kebabCase=Qa,zn.last=Gi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ma(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Qt,i,!0)},zn.lowerCase=Xa,zn.lowerFirst=Ha,zn.lt=fa,zn.lte=da,zn.max=function(e){return e&&e.length?gr(e,ou,Cr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,li(t,2),Cr):o},zn.mean=function(e){return Xt(e,ou)},zn.meanBy=function(e,t){return Xt(e,li(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,Br):o},zn.minBy=function(e,t){return e&&e.length?gr(e,li(t,2),Br):o},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=ku,zn.nth=function(e,t){return e&&e.length?Vr(e,ma(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cu,zn.now=Cs,zn.pad=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(gt(o),n)+e+Xo(pt(o),n)},zn.padEnd=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?e+Xo(t-r,n):e},zn.padStart=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?Xo(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(ba(e).replace(se,""),t||0)},zn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pa(e),t===o?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},zn.reduce=function(e,t,n){var r=Qs(e)?Mt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Qs(e)?Rt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),Wr(ba(e),t)},zn.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++r<i;){var s=null==e?o:e[Ri(t[r])];s===o&&(r=i,s=n),e=Zs(s)?s.call(e):s}return e},zn.round=xu,zn.runInContext=e,zn.sample=function(e){return(Qs(e)?Zn:Zr)(e)},zn.size=function(e){if(null==e)return 0;if(Hs(e))return ua(e)?pn(e):e.length;var t=gi(e);return t==D||t==A?e.size:Mr(e).length},zn.snakeCase=Ka,zn.some=function(e,t,n){var r=Qs(e)?Bt:io;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.sortedIndex=function(e,t){return so(e,t)},zn.sortedIndexBy=function(e,t,n){return ao(e,t,li(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&zs(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return so(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ao(e,t,li(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(zs(e[n],t))return n}return-1},zn.startCase=Ja,zn.startsWith=function(e,t,n){return e=ba(e),n=null==n?0:ur(ma(n),0,e.length),t=lo(t),e.slice(n,n+t.length)==t},zn.subtract=Du,zn.sum=function(e){return e&&e.length?Wt(e,ou):0},zn.sumBy=function(e,t){return e&&e.length?Wt(e,li(t,2)):0},zn.template=function(e,t,n){var r=zn.templateSettings;n&&wi(e,t,n)&&(t=o),e=ba(e),t=Ea({},t,r,ei);var i,s,a=Ea({},t.imports,r.imports,ei),u=ja(a),c=en(a,u),l=0,f=t.interpolate||Ee,d="__p += '",h=$e((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?pe:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),p="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(h,(function(t,n,r,o,a,u){return r||(r=o),d+=e.slice(l,u).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),d+="';\n";var m=Te.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Q,""):d).replace(X,"$1").replace(H,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Ya((function(){return De(u,p+"return "+d).apply(o,c)}));if(g.source=d,Gs(g))throw g;return g},zn.times=function(e,t){if((e=ma(e))<1||e>p)return[];var n=g,r=_n(e,g);t=li(t),e-=g;for(var o=Gt(r,t);++n<e;)t(n);return o},zn.toFinite=pa,zn.toInteger=ma,zn.toLength=ga,zn.toLower=function(e){return ba(e).toLowerCase()},zn.toNumber=ya,zn.toSafeInteger=function(e){return e?ur(ma(e),-9007199254740991,p):0===e?e:0},zn.toString=ba,zn.toUpper=function(e){return ba(e).toUpperCase()},zn.trim=function(e,t,n){if((e=ba(e))&&(n||t===o))return Zt(e);if(!e||!(t=lo(t)))return e;var r=mn(e),i=mn(t);return ko(r,nn(r,i),rn(r,i)+1).join("")},zn.trimEnd=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.slice(0,gn(e)+1);if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,0,rn(r,mn(t))+1).join("")},zn.trimStart=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.replace(se,"");if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,nn(r,mn(t))).join("")},zn.truncate=function(e,t){var n=30,r="...";if(ta(t)){var i="separator"in t?t.separator:i;n="length"in t?ma(t.length):n,r="omission"in t?lo(t.omission):r}var s=(e=ba(e)).length;if(un(e)){var a=mn(e);s=a.length}if(n>=s)return e;var u=n-pn(r);if(u<1)return r;var c=a?ko(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),sa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=$e(i.source,ba(me.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(lo(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ba(e))&&W.test(e)?e.replace(K,yn):e},zn.uniqueId=function(e){var t=++Me;return ba(e)+t},zn.upperCase=Wa,zn.upperFirst=Ga,zn.each=bs,zn.eachRight=_s,zn.first=Hi,uu(zn,(Eu={},wr(zn,(function(e,t){Te.call(zn.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zn.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Ot(["drop","take"],(function(e,t){Qn.prototype[e]=function(n){n=n===o?1:bn(ma(n),0);var r=this.__filtered__&&!t?new Qn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Qn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Qn.prototype[e]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ou)},Qn.prototype.find=function(e){return this.filter(e).head()},Qn.prototype.findLast=function(e){return this.reverse().find(e)},Qn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Qn(this):this.map((function(n){return Pr(n,e,t)}))})),Qn.prototype.reject=function(e){return this.filter(Ts(li(e)))},Qn.prototype.slice=function(e,t){e=ma(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ma(t))<0?n.dropRight(-t):n.take(t-e)),n)},Qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Qn.prototype.toArray=function(){return this.take(g)},wr(Qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Qn,c=a[0],l=u||Qs(t),f=function(e){var t=i.apply(zn,Tt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=s&&!d,m=u&&!h;if(!s&&l){t=m?t:new Qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ps,args:[f],thisArg:o}),new Vn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Qs(o)?o:[],e)}return this[n]((function(n){return t.apply(Qs(n)?n:[],e)}))}})),wr(Qn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Te.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Uo(o,2).name]=[{name:"wrapper",func:o}],Qn.prototype.clone=function(){var e=new Qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Qn.prototype.reverse=function(){if(this.__filtered__){var e=new Qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=_n(t,e+s);break;case"takeRight":e=bn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,d=0,h=_n(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return go(e,this.__actions__);var p=[];e:for(;u--&&d<h;){for(var m=-1,g=e[c+=t];++m<f;){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}p[d++]=g}return p},zn.prototype.at=ms,zn.prototype.chain=function(){return hs(this)},zn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===o&&(this.__values__=ha(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var r=Li(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Qn){var t=e;return this.__actions__.length&&(t=new Qn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[ts],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ze&&(zn.prototype[Ze]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},16765:(e,t,n)=>{var r=n(82857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},86448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},89754:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={constant:"constant_8nJK"}},3350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={deprecated:"deprecated__nvj"}},65950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},43654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},65128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},84501:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r<i?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(i+=e);for(let t=r;t!==i;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},27822:(e,t,n)=>{"use strict";const r=n(25308);e.exports=r,r.default=r},25308:e=>{"use strict";e.exports=function(e,n,r){var o,i="";if(t="",arguments.length>1){if("number"==typeof r)for(o=0;o<r;o+=1)i+=" ";else"string"==typeof r&&(i=r);if(""!==i){if(null!=n){if("function"==typeof n)return a("",{"":e},[],n,i);if(Array.isArray(n))return u("",e,[],n,i)}return c("",e,[],i)}if("function"==typeof n)return f("",{"":e},[],n);if(Array.isArray(n))return l("",e,[],n)}return d("",e,[])};var t="";const n=/[\x00-\x1f\x22\x5c]/,r=/[\x00-\x1f\x22\x5c]/g,o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000b","\\f","\\r","\\u000e","\\u000f","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001a","\\u001b","\\u001c","\\u001d","\\u001e","\\u001f","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\"];function i(e){return o[e.charCodeAt(0)]}function s(e){if(e.length<5e3&&!n.test(e))return e;if(e.length>100)return e.replace(r,i);for(var t="",s=0,a=0;a<e.length;a++){const n=e.charCodeAt(a);(34===n||92===n||n<32)&&(t+=s===a?o[n]:`${e.slice(s,a)}${o[n]}`,s=a+1)}return 0===s?t=e:s!==a&&(t+=e.slice(s)),t}function a(e,n,r,o,i){var u,c,l;const f=t;var d=n[e];switch("object"==typeof d&&null!==d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof(d=o.call(n,e,d))){case"object":if(null===d)return"null";for(u=0;u<r.length;u++)if(r[u]===d)return'"[Circular]"';if(Array.isArray(d)){if(0===d.length)return"[]";for(r.push(d),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,u=0;u<d.length-1;u++){const e=a(u,d,r,o,i);c+=void 0!==e?e:"null",c+=l}const e=a(u,d,r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}var p=h(Object.keys(d));if(0===p.length)return"{}";r.push(d),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var m="";for(u=0;u<p.length;u++){const t=a(e=p[u],d,r,o,i);void 0!==t&&(c+=`${m}"${s(e)}": ${t}`,m=l)}return""!==m?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(d)}"`;case"number":return isFinite(d)?String(d):"null";case"boolean":return!0===d?"true":"false"}}function u(e,n,r,o,i){var a,c,l;const f=t;switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"object":if(null===n)return"null";for(a=0;a<r.length;a++)if(r[a]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,a=0;a<n.length-1;a++){const e=u(a,n[a],r,o,i);c+=void 0!==e?e:"null",c+=l}const e=u(a,n[a],r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}if(0===o.length)return"{}";r.push(n),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var d="";for(a=0;a<o.length;a++)if("string"==typeof o[a]||"number"==typeof o[a]){const t=u(e=o[a],n[e],r,o,i);void 0!==t&&(c+=`${d}"${s(e)}": ${t}`,d=l)}return""!==d?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function c(e,n,r,o){var i,a,u;const l=t;switch(typeof n){case"object":if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return c(e,n,r,o);if(null===n)return"null"}for(i=0;i<r.length;i++)if(r[i]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),a="[",a+=`\n${t+=o}`,u=`,\n${t}`,i=0;i<n.length-1;i++){const e=c(i,n[i],r,o);a+=void 0!==e?e:"null",a+=u}const e=c(i,n[i],r,o);return a+=void 0!==e?e:"null",""!==t&&(a+=`\n${l}`),a+="]",r.pop(),t=l,a}var f=h(Object.keys(n));if(0===f.length)return"{}";r.push(n),a="{",a+=`\n${t+=o}`,u=`,\n${t}`;var d="";for(i=0;i<f.length;i++){const t=c(e=f[i],n[e],r,o);void 0!==t&&(a+=`${d}"${s(e)}": ${t}`,d=u)}return""!==d?a+=`\n${l}`:a="{",a+="}",r.pop(),t=l,a;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function l(e,t,n,r){var o,i;switch("object"==typeof t&&null!==t&&"function"==typeof t.toJSON&&(t=t.toJSON(e)),typeof t){case"object":if(null===t)return"null";for(o=0;o<n.length;o++)if(n[o]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),i="[",o=0;o<t.length-1;o++){const e=l(o,t[o],n,r);i+=void 0!==e?e:"null",i+=","}const e=l(o,t[o],n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}if(0===r.length)return"{}";n.push(t),i="{";var a="";for(o=0;o<r.length;o++)if("string"==typeof r[o]||"number"==typeof r[o]){const u=l(e=r[o],t[e],n,r);void 0!==u&&(i+=`${a}"${s(e)}":${u}`,a=",")}return i+="}",n.pop(),i;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function f(e,t,n,r){var o,i,a=t[e];switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(e)),typeof(a=r.call(t,e,a))){case"object":if(null===a)return"null";for(o=0;o<n.length;o++)if(n[o]===a)return'"[Circular]"';if(Array.isArray(a)){if(0===a.length)return"[]";for(n.push(a),i="[",o=0;o<a.length-1;o++){const e=f(o,a,n,r);i+=void 0!==e?e:"null",i+=","}const e=f(o,a,n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}var u=h(Object.keys(a));if(0===u.length)return"{}";n.push(a),i="{";var c="";for(o=0;o<u.length;o++){const t=f(e=u[o],a,n,r);void 0!==t&&(i+=`${c}"${s(e)}":${t}`,c=",")}return i+="}",n.pop(),i;case"string":return`"${s(a)}"`;case"number":return isFinite(a)?String(a):"null";case"boolean":return!0===a?"true":"false"}}function d(e,t,n){var r,o;switch(typeof t){case"object":if(null===t)return"null";if("function"==typeof t.toJSON){if("object"!=typeof(t=t.toJSON(e)))return d(e,t,n);if(null===t)return"null"}for(r=0;r<n.length;r++)if(n[r]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),o="[",r=0;r<t.length-1;r++){const e=d(r,t[r],n);o+=void 0!==e?e:"null",o+=","}const e=d(r,t[r],n);return o+=void 0!==e?e:"null",o+="]",n.pop(),o}var i=h(Object.keys(t));if(0===i.length)return"{}";n.push(t);var a="";for(o="{",r=0;r<i.length;r++){const u=d(e=i[r],t[e],n);void 0!==u&&(o+=`${a}"${s(e)}":${u}`,a=",")}return o+="}",n.pop(),o;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function h(e){for(var t=1;t<e.length;t++){const r=e[t];for(var n=t;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}},63338:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(6299));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},12854:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function s(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function a(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),s=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",a),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=n(r+t(r,o,"[\\+\\-\\.]")+"*"),d=n(n(s+"|"+t(l,a,"[\\:]"))+"*"),h=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),p=n(h+"\\."+h+"\\."+h+"\\."+h),m=n(i+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+p),y=n(n(m+"\\:")+"{6}"+g),v=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),E=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),k=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),x=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),D=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),S=n([y,v,b,_,w,E,k,x,D].join("|")),C=n(n(l+"|"+s)+"+"),$=(n(S+"\\%25"+C),n(S+n("\\%25|\\%(?!"+i+"{2})")+C)),O=n("[vV]"+i+"+\\."+t(l,a,"[\\:]")+"+"),A=n("\\["+n($+"|"+S+"|"+O)+"\\]"),P=n(n(s+"|"+t(l,a))+"*"),j=n(A+"|"+p+"(?!"+P+")|"+P),F=n(o+"*"),I=n(n(d+"@")+"?"+j+n("\\:"+F)+"?"),N=n(s+"|"+t(l,a,"[\\:\\@]")),T=n(N+"*"),M=n(N+"+"),R=n(n(s+"|"+t(l,a,"[\\@]"))+"+"),B=n(n("\\/"+T)+"*"),L=n("\\/"+n(M+B)+"?"),z=n(R+B),U=n(M+B),q="(?!"+N+")",V=(n(B+"|"+L+"|"+z+"|"+U+"|"+q),n(n(N+"|"+t("[\\/\\?]",c))+"*")),Q=n(n(N+"|[\\/\\?]")+"*"),X=n(n("\\/\\/"+I+B)+"|"+L+"|"+U+"|"+q),H=n(f+"\\:"+X+n("\\?"+V)+"?"+n("\\#"+Q)+"?"),K=n(n("\\/\\/"+I+B)+"|"+L+"|"+z+"|"+q),J=n(K+n("\\?"+V)+"?"+n("\\#"+Q)+"?");return n(H+"|"+J),n(f+"\\:"+X+n("\\?"+V)+"?"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+z+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n("("+d+")@"),n("\\:("+F+")"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,a),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+C+")")+"?\\]?$")}}var u=a(!1),c=a(!0),l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},d=2147483647,h=36,p=1,m=26,g=38,y=700,v=72,b=128,_="-",w=/^xn--/,E=/[^\0-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=h-p,S=Math.floor,C=String.fromCharCode;function $(e){throw new RangeError(x[e])}function O(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+O((e=e.replace(k,".")).split("."),t).join(".")}function P(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},F=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,n){var r=0;for(e=n?S(e/y):e>>1,e+=S(e/t);e>D*m>>1;r+=h)e=S(e/D);return S(r+(D+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=v,s=e.lastIndexOf(_);s<0&&(s=0);for(var a=0;a<s;++a)e.charCodeAt(a)>=128&&$("not-basic"),t.push(e.charCodeAt(a));for(var u=s>0?s+1:0;u<n;){for(var c=r,l=1,f=h;;f+=h){u>=n&&$("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>S((d-r)/l))&&$("overflow"),r+=g*l;var y=f<=i?p:f>=i+m?m:f-i;if(g<y)break;var w=h-y;l>S(d/w)&&$("overflow"),l*=w}var E=t.length+1;i=I(r-c,E,0==c),S(r/E)>d-o&&$("overflow"),o+=S(r/E),r%=E,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},T=function(e){var t=[],n=(e=P(e)).length,r=b,o=0,i=v,s=!0,a=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(s=(c=l.next()).done);s=!0){var f=c.value;f<128&&t.push(C(f))}}catch(X){a=!0,u=X}finally{try{!s&&l.return&&l.return()}finally{if(a)throw u}}var g=t.length,y=g;for(g&&t.push(_);y<n;){var w=d,E=!0,k=!1,x=void 0;try{for(var D,O=e[Symbol.iterator]();!(E=(D=O.next()).done);E=!0){var A=D.value;A>=r&&A<w&&(w=A)}}catch(X){k=!0,x=X}finally{try{!E&&O.return&&O.return()}finally{if(k)throw x}}var j=y+1;w-r>S((d-o)/j)&&$("overflow"),o+=(w-r)*j,r=w;var N=!0,T=!1,M=void 0;try{for(var R,B=e[Symbol.iterator]();!(N=(R=B.next()).done);N=!0){var L=R.value;if(L<r&&++o>d&&$("overflow"),L==r){for(var z=o,U=h;;U+=h){var q=U<=i?p:U>=i+m?m:U-i;if(z<q)break;var V=z-q,Q=h-q;t.push(C(F(q+V%Q,0))),z=S(V/Q)}t.push(C(F(z,0))),i=I(o,j,y==g),o=0,++y}}}catch(X){T=!0,M=X}finally{try{!N&&B.return&&B.return()}finally{if(T)throw M}}++o,++r}return t.join("")},M=function(e){return A(e,(function(e){return w.test(e)?N(e.slice(4).toLowerCase()):e}))},R=function(e){return A(e,(function(e){return E.test(e)?"xn--"+T(e):e}))},B={version:"2.1.0",ucs2:{decode:P,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:N,encode:T,toASCII:R,toUnicode:M},L={};function z(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function q(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(V).join("."):e}function X(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],f=c?c.split(":").map(V):[],d=u.split(":").map(V),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,g=Array(p),y=0;y<p;++y)g[y]=f[y]||d[m+y]||"";h&&(g[p-1]=Q(g[p-1],t));var v=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var _=g.slice(0,v.index),w=g.slice(v.index+v.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(H);if(o){K?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=X(Q(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=L[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)q(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=B.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(s){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+s}q(n,u)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?c:u,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(X(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,Z=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:u,r=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+a}q(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||o&&o.absolutePath||(s=te(s)),void 0===i&&(s=s.replace(/^\/\//,"/%2F")),r.push(s)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=s({scheme:"null"},n);return ne(re(J(e,r),J(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===r(e)&&(e=J(ne(e,t),t)),e}function se(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function ae(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,z)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,U)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=fe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},pe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),_e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Ee=new RegExp(ye,"g"),ke=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),xe=new RegExp(t("[^]",me,_e),"g"),De=xe;function Se(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a<u;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,d=l.length;f<d;++f)r.push(l[f]);break;case"subject":n.subject=ue(c[1],t);break;case"body":n.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var h=0,p=r.length;h<p;++h){var m=r[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(g){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+g}r[h]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var s=0,a=r.length;s<a;++s){var u=String(r[s]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(Ee,Se).replace(Ee,o).replace(ke,z),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(m){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+m}r[s]=l+"@"+f}n.path=r.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var p in d)d[p]!==pe[p]&&h.push(p.replace(Ee,Se).replace(Ee,o).replace(xe,z)+"="+d[p].replace(Ee,Se).replace(Ee,o).replace(De,z));return h.length&&(n.query=h.join("&")),n}},$e=/^([^\:]+)\:(.*)/,Oe={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match($e),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),s=n[2],a=o+":"+(t.nid||i),u=L[a];r.nid=i,r.nss=s,r.path=void 0,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=L[o];i&&(e=i.serialize(e,t));var s=e,a=e.nss;return s.path=(r||t.nid)+":"+a,s}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pe={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};L[ce.scheme]=ce,L[le.scheme]=le,L[de.scheme]=de,L[he.scheme]=he,L[Ce.scheme]=Ce,L[Oe.scheme]=Oe,L[Pe.scheme]=Pe,e.SCHEMES=L,e.pctEncChar=z,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=se,e.escapeComponent=ae,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},69569:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,n,r=e.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),t=0;t<o&&""!==r[t];t++);if(t<i)for(r.splice(t,1,"0000");r.length<i;)r.splice(t,0,"0000");for(var s=0;s<i;s++){n=r[s].split("");for(var a=0;a<3&&("0"===n[0]&&n.length>1);a++)n.splice(0,1);r[s]=n.join("")}var u=-1,c=0,l=0,f=-1,d=!1;for(s=0;s<i;s++)d?"0"===r[s]?l+=1:(d=!1,l>c&&(u=f,c=l)):"0"===r[s]&&(d=!0,f=s,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),o=r.length;var h="";for(""===r[0]&&(h=":"),s=0;s<o&&(h+=r[s],s!==o-1);s++)h+=":";return""===r[o-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},34171:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var o=n.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var o=n.list[e.slice(t+1)];return o?o.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))},30957:function(e,t,n){var r,o,i;!function(s,a){"use strict";e.exports?e.exports=a(n(9942),n(69569),n(34171)):(o=[n(9942),n(69569),n(34171)],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r){"use strict";var o=r&&r.URI;function i(e,t){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.11";var s=i.prototype,a=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function f(e,t){var n,r,o={};if("RegExp"===c(t))o=null;else if(l(t))for(n=0,r=t.length;n<r;n++)o[t[n]]=!0;else o[t]=!0;for(n=0,r=e.length;n<r;n++){(o&&void 0!==o[e[n]]||!o&&t.test(e[n]))&&(e.splice(n,1),r--,n--)}return e}function d(e,t){var n,r;if(l(t)){for(n=0,r=t.length;n<r;n++)if(!d(e,t[n]))return!1;return!0}var o=c(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===o){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function h(e,t){if(!l(e)||!l(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function p(e){return e.replace(/^\/+|\/+$/g,"")}function m(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,m).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(n){return e}};var y,v={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,(function(n){return i.characters[e][t].map[n]}))}catch(r){return n}}};for(y in v)i[y+"PathSegment"]=b("pathname",v[y]),i[y+"UrnPathSegment"]=b("urnpath",v[y]);var _=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var s=(r+"").split(e),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(e)}};function w(e){return function(t,n){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!n),this)}}function E(e,t){return function(n,r){return void 0===n?this._parts[e]||"":(null!==n&&(n+="").charAt(0)===t&&(n=n.substring(1)),this._parts[e]=n,this.build(!r),this)}}i.decodePath=_("/","decodePathSegment"),i.decodeUrnPath=_(":","decodeUrnPathSegment"),i.recodePath=_("/","encodePathSegment","decode"),i.recodeUrnPath=_(":","encodeUrnPathSegment","decode"),i.encodeReserved=b("reserved","encode"),i.parse=function(e,t){var n;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(n=(e=(e=e.replace(i.leading_whitespace_expression,"")).replace(i.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var n,r,o=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,o)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),u=e.indexOf(":",s+1);-1!==u&&(-1===a||u<a)?(t.hostname=e.substring(0,o)||null,t.port=null):(r=e.substring(0,o).split(":"),t.hostname=r[0]||null,t.port=r[1]||null)}return t.hostname&&"/"!==e.substring(o).charAt(0)&&(o++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(o)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var n=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var r,o=e.indexOf("/"),s=e.lastIndexOf("@",o>-1?o:e.length-1);return s>-1&&(-1===o||s<o)?(r=e.substring(0,s).split(":"),t.username=r[0]?i.decode(r[0]):null,r.shift(),t.password=r[0]?i.decode(r.join(":")):null,e=n.substring(s+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,s={},u=e.split("&"),c=u.length,l=0;l<c;l++)n=u[l].split("="),r=i.decodeQuery(n.shift(),t),o=n.length?i.decodeQuery(n.join("="),t):null,"__proto__"!==r&&(a.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o);return s},i.build=function(e){var t="",n=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",n=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&n&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,n){var r,o,s,u,c="";for(o in e)if("__proto__"!==o&&a.call(e,o))if(l(e[o]))for(r={},s=0,u=e[o].length;s<u;s++)void 0!==e[o][s]&&void 0===r[e[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,e[o][s],n),!0!==t&&(r[e[o][s]+""]=!0));else void 0!==e[o]&&(c+="&"+i.buildQueryParameter(o,e[o],n));return c.substring(1)},i.buildQueryParameter=function(e,t,n){return i.encodeQuery(e,n)+(null!==t?"="+i.encodeQuery(t,n):"")},i.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=n);"string"==typeof e[t]&&(e[t]=[e[t]]),l(n)||(n=[n]),e[t]=(e[t]||[]).concat(n)}},i.setQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.setQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===n?null:n}},i.removeQuery=function(e,t,n){var r,o,s;if(l(t))for(r=0,o=t.length;r<o;r++)e[t[r]]=void 0;else if("RegExp"===c(t))for(s in e)t.test(s)&&(e[s]=void 0);else if("object"==typeof t)for(s in t)a.call(t,s)&&i.removeQuery(e,s,t[s]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===c(n)?!l(e[t])&&n.test(e[t])?e[t]=void 0:e[t]=f(e[t],n):e[t]!==String(n)||l(n)&&1!==n.length?l(e[t])&&(e[t]=f(e[t],n)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,n,r){switch(c(t)){case"String":break;case"RegExp":for(var o in e)if(a.call(e,o)&&t.test(o)&&(void 0===n||i.hasQuery(e,o,n)))return!0;return!1;case"Object":for(var s in t)if(a.call(t,s)&&!i.hasQuery(e,s,t[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(n)){case"Undefined":return t in e;case"Boolean":return n===Boolean(l(e[t])?e[t].length:e[t]);case"Function":return!!n(e[t],t,e);case"Array":return!!l(e[t])&&(r?d:h)(e[t],n);case"RegExp":return l(e[t])?!!r&&d(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return l(e[t])?!!r&&d(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);e.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&t.push(s[a]),s[a]&&n++}if(!t.length||!n)return new i("");var u=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},i.withinString=function(e,t,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(e);if(!c)break;var l=c.index;if(n.ignoreHtml){var f=e.slice(Math.max(l-3,0),l);if(f&&u.test(f))continue}for(var d=l+e.slice(l).search(o),h=e.slice(l,d),p=-1;;){var m=a.exec(h);if(!m)break;var g=m.index+m[0].length;p=Math.max(p,g)}if(!((h=p>-1?h.slice(0,p)+h.slice(p).replace(s,""):h.replace(s,"")).length<=c[0].length||n.ignore&&n.ignore.test(h))){var y=t(h,l,d=l+h.length,e);void 0!==y?(y=String(y),e=e.slice(0,l)+y+e.slice(d),r.lastIndex=l+y.length):r.lastIndex=d}}return r.lastIndex=0,e},i.ensureValidHostname=function(t,n){var r=!!t,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=o),this},s.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=w("protocol"),s.username=w("username"),s.password=w("password"),s.hostname=w("hostname"),s.port=w("port"),s.query=E("query","?"),s.fragment=E("fragment","#"),s.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},s.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},s.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},s.path=s.pathname,s.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[i.getDomAttribute(e)]||"",o=!1);if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var s=r?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=r||o))&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var k=s.protocol,x=s.port,D=s.hostname;s.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},s.scheme=s.protocol,s.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),x.call(this,e,t))},s.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)},s.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},s.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},s.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},s.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),s=new RegExp("^"+u(o));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},s.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},s.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,o),a=new RegExp("^"+u(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},s.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var o=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(o=!0);var s=new RegExp(u(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),o?this.normalizePath(t):this.build(!t),this},s.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),s=o.lastIndexOf(".");return-1===s?"":(n=o.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),s=o.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];for(var a=0,u=t.length;a<u;a++)(t[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(t[a])))}else(t||"string"==typeof t)&&(t=p(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t));else t?s[e]=p(t):s.splice(e,1);return i&&s.unshift(""),this.path(s.join(r),n)},s.segmentCoded=function(e,t,n){var r,o,s;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(l(r=this.segment(e,t,n)))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(l(t))for(o=0,s=t.length;o<s;o++)t[o]=i.encode(t[o]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,n)};var S=s.query;return s.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):S.call(this,e,t)},s.setQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in e)a.call(e,o)&&(r[o]=e[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.addQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,e,void 0===t?null:t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.removeQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,e,t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.hasQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,e,t,n)},s.setSearch=s.setQuery,s.addSearch=s.addQuery,s.removeSearch=s.removeQuery,s.hasSearch=s.hasQuery,s.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},s.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},s.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},s.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},s.normalizePath=function(e){var t,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var r,o,s="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(t=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(s=n.substring(1).match(/^(\.\.\/)+/)||"")&&(s=s[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return t&&this.is("relative")&&(n=s+n.substring(1)),this._parts.path=n,this.build(!e),this},s.normalizePathname=s.normalizePath,s.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},s.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},s.normalizeSearch=s.normalizeQuery,s.normalizeHash=s.normalizeFragment,s.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.readable=function(){var t=this.clone();t.username("").password("").normalize();var n="";if(t._parts.protocol&&(n+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(n+=e.toUnicode(t._parts.hostname),t._parts.port&&(n+=":"+t._parts.port)):n+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(n+="/"),n+=t.path(!0),t._parts.query){for(var r="",o=0,s=t._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(t.hash(),!0)},s.absoluteTo=function(e){var t,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),o._parts.protocol)return o;if(o._parts.protocol=e._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=e._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),o._parts.path=(t?t+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=e._parts.path,o._parts.query||(o._parts.query=e._parts.query)),o.build(),o},s.relativeTo=function(e){var t,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=a._parts,n=e._parts,o=a.path(),s=e.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==n.hostname||t.port!==n.port)return a.build();if(t.hostname=null,t.port=null,o===s)return t.path="",a.build();if(!(r=i.commonPath(o,s)))return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=u+t.path.substring(r.length)||"./",a.build()},s.equals=function(e){var t,n,r,o,s,u=this.clone(),c=new i(e),f={};if(u.normalize(),c.normalize(),u.toString()===c.toString())return!0;if(r=u.query(),o=c.query(),u.query(""),c.query(""),u.toString()!==c.toString())return!1;if(r.length!==o.length)return!1;for(s in t=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),t)if(a.call(t,s)){if(l(t[s])){if(!h(t[s],n[s]))return!1}else if(t[s]!==n[s])return!1;f[s]=!0}for(s in n)if(a.call(n,s)&&!f[s])return!1;return!0},s.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},s.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},s.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},9942:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var s,a=2147483647,u=36,c=1,l=26,f=38,d=700,h=72,p=128,m="-",g=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(b[e])}function x(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function D(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+x((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function C(e){return x(e,(function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)})).join("")}function $(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*l>>1;r+=u)e=w(e/_);return w(r+(_+1)*e/(e+f))}function A(e){var t,n,r,o,i,s,f,d,g,y,v,b=[],_=e.length,E=0,x=p,D=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=E,s=1,f=u;o>=_&&k("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||d>w((a-E)/s))&&k("overflow"),E+=d*s,!(d<(g=f<=D?c:f>=D+l?l:f-D));f+=u)s>w(a/(y=u-g))&&k("overflow"),s*=y;D=O(E-i,t=b.length+1,0==i),w(E/t)>a-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return C(b)}function P(e){var t,n,r,o,i,s,f,d,g,y,v,b,_,x,D,C=[];for(b=(e=S(e)).length,t=p,n=0,i=h,s=0;s<b;++s)(v=e[s])<128&&C.push(E(v));for(r=o=C.length,o&&C.push(m);r<b;){for(f=a,s=0;s<b;++s)(v=e[s])>=t&&v<f&&(f=v);for(f-t>w((a-n)/(_=r+1))&&k("overflow"),n+=(f-t)*_,t=f,s=0;s<b;++s)if((v=e[s])<t&&++n>a&&k("overflow"),v==t){for(d=n,g=u;!(d<(y=g<=i?c:g>=i+l?l:g-i));g+=u)D=d-y,x=u-y,C.push(E($(y+D%x,0))),d=w(D/x);C.push(E($(d,0))),i=O(n,_,r==o),n=0,++r}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:S,encode:C},decode:A,encode:P,toASCII:function(e){return D(e,(function(e){return y.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return D(e,(function(e){return g.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},90682:(e,t)=>{"use strict";const n=1024;let r=0;class o{constructor(e,t){this.from=e,this.to=t}}class i{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}i.closedBy=new i({deserialize:e=>e.split(" ")}),i.openedBy=new i({deserialize:e=>e.split(" ")}),i.group=new i({deserialize:e=>e.split(" ")}),i.isolate=new i({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),i.contextHash=new i({perNode:!0}),i.lookAhead=new i({perNode:!0}),i.mounted=new i({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[i.mounted.id]}}const a=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new u(e.name||"",t,e.id,n);if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(i.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(i.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new u(n.name,r,n.id,n.flags):n)}return new c(t)}}const l=new WeakMap,f=new WeakMap;var d;t.IterMode=void 0,(d=t.IterMode||(t.IterMode={}))[d.ExcludeBuffers=1]="ExcludeBuffers",d[d.IncludeAnonymous=2]="IncludeAnonymous",d[d.IgnoreMounts=4]="IgnoreMounts",d[d.IgnoreOverlays=8]="IgnoreOverlays";class h{constructor(e,t,n,r,o){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new S(this.topNode,e)}cursorAt(e,t=0,n=0){let r=l.get(this)||this.topNode,o=new S(r);return o.moveTo(e,t),l.set(this,o._tree),o}get topNode(){return new b(this,0,0,null)}resolve(e,t=0){let n=y(l.get(this)||this.topNode,e,t,!1);return l.set(this,n),n}resolveInner(e,t=0){let n=y(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),o=null;for(let i=r instanceof b?r:r.context.parent;i;i=i.parent)if(i.index<0){let e=i.parent;(o||(o=[r])).push(e.resolve(t,n)),i=e}else{let e=s.get(i.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let s=new b(e.tree,e.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(y(s,t,n,!1))}}return o?x(o):r}(this,e,t)}iterate(e){let{enter:n,leave:r,from:o=0,to:i=this.length}=e,s=e.mode||0,a=(s&t.IterMode.IncludeAnonymous)>0;for(let u=this.cursor(s|t.IterMode.IncludeAnonymous);;){let e=!1;if(u.from<=i&&u.to>=o&&(!a&&u.type.isAnonymous||!1!==n(u))){if(u.firstChild())continue;e=!0}for(;e&&r&&(a||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(u.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new h(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new h(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:o,maxBufferLength:s=n,reused:a=[],minRepeatType:u=o.types.length}=e,c=Array.isArray(r)?new p(r,r.length):r,l=o.types,f=0,d=0;function g(e,t,n,r,i,h){let{id:p,start:k,end:x,size:D}=c,S=d;for(;D<0;){if(c.next(),-1==D){let t=a[p];return n.push(t),void r.push(k-e)}if(-3==D)return void(f=p);if(-4==D)return void(d=p);throw new RangeError(`Unrecognized record size: ${D}`)}let C,$,O=l[p],P=k-e;if(x-k<=s&&($=w(c.pos-t,i))){let t=new Uint16Array($.size-$.skip),n=c.pos-$.size,r=t.length;for(;c.pos>n;)r=E($.start,t,r);C=new m(t,x-$.start,o),P=$.start-e}else{let e=c.pos-D;c.next();let t=[],n=[],r=p>=u?p:-1,o=0,i=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=i-s&&(b(t,n,k,o,c.end,i,r,S),o=t.length,i=c.end),c.next()):h>2500?y(k,e,t,n):g(k,e,t,n,r,h+1);if(r>=0&&o>0&&o<t.length&&b(t,n,k,o,k,i,r,S),t.reverse(),n.reverse(),r>-1&&o>0){let e=v(O);C=A(O,t,n,0,t.length,0,x-k,e,e)}else C=_(O,t,n,x-k,S-x)}n.push(C),r.push(P)}function y(e,t,n,r){let i=[],a=0,u=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(u>-1&&t<u)break;u<0&&(u=n-s),i.push(e,t,n),a++,c.next()}}if(a){let t=new Uint16Array(4*a),s=i[i.length-2];for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-s,t[n++]=i[e+2]-s,t[n++]=n;n.push(new m(t,i[2]-s,o)),r.push(s-e)}}function v(e){return(t,n,r)=>{let o,s,a=0,u=t.length-1;if(u>=0&&(o=t[u])instanceof h){if(!u&&o.type==e&&o.length==r)return o;(s=o.prop(i.lookAhead))&&(a=n[u]+o.length+s)}return _(e,t,n,r,a)}}function b(e,t,n,r,i,s,a,u){let c=[],l=[];for(;e.length>r;)c.push(e.pop()),l.push(t.pop()+n-i);e.push(_(o.types[a],c,l,s-i,u-s)),t.push(i-n)}function _(e,t,n,r,o=0,s){if(f){let e=[i.contextHash,f];s=s?[e].concat(s):[e]}if(o>25){let e=[i.lookAhead,o];s=s?[e].concat(s):[e]}return new h(e,t,n,r,s)}function w(e,t){let n=c.fork(),r=0,o=0,i=0,a=n.end-s,l={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){l.size=r,l.start=o,l.skip=i,i+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<s||n.start<a)break;let f=n.id>=u?4:0,d=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;f+=4}else n.id>=u&&(f+=4);n.next()}o=d,r+=e,i+=f}return(t<0||r==e)&&(l.size=r,l.start=o,l.skip=i),l.size>4?l:void 0}function E(e,t,n){let{id:r,start:o,end:i,size:s}=c;if(c.next(),s>=0&&r<u){let a=n;if(s>4){let r=c.pos-(s-4);for(;c.pos>r;)n=E(e,t,n)}t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==s?f=r:-4==s&&(d=r);return n}let k=[],x=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,k,x,-1,0);let D=null!==(t=e.length)&&void 0!==t?t:k.length?x[0]+k[0].length:0;return new h(l[e.topID],k.reverse(),x.reverse(),D)}(e)}}h.empty=new h(u.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,s=-1;for(let a=e;a!=t&&!(g(o,r,i[a+1],i[a+2])&&(s=a,n>0));a=i[a+3]);return s}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let s=e,a=0;s<t;){o[a++]=r[s++],o[a++]=r[s++]-n;let t=o[a++]=r[s++]-n;o[a++]=r[s++]-e,i=Math.max(i,t)}return new m(o,i,this.set)}}function g(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,n,r,o){for(var i;e.from==e.to||(r<1?e.from>=n:e.from>n)||(r>-1?e.to<=n:e.to<n);){let t=!o&&e instanceof b&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=o?0:t.IterMode.IgnoreOverlays;if(o)for(let t=e,a=t.parent;a;t=a,a=t.parent)t instanceof b&&t.index<0&&(null===(i=a.enter(n,r,s))||void 0===i?void 0:i.from)!=t.from&&(e=a);for(;;){let t=e.enter(n,r,s);if(!t)return e;e=t}}class v{cursor(e=0){return new S(this,e)}getChild(e,t=null,n=null){let r=_(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return _(this,e,t,n)}resolve(e,t=0){return y(this,e,t,!1)}resolveInner(e,t=0){return y(this,e,t,!0)}matchContext(e){return w(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class b extends v{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,o,i=0){for(let a=this;;){for(let{children:u,positions:c}=a._tree,l=n>0?u.length:-1;e!=l;e+=n){let l=u[e],f=c[e]+a.from;if(g(o,r,f,f+l.length))if(l instanceof m){if(i&t.IterMode.ExcludeBuffers)continue;let s=l.findChild(0,l.buffer.length,n,r-f,o);if(s>-1)return new k(new E(a,l,e,f),null,s)}else if(i&t.IterMode.IncludeAnonymous||!l.type.isAnonymous||C(l)){let u;if(!(i&t.IterMode.IgnoreMounts)&&(u=s.get(l))&&!u.overlay)return new b(u.tree,f,e,a);let c=new b(l,f,e,a);return i&t.IterMode.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,o)}}if(i&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&t.IterMode.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let t=e-this.from;for(let{from:e,to:r}of o.overlay)if((n>0?e<=t:e<t)&&(n<0?r>=t:r>t))return new b(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class E{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class k extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new k(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&t.IterMode.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return i<0?null:new k(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new k(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new k(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new h(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function x(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let r=n instanceof b&&n.index<0?null:n.parent,o=e.slice();return r?o[t]=r:o.splice(t,1),new D(o,n)}class D{constructor(e,t){this.heads=e,this.node=t}get next(){return x(this.heads)}}class S{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?!(r&t.IterMode.ExcludeBuffers)&&this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&t.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&t.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:o}=this;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(o.buffer.buffer[e+3]<this.index)return!1;({index:n,parent:r}=o)}else({index:n,_parent:r}=this._tree);for(;r;({index:n,_parent:r}=r))if(n>-1)for(let o=n+e,i=e<0?-1:r._tree.children.length;o!=i;o+=e){let e=r._tree.children[o];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let r=n;r<this.stack.length;r++)t=new k(this.buffer,t,this.stack[r]);return this.bufferNode=new k(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return w(this.node,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const $=new WeakMap;function O(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=$.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof h)){n=1;break}n+=O(e,r)}$.set(t,n)}return n}function A(e,t,n,r,o,i,s,a,u){let c=0;for(let h=r;h<o;h++)c+=O(e,t[h]);let l=Math.ceil(1.5*c/8),f=[],d=[];return function t(n,r,o,s,a){for(let c=o;c<s;){let o=c,h=r[c],p=O(e,n[c]);for(c++;c<s;c++){let t=O(e,n[c]);if(p+t>=l)break;p+=t}if(c==o+1){if(p>l){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+a);continue}f.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;f.push(A(e,n,r,o,c,h,t,null,u))}d.push(h+a-i)}}(t,n,r,o,0),(a||u)(f,d,s)}class P{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new P(0,e.length,e,0,!1,n)];for(let o of t)o.to>e.length&&r.push(o);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let s=0,a=0,u=0;;s++){let c=s<t.length?t[s]:null,l=c?c.fromA:1e9;if(l-a>=n)for(;i&&i.from<l;){let t=i;if(a>=t.from||l<=t.to||u){let e=Math.max(t.from,a)-u,n=Math.min(t.to,l)-u;t=e>=n?null:new P(e,n,t.tree,t.offset+u,s>0,!!c)}if(t&&r.push(t),i.to>l)break;i=o<e.length?e[o++]:null}if(!c)break;a=c.toA,u=c.toA-c.toB}return r}}class j{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class F{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function I(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=s,this.depth=0,this.ranges=[]}}const T=new i({perNode:!0});class M{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new h(e.type,e.children,e.positions,e.length,e.propValues.concat([[T,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[i.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new U(this.fragments),n=null,r=null,i=new S(new b(this.baseTree,this.ranges[0].from,0,null),t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts);e:for(let t,s;;){let a,u=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)u=!1;else if(e.hasNode(i)){if(n){let e=n.mounts.find((e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let t of e.mount.overlay){let r=t.from+e.pos,o=t.to+e.pos;r>=i.from&&o<=i.to&&!n.ranges.some((e=>e.from<o&&e.to>r))&&n.ranges.push({from:r,to:o})}}u=!1}else if(r&&(s=R(r.ranges,i.from,i.to)))u=2!=s;else if(!i.type.isAnonymous&&(t=this.nest(i,this.input))&&(i.from<i.to||!t.overlay)){i.tree||L(i);let s=e.findMounts(i.from,t.parser);if("function"==typeof t.overlay)n=new N(t.parser,t.overlay,s,this.inner.length,i.from,i.tree,n);else{let e=q(this.ranges,t.overlay||(i.from<i.to?[new o(i.from,i.to)]:[]));e.length&&I(e),!e.length&&t.overlay||this.inner.push(new F(t.parser,e.length?t.parser.startParse(this.input,Q(s,e),e):t.parser.startParse(""),t.overlay?t.overlay.map((e=>new o(e.from-i.from,e.to-i.from))):null,i.tree,e.length?e[0].from:i.from)),t.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):u=!1}}else n&&(a=n.predicate(i))&&(!0===a&&(a=new o(i.from,i.to)),a.from<a.to&&n.ranges.push(a));if(u&&i.firstChild())n&&n.depth++,r&&r.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(n&&! --n.depth){let e=q(this.ranges,n.ranges);e.length&&(I(e),this.inner.splice(n.index,0,new F(n.parser,n.parser.startParse(this.input,Q(n.mounts,e),e),n.ranges.map((e=>new o(e.from-n.start,e.to-n.start))),n.target,e[0].from))),n=n.prev}r&&! --r.depth&&(r=r.prev)}}}}function R(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B(e,t,n,r,o,i){if(t<n){let s=e.buffer[t+1];r.push(e.slice(t,n,s)),o.push(s-i)}}function L(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let o=e.tree,i=o.children.indexOf(r),s=o.children[i],a=s.buffer,c=[i];o.children[i]=function e(r,o,i,u,l,f){let d=n[f],p=[],m=[];B(s,r,d,p,m,u);let g=a[d+1],y=a[d+2];c.push(p.length);let v=f?e(d+4,a[d+3],s.set.types[a[d]],g,y-g,f-1):t.toTree();return p.push(v),m.push(g-u),B(s,a[d+3],o,p,m,u),new h(i,p,m,l)}(0,a.length,u.none,0,s.length,n.length-1);for(let u of c){let t=e.tree.children[u],n=e.tree.positions[u];e.yield(new b(t,n+e.from,u,e._tree))}}class z{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts)}moveTo(e){let{cursor:n}=this,r=e-this.offset;for(;!this.done&&n.from<r;)n.to>=e&&n.enter(r,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof h))break;t=t.children[0]}return!1}}class U{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(T))&&void 0!==t?t:n.to,this.inner=new z(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(T))&&void 0!==e?e:t.to,this.inner=new z(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(i.mounted);if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function q(e,t){let n=null,r=t;for(let i=1,s=0;i<e.length;i++){let a=e[i-1].to,u=e[i].from;for(;s<r.length;s++){let e=r[s];if(e.from>=u)break;e.to<=a||(n||(r=n=t.slice()),e.from<a?(n[s]=new o(e.from,a),e.to>u&&n.splice(s+1,0,new o(u,e.to))):e.to>u?n[s--]=new o(u,e.to):n.splice(s--,1))}}return r}function V(e,t,n,r){let i=0,s=0,a=!1,u=!1,c=-1e9,l=[];for(;;){let f=i==e.length?1e9:a?e[i].to:e[i].from,d=s==t.length?1e9:u?t[s].to:t[s].from;if(a!=u){let e=Math.max(c,n),t=Math.min(f,d,r);e<t&&l.push(new o(e,t))}if(c=Math.min(f,d),1e9==c)break;f==c&&(a?(a=!1,i++):a=!0),d==c&&(u?(u=!1,s++):u=!0)}return l}function Q(e,t){let n=[];for(let{pos:r,mount:i,frag:s}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,u=Math.max(s.from,e),c=Math.min(s.to,a);if(i.overlay){let a=V(t,i.overlay.map((e=>new o(e.from+r,e.to+r))),u,c);for(let t=0,r=u;;t++){let o=t==a.length,u=o?c:a[t].from;if(u>r&&n.push(new P(r,u,i.tree,-e,s.from>=r||s.openStart,s.to<=u||s.openEnd)),o)break;r=a[t].to}}else n.push(new P(u,c,i.tree,-e,s.from>=e||s.openStart,s.to<=a||s.openEnd))}return n}t.DefaultBufferLength=n,t.MountedTree=s,t.NodeProp=i,t.NodeSet=c,t.NodeType=u,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof k?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof k?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,n){return"string"==typeof e&&(e=new j(e)),n=n?n.length?n.map((e=>new o(e.from,e.to))):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},t.Tree=h,t.TreeBuffer=m,t.TreeCursor=S,t.TreeFragment=P,t.parseMixed=function(e){return(t,n,r,o)=>new M(t,e,n,r,o)}},21500:(e,t,n)=>{"use strict";var r=n(90682);class o{constructor(e,t,n,r,o,i,s,a,u,c=0,l){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=s,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=l}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let i=o.dynamicPrecedence(r);if(i&&(this.score+=i),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,u=this.reducePos-a;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,l=this.bufferBase+this.buffer.length-c;if(r<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,l+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue;let o=this.split();o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new i(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const l=new c;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=l,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=l,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class d{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;p(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(p(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;function p(e,t,n,r,o,i){let s=0,a=1<<r,{dialect:u}=n.p.parser;e:for(;0!=(a&e[s]);){let n=e[s+1];for(let f=s+3;f<n;f+=2)if((e[f+1]&a)>0){let n=e[f];if(u.allows(n)&&(-1==t.token.value||t.token.value==n||g(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,l=e[s+2];if(!(t.next<0&&l>c&&65535==e[n+3*l-3])){for(;c<l;){let o=c+l>>1,i=n+o+(o<<1),a=e[i],u=e[i+1]||65536;if(r<a)l=o;else{if(!(r>=u)){s=e[i+2],t.advance();continue e}c=o+1}}break}s=e[n+3*l-1]}}function m(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function g(e,t,n,r){let o=m(n,r,t);return o<0||m(n,r,e)<o}const y="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let v=null;function b(e,t,n){let o=e.cursor(r.IterMode.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class _{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[o],s=this.start[t]+n.positions[o];if(s>e)return this.nextStart=s,null;if(i instanceof r.Tree){if(s==e){if(s<this.safeFrom)return null;let e=s+i.length;if(e<=this.safeTo){let t=i.prop(r.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,s+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let u=0;u<o.length;u++){if(0==(1<<u&i))continue;let r=o[u],c=this.tokens[u];if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=i||c.context!=s)&&(this.updateCachedToken(c,r,e),c.mask=i,c.context=s),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let o=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let o=t.specializers[r](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:s}=i;for(let a=0;a<2;a++)for(let e=i.stateSlot(o,a?2:1);;e+=3){if(65535==s[e]){if(1!=s[e+1]){0==r&&2==s[e+1]&&(r=this.putAction(C(s,e+2),t,n,r));break}e=C(s,e+2)}s[e]==t&&(r=this.putAction(C(s,e+1),t,n,r))}return r}}class E{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new f(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new _(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let s=n[i];for(;;){if(this.tokens.mainToken=null,s.pos>r)o.push(s);else{if(this.advanceStack(s,o,n))continue;{e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return y&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw y&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let i=1;i<o.length;i++)o[i].pos<this.minStackPos&&(this.minStackPos=o[i].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:i}=this,s=y?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(o);a;){let o=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(o>-1&&a.length&&(!t||(a.prop(r.NodeProp.contextHash)||0)==n))return e.useNode(a,o),y&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof r.Tree)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(!(u instanceof r.Tree&&0==a.positions[0]))break;a=u}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),y&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let r=0;r<u.length;){let a=u[r++],c=u[r++],l=u[r++],f=r==u.length||!n,d=f?e:e.split(),h=this.tokens.mainToken;if(d.apply(a,c,h?h.start:d.pos,l),y&&console.log(s+this.stackID(d)+` (via ${0==(65536&a)?"shift":`reduce of ${i.getName(65535&a)}`} for ${i.getName(c)} @ ${o}${d==e?"":", split"})`),f)return!0;d.pos>o?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){let s=e[i],a=t[i<<1],u=t[1+(i<<1)],c=y?this.stackID(s)+" -> ":"";if(s.deadEnd){if(o)continue;if(o=!0,s.restart(),y&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))continue}let l=s.split(),f=c;for(let e=0;l.forceReduce()&&e<10;e++){if(y&&console.log(f+this.stackID(l)+" (via force-reduce)"),this.advanceFully(l,n))break;y&&(f=this.stackID(l)+" -> ")}for(let e of s.recoverByInsert(a))y&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>s.pos?(u==s.pos&&(u++,a=0),s.recoverByDelete(a,u),y&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),k(s,n)):(!r||r.score<s.score)&&(r=s)}return r}stackToTree(e){return e.close(),r.Tree.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function k(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class x{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const D=e=>e;class S extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let r=0;r<t.length;r++)o.push([]);function i(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let a of e.nodeProps){let e=a[0];"string"==typeof e&&(e=r.NodeProp[e]);for(let t=1;t<a.length;){let n=a[t++];if(n>=0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new r.NodeSet(t.map(((t,i)=>r.NodeType.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let s=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r<this.specializerSpecs.length;r++)this.specialized[r]=this.specializerSpecs[r].term;this.specializers=this.specializerSpecs.map($),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new d(s,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,s=r[o++];if(i&&n)return s;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return s;if(i)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return C(n,i+2);break}o=n[i=C(n,i+2)]}if(o==t||0==o)return C(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){if(1!=this.data[o+1])break;o=C(this.data,o+2)}r=t(C(this.data,o+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=C(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(S.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=$(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1;return new x(e,n,r)}static deserialize(e){return new S(e)}}function C(e,t){return e[t]|e[t+1]<<16}function $(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||D,this.reduce=e.reduce||D,this.reuse=e.reuse||D,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=f,t.LRParser=S,t.LocalTokenGroup=h,t.Stack=o},45392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>s});var r=n(2784);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},22970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>S,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>T,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>O,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>v,default:()=>M});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var g=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&o.unshift(a)}else(a=s(g))&&("field"===u?o.unshift(a):f[c]=a)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(u){a=[6,u],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var $=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return $(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function T(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:i,__rest:s,__decorate:a,__param:u,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:x,__asyncDelegator:D,__asyncValues:S,__makeTemplateObject:C,__importStar:O,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:j,__classPrivateFieldIn:F,__addDisposableResource:I,__disposeResources:T}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>$n,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>$t,default:()=>zn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>hn,DOCUMENT:()=>pn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Yt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>$n,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>$t,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,h=e=>!!e&&"object"==typeof e&&e[f]===s,p=e=>!!e&&"object"==typeof e&&e[f]===a,m=e=>!!e&&"object"==typeof e&&e[f]===u,g=e=>!!e&&"object"==typeof e&&e[f]===c,y=e=>!!e&&"object"==typeof e&&e[f]===l;function v(e){if(e&&"object"==typeof e)switch(e[f]){case a:case l:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case a:case c:case l:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),E=Symbol("skip children"),k=Symbol("remove node");function x(e,t){const n=$(t);if(h(e)){D(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else D(null,e,n,Object.freeze([]))}function D(e,t,n,r){const o=O(e,t,n,r);if(b(o)||m(o))return A(e,r,o),D(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=D(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=D("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=D("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}async function S(e,t){const n=$(t);if(h(e)){await C(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else await C(null,e,n,Object.freeze([]))}async function C(e,t,n,r){const o=await O(e,t,n,r);if(b(o)||m(o))return A(e,r,o),C(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=await C(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=await C("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=await C("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}function $(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function O(e,t,n,r){return"function"==typeof n?n(e,t,r):p(t)?n.Map?.(e,t,r):y(t)?n.Seq?.(e,t,r):m(t)?n.Pair?.(e,t,r):g(t)?n.Scalar?.(e,t,r):d(t)?n.Alias?.(e,t,r):void 0}function A(e,t,n){const r=t[t.length-1];if(v(r))r.items[e]=n;else if(m(r))"key"===e?r.key=n:r.value=n;else{if(!h(r)){const e=d(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}x.BREAK=w,x.SKIP=E,x.REMOVE=k,S.BREAK=w,S.SKIP=E,S.REMOVE=k;const P={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class j{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},j.defaultYaml,e),this.tags=Object.assign({},j.defaultTags,t)}clone(){const e=new j(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new j(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:j.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},j.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:j.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},j.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>P[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&b(e.contents)){const t={};x(e.contents,((e,n)=>{b(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`);return t.join("\n")}}function F(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function I(e){const t=new Set;return x(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function N(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function T(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;o<i;++o){const t=r[o],n=T(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const t=r.get(o),n=T(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)}else if(r instanceof Set)for(const o of Array.from(r)){const t=T(e,r,o,o);void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))}else for(const[o,i]of Object.entries(r)){const t=T(e,r,o,i);void 0===t?delete r[o]:t!==i&&(r[o]=t)}return e.call(t,n,r)}function M(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>M(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!_(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof e||n?.keep?e:Number(e)}j.defaultYaml={explicit:!1,version:"1.2"},j.defaultTags={"!!":"tag:yaml.org,2002:"};class R{constructor(e){Object.defineProperty(this,f,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){if(!h(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=M(this,"",i);if("function"==typeof r)for(const{count:a,res:u}of i.anchors.values())r(u,a);return"function"==typeof o?T(o,{"":s},"",s):s}}class B extends R{constructor(e){super(i),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return x(e,{Node:(e,n)=>{if(n===this)return x.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(M(i,null,t),s=n.get(i)),!s||void 0===s.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=L(r,i,n)),s.count*s.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return s.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(F(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function L(e,t,n){if(d(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(v(t)){let r=0;for(const o of t.items){const t=L(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=L(e,t.key,n),o=L(e,t.value,n);return Math.max(r,o)}return 1}const z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class U extends R{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}U.BLOCK_FOLDED="BLOCK_FOLDED",U.BLOCK_LITERAL="BLOCK_LITERAL",U.PLAIN="PLAIN",U.QUOTE_DOUBLE="QUOTE_DOUBLE",U.QUOTE_SINGLE="QUOTE_SINGLE";const q="tag:yaml.org,2002:";function V(e,t,n){if(h(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:i,schema:s,sourceObjects:u}=n;let c;if(r&&e&&"object"==typeof e){if(c=u.get(e),c)return c.anchor||(c.anchor=o(e)),new B(c.anchor);c={anchor:null,node:null},u.set(e,c)}t?.startsWith("!!")&&(t=q+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,s.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new U(e);return c&&(c.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[l]:s[a]}i&&(i(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new U(e);return t?d.tag=t:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Q(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o];if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t}else r=new Map([[e,r]])}return V(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const X=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class H extends R{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>b(t)||m(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(X(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0);if(v(o))o.addIn(r,t);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(v(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,o=this.get(n,!0);return 0===r.length?!t&&g(o)?o.value:o:v(o)?o.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!m(t))return!1;const n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!v(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(v(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}}H.maxFlowStringSingleLineLength=60;const K=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function J(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const W=(e,t,n)=>e.endsWith("\n")?J(n,t):n.includes("\n")?"\n"+J(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",Z="block",Y="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:s,onOverflow:a}={}){if(!o||o<0)return e;const u=Math.max(1+i,1+o-t.length);if(e.length<=u)return e;const c=[],l={};let f,d,h=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let p=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(h=m+u));for(let b;b=e[m+=1];){if(n===Y&&"\\"===b){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===b)n===Z&&(m=te(e,m)),h=m+u,f=void 0;else{if(" "===b&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=h)if(f)c.push(f),h=f+u,f=void 0;else if(n===Y){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],p=!0;const t=m>y+1?m-2:g-1;if(l[t])return e;c.push(t),l[t]=!0,h=t+u,f=void 0}else p=!0}d=b}if(p&&a&&a(),0===c.length)return e;s&&s();let v=e.slice(0,c[0]);for(let b=0;b<c.length;++b){const r=c[b],o=c[b+1]||e.length;0===r?v=`\n${t}${e.slice(0,o)}`:(n===Y&&l[r]&&(v+=`${e[r]}\\`),v+=`\n${t}${e.slice(r+1,o)}`)}return v}function te(e,t){let n=e[t+1];for(;" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t}const ne=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),re=e=>/^(%|---|\.\.\.)/m.test(e);function oe(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(re(e)?" ":"");let s="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(" "===c&&"\\"===n[u+1]&&"n"===n[u+2]&&(s+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),"\\"===c)switch(n[u+1]){case"u":{s+=n.slice(a,u);const e=n.substr(u+2,4);switch(e){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===e.substr(0,2)?s+="\\x"+e.substr(2):s+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||'"'===n[u+2]||n.length<o)u+=1;else{for(s+=n.slice(a,u)+"\n\n";"\\"===n[u+2]&&"n"===n[u+3]&&'"'!==n[u+4];)s+="\n",u+=2;s+=i," "===n[u+2]&&(s+="\\"),u+=1,a=u+1}break;default:u+=1}return s=a?s+n.slice(a):n,r?s:ee(s,i,Y,ne(t,!1))}function ie(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return oe(e,t);const n=t.indent||(re(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:ee(r,n,G,ne(t,!1))}function se(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=oe;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?ie:o&&!t?oe:n?ie:oe}return r(e,t)}let ae;try{ae=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{ae=/\n+(?!\n|$)/g}function ue({comment:e,type:t,value:n},r,o,i){const{blockQuote:s,commentString:a,lineWidth:u}=r.options;if(!s||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return se(n,r);const c=r.indent||(r.forceBlockIndent||re(n)?" ":""),l="literal"===s||"folded"!==s&&t!==U.BLOCK_FOLDED&&(t===U.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let i=0,s=0;i<o;++i)if("\n"===e[i]){if(i-s>r)return!0;if(s=i+1,o-s<=r)return!1}return!0}(n,u,c.length));if(!n)return l?"|\n":">\n";let f,d;for(d=n.length;d>0;--d){const e=n[d-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(d);const p=h.indexOf("\n");-1===p?f="-":n===h||p!==h.length-1?(f="+",i&&i()):f="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ae,`$&${c}`));let m,g=!1,y=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{if("\n"!==e)break;y=m}}let v=n.substring(0,y<m?y+1:m);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let b=(l?"|":">")+(g?c?"2":"1":"")+f;if(e&&(b+=" "+a(e.replace(/ ?[\r\n]+/g," ")),o&&o()),l)return`${b}\n${c}${v}${n=n.replace(/\n+/g,`$&${c}`)}${h}`;return`${b}\n${c}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Z,ne(r,!0))}`}function ce(e,t,n,r){const{implicitKey:o,inFlow:i}=t,s="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=U.QUOTE_DOUBLE);const u=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return o||i?se(s.value,t):ue(s,t,n,r);case U.QUOTE_DOUBLE:return oe(s.value,t);case U.QUOTE_SINGLE:return ie(s.value,t);case U.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:s,implicitKey:a,indent:u,indentStep:c,inFlow:l}=t;if(a&&i.includes("\n")||l&&/[[\]{},]/.test(i))return se(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||l||!i.includes("\n")?se(i,t):ue(e,t,n,r);if(!a&&!l&&o!==U.PLAIN&&i.includes("\n"))return ue(e,t,n,r);if(re(i)){if(""===u)return t.forceBlockIndent=!0,ue(e,t,n,r);if(a&&u===c)return se(i,t)}const f=i.replace(/\n+/g,`$&\n${u}`);if(s){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return se(i,t)}return a?f:ee(f,u,G,ne(t,!1))}(s,t,n,r);default:return null}};let c=u(a);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(c=u(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function le(e,t){const n=Object.assign({blockQuote:!0,commentString:K,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function fe(e,t,n,r){if(m(e))return e.toString(t,n,r);if(d(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=b(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(g(t)){r=t.value;const o=e.filter((e=>e.identify?.(r)));n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&F(i)&&(n.add(i),o.push(`&${i}`));const s=e.tag?e.tag:t.default?null:t.tag;return s&&o.push(r.directives.tagString(s)),o.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ce(i,t,n,r):i.toString(t,n,r);return s?g(i)||"{"===a[0]||"["===a[0]?`${s} ${a}`:`${s}\n${t.indent}${a}`:a}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function he(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&pe(n))if(r=d(r)?r.resolve(e.doc):r,y(r))for(const o of r.items)me(e,t,o);else if(Array.isArray(r))for(const o of r)me(e,t,o);else me(e,t,r);else{const o=M(n,"",e);if(t instanceof Map)t.set(o,M(r,o,e));else if(t instanceof Set)t.add(o);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(b(e)&&n?.doc){const t=le(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),de(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),s=M(r,i,e);i in t?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s}}return t}const pe=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===U.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!p(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,s]of o)t instanceof Map?t.has(i)||t.set(i,s):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=V(e,void 0,n),o=V(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return b(t)&&(t=t.clone(e)),b(n)&&(n=n.clone(e)),new ye(t,n)}toJSON(e,t){return he(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,o){const{allNullValues:i,doc:s,indent:a,indentStep:u,options:{commentString:c,indentSeq:l,simpleKeys:f}}=n;let d=b(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(v(e))throw new Error("With simple keys, collection cannot be used as a key value")}let h=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!i),indent:a+u});let p,m,_,w=!1,E=!1,k=fe(e,n,(()=>w=!0),(()=>E=!0));if(!h&&!n.inFlow&&k.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===k?"?":h?`? ${k}`:k}else if(i&&!f||null==t&&h)return k=`? ${k}`,d&&!w?k+=W(k,n.indent,c(d)):E&&o&&o(),k;w&&(d=null),h?(d&&(k+=W(k,n.indent,c(d))),k=`? ${k}\n${a}:`):(k=`${k}:`,d&&(k+=W(k,n.indent,c(d)))),b(t)?(p=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(p=!1,m=null,_=null,t&&"object"==typeof t&&(t=s.createNode(t))),n.implicitKey=!1,h||d||!g(t)||(n.indentAtStart=k.length+1),E=!1,l||!(u.length>=2)||n.inFlow||h||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1;const D=fe(t,n,(()=>x=!0),(()=>E=!0));let S=" ";if(d||p||m)S=p?"\n":"",m&&(S+=`\n${J(c(m),n.indent)}`),""!==D||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!h&&v(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(S="");return k+=S+D,n.inFlow?x&&r&&r():_&&!x?k+=W(k,n.indent,c(_)):E&&o&&o(),k}(this,e,t,n):JSON.stringify(this)}}function ve(e,t,n){return(t.inFlow??e.flow?_e:be)(e,t,n)}function be({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:i,onChompKeep:s,onComment:a}){const{indent:u,options:{commentString:c}}=n,l=Object.assign({},n,{indent:i,type:null});let f=!1;const d=[];for(let p=0;p<t.length;++p){const e=t[p];let o=null;if(b(e))!f&&e.spaceBefore&&d.push(""),we(n,d,e.commentBefore,f),e.comment&&(o=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(!f&&t.spaceBefore&&d.push(""),we(n,d,t.commentBefore,f))}f=!1;let s=fe(e,l,(()=>o=null),(()=>f=!0));o&&(s+=W(s,i,c(o))),f&&o&&(f=!1),d.push(r+s)}let h;if(0===d.length)h=o.start+o.end;else{h=d[0];for(let e=1;e<d.length;++e){const t=d[e];h+=t?`\n${u}${t}`:"\n"}}return e?(h+="\n"+J(c(e),u),a&&a()):f&&s&&s(),h}function _e({comment:e,items:t},n,{flowChars:r,itemIndent:o,onComment:i}){const{indent:s,indentStep:a,flowCollectionPadding:u,options:{commentString:c}}=n;o+=a;const l=Object.assign({},n,{indent:o,inFlow:!0,type:null});let f=!1,d=0;const h=[];for(let v=0;v<t.length;++v){const e=t[v];let r=null;if(b(e))e.spaceBefore&&h.push(""),we(n,h,e.commentBefore,!1),e.comment&&(r=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(t.spaceBefore&&h.push(""),we(n,h,t.commentBefore,!1),t.comment&&(f=!0));const o=b(e.value)?e.value:null;o?(o.comment&&(r=o.comment),o.commentBefore&&(f=!0)):null==e.value&&t?.comment&&(r=t.comment)}r&&(f=!0);let i=fe(e,l,(()=>r=null));v<t.length-1&&(i+=","),r&&(i+=W(i,o,c(r))),!f&&(h.length>d||i.includes("\n"))&&(f=!0),h.push(i),d=h.length}let p;const{start:g,end:y}=r;if(0===h.length)p=g+y;else{if(!f){f=h.reduce(((e,t)=>e+t.length+2),2)>H.maxFlowStringSingleLineLength}if(f){p=g;for(const e of h)p+=e?`\n${a}${s}${e}`:"\n";p+=`\n${s}${y}`}else p=`${g}${u}${h.join(" ")}${u}${y}`}return e&&(p+=W(p,s,c(e)),i&&i()),p}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=J(t(r),e);n.push(o.trimStart())}}function Ee(e,t){const n=g(t)?t.value:t;for(const r of e)if(m(r)){if(r.key===t||r.key===n)return r;if(g(r.key)&&r.key.value===n)return r}}class ke extends H{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(ge(e,s,n))};if(t instanceof Map)for(const[a,u]of t)s(a,u);else if(t&&"object"==typeof t)for(const a of Object.keys(t))s(a,t[a]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=m(e)?e:e&&"object"==typeof e&&"key"in e?new ye(e.key,e.value):new ye(e,e?.value);const r=Ee(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Ee(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=Ee(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!Ee(this.items,e)}set(e,t){this.add(new ye(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const o of this.items)he(t,r,o);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const r of this.items)if(!m(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ve(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const xe={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(p(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ke.from(e,t,n)};class De extends H{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Se(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=Se(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&g(r)?r.value:r}has(e){const t=Se(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=Se(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];g(r)&&z(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const o of this.items)n.push(M(o,String(r++),t));return n}toString(e,t,n){return e?ve(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){if("function"==typeof r){const n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}o.items.push(V(i,void 0,n))}}return o}}function Se(e){let t=g(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Ce={collection:"seq",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>De.from(e,t,n)},$e={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ce(e,t=Object.assign({actualString:!0},t),n,r)},Oe={identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new U(null),stringify:({source:e},t)=>"string"==typeof e&&Oe.test.test(e)?e:t.options.nullStr},Ae={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new U("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ae.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Pe({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const je={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},Fe={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},Ie={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new U(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Pe},Ne=e=>"bigint"==typeof e||Number.isInteger(e),Te=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Me(e,t,n){const{value:r}=e;return Ne(r)&&r>=0?n+r.toString(t):Pe(e)}const Re={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Te(e,2,8,n),stringify:e=>Me(e,8,"0o")},Be={identify:Ne,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Te(e,0,10,n),stringify:Pe},Le={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Te(e,2,16,n),stringify:e=>Me(e,16,"0x")},ze=[xe,Ce,$e,Oe,Ae,Re,Be,Le,je,Fe,Ie];function Ue(e){return"bigint"==typeof e||Number.isInteger(e)}const qe=({value:e})=>JSON.stringify(e),Ve=[xe,Ce].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qe},{identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:qe},{identify:Ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Ue(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qe}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,o,i){const s=n;let a;if("function"==typeof Buffer)a=s instanceof Buffer?s.toString("base64"):Buffer.from(s.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);a=btoa(e)}}if(t||(t=U.BLOCK_LITERAL),t!==U.QUOTE_DOUBLE){const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),o=new Array(n);for(let t=0,r=0;t<n;++t,r+=e)o[t]=a.substr(r,e);a=o.join(t===U.BLOCK_LITERAL?"\n":" ")}return ce({comment:e,type:t,value:a},r,o,i)}};function Xe(e,t){if(y(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!m(r)){if(p(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new U(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=m(r)?r:new ye(r)}}else t("Expected a sequence for this tag");return e}function He(e,t,n){const{replacer:r}=n,o=new De(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let s of t){let e,a;if("function"==typeof r&&(s=r.call(t,String(i++),s)),Array.isArray(s)){if(2!==s.length)throw new TypeError(`Expected [key, value] tuple: ${s}`);e=s[0],a=s[1]}else if(s&&s instanceof Object){const t=Object.keys(s);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],a=s[e]}else e=s;o.items.push(ge(e,a,n))}return o}const Ke={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xe,createNode:He};class Je extends De{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const r of this.items){let e,o;if(m(r)?(e=M(r.key,"",t),o=M(r.value,e,t)):e=M(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys");n.set(e,o)}return n}static from(e,t,n){const r=He(e,t,n),o=new this;return o.items=r.items,o}}Je.tag="tag:yaml.org,2002:omap";const We={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xe(e,t),r=[];for(const{key:o}of n.items)g(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new Je,n)},createNode:(e,t,n)=>Je.from(e,t,n)};function Ge({value:e,source:t},n){return t&&(e?Ze:Ye).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ze={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new U(!0),stringify:Ge},Ye={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new U(!1),stringify:Ge},et={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},tt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},nt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new U(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Pe},rt=e=>"bigint"==typeof e||Number.isInteger(e);function ot(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function it(e,t,n){const{value:r}=e;if(rt(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Pe(e)}const st={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ot(e,2,2,n),stringify:e=>it(e,2,"0b")},at={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ot(e,1,8,n),stringify:e=>it(e,8,"0")},ut={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ot(e,0,10,n),stringify:Pe},ct={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ot(e,2,16,n),stringify:e=>it(e,16,"0x")};class lt extends ke{constructor(e){super(e),this.tag=lt.tag}add(e){let t;t=m(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ye(e.key,null):new ye(e,null);Ee(this.items,t.key)||this.items.push(t)}get(e,t){const n=Ee(this.items,e);return!t&&m(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=Ee(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ye(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),o.items.push(ge(i,null,n));return o}}lt.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:lt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>lt.from(e,t,n),resolve(e,t){if(p(e)){if(e.hasAllNullValues(!0))return Object.assign(new lt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function dt(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function ht(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Pe(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o];return t<60?i.unshift(0):(t=(t-i[0])/o,i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const pt={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>dt(e,n),stringify:ht},mt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dt(e,!1),stringify:ht},gt={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(gt.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,i,s,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,o,i||0,s||0,a||0,u);const l=t[8];if(l&&"Z"!==l){let e=dt(l,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[xe,Ce,$e,Oe,Ze,Ye,st,at,ut,ct,et,tt,nt,Qe,We,Ke,ft,pt,mt,gt],vt=new Map([["core",ze],["failsafe",[xe,Ce,$e]],["json",Ve],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Qe,bool:Ae,float:Ie,floatExp:Fe,floatNaN:je,floatTime:mt,int:Be,intHex:Le,intOct:Re,intTime:pt,map:xe,null:Oe,omap:We,pairs:Ke,seq:Ce,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Qe,"tag:yaml.org,2002:omap":We,"tag:yaml.org,2002:pairs":Ke,"tag:yaml.org,2002:set":ft,"tag:yaml.org,2002:timestamp":gt};function wt(e,t){let n=vt.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(vt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=bt[e];if(t)return t;const n=Object.keys(bt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const Et=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:s}){this.compat=Array.isArray(e)?wt(e,"compat"):e?wt(null,e):null,this.merge=!!n,this.name="string"==typeof o&&o||"core",this.knownTags=r?_t:{},this.tags=wt(t,this.name),this.toStringOptions=s??null,Object.defineProperty(this,a,{value:xe}),Object.defineProperty(this,c,{value:$e}),Object.defineProperty(this,l,{value:Ce}),this.sortMapEntries="function"==typeof i?i:!0===i?Et:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class xt{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:i}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new j({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(xt.prototype,{[f]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=b(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Dt(this.contents)&&this.contents.add(e)}addIn(e,t){Dt(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=I(this);e.anchor=!t||n.has(t)?N(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:i,flow:s,keepUndefined:a,onTagObj:u,tag:c}=n??{},{onAnchor:l,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=I(e));const i=N(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!g(t.node)&&!v(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),h=V(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:a??!1,onAnchor:l,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:d});return s&&v(h)&&(h.flow=!0),f(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new ye(r,o)}delete(e){return!!Dt(this.contents)&&this.contents.delete(e)}deleteIn(e){return X(e)?null!=this.contents&&(this.contents=null,!0):!!Dt(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return X(e)?!t&&g(this.contents)?this.contents.value:this.contents:v(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!v(this.contents)&&this.contents.has(e)}hasIn(e){return X(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Q(this.schema,[e],t):Dt(this.contents)&&this.contents.set(e,t)}setIn(e,t){X(e)?this.contents=t:null==this.contents?this.contents=Q(this.schema,Array.from(e),t):Dt(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new j({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new j({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=M(this.contents,t??"",s);if("function"==typeof o)for(const{count:u,res:c}of s.anchors.values())o(c,u);return"function"==typeof i?T(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=le(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(J(t,""))}let s=!1,a=null;if(e.contents){if(b(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(J(t,""))}o.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>s=!0;let u=fe(e.contents,o,(()=>a=null),t);a&&(u+=W(u,"",i(a))),"|"!==u[0]&&">"!==u[0]||"---"!==n[n.length-1]?n.push(u):n[n.length-1]=`--- ${u}`}else n.push(fe(e.contents,o));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(J(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!a||""===n[n.length-1]||n.push(""),n.push(J(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Dt(e){if(v(e))return!0;throw new Error("Expected a YAML collection as document contents")}class St extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Ct extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class $t extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const Ot=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="\u2026"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"\u2026\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}};function At(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:s}){let a=!1,u=s,c=s,l="",f="",d=!1,h=!1,p=!1,m=null,g=null,y=null,v=null,b=null;for(const E of e)switch(p&&("space"!==E.type&&"newline"!==E.type&&"comma"!==E.type&&i(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),E.type){case"space":!t&&u&&"doc-start"!==n&&"\t"===E.source[0]&&i(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=E.source.substring(1)||" ";l?l+=f+e:l=e,f="",u=!1;break}case"newline":u?l?l+=E.source:a=!0:f+=E.source,u=!0,d=!0,(m||g)&&(h=!0),c=!0;break;case"anchor":m&&i(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&i(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case"tag":g&&i(E,"MULTIPLE_TAGS","A node can have at most one tag"),g=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case n:(m||g)&&i(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),v&&i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${t??"collection"}`),v=E,u=!1,c=!1;break;case"comma":if(t){y&&i(E,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=E,u=!1,c=!1;break}default:i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),u=!1,c=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:v,spaceBefore:a,comment:l,hasNewline:d,hasNewlineAfterProp:h,anchor:m,tag:g,end:w,start:b??w}}function Pt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Pt(t.key)||Pt(t.value))return!0}return!1;default:return!0}}function jt(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Pt(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ft(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const o="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>o(e.key,n)))}const It="All mapping items must start at the same column";function Nt(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:u}=a;switch(u){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Tt="Block collections are not allowed within flow collections",Mt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const s="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??ke)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const c of r.items){const{start:i,key:l,sep:f,value:d}=c,h=At(i,{indicator:"explicit-key-ind",next:l??f?.[0],offset:a,onError:o,startOnNewline:!0}),p=!h.found;if(p){if(l&&("block-seq"===l.type?o(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in l&&l.indent!==r.indent&&o(a,"BAD_INDENT",It)),!h.anchor&&!h.tag&&!f){u=h.end,h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment);continue}(h.hasNewlineAfterProp||Pt(l))&&o(l??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&o(a,"BAD_INDENT",It);const m=h.end,g=l?e(n,l,h,o):t(n,m,i,null,h,o);n.schema.compat&&jt(r.indent,l,o),Ft(n,s.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=At(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!l||"block-scalar"===l.type});if(a=y.end,y.found){p&&("block-map"!==d?.type||y.hasNewline||o(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start<y.found.offset-1024&&o(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=d?e(n,d,y,o):t(n,a,f,null,y,o);n.schema.compat&&jt(r.indent,d,o),a=i.range[2];const u=new ye(g,i);n.options.keepSourceTokens&&(u.srcToken=c),s.items.push(u)}else{p&&o(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);const e=new ye(g);n.options.keepSourceTokens&&(e.srcToken=c),s.items.push(e)}}return u&&u<a&&o(u,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,a,u??a],s}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??De)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const{start:c,value:l}of r.items){const i=At(c,{indicator:"seq-item-ind",next:l,offset:a,onError:o,startOnNewline:!0});if(!i.found){if(!(i.anchor||i.tag||l)){u=i.end,i.comment&&(s.comment=i.comment);continue}l&&"block-seq"===l.type?o(i.end,"BAD_INDENT","All sequence items must start at the same column"):o(a,"MISSING_CHAR","Sequence item without - indicator")}const f=l?e(n,l,i,o):t(n,i.end,c,null,i,o);n.schema.compat&&jt(r.indent,l,o),a=f.range[2],s.items.push(f)}return s.range=[r.offset,a,u??a],s}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s="{"===r.start.source,a=s?"flow map":"flow sequence",u=new(i?.nodeClass??(s?ke:De))(n.schema);u.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1);let l=r.offset+r.start.source.length;for(let g=0;g<r.items.length;++g){const i=r.items[g],{start:c,key:f,sep:d,value:h}=i,p=At(c,{flow:a,indicator:"explicit-key-ind",next:f??d?.[0],offset:l,onError:o,startOnNewline:!1});if(!p.found){if(!(p.anchor||p.tag||d||h)){0===g&&p.comma?o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):g<r.items.length-1&&o(p.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),p.comment&&(u.comment?u.comment+="\n"+p.comment:u.comment=p.comment),l=p.end;continue}!s&&n.options.strict&&Pt(f)&&o(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===g)p.comma&&o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(p.comma||o(p.start,"MISSING_CHAR",`Missing , between ${a} items`),p.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=u.items[u.items.length-1];m(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,p.comment=p.comment.substring(e.length+1)}}if(s||d||p.found){const r=p.end,m=f?e(n,f,p,o):t(n,r,c,null,p,o);Mt(f)&&o(m.range,"BLOCK_IN_FLOW",Tt);const g=At(d??[],{flow:a,indicator:"map-value-ind",next:h,offset:m.range[2],onError:o,startOnNewline:!1});if(g.found){if(!s&&!p.found&&n.options.strict){if(d)for(const e of d){if(e===g.found)break;if("newline"===e.type){o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}p.start<g.found.offset-1024&&o(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${a}`):o(g.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const y=h?e(n,h,g,o):g.found?t(n,g.end,d,null,g,o):null;y?Mt(h)&&o(y.range,"BLOCK_IN_FLOW",Tt):g.comment&&(m.comment?m.comment+="\n"+g.comment:m.comment=g.comment);const v=new ye(m,y);if(n.options.keepSourceTokens&&(v.srcToken=i),s){const e=u;Ft(n,e.items,m)&&o(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(v)}else{const e=new ke(n.schema);e.flow=!0,e.items.push(v),u.items.push(e)}l=y?y.range[2]:g.end}else{const r=h?e(n,h,p,o):t(n,p.end,d,null,p,o);u.items.push(r),l=r.range[2],Mt(h)&&o(r.range,"BLOCK_IN_FLOW",Tt)}}const f=s?"}":"]",[d,...h]=r.end;let p=l;if(d&&d.source===f)p=d.offset+d.source.length;else{const e=a[0].toUpperCase()+a.substring(1);o(l,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${f}`:`${e} in block collection must be sufficiently indented and end with a ${f}`),d&&1!==d.source.length&&h.unshift(d)}if(h.length>0){const e=Nt(h,p,n.options.strict,o);e.comment&&(u.comment?u.comment+="\n"+e.comment:u.comment=e.comment),u.range=[r.offset,p,e.offset]}else u.range=[r.offset,p,p];return u}(e,t,n,r,i),a=s.constructor;return"!"===o||o===a.tagName?(s.tag=a.tagName,s):(o&&(s.tag=o),s)}function Bt(e,t,n){const r=e.offset,o=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",u=-1;for(let d=1;d<o.length;++d){const t=o[d];if(a||"-"!==t&&"+"!==t){const n=Number(t);!s&&n?s=n:-1===u&&(u=e+d)}else a=t}-1!==u&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let c=!1,l="",f=o.length;for(let d=1;d<t.length;++d){const e=t[d];switch(e.type){case"space":c=!0;case"newline":f+=e.source.length;break;case"comment":if(n&&!c){r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")}f+=e.source.length,l=e.source.substring(1);break;case"error":r(e,"UNEXPECTED_TOKEN",e.message),f+=e.source.length;break;default:{r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`);const t=e.source;t&&"string"==typeof t&&(f+=t.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:f}}(e,t,n);if(!o)return{value:"",type:null,comment:"",range:[r,r,r]};const i=">"===o.mode?U.BLOCK_FOLDED:U.BLOCK_LITERAL,s=e.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let i=1;i<t.length;i+=2)o.push([t[i],t[i+1]]);return o}(e.source):[];let a=s.length;for(let m=s.length-1;m>=0;--m){const e=s[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let n=r+o.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:o.comment,range:[r,n,n]}}let u=e.indent+o.indent,c=e.offset+o.length,l=0;for(let m=0;m<a;++m){const[e,t]=s[m];if(""!==t&&"\r"!==t){if(e.length<u){const t="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(c+e.length,"MISSING_CHAR",t)}0===o.indent&&(u=e.length),l=m;break}0===o.indent&&e.length>u&&(u=e.length),c+=e.length+t.length+1}for(let m=s.length-1;m>=a;--m)s[m][0].length>u&&(a=m+1);let f="",d="",h=!1;for(let m=0;m<l;++m)f+=s[m][0].slice(u)+"\n";for(let m=l;m<a;++m){let[e,t]=s[m];c+=e.length+t.length+1;const r="\r"===t[t.length-1];if(r&&(t=t.slice(0,-1)),t&&e.length<u){const i=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(c-t.length-(r?2:1),"BAD_INDENT",i),e=""}i===U.BLOCK_LITERAL?(f+=d+e.slice(u)+t,d="\n"):e.length>u||"\t"===t[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+e.slice(u)+t,d="\n",h=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",h=!1)}switch(o.chomp){case"-":break;case"+":for(let e=a;e<s.length;++e)f+="\n"+s[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const p=r+o.length+e.source.length;return{value:f,type:i,comment:o.comment,range:[r,p,p]}}function Lt(e,t,n){const{offset:r,type:o,source:i,end:s}=e;let a,u;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":a=U.PLAIN,u=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zt(e)}(i,c);break;case"single-quoted-scalar":a=U.QUOTE_SINGLE,u=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return zt(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break;case"double-quoted-scalar":a=U.QUOTE_DOUBLE,u=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=Ut(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=qt[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i={x:2,u:4,U:8}[o];n+=Vt(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const l=r+i.length,f=Nt(s,l,t,n);return{value:u,type:a,comment:f.comment,range:[r,l,f.offset]}}function zt(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(u){t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function Ut(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const qt={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function Vt(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(i)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(i)}function Qt(e,t,n,r){const{value:o,type:i,comment:s,range:a}="block-scalar"===t.type?Bt(t,e.options.strict,r):Lt(t,e.options.strict,r),u=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&u?function(e,t,n,r,o){if("!"===n)return e[c];const i=[];for(const a of e.tags)if(!a.collection&&a.tag===n){if(!a.default||!a.test)return a;i.push(a)}for(const a of i)if(a.test?.test(t))return a;const s=e.knownTags[n];if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c]}(e.schema,o,u,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[c];if(t.compat){const s=t.compat.find((e=>e.default&&e.test?.test(n)))??t[c];if(i.tag!==s.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(s.tag)}`,!0)}}return i}(e,o,t,r):e.schema[c];let f;try{const i=l.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new U(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new U(o)}return f.range=a,f.source=o,i&&(f.type=i),u&&(f.tag=u),l.format&&(f.format=l.format),s&&(f.comment=s),f}function Xt(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ht={composeNode:Kt,composeEmptyNode:Jt};function Kt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:s,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=function({options:e},{offset:t,source:n,end:r},o){const i=new B(n.substring(1));""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Nt(r,s,e.strict,o);i.range=[t,s,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(s||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Qt(e,t,a,r),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ke.tagName&&"map"===s||i===De.tagName&&"seq"===s||!s)return Rt(e,t,n,o,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!a){const u=t.schema.knownTags[i];if(!u||u.collection!==s)return u?.collection?o(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${s} collection, but expects ${u.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Rt(e,t,n,o,i,a),c=a.resolve?.(u,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??u,l=b(c)?c:new U(c);return l.range=u.range,l.tag=i,a?.format&&(l.format=a.format),l}(Ht,e,t,a,r),s&&(u.anchor=s.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=Jt(e,t.offset,void 0,null,n,r),c=!1}return s&&""===u.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(u.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?u.comment=i:u.commentBefore=i),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Jt(e,t,n,r,{spaceBefore:o,comment:i,anchor:s,tag:a,end:u},c){const l=Qt(e,{type:"scalar",offset:Xt(t,n,r),indent:-1,source:""},a,c);return s&&(l.anchor=s.source.substring(1),""===l.anchor&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(l.spaceBefore=!0),i&&(l.comment=i,l.range[2]=u),l}function Wt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Gt(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Zt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=Wt(e);r?this.warnings.push(new $t(o,t,n)):this.errors.push(new Ct(o,t,n))},this.directives=new j({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Gt(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(v(o)&&!o.flow&&o.items.length>0){let e=o.items[0];m(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Wt(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:o,end:i},s){const a=Object.assign({_directives:t},e),u=new xt(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},l=At(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:s,startOnNewline:!0});l.found&&(u.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||l.hasNewline||s(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=o?Kt(c,o,l,s):Jt(c,l.end,r,null,l,s);const f=u.contents.range[2],d=Nt(i,f,!1,s);return d.comment&&(u.comment=d.comment),u.range=[n,f,d.offset],u}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Ct(Wt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Nt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new xt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Yt(e,t=!0,n){if(e){const r=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new Ct([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Lt(e,t,r);case"block-scalar":return Bt(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:s="PLAIN"}=t,a=ce({type:s,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,u)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:u};default:return{type:"scalar",offset:i,indent:r,source:a,end:u}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:s}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");s=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}const u=ce({type:s,value:t},{implicitKey:o||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];nn(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,u);break;case'"':rn(e,u,"double-quoted-scalar");break;case"'":rn(e,u,"single-quoted-scalar");break;default:rn(e,u,"scalar")}}function nn(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function rn(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}const on=e=>"type"in e?sn(e):an(e);function sn(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=sn(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=an(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=an(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=an(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function an({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=sn(t)),n)for(const i of n)o+=i.source;return r&&(o+=sn(r)),o}const un=Symbol("break visit"),cn=Symbol("skip children"),ln=Symbol("remove item");function fn(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),dn(Object.freeze([]),e,t)}function dn(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const o of["key","value"]){const i=t[o];if(i&&"items"in i){for(let t=0;t<i.items.length;++t){const r=dn(Object.freeze(e.concat([[o,t]])),i.items[t],n);if("number"==typeof r)t=r-1;else{if(r===un)return un;r===ln&&(i.items.splice(t,1),t-=1)}}"function"==typeof r&&"key"===o&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}fn.BREAK=un,fn.SKIP=cn,fn.REMOVE=ln,fn.itemAtPath=(e,t)=>{let n=e;for(const[r,o]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[o]}return n},fn.parentCollection=(e,t)=>{const n=fn.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};const hn="\ufeff",pn="\x02",mn="\x18",gn="\x1f",yn=e=>!!e&&"items"in e,vn=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function bn(e){switch(e){case hn:return"<BOM>";case pn:return"<DOC>";case mn:return"<FLOW_END>";case gn:return"<SCALAR>";default:return JSON.stringify(e)}}function _n(e){switch(e){case hn:return"byte-order-mark";case pn:return"doc-mode";case mn:return"flow-error-end";case gn:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function wn(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const En="0123456789ABCDEFabcdef".split(""),kn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),xn=",[]{}".split(""),Dn=" ,[]{}\n\r\t".split(""),Sn=e=>!e||Dn.includes(e);class Cn{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&wn(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===hn&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length;const n=e.indexOf("#");if(-1!==n){const r=e[n-1];" "!==r&&"\t"!==r||(t=n-1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield pn,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&wn(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&wn(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!wn(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&wn(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Sn),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&wn(r[3])){if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,yield mn,yield*this.parseLineStart()}let o=0;for(;","===r[o];)o+=(yield*this.pushCount(1)),o+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-o),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Sn),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||wn(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>wn(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield gn,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(wn(t)||e&&","===t)break;n=r}else if(wn(t)){let o=this.buffer[r+1];if("\r"===t&&("\n"===o?(r+=1,t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&xn.includes(o))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&xn.includes(t))break;n=r}return t||this.atEnd?(yield gn,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Sn))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(wn(t)||e&&xn.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!wn(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(kn.includes(t))t=this.buffer[++e];else{if("%"!==t||!En.includes(this.buffer[e+1])||!En.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class $n{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}function On(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function An(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Pn(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function jn(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Fn(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function In(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||On(t.start,"explicit-key-ind")||On(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,Pn(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Nn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Cn,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=_n(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&In(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!On(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===An(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==An(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=Fn(jn(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||On(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(On(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(On(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Pn(t.key)&&!On(t.sep,"newline")){const e=Fn(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(On(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Fn(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):On(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0))}default:{const o=this.startBlockValue(e);if(o)return n&&"block-seq"!==o.type&&On(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(o)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||On(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=Fn(jn(t));In(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Tn(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new $n||null,prettyErrors:t}}function Mn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t),s=Array.from(i.compose(o.parse(e)));if(r&&n)for(const a of s)a.errors.forEach(Ot(e,n)),a.warnings.forEach(Ot(e,n));return s.length>0?s:Object.assign([],{empty:!0},i.streamInfo())}function Rn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t);let s=null;for(const a of i.compose(o.parse(e),!0,e.length))if(s){if("silent"!==s.options.logLevel){s.errors.push(new Ct(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else s=a;return r&&n&&(s.errors.forEach(Ot(e,n)),s.warnings.forEach(Ot(e,n))),s}function Bn(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=Rn(e,n);if(!o)return null;if(o.warnings.forEach((e=>de(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))}function Ln(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new xt(e,r,n).toString(n)}const zn=o},338:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},70764:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},96666:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},43182:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},71637:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},27889:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},5124:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},83575:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},47322:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')}}]); \ No newline at end of file diff --git a/assets/js/common.d9e6497e.js.LICENSE.txt b/assets/js/common.3693924e.js.LICENSE.txt similarity index 100% rename from assets/js/common.d9e6497e.js.LICENSE.txt rename to assets/js/common.3693924e.js.LICENSE.txt diff --git a/assets/js/common.d9e6497e.js b/assets/js/common.d9e6497e.js deleted file mode 100644 index aa88248f..00000000 --- a/assets/js/common.d9e6497e.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! For license information please see common.d9e6497e.js.LICENSE.txt */ -(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8592],{43159:(e,t,n)=>{var r,o,i,s,a=n(90682),u=n(96111),c=n(21500);r=e.exports,o="parse",i=()=>f,Object.defineProperty(r,o,{get:i,set:s,enumerable:!0,configurable:!0});const l=c.LRParser.deserialize({version:14,states:"%QO]QPOOOOQO'#Cd'#CdOtQQO'#CgO!PQPO'#ClOOQO'#Cs'#CsQOQPOOOOQO'#Ci'#CiO!WQPO'#ChO!]QPO'#CuOOQO,59R,59RO!eQPO,59ROOQO'#Cm'#CmO!jQPO'#CyOOQO,59W,59WO!rQPO,59WO]QPO,59SO!wQQO,59aO#SQPO,59aOOQO1G.m1G.mO#[QPO,59eO#cQPO,59eOOQO1G.r1G.rOOQO1G.n1G.nOOQO,59Y,59YO#kQQO1G.{OOQO-E6l-E6lOOQO,59Z,59ZO#vQPO1G/POOQO-E6m-E6mPwQQO'#CnP]QPO'#Co",stateData:"$R~OfOSPOSQOS~OSSOTSOUSOVSOYQO_ROhPO~OXXOhUOjUO~O^]O~P]Ok_O~Ol`OXiX~OXbO~OlcO^mX~O^eO~OhUOjUOXia~OlhOXia~O^ma~P]OlkO^ma~OhUOjUOXii~O^mi~P]OPQj~",goto:"!}nPPPPPPPPoPPow!PPPo!V!_!ePPP!kP!wPPP!z]SOR_cknQWQVg`hmXVQ`hmQ[RVjcknQaWRiaQd[RldQTOWZRcknRf_RYQR^R",nodeNames:"\u26a0 LineComment BlockComment JsonText True False Null Number String } { Object Property PropertyName ] [ Array ArrayValue",maxTerm:29,nodeProps:[["group",-7,4,5,6,7,8,11,16,"Value"],["openedBy",9,"{",14,"["],["closedBy",10,"}",15,"]"]],skippedNodes:[0,1,2],repeatNodeCount:2,tokenData:"!!`~R!OXY$RYZ$RZ[$R[]$R]^$Rpq$Rrs$Wtu.Xwx0b{|2Y|}6p}!O2Y!O!P2l!P!Q6u!Q!R3l!R![5Q![!]8t!c!k.X!k!l8y!l!p.X!p!q@}!q!}.X!}#OB|#O#P/S#P#QCR#R#S.X#T#Y.X#Y#ZCW#Z#b.X#b#cHU#c#h.X#h#iLU#i#o.X#o#p!!U#q#r!!Z$f$g$R$g$IV.X$IV$IW$R$IW$I|.X$I|$I}$R$I}$JO$R$JU;'S.X;'S;=`0[<%l?HT.X?HT?HU$R?HUO.X~$WOf~~$ZXOp$vpq$Wqr$Wrs%`s#O$W#O#P&s#P;'S$W;'S;=`.R<%lO$W~$yVOr$vrs%`s#O$v#O#P%e#P;'S$v;'S;=`&m<%lO$v~%eOh~~%haYZ$v]^$vrs$vwx$v!Q!R$v#O#P$v#T#U$v#U#V$v#Y#Z$v#b#c$v#f#g$v#h#i$v#i#j$v#j#k$v#l#m$v$I|$I}$v$I}$JO$v~&pP;=`<%l$v~&vbYZ$v]^$vrs$Wwx$v!P!Q(O!Q!R$v#O#P$W#T#U$v#U#V$W#Y#Z$W#b#c$W#f#g$W#h#i$W#i#j*c#j#k$v#l#m$v$I|$I}$v$I}$JO$v~(RWpq(Oqr(Ors%`s#O(O#O#P(k#P;'S(O;'S;=`*]<%lO(O~(nXrs(O!P!Q(O#O#P(O#U#V(O#Y#Z(O#b#c(O#f#g(O#h#i(O#i#j)Z~)^R!Q![)g!c!i)g#T#Z)g~)jR!Q![)s!c!i)s#T#Z)s~)vR!Q![*P!c!i*P#T#Z*P~*SR!Q![(O!c!i(O#T#Z(O~*`P;=`<%l(O~*f]Or$vrs%`s!Q$v!Q![+_![!c$v!c!i+_!i#O$v#O#P%e#P#T$v#T#Z+_#Z;'S$v;'S;=`&m<%lO$v~+b]Or$vrs%`s!Q$v!Q![,Z![!c$v!c!i,Z!i#O$v#O#P%e#P#T$v#T#Z,Z#Z;'S$v;'S;=`&m<%lO$v~,^]Or$vrs%`s!Q$v!Q![-V![!c$v!c!i-V!i#O$v#O#P%e#P#T$v#T#Z-V#Z;'S$v;'S;=`&m<%lO$v~-Y]Or$vrs%`s!Q$v!Q![$W![!c$v!c!i$W!i#O$v#O#P%e#P#T$v#T#Z$W#Z;'S$v;'S;=`&m<%lO$v~.UP;=`<%l$WQ.^[jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XQ/VP#i#j/YQ/]R!Q![/f!c!i/f#T#Z/fQ/iR!Q![/r!c!i/r#T#Z/rQ/uR!Q![0O!c!i0O#T#Z0OQ0RR!Q![.X!c!i.X#T#Z.XQ0_P;=`<%l.X~0eVOw0bwx%`x#O0b#O#P0z#P;'S0b;'S;=`2S<%lO0b~0}aYZ0b]^0brs0bwx0b!Q!R0b#O#P0b#T#U0b#U#V0b#Y#Z0b#b#c0b#f#g0b#h#i0b#i#j0b#j#k0b#l#m0b$I|$I}0b$I}$JO0b~2VP;=`<%l0bP2]T!O!P2l!Q!R3l!R![5Q!k!l5c!p!q6dP2oP!Q![2rP2wRVP!Q![2r!g!h3Q#X#Y3QP3TR{|3^}!O3^!Q![3dP3aP!Q![3dP3iPVP!Q![3dP3qTVP!O!P2r!Q![4Q!g!h3Q#X#Y3Q#l#m4fP4TQ!O!P4Z!Q![4QP4`QVP!g!h3Q#X#Y3QP4iR!Q![4r!c!i4r#T#Z4rP4wRVP!Q![4r!c!i4r#T#Z4rP5VSVP!O!P2r!Q![5Q!g!h3Q#X#Y3QP5fP#b#c5iP5lP#Y#Z5oP5rP#]#^5uP5xP#b#c5{P6OP#]#^6RP6UP#h#i6XP6[P#m#n6_P6dOVPP6gP#T#U6jP6mP!p!q6_~6uOl~~6xQz{7O!P!Q8V~7RTOz7Oz{7b{;'S7O;'S;=`8P<%lO7O~7eVOz7Oz{7b{!P7O!P!Q7z!Q;'S7O;'S;=`8P<%lO7O~8POQ~~8SP;=`<%l7O~8[UP~OY8VZ]8V^$I|8V$JO;'S8V;'S;=`8n<%lO8V~8qP;=`<%l8V~8yOk~R9O^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c9z#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR:P^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#Y.X#Y#Z:{#Z#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR;Q^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^;|#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR<R^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c<}#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR=S^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^>O#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR>T^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#h.X#h#i?P#i#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR?U^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#m.X#m#n@Q#n#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR@X[VPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRAS]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UA{#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRBQ^jQtu.X!Q![.X!c!p.X!p!q@Q!q!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~CRO_~~CWO^~RC]]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UDU#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRDZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aEV#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRE[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#g.X#g#hFW#h#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRF]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#YGX#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRG`[TPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRHZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jIV#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRI[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aJW#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRJ]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aKX#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRK`[UPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRLZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#f.X#f#gMV#g#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRM[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jNW#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRN]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#Y! X#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR! `[SPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~!!ZOY~~!!`OX~",tokenizers:[0,1],topRules:{JsonText:[0,3]},dialects:{json5:137},tokenPrec:0});function f(e,t,{dialect:n="json",tabWidth:r=4}={}){let o="JSON5"===n?(i=u,i&&i.__esModule?i.default:i).parse(e,t):JSON.parse(e,t);var i;let s=l.configure({strict:!0,dialect:"JSON5"===n?"json5":"json"}).parse(e),c=new Map,f=[""];return s.iterate({enter(t){let n=t.type.prop(a.NodeProp.group);if((null==n?void 0:n.includes("Value"))&&d(c,m(f),{value:h(e,t.from,r),valueEnd:h(e,t.to,r)}),"PropertyName"===t.name){let n=e.slice(t.from,t.to),o="'"===n[0]||'"'==n[0];f.push(o?n.slice(1,-1):n),d(c,m(f),{key:h(e,t.from,r),keyEnd:h(e,t.to,r)})}else"Array"===t.name&&f.push(0)},leave(e){"Property"===e.name||"Array"===e.name?f.pop():"ArrayValue"===e.name&&f[f.length-1]++}}),{data:o,pointers:Object.fromEntries(c)}}function d(e,t,n){let r=e.get(t);r={...r,...n},e.set(t,r)}function h(e,t,n){let r=function(e,t){let n=0;for(let r=0;r<t;r++)"\n"===e[r]&&n++;return n}(e,t),o=e.lastIndexOf("\n",t-1)+1,i=function(e,t,n,r){let o=0;for(let i=t;i<n;i++)o+="\t"===e[i]?r:1;return o}(e,o,t,n);return{line:r,column:i,pos:t}}const p=/[~/]/g;function m(e){let t="";for(let n of e)t+="string"==typeof n?n.replace(p,(e=>"~"===e?"~0":"~1"))+"/":String(n)+"/";return t.slice(0,-1)}},84560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(54318)),s=r(n(5750));e.exports=(s.default,e=>e.reference?o.default.createElement(i.default,{...e}):o.default.createElement(s.default,{...e}))},54318:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.codeReducer=t.parseCustomization=t.parseReference=void 0;const a=i(n(2784)),u=s(n(5750)),c="See full example on GitHub",l={code:"loading...",error:null,loading:null},f={fontSize:".9em",fontWeight:600,color:"#0E75DD",textAlign:"center",paddingBottom:"13px",textDecoration:"underline"};function d(e){const t=e.slice(e.indexOf("https"),-1),[n,r]=t.split("#"),o=globalThis||{};o.URL||(o.URL=URL);const[i,s,a,u,...c]=new o.URL(n).pathname.split("/").slice(1),[l,f]=r?r.split("-").map((e=>parseInt(e.slice(1),10)-1)):[0,1/0];return{url:`https://raw.githubusercontent.com/${i}/${s}/${u}/${c.join("/")}`,fromLine:l,toLine:f,title:c.join("/")}}function h(e){var t,n,r,o;const i=null===(n=null===(t=null==e?void 0:e.match(/title="(?<title>.*?)"/))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.title,s=null==e?void 0:e.match(/referenceLinkText="(?<referenceLinkText>.*?)"/),a=null!==(o=null===(r=null==s?void 0:s.groups)||void 0===r?void 0:r.referenceLinkText)&&void 0!==o?o:c,u=null==e?void 0:e.match(/customStyling/),l=1===(null==u?void 0:u.length);return{title:i,linkText:a,noteStyling:1===(null==u?void 0:u.length)?{}:f,useCustomStyling:l}}function p(e,{type:t,value:n}){switch(t){case"reset":return l;case"loading":return{...e,loading:!0};case"loaded":return{...e,code:n,loading:!1};case"error":return{...e,error:n,loading:!1};default:return e}}t.parseReference=d,t.parseCustomization=h,t.codeReducer=p,t.default=function(e){const[t,n]=(0,a.useReducer)(p,l),r=d(e.children);!1!==t.loading&&async function({url:e,fromLine:t,toLine:n},r){let o;try{o=await fetch(e)}catch(a){return r({type:"error",value:a})}if(200!==o.status)return r({type:"error",value:await o.text()});const i=(await o.text()).split("\n").slice(t,(n||t)+1),s=i.reduce(((e,t)=>{if(0===t.length)return e;const n=t.match(/^\s+/);return n?Math.min(e,n[0].length):0}),1/0);r({type:"loaded",value:i.map((e=>e.slice(s))).join("\n")})}(r,n);const o=h(e.metastring),i={...e,metastring:o.title?` title="${o.title}"`:` title="${r.title}"`,children:l.code};return a.default.createElement("div",null,a.default.createElement(u.default,{...i},t.code),a.default.createElement("div",{style:o.noteStyling,className:o.useCustomStyling?"github-codeblock-reference-link":""},a.default.createElement("a",{href:e.children,target:"_blank"},o.linkText)))}},77501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){const t=this._data[e];if(t&&(!this._stdTTL||(new Date).getTime()-t.ts<this._stdTTL))return this._stats.hits+=1,t.val;this._stats.misses+=1}set(e,t){this._data[e]={ts:(new Date).getTime(),val:t}}has(e){return e in this._data}purge(){Object.assign(this._stats,{hits:0,misses:0}),this._data={}}}},89728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const r=n(78458),o=n(5091),i=n(72579),s=n(18045);t.ResolveCrawler=class{constructor(e,t,n){this._resolved=n,this.resolvers=[],this.pointerGraph=new o.DepGraph({circular:!0}),this.pointerStemGraph=new o.DepGraph({circular:!0}),this.computeGraph=(e,t=[],n="#",r=[])=>{n||(n="#");let o=this._runner.computeRef({val:e,jsonPointer:n,pointerStack:r});if(void 0!==o)this._resolveRef({ref:o,val:e,parentPath:t,pointerStack:r,parentPointer:n,cacheKey:n,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(const i in e){if(!e.hasOwnProperty(i))continue;const a=e[i],u=s.addToJSONPointer(n,i);o=this._runner.computeRef({key:i,val:a,jsonPointer:u,pointerStack:r}),t.push(i),void 0!==o?this._resolveRef({ref:o,val:a,parentPath:t,parentPointer:u,pointerStack:r,cacheKey:s.uriToJSONPointer(o),resolvingPointer:this.jsonPointer}):"object"==typeof a&&this.computeGraph(a,t,u,r),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:n,parentPointer:o,ref:a}=e;if(s.uriIsJSONPointer(a)){if(this._runner.dereferenceInline){const e=s.uriToJSONPointer(a);let c;try{c=(0,r.pointerToPath)(e)}catch(u){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${a}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let l=c.length>0;for(const t in c)if(n[t]!==c[t]){l=!1;break}if(l)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t<n.length;t++){const r=n[t];if(r===c[t])f+=`/${r}`;else{d+=`/${r}`;const t=`${f}${d}`;t!==o&&t!==e&&(this.pointerStemGraph.hasNode(t)||this.pointerStemGraph.addNode(t),this.pointerStemGraph.addDependency(t,e))}}this.pointerGraph.hasNode(o)||this.pointerGraph.addNode(o),this.pointerGraph.hasNode(e)||this.pointerGraph.addNode(e);const h=`${this._runner.baseUri.toString()}${e}`;this._runner.graph.hasNode(h)||this._runner.graph.addNode(h,{refMap:{}}),this._runner.root!==h&&this._runner.graph.addDependency(this._runner.root,h),this.pointerGraph.addDependency(o,e),this.jsonPointer&&(t.length<2||!t.includes(e))&&(t.push(e),this.computeGraph(i(this._runner.source,c),c,e,t),t.pop())}}else{const t=a.toString();this._runner.graph.hasNode(t)||this._runner.graph.addNode(t,{refMap:{}}),this._runner.root!==t&&this._runner.graph.addDependency(this._runner.root,t),this._runner.dereferenceRemote&&!this._runner.atMaxUriDepth()&&this.resolvers.push(this._runner.lookupAndResolveUri(e))}},this.jsonPointer=t,this._runner=e}}},20028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;n(22970).__exportStar(n(88737),t);var r=n(77501);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return r.Cache}});var o=n(62163);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return o.defaultGetRef}})},88737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const r=n(5091),o=n(77501),i=n(62163);t.Resolver=class{constructor(e={}){this.ctx={},this.uriCache=e.uriCache||new o.Cache,this.resolvers=e.resolvers||{},this.getRef=e.getRef,this.transformRef=e.transformRef,this.dereferenceInline=void 0===e.dereferenceInline||e.dereferenceInline,this.dereferenceRemote=void 0===e.dereferenceRemote||e.dereferenceRemote,this.parseResolveResult=e.parseResolveResult,this.transformDereferenceResult=e.transformDereferenceResult,this.ctx=e.ctx}resolve(e,t={}){const n=new r.DepGraph({circular:!0});return new i.ResolveRunner(e,n,Object.assign(Object.assign({uriCache:this.uriCache,resolvers:this.resolvers,getRef:this.getRef,transformRef:this.transformRef,dereferenceInline:this.dereferenceInline,dereferenceRemote:this.dereferenceRemote,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult},t),{ctx:Object.assign({},this.ctx||{},t.ctx||{})})).resolve(t)}}},62163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const r=n(22970),o=n(78458),i=n(84441),s=n(5091),a=n(30412),u=n(72579),c=n(16765),l=n(30957),f=n(47156),d=n(77501),h=n(89728),p=n(18045),m=n(6238);let g=0;t.defaultGetRef=(e,t)=>{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class y{constructor(e,n=new s.DepGraph({circular:!0}),a={}){this.ctx={},this.computeRef=e=>{const t=this.getRef(e.key,e.val);if(void 0===t)return;let n=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(n)){let e=n.toString();n.is("absolute")||(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(n=new l((0,i.toFSPath)(e)).fragment(n.fragment()))}else(n.scheme().includes("http")||""===n.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===n.authority()&&(n=n.absoluteTo(this.baseUri))}return String(n).length>0&&this.isFile(this.baseUri)&&this.isFile(n)&&this.baseUri.path()===n.path()&&(n=new f.ExtendedURI(`#${n.fragment()}`)),this.transformRef?this.transformRef(Object.assign(Object.assign({},e),{ref:n,uri:this.baseUri}),this.ctx):n},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{ref:t}=e;let n=t.scheme();!this.resolvers[n]&&this.isFile(t)&&(n="file");const r=this.resolvers[n];if(!r)throw new Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let o=yield r.resolve(t,this.ctx);if(this.parseResolveResult)try{o=(yield this.parseResolveResult({uriResult:o,result:o,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(i){throw new Error(`Could not parse remote reference response for '${t.toString()}' - ${String(i)}`)}return new y(o,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})})),this.lookupAndResolveUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{val:t,ref:n,resolvingPointer:r,parentPointer:i,pointerStack:s}=e,a=e.parentPath?e.parentPath.slice():[],u=this.computeUriCacheKey(n),l={uri:n,pointerStack:s,targetPath:r===i?[]:a};if(this.uriStack.includes(u))return l.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},l;{let e;const r=this.baseUri.toString(),i=r&&0!==this.depth?r:null;try{if(this.atMaxUriDepth())throw new Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:n.clone().fragment(""),fragment:n.fragment(),cacheKey:u,parentPath:a}),i&&(e.uriStack=e.uriStack.concat(i))}catch(f){l.error={code:"RESOLVE_URI",message:String(f),uri:n,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:s,path:a}}if(e&&(l.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(n),parentPath:a}),l.resolved.errors.length))for(const s of l.resolved.errors)if("POINTER_MISSING"===s.code&&s.path.join("/")===n.fragment().slice(1)){const e=n.fragment?(0,o.trimStart)(s.path,(0,o.trimStart)(n.fragment(),"/").split("/")):s.path;e&&e.length?c(l.resolved.result,e,t):l.resolved.result&&(l.resolved.result=t)}}return l})),this.id=g+=1,this.depth=a.depth||0,this._source=e,this.resolvers=a.resolvers||{};const u=a.baseUri||"";let h=new l(u||"");this.isFile(h)&&(h=new l((0,i.toFSPath)(u))),this.baseUri=h,this.uriStack=a.uriStack||[],this.uriCache=a.uriCache||new d.Cache,this.root=a.root&&a.root.toString()||this.baseUri.toString()||"root",this.graph=n,this.graph.hasNode(this.root)||this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=a.getRef||t.defaultGetRef,this.transformRef=a.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===a.dereferenceInline||a.dereferenceInline,this.dereferenceRemote=void 0===a.dereferenceRemote||a.dereferenceRemote,this.parseResolveResult=a.parseResolveResult,this.transformDereferenceResult=a.transformDereferenceResult,this.ctx=a.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this};let n;const r=e&&e.jsonPointer&&e.jsonPointer.trim();if(r&&"#"!==r&&"#/"!==r){try{n=(0,o.pointerToPath)(r)}catch(f){return t.errors.push({code:"PARSE_POINTER",message:`'${r}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),t}t.result=u(t.result,n)}if(void 0===t.result)return t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:n||[]}),t;const i=new h.ResolveCrawler(this,r,t);i.computeGraph(t.result,n,r||"");let s=[];if(i.resolvers.length&&(s=yield Promise.all(i.resolvers)),s.length)for(const e of s){let r=e.targetPath;r.length||(r=n||[]),t.refMap[String(this.baseUri.clone().fragment((0,o.pathToPointer)(r)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,o.pathToPointer)(r),String(e.uri)),e.error&&t.errors.push(e.error),e.resolved&&(e.resolved.errors&&(t.errors=t.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,a.default)(this._source,(t=>{if(e.resolved){if(!r.length)return e.resolved.result;c(t,r,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,a.default)(this._source,(e=>{let n=[];try{n=i.pointerGraph.overallOrder();for(const r of n){const n=i.pointerGraph.dependantsOf(r);if(!n.length)continue;const s=(0,o.pointerToPath)(r),l=0===s.length?(0,a.original)(e):u(e,s);for(const a of n){let n;const u=(0,o.pointerToPath)(a),f=i.pointerStemGraph.dependenciesOf(r);for(const e of f)if((0,o.startsWith)(u,(0,o.pointerToPath)(e))){n=!0;break}n||(t.refMap[(0,o.pathToPointer)(u)]=(0,o.pathToPointer)(s),this._setGraphNodeEdge(this.root,(0,o.pathToPointer)(u),(0,o.pathToPointer)(s)),void 0!==l?(c(e,u,l),this._setGraphNodeData((0,o.pathToPointer)(s),l)):t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist`,path:u,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(r){}}))),t.result=n?u(this._source,n):this._source):t.result=this._source,this.transformDereferenceResult){const o=new l(r||"");try{const{result:n,error:r}=yield this.transformDereferenceResult({source:this.source,result:t.result,targetAuthority:o,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:o.fragment()});if(t.result=n,r)throw new Error(`Could not transform dereferenced result for '${o.toString()}' - ${String(r)}`)}catch(d){t.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==o.fragment()?`#${o.fragment()}`:""}' - ${String(d)}`,uri:o,uriStack:this.uriStack,pointerStack:[],path:n})}}return this._setGraphNodeData(this.root,this._source),t}))}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){const t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){const e=this.baseUri.scheme();return Boolean(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;const n=this.graph.getNodeData(e)||{};n.data=t,this.graph.setNodeData(e,n)}_setGraphNodeEdge(e,t,n){if(!this.graph.hasNode(e))return;const r=this.graph.getNodeData(e)||{};r.refMap=r.refMap||{},r.refMap[t]=n,this.graph.setNodeData(e,r)}}t.ResolveRunner=y},47156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const r=n(30957);t.ExtendedURI=class extends r{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},18045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;const n=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o};t.addToJSONPointer=(e,t)=>{return`${e}/${r=t,n(n(r,"~","~0"),"/","~1")}`;var r};t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},78458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUNDLE_ROOT:()=>re,ERRORS_ROOT:()=>oe,KEYS:()=>Fe,bundleTarget:()=>ie,decodePointer:()=>Q,decodePointerFragment:()=>ae,decodePointerUriFragment:()=>Q,decycle:()=>ue,encodePointer:()=>ce,encodePointerFragment:()=>M,encodePointerUriFragment:()=>L,encodeUriPointer:()=>B,extractPointerFromRef:()=>le,extractSourceFromRef:()=>Z,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>he,getLocationForJsonPath:()=>pe,hasRef:()=>I,isExternalRef:()=>G,isLocalRef:()=>N,isPlainObject:()=>A,parseTree:()=>ge,parseWithPointers:()=>me,pathToPointer:()=>z,pointerToPath:()=>X,remapRefs:()=>W,renameObjectKey:()=>_e,reparentBundleTarget:()=>Ee,resolveExternalRef:()=>xe,resolveExternalRefWithLocation:()=>De,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>ne,safeParse:()=>Se,safeStringify:()=>$e,startsWith:()=>Oe,stringify:()=>Ae,toPropertyPath:()=>Pe,trapAccess:()=>Ne,traverse:()=>J,trimStart:()=>Te});var r,o=n(76635),i=n(84441);function s(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,s=16,l=0,f=0,d=0,h=0,p=0;function m(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function g(){if(o="",p=0,i=r,f=l,h=d,r>=n)return i=n,s=17;var t=e.charCodeAt(r);if(a(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(a(t));return s=15}if(u(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),l++,d=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),p=2;break}var i=e.charCodeAt(r);if(34===i){t+=e.substring(o,r),r++;break}if(92!==i){if(i>=0&&i<=31){if(u(i)){t+=e.substring(o,r),p=2;break}p=6}r++}else{if(t+=e.substring(o,r),++r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=m(4,!0);s>=0?t+=String.fromCharCode(s):p=4;break;default:p=5}o=r}}return t}(),s=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return o=e.substring(g,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;for(var v=n-1,b=!1;r<v;){var _=e.charCodeAt(r);if(42===_&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,u(_)&&(13===_&&10===e.charCodeAt(r)&&r++,l++,d=r)}return b||(r++,p=1),o=e.substring(g,r),s=13}return o+=String.fromCharCode(t),r++,s=16;case 45:if(o+=String.fromCharCode(t),++r===n||!c(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&c(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&c(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&c(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&c(e.charCodeAt(r))){for(r++;r<e.length&&c(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&y(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return o+=String.fromCharCode(t),r++,s=16}}function y(e){if(a(e)||u(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,o="",i=0,s=16,p=0},getPosition:function(){return r},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return s},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return i-h},getTokenError:function(){return p}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function u(e){return 10===e||13===e||8232===e||8233===e}function c(e){return e>=48&&e<=57}function l(e,t,n){void 0===n&&(n=r.DEFAULT);var o=s(e,!1);function i(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var u=i(t.onObjectBegin),c=a(t.onObjectProperty),l=i(t.onObjectEnd),f=i(t.onArrayBegin),d=i(t.onArrayEnd),h=a(t.onLiteralValue),p=a(t.onSeparator),m=i(t.onComment),g=a(t.onError),y=n&&n.disallowComments,v=n&&n.allowTrailingComma;function b(){for(;;){var e=o.scan();switch(o.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:y||_(11);break;case 2:_(12);break;case 6:_(16)}switch(e){case 12:case 13:y?_(10):m();break;case 16:_(1);break;case 15:case 14:break;default:return e}}}function _(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),g(e),t.length+n.length>0)for(var r=o.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function w(e){var t=o.getTokenValue();return e?h(t):c(t),b(),!0}function E(){switch(o.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),4===o.getToken()&&v)break}else e&&_(6,[],[]);E()||_(4,[],[4,5]),e=!0}return d(),4!==o.getToken()?_(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),2===o.getToken()&&v)break}else e&&_(6,[],[]);(10!==o.getToken()?(_(3,[],[2,5]),0):(w(!1),6===o.getToken()?(p(":"),b(),E()||_(4,[],[2,5])):_(5,[],[2,5]),1))||_(4,[],[2,5]),e=!0}return l(),2!==o.getToken()?_(7,[2],[]):b(),!0}();case 10:return w(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(_(2),e=0)}catch(t){_(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()?!!n.allowEmptyContent||(_(4,[],[]),!1):E()?(17!==o.getToken()&&_(9,[],[]),!0):(_(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(r||(r={}));var f=s,d=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var o=t.children;if(Array.isArray(o))for(var i=0;i<o.length&&o[i].offset<=n;i++){var s=e(o[i],n,r);if(s)return s}return t}},h=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var o=t.parent.children.indexOf(t);-1!==o&&n.push(o)}return n},p=l;function m(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}const g=`__object_order_${Math.floor(Date.now()/36e5)}__`,y=Symbol.for(g),v=(String(y),{defineProperty:(e,t,n)=>(!Object.prototype.hasOwnProperty.call(e,t)&&y in e?e[y].push(t):"value"in n&&t===y&&-1===n.value.lastIndexOf(y)&&n.value.push(y),Reflect.defineProperty(e,t,n)),deleteProperty(e,t){const n=Object.prototype.hasOwnProperty.call(e,t),r=Reflect.deleteProperty(e,t);if(r&&n&&y in e){const n=e[y].indexOf(t);-1!==n&&e[y].splice(n,1)}return r},ownKeys:e=>y in e?e[y]:Reflect.ownKeys(e),set(e,t,n){const r=Object.prototype.hasOwnProperty.call(e,t),o=Reflect.set(e,t,n);return o&&!r&&y in e&&e[y].push(t),o}});function b(e,t=Reflect.ownKeys(e)){E(e);const n=new Proxy(e,v);return function(e,t){y in e?(e[y].length=0,e[y].push(...t)):Reflect.defineProperty(e,y,{configurable:!0,value:t})}(n,t),n}function _(e){return null!==e&&"object"==typeof e}function w(e){if(!_(e))return!1;if(void 0!==e[Symbol.toStringTag]){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){const t=e[Symbol.toStringTag];if("string"==typeof t)return t;const n=Reflect.apply(Object.prototype.toString,e,[]);return n.slice(8,n.length-1)}(e)}function E(e,t){if(function(){if("undefined"==typeof process||!_(process)||!_(process.env))return!1;return!1}()&&!w(e))throw new TypeError(t)}var k,x,D,S,C;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(k||(k={})),function(e){e.Unspecified="unspecified",e.Simple="simple",e.Matrix="matrix",e.Label="label",e.Form="form",e.CommaDelimited="commaDelimited",e.SpaceDelimited="spaceDelimited",e.PipeDelimited="pipeDelimited",e.DeepObject="deepObject",e.TabDelimited="tabDelimited"}(x||(x={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(D||(D={})),function(e){e.Article="article",e.HttpService="http_service",e.HttpServer="http_server",e.HttpOperation="http_operation",e.HttpCallback="http_callback",e.Model="model",e.Generic="generic",e.Unknown="unknown",e.TableOfContents="table_of_contents",e.SpectralRuleset="spectral_ruleset",e.Styleguide="styleguide",e.Image="image",e.StoplightResolutions="stoplight_resolutions",e.StoplightOverride="stoplight_override"}(S||(S={})),function(e){e.Json="json",e.Markdown="markdown",e.Yaml="yaml",e.Javascript="javascript",e.Apng="apng",e.Avif="avif",e.Bmp="bmp",e.Gif="gif",e.Jpeg="jpeg",e.Png="png",e.Svg="svg",e.Webp="webp"}(C||(C={}));var $=n(27822),O=n.n($);function A(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function P(e,t,n){if(!A(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${n}'`)}function j(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const F=e=>A(e)&&"$ref"in e,I=e=>F(e)&&"string"==typeof e.$ref,N=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),T=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o},M=e=>"number"==typeof e?e:T(T(e,"~","~0"),"/","~1"),R=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function B(e){return e.replace(R,encodeURIComponent)}const L=e=>{const t=M(e);return"number"==typeof t?t:B(t)},z=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(L).join("/")}`};function q(e){try{return decodeURIComponent(e)}catch(t){return e}}const V=/%[0-9a-f]+/gi,Q=e=>{let t;try{t=decodeURIComponent(e)}catch(n){t=e.replace(V,q)}return T(T(t,"~1","/"),"~0","~")},X=e=>H(e),H=e=>{if("string"!=typeof e)throw new TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw new URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw new URIError("Invalid JSON Pointer syntax.");return(e=>{const t=e.length,n=[];let r=-1;for(;++r<t;)n.push(Q(e[r]));return n})(e.substring(2).split("/"))},K=(e,t,n)=>{const r={value:e,path:n};t.onEnter&&t.onEnter(r);for(const o of Object.keys(e)){const r=e[o];t.onProperty&&t.onProperty({parent:e,parentPath:n,property:o,propertyValue:r}),"object"==typeof r&&null!==r&&K(r,t,n.concat(o))}t.onLeave&&t.onLeave(r)},J=(e,t)=>{"object"==typeof e&&null!==e&&K(e,"function"==typeof t?{onProperty:t}:t,[])};function W(e,t,n){J(e,{onProperty({property:e,propertyValue:r,parent:o}){"$ref"===e&&"string"==typeof r&&r.startsWith(t)&&(o.$ref=`${n}${r.slice(t.length)}`)}})}const G=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!G(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function Y(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*ee(e,t,n){F(e.value)&&(j(e.value),yield[-1,e.value]);for(const[r,o]of t.entries())P(e.value,o,n),e.value=e.value[o],F(e.value)&&(j(e.value),yield[r,e.value])}function te(e,t){return ne(e,t).value}function ne(e,t){return function e(t,n,r,o){if(null!==Z(n))throw new ReferenceError("Cannot resolve external references");const i=X(n);let s=[...i];"#"===n&&F(t)&&(j(t),i.unshift(...X(t.$ref)));const a={value:t};for(const[u,c]of ee(a,i,n)){if(r.includes(c))return{source:null,location:null!=o?o:s,value:r[r.length-1]};r.push(c);const n=e(t,c.$ref,r,s);a.value=n.value,(s=n.location).push(...i.slice(u+1))}return{source:null,location:s,value:r.length>0?Y(r[r.length-1],a.value):a.value}}(e,t,[])}const re="#/__bundled__",oe="#/__errors__",ie=({document:e,path:t,bundleRoot:n="#/__bundled__",errorsRoot:r="#/__errors__",cloneDocument:i=!0,keyProvider:s},a)=>{if(t===n||t===r)throw new Error("Roots do not make any sense");const u=i?(0,o.cloneDeep)(e):e;return se(u,X(n),X(r),t,s)(t,{[t]:!0},a)},se=(e,t,n,r,i)=>{const s=new Set,a=(u,c,l,f={},d={},h={})=>{const p=X(u),m=(0,o.get)(e,p);J(l||m,{onEnter:({value:n})=>{if(I(n)&&N(n.$ref)){const l=n.$ref;if(h[l])return;if(l===u&&(f[l]="#"),f[l])return void(n.$ref=f[l]);let p,m,g,y,v;try{let n;p=X(l),i&&(n=i({document:e,path:p})),n||(n=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,o.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:p})),g=n;let r=1;for(;s.has(g);)if(g=`${n}_${++r}`,r>20)throw new Error(`Keys ${n}_2 through ${n}_20 already taken.`);s.add(g),m=[...t,g],y=z(m)}catch(e){h[l]=e instanceof Error?e.message:String(e)}if(!p||!m||!y)return;if("object"==typeof e&&null!==e&&!(v=(0,o.get)(e,p)))try{v=te(Object(e),l)}catch(e){}void 0!==v&&(f[l]=y,n.$ref=y,(0,o.has)(d,m)||(Array.isArray(v)?(0,o.set)(d,m,new Array(v.length).fill(null)):"object"==typeof v&&(0,o.setWith)(d,m,{},Object),(0,o.set)(d,m,v),"#"===l?function(e,t,n,r){const i=n.map((e=>`[${JSON.stringify(e)}]`)).join(""),s=JSON.parse(JSON.stringify((0,o.omit)(Object(e),i))),a={};(0,o.set)(t,r,s),(0,o.set)(s,n,a),W(s,"#",z(r)),a.$ref="#"}(e,d,X(r),m):c[l]||(c[l]=!0,a(u,c,v,f,d,h),c[l]=!1)))}}});const g=(0,o.get)(d,t);return g&&Object.keys(g).length&&(0,o.set)(m,t,g),(Object.keys(h).length||(0,o.has)(e,n))&&(0,o.set)(m,n,(0,o.has)(e,n)?(0,o.get)(e,n):h),m};return a},ae=e=>T(T(e,"~1","/"),"~0","~"),ue=(e,t)=>{const n=new WeakMap;return function e(r,o){let i;if(t&&(r=t(r)),A(r)||Array.isArray(r)){const t=n.get(r);return t?{$ref:t}:(n.set(r,z(o)),Array.isArray(r)?i=r.map(((t,n)=>e(t,[...o,String(n)]))):(i={},Object.keys(r).forEach((t=>{i[t]=e(r[t],[...o,t])}))),n.delete(r),i)}return r}(e,[])},ce=e=>T(T(e,"~","~0"),"//","/~1"),le=e=>{if("string"!=typeof e||0===e.length)return null;const t=e.indexOf("#");return-1===t?null:e.slice(t)},fe=e=>{const t=f(e,!0);if(t.scan(),1!==t.getToken())return;if(t.scan(),2===t.getToken())return;if(10!==t.getToken())throw new SyntaxError("Unexpected character");const n=t.getTokenValue();if(t.scan(),6!==t.getToken())throw new SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[n,t.getTokenValue()];case 11:return[n,Number(t.getTokenValue())];case 8:return[n,!0];case 9:return[n,!1];case 7:return[n,null];case 16:throw new SyntaxError("Unexpected character");case 17:throw new SyntaxError("Unexpected end of file");default:return}},de=({lineMap:e,ast:t},n)=>{const r=e[n.line],o=e[n.line+1];if(void 0===r)return;const i=d(t,void 0===o?r+n.character:Math.min(o,r+n.character),!0);if(void 0===i)return;const s=h(i);return 0!==s.length?s:void 0};function he(e){return ae(e.split("/").pop()||"")}const pe=({ast:e},t,n=!1)=>{const r=function(e,t,n){e:for(const r of t){const t=Number.isInteger(Number(r))?Number(r):r;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return n?e:void 0;for(const n of e.children)if(Array.isArray(n.children)&&n.children[0].value===String(t)&&2===n.children.length){e=n.children[1];continue e}return n?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return n?e:void 0;e=e.children[t]}return e}(e,t,n);if(void 0!==r&&void 0!==r.range)return{range:r.range}},me=(e,t={disallowComments:!0})=>{const n=[],{ast:r,data:o,lineMap:i}=ge(e,n,t);return{data:o,diagnostics:n,ast:r,lineMap:i}};function ge(e,t=[],n){const r=ve(e);let o={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,s=[];const a=new WeakMap,u=[];function c(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function l(e,t,n){return{start:{line:e,character:t},end:{line:e,character:t+n}}}function f(e){return o.children.push(e),e}function d(e){Array.isArray(s)?s.push(e):null!==i&&(s[i]=e)}function h(e){d(e),u.push(s),s=e,i=null}function g(){s=u.pop()}p(e,{onObjectBegin:(e,t,r,i)=>{o=f({type:"object",offset:e,length:-1,parent:o,children:[],range:l(r,i,t)}),!1===n.ignoreDuplicateKeys&&a.set(o,[]),h(function(e){return e?b({}):{}}(!0===n.preserveKeyOrder))},onObjectProperty:(e,r,u,c,d)=>{if((o=f({type:"property",offset:r,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:r,length:u,parent:o}),!1===n.ignoreDuplicateKeys){const n=a.get(o.parent);n&&(0!==n.length&&n.includes(e)?t.push({range:l(c,d,u),message:"DuplicateKey",severity:D.Error,path:be(o),code:20}):n.push(e))}!0===n.preserveKeyOrder&&function(e,t){if(!(t in e))return;const n=e[y],r=n.indexOf(t);-1!==r&&(n.splice(r,1),n.push(t))}(s,e),i=e},onObjectEnd:(e,t,r,i)=>{!1===n.ignoreDuplicateKeys&&a.delete(o),o.length=e+t-o.offset,o.range&&(o.range.end.line=r,o.range.end.character=i+t),o=o.parent,c(e+t),g()},onArrayBegin:(e,t,n,r)=>{o=f({type:"array",offset:e,length:-1,parent:o,children:[],range:l(n,r,t)}),h([])},onArrayEnd:(e,t,n,r)=>{o.length=e+t-o.offset,o.range&&(o.range.end.line=n,o.range.end.character=r+t),o=o.parent,c(e+t),g()},onLiteralValue:(e,t,n,r,i)=>{f({type:ye(e),offset:t,length:n,parent:o,value:e,range:l(r,i,n)}),c(t+n),d(e)},onSeparator:(e,t)=>{"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&c(t))},onError:(e,n,r,o,i)=>{t.push({range:l(o,i,r),message:m(e),severity:D.Error,code:e})}},n);const v=o.children[0];return v&&delete v.parent,{ast:v,data:s[0],lineMap:r}}function ye(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}const ve=e=>{const t=[0];let n=0;for(;n<e.length;n++)"\n"===e[n]&&t.push(n+1);return t.push(n+1),t};function be(e,t=[]){return"property"===e.type&&t.unshift(e.children[0].value),void 0!==e.parent?("array"===e.parent.type&&void 0!==e.parent.parent&&t.unshift(e.parent.children.indexOf(e)),be(e.parent,t)):t}const _e=(e,t,n)=>{if(!e||!Object.hasOwnProperty.call(e,t)||t===n)return e;const r={};for(const[o,i]of Object.entries(e))o===t?r[n]=i:o in r||(r[o]=i);return r};function we(e){return A(e)||Array.isArray(e)}function Ee(e,t,n){if(n.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(n))throw Error("Target path cannot be contained within source");const r=X(t);let o=e;for(const a of r){if(!we(o))return;o=o[a]}if(!we(o))return;const i=X(n);let s=e;for(const[a,u]of i.entries()){if(!we(s)||u in s)return;const e=a===i.length-1?o:{};s[u]=e,s=e}delete e[r[0]],function e(t,n,r){for(const o of Object.keys(t)){const i=t[o];if("$ref"!==o)we(i)&&e(i,n,r);else{if("string"!=typeof i||!N(i))continue;0===i.indexOf(n)&&(t[o]=i.replace(n,r))}}}(e,t,n)}async function ke(e,t,n,r,o){let s=function(e,t){const n=Z(t);return null===n?e:(0,i.isAbsolute)(n)?n:(0,i.join)((0,i.dirname)(e),n)}(t,n);const a=le(n)||"#",u=await e[s],c=X(a);let l=[...c];const f={value:u};for(const[i,d]of ee(f,c,a)){if(r.includes(d))return{source:t,location:null!=o?o:l,value:r[r.length-1]};r.push(d);const n=await ke(e,s,d.$ref,r,l);({source:s,location:l}=n),f.value=n.value,l.push(...c.slice(i+1))}return{source:s,location:l,value:r.length>0?Y(r[r.length-1],f.value):f.value}}async function xe(e,t,n){return(await De(e,t,n)).value}function De(e,t,n){return ke(e,t,n,[])}const Se=(e,t)=>{if("string"!=typeof e)return e;try{const n=Ce(e);return"string"==typeof n?n:JSON.parse(e,t)}catch(e){return}},Ce=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},$e=(e,t,n)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,n)}catch(r){return O()(e,t,n)}},Oe=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(const n in t){if(!t.hasOwnProperty(n))continue;const r=parseInt(e[n]),o=parseInt(t[n]);if(isNaN(r)&&isNaN(o)){if(e[n]!==t[n])return!1}else if(r!==o)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},Ae=(e,t,n)=>{const r=$e(e,t,n);if(void 0===r)throw new Error("The value could not be stringified");return r};function Pe(e){return e.replace(/^(\/|#\/)/,"").split("/").map(ae).map(je).join(".")}function je(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Fe=Symbol.for(g),Ie={ownKeys:e=>Fe in e?e[Fe]:Reflect.ownKeys(e)},Ne=e=>new Proxy(e,Ie);function Te(e,t){if("string"==typeof e&&"string"==typeof t)return(0,o.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let n=0;for(const r in e)if(e.hasOwnProperty(r)){if(e[r]!==t[r])break;n++}return e.slice(n)}},84441:(e,t,n)=>{"use strict";function r(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function o(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}n.r(t),n.d(t,{basename:()=>l,deserializeSrn:()=>w,dirname:()=>f,extname:()=>d,format:()=>r,isAbsolute:()=>h,isURL:()=>p,join:()=>m,normalize:()=>a,parse:()=>s,relative:()=>g,resolve:()=>y,sep:()=>v,serializeSrn:()=>E,startsWithWindowsDrive:()=>b,stripRoot:()=>_,toFSPath:()=>a}),function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(o,Error),o.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."};var i=function(e,t){t=void 0!==t?t:{};var n,r,i,s,a={},u={Path:te},c=te,l=function(e,t,n,r){return{protocol:e,origin:t,absolute:!0,...n,...r}},f=function(e,t,n){return{protocol:e,origin:t,absolute:!0,...n,path:[]}},d="http://",h=W("http://",!0),p=function(e){return"http"},m="https://",g=W("https://",!0),y=function(e){return"https"},v="",b=function(){return null},_=function(e,t,n){return{protocol:e,origin:null,absolute:!0,...t,...n}},w="file://",E=W("file://",!0),k="file:",x=W("file:",!0),D=function(e){return"file"},S=function(e,t){return{protocol:"file",origin:null,absolute:!0,...e,...t}},C=/^[A-Za-z]/,$=G([["A","Z"],["a","z"]],!1,!1),O=":",A=W(":",!1),P=function(e){return{drive:e.toLowerCase()+":"}},j=function(){return{drive:null}},F=function(){return{drive:null}},I=function(e){return{protocol:null,origin:null,absolute:!1,drive:null,...e}},N=function(e){return{path:e}},T=function(e,t){return[e,...t]},M=function(e){return[e]},R=".",B=W(".",!1),L="/",z=W("/",!1),U="\\",q=W("\\",!1),V=/^[^\/\\]/,Q=G(["/","\\"],!0,!1),X=0,H=[{line:1,column:1}],K=0,J=[];if("startRule"in t){if(!(t.startRule in u))throw new Error("Can't start parsing from rule \""+t.startRule+'".');c=u[t.startRule]}function W(e,t){return{type:"literal",text:e,ignoreCase:t}}function G(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Z(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function Y(e,t){var n=Z(e),r=Z(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function ee(e){X<K||(X>K&&(K=X,J=[]),J.push(e))}function te(){var t;return(t=function(){var e,t,n,r,o;return e=X,(t=ne())!==a&&(n=re())!==a&&(r=ie())!==a&&(o=se())!==a?e=t=l(t,n,r,o):(X=e,e=a),e===a&&(e=X,(t=ne())!==a&&(n=re())!==a&&(r=function(){var e;return(e=v)!==a&&(e=F()),e}())!==a?e=t=f(t,n,r):(X=e,e=a)),e}())===a&&(t=function(){var t,n,r,o;return t=X,(n=function(){var t;return e.substr(X,7).toLowerCase()===w?(t=e.substr(X,7),X+=7):(t=a,ee(E)),t===a&&(e.substr(X,5).toLowerCase()===k?(t=e.substr(X,5),X+=5):(t=a,ee(x))),t!==a&&(t=D()),t}())!==a&&(r=oe())!==a&&(o=se())!==a?t=n=_(n,r,o):(X=t,t=a),t}())===a&&(t=function(){var e,t,n;return e=X,(t=oe())!==a&&(n=se())!==a?e=t=S(t,n):(X=e,e=a),e}())===a&&(t=function(){var t,n;return t=X,function(){var t;return(t=function(){var t,n,r;return t=X,46===e.charCodeAt(X)?(n=R,X++):(n=a,ee(B)),n!==a&&(r=ue())!==a?t=n=[n,r]:(X=t,t=a),t}())===a&&(t=v),t}()!==a&&(n=se())!==a?t=I(n):(X=t,t=a),t}()),t}function ne(){var t,n;return e.substr(X,7).toLowerCase()===d?(n=e.substr(X,7),X+=7):(n=a,ee(h)),n!==a&&(n=p()),(t=n)===a&&(t=function(){var t;return e.substr(X,8).toLowerCase()===m?(t=e.substr(X,8),X+=8):(t=a,ee(g)),t!==a&&(t=y()),t}()),t}function re(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=X,(n=v)!==a&&(n=b()),t=n),t}function oe(){var t;return(t=function(){var t,n,r,o;return t=X,(n=ue())===a&&(n=null),n!==a?(C.test(e.charAt(X))?(r=e.charAt(X),X++):(r=a,ee($)),r!==a?(58===e.charCodeAt(X)?(o=O,X++):(o=a,ee(A)),o!==a&&ue()!==a?t=n=P(r):(X=t,t=a)):(X=t,t=a)):(X=t,t=a),t}())===a&&(t=ie()),t}function ie(){var e;return(e=ue())!==a&&(e=j()),e}function se(){var e;return(e=function e(){var t,n,r;return t=X,(n=ae())!==a&&ue()!==a&&(r=e())!==a?t=n=T(n,r):(X=t,t=a),t===a&&(t=X,(n=ae())!==a&&(n=M(n)),t=n),t}())!==a&&(e=N(e)),e}function ae(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=v),t}function ue(){var t;return 47===e.charCodeAt(X)?(t=L,X++):(t=a,ee(z)),t===a&&(92===e.charCodeAt(X)?(t=U,X++):(t=a,ee(q))),t}function ce(){var t;return V.test(e.charAt(X))?(t=e.charAt(X),X++):(t=a,ee(Q)),t}if((n=c())!==a&&X===e.length)return n;throw n!==a&&X<e.length&&ee({type:"end"}),r=J,i=K<e.length?e.charAt(K):null,s=K<e.length?Y(K,K+1):Y(K,K),new o(o.buildMessage(r,i),r,i,s)};function s(e){if("string"!=typeof e)throw new Error(`@stoplight/path: Cannot parse ${e} because it is not a string`);return i(e,{})}function a(e){return r(u(s(e)))}function u(e){let t=e.path;t=t.filter((e=>""!==e&&"."!==e));const n=[];for(const r of t)".."===r&&n.length&&".."!==n[n.length-1]?n.pop():".."===r&&e.absolute||n.push(r);return e.path=n,e}function c(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let n=e,r="";return t>0&&(n=e.slice(0,t),r=e.slice(t)),{name:n,ext:r}}const l=(e,t)=>{const n=u(s(e)).path.pop();if(!n)return"";const{name:r,ext:o}=c(n);return!0===t||t===o?r:`${r}${o}`},f=e=>{const t=u(s(e));return t.path.pop(),r(u(t))},d=e=>{const t=u(s(e)).path.pop();if(!t)return"";const{ext:n}=c(t);return n};function h(e){return s(e).absolute}function p(e){const t=s(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(s),n=Object.assign({},t[0]);for(let r=1;r<t.length;r++){const o=t[r];if(o.absolute)throw new Error('Cannot join an absolute path "'+e[r]+'" in the middle of other paths.');for(const e of o.path)n.path.push(e)}return r(u(n))};function g(e,t){const n=u(s(t));if(!n.absolute)return r(n);const o=u(s(e));if(n.origin!==o.origin)return r(n);if(!o.absolute)return r(n);if(o.drive!==n.drive)return r(n);const i=Math.min(o.path.length,n.path.length);for(let r=0;r<i&&o.path[0]===n.path[0];r++)o.path.shift(),n.path.shift();return n.path.unshift(...o.path.fill("..")),r({origin:null,drive:null,absolute:!1,protocol:null,path:n.path})}function y(...e){if(0===e.length)return".";const t=u(s(e[e.length-1]));return t.absolute?r(t):m(...e)}const v="/",b=e=>null!==s(e).drive,_=e=>s(e).path.filter(Boolean).join("/");function w(e){const[t,n,r,...o]=e.split("/"),i=o.length?`/${o.join("/")}`:void 0;let s,a;return i&&(s=o.find((e=>e.includes("."))))&&(a=c(s).ext),{shortcode:t,orgSlug:n,projectSlug:r,uri:i,file:s,ext:a}}function E({shortcode:e,orgSlug:t,projectSlug:n,uri:r=""}){return[e,t,n,r.replace(/^\//,"")].filter(Boolean).join("/")}},4407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=n(49241),o=n(19282),i=n(86825),s=n(99412),a="https://json-schema.org/draft/2020-12/schema";class u extends r.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(s.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=u,e.exports=t=u,e.exports.Ajv2020=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var l=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var f=n(14282);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var d=n(24186);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})},80477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)u(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const s=new o("+");function a(e,...t){const n=[l(e[0])];let r=0;for(;r<t.length;)n.push(s),u(n,t[r]),n.push(s,l(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function u(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:l(Array.isArray(n)?n.join(","):n))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=a,t.addCodeArg=u,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new o(l(e))},t.safeStringify=l,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},15923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(80477),o=n(91131);var i=n(80477);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var s=n(91131);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class u extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=P(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=P(this.rhs,e,t),this}get names(){return A(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class l extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class f extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=P(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(j(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>O(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class v extends g{}v.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(F(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=P(this.condition,e,t),this}get names(){const e=super.names;return A(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class _ extends g{}_.kind="for";class w extends _{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=P(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class E extends _{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=A(super.names,this.from);return A(e,this.to)}}class k extends _{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=P(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class x extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class D extends m{render(e){return"return "+super.render(e)}}D.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class C extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class $ extends g{render(e){return"finally"+super.render(e)}}$.kind="finally";function O(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function A(e,t){return t instanceof r._CodeOrName?O(e,t.names):e}function P(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function F(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${M(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new l(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const s=this._scope.toName(e);return this._for(new E(i,s,t,n),(()=>r(s)))}forOf(e,t,n,i=o.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(s,r._`${e}[${t}]`),n(s)}))}return this._for(new k("of",i,s,t),(()=>n(s)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new k("in",i,s,t),(()=>n(s)))}endFor(){return this._endBlockNode(_)}label(e){return this._leafNode(new f(e))}break(e){return this._leafNode(new d(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new $,this.code(n)),this._endBlockNode(C,$)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new x(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=F;const I=T(t.operators.AND);t.and=function(...e){return e.reduce(I)};const N=T(t.operators.OR);function T(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${M(t)} ${e} ${M(n)}`}function M(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(N)}},91131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(80477);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=a;const u=r._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:r.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[o];if(s){const e=s.get(i);if(e)return e}else s=this._values[o]=new Map;s.set(i,r);const a=this._scope[o]||(this._scope[o]=[]),u=a.length;return a[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,s={},a){let u=r.nil;for(const c in e){const l=e[c];if(!l)continue;const f=s[c]=s[c]||new Map;l.forEach((e=>{if(f.has(e))return;f.set(e,i.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;u=r._`${u}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new o(e);u=r._`${u}${s}${this.opts._n}`}f.set(e,i.Completed)}))}return u}}},76028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(15923),o=n(91571),i=n(92115);function s(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function a(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:u}=e,{gen:l,compositeRule:f,allErrors:d}=u,h=c(e,n,o);(null!=i?i:f||d)?s(l,h):a(u,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:u,compositeRule:l,allErrors:f}=o;s(u,c(e,n,r)),l||f||a(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",s,i.default.errors,(s=>{e.const(u,r._`${i.default.vErrors}[${s}]`),e.if(r._`${u}.instancePath === undefined`,(()=>e.assign(r._`${u}.instancePath`,(0,r.strConcat)(i.default.instancePath,a.errorPath)))),e.assign(r._`${u}.schemaPath`,r.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(r._`${u}.schema`,n),e.assign(r._`${u}.data`,o))}))};const u={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:s}=e,a=[l(s,n),f(e,n)];return function(e,{params:t,message:n},o){const{keyword:s,data:a,schemaValue:c,it:l}=e,{opts:f,propertyName:d,topSchemaRef:h,schemaPath:p}=l;o.push([u.keyword,s],[u.params,"function"==typeof t?t(e):t||r._`{}`]),f.messages&&o.push([u.message,"function"==typeof n?n(e):n]);f.verbose&&o.push([u.schema,c],[u.parentSchema,r._`${h}${p}`],[i.default.data,a]);d&&o.push([u.propertyName,d])}(e,t,a),o.object(...a)}(e,t,n)}function l({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function f({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let s=i?t:r.str`${t}/${e}`;return n&&(s=r.str`${s}${(0,o.getErrorPath)(n,o.Type.Str)}`),[u.schemaPath,s]}},76968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(15923),o=n(14282),i=n(92115),s=n(48147),a=n(91571),u=n(4998);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function l(e){const t=d.call(this,e);if(t)return t;const n=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:l}=this.opts,f=new r.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let h;e.$async&&(h=f.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");e.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,u.validateFunctionCode)(m),f.optimize(this.opts.code.optimize);const t=f.toString();g=`${f.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(y){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),y}finally{this._compilations.delete(e)}}function f(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:l.call(this,e)}function d(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function h(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),r=(0,s._getFullPath)(this.opts.uriResolver,n);let o=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const i=(0,s.normalizeId)(r),a=this.refs[i]||this.schemas[i];if("string"==typeof a){const t=p.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||l.call(this,a),i===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,s.resolveUrl)(this.opts.uriResolver,o,r)),new c({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,a)}}t.SchemaEnv=c,t.compileSchema=l,t.resolveRef=function(e,t,n){var r;n=(0,s.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=h.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:s}=this.opts;o&&(i=new c({schema:o,schemaId:s,root:e,baseId:t}))}return void 0!==i?e.refs[n]=f.call(this,i):void 0},t.getCompilingSchema=d,t.resolveSchema=p;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const c of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,a.unescapeFragment)(c)];if(void 0===e)return;const r="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(c)&&r&&(t=(0,s.resolveUrl)(this.opts.uriResolver,t,r))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=p.call(this,r,e)}const{schemaId:u}=this.opts;return i=i||new c({schema:n,schemaId:u,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},92115:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},24186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48147);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},48147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(91571),o=n(69378),i=n(19522),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!u(e):!!t&&c(e)<=t)};const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(e){for(const t in e){if(a.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(u))return!0;if("object"==typeof n&&u(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function l(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return f(e,r)}function f(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=f;const d=/#\/?$/;function h(e){return e?e.replace(d,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,s=h(e[n]||t),a={"":s},u=l(r,s,!1),c={},f=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=u+t;let s=a[o];function l(t){const n=this.opts.uriResolver.resolve;if(t=h(s?n(s,t):t),f.has(t))throw m(t);f.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?d(e,r.schema,t):t!==h(i)&&("#"===t[0]?(d(e,c[t],t),c[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}"string"==typeof e[n]&&(s=l.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),a[t]=s})),c;function d(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},22825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},91571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(15923),o=n(80477);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const i in t)o[i]||p(e,`unknown keyword: "${i}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,s,a,u)=>{const c=void 0===a?s:a instanceof r.Name?(s instanceof r.Name?e(i,s,a):t(i,s,a),a):s instanceof r.Name?(t(i,a,s),s):n(s,a);return u!==r.Name||c instanceof r.Name?c:o(i,c)}}function l(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&f(e,n,t),n}function f(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return u(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=u,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),f(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:l}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=l,t.setEvaluated=f;const d={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:d[t.code]||(d[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=p},34540:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},12175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(76028),o=n(15923),i=n(92115),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),a(e)):n.var(t,!0)}},31411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(22825),o=n(34540),i=n(76028),s=n(15923),a=n(91571);var u;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(u||(t.DataType=u={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,a=function(e,t){return t?e.filter((e=>l.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(c){const o=d(t,r,i.strictNumbers,u.Wrong);n.if(o,(()=>{a.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",s._`typeof ${o}`),u=r.let("coerced",s._`undefined`);"array"===i.coerceTypes&&r.if(s._`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,s._`${o}[0]`).assign(a,s._`typeof ${o}`).if(d(t,o,i.strictNumbers),(()=>r.assign(u,o)))));r.if(s._`${u} !== undefined`);for(const s of n)(l.has(s)||"array"===s&&"array"===i.coerceTypes)&&c(s);function c(e){switch(e){case"string":return void r.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(u,s._`"" + ${o}`).elseIf(s._`${o} === null`).assign(u,s._`""`);case"number":return void r.elseIf(s._`${a} == "boolean" || ${o} === null - || (${a} == "string" && ${o} && ${o} == +${o})`).assign(u,s._`+${o}`);case"integer":return void r.elseIf(s._`${a} === "boolean" || ${o} === null - || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(u,s._`+${o}`);case"boolean":return void r.elseIf(s._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(u,!1).elseIf(s._`${o} === "true" || ${o} === 1`).assign(u,!0);case"null":return r.elseIf(s._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(u,null);case"array":r.elseIf(s._`${a} === "string" || ${a} === "number" - || ${a} === "boolean" || ${o} === null`).assign(u,s._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(s._`${u} !== undefined`,(()=>{r.assign(o,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,r)))}(e,u)}))}(e,t,a):p(e)}))}return c};const l=new Set(["string","number","integer","boolean","null"]);function f(e,t,n,r=u.Correct){const o=r===u.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===u.Correct?i:(0,s.not)(i);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function d(e,t,n,r){if(1===e.length)return f(e[0],t,n,r);let o;const i=(0,a.toHash)(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const a in i)o=(0,s.and)(o,f(a,t,n,r));return o}t.checkDataType=f,t.checkDataTypes=d;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,a.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},14911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(15923),o=n(91571);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:u}=e;if(void 0===n)return;const c=r._`${a}${(0,r.getProperty)(t)}`;if(s)return void(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);let l=r._`${c} === undefined`;"empty"===u.useDefaults&&(l=r._`${l} || ${c} === null || ${c} === ""`),i.if(l,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const o in n)i(e,o,n[o].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(12175),o=n(31411),i=n(34540),s=n(31411),a=n(14911),u=n(47366),c=n(62795),l=n(15923),f=n(92115),d=n(48147),h=n(91571),p=n(76028);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${f.default.data}, ${f.default.valCxt}`,r.$async,(()=>{e.code(l._`"use strict"; ${g(n,o)}`),function(e,t){e.if(f.default.valCxt,(()=>{e.var(f.default.instancePath,l._`${f.default.valCxt}.${f.default.instancePath}`),e.var(f.default.parentData,l._`${f.default.valCxt}.${f.default.parentData}`),e.var(f.default.parentDataProperty,l._`${f.default.valCxt}.${f.default.parentDataProperty}`),e.var(f.default.rootData,l._`${f.default.valCxt}.${f.default.rootData}`),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`${f.default.valCxt}.${f.default.dynamicAnchors}`)}),(()=>{e.var(f.default.instancePath,l._`""`),e.var(f.default.parentData,l._`undefined`),e.var(f.default.parentDataProperty,l._`undefined`),e.var(f.default.rootData,f.default.data),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`{}`)}))}(e,o),e.code(i)})):e.func(t,l._`${f.default.data}, ${function(e){return l._`{${f.default.instancePath}="", ${f.default.parentData}, ${f.default.parentDataProperty}, ${f.default.rootData}=${f.default.data}${e.dynamicRef?l._`, ${f.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(i)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function y(e,t){b(e)&&(_(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&E(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",f.default.errors);w(e,i),r.var(t,l._`${i} === ${f.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function _(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return k(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);k(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function E({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${f.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${f.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function k(e,t,n,r){const{gen:o,schema:a,data:u,allErrors:c,opts:d,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(a,h)&&(h.type?(o.if((0,s.checkDataType)(h.type,u,d.strictNumbers)),x(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,s.reportTypeError)(e)),o.endIf()):x(e,h),c||o.if(l._`${f.default.errors} === ${r||0}`))}!a.$ref||!d.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(a,m)?(d.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{S(e.dataTypes,t)||C(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)S(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&C(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>D(t,e)))&&C(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>O(e,"$ref",m.all.$ref.definition)))}function x(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&O(e,n.keyword,n.definition,t.type)}))}function D(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function C(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(_(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&E(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(f.default.vErrors,null),r.let(f.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,(()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`))),t.if(l._`${e.evaluated}.dynamicItems`,(()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${f.default.errors} === 0`,(()=>t.return(f.default.data)),(()=>t.throw(l._`new ${o}(${f.default.vErrors})`))):(t.assign(l._`${r}.errors`,f.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n);r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${f.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class ${constructor(e,t,n){if((0,u.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",j(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",f.default.errors))}result(e,t,n){this.failResult((0,l.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,l.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,l.or)(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,l.or)(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${(0,s.checkDataTypes)(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,l.Name))),!0}}function O(e,t,n,r){const o=new $(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,u.funcKeywordCode)(o,n):"macro"in n?(0,u.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,u.funcKeywordCode)(o,n)}t.KeywordCxt=$;const A=/^\/(?:[^~]|~0|~1)*$/,P=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function j(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return f.default.rootData;if("/"===e[0]){if(!A.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=f.default.rootData}else{const s=P.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(u("property/index",a));return r[t-a]}if(a>t)throw new Error(u("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const c of a)c&&(i=l._`${i}${(0,l.getProperty)((0,h.unescapeJsonPointer)(c))}`,s=l._`${s} && ${i}`);return s;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=j},47366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(15923),o=n(92115),i=n(7861),s=n(76028);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function u(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,c=t.macro.call(a.self,i,s,a),l=u(n,o,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const f=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:l,schema:f,parentSchema:d,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,f,d,p):t.validate,g=u(c,l,m),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const s=p.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!h||!1===t.schema);c.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,s,a)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&a(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${g}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&a(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},62795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(15923),o=n(91571);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:u}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:u,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:u}=t;l(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${s}${(0,o.getErrorPath)(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==s){l(s instanceof r.Name?s:c.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},49241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(14282),s=n(24186),a=n(22825),u=n(76968),c=n(15923),l=n(48147),f=n(31411),d=n(91571),h=n(338),p=n(32726),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function _(e){var t,n,r,o,i,s,a,u,c,l,f,d,h,g,y,v,b,_,w,E,k,x,D,S,C;const $=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,A=!0===O||void 0===O?1:O||0,P=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,j=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(s=null!==(i=e.strictSchema)&&void 0!==i?i:$)||void 0===s||s,strictNumbers:null===(u=null!==(a=e.strictNumbers)&&void 0!==a?a:$)||void 0===u||u,strictTypes:null!==(l=null!==(c=e.strictTypes)&&void 0!==c?c:$)&&void 0!==l?l:"log",strictTuples:null!==(d=null!==(f=e.strictTuples)&&void 0!==f?f:$)&&void 0!==d?d:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:$)&&void 0!==g&&g,code:e.code?{...e.code,optimize:A,regExp:P}:{optimize:A,regExp:P},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(E=e.schemaId)&&void 0!==E?E:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(x=e.validateSchema)||void 0===x||x,validateFormats:null===(D=e.validateFormats)||void 0===D||D,unicodeRegExp:null===(S=e.unicodeRegExp)||void 0===S||S,int32range:null===(C=e.int32range)||void 0===C||C,uriResolver:j}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,..._(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return $;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),E.call(this,v,e,"NOT SUPPORTED"),E.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&S.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),x.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await u.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new u.SchemaEnv({schema:{},schemaId:n});if(t=u.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(A.call(this,n,t),!t)return(0,d.eachItem)(n,(e=>P.call(this,e))),this;F.call(this,t);const r={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,d.eachItem)(n,0===r.type.length?e=>P.call(this,e,r):e=>r.type.forEach((t=>P.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=N(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,l.normalizeId)(i||n);const c=l.getSchemaRefs.call(this,e,n);return a=new u.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:c}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):u.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,e)}finally{this.opts=t}}}function E(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function k(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function x(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function S(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function C(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=s.default,t.default=w;const $={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function A(e,t){const{RULES:n}=this;if((0,d.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function P(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?j.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function j(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function F(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=N(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function N(e){return{anyOf:[e,I]}}},99412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(47322),o=n(70764),i=n(5124),s=n(96666),a=n(43182),u=n(71637),c=n(27889),l=n(83575),f=["/properties"];t.default=function(e){return[r,o,i,s,a,t(this,u),c,t(this,l)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,f):n}}},10487:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69378);r.code='require("ajv/dist/runtime/equal").default',t.default=r},77079:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},32726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(12854);r.code='require("ajv/dist/runtime/uri").default',t.default=r},14282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},78789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(15923),o=n(91571),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:u}=e;u.items=!0;const c=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(u,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),u.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},12964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(92115),s=n(91571),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:u,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=l;if(l.props=!0,"all"!==d.removeAdditional&&(0,s.alwaysValidSchema)(l,n))return;const h=(0,r.allSchemaProperties)(a.properties),p=(0,r.allSchemaProperties)(a.patternProperties);function m(e){t.code(o._`delete ${u}[${e}]`)}function g(r){if("all"===d.removeAdditional||d.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(f||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(l,n)){const n=t.name("valid");"failing"===d.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(y(r,n),f||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",u,(n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,s.schemaRefOrVal)(l,a.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map((e=>o._`${n} === ${e}`))):o.nil;return p.length&&(i=(0,o.or)(i,...p.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>g(n))):g(n)})),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=a},9076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)}))}};t.default=o},17361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(7861).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},25483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let u,c;const{minContains:l,maxContains:f}=i;a.opts.next?(u=void 0===l?1:l,c=f):u=1;const d=t.const("len",r._`${s}.length`);if(e.setParams({min:u,max:c}),void 0===c&&0===u)return void(0,o.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&u>c)return(0,o.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(a,n)){let t=r._`${d} >= ${u}`;return void 0!==c&&(t=r._`${t} && ${d} <= ${c}`),void e.pass(t)}a.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(h,!1).break())),1===u?t.assign(h,!0):t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0))))}(n)))))}function m(n,r){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===u?m(h,(()=>t.if(h,(()=>t.break())))):0===u?(t.let(h,!0),void 0!==c&&t.if(r._`${s}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,(()=>e.reset()))}};t.default=i},61958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(15923),o=n(91571),i=n(7861);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e}, - missingProperty: ${o}, - depsCount: ${t}, - deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);a(e,t),u(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const u in t){const c=t[u];if(0===c.length)continue;const l=(0,i.propertyInData)(n,o,u,s.opts.ownProperties);e.setParams({property:u,depsCount:c.length,deps:c.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of c)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,c,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function u(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,u=n.name("valid");for(const c in t)(0,o.alwaysValidSchema)(a,t[c])||(n.if((0,i.propertyInData)(n,r,c,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:c},u);e.mergeValidEvaluated(t,u)}),(()=>n.var(u,!0))),e.ok(u))}t.validatePropertyDeps=a,t.validateSchemaDeps=u,t.default=s},94341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,r.validateSchemaDeps)(e)};t.default=o},18686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),u=s(i,"else");if(!a&&!u)return;const c=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&u){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,f("then",n),f("else",n))}else a?t.if(l,f("then")):t.if((0,r.not)(l),f("else"));function f(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(c,l),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},74741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(78789),o=n(65068),i=n(9256),s=n(14882),a=n(25483),u=n(61958),c=n(88806),l=n(12964),f=n(97558),d=n(52914),h=n(69546),p=n(17361),m=n(74872),g=n(9076),y=n(18686),v=n(15269);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,v.default,c.default,l.default,u.default,f.default,d.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},9256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(15923),o=n(91571),i=n(7861),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:u,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${u}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(c,e,r.strictTuples)}}(s),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const l=i.name("valid"),f=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(c,t)||(i.if(r._`${f} > ${n}`,(()=>e.subschema({keyword:u,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},14882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(7861),s=n(78789),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},69546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},74872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,u=t.let("valid",!1),c=t.let("passing",null),l=t.name("_valid");e.setParams({passing:c}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${u}`).assign(u,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(l,(()=>{t.assign(u,!0),t.assign(c,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(u,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},52914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s=n(91571),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:u,it:c}=e,{opts:l}=c,f=(0,r.allSchemaProperties)(n),d=f.filter((e=>(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length||d.length===f.length&&(!c.opts.unevaluated||!0===c.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&u.properties,p=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=(0,s.evaluatedPropsToName)(t,c.props));const{props:m}=c;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=d.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},p),c.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||c.allErrors||t.if((0,o.not)(p),(()=>t.break()))}))}))}!function(){for(const e of f)h&&g(e),c.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=a},65068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9256),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},97558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4998),o=n(7861),i=n(91571),s=n(12964),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:u,it:c}=e;"all"===c.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(c,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const r of l)c.definedProperties.add(r);c.opts.unevaluated&&l.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),c.props));const f=l.filter((e=>!(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length)return;const d=t.name("valid");for(const r of f)h(r)?p(r):(t.if((0,o.propertyInData)(t,u,r,c.opts.ownProperties)),p(r),c.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(d);function h(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t.default=a},88806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},15269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(15923),o=n(91571),i=n(92115),s=n(91571);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function u(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function c(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(u(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(c(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(c(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=u,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${u(e,t,n)}`:i},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:u},c,l,f){const d=f?r._`${e}, ${t}, ${o}${s}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,u.parentData],[i.default.parentDataProperty,u.parentDataProperty],[i.default.rootData,i.default.rootData]];u.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${d}, ${n.object(...h)}`;return l!==r.nil?r._`${c}.call(${l}, ${p})`:r._`${c}(${p})`};const f=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?f:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return u((()=>t.assign(e,!1))),e}return t.var(a,!0),u((()=>t.break())),a;function u(s){const u=t.const("len",r._`${n}.length`);t.forRange("i",0,u,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),u=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},u);t.assign(a,r._`${a} || ${u}`);e.mergeValidEvaluated(s,u)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},95923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},35479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(95923),o=n(61905),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},61905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(24186),o=n(7861),i=n(15923),s=n(92115),a=n(76968),u=n(91571),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:u,validateName:c,opts:d,self:h}=o,{root:p}=u;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(u===p)return f(e,c,u,u.$async);const n=t.scopeValue("root",{ref:p});return f(e,i._`${n}.validate`,p,p.$async)}();const m=a.resolveRef.call(h,p,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);f(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===d.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function f(e,t,n,r){const{gen:a,it:c}=e,{allErrors:l,schemaEnv:f,opts:d}=c,h=d.passContext?s.default.this:i.nil;function p(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=u.mergeEvaluated.props(a,r.props,c.props));else{const t=a.var("props",i._`${e}.evaluated.props`);c.props=u.mergeEvaluated.props(a,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=u.mergeEvaluated.items(a,r.items,c.items));else{const t=a.var("items",i._`${e}.evaluated.items`);c.items=u.mergeEvaluated.items(a,t,c.items,i.Name)}}r?function(){if(!f.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${c.ValidationError})`,(()=>a.throw(e))),p(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),(()=>m(t)),(()=>p(t)))}t.getValidate=l,t.callRef=f,t.default=c},86825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91072),i=n(76968),s=n(91571),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:a,parentSchema:u,it:c}=e,{oneOf:l}=u;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function p(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let u=0;u<l.length;u++){let t=l[u];(null==t?void 0:t.$ref)&&!(0,s.schemaHasRulesButRef)(t,c.self.RULES)&&(t=i.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,null==t?void 0:t.$ref),t instanceof i.SchemaEnv&&(t=t.schema));const d=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(t)),a(d,u)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function a(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,p(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=a},91072:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},19282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(35479),o=n(31226),i=n(74741),s=n(82175),a=n(72628),u=n(22163),c=n(50051),l=n(17148),f=[s.default,r.default,o.default,(0,i.default)(!0),c.default,l.metadataVocabulary,l.contentVocabulary,a.default,u.default];t.default=f},34960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicAnchor=void 0;const r=n(15923),o=n(92115),i=n(76968),s=n(61905),a={keyword:"$dynamicAnchor",schemaType:"string",code:e=>u(e,e.schema)};function u(e,t){const{gen:n,it:a}=e;a.schemaEnv.root.dynamicAnchors[t]=!0;const u=r._`${o.default.dynamicAnchors}${(0,r.getProperty)(t)}`,c="#"===a.errSchemaPath?a.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:a,localRefs:u,meta:c}=t.root,{schemaId:l}=r.opts,f=new i.SchemaEnv({schema:n,schemaId:l,root:o,baseId:a,localRefs:u,meta:c});return i.compileSchema.call(r,f),(0,s.getValidate)(e,f)}(e);n.if(r._`!${u}`,(()=>n.assign(u,c)))}t.dynamicAnchor=u,t.default=a},5139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicRef=void 0;const r=n(15923),o=n(92115),i=n(61905),s={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)};function a(e,t){const{gen:n,keyword:s,it:a}=e;if("#"!==t[0])throw new Error(`"${s}" only supports hash fragment reference`);const u=t.slice(1);if(a.allErrors)c();else{const t=n.let("valid",!1);c(t),e.ok(t)}function c(e){if(a.schemaEnv.root.dynamicAnchors[u]){const t=n.let("_v",r._`${o.default.dynamicAnchors}${(0,r.getProperty)(u)}`);n.if(t,l(t,e),l(a.validateName,e))}else l(a.validateName,e)()}function l(t,r){return r?()=>n.block((()=>{(0,i.callRef)(e,t),n.let(r,!0)})):()=>(0,i.callRef)(e,t)}}t.dynamicRef=a,t.default=s},82175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(5139),i=n(77374),s=n(29873),a=[r.default,o.default,i.default,s.default];t.default=a},77374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(91571),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,r.dynamicAnchor)(e,""):(0,o.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t.default=i},29873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5139),o={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,r.dynamicRef)(e,e.schema)};t.default=o},41656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:u}=e,{opts:c,errSchemaPath:l,schemaEnv:f,self:d}=u;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:d.formats,code:c.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),u=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(u,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(u,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=f.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${u} === ${t} && !${n}`}()))}():function(){const i=d.formats[s];if(!i)return void function(){if(!1===c.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}}();if(!0===i)return;const[a,u,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!f.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof u?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},50051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(41656).default];t.default=r},17148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},72628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(22913),o=n(94341),i=n(83014),s=[r.default,o.default,i.default];t.default=s},22163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(96953),o=n(21540),i=[r.default,o.default];t.default=i},21540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e,a=s.items||0;if(!0===a)return;const u=t.const("len",r._`${i}.length`);if(!1===n)e.setParams({len:a}),e.fail(r._`${u} > ${a}`);else if("object"==typeof n&&!(0,o.alwaysValidSchema)(s,n)){const n=t.var("valid",r._`${u} <= ${a}`);t.if((0,r.not)(n),(()=>function(n,i){t.forRange("i",i,u,(i=>{e.subschema({keyword:"unevaluatedItems",dataProp:i,dataPropType:o.Type.Num},n),s.allErrors||t.if((0,r.not)(n),(()=>t.break()))}))}(n,a))),e.ok(n)}s.items=!0}};t.default=i},96953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(92115),s={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>r._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:s,errsCount:a,it:u}=e;if(!a)throw new Error("ajv implementation error");const{allErrors:c,props:l}=u;function f(i){if(!1===n)return e.setParams({unevaluatedProperty:i}),e.error(),void(c||t.break());if(!(0,o.alwaysValidSchema)(u,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:i,dataPropType:o.Type.Str},n),c||t.if((0,r.not)(n),(()=>t.break()))}}l instanceof r.Name?t.if(r._`${l} !== true`,(()=>t.forIn("key",s,(e=>t.if(function(e,t){return r._`!${e} || !${e}[${t}]`}(l,e),(()=>f(e))))))):!0!==l&&t.forIn("key",s,(e=>void 0===l?f(e):t.if(function(e,t){const n=[];for(const o in e)!0===e[o]&&n.push(r._`${t} !== ${o}`);return(0,r.and)(...n)}(l,e),(()=>f(e))))),u.props=!0,e.ok(r._`${a} === ${i.default.errors}`)}};t.default=s},11498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:u}=e;s||u&&"object"==typeof u?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${u} !== ${n}`)}};t.default=s},22913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentRequired",type:"object",schemaType:"object",error:r.error,code:e=>(0,r.validatePropertyDeps)(e)};t.default=o},70269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:u,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=c.opts.loopEnum;let f;const d=()=>null!=f?f:f=(0,o.useFunc)(t,i.default);let h;if(l||s)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",u,(e=>t.if(r._`${d()}(${n}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",u);h=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${d()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(h)}};t.default=s},31226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(94885),o=n(32066),i=n(97997),s=n(52787),a=n(12674),u=n(35390),c=n(20262),l=n(86534),f=n(11498),d=n(70269),h=[r.default,o.default,i.default,s.default,a.default,u.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},f.default,d.default];t.default=h},83014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,r.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};t.default=o},20262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},97997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(77079),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,u="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${u} ${s}`)}};t.default=s},94885:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},12674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},32066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),u=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${u}))`)}};t.default=o},52787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:s,it:a}=e,u=a.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${s}, ${u}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},35390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:u,it:c}=e,{opts:l}=c;if(!u&&0===n.length)return;const f=n.length>=l.loopRequired;if(c.allErrors?function(){if(f||u)e.block$data(o.nil,d);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(f||u){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(c,t,c.opts.strictRequired)}}function d(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},86534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31411),o=n(15923),i=n(91571),s=n(10487),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:u,parentSchema:c,schemaCode:l,it:f}=e;if(!a&&!u)return;const d=t.let("valid"),h=c.items?(0,r.getSchemaTypes)(c.items):[];function p(i,s){const a=t.name("item"),u=(0,r.checkDataTypes)(h,a,f.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(u,o._`continue`),h.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${c}[${a}] == "number"`,(()=>{t.assign(s,o._`${c}[${a}]`),e.error(),t.assign(d,!1).break()})).code(o._`${c}[${a}] = ${i}`)}))}function m(r,a){const u=(0,i.useFunc)(t,s.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${u}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(d,!1).break(c)}))))))}e.block$data(d,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(d,!0),t.if(o._`${r} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?p:m)(r,i)))}),o._`${l} === false`),e.ok(d)}};t.default=a},5750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>B});var r=n(2784),o=n(89741),i=n(40489),s=n(60361),a=n(97683);function u(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,s.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var c=n(90211),l=n(84501),f=n.n(l);const d=/title=(?<quote>["'])(?<title>.*?)\1/,h=/\{(?<range>[\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function y(e,t){const n=e.map((e=>{const{start:n,end:r}=m[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:o,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,r=f()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return y(["js","jsBlock"],t);case"jsx":case"tsx":return y(["js","jsBlock","jsx"],t);case"html":return y(["js","jsBlock","html"],t);case"python":case"py":case"bash":return y(["bash"],t);case"markdown":case"md":return y(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return y(["tex"],t);case"lua":case"haskell":case"sql":return y(["lua"],t);case"wasm":return y(["wasm"],t);case"vb":case"vba":case"visual-basic":return y(["vb","rem"],t);case"vbnet":return y(["vbnet","rem"],t);case"batch":return y(["rem"],t);case"basic":return y(["rem","f90"],t);case"fsharp":return y(["js","ml"],t);case"ocaml":case"sml":return y(["ml"],t);case"fortran":return y(["f90"],t);case"cobol":return y(["cobol"],t);default:return y(g,t)}}(r,o),a=n.split("\n"),u=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),l=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let f=0;f<a.length;){const e=a[f].match(s);if(!e){f+=1;continue}const t=e.slice(1).find((e=>void 0!==e));c[t]?u[c[t]].range+=`${f},`:l[t]?u[l[t]].start=f:d[t]&&(u[d[t]].range+=`${u[d[t]].start}-${f-1},`),a.splice(f,1)}n=a.join("\n");const p={};return Object.entries(u).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(52322);function w(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,o]=e;const i=t[r];i&&"string"==typeof o&&(n[i]=o)})),n}(u());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,c.k.common.codeBlock)})}const E={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function k(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:E.codeBlockLines,children:t})})}var x=n(6335);const D={attributes:!0,characterData:!0,childList:!0,subtree:!0};function S(e,t){const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,r.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=D);const o=(0,x.zX)(t),i=(0,x.Ql)(n);(0,r.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,i),()=>t.disconnect()}),[e,o,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var C=n(16935);const $={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function O(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,i.Z)(n,r&&$.codeLine)}),u=t.map(((e,t)=>(0,_.jsx)("span",{...s({token:e})},t)));return(0,_.jsxs)("span",{...a,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:$.codeLineNumber}),(0,_.jsx)("span",{className:$.codeLineContent,children:u})]}):u,(0,_.jsx)("br",{})]})}var A=n(1077);function P(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function j(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const F={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function I(e){let{code:t,className:n}=e;const[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),u=(0,r.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection(),s=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),o&&o.focus()}(t),s(!0),a.current=window.setTimeout((()=>{s(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,A.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,A.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,A.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,F.copyButton,o&&F.copyButtonCopied),onClick:u,children:(0,_.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(P,{className:F.copyButtonIcon}),(0,_.jsx)(j,{className:F.copyButtonSuccessIcon})]})})}function N(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const T={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function M(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,A.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,_.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&T.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(N,{className:T.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:s,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:f,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(l??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=u(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,r.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)}),[i]);return S(i,a),(0,r.useEffect)((()=>{a()}),[e,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:s}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||s,{lineClassNames:b,code:k}=v(t,{metastring:o,language:p,magicComments:h}),x=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[y&&(0,_.jsx)("div",{className:E.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:E.codeBlockContent,children:[(0,_.jsx)(C.y$,{theme:m,code:k,language:p??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:s}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)(O,{line:e,getLineProps:o,getTokenProps:s,classNames:b[t],showLineNumbers:x},t)))})})}}),(0,_.jsxs)("div",{className:E.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(M,{className:E.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(I,{className:E.codeButton,code:k})]})]})]})}function B(e){let{children:t,...n}=e;const i=(0,o.Z)(),s=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof s?R:k;return(0,_.jsx)(a,{...n,children:s},String(i))}},98480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(2784),o=n(40489),i=n(42530),s=n(89741),a=n(28698);const u={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var c=n(52322);function l(e){return!!e&&("SUMMARY"===e.tagName||l(e.parentElement))}function f(e,t){return!!e&&(e===t||f(e.parentElement,t))}function d(e){let{summary:t,children:n,...d}=e;(0,i.Z)().collectAnchor(d.id);const h=(0,s.Z)(),p=(0,r.useRef)(null),{collapsed:m,setCollapsed:g}=(0,a.u)({initialState:!d.open}),[y,v]=(0,r.useState)(d.open),b=r.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...d,ref:p,open:y,"data-collapsed":m,className:(0,o.Z)(u.details,h&&u.isBrowser,d.className),onMouseDown:e=>{l(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;l(t)&&f(t,p.current)&&(e.preventDefault(),m?(g(!1),v(!0)):g(!0))},children:[b,(0,c.jsx)(a.z,{lazy:!1,collapsed:m,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{g(e),v(!e)},children:(0,c.jsx)("div",{className:u.collapsibleContent,children:n})})]})}const h={details:"details_SZgV"},p="alert alert--info";function m(e){let{...t}=e;return(0,c.jsx)(d,{...t,className:(0,o.Z)(p,h.details,t.className)})}},82009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});n(2784);var r=n(40489);const o={tabItem:"tabItem_OMyP"};var i=n(52322);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,s),hidden:n,children:t})}},77336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(2784),o=n(40489),i=n(24126),s=n(7267),a=n(70164),u=n(32424),c=n(42244),l=n(37611);function f(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:o}}=e;return{value:t,label:n,attributes:r,default:o}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const o=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,u._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(o.location.search);t.set(i,e),o.replace({...o.location,search:t.toString()})}),[i,o])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:o}=e,i=d(e),[s,u]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[c,f]=p({queryString:n,groupId:o}),[m,g]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,i]=(0,l.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=c??m;return h({value:e,tabValues:i})?e:null})();(0,a.Z)((()=>{y&&u(y)}),[y]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);u(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(89741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(52322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:a}=e;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.o5)(),l=e=>{const t=e.currentTarget,n=u.indexOf(t),o=a[n].value;o!==r&&(c(t),s(o))},f=e=>{let t=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>u.push(e),onKeyDown:f,onClick:l,...i,className:(0,o.Z)("tabs__item",y.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function _(e){let{lazy:t,children:n,selectedValue:o}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===o));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function w(e){const t=m(e);return(0,v.jsxs)("div",{className:(0,o.Z)("tabs-container",y.tabList),children:[(0,v.jsx)(b,{...t,...e}),(0,v.jsx)(_,{...t,...e})]})}function E(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},14963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.FalseLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))}},48800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966),a=n(94598),u=n(77740),c=n(54884);t.default=function(e){let{schema:t}=e;const n=(0,a.useJSVOptionsContext)(),r="boolean"!=typeof t,l=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.TrueLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),r&&o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(u.QualifierMessages,{schema:t,options:n})),void 0!==l&&o.default.createElement(c.CreateDescription,{description:l}))}},38753:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},96187:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598);t.default=function(e){const{description:t}=e,{DescriptionComponent:n}=(0,i.useJSVOptionsContext)();return o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},n?o.default.createElement(n,{description:t}):t)}},15093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},18938:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n}=e,r=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NullLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},1996:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},76559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)(),l=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.StringLabel,{format:l}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},95566:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598),s=n(85685);t.default=function(e){const{value:t,schema:n}=e,{ValueComponent:r}=(0,i.useJSVOptionsContext)();return r?o.default.createElement(r,{value:t,schema:n}):(0,s.printSchemaType)(t)}},85901:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(51074);t.default=function(e){const{schema:t}=e;let n=t.dependencies,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return Array.isArray(r)?e.dependentRequired[n]=r:e.dependentSchemas[n]=r,e}),{dependentRequired:{},dependentSchemas:{}});return o.default.createElement(o.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&o.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&o.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))}},31892:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentRequired,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:n}}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},79131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentSchemas,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:n}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},54742:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let l=[{value:"schema_if",label:o.default.createElement(c.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(c.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(c.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(s.default,{defaultValue:"schema_if",values:l},l.map((e=>o.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(a.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(a.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(a.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},51074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var o=n(54742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(31892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var s=n(79131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(s).default}});var a=n(85901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(a).default}});var u=n(94845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(u).default}})},53303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}t.default=function(e){const{schema:t}=e;let n=t.additionalItems;if(void 0===n||"boolean"==typeof n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.items)?t.items.length:1;return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(s.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(u,{count:r}),schema:n,required:void 0!==t.minItems&&r>=t.minItems-1})))}},3606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e;let n=t.contains;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(s.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},55242:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(30559)),s=r(n(3606)),a=r(n(77610)),u=r(n(53303)),c=r(n(96912)),l=n(77740),f=n(94598),d=n(9966),h=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,p=(0,f.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.TypeLabel,null),"\xa0:\xa0",o.default.createElement(d.ArrayLabel,null),o.default.createElement(a.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(l.QualifierMessages,{schema:t,options:p,nullable:n})),void 0!==r&&o.default.createElement(h.CreateDescription,{description:r}))}},30559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{index:t,isArray:n}=e,r=n?t:"x";return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r}},"items[{index}]"))}t.default=function(e){const{schema:t}=e;let n=t.items;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(n),c=Array.isArray(n)?n:[n],l=c.length;return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(s.CreateEdge,{name:o.default.createElement(u,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=l})))))}},77610:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}t.default=function(e){const{schema:t}=e;let n=t.prefixItems;if(void 0===n)return o.default.createElement(o.default.Fragment,null);let r=Array.isArray(n),i=Array.isArray(n)?n.length:1,c=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(s.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(u,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},96912:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedItems;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(s.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(u,null),schema:n,required:!1})))}},39820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var o=n(55242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},54884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var o=n(14043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(51074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var s=n(52313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return s.CreateObject}});var a=n(39820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return a.CreateArray}});var u=n(76559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(u).default}});var c=n(38753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(c).default}});var l=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(l).default}});var f=n(15093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(18938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var h=n(48800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(h).default}});var p=n(14963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(p).default}});var m=n(96187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(95566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},34446:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.additionalProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(s.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},18315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(34446)),s=r(n(48439)),a=r(n(92190)),u=r(n(32457)),c=r(n(24595)),l=r(n(1431)),f=n(77740),d=n(94598),h=n(9966),p=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,m=(0,d.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(h.TypeLabel,null),"\xa0:\xa0",o.default.createElement(h.ObjectLabel,null),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},92190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.patternProperties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[t,n]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,a.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},48439:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.properties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[n,r]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(n)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,n),schema:r,required:!!Array.isArray(t.required)&&t.required.includes(n)}))})))}},32457:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.propertyNames;if(void 0===n||"boolean"==typeof n||void 0===n.pattern)return o.default.createElement(o.default.Fragment,null);let r=n.pattern,a={...n};return delete a.pattern,o.default.createElement("ul",null,o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:a,required:!1})))}},1431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(s.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},24595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),u=n.filter((e=>!r.includes(e)));return 0===u.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,u.map(((e,t)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},52313:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var o=n(18315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},65296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.allOf,r="allOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},74517:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.anyOf,r="anyOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},14043:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var o=n(70213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(74517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var s=n(49549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(s).default}});var a=n(83291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(a).default}});var u=n(17228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(u).default}})},83291:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.not;return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--danger"},"not"),o.default.createElement("br",null),o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},49549:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.oneOf,r="oneOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},17228:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,void 0!==t.oneOf&&o.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&o.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&o.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&o.default.createElement(i.NotSchema,{schema:t}))}},83327:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(98480));t.default=function(e){const{summary:t,children:n,detailsProps:r}=e;return o.default.createElement(i.default,{summary:o.default.createElement("summary",null,t),...r},n)}},50279:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204);t.default=function(e){let{name:t,schema:n,required:r}=e;return o.default.createElement(i.SchemaItem,{name:t,schema:n,required:r})}},42360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(54884),a=n(2204),u=n(77740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.CreateValidOrInvalid,{schema:t});const n=(0,u.isSchemaComposition)(t),r=(0,u.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(s.SchemaComposition,{schema:t}),r&&o.default.createElement(s.SchemaConditional,{schema:t}))}},8563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(77740);function c(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(a.RenderProvidedType,{schema:t,type:n,nullable:r})}function l(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(s.default,{defaultValue:n[0].value,values:n,key:"multiple_types"},n.map((e=>o.default.createElement(i.default,{key:e.value,value:e.value},o.default.createElement(a.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,u.detectedTypes)(t),r=n.includes("null");if(1===n.length||r&&2===n.length){const e=n.find((e=>"null"!==e))||n[0];return o.default.createElement(c,{schema:t,type:e,nullable:r})}if(n.length>1){const e=n.filter((e=>"null"!==e)).map((e=>({value:e,label:o.default.createElement(a.TypeLabelSwitch,{type:e})})));return o.default.createElement(l,{schema:t,types:e,nullable:r})}return(0,u.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(a.CreateValidOrInvalid,{schema:t})}},67189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&o.default.createElement(i.CreateAlwaysInvalid,null))}},99798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const s={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...s});case"object":return o.default.createElement(i.CreateObject,{schema:t,...s});case"string":return o.default.createElement(i.CreateString,{schema:t,...s});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...s});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...s});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...s});default:return o.default.createElement(i.CreateNull,{schema:t,...s})}}},25321:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(9966),u=n(77740),c=r(n(86448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:l,level:f}=(0,s.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,g="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),y=!h&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(u.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(a.RequiredLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(a.DeprecatedLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(a.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(a.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(a.ConstantLabel,null));return o.default.createElement("li",{className:c.default.schemaItem,id:l,"data-level":f},o.default.createElement(i.Collapsible,{summary:v,detailsProps:{open:!1}},o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateNodes,{schema:t}))))}},40080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(9966);t.default=function(e){const{type:t,...n}=e;switch(t){case"string":return o.default.createElement(i.StringLabel,{...n});case"number":return o.default.createElement(i.NumberLabel,{...n});case"boolean":return o.default.createElement(i.BooleanLabel,{...n});case"object":return o.default.createElement(i.ObjectLabel,{...n});case"array":return o.default.createElement(i.ArrayLabel,{...n});case"integer":return o.default.createElement(i.IntegerLabel,{...n});case"null":return o.default.createElement(i.NullLabel,{...n});case!0:return o.default.createElement(i.TrueLabel,{...n});case!1:return o.default.createElement(i.FalseLabel,{...n});default:return o.default.createElement("span",{style:{opacity:"0.6"}},t)}}},2204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var o=n(83327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(14130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var s=n(50279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(s).default}});var a=n(67189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(a).default}});var u=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(u).default}});var c=n(40080);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(c).default}});var l=n(99798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(l).default}});var f=n(25321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},94598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60168),t),o(n(50121),t)},60168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const r=n(2784);t.JSVOptionsContext=(0,r.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,r.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},50121:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyComponent=t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0;const s=i(n(2784));t.SchemaHierarchyContext=(0,s.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,s.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:n,children:r}=e;const{jsonPointer:o,level:i}=(0,t.useSchemaHierarchyContext)();return s.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},70056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(2784)),a=n(20028),u=n(2204),c=n(94598),l=n(9966);function f(e){const{error:t}=e;return s.default.createElement("div",null,s.default.createElement(l.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:n}=e,r="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",o={fullSchema:t,...n};return s.default.createElement(c.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},s.default.createElement(c.JSVOptionsContextProvider,{value:o},s.default.createElement(u.Collapsible,{summary:s.default.createElement("strong",null,r),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},s.default.createElement(u.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,s.useState)(void 0),[u,c]=(0,s.useState)(void 0);return(0,s.useEffect)((()=>{(new a.Resolver).resolve(t,n).then((e=>{c(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?s.default.createElement(f,{error:o}):void 0===u?s.default.createElement(l.LoadingLabel,null):s.default.createElement(d,{schema:u,viewerOptions:r,className:e.className})}},34929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)}},23492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))}},29277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))}},59164:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(89754));t.default=function(){return o.default.createElement("strong",{className:s.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},55548:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:s.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},66113:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))}},43297:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{error:t}=e;return o.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")}},94315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))}},61380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))}},15973:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))}},3207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("div",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))}},83204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))}},6760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))}},17487:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))}},93594:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))}},27532:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)}},23373:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65950));t.default=function(){return o.default.createElement("strong",{className:s.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},35405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(43654));t.default=function(){return o.default.createElement("strong",{className:s.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},74591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){let{format:t}=e;return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&o.default.createElement(o.default.Fragment,null,"\xa0",`(${t})`))}},77502:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))}},83978:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))}},74731:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))}},82093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65128));t.default=function(){return o.default.createElement("strong",{className:s.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},25006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)}},9966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var o=n(93594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(23492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var s=n(74731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(s).default}});var a=n(61380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(a).default}});var u=n(77502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(66113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(c).default}});var l=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(l).default}});var f=n(43297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(35405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var h=n(55548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(h).default}});var p=n(23373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(p).default}});var m=n(82093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(83978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(94315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(74591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(29277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(17487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(15973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var E=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(E).default}});var k=n(34929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(27532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(x).default}});var D=n(83204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(D).default}});var S=n(25006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var C=n(59164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(C).default}})},93325:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}t.default=function(e){const{schema:t}=e;let n=t,r=void 0!==n.minContains&&void 0!==n.maxContains;const c=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return o.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==n.minContains?"minContains":"maxContains"},c,"\xa0",void 0!==n.minContains&&o.default.createElement(a,{value:n.minContains}),r&&o.default.createElement(s.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(u,{value:n.maxContains}))}},40877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minItems&&void 0!==t.maxItems;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return o.default.createElement("div",{key:n?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},r,"\xa0",void 0!==t.minItems&&o.default.createElement(a,{value:t.minItems}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(u,{value:t.maxItems}))}},92065:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return o.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)}},69705:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return o.default.createElement("div",{key:"const"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.const,schema:t}))}},47131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return o.default.createElement("div",{key:"contentEncoding"},n,"\xa0",(0,s.printSchemaType)(t.contentEncoding))}},76884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return o.default.createElement("div",{key:"contentMediaType"},n,"\xa0",(0,s.printSchemaType)(t.contentMediaType))}},85734:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return o.default.createElement("div",{key:"contentSchema"},n,"\xa0",o.default.createElement(s.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(s.CreateNodes,{schema:t.contentSchema}))))}},69617:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return o.default.createElement("div",{key:"default"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.default,schema:t}))}},99272:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return o.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)}},78661:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return o.default.createElement("div",{key:"enum"},n,"\xa0",o.default.createElement("ul",null,t.enum.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s.CreateValue,{value:e,schema:t}))))))}},21499:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(82009)),a=r(n(77336)),u=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let r=t.examples.map(((e,t)=>({id:t,value:e,label:o.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return o.default.createElement("div",{key:"examples"},n,"\xa0",o.default.createElement(a.default,null,r.map((e=>o.default.createElement(s.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(u.CreateValue,{value:e.value,schema:t}))))))}},34785:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return o.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)}},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return o.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)}},7004:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return o.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)}},81165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function u(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}t.default=function(e){const{schema:t}=e;let n=t.exclusiveMinimum||t.minimum,r=void 0!==t.exclusiveMinimum,c=t.exclusiveMaximum||t.maximum,l=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==c,d=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return o.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==n&&o.default.createElement("code",null,o.default.createElement(a,{exclusive:r,value:n})),f&&o.default.createElement(s.AndLabel,null),void 0!==c&&o.default.createElement("code",null,o.default.createElement(u,{exclusive:l,value:c})))}},72040:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"multipleOf"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))}},85769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minProperties&&void 0!==t.maxProperties;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return o.default.createElement("div",{key:n?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},r,"\xa0",void 0!==t.minProperties&&o.default.createElement(a,{value:t.minProperties}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(u,{value:t.maxProperties}))}},74490:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"pattern"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",o.default.createElement("code",null,t.pattern))}},16272:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const a=s(n(2784)),u=i(n(85685)),c=n(7639),l={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>a.default.createElement(u.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>a.default.createElement(u.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>a.default.createElement(u.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>a.default.createElement(u.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return a.default.createElement(u.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>a.default.createElement(u.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>a.default.createElement(u.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return a.default.createElement(u.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return a.default.createElement(u.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>a.default.createElement(u.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return a.default.createElement(u.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:n}=e;return!0===n.showExamples&&void 0!==t.examples},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,c.hasUnresolvedRefs)(t)},Component:e=>a.default.createElement(u.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=l;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},88870:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return o.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)}},6165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minLength&&void 0!==t.maxLength;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return o.default.createElement("div",{key:n?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},r,"\xa0",void 0!==t.minLength&&o.default.createElement(a,{value:t.minLength}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(u,{value:t.maxLength}))}},70951:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:n}}=e,r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let s=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return o.default.createElement("div",{key:"unsolvedRefs"},n?o.default.createElement(n,{schema:t}):o.default.createElement(o.default.Fragment,null,r,"\xa0",s))}},64832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return o.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)}},85685:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=t.printSchemaType=void 0;const o=r(n(2784)),i=r(n(84560));t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?o.default.createElement("code",null,e.toString()):o.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};var s=n(78661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(s).default}});var a=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(a).default}});var u=n(85769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(71722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(c).default}});var l=n(40877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(l).default}});var f=n(93325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(34785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var h=n(81165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(h).default}});var p=n(74490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(p).default}});var m=n(72040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(92065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(69617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(69705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(21499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(99272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(88870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var E=n(64832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(E).default}});var k=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(76884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(x).default}});var D=n(47131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(D).default}});var S=n(85734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var C=n(70951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(C).default}});var $=n(16272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return $.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return $.DEFAULT_ORDER}})},7639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectedTypes=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0;t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*n(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef),t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==t.length?[...new Set(t)]:[...n(e)]}},41168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=void 0,t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},40578:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(2204),a=n(9966);function u(e,t){return!(t<=1)&&e!==t-1}function c(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.TypeLabelSwitch,{type:t});if(t.title)return o.default.createElement(o.default.Fragment,null,t.title);const n=(0,i.detectedTypes)(t);return 0===n.length?o.default.createElement(l,{schema:t}):o.default.createElement(o.default.Fragment,null,n.map(((e,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(f,{schema:t,type:e}),u(r,n.length)&&o.default.createElement(a.OrLabel,null)))))}function l(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.NotLabel,null)," ( ",o.default.createElement(c,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(a.OrLabel,null):t.oneOf?o.default.createElement(a.XorLabel,null):o.default.createElement(a.AndLabel,null),n=t.allOf||t.anyOf||t.oneOf;return o.default.createElement(o.default.Fragment,null,n.map(((t,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(c,{schema:t}),u(r,n.length)&&e))))}return o.default.createElement(s.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(s.TypeLabelSwitch,{type:t.format});if("array"===n)return o.default.createElement(d,{schema:t});if(!["array","object"].includes(n)){if(void 0!==t.const)return o.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return o.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return o.default.createElement(s.TypeLabelSwitch,{type:n})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return o.default.createElement(s.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(c,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];n.push(...e.map(((e,t)=>o.default.createElement(c,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(c,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(c,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(c,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&n.push(o.default.createElement(o.default.Fragment,{key:"open_tuple"},"...")),o.default.createElement(o.default.Fragment,null,"(",n.map(((e,t)=>o.default.createElement(o.default.Fragment,{key:t},e,u(t,n.length)&&","))),")[]")}t.default=c},72223:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(85685);t.default=function(e){const{options:t}=e,n=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return o.default.createElement(o.default.Fragment,null,n.filter((t=>i.QUALIFIERS_MAP[t].match(e))).map((t=>i.QUALIFIERS_MAP[t].Component(e))))}},77740:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var s=n(40578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(s).default}});var a=n(72223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(a).default}}),o(n(7639),t),o(n(41168),t)},75548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.referencesYaml=t.referencesId=t.describeSchema=void 0;const s=i(n(45984)),a=n(77107);function u(e,t){if(!t)return e;let n=s.parseDocument(e);for(const r of t.slice(2).split("/"))if(n=n.get(r,!0),!n)throw new Error(`Pointer ${t} not found in schema`);return s.stringify(n)}function c(e){return 1===Object.keys(e).length&&"id"in e}function l(e){return 1===Object.keys(e).length&&"yaml"in e}t.describeSchema=function(e){let{schema:t,pointer:n}=e;if("string"==typeof n&&!n.startsWith("#"))throw new Error("`pointer` option must start with '#'");return c(t)?function(e){let{schema:{id:t},pointer:n}=e;const[r,o]=t.split("#"),i=o?function(e){const t=e.filter((e=>"string"==typeof e)).map((e=>e.slice(1))).join("");if(0===t.length)return;return`#${t}`}([`#${o}`,n]):n,c=a.schemaYamls[r];if(!c)throw new Error(`Unknown schema with $id "${r}"`);const l=u(c,i),f=s.parse(l),d=s.parse(c);return{id:r,pointer:i,yaml:l,schema:f,rootSchema:d}}({schema:t,pointer:n}):l(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=u(t,n),o=s.parse(r),i=s.parse(t),a=o.$id;return a?{id:a,pointer:n,yaml:r,schema:o,rootSchema:i}:{pointer:n,yaml:r,schema:o,rootSchema:i}}({schema:t,pointer:n}):function(e){let{schema:t,pointer:n}=e;const r=u(s.stringify(t),n),o=s.parse(r),i=o.$id;return i?{id:i,pointer:n,yaml:r,schema:o,rootSchema:t}:{pointer:n,yaml:r,schema:o,rootSchema:t}}({schema:t,pointer:n})},t.referencesId=c,t.referencesYaml=l},99372:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.schemaIds=t.schemas=void 0,o(n(75548),t);var i=n(52109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},52109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(75548),o=n(77107);t.schemaIds=Object.keys(o.schemaYamls),t.schemas=t.schemaIds.map((e=>({[e]:(0,r.describeSchema)({schema:{id:e}}).schema}))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})},77107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"schema:ethdebug/format/data/hex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/data/hex"\n\ntitle: ethdebug/format/data/hex\ndescription: |\n A `0x`-prefixed hexadecimal string. This value **must** contain at least one\n hexadecimal character (`0x` by itself is not allowed).\n\ntype: string\npattern: "^0x[0-9a-fA-F]{1,}$"\n\nexamples:\n - "0x0000"\n - "0x1"\n',"schema:ethdebug/format/data/unsigned":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/data/unsigned"\n\ntitle: ethdebug/format/data/unsigned\ndescription: |\n A non-negative integer encoded as a JSON number.\n\ntype: integer\nminimum: 0\n\nexamples:\n - 0\n - 100\n',"schema:ethdebug/format/materials/compilation":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/compilation"\n\ntitle: ethdebug/format/materials/compilation\ndescription: |\n An object representing a single invocation of a compiler.\n\ntype: object\nproperties:\n id:\n description: |\n Compilation ID. Optional, but **should** be specified.\n\n This value **should** be globally-unique and generated only from the\n compiler inputs (settings, sources, etc.); the same compiler inputs/\n settings **should** produce the same identifier.\n\n $ref: "schema:ethdebug/format/materials/id"\n\n compiler:\n type: object\n title: Compiler name and version\n properties:\n name:\n type: string\n description: Compiler name\n\n version:\n type: string\n description: |\n Compiler version.\n\n This value **should** be specified using the most detailed version\n representation available, i.e., including source control hash and\n compiler build information whenever possible.\n\n required:\n - name\n - version\n\n examples:\n - name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n\n settings:\n description: |\n Compiler settings in a format native to the compiler.\n\n For compilers whose settings includes full source representations, this\n field **should** be specified in such a way that avoids large data\n redundancies (e.g. if compiler settings contain full source\n representations, then this field would significantly duplicate the\n information represented by the `sources` field in this object).\n\n In situations where settings information duplicates information\n represented elsewhere in **ethdebug/format**, compilers **may** adopt\n any reasonable strategy, e.g.:\n - omit duplications partially (leaving the rest of the settings\n intact)\n - omit this field entirely\n - specify this field as a hash of the full settings\n representation (with the expectation that users of this format will\n have access to the full representation by some other means)\n\n allOf:\n - true\n\n sources:\n type: array\n items:\n $ref: "schema:ethdebug/format/materials/source"\n\nrequired:\n - compiler\n - sources\n\nexamples:\n - compiler:\n name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n sources:\n - id: 0\n path: stdin\n contents: |\n (add 1 (mul 2 (add 3 4)))\n language: LLL\n',"schema:ethdebug/format/materials/id":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/id"\n\ntitle: ethdebug/format/materials/id\ndescription: An opaque external ID (likely generated by compiler)\n\ntype:\n - number\n - string\n\nexamples:\n - 5\n - "five"\n',"schema:ethdebug/format/materials/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/reference"\n\ntitle: ethdebug/format/materials/reference\ndescription: A reference to an external resource by ID\n\ntype: object\nproperties:\n id:\n $ref: "schema:ethdebug/format/materials/id"\n\n type:\n enum:\n - compilation\n - source\n\nrequired: [id]\n\nunevaluatedProperties: false\n\nexamples:\n - id: 1\n',"schema:ethdebug/format/materials/source-range":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source-range"\n\ntitle: ethdebug/format/materials/source-range\ndescription: |\n A range of bytes in a particular source.\n\n Note that this refers to the bytes range in the original character encoding\n for the source, not the character encoding used for strings in this JSON\n format (UTF-8). For compilers that support input sources in encodings other\n than this format\'s transmission encoding, compilers **must** address source\n ranges in this original encoding, and debuggers **must** re-encode source\n contents obtained from this format _before_ performing any range addressing.\n\n (Compilers that only accept UTF-8 or ASCII are naturally exempt from this\n concern.)\n\ntype: object\nproperties:\n compilation:\n title: Compilation reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n source:\n title: Source reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n range:\n title: Bytes range within source contents\n description: |\n Ranges that span the entire source contents **may** omit this field\n as a shorthand. This field is otherwise **required**.\n type: object\n properties:\n offset:\n description: |\n Byte offset at beginning of range.\n $ref: "schema:ethdebug/format/data/unsigned"\n\n length:\n description: Number of bytes contained in range\n $ref: "schema:ethdebug/format/data/unsigned"\n\n unevaluatedProperties: false\n\n required:\n - offset\n - length\n\nunevaluatedProperties: false\n\nrequired:\n - source\n\nexamples:\n - source:\n id: 5\n range:\n offset: 20\n length: 100\n',"schema:ethdebug/format/materials/source":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source"\n\ntitle: ethdebug/format/materials/source\ndescription: |\n An object representing one unit of compiler input, the raw text contents and\n identifying metadata (such as file path) that were given to the compiler as\n part of a compilation.\n\ntype: object\nproperties:\n id:\n description: |\n Source identifier. This field **must** be unique for all sources\n within a single compiler invocation (compilation).\n $ref: "schema:ethdebug/format/materials/id"\n\n path:\n type: string\n description: |\n Hierarchical file-system-like path to this source. This value may\n be an absolute path, a path relative to some root directory, a path\n to some resource within a package, etc.\n\n This value does not need to correspond to any file on disk (either\n physical or virtual), and might instead refer to a path identifier\n for a source that was generated by a compiler or other development tool.\n\n This format makes no specific restrictions on how paths should be\n specified (e.g., no restriction on path separators, etc.), other than\n that values for this field should match what users observe elsewhere for\n the inputs/outputs of this particular compiler invocation.\n\n If no path information is available for a particular source, e.g. if the\n source was provided to the compiler via shell standard input, this field\n should indicate that somehow (e.g., specifying `"path": "stdin"` or\n similar).\n\n This field\'s value **should** be unique across all sources within the\n same compilation.\n\n contents:\n description: |\n The full contents of the source, possibly re-encoded as UTF-8 to\n match parent JSON encoding.\n\n In cases where input source used a different encoding, this object\n **must** also specify an `encoding` property to indicate the\n encoding originally used. Where relevant, debuggers **must** also\n convert these `contents` back to the specified original encoding so\n as to match code author expectations.\n\n type: string\n\n encoding:\n description: |\n Character encoding of original source `contents`. This property\n is **required** if this encoding does not match the JSON transmission\n encoding (UTF-8), since the value of the `contents` property will\n represent the text of the source of this JSON encoding.\n\n This property **must not** appear in objects that do not specify\n a `contents` property.\n\n type: string\n\n language:\n description: |\n The high-level language that the source contents are written in.\n\n type: string\n\nrequired:\n - id\n - path\n - contents\n - language\n\nexamples:\n - id: 5\n path: ./contracts/SimpleStorage.sol\n contents: |\n // SPDX-License-Identifier: GPL-3.0\n pragma solidity >=0.4.16 <0.9.0;\n\n contract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n }\n\n language:\n Solidity\n',"schema:ethdebug/format/pointer/collection/conditional":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/conditional"\n\ntitle: ethdebug/format/pointer/collection/conditional\ndescription: |\n A pointer defined conditionally based on the non-zero-ness of some expression\n\ntype: object\n\nproperties:\n if:\n $ref: "schema:ethdebug/format/pointer/expression"\n then:\n $ref: "schema:ethdebug/format/pointer"\n else:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - if\n - then\n\nadditionalProperties: false\n\nexamples:\n - if: 0\n then:\n location: memory\n offset: 0\n length: 1\n else:\n location: memory\n offset: 1\n length: 1\n',"schema:ethdebug/format/pointer/collection/group":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/group"\n\ntitle: ethdebug/format/pointer/collection/group\ndescription: |\n A composite collection of pointers\ntype: object\nproperties:\n group:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer"\n minItems: 1\nrequired:\n - group\nadditionalProperties: false\n\nexamples:\n - group:\n - name: "data-pointer"\n location: stack\n slot: 0\n - location: memory\n offset:\n $read: "data-pointer"\n length: 32\n',"schema:ethdebug/format/pointer/collection/list":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/list"\n\ntitle: ethdebug/format/pointer/collection/list\ndescription: |\n An ordered list of pointers, indexed starting at zero.\ntype: object\n\nproperties:\n list:\n type: object\n properties:\n count:\n description: |\n The size of the list that this collection represents.\n $ref: "schema:ethdebug/format/pointer/expression"\n each:\n description: |\n An identifier name whose value as an expression resolves to the index\n in the list\n $ref: "schema:ethdebug/format/pointer/identifier"\n is:\n description: |\n The dynamically-generated pointer repeated as a list\n $ref: "schema:ethdebug/format/pointer"\n required:\n - count\n - each\n - is\n\nrequired:\n - list\n\nadditionalProperties: false\n\nexamples:\n - list:\n count: 5\n each: "index"\n is:\n location: memory\n offset:\n $read: "index"\n length: 1\n',"schema:ethdebug/format/pointer/collection/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/reference"\n\ntitle: ethdebug/format/pointer/collection/reference\ndescription: |\n A pointer by named reference to a pointer template (defined elsewhere).\n\ntype: object\n\nproperties:\n template:\n title: Template identifier\n $ref: "schema:ethdebug/format/pointer/identifier"\n\nrequired:\n - template\n\nadditionalProperties: false\n\nexamples:\n - template: "string-storage-pointer"\n',"schema:ethdebug/format/pointer/collection/scope":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/scope"\n\ntitle: ethdebug/format/pointer/collection/scope\ndescription: |\n A pointer defined with the aid of additional variables with values specified\n as expressions.\n\n Variables are specified by the `define` field as an object mapping of\n expression by identifier. Variables are specified **in order**, so that\n later appearing variables may reference earlier ones in the same object.\n\ntype: object\n\nproperties:\n define:\n title: Mapping of variables to expression value\n type: object\n patternProperties:\n "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n in:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - define\n - in\n\nadditionalProperties: false\n\nexamples:\n - define:\n example-offset:\n $sum: [1, 2]\n example-length:\n $product: [2, $wordsize]\n in:\n name: example\n location: memory\n offset: example-offset\n length: example-length\n',"schema:ethdebug/format/pointer/collection":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection"\n\ntitle: ethdebug/format/pointer/collection\ndescription: |\n A representation of a collection of pointers to data in the EVM\ntype: object\n\nallOf:\n - oneOf:\n - required: [group]\n - required: [list]\n - required: [if]\n - required: [define]\n - required: [template]\n\n - if:\n required: [group]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required: [list]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required: [if]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\n\n - if:\n required: [define]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/scope"\n\n - if:\n required: [template]\n then:\n $ref: "schema:ethdebug/format/pointer/collection/reference"\n',"schema:ethdebug/format/pointer/expression":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/expression"\n\ntitle: ethdebug/format/pointer/expression\ndescription: |\n A schema for describing expressions that evaluate to values.\n\noneOf:\n - $ref: "#/$defs/Literal"\n - $ref: "#/$defs/Variable"\n - $ref: "#/$defs/Constant"\n - $ref: "#/$defs/Arithmetic"\n - $ref: "#/$defs/Lookup"\n - $ref: "#/$defs/Read"\n - $ref: "#/$defs/Keccak256"\n - $ref: "#/$defs/Resize"\n\n$defs:\n Literal:\n title: Literal value\n description: |\n An unsigned number or a `0x`-prefixed string of hexadecimal digits\n\n oneOf:\n - description: A non-negative integer literal\n $ref: "schema:ethdebug/format/data/unsigned"\n\n - description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n $ref: "schema:ethdebug/format/data/hex"\n\n examples:\n - 5\n - "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n Constant:\n title: Constant value\n type: string\n enum:\n - $wordsize\n\n Variable:\n title: Variable identifier\n description: |\n A string that matches an identifier used in an earlier declaration of\n a scalar variable. This expression evaluates to the value of that\n variable.\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n Arithmetic:\n title: Arithmetic operation\n type: object\n properties:\n "$sum":\n description: |\n A list of expressions to be added together.\n $ref: "#/$defs/Operands"\n "$difference":\n description: |\n A tuple of two expressions where the second is to be subtracted from\n the first.\n\n If the second operand is larger than the first, the result of this\n arithmetic operation is defined to equal zero (`0`).\n\n (i.e., `{ "$difference": [a, b] }` equals `a` minus `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$product":\n description: |\n A list of expressions to be multipled.\n $ref: "#/$defs/Operands"\n "$quotient":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of doing integer division.\n\n (i.e., `{ "$quotient": [a, b] }` equals `a` divided by `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$remainder":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of computing the modular-arithmetic remainder.\n\n (i.e., `{ "$remainder": [a, b] }` equals `a` mod `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - "$sum": [5, 3, 4]\n - "$difference": [5, 3]\n - "$product": [5, 3, 0]\n - "$quotient": [5, 3]\n - "$remainder":\n - "$product":\n - 2\n - 2\n - 2\n - 2\n - 3\n\n Operands:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n\n Lookup:\n title: Lookup region definition\n description: |\n An object of the form `{ ".<property-name>": "<region>" }`, to\n denote that this expression is equivalent to the defined value for\n the property named `<property-name>` inside the region referenced as\n `<region>`.\n\n `<property-name>` **must** be a valid and present property on the\n corresponding region, or it **must** correspond to an optional property\n whose schema specifies a default value for that property.\n type: object\n patternProperties:\n "^\\\\.(offset|length|slot)$":\n $ref: "#/$defs/Reference"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n\n examples:\n - .offset: "array-count"\n - .length: "array-item"\n - .offset: $this\n\n\n Read:\n title: Read region bytes\n description: |\n An object of the form `{ "$read": "<region>" }`. The value of this\n expression equals the raw bytes present in the running machine state\n in the referenced region.\n type: object\n properties:\n $read:\n $ref: "#/$defs/Reference"\n required:\n - $read\n additionalProperties: false\n examples:\n - $read: "struct-start"\n\n Reference:\n title: Region reference\n description: |\n A string value that **must** either be the `"name"` of at least one\n region declared with `{ "name": "<region>" }` previously in some root\n pointer representation, or it **must** be the literal value `"$this"`,\n which indicates a reference to the region containing this expression.\n\n If more than one region is defined with the same name, resolution is\n defined as firstly resolving to the latest earlier sibling that declares\n the matching name, then secondly resolving to the parent if it matches,\n then to parent\'s earlier siblings, and so on.\n type: string\n\n oneOf:\n - $ref: "schema:ethdebug/format/pointer/identifier"\n - const: "$this"\n description: |\n Indicates a reference to the region containing this expression.\n\n Keccak256:\n title: Keccak256 hash\n description: |\n An object of the form `{ "$keccak256": [...values] }`, indicating that this\n expression evaluates to the Solidity-style keccak256 hash of the\n tightly-packed bytes encoded by `values`.\n type: object\n properties:\n $keccak256:\n title: Array of hashed values\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n required:\n - $keccak256\n examples:\n - $keccak256:\n - 0\n - "0x00"\n\n Resize:\n title: Resize data\n description: |\n A resize operation expression is either an object of the form\n `{ "$sized<N>": <expression> }` or an object of the form\n `{ "$wordsized": <expression> }`, where `<expression>` is an expression\n whose value is to be resized, and, if applicable, where `<N>` is the\n smallest decimal representation of an unsigned integer.\n\n This object\'s value is evaluated as follows, based on the bytes width of\n the value `<expression>` evaluates to and based on `<N>` (using the\n value of `"$wordsize"` for `<N>` in the case of the latter form above):\n - If the width equals `<N>`, this object evalutes to the same value as\n `<expression>` (equivalent to the identity function or no-op).\n - If the width is less than `<N>`, this object evalutes to the same value\n as `<expression>` but with additional zero-bytes (`0x00`) prepended on\n the left (most significant) side, such that the resulting bytes width\n equals `<N>`.\n - If the width exceeds `<N>`, this object evalutes to the same value\n as `<expression>` but with a number of bytes removed from the left\n (most significant) side until the bytes width equals `<N>`.\n\n (These cases match the behavior that Solidity uses for resizing its\n `bytesN`/`uintN` types.)\n type: object\n oneOf:\n - title: Resize to literal number of bytes\n type: object\n patternProperties:\n "^\\\\$sized([1-9]+[0-9]*)$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n - title: Resize to word-size\n type: object\n patternProperties:\n "^\\\\$wordsized$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - $sized2: "0x00" # 0x0000\n - $sized2: "0xffffff" # 0xffff\n - $wordsized: "0x00" # 0x0000000000000000000000000000000000000000000000000000000000000000\n\nexamples:\n - 0\n - $sum:\n - .offset: "array-start"\n - .length: "array-start"\n - 1\n - $keccak256:\n - 5\n - .offset: "array-start"\n',"schema:ethdebug/format/pointer/identifier":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/identifier"\n\ntitle: ethdebug/format/pointer/identifier\ndescription: |\n An identifier for use within the context of a root pointer\ntype: string\npattern: "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$"\n\nexamples:\n - a\n - a0\n - -$\n - __init__\n',"schema:ethdebug/format/pointer/region/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/base"\n\ntitle: ethdebug/format/pointer/region/base\ndescription: |\n Common schema for all region schemas, regardless of `"location": ...`.\n\ntype: object\nproperties:\n name:\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n location:\n type: string\n\nrequired:\n - location\n\nexamples:\n - name: "array-item"\n location: memory\n',"schema:ethdebug/format/pointer/region/calldata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/calldata"\n\ntitle: ethdebug/format/pointer/region/calldata\ndescription: |\n A schema for representing a region of data in message calldata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"calldata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: calldata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: calldata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/code":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/code"\n\ntitle: ethdebug/format/pointer/region/code\ndescription: |\n A schema for representing a region of data in EVM bytecode.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"code"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: code\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: code\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/memory":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/memory"\n\ntitle: ethdebug/format/pointer/region/memory\ndescription: |\n A schema for representing a region of data in EVM memory. Pointer regions\n within memory represent a single/atomic sequence of byte locations.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"memory"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: memory\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: memory\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/returndata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/returndata"\n\ntitle: ethdebug/format/pointer/region/returndata\ndescription: |\n A schema for representing a region of data in message returndata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"returndata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: returndata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: returndata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/stack":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/stack"\n\ntitle: ethdebug/format/pointer/region/stack\ndescription: |\n A schema for representing a region of data in the EVM.\n\n Describes stack slots as number of positions from the top (at time of\n observation). Debuggers reading this information **should** immediately\n convert these positions to absolute positions from the bottom.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"stack"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: stack\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: stack\n slot: 0\n - location: stack\n slot: 1\n length:\n $product:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/storage":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/storage"\n\ntitle: ethdebug/format/pointer/region/storage\ndescription: |\n A schema for representing a region of data in EVM storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"storage"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: storage\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x03"\n - location: storage\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: storage\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/transient":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/transient"\n\ntitle: ethdebug/format/pointer/region/transient\ndescription: |\n A schema for representing a region of data in EVM transient storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"transient"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: transient\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: transient\n slot: "0x03"\n - location: transient\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: transient\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region"\n\ntitle: ethdebug/format/pointer/region\ndescription: |\n A representation of a region of data in the EVM\ntype: object\n\nproperties:\n location:\n $ref: "#/$defs/Location"\n\n\nallOf:\n - if:\n properties:\n location:\n const: stack\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/stack"\n\n - if:\n properties:\n location:\n const: memory\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/memory"\n\n - if:\n properties:\n location:\n const: storage\n then:\n $ref: "schema:ethdebug/format/pointer/region/storage"\n\n - if:\n properties:\n location:\n const: calldata\n then:\n $ref: "schema:ethdebug/format/pointer/region/calldata"\n\n - if:\n properties:\n location:\n const: returndata\n then:\n $ref: "schema:ethdebug/format/pointer/region/returndata"\n\n - if:\n properties:\n location:\n const: transient\n then:\n $ref: "schema:ethdebug/format/pointer/region/transient"\n\n - if:\n properties:\n location:\n const: code\n then:\n $ref: "schema:ethdebug/format/pointer/region/code"\n\n$defs:\n Location:\n type: string\n enum:\n - stack\n - memory\n - storage\n - calldata\n - returndata\n - transient\n - code\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n',"schema:ethdebug/format/pointer/scheme/segment":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/segment"\n\ntitle: ethdebug/format/pointer/scheme/segment\ndescription: |\n An addressing scheme for pointing to a range of bytes in a data location\n arranged as individually-addressable word-sized slots.\n\n **Note** that this addressing scheme permits addressing byte ranges that\n extend beyond the last byte of a particular slot, or even covering the range\n of multiple slots.\n\n In such cases, this schema defines the range as the concatenation of bytes\n across slots such that the address of the first byte after the end of slot\n `p` (i.e., `{ "offset": "$wordsize" }`) is interpreted as the first byte of\n slot `p + 1`.\n\ntype: object\n\nproperties:\n slot:\n $ref: "schema:ethdebug/format/pointer/expression"\n offset:\n description: |\n The starting byte index within the slot.\n\n This field is **optional**. If unspecified, it has the default value of\n `0`, indicating that the segment begins at the start of the specified\n slot.\n\n This field\'s expression must resolve to a value _n_ such that\n 0 \u2264 _n_ \\< `$wordsize` (i.e., the offset **must**\n begin inside the slot).\n $ref: "schema:ethdebug/format/pointer/expression"\n default: 0\n length:\n description: |\n The length of the bytes range this segment represents.\n\n This field is **optional**. If unspecified, its default value indicates\n that the segment ends at the end of the slot.\n\n If this field has value larger than the default value, i.e., if the\n segment extends beyond the last byte in the slot, then this segment is\n defined to be the concatenation of the sequentially-addressed slot(s)\n following following the slot specified.\n $ref: "schema:ethdebug/format/pointer/expression"\n default:\n $difference:\n - $wordsize\n - .offset: $this\n\nrequired:\n - slot\n\nexamples:\n - slot: 0\n - slot: 1\n length:\n $product:\n - $wordsize\n - 3\n',"schema:ethdebug/format/pointer/scheme/slice":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/slice"\n\ntitle: ethdebug/format/pointer/scheme/slice\ndescription: |\n An addressing scheme for pointing to a range of sequential bytes inside\n a data location whose structure is that of a regular bytes array\n (i.e., where bytes are indexed by byte offset, with no concept of word).\n\ntype: object\n\nproperties:\n offset:\n description: |\n The index of the byte (starting from zero) in the data location where\n the slice begins.\n $ref: "schema:ethdebug/format/pointer/expression"\n length:\n description: |\n The length of the slice in number of bytes.\n $ref: "schema:ethdebug/format/pointer/expression"\n\nrequired:\n - offset\n - length\n\nexamples:\n - offset: 0\n length: 32\n',"schema:ethdebug/format/pointer/template":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/template"\n\ntitle: ethdebug/format/pointer/template\ndescription: |\n A schema for representing a pointer defined in terms of some variables whose\n values are to be provided when invoking the template.\n\ntype: object\nproperties:\n expect:\n title: Template variables\n description: |\n An array of variable identifiers used in the definition of the\n pointer template.\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/identifier"\n additionalItems: false\n\n for:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - expect\n - for\n\nadditionalProperties: false\n\nexamples:\n - expect: ["slot"]\n for:\n location: storage\n slot: "slot"\n',"schema:ethdebug/format/pointer":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer"\n\ntitle: ethdebug/format/pointer\ndescription: |\n A schema for representing a pointer to a data position or a range of data\n positions in the EVM.\n\n An **ethdebug/format/pointer** is either a single region or a structured\n collection of other pointers.\n\ntype: object\n\nif:\n required: [location]\nthen:\n $ref: "schema:ethdebug/format/pointer/region"\nelse:\n $ref: "schema:ethdebug/format/pointer/collection"\n\nexamples:\n - # example: a single particular storage slot\n location: storage\n slot: 2\n\n - # example `uint256[] memory` allocation pointer\n define:\n "uint256-array-memory-pointer-slot": 0\n in:\n # this pointer composes an ordered list of other pointers\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: "uint256-array-memory-pointer-slot"\n\n # declare the "array-count" region to be at the offset indicated by\n # the value at "array-start"\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # thirdly, declare a sub-pointer that is a dynamic list whose size is\n # indicated by the value at "array-count", where each "item-index"\n # corresponds to a discrete "array-item" region\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n name: "array-item"\n location: "memory"\n offset:\n # array items are positioned so that the item with index 0\n # immediately follows "array-count", and each subsequent item\n # immediately follows the previous.\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: $this\n length: $wordsize\n\n - # example `struct Record { uint8 x; uint8 y; bytes4 salt; }` in storage\n define:\n "struct-storage-contract-variable-slot": 0\n in:\n group:\n - name: "x"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - $wordsize\n - .length: $this\n length: 1 # uint8\n - name: "y"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - .offset: "x"\n - .length: $this\n length: 1 # uint8\n - name: "salt"\n location: storage\n slot: "struct-storage-contract-variable-slot"\n offset:\n $difference:\n - .offset: "y"\n - .length: $this\n length: 4 # bytes4\n\n - # example `(struct Record { uint256 x; uint256 y; })[] memory`\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declares the "array-count" region in memory at the offset indicated\n # by "array-start" and of length equal to word size\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # declare this to include a list of pointers of size indicated by the\n # value at "array-count", where each "item-index" corresponds to a\n # group of pointers\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n group:\n # each element in the list includes a "struct-pointer" region\n # in memory (laid out sequentially in a block as the raw\n # array data)\n - name: "struct-pointer"\n location: memory\n offset:\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "struct-pointer"\n length: $wordsize\n\n # following that pointer leads to the region corresponding to\n # the first member of the struct\n - name: "struct-member-0"\n location: memory\n offset:\n $read: "struct-pointer"\n length: $wordsize\n\n # the second struct member immediately follows the first\n - name: "struct-member-1"\n location: memory\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `string storage` allocation\n define:\n "string-storage-contract-variable-slot": 0\n in:\n group:\n # for short strings, the length is stored as 2n in the last byte of slot\n - name: "length-flag"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset:\n $difference: [$wordsize, 1]\n length: 1\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $sum:\n - $read: "length-flag"\n - 1\n - 2\n\n # short string case (flag is even)\n then:\n define:\n "string-length":\n $quotient: [{ $read: "length-flag" }, 2]\n in:\n name: "string"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset: 0\n length: "string-length"\n\n # long string case (flag is odd)\n else:\n group:\n # long strings may use full word to describe length as 2n+1\n - name: "long-string-length-data"\n location: storage\n slot: "string-storage-contract-variable-slot"\n offset: 0\n length: $wordsize\n\n - define:\n "string-length":\n $quotient:\n - $difference:\n - $read: "long-string-length-data"\n - 1\n - 2\n\n "start-slot":\n $keccak256:\n - $wordsized: "string-storage-contract-variable-slot"\n\n "total-slots":\n # account for both zero and nonzero slot remainders by adding\n # $wordsize-1 to the length before dividing\n $quotient:\n - $sum: ["string-length", { $difference: [$wordsize, 1] }]\n - $wordsize\n in:\n list:\n count: "total-slots"\n each: "i"\n is:\n define:\n "current-slot":\n $sum: ["start-slot", "i"]\n "previous-length":\n $product: ["i", $wordsize]\n in:\n # conditional based on whether this is the last slot:\n # is the string length longer than the previous length\n # plus this whole slot?\n if:\n $difference:\n - "string-length"\n - $sum: ["previous-length", "$wordsize"]\n then:\n # include the whole slot\n name: "string"\n location: storage\n slot: "current-slot"\n else:\n # include only what\'s left in the string\n name: "string"\n location: storage\n slot: "current-slot"\n offset: 0\n length:\n $difference: ["string-length", "previous-length"]\n',"schema:ethdebug/format/type/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/base"\n\ntitle: ethdebug/format/type/base\ndescription:\n Defines the minimally necessary schema for a data type.\n Types belong to a particular `class` (`"elementary"` or `"complex"`),\n and are further identified by a particular `kind`.\ntype: object\noneOf:\n - $ref: "#/$defs/ElementaryType"\n - $ref: "#/$defs/ComplexType"\n\n$defs:\n ElementaryType:\n title: Base elementary type\n description:\n Represents an elementary type (one that does not compose other types)\n type: object\n properties:\n class:\n type: string\n const: elementary\n kind:\n type: string\n contains:\n not:\n description:\n "Elementary types **must not** specify a `contains` field\n (to make it easier to discriminate elementary vs. complex)"\n required:\n - kind\n examples:\n - kind: uint\n bits: 256\n\n ComplexType:\n title: Base complex type\n description:\n Represents a complex type, one that composes other types (e.g., arrays,\n structs, mappings)\n type: object\n properties:\n class:\n type: string\n const: complex\n description: Indicates that this is a complex type\n kind:\n type: string\n description: The specific kind of complex type, e.g., array or struct\n contains:\n title: Complex type `contains` field\n description:\n Either a type wrapper, an array of type wrappers, or an object\n mapping to type wrappers.\n oneOf:\n - $ref: "#/$defs/TypeWrapper"\n - $ref: "#/$defs/TypeWrapperArray"\n - $ref: "#/$defs/TypeWrapperObject"\n\n required:\n - kind\n - contains\n examples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n - kind: struct\n contains:\n - member: x\n type:\n kind: uint\n bits: 256\n - member: y\n type:\n kind: uint\n bits: 256\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n payable: true\n value:\n type:\n kind: uint\n bits: 256\n\n TypeWrapper:\n title: \'{ "type": ... }\'\n description:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\n type: object\n properties:\n type:\n oneOf:\n - $ref: "schema:ethdebug/format/type/base"\n - $ref: "schema:ethdebug/format/type/reference"\n\n required:\n - type\n\n TypeWrapperArray:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "#/$defs/TypeWrapper"\n\n TypeWrapperObject:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "#/$defs/TypeWrapper"\n',"schema:ethdebug/format/type/complex/alias":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/alias"\n\ntitle: ethdebug/format/type/complex/alias\ndescription:\n Schema representing a type alias to another type\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: alias\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: alias\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: alias\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/array":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/array"\n\ntitle: ethdebug/format/type/complex/array\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: array\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: array\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/function":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/function"\n\ntitle: ethdebug/format/type/complex/function\ndescription: |\n Schema for representing a function type.\n\n Type representations must indicate whether they represent a function that is\n called internally (within the semantics of the language) or a function that\n is called externally (via EVM contract call semantics and the Solidity ABI).\n Internal function types require the `"internal": true` field; external\n function types require `"external": true`.\n\n Note that external function types may include a representation of the\n contract type that defines or provides this function as an external\n interface.\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: function\n contains:\n type: object\n title: Parameter and return types\n description: |\n Types this function type composes. Function types inherently compose\n two groupings of types (an ordered list of parameter types and typically\n either a return value or return parameters). Function types\' `contains`\n field is organized as a mapping of `parameters` types (a type wrapper for\n a tuple type) and an optional `returns` type (either a generic type\n wrapper or a type wrapper for a tuple type).\n\n This definition applies for both cases (internal and external function\n types). Each of those specific types may expand this `contains` field\n schema with other semantic details (such as an external function type\n indicating the contract type from which it is exposed).\n properties:\n parameters:\n $ref: "#/$defs/Parameters"\n returns:\n type: object\n title: Return type (or tuple of types)\n description: |\n To accommodate languages differing in whether functions return single\n values or lists of values, this field may be either a generic type\n wrapper or explicitly defined as a type wrapper around a tuple type.\n\n Debuggers that implement this schema **should** be aware that\n languages whose functions return sole values might return tuple\n types. Resolving this ambiguity remains outside the scope of the\n schema (but compilers **must** be consistent when representing\n function types in this schema).\n anyOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "#/$defs/Parameters"\n required:\n - parameters\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - type: object\n title: External function type\n properties:\n internal:\n const: false\n external:\n const: true\n contains:\n type: object\n title: Additional contents\n properties:\n contract:\n type: object\n title: Contract type providing external function\n description:\n A wrapper around the contract type that composes this external\n function type.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - type: object\n title: Contract type wrapper\n properties:\n type:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n required:\n - external\n\n - type: object\n title: Internal function type\n properties:\n internal:\n const: true\n external:\n const: false\n required:\n - internal\n\nexamples:\n - kind: function\n internal: true\n definition:\n name: increment\n contains:\n parameters:\n type:\n kind: tuple\n contains:\n - name: value\n type:\n kind: uint\n bits: 256\n returns:\n type:\n kind: uint\n bits: 256\n - kind: function\n external: true\n definition:\n name: withdraw\n contains:\n contract:\n type:\n kind: contract\n payable: true\n interface: true\n definition:\n name: Bank\n parameters:\n type:\n kind: tuple\n contains:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - name: amount\n type:\n kind: ufixed\n bits: 128\n places: 18\n returns:\n type:\n kind: tuple\n contains: []\n\n$defs:\n Parameters:\n type: object\n title: Parameters\n description:\n A type wrapper around a tuple of types. This schema uses a tuple type to\n represent an ordered list of types.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Tuple type wrapper\n type: object\n properties:\n type:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n',"schema:ethdebug/format/type/complex/mapping":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/mapping"\n\ntitle: ethdebug/format/type/complex/mapping\ndescription:\n Schema for representing mapping types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: mapping\n contains:\n type: object\n title: Mapping key/value types\n properties:\n key:\n $ref: "schema:ethdebug/format/type/wrapper"\n value:\n $ref: "schema:ethdebug/format/type/wrapper"\n required:\n - key\n - value\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n value:\n type:\n kind: uint\n bits: 256\n',"schema:ethdebug/format/type/complex/struct":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/struct"\n\ntitle: ethdebug/format/type/complex/struct\ndescription:\n Schema for representing struct types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: struct\n contains:\n type: array\n items:\n $ref: "#/$defs/MemberField"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: struct\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n MemberField:\n type: object\n title: MemberField\n description:\n A schema representing a member field inside a struct type. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n description:\n An object with optional `name` property for identifying named struct\n member fields. **Note** that this language does not specify that a\n struct must be consistent in its use of naming for all fields or none\n type: object\n properties:\n name:\n type: string\n',"schema:ethdebug/format/type/complex/tuple":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/tuple"\n\ntitle: ethdebug/format/type/complex/tuple\ndescription:\n Schema for representing tuple types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: tuple\n contains:\n type: array\n items:\n $ref: "#/$defs/Element"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - # empty tuple type\n kind: tuple\n contains: []\n\n - kind: tuple\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n Element:\n type: object\n title: Element\n description:\n An optionally named element type within a tuple. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n type: object\n properties:\n name:\n type: string\n description:\n For tuple types where positional element types are identified\n by name, this field **should** include this information.\n\n This schema makes no restriction on whether all-or-no elements\n have names, and so this field may be sparse across elements of\n the same tuple.\n',"schema:ethdebug/format/type/complex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex"\n\ntitle: ethdebug/format/type/complex\ndescription:\n Canonical representation of a complex type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: alias\n then:\n $ref: "schema:ethdebug/format/type/complex/alias"\n\n - if:\n properties:\n kind:\n const: tuple\n then:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n\n - if:\n properties:\n kind:\n const: array\n then:\n $ref: "schema:ethdebug/format/type/complex/array"\n\n - if:\n properties:\n kind:\n const: mapping\n then:\n $ref: "schema:ethdebug/format/type/complex/mapping"\n\n - if:\n properties:\n kind:\n const: struct\n then:\n $ref: "schema:ethdebug/format/type/complex/struct"\n\n - if:\n properties:\n kind:\n const: function\n then:\n $ref: "schema:ethdebug/format/type/complex/function"\n\n$defs:\n Kind:\n title: Known complex kind\n description:\n A schema for the values of `kind` reserved for known complex types\n included in ethdebug/format\n type: string\n enum:\n - alias\n - tuple\n - array\n - mapping\n - struct\n - function\n',"schema:ethdebug/format/type/definition":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/definition"\n\ntitle: ethdebug/format/type/definition\ndescription: |\n Object containing name and location information for a type.\n\n This schema does not require any particular field, but it **must** contain\n at least one property.\n\ntype: object\nproperties:\n name:\n type: string\n\n location:\n $ref: "schema:ethdebug/format/materials/source-range"\n\nanyOf:\n - title: Required `name`\n required: [name]\n - title: Required `location`\n required: [location]\n\nexamples:\n - name: Ballot\n location:\n source:\n id: 5\n range:\n offset: 10\n length: 56\n',"schema:ethdebug/format/type/elementary/address":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/address"\n\ntitle: ethdebug/format/type/elementary/address\ndescription:\n Schema describing the representation of an address type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: address\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\nrequired:\n - kind\nexamples:\n - # a type for addresses of unknown payability\n kind: address\n\n - # a type for payable addresses\n kind: address\n payable: true\n',"schema:ethdebug/format/type/elementary/bool":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bool"\n\ntitle: ethdebug/format/type/elementary/bool\ndescription:\n Schema describing the representation of the boolean type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bool\nrequired:\n - kind\nexamples:\n - kind: bool\n',"schema:ethdebug/format/type/elementary/bytes":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bytes"\n\ntitle: ethdebug/format/type/elementary/bytes\ndescription:\n Schema describing the representation of a type of bytes string\n (either dynamic or static)\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bytes\n size:\n description:\n The number of bytes in the bytes string. If this field is omitted, this\n type is the dynamic bytes string type.\n $ref: "schema:ethdebug/format/data/unsigned"\nrequired:\n - kind\nexamples:\n - # example static bytes type\n kind: bytes\n size: 32\n - # example dynamic bytes type\n kind: bytes\n',"schema:ethdebug/format/type/elementary/contract":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/contract"\n\ntitle: ethdebug/format/type/elementary/contract\ndescription:\n Schema describing the representation of a contract type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: contract\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - title: Normal contract type\n properties:\n library:\n const: false\n interface:\n const: false\n\n - title: Contract library type\n properties:\n library:\n const: true\n description:\n Indicates that this is a type representing a library\n required:\n - library\n\n - title: Contract interface type\n properties:\n interface:\n const: true\n description:\n Indicates that this is a type representing an interface\n required:\n - interface\n\nrequired:\n - kind\n\nexamples:\n - kind: contract\n\n - kind: contract\n library: false\n interface: false\n payable: true\n',"schema:ethdebug/format/type/elementary/enum":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/enum"\n\ntitle: ethdebug/format/type/elementary/enum\ndescription:\n Schema describing the representation of an enumerated type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: enum\n values:\n description:\n The allowed values of an enum. This format makes no restriction on which\n values are allowed here.\n type: array\n items: true\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - values\n\nexamples:\n - kind: enum\n values:\n - A\n - B\n - C\n',"schema:ethdebug/format/type/elementary/fixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/fixed"\n\ntitle: ethdebug/format/type/elementary/fixed\ndescription:\n Schema describing the representation of a signed fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: fixed\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: integer\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: fixed\n bits: 256\n places: 10\n',"schema:ethdebug/format/type/elementary/int":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/int"\n\ntitle: ethdebug/format/type/elementary/int\ndescription:\n Schema describing the representation of a signed integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: int\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: int\n bits: 256\n',"schema:ethdebug/format/type/elementary/string":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/string"\n\ntitle: ethdebug/format/type/elementary/string\ndescription:\n Schema describing the representation of a string type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: string\n encoding:\n type: string\n default: utf-8\nrequired:\n - kind\nexamples:\n - kind: string\n - kind: string\n encoding: utf-16\n',"schema:ethdebug/format/type/elementary/ufixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/ufixed"\n\ntitle: ethdebug/format/type/elementary/ufixed\ndescription:\n Schema describing the representation of an unsigned fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: ufixed\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: integer\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: ufixed\n bits: 256\n places: 10\n\n',"schema:ethdebug/format/type/elementary/uint":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/uint"\n\ntitle: ethdebug/format/type/elementary/uint\ndescription:\n Schema describing the representation of an unsigned integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: uint\n bits:\n type: integer\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: uint\n bits: 256\n',"schema:ethdebug/format/type/elementary":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary"\n\ntitle: ethdebug/format/type/elementary\ndescription:\n Canonical representation of an elementary type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: uint\n then:\n $ref: "schema:ethdebug/format/type/elementary/uint"\n\n - if:\n properties:\n kind:\n const: int\n then:\n $ref: "schema:ethdebug/format/type/elementary/int"\n\n - if:\n properties:\n kind:\n const: bool\n then:\n $ref: "schema:ethdebug/format/type/elementary/bool"\n\n - if:\n properties:\n kind:\n const: bytes\n then:\n $ref: "schema:ethdebug/format/type/elementary/bytes"\n\n - if:\n properties:\n kind:\n const: string\n then:\n $ref: "schema:ethdebug/format/type/elementary/string"\n\n - if:\n properties:\n kind:\n const: ufixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/ufixed"\n\n - if:\n properties:\n kind:\n const: fixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/fixed"\n - if:\n properties:\n kind:\n const: address\n then:\n $ref: "schema:ethdebug/format/type/elementary/address"\n\n - if:\n properties:\n kind:\n const: contract\n then:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n\n - if:\n properties:\n kind:\n const: enum\n then:\n $ref: "schema:ethdebug/format/type/elementary/enum"\n\n$defs:\n Kind:\n title: Known elementary kind\n description:\n A schema for the values of `kind` reserved for known elementary types\n included in ethdebug/format\n type: string\n enum:\n - uint\n - int\n - bool\n - bytes\n - string\n - ufixed\n - fixed\n - address\n - contract\n - enum\n',"schema:ethdebug/format/type/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/reference"\n\ntitle: ethdebug/format/type/reference\ndescription: A reference to a known type by ID\ntype: object\nproperties:\n id:\n type:\n - string\n - number\nadditionalProperties: false\nrequired:\n - id\nexamples:\n - id: 5\n',"schema:ethdebug/format/type/wrapper":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/wrapper"\n\ntitle: ethdebug/format/type/wrapper\ndescription:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\ntype: object\nproperties:\n type:\n # Discriminate between reference and type based on presence of `id`\n if:\n required:\n - id\n then:\n $ref: "schema:ethdebug/format/type/reference"\n else:\n $ref: "schema:ethdebug/format/type"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n id: "<opaque-id>"\n\n$defs:\n Array:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "schema:ethdebug/format/type/wrapper"\n\n Object:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "schema:ethdebug/format/type/wrapper"\n',"schema:ethdebug/format/type":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type"\n\ntitle: ethdebug/format/type\ndescription:\n Canonical representation for all types.\ntype: object\n\nif:\n type: object\n title: Known kind\n description:\n If `kind` adheres to the set of known kinds defined by this format\n properties:\n kind:\n anyOf:\n - $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n - $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n\nthen:\n type: object\n title: KnownType\n description:\n Then the object must adhere to exactly one known kind of type\n allOf:\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/elementary"\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/complex"\n\nelse:\n type: object\n description:\n Else the object must be a valid **ethdebug/format/type/base** with\n additional constraints\n allOf:\n - $ref: "schema:ethdebug/format/type/base"\n - title: Required `class` field\n required:\n - class\n - title: Specialized complex type `contains` field\n type: object\n if:\n description:\n If this object is a complex type\n properties:\n class:\n const: complex\n then:\n description:\n Then the `contains` field must adhere to\n **ethdebug/format/type/wrapper** schemas, not the\n **ethdebug/format/type/base** equivalent.\n\n (i.e., these additional constraints must apply recursively)\n properties:\n contains:\n oneOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Array"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Object"\n'}},64223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ui});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>C,commaOrSpaceSeparated:()=>j,commaSeparated:()=>P,number:()=>O,overloadedBoolean:()=>$,spaceSeparated:()=>A});var o={};n.r(o),n.d(o,{attentionMarkers:()=>fn,contentInitial:()=>on,disable:()=>dn,document:()=>rn,flow:()=>an,flowInitial:()=>sn,insideSpan:()=>ln,string:()=>un,text:()=>cn});var i=n(2784),s=n(70056),a=n.n(s),u=n(84560),c=n.n(u),l=n(77336),f=n(82009),d=n(99372);const h={"schema:ethdebug/format/type/base":{title:"ethdebug/format/type/base schema",href:"/spec/type/base"},"schema:ethdebug/format/type/base#/$defs/TypeWrapper":{title:"Base type wrapper schema",href:"/spec/type/base#base-type-wrapper-schema"},"schema:ethdebug/format/type/wrapper":{title:"Type wrapper schema",href:"/spec/type/concepts#type-wrapper-schema"},"schema:ethdebug/format/type/reference":{title:"Type reference schema",href:"/spec/type/concepts#type-reference-schema"},"schema:ethdebug/format/type/definition":{title:"Type definition schema",href:"/spec/type/concepts#type-definition-schema"},"schema:ethdebug/format/type":{href:"/spec/type"},"schema:ethdebug/format/type/elementary":{href:"/spec/type#elementary-type-schema"},"schema:ethdebug/format/type/complex":{href:"/spec/type#complex-type-schema"},...["uint","int","ufixed","fixed","bool","bytes","string","address","contract","enum"].map((e=>({[`schema:ethdebug/format/type/elementary/${e}`]:{href:`/spec/type/elementary/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["alias","tuple","array","mapping","struct","function"].map((e=>({[`schema:ethdebug/format/type/complex/${e}`]:{href:`/spec/type/complex/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/type/complex/function#/$defs/Parameters":{title:"Parameters schema",href:"/spec/type/complex/function#parameters-schema"},"schema:ethdebug/format/pointer":{href:"/spec/pointer"},"schema:ethdebug/format/pointer/region":{href:"/spec/pointer/region"},"schema:ethdebug/format/pointer/region/base":{href:"/spec/pointer/region/base"},...["stack","memory","storage","calldata","returndata","transient","code"].map((e=>({[`schema:ethdebug/format/pointer/region/${e}`]:{href:`/spec/pointer/region/location/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["slice","segment"].map((e=>({[`schema:ethdebug/format/pointer/scheme/${e}`]:{href:`/spec/pointer/region/scheme/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/collection":{href:"/spec/pointer/collection"},...["group","list","conditional","scope"].map((e=>({[`schema:ethdebug/format/pointer/collection/${e}`]:{href:`/spec/pointer/collection/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/expression":{href:"/spec/pointer/expression"},"schema:ethdebug/format/pointer/template":{href:"/spec/pointer/template"},...Object.entries({Literal:{title:"Literal values schema",anchor:"#literal-values"},Variable:{title:"Variable expression schema",anchor:"#variables"},Arithmetic:{title:"Arithmetic operation expression schema",anchor:"#arithmetic-operations"},Lookup:{title:"Lookup expression schema",anchor:"#lookup-region-definition"},Read:{title:"Read expression schema",anchor:"#reading-from-the-evm"},Keccak256:{title:"Keccak256 hash expression schema",anchor:"#keccak256-hashes"},Resize:{title:"Resize operation schema",anchor:"#resize-operations"},Reference:{title:"Region reference",anchor:"#region-references"}}).map((e=>{let[t,{title:n,anchor:r}]=e;return{[`schema:ethdebug/format/pointer/expression#/$defs/${t}`]:{title:n,href:`/spec/pointer/expression${r}`}}})).reduce(((e,t)=>({...e,...t})),{}),...["hex","unsigned"].map((e=>({[`schema:ethdebug/format/data/${e}`]:{href:`/spec/data/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/materials/id":{title:"Identifier schema",href:"/spec/materials/id#identifier-schema"},"schema:ethdebug/format/materials/reference":{title:"Identifier schema",href:"/spec/materials/id#reference-schema"},"schema:ethdebug/format/materials/compilation":{title:"Compilation schema",href:"/spec/materials/compilation"},"schema:ethdebug/format/materials/source":{title:"Source schema",href:"/spec/materials/source"}};var p=n(35849);const m=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y={};function v(e,t){return((t||y).jsx?g:m).test(e)}const b=/[ \t\n\f\r]/g;function _(e){return""===e.replace(b,"")}class w{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function E(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new w(n,r,t)}function k(e){return e.toLowerCase()}w.prototype.property={},w.prototype.normal={},w.prototype.space=null;class x{constructor(e,t){this.property=e,this.attribute=t}}x.prototype.space=null,x.prototype.boolean=!1,x.prototype.booleanish=!1,x.prototype.overloadedBoolean=!1,x.prototype.number=!1,x.prototype.commaSeparated=!1,x.prototype.spaceSeparated=!1,x.prototype.commaOrSpaceSeparated=!1,x.prototype.mustUseProperty=!1,x.prototype.defined=!1;let D=0;const S=F(),C=F(),$=F(),O=F(),A=F(),P=F(),j=F();function F(){return 2**++D}const I=Object.keys(r);class N extends x{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<I.length;){const e=I[i];T(this,I[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}N.prototype.defined=!0;const M={}.hasOwnProperty;function R(e){const t={},n={};let r;for(r in e.properties)if(M.call(e.properties,r)){const o=e.properties[r],i=new N(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[k(r)]=r,n[k(i.attribute)]=r}return new w(t,n,e.space)}const B=R({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=R({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function U(e,t){return z(e,t.toLowerCase())}const q=R({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:U,properties:{xmlns:null,xmlnsXLink:null}}),V=R({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:C,ariaAutoComplete:null,ariaBusy:C,ariaChecked:C,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:C,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:C,ariaFlowTo:A,ariaGrabbed:C,ariaHasPopup:null,ariaHidden:C,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:O,ariaLive:null,ariaModal:C,ariaMultiLine:C,ariaMultiSelectable:C,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:C,ariaReadOnly:C,ariaRelevant:null,ariaRequired:C,ariaRoleDescription:A,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:C,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),Q=R({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:U,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P,acceptCharset:A,accessKey:A,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:A,autoFocus:S,autoPlay:S,blocking:A,capture:S,charSet:null,checked:S,cite:null,className:A,cols:O,colSpan:null,content:null,contentEditable:C,controls:S,controlsList:A,coords:O|P,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:$,draggable:C,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:A,height:O,hidden:S,high:O,href:null,hrefLang:null,htmlFor:A,httpEquiv:A,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:A,itemRef:A,itemScope:S,itemType:A,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:S,optimum:O,pattern:null,ping:A,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:A,required:S,reversed:S,rows:O,rowSpan:O,sandbox:A,scope:null,scoped:S,seamless:S,selected:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:C,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:C,width:O,wrap:null,align:null,aLink:null,archive:A,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:C,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:O,security:null,unselectable:null}}),X=R({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:z,properties:{about:j,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:A,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:P,g2:P,glyphName:P,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:A,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=E([L,B,q,V,Q],"html"),K=E([L,B,q,V,X],"svg"),J=/^data[-\w.:]+$/i,W=/-[a-z]/g,G=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const ee={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var te=n(63338);const ne=te.default||te,re=ie("end"),oe=ie("start");function ie(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function se(e){return e&&"object"==typeof e?"position"in e||"type"in e?ue(e.position):"start"in e||"end"in e?ue(e):"line"in e||"column"in e?ae(e):"":""}function ae(e){return ce(e&&e.line)+":"+ce(e&&e.column)}function ue(e){return ae(e&&e.start)+"-"+ae(e&&e.end)}function ce(e){return e&&"number"==typeof e?e:1}class le extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=se(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}le.prototype.file="",le.prototype.name="",le.prototype.reason="",le.prototype.message="",le.prototype.stack="",le.prototype.column=void 0,le.prototype.line=void 0,le.prototype.ancestors=void 0,le.prototype.cause=void 0,le.prototype.fatal=void 0,le.prototype.place=void 0,le.prototype.ruleId=void 0,le.prototype.source=void 0;const fe={}.hasOwnProperty,de=new Map,he=/[A-Z]/g,pe=/-([a-z])/g,me=new Set(["table","tbody","thead","tfoot","tr"]),ge=new Set(["td","th"]),ye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ve(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=oe(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?K:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=be(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function be(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=xe(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fe.call(t.properties,o)){const i=ke(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&ge.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ee(e,t);me.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_(t.value):_(t));var t})));return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}De(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:xe(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else De(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else De(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=Ee(e,t);return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);De(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return we(r,Ee(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function _e(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function we(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ee(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:de;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=be(e,i,s);void 0!==a&&n.push(a)}return n}function ke(e,t,n){const r=function(e,t){const n=k(t);let r=t,o=x;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(G,Z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=N}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){const n={};try{ne(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(pe,Ce)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)fe.call(e,n)&&(t[Se(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ee[r.property]||r.property:r.attribute,n]}}function xe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=v(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=v(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return fe.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);De(e)}function De(e,t){const n=new le("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Se(e){let t=e.replace(he,$e);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ce(e,t){return t.toUpperCase()}function $e(e){return"-"+e.toLowerCase()}const Oe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Ae=n(52322);const Pe={};function je(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fe(e.children,t,n)}return Array.isArray(e)?Fe(e,t,n):""}function Fe(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=je(e[o],t,n);return r.join("")}function Ie(e,t,n,r){const o=e.length;let i,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Ne(e,t){return e.length>0?(Ie(e,e.length,0,t),e):t}function Te(e){const t={};let n,r,o,i,s,a,u,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Me(e,c)),c=t[c],u=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),Ie(e,r,c-r+1,s))}}return!u}function Me(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,u=[],c={};let l,f,d=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e[++o][1]!==h;);i.push(o),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(l),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(m=d+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),d=g.length;d--;){const t=a.slice(g[d],g[d+1]),n=i.pop();u.unshift([n,n+t.length-1]),Ie(e,n,2,t)}for(d=-1;++d<u.length;)c[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return c}const Re={}.hasOwnProperty;function Be(e,t){let n;for(n in t){const r=(Re.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Re.call(r,i)||(r[i]=[]);const e=o[i];Le(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Le(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ie(e,0,0,r)}const ze=Ye(/\p{P}/u),Ue=Ye(/[A-Za-z]/),qe=Ye(/[\dA-Za-z]/),Ve=Ye(/[#-'*+\--9=?A-Z^-~]/);function Qe(e){return null!==e&&(e<32||127===e)}const Xe=Ye(/\d/),He=Ye(/[\dA-Fa-f]/),Ke=Ye(/[!-/:-@[-`{-~]/);function Je(e){return null!==e&&e<-2}function We(e){return null!==e&&(e<0||32===e)}function Ge(e){return-2===e||-1===e||32===e}const Ze=Ye(/\s/);function Ye(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function et(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const tt={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Je(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const nt={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,u,c)(r)}return c(r)}function u(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(s);let a=n;for(;a<t.events.length;)t.events[a][1].end=Object.assign({},o),a++;return Ie(t.events,i+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(o){if(s===n.length){if(!r)return d(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(rt,l,f)(o)}function l(e){return r&&v(),y(s),d(e)}function f(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,p(e)}function d(n){return t.containerState={},e.attempt(rt,h,p)(n)}function h(e){return s++,n.push([t.currentConstruct,t.containerState]),d(e)}function p(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):Je(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function g(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(s),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},a),e++;Ie(t.events,u+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},rt={tokenize:function(e,t,n){return et(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ot={tokenize:function(e,t,n){return function(t){return Ge(t)?et(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const it={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Te(e),e}},st={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const at={tokenize:function(e){const t=this,n=e.attempt(ot,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,et(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ut={resolveAll:dt()},ct=ft("string"),lt=ft("text");function ft(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return u(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:dt("text"===e?ht:void 0)}}function dt(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ht(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,u=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)i=!0,u++;else if(-1!==e){s++;break}}if(u){const o={type:n===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function pt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mt(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let s=[],a=[],u=!0;const c={consume:function(e){Je(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,u=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=p(),l.events.push(["exit",t,l]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(y),interrupt:v(y,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(h(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,_()},write:function(e){if(s=Ne(s,e),m(),null!==s[s.length-1])return[];return b(t,0),l.events=pt(i,l.events,l),l.events}};let f,d=t.tokenize.call(l,c);return t.resolveAll&&i.push(t),l;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){u=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let s,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return s=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){h=function(){const e=p(),t=l.previous,n=l.currentConstruct,o=l.events.length,i=Array.from(a);return{restore:s,from:o};function s(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=o,a=i,_()}}(),d=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,y,v)(n)}}function y(t){return u=!0,e(d,h),o}function v(e){return u=!0,h.restore(),++f<s.length?g(s[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Ie(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function _(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const gt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ge(t)?et(e,i,"whitespace")(t):i(t))}}};const yt={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(gt,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:c,e.attempt(vt,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return Ge(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,et(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Ge(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,et(e,e.attempt(yt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},vt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return!Ge(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},bt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _t={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Ge(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Ge(t))return et(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_t,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function wt(e,t,n,r,o,i,s,a,u){const c=u||Number.POSITIVE_INFINITY;let l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||32===t||41===t||Qe(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Je(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(o){return l||null!==o&&41!==o&&!We(o)?l<c&&40===o?(e.consume(o),l++,p):41===o?(e.consume(o),l--,p):null===o||32===o||40===o||Qe(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Et(e,t,n,r,o,i){const s=this;let a,u=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(f){return u>999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Je(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||Je(t)||u++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Ge(t)),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,l):l(t)}}function kt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),u(n))}function u(t){return t===s?(e.exit(i),a(s)):null===t?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Je(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?l:c)}function l(t){return t===s||92===t?(e.consume(t),c):c(t)}}function xt(e,t){let n;return function r(o){if(Je(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Ge(o))return et(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Et.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return We(t)?xt(e,a)(t):a(t)}function a(t){return wt(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ct,c,c)(t)}function c(t){return Ge(t)?et(e,l,"whitespace")(t):l(t)}function l(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ct={tokenize:function(e,t,n){return function(t){return We(t)?xt(e,r)(t):n(t)};function r(t){return kt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ge(t)?et(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const $t={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),et(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt(Ot,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},Ot={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):et(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}},partial:!0};const At={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||We(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):Ge(n)?et(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||We(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ie(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Pt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ge(t)?et(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const jt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ft=["pre","script","style","textarea"],It={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,s,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ue(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function l(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a=0,d):Ue(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:S:d):n(o)}function h(t){return Ue(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||We(a)){const u=47===a,c=s.toLowerCase();return u||i||!Ft.includes(c)?jt.includes(s.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):S(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):y(a)):(o=1,r.interrupt?t(a):S(a))}return 45===a||qe(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return Ge(t)?(e.consume(t),g):x(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||Ue(t)?(e.consume(t),v):Ge(t)?(e.consume(t),y):x(t)}function v(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):Ge(t)?(e.consume(t),b):y(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):Ge(t)?(e.consume(t),_):E(t)}function w(t){return t===u?(e.consume(t),u=null,k):null===t||Je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||We(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Ge(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||Je(t)?S(t):Ge(t)?(e.consume(t),D):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),F):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Nt,T,C)(t))}function C(t){return e.check(Tt,$,T)(t)}function $(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),S(t))}function A(t){return 45===t?(e.consume(t),I):S(t)}function P(t){return 47===t?(e.consume(t),s="",j):S(t)}function j(t){if(62===t){const n=s.toLowerCase();return Ft.includes(n)?(e.consume(t),N):S(t)}return Ue(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),j):S(t)}function F(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),I):S(t)}function N(t){return null===t||Je(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),N)}function T(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Nt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}},partial:!0},Tt={tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Mt={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Rt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Ge(t)?et(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===i?(o++,e.consume(t),l):o>=a?(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===i?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(n))}function l(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ge(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),et(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),l)}function f(t){return null===t||Je(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ge(t)?et(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||Je(t)?e.check(Mt,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Bt=document.createElement("i");function Lt(e){const t="&"+e+";";Bt.innerHTML=t;const n=Bt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const zt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,i=qe,c(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=He,c):(e.enter("characterReferenceValue"),o=7,i=Xe,c(t))}function c(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==qe||Lt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),c):n(a)}}};const Ut={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Ke(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const qt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}}};const Vt={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){if(!o)return n(t);if(o._inactive)return l(t);return i=r.parser.defined.includes(Dt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Qt,c,i?c:l)(t):91===t?e.attempt(Xt,c,i?u:l)(t):i?c(t):l(t)}function u(t){return e.attempt(Ht,c,l)(t)}function c(e){return t(e)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},l={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",u,t],["enter",c,t]],i=Ne(i,e.slice(r+1,r+a+3)),i=Ne(i,[["enter",l,t]]),i=Ne(i,pt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Ne(i,[["exit",l,t],e[o-2],e[o-1],["exit",c,t]]),i=Ne(i,e.slice(o+1)),i=Ne(i,[["exit",u,t]]),Ie(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Qt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return We(t)?xt(e,o)(t):o(t)}function o(t){return 41===t?c(t):wt(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return We(t)?xt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?kt(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function u(t){return We(t)?xt(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xt={tokenize:function(e,t,n){const r=this;return function(t){return Et.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Ht={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Kt={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};function Jt(e){return null===e||We(e)||Ze(e)?1:function(e){return Ke(e)||ze(e)}(e)?2:void 0}const Wt={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Jt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const u=e.exit("attentionSequence"),c=Jt(a),l=!c||2===c&&o||n.includes(a),f=!o||2===o&&c||n.includes(r);return u._open=Boolean(42===i?l:l&&(o||!f)),u._close=Boolean(42===i?f:f&&(c||!l)),t(a)}},resolveAll:function(e,t){let n,r,o,i,s,a,u,c,l=-1;for(;++l<e.length;)if("enter"===e[l][0]&&"attentionSequence"===e[l][1].type&&e[l][1]._close)for(n=l;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[l][1]).charCodeAt(0)){if((e[n][1]._close||e[l][1]._open)&&(e[l][1].end.offset-e[l][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[l][1].end.offset-e[l][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Gt(f,-a),Gt(d,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Ne(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Ne(u,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),u=Ne(u,pt(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),u=Ne(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,u=Ne(u,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,Ie(e,n-1,l-n+3,u),l=n+u.length-c-2;break}l=-1;for(;++l<e.length;)"attentionSequence"===e[l][1].type&&(e[l][1].type="data");return e}};function Gt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Zt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ue(t)?(e.consume(t),i):u(t)}function i(e){return 43===e||45===e||46===e||qe(e)?(r=1,s(e)):u(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||qe(t))&&r++<32?(e.consume(t),s):(r=0,u(t))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Qe(r)?n(r):(e.consume(r),a)}function u(t){return 64===t?(e.consume(t),c):Ve(t)?(e.consume(t),u):n(t)}function c(e){return qe(e)?l(e):n(e)}function l(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||qe(t))&&r++<63){const n=45===t?f:l;return e.consume(t),n}return n(t)}}};const Yt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),v):Ue(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):Ue(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function l(t){return null===t?n(t):45===t?(e.consume(t),f):Je(t)?(s=l,j(t)):(e.consume(t),l)}function f(t){return 45===t?(e.consume(t),d):l(t)}function d(e){return 62===e?P(e):45===e?f(e):l(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Je(t)?(s=p,j(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?P(t):93===t?(e.consume(t),g):p(t)}function y(t){return null===t||62===t?P(t):Je(t)?(s=y,j(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Je(t)?(s=v,j(t)):(e.consume(t),v)}function b(e){return 62===e?P(e):v(e)}function _(t){return Ue(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||qe(t)?(e.consume(t),w):E(t)}function E(t){return Je(t)?(s=E,j(t)):Ge(t)?(e.consume(t),E):P(t)}function k(t){return 45===t||qe(t)?(e.consume(t),k):47===t||62===t||We(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),P):58===t||95===t||Ue(t)?(e.consume(t),D):Je(t)?(s=x,j(t)):Ge(t)?(e.consume(t),x):P(t)}function D(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),D):S(t)}function S(t){return 61===t?(e.consume(t),C):Je(t)?(s=S,j(t)):Ge(t)?(e.consume(t),S):x(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,$):Je(t)?(s=C,j(t)):Ge(t)?(e.consume(t),C):(e.consume(t),O)}function $(t){return t===o?(e.consume(t),o=void 0,A):null===t?n(t):Je(t)?(s=$,j(t)):(e.consume(t),$)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||We(t)?x(t):(e.consume(t),O)}function A(e){return 47===e||62===e||We(e)?x(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function j(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return Ge(t)?et(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),s(t)}}};const en={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};const tn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const nn={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||Je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",u(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const rn={42:yt,43:yt,45:yt,48:yt,49:yt,50:yt,51:yt,52:yt,53:yt,54:yt,55:yt,56:yt,57:yt,62:_t},on={91:St},sn={[-2]:$t,[-1]:$t,32:$t},an={35:At,42:gt,45:[Pt,gt],60:It,61:Pt,95:gt,96:Rt,126:Rt},un={38:zt,92:Ut},cn={[-5]:qt,[-4]:qt,[-3]:qt,33:Kt,38:zt,42:Wt,60:[Zt,Yt],91:en,92:[tn,Ut],93:Vt,95:Wt,96:nn},ln={null:[Wt,ut]},fn={null:[42,95]},dn={null:[]};function hn(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Be(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:r(tt),document:r(nt),flow:r(at),string:r(ct),text:r(lt)};return n;function r(e){return function(t){return mt(n,e,t)}}}const pn=/[\0\t\n\r]/g;function mn(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mn(n.slice(t?2:1),t?16:10)}return Lt(n)||e}const vn={}.hasOwnProperty;function bn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:D,autolinkEmail:D,atxHeading:i(W),blockQuote:i(Q),characterEscape:D,characterReference:D,codeFenced:i(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(X,s),codeText:i(H,s),codeTextData:D,data:D,codeFlowValue:D,definition:i(K),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(J),hardBreakEscape:i(G),hardBreakTrailing:i(G),htmlFlow:i(Z,s),htmlFlowData:D,htmlText:i(Z,s),htmlTextData:D,image:i(Y),label:s,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:B,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(W),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:S,codeIndented:u(y),codeText:u(P),codeTextData:S,data:S,definition:u(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u($),hardBreakTrailing:u($),htmlFlow:u(O),htmlFlowData:S,htmlText:u(A),htmlTextData:S,image:u(F),label:N,labelText:I,lineEnding:C,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:L,resourceDestinationString:T,resourceTitleString:M,resource:R,setextHeading:u(x),setextHeadingLineSequence:k,setextHeadingText:E,strong:u(),thematicBreak:u()}};wn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:s,resume:l,data:n},u=[];let f=-1;for(;++f<e.length;)if("listOrdered"===e[f][1].type||"listUnordered"===e[f][1].type)if("enter"===e[f][0])u.push(f);else{f=o(e,u.pop(),f)}for(f=-1;++f<e.length;){const n=t[e[f][0]];vn.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},i),e[f][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||kn).call(i,void 0,e[0])}for(r.position={start:_n(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_n(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)r=t.transforms[f](r)||r;return r}function o(e,t,n){let r,o,i,s,a=t-1,u=-1,c=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:_n(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||kn).call(this,e,r[0])}n.position.end=_n(e.end)}function l(){return function(e,t){const n=t||Pe;return je(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function p(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function v(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase()}function b(){const e=this.resume();this.stack[this.stack.length-1].title=e}function _(){const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function k(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function D(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ie(),n.position={start:_n(e.start),end:void 0},t.push(n)),this.stack.push(n)}function S(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=_n(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=_n(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(D.call(this,e),S.call(this,e))}function $(){this.data.atHardBreak=!0}function O(){const e=this.resume();this.stack[this.stack.length-1].value=e}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function j(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function F(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(gn,yn)}(t),n.identifier=Dt(t).toLowerCase()}function N(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function T(){const e=this.resume();this.stack[this.stack.length-1].url=e}function M(){const e=this.resume();this.stack[this.stack.length-1].title=e}function R(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function L(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function U(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=mn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Lt(t)}const o=this.stack.pop();o.value+=r,o.position.end=_n(e.end)}function q(e){S.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function V(e){S.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function H(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function W(){return{type:"heading",depth:0,children:[]}}function G(){return{type:"break"}}function Z(){return{type:"html",value:""}}function Y(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Te(e););return e}(hn(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let u,c,l,f,d;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),l=0,n="",r&&(65279===o.charCodeAt(0)&&l++,r=void 0);l<o.length;){if(pn.lastIndex=l,u=pn.exec(o),f=u&&void 0!==u.index?u.index:o.length,d=o.charCodeAt(f),!u){n=o.slice(l);break}if(10===d&&l===f&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),l<f&&(a.push(o.slice(l,f)),t+=f-l),d){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function _n(e){return{line:e.line,column:e.column,offset:e.offset}}function wn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?wn(e,r):En(e,r)}}function En(e,t){let n;for(n in t)if(vn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function kn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is still open")}function xn(e){const t=this;t.parser=function(n){return bn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Dn="object"==typeof self?self:globalThis,Sn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new Dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Dn[i](s),o)};return r})(new Map,e)(0),Cn="",{toString:$n}={},{keys:On}=Object,An=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=$n.call(e).slice(8,-1);switch(n){case"Array":return[1,Cn];case"Object":return[2,Cn];case"Date":return[3,Cn];case"RegExp":return[4,Cn];case"Map":return[5,Cn];case"Set":return[6,Cn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Pn=([e,t])=>0===e&&("function"===t||"symbol"===t),jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=An(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],u=o([s,n],r);for(const t of On(r))!e&&Pn(An(r[t]))||n.push([i(t),i(r[t])]);return u}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Pn(An(o))&&!Pn(An(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Pn(An(o))||t.push(i(o));return n}}const{message:u}=r;return o([s,{name:a,message:u}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Fn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Sn(jn(e,t)):structuredClone(e):(e,t)=>Sn(jn(e,t));function In(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&qe(e.charCodeAt(n+1))&&qe(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Nn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Tn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Bn;if("function"==typeof e)return Rn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mn(e[n]);return Rn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Rn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Rn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Rn(e){return function(t,n,r){return Boolean(Ln(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Bn(){return!0}function Ln(e){return null!==e&&"object"==typeof e&&"type"in e}const zn=[],Un=!0,qn=!1,Vn="skip";function Qn(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Mn(o),s=r?-1:1;!function e(o,a,u){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(l,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return l;function l(){let c,l,f,d=zn;if((!t||i(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Un,e];return null==e?zn:[e]}(n(o,u)),d[0]===qn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==Vn)for(l=(r?t.children.length:-1)+s,f=u.concat(t);l>-1&&l<t.children.length;){const n=t.children[l];if(c=e(n,l,f)(),c[0]===qn)return c;l="number"==typeof c[1]?c[1]:l+s}}return d}}(e,void 0,[])()}function Xn(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),Qn(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}),o)}function Hn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function Kn(e){const t=e.spread;return null==t?e.children.length>1:t}const Jn=9,Wn=32;function Gn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Zn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zn(t.slice(o),o>0,!1)),i.join("")}function Zn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Jn||t===Wn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Jn||t===Wn;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yn={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=In(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={src:In(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:In(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={href:In(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:In(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Kn(n[r])}return t}(n):Kn(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const u=r[r.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&s.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=oe(t.children[1]),s=re(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const u=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Gn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:er,yaml:er,definition:er,footnoteDefinition:er};function er(){}const tr={}.hasOwnProperty,nr={};function rr(e,t){e.position&&(t.position=function(e){const t=oe(e),n=re(e);if(t&&n)return{start:t,end:n}}(e))}function or(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Fn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ir(e,t){const n=t.data||{},r=!("value"in t)||tr.call(n,"hProperties")||tr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function sr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ar(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ur(e,t){const n=function(e,t){const n=t||nr,r=new Map,o=new Map,i=new Map,s={...Yn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=ar(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=ar(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:or,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(tr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Fn(n);return r.children=a.all(e),r}return Fn(e)}return(a.options.unknownHandler||ir)(a,e,t)},options:n,patch:rr,wrap:sr};return Xn(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nn,r=e.options.footnoteBackLabel||Tn,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),c=In(s.toLowerCase());let l=0;const f=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++l<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,l);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else i.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function cr(e,t){return e&&"run"in e?async function(n,r){const o=ur(n,t);await e.run(o,r)}:function(n){return ur(n,t||e)}}function lr(e){if(e)throw e}var fr=n(49385);function dr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let u=-1;if(i)r(i);else{for(;++u<t.length;)null!==s[u]&&void 0!==s[u]||(s[u]=t[u]);t=s,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a instanceof Promise?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const pr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(mr(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){mr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)mr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){mr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else{if(47===n)break;n=47}if(47===n){if(s===u-1||1===a);else if(s!==u-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=u,a=0;continue}}else if(o.length>0){o="",i=0,s=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,u):o=e.slice(s+1,u),i=u-s-1;s=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function mr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gr={cwd:function(){return"/"}};function yr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function vr(e){if("string"==typeof e)e=new URL(e);else if(!yr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const br=["history","path","basename","stem","extname","dirname"];class _r{constructor(e){let t;t=e?yr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=gr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<br.length;){const e=br[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)br.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?pr.basename(this.path):void 0}set basename(e){Er(e,"basename"),wr(e,"basename"),this.path=pr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?pr.dirname(this.path):void 0}set dirname(e){kr(this.basename,"dirname"),this.path=pr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?pr.extname(this.path):void 0}set extname(e){if(wr(e,"extname"),kr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=pr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){yr(e)&&(e=vr(e)),Er(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?pr.basename(this.path,this.extname):void 0}set stem(e){Er(e,"stem"),wr(e,"stem"),this.path=pr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new le(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function wr(e,t){if(e&&e.includes(pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+pr.sep+"`")}function Er(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function kr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const xr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,t);const o=Object.getOwnPropertyNames(n);for(const i of o){const e=Object.getOwnPropertyDescriptor(n,i);e&&Object.defineProperty(r,i,e)}return r},Dr={}.hasOwnProperty;class Sr extends xr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=hr()}copy(){const e=new Sr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(fr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ar("data",this.frozen),this.namespace[e]=t,this):Dr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ar("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Fr(e),n=this.parser||this.Parser;return $r("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),$r("process",this.parser||this.Parser),Or("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=Fr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,(function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),$r("processSync",this.parser||this.Parser),Or("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,lr(e),t=r})),jr("processSync","process",n),t}run(e,t,n){Pr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=Fr(t);r.run(e,s,(function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){lr(e),n=t,r=!0})),jr("runSync","run",r),n}stringify(e,t){this.freeze();const n=Fr(t),r=this.compiler||this.Compiler;return Or("stringify",r),Pr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Ar("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(r.settings=fr(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];dr(s)&&dr(r)&&(r=fr(!0,s,r)),n[o]=[e,r,...i]}}}}const Cr=(new Sr).freeze();function $r(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Or(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ar(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pr(e){if(!dr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _r(e)}const Ir=[],Nr={allowDangerousHtml:!0},Tr=/^(https?|ircs?|mailto|xmpp)$/i,Mr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Rr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,a=e.rehypePlugins||Ir,u=e.remarkPlugins||Ir,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nr}:Nr,l=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Br,h=Cr().use(xn).use(u).use(cr,c).use(a),p=new _r;"string"==typeof r&&(p.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=h.parse(p);let g=h.runSync(m,p);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Xn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return l?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in Oe)if(Object.hasOwn(Oe,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Oe[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return f&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),ve(g,{Fragment:Ae.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ae.jsx,jsxs:Ae.jsxs,passKeys:!0,passNode:!0})}function Br(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tr.test(e.slice(0,t))?e:""}function Lr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,d.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,s=i&&n?`${i}${n}`:i||void 0;return(0,Ae.jsxs)(l.default,{groupId:"schema-language",children:[(0,Ae.jsx)(f.default,{value:"yaml",label:"YAML",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:s||"schema.yaml",children:o})}),(0,Ae.jsx)(f.default,{value:"json",label:"JSON",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"json",showLineNumbers:!0,title:s?`${s}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(n),!0).forEach((function(t){Xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jr(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}function Wr(e){return{}.toString.call(e).includes("Object")}function Gr(e){return"function"==typeof e}var Zr=Jr((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),Yr={changes:function(e,t){return Wr(t)||Zr("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&Zr("changeField"),t},selector:function(e){Gr(e)||Zr("selectorType")},handler:function(e){Gr(e)||Wr(e)||Zr("handlerType"),Wr(e)&&Object.values(e).some((function(e){return!Gr(e)}))&&Zr("handlersType")},initial:function(e){var t;e||Zr("initialIsRequired"),Wr(e)||Zr("initialType"),t=e,Object.keys(t).length||Zr("initialContent")}};function eo(e,t){return Gr(t)?t(e.current):t}function to(e,t){return e.current=Kr(Kr({},e.current),t),t}function no(e,t,n){return Gr(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}const ro={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yr.initial(e),Yr.handler(t);var n={current:e},r=Jr(no)(n,t),o=Jr(to)(n),i=Jr(Yr.changes)(e),s=Jr(eo)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Yr.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}(r,o,i,s)(e)}]}};const oo={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};const io=function(e){return{}.toString.call(e).includes("Object")};var so={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},ao=function(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}((function(e,t){throw new Error(e[t]||e.default)}))(so),uo={config:function(e){return e||ao("configIsRequired"),io(e)||ao("configType"),e.urls?(console.warn(so.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};const co=uo;const lo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};const fo=function e(t,n){return Object.keys(n).forEach((function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))})),qr(qr({},t),n)};var ho={type:"cancelation",msg:"operation is manually canceled"};const po=function(e){var t=!1,n=new Promise((function(n,r){e.then((function(e){return t?r(ho):n(e)})),e.catch(r)}));return n.cancel=function(){return t=!0},n};var mo,go,yo=ro.create({config:oo,isInitialized:!1,resolve:null,reject:null,monaco:null}),vo=(go=2,function(e){if(Array.isArray(e))return e}(mo=yo)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(mo,go)||function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qr(e,t):void 0}}(mo,go)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),bo=vo[0],_o=vo[1];function wo(e){return document.body.appendChild(e)}function Eo(e){var t=bo((function(e){return{config:e.config,reject:e.reject}})),n=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ko(){var e=bo((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){xo(t),e.resolve(t)}),(function(t){e.reject(t)}))}function xo(e){bo().monaco||_o({monaco:e})}var Do=new Promise((function(e,t){return _o({resolve:e,reject:t})})),So={config:function(e){var t=co.config(e),n=t.monaco,r=Vr(t,["monaco"]);_o((function(e){return{config:fo(e.config,r),monaco:n}}))},init:function(){var e=bo((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(_o({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),po(Do);if(window.monaco&&window.monaco.editor)return xo(window.monaco),e.resolve(window.monaco),po(Do);lo(wo,Eo)(ko)}return po(Do)},__getMonacoInstance:function(){return bo((function(e){return e.monaco}))}};const Co=So;var $o={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},Oo={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var Ao=function({children:e}){return i.createElement("div",{style:Oo.container},e)};var Po=function({width:e,height:t,isEditorReady:n,loading:r,_ref:o,className:s,wrapperProps:a}){return i.createElement("section",{style:{...$o.wrapper,width:e,height:t},...a},!n&&i.createElement(Ao,null,r),i.createElement("div",{ref:o,style:{...$o.fullWidth,...!n&&$o.hide},className:s}))},jo=(0,i.memo)(Po);var Fo=function(e){(0,i.useEffect)(e,[])};var Io=function(e,t,n=!0){let r=(0,i.useRef)(!0);(0,i.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function No(){}function To(e,t,n,r){return function(e,t){return e.editor.getModel(Mo(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Mo(e,r):void 0)}(e,t,n,r)}function Mo(e,t){return e.Uri.parse(t)}var Ro=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:s,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:c=!1,theme:l="light",loading:f="Loading...",options:d={},height:h="100%",width:p="100%",className:m,wrapperProps:g={},beforeMount:y=No,onMount:v=No}){let[b,_]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!0),k=(0,i.useRef)(null),x=(0,i.useRef)(null),D=(0,i.useRef)(null),S=(0,i.useRef)(v),C=(0,i.useRef)(y),$=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(x.current=e)&&E(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?function(){let e=k.current?.getModel();u||e?.original?.dispose(),c||e?.modified?.dispose(),k.current?.dispose()}():e.cancel()})),Io((()=>{if(k.current&&x.current){let t=k.current.getOriginalEditor(),o=To(x.current,e||"",r||n||"text",s||"");o!==t.getModel()&&t.setModel(o)}}),[s],b),Io((()=>{if(k.current&&x.current){let e=k.current.getModifiedEditor(),r=To(x.current,t||"",o||n||"text",a||"");r!==e.getModel()&&e.setModel(r)}}),[a],b),Io((()=>{let e=k.current.getModifiedEditor();e.getOption(x.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Io((()=>{k.current?.getModel()?.original.setValue(e||"")}),[e],b),Io((()=>{let{original:e,modified:t}=k.current.getModel();x.current.editor.setModelLanguage(e,r||n||"text"),x.current.editor.setModelLanguage(t,o||n||"text")}),[n,r,o],b),Io((()=>{x.current?.editor.setTheme(l)}),[l],b),Io((()=>{k.current?.updateOptions(d)}),[d],b);let O=(0,i.useCallback)((()=>{if(!x.current)return;C.current(x.current);let i=To(x.current,e||"",r||n||"text",s||""),u=To(x.current,t||"",o||n||"text",a||"");k.current?.setModel({original:i,modified:u})}),[n,t,o,e,r,s,a]),A=(0,i.useCallback)((()=>{!$.current&&D.current&&(k.current=x.current.editor.createDiffEditor(D.current,{automaticLayout:!0,...d}),O(),x.current?.editor.setTheme(l),_(!0),$.current=!0)}),[d,l,O]);return(0,i.useEffect)((()=>{b&&S.current(k.current,x.current)}),[b]),(0,i.useEffect)((()=>{!w&&!b&&A()}),[w,b,A]),i.createElement(jo,{width:p,height:h,isEditorReady:b,loading:f,_ref:D,className:m,wrapperProps:g})};(0,i.memo)(Ro);var Bo=function(){let[e,t]=(0,i.useState)(Co.__getMonacoInstance());return Fo((()=>{let n;return e||(n=Co.init(),n.then((e=>{t(e)}))),()=>n?.cancel()})),e};var Lo=function(e){let t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},zo=new Map;var Uo=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:o,path:s,theme:a="light",line:u,loading:c="Loading...",options:l={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:h=!1,width:p="100%",height:m="100%",className:g,wrapperProps:y={},beforeMount:v=No,onMount:b=No,onChange:_,onValidate:w=No}){let[E,k]=(0,i.useState)(!1),[x,D]=(0,i.useState)(!0),S=(0,i.useRef)(null),C=(0,i.useRef)(null),$=(0,i.useRef)(null),O=(0,i.useRef)(b),A=(0,i.useRef)(v),P=(0,i.useRef)(),j=(0,i.useRef)(r),F=Lo(s),I=(0,i.useRef)(!1),N=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(S.current=e)&&D(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>C.current?(P.current?.dispose(),h?d&&zo.set(s,C.current.saveViewState()):C.current.getModel()?.dispose(),void C.current.dispose()):e.cancel()})),Io((()=>{let i=To(S.current,e||r||"",t||o||"",s||n||"");i!==C.current?.getModel()&&(d&&zo.set(F,C.current?.saveViewState()),C.current?.setModel(i),d&&C.current?.restoreViewState(zo.get(s)))}),[s],E),Io((()=>{C.current?.updateOptions(l)}),[l],E),Io((()=>{!C.current||void 0===r||(C.current.getOption(S.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(N.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop(),N.current=!1))}),[r],E),Io((()=>{let e=C.current?.getModel();e&&o&&S.current?.editor.setModelLanguage(e,o)}),[o],E),Io((()=>{void 0!==u&&C.current?.revealLine(u)}),[u],E),Io((()=>{S.current?.editor.setTheme(a)}),[a],E);let T=(0,i.useCallback)((()=>{if($.current&&S.current&&!I.current){A.current(S.current);let i=s||n,c=To(S.current,r||e||"",t||o||"",i||"");C.current=S.current?.editor.create($.current,{model:c,automaticLayout:!0,...l},f),d&&C.current.restoreViewState(zo.get(i)),S.current.editor.setTheme(a),void 0!==u&&C.current.revealLine(u),k(!0),I.current=!0}}),[e,t,n,r,o,s,l,f,d,a,u]);return(0,i.useEffect)((()=>{E&&O.current(C.current,S.current)}),[E]),(0,i.useEffect)((()=>{!x&&!E&&T()}),[x,E,T]),j.current=r,(0,i.useEffect)((()=>{E&&_&&(P.current?.dispose(),P.current=C.current?.onDidChangeModelContent((e=>{N.current||_(C.current.getValue(),e)})))}),[E,_]),(0,i.useEffect)((()=>{if(E){let e=S.current.editor.onDidChangeMarkers((e=>{let t=C.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=S.current.editor.getModelMarkers({resource:t});w?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[E,w]),i.createElement(jo,{width:p,height:m,isEditorReady:E,loading:c,_ref:$,className:g,wrapperProps:y})},qo=(0,i.memo)(Uo),Vo=n(60361),Qo=n(43159),Xo=n.n(Qo),Ho=n(22038),Ko=n.n(Ho),Jo=n(404);function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wo.apply(this,arguments)}var Go={enum:1,type:0},Zo=/"/g,Yo=/NOT/g,ei=/\//g,ti=function(e){var t=e.value,n=e.suggestions,r=e.format,o=void 0===r?function(e){return"Did you mean '"+e+"'?"}:r;if(!t)return"";var i=n.reduce((function(e,n){var r=Ko()(t,n);return e.distance>r?{value:n,distance:r}:e}),{distance:1/0,value:""});return i.distance<t.length?o(i.value):""},ni=function(e){return e.split("/").pop()},ri=function(e){var t=e.object,n=e.pnter,r=e.fallback;try{return Jo.get(t,n)}catch(o){return r}},oi=function(e){var t=e.errors,n=e.data,r=e.schema,o=e.basePath,i=void 0===o?"{base}":o;if(!Array.isArray(t)||0===t.length)return[];var s=function(e){var t=e.reduce((function(e,t){var n,r,o,i,s,a,u=t.instancePath+(null!=(n=null!=(r=null==(o=t.params)?void 0:o.additionalProperty)?r:null==(i=t.params)?void 0:i.missingProperty)?n:""),c=e[u];return c?((null!=(s=Go[t.keyword])?s:0)>(null!=(a=Go[c.keyword])?a:0)&&(e[u]=t),e):(e[u]=t,e)}),{});return Object.values(t)}(t);return s.map((function(e){var t,o=(i+e.instancePath).replace(ei,"."),s=ni(e.instancePath),a={errorType:e.keyword},u=(s?"property '"+s+"'":o)+" "+e.message.replace(Zo,"'").replace(Yo,"not");switch(e.keyword){case"additionalProperties":var c=e.params.additionalProperty,l=e.schemaPath.replace("#","").replace("/additionalProperties",""),f=ri({object:r,pnter:l,fallback:{properties:{}}}).properties;t={message:"'"+c+"' property is not expected to be here",suggestion:ti({value:c,suggestions:Object.keys(null!=f?f:{}),format:function(e){return"Did you mean property '"+e+"'?"}}),path:o,context:a};break;case"enum":var d=e.params.allowedValues.map((function(e){return e.toString()})),h=ni(e.instancePath),p=ri({object:n,pnter:e.instancePath,fallback:""});t={message:"'"+h+"' property must be equal to one of the allowed values",suggestion:ti({value:p,suggestions:d}),path:o,context:Wo({},a,{allowedValues:e.params.allowedValues})};break;case"type":t={message:"'"+ni(e.instancePath)+"' property type must be "+e.params.type,path:o,context:a};break;case"required":t={message:o+" must have required property '"+e.params.missingProperty+"'",path:o,context:a};break;case"const":return{message:"'"+s+"' property must be equal to the allowed value",path:o,context:Wo({},a,{allowedValue:e.params.allowedValue})};default:return{message:u,path:o,context:a}}for(var m=0,g=Object.entries(t);m<g.length;m++){var y=g[m],v=y[0],b=y[1];null!=b&&""!==b||delete t[v]}return t}))},ii=n(4407),si=n.n(ii);function ai(e){const{schema:t}=(0,d.describeSchema)(e),{colorMode:n}=(0,Vo.I)(),r=t.examples?.[0]??{},o=(0,i.useRef)(null),s=Bo(),a=2,u=new(si())({schemas:Object.values(d.schemas),allErrors:!0,strict:!1}),[c,l]=(0,i.useState)(r),[f,h]=(0,i.useState)(!1);function p(e){console.error(e)}return(0,i.useEffect)((()=>{f&&function(){const t=u.getSchema(e.schema.id);if(!t)return p("Unable to validate schema");const n=function(){try{return Xo().parse(c,void 0,{tabWidth:a})}catch{return{data:"",pointers:{}}}}();t(n.data);const r=oi({schema:d.schemas[e.schema.id],data:n.data,errors:t.errors});console.log(r,t.errors),function(e,t){const n=o.current?.getModel();if(!n||!s)return p("Unable to validate schema");let r=[];if(e)for(const[o,i]of Object.entries(e)){let e=i.path.replace("{base}","").replace(/\./g,"/"),n=t.pointers[e],o=i.message.replace("{base}","").replace(/\./g,"/");"const"==i.context.errorType&&(o=`Expecting a constant value of "${i.context.allowedValue}"`),n&&o&&(r.push({startLineNumber:n.value.line+1,startColumn:n.value.column+1,endColumn:n.valueEnd.column+1,endLineNumber:n.valueEnd.line+1,message:o,severity:s.MarkerSeverity.Error}),n.key&&n.keyEnd&&r.push({startLineNumber:n.key.line+1,startColumn:n.key.column+1,endColumn:n.keyEnd.column+1,endLineNumber:n.keyEnd.line+1,message:o,severity:s.MarkerSeverity.Error}))}s.editor.setModelMarkers(n,"EthDebug",r)}(r,n)}()}),[c]),(0,Ae.jsx)("section",{className:"playground-container",children:(0,Ae.jsx)(qo,{height:"50vh",language:"json",theme:"dark"==n?"vs-dark":"vs-light",defaultValue:JSON.stringify(r,void 0,a),onChange:function(e){h(!0),l(e)},onMount:function(e){o.current=e},options:{contextmenu:!1,autoIndent:"advanced",tabSize:a}})})}function ui(e){const t=(0,d.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,s=ci(r,n||"");return(0,Ae.jsxs)(l.default,{children:[(0,Ae.jsx)(f.default,{value:"viewer",label:"Explore",children:(0,Ae.jsx)(p.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:h},children:(0,Ae.jsx)(a(),{schema:s,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,d.describeSchema)({schema:{id:t}});return ci(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Ae.jsx)("code",{children:t.toString()}):(0,Ae.jsx)(c(),{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Ae.jsx)(Rr,{children:t})}}})})}),(0,Ae.jsx)(f.default,{value:"listing",label:"View source",children:(0,Ae.jsx)(Lr,{schema:e.schema,pointer:e.pointer})}),(0,Ae.jsx)(f.default,{value:"playground",label:"Playground",children:(0,Ae.jsx)(ai,{schema:e.schema,pointer:e.pointer})})]})}function ci(e,t){return li(fi(e),`${t}#`)}function li(e,t){return Array.isArray(e)?e.map(((e,n)=>li(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=li(o,`${t}/${r}`),e}),{[p.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function fi(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(fi);if(1===Object.keys(e).length&&"$ref"in e)return e;const{$ref:t,...n}=e,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return e[n]=fi(r),e}),{});if(!t)return r;const o=["allOf","oneOf","anyOf"].find((t=>!(t in e)));if(!o)throw new Error(`Could not find available composition keyword in ${JSON.stringify(e)}`);return r[o]=[{$ref:t}],r}},35849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),s=Symbol("__$internalId")},94845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(51074),o=n(52322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,s=void 0!==t.dependentSchemas,a=void 0!==t.dependencies;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.IfElseThen,{schema:t}),i&&(0,o.jsx)(r.DependentRequired,{schema:t}),s&&(0,o.jsx)(r.DependentSchemas,{schema:t}),a&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},70213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(65296),o=n.n(r),i=n(77336),s=n(82009),a=n(94598),u=n(2204),c=n(52322);function l(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,c.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,c.jsx)("ul",{children:t.map(((e,t)=>(0,c.jsx)("li",{children:(0,c.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function d(e){const{schema:t}=e,n=function(e){const{allOf:t}=e;if(!t.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!t.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("properties"in t)||!t.properties)return!1;const n=t.properties;if(1!==Object.keys(n).length)return!1;const r=n[Object.keys(n)[0]];return"object"==typeof r&&"const"in r&&"string"==typeof r.const&&!!r.const})))return;const n=Object.keys(t[0].if.properties)[0],r=t.map(((e,t)=>{let{if:r,then:o}=e;return{[r.properties[n].const]:{schema:o,index:t}}})).reduce(((e,t)=>({...e,...t})),{});return Object.keys(r).length===t.length?{propertyName:n,schemasByConst:r}:void 0}(t);if(n)return(0,c.jsx)(l,{...n});const r=function(e){const{allOf:t}=e,[n,...r]=t;if("boolean"==typeof n||!("oneOf"in n))return;const{oneOf:o}=n;if(!o||!o.every((e=>"object"==typeof e&&"required"in e&&e.required instanceof Array&&1===e.required.length)))return;const i=o.map((e=>{let{required:[t]}=e;return t}));if(r.length!==i.length)return;if(!r.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!r.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("required"in t))return!1;const{required:n}=t;if(!n||1!==n.length)return!1;const[r]=n;return"string"==typeof r&&!!r})))return;return{propertyNames:i,schemasByPropertyName:r.map(((e,t)=>{let{if:{required:[n]},then:r}=e;return{[n]:{schema:r,index:t}}})).reduce(((e,t)=>({...e,...t})),{})}}(t);return r?(0,c.jsx)(f,{...r}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o(),{...e})})}},14130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});n(2784);var r=n(42360),o=n.n(r),i=n(94598),s=n(35849),a=n(27718),u=n(2204),c=n(77740),l=n(54884),f=n(52322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),{schemaIndex:d}=(0,s.J5)(),p=r,m=t,{documentation:g,semantics:y}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[s.D9]:i,...a}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:a}}(m);if(0===Object.keys(y).length||1===Object.keys(y).length&&"type"in y&&"object"==typeof p&&"type"in p&&("string"==typeof y.type&&y.type===p.type||y.type instanceof Array&&p.type instanceof Array&&y.type.length===p.type.length&&y.type.every((e=>p.type.includes(e))))){const{description:e}=g;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.QualifierMessages,{schema:g,options:o}),e&&(0,f.jsx)(l.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})]})}const{[s.D9]:v}=p;if(v&&v in d){const{href:e,title:t=`${v.startsWith("schema:")?v.slice(7):v} schema`}=d[v];return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 This schema extends the ",(0,f.jsx)(a.Z,{to:e,children:t}),".",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})})]})}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 These extensions apply to the base schema below:",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})}),(0,f.jsx)(u.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(c.GenerateFriendlyName,{schema:p})}),"\xa0",(0,f.jsx)("span",{className:"badge badge--info",children:"base schema"})]}),detailsProps:{open:!0},children:(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})})]})}function h(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,s.J5)(),{schema:r,...u}=e,{[s.D9]:c}=r;if(c&&c in n&&t>0){const{href:e,title:t=`${c.startsWith("schema:")?c.slice(7):c} schema`}=n[c];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(a.Z,{to:e,children:t})," documentation."]})})}const l=function(e){if("boolean"==typeof e)return;const t=["allOf","oneOf","anyOf"].filter((t=>t in e&&1===(e[t]||[]).length));if(1!==t.length)return;const[n]=t,{[n]:r,...o}=e,[i]=r;return{unnecessarilyComposedSchema:i,unnecessaryCompositionKeyword:n,schemaWithoutUnnecessaryComposition:o}}(r);return l?(0,f.jsx)(d,{...l}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...u})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(s){if(!i[s]){var a={},u=[],c=[];for(c.push({node:s,processed:!1});c.length>0;){var l=c[c.length-1],f=l.processed,d=l.node;if(f)c.pop(),u.pop(),a[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){c.pop();continue}if(a[d]){if(r){c.pop();continue}throw u.push(d),new o(u)}a[d]=!0,u.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)c.push({node:h[p],processed:!1});l.processed=!0}}}}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],o=Object.keys(this.nodes);if(0===o.length)return r;if(!this.circular){var i=n(this.outgoingEdges,!1,[],this.circular);o.forEach((function(e){i(e)}))}var s=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){s(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){s(e)})),r},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},r.prototype.directDependentsOf=r.prototype.directDependantsOf,r.prototype.dependentsOf=r.prototype.dependantsOf;var o=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,o),n};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(p&&o&&(s(o)||(c=i(o)))?(c?(c=!1,l=r&&i(r)?r:[]):l=r&&s(r)?r:{},a(f,{name:n,newValue:e(p,l,o)})):void 0!==o&&a(f,{name:n,newValue:o}));return f}},69378:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},6238:e=>{function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},50340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[K]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(e)||Array.isArray(e)||!!e[H]||!!(null===(t=e.constructor)||void 0===t?void 0:t[H])||f(e)||d(e))}function i(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[K];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var n=G(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=Y[e];return t||n(18,e),t}function b(e,t){Y[e]||(Y[e]=t)}function _(){return z}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function E(e){k(e),e.p.forEach(D),e.p=null}function k(e){e===z&&(z=e.l)}function x(e){return z={p:[],l:z,h:e,_:!0,m:0}}function D(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function S(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,i),i?(r[K].g&&(E(t),n(4)),o(e)&&(e=C(t,e),t.l||O(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=C(t,r,[]),E(t),t.o&&t.s(t.o,t.v),e!==X?e:void 0}function C(e,t,n){if(y(t))return t;var r=t[K];if(!r)return i(t,(function(o,i){return $(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return O(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var o=4===r.t||5===r.t?r.i=p(r.k):r.i,s=o,a=!1;3===r.t&&(s=new Set(o),o.clear(),a=!0),i(s,(function(t,i){return $(e,r,o,t,i,n,a)})),O(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function $(e,t,n,i,s,u,l){if(r(s)){var f=C(e,s,u&&t&&3!==t.t&&!a(t.N,i)?u.concat(i):void 0);if(c(n,i,f),!r(f))return;e._=!1}else l&&n.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e.m<1)return;C(e,s),t&&t.A.l||O(e,s)}}function O(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function A(e,t){var n=e[K];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.g||(e.g=!0,e.l&&j(e.l))}function F(e){e.i||(e.i=p(e.u))}function I(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:_(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},o=r,i=ee;n&&(o=[r],i=te);var s=Proxy.revocable(o,i),a=s.revoke,u=s.proxy;return r.k=u,r.j=a,u}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function N(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[K],a=s(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=T(t,a),r.R=!1}else n=T(t,a);return i(n,(function(t,o){r&&u(r.u,t)===o||c(n,t,e(o))})),3===a?new Set(n):n}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:o(r)&&j(r);break;case 4:n(r)&&j(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==K){var s=t[i];if(void 0===s&&!a(t,i))return!0;var u=n[i],c=u&&u[K];if(c?c.u!==s:!l(u,s))return!0}}var f=!!t[K];return r.length!==G(t).length+(f?0:1)}function o(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var s={};b("ES5",{I:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Z(n);delete i[K];for(var s=G(i),a=0;a<s.length;a++){var u=s[a];i[u]=e(u,t||!!i[u].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={t:r?5:4,A:n?n.A:_(),g:!1,R:!1,N:{},l:n,u:t,k:o,i:null,O:!1,C:!1};return Object.defineProperty(o,K,{value:i,writable:!0}),o},P:function(e,n,s){s?r(n)&&n[K].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var r=n.u,s=n.k,u=n.N,c=n.t;if(4===c)i(s,(function(t){t!==K&&(void 0!==r[t]||a(r,t)?u[t]||e(s[t]):(u[t]=!0,j(n)))})),i(r,(function(e){void 0!==s[e]||a(s,e)||(u[e]=!1,j(n))}));else if(5===c){if(o(n)&&(j(n),u.length=!0),s.length<r.length)for(var l=s.length;l<r.length;l++)u[l]=!1;else for(var f=r.length;f<s.length;f++)u[f]=!0;for(var d=Math.min(s.length,r.length),h=0;h<d;h++)s.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(s[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):o(e)}})}function R(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(d(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return a(t,H)&&(n[H]=t[H]),n}function t(t){return r(t)?e(t):t}var c="add";b("Patches",{W:function(t,r){return r.forEach((function(r){for(var o=r.path,i=r.op,a=t,l=0;l<o.length-1;l++){var f=s(a),d=o[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof a&&"prototype"===d&&n(24),"object"!=typeof(a=u(a,d))&&n(15,o.join("/"))}var h=s(a),p=e(r.value),m=o[o.length-1];switch(i){case"replace":switch(h){case 2:return a.set(m,p);case 3:n(16);default:return a[m]=p}case c:switch(h){case 1:return"-"===m?a.push(p):a.splice(m,0,p);case 2:return a.set(m,p);case 3:return a.add(p);default:return a[m]=p}case"remove":switch(h){case 1:return a.splice(m,1);case 2:return a.delete(m);case 3:return a.delete(r.value);default:return delete a[m]}default:n(17,i)}})),t},F:function(e,n,r,o){switch(e.t){case 0:case 4:case 2:return function(e,n,r,o){var s=e.u,l=e.i;i(e.N,(function(e,i){var f=u(s,e),d=u(l,e),h=i?a(s,e)?"replace":c:"remove";if(f!==d||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),o.push(h===c?{op:"remove",path:p}:"remove"===h?{op:c,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}}))}(e,n,r,o);case 5:case 1:return function(e,n,r,o){var i=e.u,s=e.N,a=e.i;if(a.length<i.length){var u=[a,i];i=u[0],a=u[1];var l=[o,r];r=l[0],o=l[1]}for(var f=0;f<i.length;f++)if(s[f]&&a[f]!==i[f]){var d=n.concat([f]);r.push({op:"replace",path:d,value:t(a[f])}),o.push({op:"replace",path:d,value:t(i[f])})}for(var h=i.length;h<a.length;h++){var p=n.concat([h]);r.push({op:c,path:p,value:t(a[h])})}i.length<a.length&&o.push({op:"replace",path:n.concat(["length"]),value:i.length})}(e,n,r,o);case 3:return function(e,t,n,r){var o=e.u,i=e.i,s=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([s]);n.push({op:"remove",path:o,value:e}),r.unshift({op:c,path:o,value:e})}s++})),s=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([s]);n.push({op:c,path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}s++}))}(e,n,r,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===X?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function B(){function e(e,t){function n(){this.constructor=e}a(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach((function(t){if(o(t)){var n=I(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)})))}function s(e){e.O&&n(3,JSON.stringify(h(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[K]={t:2,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[K]).size}}),r.has=function(e){return h(this[K]).has(e)},r.set=function(e,n){var r=this[K];return s(r),h(r).has(e)&&h(r).get(e)===n||(t(r),j(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[K];return s(n),t(n),j(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[K];s(e),h(e).size&&(t(e),j(e),e.N=new Map,i(e.u,(function(t){e.N.set(t,!1)})),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[K]).forEach((function(r,o){e.call(t,n.get(o),o,n)}))},r.get=function(e){var n=this[K];s(n);var r=h(n).get(e);if(n.R||!o(r))return r;if(r!==n.u.get(e))return r;var i=I(n.A.h,r,n);return t(n),n.i.set(e,i),i},r.keys=function(){return h(this[K]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[J]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[K]={t:3,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[K]).size}}),n.has=function(e){var t=this[K];return s(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[K];return s(t),this.has(e)||(r(t),j(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[K];return s(t),r(t),j(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[K];s(e),h(e).size&&(r(e),j(e),e.i.clear())},n.values=function(){var e=this[K];return s(e),r(e),e.i.values()},n.entries=function(){var e=this[K];return s(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[J]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var L;Object.defineProperty(t,"__esModule",{value:!0});var z,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,V="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),H=U?Symbol.for("immer-draftable"):"__$immer_draftable",K=U?Symbol.for("immer-state"):"__$immer_state",J="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",W=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},ee={get:function(e,t){if(t===K)return e;var n=h(e);if(!a(n,t))return function(e,t,n){var r,o=P(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!o(r)?r:r===A(e.u,t)?(F(e),e.i[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=P(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var o=A(h(e),t),i=null==o?void 0:o[K];if(i&&i.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(l(n,o)&&(void 0!==n||a(e.u,t)))return!0;F(e),j(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.u,t)||t in e.u?(e.N[t]=!1,F(e),j(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};i(ee,(function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=Q,this.D=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var a=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return a.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=x(t),l=I(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?E(c):k(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return w(c,i),S(e,c)}),(function(e){throw E(c),e})):(w(c,i),S(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===X&&(u=void 0),t.D&&m(u,!0),i){var d=[],h=[];v("Patches").M(e,u,d,h),i(d,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),r(e)&&(e=N(e));var t=x(this),i=I(this,e,void 0);return i[K].C=!0,k(t),i},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return w(n,t),S(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var o=t[n];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").W;return r(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new ne,oe=re.produce,ie=re.produceWithPatches.bind(re),se=re.setAutoFreeze.bind(re),ae=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=N,t.default=oe,t.enableAllPlugins=function(){M(),B(),R()},t.enableES5=M,t.enableMapSet=B,t.enablePatches=R,t.finishDraft=le,t.freeze=m,t.immerable=H,t.isDraft=r,t.isDraftable=o,t.nothing=X,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=se,t.setUseProxies=ae},30412:(e,t,n)=>{"use strict";e.exports=n(50340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(s),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return v(a),u}}return b(),function(){var e,t=[];for(_(t);e=E();)!1!==e&&(t.push(e),_(t));return t}()}},19522:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,u,c,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var d in r(i,s,a,u,c,l,f),i){var h=i[d];if(Array.isArray(h)){if(d in t.arrayKeywords)for(var p=0;p<h.length;p++)n(e,r,o,h[p],s+"/"+d+"/"+p,a,s,d,i,p)}else if(d in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,r,o,h[m],s+"/"+d+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,d,i,m)}else(d in t.keywords||e.allKeys&&!(d in t.skipKeywords))&&n(e,r,o,h,s+"/"+d,a,s,d,i)}o(i,s,a,u,c,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},96111:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),n=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),r=(n.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),o=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(t){return!0}},s=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a=t.document,u=r(a)&&r(a.createElement),c=function(e){return u?a.createElement(e):{}},l=!s&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,h={f:s?Object.defineProperty:function(e,t,n){if(o(e),t=f(t,!0),o(n),l)try{return d(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=s?function(e,t,n){return h.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=0,b=Math.random(),_=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++v+b).toString(36))},w=!1,E=e((function(e){var r="__core-js_shared__",o=t[r]||(t[r]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:w?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),k=E("native-function-to-string",Function.toString),x=e((function(e){var r=_("src"),o="toString",i=(""+k).split(o);n.inspectSource=function(e){return k.call(e)},(e.exports=function(e,n,o,s){var a="function"==typeof o;a&&(y(o,"name")||m(o,"name",n)),e[n]!==o&&(a&&(y(o,r)||m(o,r,e[n]?""+e[n]:i.join(String(n)))),e===t?e[n]=o:s?e[n]?e[n]=o:m(e,n,o):(delete e[n],m(e,n,o)))})(Function.prototype,o,(function(){return"function"==typeof this&&this[r]||k.call(this)}))})),D=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},S=function(e,t,n){if(D(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},C="prototype",$=function(e,r,o){var i,s,a,u,c=e&$.F,l=e&$.G,f=e&$.S,d=e&$.P,h=e&$.B,p=l?t:f?t[r]||(t[r]={}):(t[r]||{})[C],g=l?n:n[r]||(n[r]={}),y=g[C]||(g[C]={});for(i in l&&(o=r),o)a=((s=!c&&p&&void 0!==p[i])?p:o)[i],u=h&&s?S(a,t):d&&"function"==typeof a?S(Function.call,a):a,p&&x(p,i,a,e&$.U),g[i]!=a&&m(g,i,u),d&&y[i]!=a&&(y[i]=a)};t.core=n,$.F=1,$.G=2,$.S=4,$.P=8,$.B=16,$.W=32,$.U=64,$.R=128;var O,A=$,P=Math.ceil,j=Math.floor,F=function(e){return isNaN(e=+e)?0:(e>0?j:P)(e)},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},N=(O=!1,function(e,t){var n,r,o=String(I(e)),i=F(t),s=o.length;return i<0||i>=s?O?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?O?o.charAt(i):n:O?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});A(A.P,"String",{codePointAt:function(e){return N(this,e)}}),n.String.codePointAt;var T=Math.max,M=Math.min,R=function(e,t){return(e=F(e))<0?T(e+t,0):M(e,t)},B=String.fromCharCode,L=String.fromCodePoint;A(A.S+A.F*(!!L&&1!=L.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],o=arguments.length,i=0;o>i;){if(t=+n[i++],R(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var z,U,q,V,Q,X,H,K,J,W,G,Z,Y,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"==typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){z=String(e),U="start",q=[],V=0,Q=1,X=0,H=void 0,K=void 0,J=void 0;do{H=ie(),pe[U]()}while("eof"!==H.type);return"function"==typeof t?oe({"":J},"",t):J};function oe(e,t,n){var r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(var o=0;o<r.length;o++){var i=String(o),s=oe(r,i,n);void 0===s?delete r[i]:Object.defineProperty(r,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}else for(var a in r){var u=oe(r,a,n);void 0===u?delete r[a]:Object.defineProperty(r,a,{value:u,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function ie(){for(W="default",G="",Z=!1,Y=1;;){ee=se();var e=ue[W]();if(e)return e}}function se(){if(z[V])return String.fromCodePoint(z.codePointAt(V))}function ae(){var e=se();return"\n"===e?(Q++,X=0):e?X+=e.length:X++,e&&(V+=e.length),e}var ue={default:function(){switch(ee){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void ae();case"/":return ae(),void(W="comment");case void 0:return ae(),ce("eof")}if(!ne.isSpaceSeparator(ee))return ue[U]();ae()},comment:function(){switch(ee){case"*":return ae(),void(W="multiLineComment");case"/":return ae(),void(W="singleLineComment")}throw ye(ae())},multiLineComment:function(){switch(ee){case"*":return ae(),void(W="multiLineCommentAsterisk");case void 0:throw ye(ae())}ae()},multiLineCommentAsterisk:function(){switch(ee){case"*":return void ae();case"/":return ae(),void(W="default");case void 0:throw ye(ae())}ae(),W="multiLineComment"},singleLineComment:function(){switch(ee){case"\n":case"\r":case"\u2028":case"\u2029":return ae(),void(W="default");case void 0:return ae(),ce("eof")}ae()},value:function(){switch(ee){case"{":case"[":return ce("punctuator",ae());case"n":return ae(),le("ull"),ce("null",null);case"t":return ae(),le("rue"),ce("boolean",!0);case"f":return ae(),le("alse"),ce("boolean",!1);case"-":case"+":return"-"===ae()&&(Y=-1),void(W="sign");case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",1/0);case"N":return ae(),le("aN"),ce("numeric",NaN);case'"':case"'":return Z='"'===ae(),G="",void(W="string")}throw ye(ae())},identifierNameStartEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":break;default:if(!ne.isIdStartChar(e))throw be()}G+=e,W="identifierName"},identifierName:function(){switch(ee){case"$":case"_":case"\u200c":case"\u200d":return void(G+=ae());case"\\":return ae(),void(W="identifierNameEscape")}if(!ne.isIdContinueChar(ee))return ce("identifier",G);G+=ae()},identifierNameEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!ne.isIdContinueChar(e))throw be()}G+=e,W="identifierName"},sign:function(){switch(ee){case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",Y*(1/0));case"N":return ae(),le("aN"),ce("numeric",NaN)}throw ye(ae())},zero:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent");case"x":case"X":return G+=ae(),void(W="hexadecimal")}return ce("numeric",0*Y)},decimalInteger:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalPointLeading:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalFraction");throw ye(ae())},decimalPoint:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}return ne.isDigit(ee)?(G+=ae(),void(W="decimalFraction")):ce("numeric",Y*Number(G))},decimalFraction:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalExponent:function(){switch(ee){case"+":case"-":return G+=ae(),void(W="decimalExponentSign")}if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentSign:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentInteger:function(){if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},hexadecimal:function(){if(ne.isHexDigit(ee))return G+=ae(),void(W="hexadecimalInteger");throw ye(ae())},hexadecimalInteger:function(){if(!ne.isHexDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},string:function(){switch(ee){case"\\":return ae(),void(G+=fe());case'"':return Z?(ae(),ce("string",G)):void(G+=ae());case"'":return Z?void(G+=ae()):(ae(),ce("string",G));case"\n":case"\r":throw ye(ae());case"\u2028":case"\u2029":_e(ee);break;case void 0:throw ye(ae())}G+=ae()},start:function(){switch(ee){case"{":case"[":return ce("punctuator",ae())}W="value"},beforePropertyName:function(){switch(ee){case"$":case"_":return G=ae(),void(W="identifierName");case"\\":return ae(),void(W="identifierNameStartEscape");case"}":return ce("punctuator",ae());case'"':case"'":return Z='"'===ae(),void(W="string")}if(ne.isIdStartChar(ee))return G+=ae(),void(W="identifierName");throw ye(ae())},afterPropertyName:function(){if(":"===ee)return ce("punctuator",ae());throw ye(ae())},beforePropertyValue:function(){W="value"},afterPropertyValue:function(){switch(ee){case",":case"}":return ce("punctuator",ae())}throw ye(ae())},beforeArrayValue:function(){if("]"===ee)return ce("punctuator",ae());W="value"},afterArrayValue:function(){switch(ee){case",":case"]":return ce("punctuator",ae())}throw ye(ae())},end:function(){throw ye(ae())}};function ce(e,t){return{type:e,value:t,line:Q,column:X}}function le(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(se()!==r)throw ye(ae());ae()}}function fe(){switch(se()){case"b":return ae(),"\b";case"f":return ae(),"\f";case"n":return ae(),"\n";case"r":return ae(),"\r";case"t":return ae(),"\t";case"v":return ae(),"\v";case"0":if(ae(),ne.isDigit(se()))throw ye(ae());return"\0";case"x":return ae(),de();case"u":return ae(),he();case"\n":case"\u2028":case"\u2029":return ae(),"";case"\r":return ae(),"\n"===se()&&ae(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ye(ae())}return ae()}function de(){var e="",t=se();if(!ne.isHexDigit(t))throw ye(ae());if(e+=ae(),t=se(),!ne.isHexDigit(t))throw ye(ae());return e+=ae(),String.fromCodePoint(parseInt(e,16))}function he(){for(var e="",t=4;t-- >0;){var n=se();if(!ne.isHexDigit(n))throw ye(ae());e+=ae()}return String.fromCodePoint(parseInt(e,16))}var pe={start:function(){if("eof"===H.type)throw ve();me()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":return K=H.value,void(U="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===H.type)throw ve();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===H.type)throw ve();me()},beforeArrayValue:function(){if("eof"===H.type)throw ve();"punctuator"!==H.type||"]"!==H.value?me():ge()},afterPropertyValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(H.type){case"punctuator":switch(H.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=H.value}if(void 0===J)J=e;else{var t=q[q.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,K,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)q.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=q[q.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function ge(){q.pop();var e=q[q.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return Ee(void 0===e?"JSON5: invalid end of input at "+Q+":"+X:"JSON5: invalid character '"+we(e)+"' at "+Q+":"+X)}function ve(){return Ee("JSON5: invalid end of input at "+Q+":"+X)}function be(){return Ee("JSON5: invalid identifier character at "+Q+":"+(X-=5))}function _e(e){console.warn("JSON5: '"+we(e)+"' in strings is not valid ECMAScript; consider escaping")}function we(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Ee(e){var t=new SyntaxError(e);return t.lineNumber=Q,t.columnNumber=X,t}return{parse:re,stringify:function(e,t,n){var r,o,i,s=[],a="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,i=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c<l.length;c+=1){var f=l[c],d=void 0;"string"==typeof f?d=f:("number"==typeof f||f instanceof String||f instanceof Number)&&(d=String(f)),void 0!==d&&r.indexOf(d)<0&&r.push(d)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"==typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),h("",{"":e});function h(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),o&&(n=o.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?p(n,!1):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?y(n):m(n):void 0}function p(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",o=0;o<e.length;o++){var s=e[o];switch(s){case"'":case'"':t[s]++,r+=s;continue;case"\0":if(ne.isDigit(e[o+1])){r+="\\x00";continue}}if(n[s])r+=n[s];else if(s<" "){var a=s.charCodeAt(0).toString(16);r+="\\x"+("00"+a).substring(a.length)}else r+=s}var u=i||Object.keys(t).reduce((function(e,n){return t[e]<t[n]?e:n}));return u+(r=r.replace(new RegExp(u,"g"),n[u]))+u}function m(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,o,i=[],c=0,l=r||Object.keys(e);c<l.length;c+=1){var f=l[c],d=h(f,e);if(void 0!==d){var p=g(f)+":";""!==u&&(p+=" "),p+=d,i.push(p)}}if(0===i.length)n="{}";else if(""===u)n="{"+(o=i.join(","))+"}";else{var m=",\n"+a;o=i.join(m),n="{\n"+a+o+",\n"+t+"}"}return s.pop(),a=t,n}function g(e){if(0===e.length)return p(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!ne.isIdStartChar(t))return p(e,!0);for(var n=t.length;n<e.length;n++)if(!ne.isIdContinueChar(String.fromCodePoint(e.codePointAt(n))))return p(e,!0);return e}function y(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,r=[],o=0;o<e.length;o++){var i=h(String(o),e);r.push(void 0!==i?i:"null")}if(0===r.length)n="[]";else if(""===u)n="["+r.join(",")+"]";else{var c=",\n"+a,l=r.join(c);n="[\n"+a+l+",\n"+t+"]"}return s.pop(),a=t,n}}}}()},404:(e,t)=>{var n=/~/,r=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function i(e){return n.test(e)?e.replace(r,o):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!=typeof t&&"number"!=typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function a(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=s(t)).length;if(1===n)return e;for(var r=1;r<n;){if(e=e[i(t[r++])],n===r)return e;if("object"!=typeof e||null===e)return}}function u(e,t,n){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(t=s(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,n){for(var r,o,s=1,a=t.length;s<a;){if("constructor"===t[s]||"prototype"===t[s]||"__proto__"===t[s])return e;if(r=i(t[s++]),o=a>s,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),o&&(""!==t[s]&&t[s]<1/0||"-"===t[s]?e[r]=[]:e[r]={})),!o)break;e=e[r]}var u=e[r];return void 0===n?delete e[r]:e[r]=n,u}(e,t,n)}t.get=a,t.set=u,t.compile=function(e){var t=s(e);return{get:function(e){return a(e,t)},set:function(e,n){return u(e,t,n)}}}},22038:e=>{"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,s=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-s);)i--,s--;let a,u,c,l,f=0;for(;f<i&&e.charCodeAt(f)===r.charCodeAt(f);)f++;if(i-=f,s-=f,0===i)return s;let d=0,h=0;for(;d<i;)n[d]=e.charCodeAt(f+d),t[d]=++d;for(;h<s;)for(a=r.charCodeAt(f+h),c=h++,u=h,d=0;d<i;d++)l=a===n[d]?c:c+1,c=t[d],u=t[d]=c>u?l>u?u+1:l:l>c?c+1:l;return u};e.exports=r,e.exports.default=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},80235:(e,t,n)=>{var r=n(3945),o=n(21846),i=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},10326:(e,t,n)=>{var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},50857:(e,t,n)=>{var r=n(37772).Symbol;e.exports=r},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},60091:(e,t,n)=>{var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},53366:(e,t,n)=>{var r=n(50857),o=n(62107),i=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},82857:(e,t,n)=>{var r=n(60091),o=n(17297),i=n(39045),s=n(29259),a=n(33812);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var h=a(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=f){var m=d[h];void 0===(p=u?u(m,h,d):void 0)&&(p=s(m)?m:i(t[c+1])?[]:{})}r(d,h,p),d=d[h]}return e}},1054:(e,t,n)=>{var r=n(50857),o=n(50343),i=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(u){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},21401:(e,t,n)=>{var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},86152:e=>{var t=Array.isArray;e.exports=t},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=16,c=32,l=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",E="[object Error]",k="[object Function]",x="[object GeneratorFunction]",D="[object Map]",S="[object Number]",C="[object Object]",$="[object Promise]",O="[object RegExp]",A="[object Set]",P="[object String]",j="[object Symbol]",F="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",V="[object Uint32Array]",Q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,W=RegExp(K.source),G=RegExp(J.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",$e="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",je="["+xe+"]",Fe="["+Ae+"]",Ie="["+De+"]",Ne="\\d+",Te="["+Se+"]",Me="["+Ce+"]",Re="[^"+xe+Ae+Ne+Se+Ce+$e+"]",Be="\\ud83c[\\udffb-\\udfff]",Le="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+$e+"]",Ve="\\u200d",Qe="(?:"+Me+"|"+Re+")",Xe="(?:"+qe+"|"+Re+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Be+")"+"?",We="["+Oe+"]?",Ge=We+Je+("(?:"+Ve+"(?:"+[Le,ze,Ue].join("|")+")"+We+Je+")*"),Ze="(?:"+[Te,ze,Ue].join("|")+")"+Ge,Ye="(?:"+[Le+Ie+"?",Ie,ze,Ue,je].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Be+"(?="+Be+")|"+Ye+Ge,"g"),rt=RegExp([qe+"?"+Me+"+"+He+"(?="+[Fe,qe,"$"].join("|")+")",Xe+"+"+Ke+"(?="+[Fe,qe+Qe,"$"].join("|")+")",qe+"?"+Qe+"+"+He,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),ot=RegExp("["+Ve+xe+De+Oe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ut={};ut[T]=ut[M]=ut[R]=ut[B]=ut[L]=ut[z]=ut[U]=ut[q]=ut[V]=!0,ut[v]=ut[b]=ut[I]=ut[_]=ut[N]=ut[w]=ut[E]=ut[k]=ut[D]=ut[S]=ut[C]=ut[O]=ut[A]=ut[P]=ut[F]=!1;var ct={};ct[v]=ct[b]=ct[I]=ct[N]=ct[_]=ct[w]=ct[T]=ct[M]=ct[R]=ct[B]=ct[L]=ct[D]=ct[S]=ct[C]=ct[O]=ct[A]=ct[P]=ct[j]=ct[z]=ct[U]=ct[q]=ct[V]=!0,ct[E]=ct[k]=ct[F]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&ht.process,_t=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=_t&&_t.isArrayBuffer,Et=_t&&_t.isDate,kt=_t&&_t.isMap,xt=_t&&_t.isRegExp,Dt=_t&&_t.isSet,St=_t&&_t.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $t(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function Ft(e,t){return!!(null==e?0:e.length)&&qt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Tt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Rt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Ht("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function qt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Qt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Qt(e){return e!=e}function Xt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:m}function Ht(e){return function(t){return null==t?o:t[e]}}function Kt(e){return function(t){return null==e?o:e[t]}}function Jt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Wt(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==o&&(n=n===o?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,gn(e)+1).replace(se,""):e}function Yt(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&qt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Lt(e)}function mn(e){return un(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var yn=Kt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,st))).Array,ae=t.Date,xe=t.Error,De=t.Function,Se=t.Math,Ce=t.Object,$e=t.RegExp,Oe=t.String,Ae=t.TypeError,Pe=r.prototype,je=De.prototype,Fe=Ce.prototype,Ie=t["__core-js_shared__"],Ne=je.toString,Te=Fe.hasOwnProperty,Me=0,Re=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Fe.toString,Le=Ne.call(Ce),ze=mt._,Ue=$e("^"+Ne.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=vt?t.Buffer:o,Ve=t.Symbol,Qe=t.Uint8Array,Xe=qe?qe.allocUnsafe:o,He=ln(Ce.getPrototypeOf,Ce),Ke=Ce.create,Je=Fe.propertyIsEnumerable,We=Pe.splice,Ge=Ve?Ve.isConcatSpreadable:o,Ze=Ve?Ve.iterator:o,Ye=Ve?Ve.toStringTag:o,nt=function(){try{var e=hi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==mt.Date.now&&ae.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=Ce.getOwnPropertySymbols,bt=qe?qe.isBuffer:o,_t=t.isFinite,Lt=Pe.join,Kt=ln(Ce.keys,Ce),bn=Se.max,_n=Se.min,wn=ae.now,En=t.parseInt,kn=Se.random,xn=Pe.reverse,Dn=hi(t,"DataView"),Sn=hi(t,"Map"),Cn=hi(t,"Promise"),$n=hi(t,"Set"),On=hi(t,"WeakMap"),An=hi(Ce,"create"),Pn=On&&new On,jn={},Fn=Bi(Dn),In=Bi(Sn),Nn=Bi(Cn),Tn=Bi($n),Mn=Bi(On),Rn=Ve?Ve.prototype:o,Bn=Rn?Rn.valueOf:o,Ln=Rn?Rn.toString:o;function zn(e){if(na(e)&&!Qs(e)&&!(e instanceof Qn)){if(e instanceof Vn)return e;if(Te.call(e,"__wrapped__"))return Li(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ta(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Gn(e,t){var n=Qs(e),r=!n&&Vs(e),o=!n&&!r&&Js(e),i=!n&&!r&&!o&&la(e),s=n||r||o||i,a=s?Gt(e.length,Oe):[],u=a.length;for(var c in e)!t&&!Te.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,u))||a.push(c);return a}function Zn(e){var t=e.length;return t?e[Jr(0,t-1)]:o}function Yn(e,t){return Ti(Po(e),ur(t,0,e.length))}function er(e){return Ti(Po(e))}function tr(e,t,n){(n!==o&&!zs(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function nr(e,t,n){var r=e[t];Te.call(e,t)&&zs(r,n)&&(n!==o||t in e)||sr(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(zs(e[n][0],t))return n;return-1}function or(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&jo(t,ja(t),e)}function sr(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var n=-1,i=t.length,s=r(i),a=null==e;++n<i;)s[n]=a?o:Ca(e,t[n]);return s}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ta(e))return e;var f=Qs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Po(e,a)}else{var d=gi(e),h=d==k||d==x;if(Js(e))return Do(e,u);if(d==C||d==v||h&&!i){if(a=c||h?{}:vi(e),!u)return c?function(e,t){return jo(e,mi(e),t)}(e,function(e,t){return e&&jo(t,Fa(t),e)}(a,e)):function(e,t){return jo(e,pi(e),t)}(e,ir(a,e))}else{if(!ct[d])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case I:return So(e);case _:case w:return new r(+e);case N:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case T:case M:case R:case B:case L:case z:case U:case q:case V:return Co(e,n);case D:return new r;case S:case P:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case j:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,u)}}s||(s=new Wn);var p=s.get(e);if(p)return p;s.set(e,a),aa(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,s))})):ra(e)&&e.forEach((function(r,o){a.set(o,cr(r,t,n,o,e,s))}));var m=f?o:(l?c?si:ii:c?Fa:ja)(e);return Ot(m||e,(function(r,o){m&&(r=e[o=r]),nr(a,o,cr(r,t,n,o,e,s))})),a}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return ji((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ft,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Yt(n))),r?(i=It,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o<a;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}zn.templateSettings={escape:Z,evaluate:Y,interpolate:ee,variable:"",imports:{_:zn}},zn.prototype=qn.prototype,zn.prototype.constructor=zn,Vn.prototype=Un(qn.prototype),Vn.prototype.constructor=Vn,Qn.prototype=Un(qn.prototype),Qn.prototype.constructor=Qn,Xn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?o:n}return Te.call(t,e)?t[e]:o},Xn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:Te.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},Hn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},Hn.prototype.has=function(e){return rr(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Hn),string:new Xn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=No(wr),pr=No(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var s=e[r],a=t(s);if(null!=a&&(u===o?a==a&&!ca(a):n(a,u)))var u=a,c=s}return c}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=bi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?vr(a,t-1,n,r,o):Tt(o,a):r||(o[o.length]=a)}return o}var br=To(),_r=To(!0);function wr(e,t){return e&&br(e,t,ja)}function Er(e,t){return e&&_r(e,t,ja)}function kr(e,t){return jt(t,(function(t){return Zs(e[t])}))}function xr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function Dr(e,t,n){var r=t(e);return Qs(e)?r:Tt(r,n(e))}function Sr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ye&&Ye in Ce(e)?function(e){var t=Te.call(e,Ye),n=e[Ye];try{e[Ye]=o;var r=!0}catch(s){}var i=Be.call(e);r&&(t?e[Ye]=n:delete e[Ye]);return i}(e):function(e){return Be.call(e)}(e)}function Cr(e,t){return e>t}function $r(e,t){return null!=e&&Te.call(e,t)}function Or(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?It:Ft,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Nt(d,Yt(t))),l=_n(d.length,l),c[u]=!n&&(t||s>=120&&d.length>=120)?new Jn(u&&d):o}d=e[0];var h=-1,p=c[0];e:for(;++h<s&&f.length<l;){var m=d[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?tn(p,g):i(f,g,n))){for(u=a;--u;){var y=c[u];if(!(y?tn(y,g):i(e[u],g,n)))continue e}p&&p.push(g),f.push(m)}}return f}function Pr(e,t,n){var r=null==(e=Oi(e,t=wo(t,e)))?e:e[Ri(Gi(t))];return null==r?o:Ct(r,e,n)}function jr(e){return na(e)&&Sr(e)==v}function Fr(e,t,n,r,i){return e===t||(null==e||null==t||!na(e)&&!na(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var a=Qs(e),u=Qs(t),c=a?b:gi(e),l=u?b:gi(t),f=(c=c==v?C:c)==C,d=(l=l==v?C:l)==C,h=c==l;if(h&&Js(e)){if(!Js(t))return!1;a=!0,f=!1}if(h&&!f)return s||(s=new Wn),a||la(e)?ri(e,t,n,r,i,s):function(e,t,n,r,o,i,s){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Qe(e),new Qe(t)));case _:case w:case S:return zs(+e,+t);case E:return e.name==t.name&&e.message==t.message;case O:case P:return e==t+"";case D:var a=cn;case A:var u=1&r;if(a||(a=dn),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=ri(a(e),a(t),r,o,i,s);return s.delete(e),l;case j:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,s);if(!(1&n)){var p=f&&Te.call(e,"__wrapped__"),m=d&&Te.call(t,"__wrapped__");if(p||m){var g=p?e.value():e,y=m?t.value():t;return s||(s=new Wn),i(g,y,n,r,s)}}if(!h)return!1;return s||(s=new Wn),function(e,t,n,r,i,s){var a=1&n,u=ii(e),c=u.length,l=ii(t),f=l.length;if(c!=f&&!a)return!1;var d=c;for(;d--;){var h=u[d];if(!(a?h in t:Te.call(t,h)))return!1}var p=s.get(e),m=s.get(t);if(p&&m)return p==t&&m==e;var g=!0;s.set(e,t),s.set(t,e);var y=a;for(;++d<c;){var v=e[h=u[d]],b=t[h];if(r)var _=a?r(b,v,h,t,e,s):r(v,b,h,e,t,s);if(!(_===o?v===b||i(v,b,n,r,s):_)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}(e,t,n,r,i,s)}(e,t,n,r,Fr,i))}function Ir(e,t,n,r){var i=n.length,s=i,a=!r;if(null==e)return!s;for(e=Ce(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var c=(u=n[i])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===o&&!(c in e))return!1}else{var d=new Wn;if(r)var h=r(l,f,c,e,t,d);if(!(h===o?Fr(f,l,3,r,d):h))return!1}}return!0}function Nr(e){return!(!ta(e)||(t=e,Re&&Re in t))&&(Zs(e)?Ue:ve).test(Bi(e));var t}function Tr(e){return"function"==typeof e?e:null==e?ou:"object"==typeof e?Qs(e)?Ur(e[0],e[1]):zr(e):hu(e)}function Mr(e){if(!Di(e))return Kt(e);var t=[];for(var n in Ce(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!ta(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=Di(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Lr(e,t){var n=-1,o=Hs(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function zr(e){var t=di(e);return 1==t.length&&t[0][2]?Ci(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Ur(e,t){return Ei(e)&&Si(t)?Ci(Ri(e),t):function(n){var r=Ca(n,e);return r===o&&r===t?$a(n,e):Fr(t,r,3)}}function qr(e,t,n,r,i){e!==t&&br(t,(function(s,a){if(i||(i=new Wn),ta(s))!function(e,t,n,r,i,s,a){var u=Ai(e,n),c=Ai(t,n),l=a.get(c);if(l)return void tr(e,n,l);var f=s?s(u,c,n+"",e,t,a):o,d=f===o;if(d){var h=Qs(c),p=!h&&Js(c),m=!h&&!p&&la(c);f=c,h||p||m?Qs(u)?f=u:Ks(u)?f=Po(u):p?(d=!1,f=Do(c,!0)):m?(d=!1,f=Co(c,!0)):f=[]:ia(c)||Vs(c)?(f=u,Vs(u)?f=va(u):ta(u)&&!Zs(u)||(f=vi(c))):d=!1}d&&(a.set(c,f),i(f,c,r,s,a),a.delete(c));tr(e,n,f)}(e,t,a,n,qr,r,i);else{var u=r?r(Ai(e,a),s,a+"",e,t,i):o;u===o&&(u=s),tr(e,a,u)}}),Fa)}function Vr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:o}function Qr(e,t,n){t=t.length?Nt(t,(function(e){return Qs(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e})):[ou];var r=-1;t=Nt(t,Yt(li()));var o=Lr(e,(function(e,n,o){var i=Nt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;for(;++r<s;){var u=$o(o[r],i[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=xr(e,s);n(a,s)&&eo(i,wo(s,e),a)}return i}function Hr(e,t,n,r){var o=r?Vt:qt,i=-1,s=t.length,a=e;for(e===t&&(t=Po(t)),n&&(a=Nt(e,Yt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(a,l,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?We.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+gt(kn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Fi($i(e,t,ou),e+"")}function Zr(e){return Zn(za(e))}function Yr(e,t){var n=za(e);return Ti(n,ur(t,0,n.length))}function eo(e,t,n,r){if(!ta(e))return e;for(var i=-1,s=(t=wo(t,e)).length,a=s-1,u=e;null!=u&&++i<s;){var c=Ri(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=a){var f=u[c];(l=r?r(f,c,u):o)===o&&(l=ta(f)?f:_i(t[i+1])?[]:{})}nr(u,c,l),u=u[c]}return e}var to=Pn?function(e,t){return Pn.set(e,t),e}:ou,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ou;function ro(e){return Ti(za(e))}function oo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function io(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!ca(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ao(e,t,ou,n)}function ao(e,t,n,r){var i=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=ca(t),l=t===o;i<s;){var f=gt((i+s)/2),d=n(e[f]),h=d!==o,p=null===d,m=d==d,g=ca(d);if(a)var y=r||m;else y=l?m&&(r||h):u?m&&h&&(r||!p):c?m&&h&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);y?i=f+1:s=f}return _n(s,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!zs(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function co(e){return"number"==typeof e?e:ca(e)?m:+e}function lo(e){if("string"==typeof e)return e;if(Qs(e))return Nt(e,lo)+"";if(ca(e))return Ln?Ln.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Ft,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=It;else if(i>=200){var c=t?null:Go(e);if(c)return dn(c);s=!1,o=tn,u=new Jn}else u=t?[]:a;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),a.push(l)}else o(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ho(e,t){return null==(e=Oi(e,t=wo(t,e)))||delete e[Ri(Gi(t))]}function po(e,t,n,r){return eo(e,t,n(xr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Qn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Tt([e],t.args))}),n)}function yo(e,t,n){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=dr(s[i]||a,e[u],t,n));return fo(vr(s,1),t,n)}function vo(e,t,n){for(var r=-1,i=e.length,s=t.length,a={};++r<i;){var u=r<s?t[r]:o;n(a,e[r],u)}return a}function bo(e){return Ks(e)?e:[]}function _o(e){return"function"==typeof e?e:ou}function wo(e,t){return Qs(e)?e:Ei(e,t)?[e]:Mi(ba(e))}var Eo=Gr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var xo=ot||function(e){return mt.clearTimeout(e)};function Do(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Co(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $o(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=ca(e),a=t!==o,u=null===t,c=t==t,l=ca(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!i)return 1;if(!r&&!s&&!l&&e<t||l&&n&&i&&!r&&!s||u&&n&&i||!a&&i||!c)return-1}return 0}function Oo(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=bn(s-a,0),f=r(c+l),d=!o;++u<c;)f[u]=t[u];for(;++i<a;)(d||i<s)&&(f[n[i]]=e[i]);for(;l--;)f[u++]=e[i++];return f}function Ao(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=bn(s-u,0),d=r(f+l),h=!o;++i<f;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<u;)(h||i<s)&&(d[p+n[a]]=e[i++]);return d}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function jo(e,t,n,r){var i=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):o;c===o&&(c=e[u]),i?sr(n,u,c):nr(n,u,c)}return n}function Fo(e,t){return function(n,r){var o=Qs(n)?$t:or,i=t?t():{};return o(n,e,li(r,2),i)}}function Io(e){return Gr((function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&wi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ce(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t}))}function No(e,t){return function(n,r){if(null==n)return n;if(!Hs(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Ce(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function To(e){return function(t,n,r){for(var o=-1,i=Ce(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function Mo(e){return function(t){var n=un(t=ba(t))?mn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Mt(Za(Va(t).replace(et,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return ta(r)?r:n}}function Lo(e){return function(t,n,r){var i=Ce(t);if(!Hs(t)){var s=li(n,3);t=ja(t),n=function(e){return s(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[s?t[a]:a]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,s=Vn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ae(i);if(s&&!u&&"wrapper"==ui(a))var u=new Vn([],!0)}for(r=u?r:n;++r<n;){var c=ui(a=t[r]),l="wrapper"==c?ai(a):o;u=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ui(l[0])].apply(u,l[3]):1==a.length&&ki(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Qs(r))return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Uo(e,t,n,i,s,a,u,c,l,d){var h=t&f,p=1&t,m=2&t,g=24&t,y=512&t,v=m?o:Bo(e);return function f(){for(var b=arguments.length,_=r(b),w=b;w--;)_[w]=arguments[w];if(g)var E=ci(f),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,E);if(i&&(_=Oo(_,i,s,g)),a&&(_=Ao(_,a,u,g)),b-=k,g&&b<d){var x=fn(_,E);return Jo(e,t,Uo,f.placeholder,n,_,x,c,l,d-b)}var D=p?n:this,S=m?D[e]:e;return b=_.length,c?_=function(e,t){var n=e.length,r=_n(t.length,n),i=Po(e);for(;r--;){var s=t[r];e[r]=_i(s,n)?i[s]:o}return e}(_,c):y&&b>1&&_.reverse(),h&&l<b&&(_.length=l),this&&this!==mt&&this instanceof f&&(S=v||Bo(S)),S.apply(D,_)}}function qo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Qo(e){return oi((function(t){return t=Nt(t,Yt(li())),Gr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Xo(e,t){var n=(t=t===o?" ":lo(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,pt(e/pn(t)));return un(t)?ko(mn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,i){return i&&"number"!=typeof i&&wi(t,n,i)&&(n=i=o),t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n,o){for(var i=-1,s=bn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,i=i===o?t<n?1:-1:pa(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ya(t),n=ya(n)),e(t,n)}}function Jo(e,t,n,r,i,s,a,u,f,d){var h=8&t;t|=h?c:l,4&(t&=~(h?l:c))||(t&=-4);var p=[e,t,i,h?s:o,h?a:o,h?o:s,h?o:a,u,f,d],m=n.apply(o,p);return ki(e)&&Pi(m,p),m.placeholder=r,Ii(m,e,t)}function Wo(e){var t=Se[e];return function(e,n){if(e=ya(e),(n=null==n?0:_n(ma(n),292))&&_t(e)){var r=(ba(e)+"e").split("e");return+((r=(ba(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Go=$n&&1/dn(new $n([,-0]))[1]==h?function(e){return new $n(e)}:cu;function Zo(e){return function(t){var n=gi(t);return n==D?cn(t):n==A?hn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Yo(e,t,n,s,h,p,m,g){var y=2&t;if(!y&&"function"!=typeof e)throw new Ae(i);var v=s?s.length:0;if(v||(t&=-97,s=h=o),m=m===o?m:bn(ma(m),0),g=g===o?g:ma(g),v-=h?h.length:0,t&l){var b=s,_=h;s=h=o}var w=y?o:ai(e),E=[e,t,n,s,h,b,_,p,m,g];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?Oo(c,u,t[4]):u,e[4]=c?fn(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?Ao(c,u,t[6]):u,e[6]=c?fn(e[5],a):t[6]);(u=t[7])&&(e[7]=u);r&f&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,w),e=E[0],t=E[1],n=E[2],s=E[3],h=E[4],!(g=E[9]=E[9]===o?y?0:e.length:bn(E[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==u?function(e,t,n){var i=Bo(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=ci(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:fn(u,l);return(a-=f.length)<n?Jo(e,t,Uo,s.placeholder,o,u,f,o,o,n-a):Ct(this&&this!==mt&&this instanceof s?i:e,this,u)}}(e,t,g):t!=c&&33!=t||h.length?Uo.apply(o,E):function(e,t,n,o){var i=1&t,s=Bo(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,f=r(l+u),d=this&&this!==mt&&this instanceof t?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++a];return Ct(d,i?n:this,f)}}(e,t,n,s);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ii((w?to:Pi)(k,E),e,t)}function ei(e,t,n,r){return e===o||zs(e,Fe[n])&&!Te.call(r,n)?t:e}function ti(e,t,n,r,i,s){return ta(e)&&ta(t)&&(s.set(t,e),qr(e,t,o,ti,s),s.delete(t)),e}function ni(e){return ia(e)?o:e}function ri(e,t,n,r,i,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++d<u;){var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,s):r(m,g,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(p){if(!Bt(t,(function(e,t){if(!tn(p,t)&&(m===e||i(m,e,n,r,s)))return p.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function oi(e){return Fi($i(e,o,Xi),e+"")}function ii(e){return Dr(e,ja,pi)}function si(e){return Dr(e,Fa,mi)}var ai=Pn?function(e){return Pn.get(e)}:cu;function ui(e){for(var t=e.name+"",n=jn[t],r=Te.call(jn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Te.call(zn,"placeholder")?zn:e).placeholder}function li(){var e=zn.iteratee||iu;return e=e===iu?Tr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=ja(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Si(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Nr(n)?n:o}var pi=yt?function(e){return null==e?[]:(e=Ce(e),jt(yt(e),(function(t){return Je.call(e,t)})))}:gu,mi=yt?function(e){for(var t=[];e;)Tt(t,pi(e)),e=He(e);return t}:gu,gi=Sr;function yi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var s=Ri(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ea(o)&&_i(s,o)&&(Qs(e)||Vs(e))}function vi(e){return"function"!=typeof e.constructor||Di(e)?{}:Un(He(e))}function bi(e){return Qs(e)||Vs(e)||!!(Ge&&e&&e[Ge])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!ta(n))return!1;var r=typeof t;return!!("number"==r?Hs(n)&&_i(t,n.length):"string"==r&&t in n)&&zs(n[t],e)}function Ei(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ca(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=ui(e),n=zn[t];if("function"!=typeof n||!(t in Qn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(Dn&&gi(new Dn(new ArrayBuffer(1)))!=N||Sn&&gi(new Sn)!=D||Cn&&gi(Cn.resolve())!=$||$n&&gi(new $n)!=A||On&&gi(new On)!=F)&&(gi=function(e){var t=Sr(e),n=t==C?e.constructor:o,r=n?Bi(n):"";if(r)switch(r){case Fn:return N;case In:return D;case Nn:return $;case Tn:return A;case Mn:return F}return t});var xi=Ie?Zs:yu;function Di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Si(e){return e==e&&!ta(e)}function Ci(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function $i(e,t,n){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=bn(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),Ct(e,this,u)}}function Oi(e,t){return t.length<2?e:xr(e,oo(t,0,-1))}function Ai(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Ni(to),ji=ht||function(e,t){return mt.setTimeout(e,t)},Fi=Ni(no);function Ii(e,t,n){var r=t+"";return Fi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ot(y,(function(n){var r="_."+n[0];t&n[1]&&!Ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var s=Jr(n,i),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var Mi=function(e){var t=Ns(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(he,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ca(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Ne.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Li(e){if(e instanceof Qn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Gr((function(e,t){return Ks(e)?dr(e,vr(t,1,Ks,!0)):[]})),Ui=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),li(n,2)):[]})),qi=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),Ut(e,li(t,3),o)}function Qi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ma(n),i=n<0?bn(r+i,0):_n(i,r-1)),Ut(e,li(t,3),i,!0)}function Xi(e){return(null==e?0:e.length)?vr(e,1):[]}function Hi(e){return e&&e.length?e[0]:o}var Ki=Gr((function(e){var t=Nt(e,bo);return t.length&&t[0]===e[0]?Ar(t):[]})),Ji=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return t===Gi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,li(t,2)):[]})),Wi=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Gi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zi=Gr(Yi);function Yi(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var es=oi((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Kr(e,Nt(t,(function(e){return _i(e,n)?+e:e})).sort($o)),r}));function ts(e){return null==e?e:xn.call(e)}var ns=Gr((function(e){return fo(vr(e,1,Ks,!0))})),rs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),fo(vr(e,1,Ks,!0),li(t,2))})),os=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,fo(vr(e,1,Ks,!0),o,t)}));function is(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Ks(e))return t=bn(e.length,t),!0})),Gt(t,(function(t){return Nt(e,Ht(t))}))}function ss(e,t){if(!e||!e.length)return[];var n=is(e);return null==t?n:Nt(n,(function(e){return Ct(t,o,e)}))}var as=Gr((function(e,t){return Ks(e)?dr(e,t):[]})),us=Gr((function(e){return yo(jt(e,Ks))})),cs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),yo(jt(e,Ks),li(t,2))})),ls=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,yo(jt(e,Ks),o,t)})),fs=Gr(is);var ds=Gr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ss(e,n)}));function hs(e){var t=zn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ms=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Qn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var gs=Fo((function(e,t,n){Te.call(e,n)?++e[n]:sr(e,n,1)}));var ys=Lo(Vi),vs=Lo(Qi);function bs(e,t){return(Qs(e)?Ot:hr)(e,li(t,3))}function _s(e,t){return(Qs(e)?At:pr)(e,li(t,3))}var ws=Fo((function(e,t,n){Te.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Es=Gr((function(e,t,n){var o=-1,i="function"==typeof t,s=Hs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Ct(t,e,n):Pr(e,t,n)})),s})),ks=Fo((function(e,t,n){sr(e,n,t)}));function xs(e,t){return(Qs(e)?Nt:Lr)(e,li(t,3))}var Ds=Fo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ss=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,vr(t,1),[])})),Cs=lt||function(){return mt.Date.now()};function $s(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Yo(e,f,o,o,o,o,t)}function Os(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var As=Gr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(As));r|=c}return Yo(e,r,t,n,o)})),Ps=Gr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Ps));r|=c}return Yo(t,r,e,n,o)}));function js(e,t,n){var r,s,a,u,c,l,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function g(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=a}function y(){var e=Cs();if(g(e))return v(e);c=ji(y,function(e){var n=t-(e-l);return h?_n(n,a-(e-f)):n}(e))}function v(e){return c=o,p&&r?m(e):(r=s=o,u)}function b(){var e=Cs(),n=g(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=ji(y,t),d?m(e):u}(l);if(h)return xo(c),c=ji(y,t),m(l)}return c===o&&(c=ji(y,t)),u}return t=ya(t)||0,ta(n)&&(d=!!n.leading,a=(h="maxWait"in n)?bn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?u:v(Cs())},b}var Fs=Gr((function(e,t){return fr(e,1,t)})),Is=Gr((function(e,t,n){return fr(e,ya(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Ns.Cache||Kn),n}function Ts(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Kn;var Ms=Eo((function(e,t){var n=(t=1==t.length&&Qs(t[0])?Nt(t[0],Yt(li())):Nt(vr(t,1),Yt(li()))).length;return Gr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Ct(e,this,r)}))})),Rs=Gr((function(e,t){var n=fn(t,ci(Rs));return Yo(e,c,o,t,n)})),Bs=Gr((function(e,t){var n=fn(t,ci(Bs));return Yo(e,l,o,t,n)})),Ls=oi((function(e,t){return Yo(e,d,o,o,o,t)}));function zs(e,t){return e===t||e!=e&&t!=t}var Us=Ko(Cr),qs=Ko((function(e,t){return e>=t})),Vs=jr(function(){return arguments}())?jr:function(e){return na(e)&&Te.call(e,"callee")&&!Je.call(e,"callee")},Qs=r.isArray,Xs=wt?Yt(wt):function(e){return na(e)&&Sr(e)==I};function Hs(e){return null!=e&&ea(e.length)&&!Zs(e)}function Ks(e){return na(e)&&Hs(e)}var Js=bt||yu,Ws=Et?Yt(Et):function(e){return na(e)&&Sr(e)==w};function Gs(e){if(!na(e))return!1;var t=Sr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ia(e)}function Zs(e){if(!ta(e))return!1;var t=Sr(e);return t==k||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ys(e){return"number"==typeof e&&e==ma(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gi(e)==D};function oa(e){return"number"==typeof e||na(e)&&Sr(e)==S}function ia(e){if(!na(e)||Sr(e)!=C)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Le}var sa=xt?Yt(xt):function(e){return na(e)&&Sr(e)==O};var aa=Dt?Yt(Dt):function(e){return na(e)&&gi(e)==A};function ua(e){return"string"==typeof e||!Qs(e)&&na(e)&&Sr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Sr(e)==j}var la=St?Yt(St):function(e){return na(e)&&ea(e.length)&&!!ut[Sr(e)]};var fa=Ko(Br),da=Ko((function(e,t){return e<=t}));function ha(e){if(!e)return[];if(Hs(e))return ua(e)?mn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=gi(e);return(t==D?cn:t==A?dn:za)(e)}function pa(e){return e?(e=ya(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ma(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ur(ma(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ca(e))return m;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function va(e){return jo(e,Fa(e))}function ba(e){return null==e?"":lo(e)}var _a=Io((function(e,t){if(Di(t)||Hs(t))jo(t,ja(t),e);else for(var n in t)Te.call(t,n)&&nr(e,n,t[n])})),wa=Io((function(e,t){jo(t,Fa(t),e)})),Ea=Io((function(e,t,n,r){jo(t,Fa(t),e,r)})),ka=Io((function(e,t,n,r){jo(t,ja(t),e,r)})),xa=oi(ar);var Da=Gr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n<r;)for(var s=t[n],a=Fa(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===o||zs(f,Fe[l])&&!Te.call(e,l))&&(e[l]=s[l])}return e})),Sa=Gr((function(e){return e.push(o,ti),Ct(Na,o,e)}));function Ca(e,t,n){var r=null==e?o:xr(e,t);return r===o?n:r}function $a(e,t){return null!=e&&yi(e,t,Or)}var Oa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),tu(ou)),Aa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),li),Pa=Gr(Pr);function ja(e){return Hs(e)?Gn(e):Mr(e)}function Fa(e){return Hs(e)?Gn(e,!0):Rr(e)}var Ia=Io((function(e,t,n){qr(e,t,n)})),Na=Io((function(e,t,n,r){qr(e,t,n,r)})),Ta=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),jo(e,si(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Ma=oi((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return $a(e,n)}))}(e,t)}));function Ra(e,t){if(null==e)return{};var n=Nt(si(e),(function(e){return[e]}));return t=li(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Ba=Zo(ja),La=Zo(Fa);function za(e){return null==e?[]:en(e,ja(e))}var Ua=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Ga(ba(e).toLowerCase())}function Va(e){return(e=ba(e))&&e.replace(we,on).replace(tt,"")}var Qa=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ha=Mo("toLowerCase");var Ka=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ja=Ro((function(e,t,n){return e+(n?" ":"")+Ga(t)}));var Wa=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ga=Mo("toUpperCase");function Za(e,t,n){return e=ba(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ya=Gr((function(e,t){try{return Ct(e,o,t)}catch(n){return Gs(n)?n:new xe(n)}})),eu=oi((function(e,t){return Ot(t,(function(t){t=Ri(t),sr(e,t,As(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Tr("function"==typeof e?e:cr(e,1))}var su=Gr((function(e,t){return function(n){return Pr(n,e,t)}})),au=Gr((function(e,t){return function(n){return Pr(e,n,t)}}));function uu(e,t,n){var r=ja(t),o=kr(t,r);null!=n||ta(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,ja(t)));var i=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(e);return Ot(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tt([this.value()],arguments))})})),e}function cu(){}var lu=Qo(Nt),fu=Qo(Pt),du=Qo(Bt);function hu(e){return Ei(e)?Ht(Ri(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Ho(),mu=Ho(!0);function gu(){return[]}function yu(){return!1}var vu=Vo((function(e,t){return e+t}),0),bu=Wo("ceil"),_u=Vo((function(e,t){return e/t}),1),wu=Wo("floor");var Eu,ku=Vo((function(e,t){return e*t}),1),xu=Wo("round"),Du=Vo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=$s,zn.assign=_a,zn.assignIn=wa,zn.assignInWith=Ea,zn.assignWith=ka,zn.at=xa,zn.before=Os,zn.bind=As,zn.bindAll=eu,zn.bindKey=Ps,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},zn.chain=hs,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ma(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));s<i;)u[a++]=oo(e,s,s+=t);return u},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Tt(Qs(n)?Po(n):[n],vr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=li();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Gr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Ct(o[0],this,n))return Ct(o[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=ja(e);return function(n){return lr(n,e,t)}}(cr(e,1))},zn.constant=tu,zn.countBy=gs,zn.create=function(e,t){var n=Un(e);return null==t?n:ir(n,t)},zn.curry=function e(t,n,r){var i=Yo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.curryRight=function e(t,n,r){var i=Yo(t,u,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.debounce=js,zn.defaults=Da,zn.defaultsDeep=Sa,zn.defer=Fs,zn.delay=Is,zn.difference=zi,zn.differenceBy=Ui,zn.differenceWith=qi,zn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:ma(t))<0?0:t,r):[]},zn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:ma(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0):[]},zn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ma(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ma(r))<0&&(r+=i),r=n>r?0:ga(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},zn.filter=function(e,t){return(Qs(e)?jt:yr)(e,li(t,3))},zn.flatMap=function(e,t){return vr(xs(e,t),1)},zn.flatMapDeep=function(e,t){return vr(xs(e,t),h)},zn.flatMapDepth=function(e,t,n){return n=n===o?1:ma(n),vr(xs(e,t),n)},zn.flatten=Xi,zn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,h):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===o?1:ma(t)):[]},zn.flip=function(e){return Yo(e,512)},zn.flow=nu,zn.flowRight=ru,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},zn.functions=function(e){return null==e?[]:kr(e,ja(e))},zn.functionsIn=function(e){return null==e?[]:kr(e,Fa(e))},zn.groupBy=ws,zn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},zn.intersection=Ki,zn.intersectionBy=Ji,zn.intersectionWith=Wi,zn.invert=Oa,zn.invertBy=Aa,zn.invokeMap=Es,zn.iteratee=iu,zn.keyBy=ks,zn.keys=ja,zn.keysIn=Fa,zn.map=xs,zn.mapKeys=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},zn.mapValues=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},zn.matches=function(e){return zr(cr(e,1))},zn.matchesProperty=function(e,t){return Ur(e,cr(t,1))},zn.memoize=Ns,zn.merge=Ia,zn.mergeWith=Na,zn.method=su,zn.methodOf=au,zn.mixin=uu,zn.negate=Ts,zn.nthArg=function(e){return e=ma(e),Gr((function(t){return Vr(t,e)}))},zn.omit=Ta,zn.omitBy=function(e,t){return Ra(e,Ts(li(t)))},zn.once=function(e){return Os(2,e)},zn.orderBy=function(e,t,n,r){return null==e?[]:(Qs(t)||(t=null==t?[]:[t]),Qs(n=r?o:n)||(n=null==n?[]:[n]),Qr(e,t,n))},zn.over=lu,zn.overArgs=Ms,zn.overEvery=fu,zn.overSome=du,zn.partial=Rs,zn.partialRight=Bs,zn.partition=Ds,zn.pick=Ma,zn.pickBy=Ra,zn.property=hu,zn.propertyOf=function(e){return function(t){return null==e?o:xr(e,t)}},zn.pull=Zi,zn.pullAll=Yi,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,li(n,2)):e},zn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,o,n):e},zn.pullAt=es,zn.range=pu,zn.rangeRight=mu,zn.rearg=Ls,zn.reject=function(e,t){return(Qs(e)?jt:yr)(e,Ts(li(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=li(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Kr(e,o),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Gr(e,t=t===o?t:ma(t))},zn.reverse=ts,zn.sampleSize=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),(Qs(e)?Yn:Yr)(e,t)},zn.set=function(e,t,n){return null==e?e:eo(e,t,n)},zn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},zn.shuffle=function(e){return(Qs(e)?er:ro)(e)},zn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wi(e,t,n)?(t=0,n=r):(t=null==t?0:ma(t),n=n===o?r:ma(n)),oo(e,t,n)):[]},zn.sortBy=Ss,zn.sortedUniq=function(e){return e&&e.length?uo(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,li(t,2)):[]},zn.split=function(e,t,n){return n&&"number"!=typeof n&&wi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=lo(t))&&un(e)?ko(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ma(t),0),Gr((function(n){var r=n[t],o=ko(n,0,t);return r&&Tt(o,r),Ct(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ma(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ma(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,li(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ps,zn.toArray=ha,zn.toPairs=Ba,zn.toPairsIn=La,zn.toPath=function(e){return Qs(e)?Nt(e,Ri):ca(e)?[e]:Po(Mi(ba(e)))},zn.toPlainObject=va,zn.transform=function(e,t,n){var r=Qs(e),o=r||Js(e)||la(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ta(e)&&Zs(i)?Un(He(e)):{}}return(o?Ot:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return $s(e,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,li(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=is,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:po(e,t,_o(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,_o(n),r)},zn.values=za,zn.valuesIn=function(e){return null==e?[]:en(e,Fa(e))},zn.without=as,zn.words=Za,zn.wrap=function(e,t){return Rs(_o(t),e)},zn.xor=us,zn.xorBy=cs,zn.xorWith=ls,zn.zip=fs,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=Ba,zn.entriesIn=La,zn.extend=wa,zn.extendWith=Ea,uu(zn,zn),zn.add=vu,zn.attempt=Ya,zn.camelCase=Ua,zn.capitalize=qa,zn.ceil=bu,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ya(n))==n?n:0),t!==o&&(t=(t=ya(t))==t?t:0),ur(ya(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||lr(e,t,ja(t))},zn.deburr=Va,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_u,zn.endsWith=function(e,t,n){e=ba(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(ma(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=zs,zn.escape=function(e){return(e=ba(e))&&G.test(e)?e.replace(J,sn):e},zn.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Qs(e)?Pt:mr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.find=ys,zn.findIndex=Vi,zn.findKey=function(e,t){return zt(e,li(t,3),wr)},zn.findLast=vs,zn.findLastIndex=Qi,zn.findLastKey=function(e,t){return zt(e,li(t,3),Er)},zn.floor=wu,zn.forEach=bs,zn.forEachRight=_s,zn.forIn=function(e,t){return null==e?e:br(e,li(t,3),Fa)},zn.forInRight=function(e,t){return null==e?e:_r(e,li(t,3),Fa)},zn.forOwn=function(e,t){return e&&wr(e,li(t,3))},zn.forOwnRight=function(e,t){return e&&Er(e,li(t,3))},zn.get=Ca,zn.gt=Us,zn.gte=qs,zn.has=function(e,t){return null!=e&&yi(e,t,$r)},zn.hasIn=$a,zn.head=Hi,zn.identity=ou,zn.includes=function(e,t,n,r){e=Hs(e)?e:za(e),n=n&&!r?ma(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=ya(e),t,n)},zn.invoke=Pa,zn.isArguments=Vs,zn.isArray=Qs,zn.isArrayBuffer=Xs,zn.isArrayLike=Hs,zn.isArrayLikeObject=Ks,zn.isBoolean=function(e){return!0===e||!1===e||na(e)&&Sr(e)==_},zn.isBuffer=Js,zn.isDate=Ws,zn.isElement=function(e){return na(e)&&1===e.nodeType&&!ia(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Hs(e)&&(Qs(e)||"string"==typeof e||"function"==typeof e.splice||Js(e)||la(e)||Vs(e)))return!e.length;var t=gi(e);if(t==D||t==A)return!e.size;if(Di(e))return!Mr(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Fr(e,t)},zn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Fr(e,t,o,n):!!r},zn.isError=Gs,zn.isFinite=function(e){return"number"==typeof e&&_t(e)},zn.isFunction=Zs,zn.isInteger=Ys,zn.isLength=ea,zn.isMap=ra,zn.isMatch=function(e,t){return e===t||Ir(e,t,di(t))},zn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Ir(e,t,di(t),n)},zn.isNaN=function(e){return oa(e)&&e!=+e},zn.isNative=function(e){if(xi(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=oa,zn.isObject=ta,zn.isObjectLike=na,zn.isPlainObject=ia,zn.isRegExp=sa,zn.isSafeInteger=function(e){return Ys(e)&&e>=-9007199254740991&&e<=p},zn.isSet=aa,zn.isString=ua,zn.isSymbol=ca,zn.isTypedArray=la,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return na(e)&&gi(e)==F},zn.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":Lt.call(e,t)},zn.kebabCase=Qa,zn.last=Gi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ma(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Qt,i,!0)},zn.lowerCase=Xa,zn.lowerFirst=Ha,zn.lt=fa,zn.lte=da,zn.max=function(e){return e&&e.length?gr(e,ou,Cr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,li(t,2),Cr):o},zn.mean=function(e){return Xt(e,ou)},zn.meanBy=function(e,t){return Xt(e,li(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,Br):o},zn.minBy=function(e,t){return e&&e.length?gr(e,li(t,2),Br):o},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=ku,zn.nth=function(e,t){return e&&e.length?Vr(e,ma(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cu,zn.now=Cs,zn.pad=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(gt(o),n)+e+Xo(pt(o),n)},zn.padEnd=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?e+Xo(t-r,n):e},zn.padStart=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?Xo(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(ba(e).replace(se,""),t||0)},zn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pa(e),t===o?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},zn.reduce=function(e,t,n){var r=Qs(e)?Mt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Qs(e)?Rt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),Wr(ba(e),t)},zn.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++r<i;){var s=null==e?o:e[Ri(t[r])];s===o&&(r=i,s=n),e=Zs(s)?s.call(e):s}return e},zn.round=xu,zn.runInContext=e,zn.sample=function(e){return(Qs(e)?Zn:Zr)(e)},zn.size=function(e){if(null==e)return 0;if(Hs(e))return ua(e)?pn(e):e.length;var t=gi(e);return t==D||t==A?e.size:Mr(e).length},zn.snakeCase=Ka,zn.some=function(e,t,n){var r=Qs(e)?Bt:io;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.sortedIndex=function(e,t){return so(e,t)},zn.sortedIndexBy=function(e,t,n){return ao(e,t,li(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&zs(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return so(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ao(e,t,li(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(zs(e[n],t))return n}return-1},zn.startCase=Ja,zn.startsWith=function(e,t,n){return e=ba(e),n=null==n?0:ur(ma(n),0,e.length),t=lo(t),e.slice(n,n+t.length)==t},zn.subtract=Du,zn.sum=function(e){return e&&e.length?Wt(e,ou):0},zn.sumBy=function(e,t){return e&&e.length?Wt(e,li(t,2)):0},zn.template=function(e,t,n){var r=zn.templateSettings;n&&wi(e,t,n)&&(t=o),e=ba(e),t=Ea({},t,r,ei);var i,s,a=Ea({},t.imports,r.imports,ei),u=ja(a),c=en(a,u),l=0,f=t.interpolate||Ee,d="__p += '",h=$e((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?pe:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),p="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(h,(function(t,n,r,o,a,u){return r||(r=o),d+=e.slice(l,u).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),d+="';\n";var m=Te.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Q,""):d).replace(X,"$1").replace(H,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Ya((function(){return De(u,p+"return "+d).apply(o,c)}));if(g.source=d,Gs(g))throw g;return g},zn.times=function(e,t){if((e=ma(e))<1||e>p)return[];var n=g,r=_n(e,g);t=li(t),e-=g;for(var o=Gt(r,t);++n<e;)t(n);return o},zn.toFinite=pa,zn.toInteger=ma,zn.toLength=ga,zn.toLower=function(e){return ba(e).toLowerCase()},zn.toNumber=ya,zn.toSafeInteger=function(e){return e?ur(ma(e),-9007199254740991,p):0===e?e:0},zn.toString=ba,zn.toUpper=function(e){return ba(e).toUpperCase()},zn.trim=function(e,t,n){if((e=ba(e))&&(n||t===o))return Zt(e);if(!e||!(t=lo(t)))return e;var r=mn(e),i=mn(t);return ko(r,nn(r,i),rn(r,i)+1).join("")},zn.trimEnd=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.slice(0,gn(e)+1);if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,0,rn(r,mn(t))+1).join("")},zn.trimStart=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.replace(se,"");if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,nn(r,mn(t))).join("")},zn.truncate=function(e,t){var n=30,r="...";if(ta(t)){var i="separator"in t?t.separator:i;n="length"in t?ma(t.length):n,r="omission"in t?lo(t.omission):r}var s=(e=ba(e)).length;if(un(e)){var a=mn(e);s=a.length}if(n>=s)return e;var u=n-pn(r);if(u<1)return r;var c=a?ko(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),sa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=$e(i.source,ba(me.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(lo(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ba(e))&&W.test(e)?e.replace(K,yn):e},zn.uniqueId=function(e){var t=++Me;return ba(e)+t},zn.upperCase=Wa,zn.upperFirst=Ga,zn.each=bs,zn.eachRight=_s,zn.first=Hi,uu(zn,(Eu={},wr(zn,(function(e,t){Te.call(zn.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zn.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Ot(["drop","take"],(function(e,t){Qn.prototype[e]=function(n){n=n===o?1:bn(ma(n),0);var r=this.__filtered__&&!t?new Qn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Qn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Qn.prototype[e]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ou)},Qn.prototype.find=function(e){return this.filter(e).head()},Qn.prototype.findLast=function(e){return this.reverse().find(e)},Qn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Qn(this):this.map((function(n){return Pr(n,e,t)}))})),Qn.prototype.reject=function(e){return this.filter(Ts(li(e)))},Qn.prototype.slice=function(e,t){e=ma(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ma(t))<0?n.dropRight(-t):n.take(t-e)),n)},Qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Qn.prototype.toArray=function(){return this.take(g)},wr(Qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Qn,c=a[0],l=u||Qs(t),f=function(e){var t=i.apply(zn,Tt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=s&&!d,m=u&&!h;if(!s&&l){t=m?t:new Qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ps,args:[f],thisArg:o}),new Vn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Qs(o)?o:[],e)}return this[n]((function(n){return t.apply(Qs(n)?n:[],e)}))}})),wr(Qn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Te.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Uo(o,2).name]=[{name:"wrapper",func:o}],Qn.prototype.clone=function(){var e=new Qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Qn.prototype.reverse=function(){if(this.__filtered__){var e=new Qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=_n(t,e+s);break;case"takeRight":e=bn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,d=0,h=_n(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return go(e,this.__actions__);var p=[];e:for(;u--&&d<h;){for(var m=-1,g=e[c+=t];++m<f;){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}p[d++]=g}return p},zn.prototype.at=ms,zn.prototype.chain=function(){return hs(this)},zn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===o&&(this.__values__=ha(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var r=Li(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Qn){var t=e;return this.__actions__.length&&(t=new Qn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[ts],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ze&&(zn.prototype[Ze]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},16765:(e,t,n)=>{var r=n(82857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},86448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},89754:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={constant:"constant_8nJK"}},3350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={deprecated:"deprecated__nvj"}},65950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},43654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},65128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},84501:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r<i?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(i+=e);for(let t=r;t!==i;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},27822:(e,t,n)=>{"use strict";const r=n(25308);e.exports=r,r.default=r},25308:e=>{"use strict";e.exports=function(e,n,r){var o,i="";if(t="",arguments.length>1){if("number"==typeof r)for(o=0;o<r;o+=1)i+=" ";else"string"==typeof r&&(i=r);if(""!==i){if(null!=n){if("function"==typeof n)return a("",{"":e},[],n,i);if(Array.isArray(n))return u("",e,[],n,i)}return c("",e,[],i)}if("function"==typeof n)return f("",{"":e},[],n);if(Array.isArray(n))return l("",e,[],n)}return d("",e,[])};var t="";const n=/[\x00-\x1f\x22\x5c]/,r=/[\x00-\x1f\x22\x5c]/g,o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000b","\\f","\\r","\\u000e","\\u000f","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001a","\\u001b","\\u001c","\\u001d","\\u001e","\\u001f","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\"];function i(e){return o[e.charCodeAt(0)]}function s(e){if(e.length<5e3&&!n.test(e))return e;if(e.length>100)return e.replace(r,i);for(var t="",s=0,a=0;a<e.length;a++){const n=e.charCodeAt(a);(34===n||92===n||n<32)&&(t+=s===a?o[n]:`${e.slice(s,a)}${o[n]}`,s=a+1)}return 0===s?t=e:s!==a&&(t+=e.slice(s)),t}function a(e,n,r,o,i){var u,c,l;const f=t;var d=n[e];switch("object"==typeof d&&null!==d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof(d=o.call(n,e,d))){case"object":if(null===d)return"null";for(u=0;u<r.length;u++)if(r[u]===d)return'"[Circular]"';if(Array.isArray(d)){if(0===d.length)return"[]";for(r.push(d),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,u=0;u<d.length-1;u++){const e=a(u,d,r,o,i);c+=void 0!==e?e:"null",c+=l}const e=a(u,d,r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}var p=h(Object.keys(d));if(0===p.length)return"{}";r.push(d),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var m="";for(u=0;u<p.length;u++){const t=a(e=p[u],d,r,o,i);void 0!==t&&(c+=`${m}"${s(e)}": ${t}`,m=l)}return""!==m?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(d)}"`;case"number":return isFinite(d)?String(d):"null";case"boolean":return!0===d?"true":"false"}}function u(e,n,r,o,i){var a,c,l;const f=t;switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"object":if(null===n)return"null";for(a=0;a<r.length;a++)if(r[a]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,a=0;a<n.length-1;a++){const e=u(a,n[a],r,o,i);c+=void 0!==e?e:"null",c+=l}const e=u(a,n[a],r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}if(0===o.length)return"{}";r.push(n),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var d="";for(a=0;a<o.length;a++)if("string"==typeof o[a]||"number"==typeof o[a]){const t=u(e=o[a],n[e],r,o,i);void 0!==t&&(c+=`${d}"${s(e)}": ${t}`,d=l)}return""!==d?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function c(e,n,r,o){var i,a,u;const l=t;switch(typeof n){case"object":if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return c(e,n,r,o);if(null===n)return"null"}for(i=0;i<r.length;i++)if(r[i]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),a="[",a+=`\n${t+=o}`,u=`,\n${t}`,i=0;i<n.length-1;i++){const e=c(i,n[i],r,o);a+=void 0!==e?e:"null",a+=u}const e=c(i,n[i],r,o);return a+=void 0!==e?e:"null",""!==t&&(a+=`\n${l}`),a+="]",r.pop(),t=l,a}var f=h(Object.keys(n));if(0===f.length)return"{}";r.push(n),a="{",a+=`\n${t+=o}`,u=`,\n${t}`;var d="";for(i=0;i<f.length;i++){const t=c(e=f[i],n[e],r,o);void 0!==t&&(a+=`${d}"${s(e)}": ${t}`,d=u)}return""!==d?a+=`\n${l}`:a="{",a+="}",r.pop(),t=l,a;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function l(e,t,n,r){var o,i;switch("object"==typeof t&&null!==t&&"function"==typeof t.toJSON&&(t=t.toJSON(e)),typeof t){case"object":if(null===t)return"null";for(o=0;o<n.length;o++)if(n[o]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),i="[",o=0;o<t.length-1;o++){const e=l(o,t[o],n,r);i+=void 0!==e?e:"null",i+=","}const e=l(o,t[o],n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}if(0===r.length)return"{}";n.push(t),i="{";var a="";for(o=0;o<r.length;o++)if("string"==typeof r[o]||"number"==typeof r[o]){const u=l(e=r[o],t[e],n,r);void 0!==u&&(i+=`${a}"${s(e)}":${u}`,a=",")}return i+="}",n.pop(),i;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function f(e,t,n,r){var o,i,a=t[e];switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(e)),typeof(a=r.call(t,e,a))){case"object":if(null===a)return"null";for(o=0;o<n.length;o++)if(n[o]===a)return'"[Circular]"';if(Array.isArray(a)){if(0===a.length)return"[]";for(n.push(a),i="[",o=0;o<a.length-1;o++){const e=f(o,a,n,r);i+=void 0!==e?e:"null",i+=","}const e=f(o,a,n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}var u=h(Object.keys(a));if(0===u.length)return"{}";n.push(a),i="{";var c="";for(o=0;o<u.length;o++){const t=f(e=u[o],a,n,r);void 0!==t&&(i+=`${c}"${s(e)}":${t}`,c=",")}return i+="}",n.pop(),i;case"string":return`"${s(a)}"`;case"number":return isFinite(a)?String(a):"null";case"boolean":return!0===a?"true":"false"}}function d(e,t,n){var r,o;switch(typeof t){case"object":if(null===t)return"null";if("function"==typeof t.toJSON){if("object"!=typeof(t=t.toJSON(e)))return d(e,t,n);if(null===t)return"null"}for(r=0;r<n.length;r++)if(n[r]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),o="[",r=0;r<t.length-1;r++){const e=d(r,t[r],n);o+=void 0!==e?e:"null",o+=","}const e=d(r,t[r],n);return o+=void 0!==e?e:"null",o+="]",n.pop(),o}var i=h(Object.keys(t));if(0===i.length)return"{}";n.push(t);var a="";for(o="{",r=0;r<i.length;r++){const u=d(e=i[r],t[e],n);void 0!==u&&(o+=`${a}"${s(e)}":${u}`,a=",")}return o+="}",n.pop(),o;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function h(e){for(var t=1;t<e.length;t++){const r=e[t];for(var n=t;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}},63338:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(6299));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},12854:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function s(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function a(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),s=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",a),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=n(r+t(r,o,"[\\+\\-\\.]")+"*"),d=n(n(s+"|"+t(l,a,"[\\:]"))+"*"),h=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),p=n(h+"\\."+h+"\\."+h+"\\."+h),m=n(i+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+p),y=n(n(m+"\\:")+"{6}"+g),v=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),E=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),k=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),x=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),D=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),S=n([y,v,b,_,w,E,k,x,D].join("|")),C=n(n(l+"|"+s)+"+"),$=(n(S+"\\%25"+C),n(S+n("\\%25|\\%(?!"+i+"{2})")+C)),O=n("[vV]"+i+"+\\."+t(l,a,"[\\:]")+"+"),A=n("\\["+n($+"|"+S+"|"+O)+"\\]"),P=n(n(s+"|"+t(l,a))+"*"),j=n(A+"|"+p+"(?!"+P+")|"+P),F=n(o+"*"),I=n(n(d+"@")+"?"+j+n("\\:"+F)+"?"),N=n(s+"|"+t(l,a,"[\\:\\@]")),T=n(N+"*"),M=n(N+"+"),R=n(n(s+"|"+t(l,a,"[\\@]"))+"+"),B=n(n("\\/"+T)+"*"),L=n("\\/"+n(M+B)+"?"),z=n(R+B),U=n(M+B),q="(?!"+N+")",V=(n(B+"|"+L+"|"+z+"|"+U+"|"+q),n(n(N+"|"+t("[\\/\\?]",c))+"*")),Q=n(n(N+"|[\\/\\?]")+"*"),X=n(n("\\/\\/"+I+B)+"|"+L+"|"+U+"|"+q),H=n(f+"\\:"+X+n("\\?"+V)+"?"+n("\\#"+Q)+"?"),K=n(n("\\/\\/"+I+B)+"|"+L+"|"+z+"|"+q),J=n(K+n("\\?"+V)+"?"+n("\\#"+Q)+"?");return n(H+"|"+J),n(f+"\\:"+X+n("\\?"+V)+"?"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+z+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n("("+d+")@"),n("\\:("+F+")"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,a),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+C+")")+"?\\]?$")}}var u=a(!1),c=a(!0),l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},d=2147483647,h=36,p=1,m=26,g=38,y=700,v=72,b=128,_="-",w=/^xn--/,E=/[^\0-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=h-p,S=Math.floor,C=String.fromCharCode;function $(e){throw new RangeError(x[e])}function O(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+O((e=e.replace(k,".")).split("."),t).join(".")}function P(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},F=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,n){var r=0;for(e=n?S(e/y):e>>1,e+=S(e/t);e>D*m>>1;r+=h)e=S(e/D);return S(r+(D+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=v,s=e.lastIndexOf(_);s<0&&(s=0);for(var a=0;a<s;++a)e.charCodeAt(a)>=128&&$("not-basic"),t.push(e.charCodeAt(a));for(var u=s>0?s+1:0;u<n;){for(var c=r,l=1,f=h;;f+=h){u>=n&&$("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>S((d-r)/l))&&$("overflow"),r+=g*l;var y=f<=i?p:f>=i+m?m:f-i;if(g<y)break;var w=h-y;l>S(d/w)&&$("overflow"),l*=w}var E=t.length+1;i=I(r-c,E,0==c),S(r/E)>d-o&&$("overflow"),o+=S(r/E),r%=E,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},T=function(e){var t=[],n=(e=P(e)).length,r=b,o=0,i=v,s=!0,a=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(s=(c=l.next()).done);s=!0){var f=c.value;f<128&&t.push(C(f))}}catch(X){a=!0,u=X}finally{try{!s&&l.return&&l.return()}finally{if(a)throw u}}var g=t.length,y=g;for(g&&t.push(_);y<n;){var w=d,E=!0,k=!1,x=void 0;try{for(var D,O=e[Symbol.iterator]();!(E=(D=O.next()).done);E=!0){var A=D.value;A>=r&&A<w&&(w=A)}}catch(X){k=!0,x=X}finally{try{!E&&O.return&&O.return()}finally{if(k)throw x}}var j=y+1;w-r>S((d-o)/j)&&$("overflow"),o+=(w-r)*j,r=w;var N=!0,T=!1,M=void 0;try{for(var R,B=e[Symbol.iterator]();!(N=(R=B.next()).done);N=!0){var L=R.value;if(L<r&&++o>d&&$("overflow"),L==r){for(var z=o,U=h;;U+=h){var q=U<=i?p:U>=i+m?m:U-i;if(z<q)break;var V=z-q,Q=h-q;t.push(C(F(q+V%Q,0))),z=S(V/Q)}t.push(C(F(z,0))),i=I(o,j,y==g),o=0,++y}}}catch(X){T=!0,M=X}finally{try{!N&&B.return&&B.return()}finally{if(T)throw M}}++o,++r}return t.join("")},M=function(e){return A(e,(function(e){return w.test(e)?N(e.slice(4).toLowerCase()):e}))},R=function(e){return A(e,(function(e){return E.test(e)?"xn--"+T(e):e}))},B={version:"2.1.0",ucs2:{decode:P,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:N,encode:T,toASCII:R,toUnicode:M},L={};function z(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function q(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(V).join("."):e}function X(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],f=c?c.split(":").map(V):[],d=u.split(":").map(V),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,g=Array(p),y=0;y<p;++y)g[y]=f[y]||d[m+y]||"";h&&(g[p-1]=Q(g[p-1],t));var v=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var _=g.slice(0,v.index),w=g.slice(v.index+v.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(H);if(o){K?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=X(Q(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=L[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)q(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=B.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(s){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+s}q(n,u)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?c:u,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(X(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,Z=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:u,r=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+a}q(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||o&&o.absolutePath||(s=te(s)),void 0===i&&(s=s.replace(/^\/\//,"/%2F")),r.push(s)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=s({scheme:"null"},n);return ne(re(J(e,r),J(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===r(e)&&(e=J(ne(e,t),t)),e}function se(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function ae(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,z)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,U)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=fe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},pe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),_e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Ee=new RegExp(ye,"g"),ke=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),xe=new RegExp(t("[^]",me,_e),"g"),De=xe;function Se(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a<u;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,d=l.length;f<d;++f)r.push(l[f]);break;case"subject":n.subject=ue(c[1],t);break;case"body":n.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var h=0,p=r.length;h<p;++h){var m=r[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(g){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+g}r[h]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var s=0,a=r.length;s<a;++s){var u=String(r[s]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(Ee,Se).replace(Ee,o).replace(ke,z),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(m){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+m}r[s]=l+"@"+f}n.path=r.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var p in d)d[p]!==pe[p]&&h.push(p.replace(Ee,Se).replace(Ee,o).replace(xe,z)+"="+d[p].replace(Ee,Se).replace(Ee,o).replace(De,z));return h.length&&(n.query=h.join("&")),n}},$e=/^([^\:]+)\:(.*)/,Oe={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match($e),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),s=n[2],a=o+":"+(t.nid||i),u=L[a];r.nid=i,r.nss=s,r.path=void 0,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=L[o];i&&(e=i.serialize(e,t));var s=e,a=e.nss;return s.path=(r||t.nid)+":"+a,s}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pe={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};L[ce.scheme]=ce,L[le.scheme]=le,L[de.scheme]=de,L[he.scheme]=he,L[Ce.scheme]=Ce,L[Oe.scheme]=Oe,L[Pe.scheme]=Pe,e.SCHEMES=L,e.pctEncChar=z,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=se,e.escapeComponent=ae,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},69569:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,n,r=e.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),t=0;t<o&&""!==r[t];t++);if(t<i)for(r.splice(t,1,"0000");r.length<i;)r.splice(t,0,"0000");for(var s=0;s<i;s++){n=r[s].split("");for(var a=0;a<3&&("0"===n[0]&&n.length>1);a++)n.splice(0,1);r[s]=n.join("")}var u=-1,c=0,l=0,f=-1,d=!1;for(s=0;s<i;s++)d?"0"===r[s]?l+=1:(d=!1,l>c&&(u=f,c=l)):"0"===r[s]&&(d=!0,f=s,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),o=r.length;var h="";for(""===r[0]&&(h=":"),s=0;s<o&&(h+=r[s],s!==o-1);s++)h+=":";return""===r[o-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},34171:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var o=n.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var o=n.list[e.slice(t+1)];return o?o.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))},30957:function(e,t,n){var r,o,i;!function(s,a){"use strict";e.exports?e.exports=a(n(9942),n(69569),n(34171)):(o=[n(9942),n(69569),n(34171)],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r){"use strict";var o=r&&r.URI;function i(e,t){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.11";var s=i.prototype,a=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function f(e,t){var n,r,o={};if("RegExp"===c(t))o=null;else if(l(t))for(n=0,r=t.length;n<r;n++)o[t[n]]=!0;else o[t]=!0;for(n=0,r=e.length;n<r;n++){(o&&void 0!==o[e[n]]||!o&&t.test(e[n]))&&(e.splice(n,1),r--,n--)}return e}function d(e,t){var n,r;if(l(t)){for(n=0,r=t.length;n<r;n++)if(!d(e,t[n]))return!1;return!0}var o=c(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===o){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function h(e,t){if(!l(e)||!l(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function p(e){return e.replace(/^\/+|\/+$/g,"")}function m(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,m).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(n){return e}};var y,v={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,(function(n){return i.characters[e][t].map[n]}))}catch(r){return n}}};for(y in v)i[y+"PathSegment"]=b("pathname",v[y]),i[y+"UrnPathSegment"]=b("urnpath",v[y]);var _=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var s=(r+"").split(e),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(e)}};function w(e){return function(t,n){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!n),this)}}function E(e,t){return function(n,r){return void 0===n?this._parts[e]||"":(null!==n&&(n+="").charAt(0)===t&&(n=n.substring(1)),this._parts[e]=n,this.build(!r),this)}}i.decodePath=_("/","decodePathSegment"),i.decodeUrnPath=_(":","decodeUrnPathSegment"),i.recodePath=_("/","encodePathSegment","decode"),i.recodeUrnPath=_(":","encodeUrnPathSegment","decode"),i.encodeReserved=b("reserved","encode"),i.parse=function(e,t){var n;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(n=(e=(e=e.replace(i.leading_whitespace_expression,"")).replace(i.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var n,r,o=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,o)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),u=e.indexOf(":",s+1);-1!==u&&(-1===a||u<a)?(t.hostname=e.substring(0,o)||null,t.port=null):(r=e.substring(0,o).split(":"),t.hostname=r[0]||null,t.port=r[1]||null)}return t.hostname&&"/"!==e.substring(o).charAt(0)&&(o++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(o)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var n=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var r,o=e.indexOf("/"),s=e.lastIndexOf("@",o>-1?o:e.length-1);return s>-1&&(-1===o||s<o)?(r=e.substring(0,s).split(":"),t.username=r[0]?i.decode(r[0]):null,r.shift(),t.password=r[0]?i.decode(r.join(":")):null,e=n.substring(s+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,s={},u=e.split("&"),c=u.length,l=0;l<c;l++)n=u[l].split("="),r=i.decodeQuery(n.shift(),t),o=n.length?i.decodeQuery(n.join("="),t):null,"__proto__"!==r&&(a.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o);return s},i.build=function(e){var t="",n=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",n=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&n&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,n){var r,o,s,u,c="";for(o in e)if("__proto__"!==o&&a.call(e,o))if(l(e[o]))for(r={},s=0,u=e[o].length;s<u;s++)void 0!==e[o][s]&&void 0===r[e[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,e[o][s],n),!0!==t&&(r[e[o][s]+""]=!0));else void 0!==e[o]&&(c+="&"+i.buildQueryParameter(o,e[o],n));return c.substring(1)},i.buildQueryParameter=function(e,t,n){return i.encodeQuery(e,n)+(null!==t?"="+i.encodeQuery(t,n):"")},i.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=n);"string"==typeof e[t]&&(e[t]=[e[t]]),l(n)||(n=[n]),e[t]=(e[t]||[]).concat(n)}},i.setQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.setQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===n?null:n}},i.removeQuery=function(e,t,n){var r,o,s;if(l(t))for(r=0,o=t.length;r<o;r++)e[t[r]]=void 0;else if("RegExp"===c(t))for(s in e)t.test(s)&&(e[s]=void 0);else if("object"==typeof t)for(s in t)a.call(t,s)&&i.removeQuery(e,s,t[s]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===c(n)?!l(e[t])&&n.test(e[t])?e[t]=void 0:e[t]=f(e[t],n):e[t]!==String(n)||l(n)&&1!==n.length?l(e[t])&&(e[t]=f(e[t],n)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,n,r){switch(c(t)){case"String":break;case"RegExp":for(var o in e)if(a.call(e,o)&&t.test(o)&&(void 0===n||i.hasQuery(e,o,n)))return!0;return!1;case"Object":for(var s in t)if(a.call(t,s)&&!i.hasQuery(e,s,t[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(n)){case"Undefined":return t in e;case"Boolean":return n===Boolean(l(e[t])?e[t].length:e[t]);case"Function":return!!n(e[t],t,e);case"Array":return!!l(e[t])&&(r?d:h)(e[t],n);case"RegExp":return l(e[t])?!!r&&d(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return l(e[t])?!!r&&d(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);e.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&t.push(s[a]),s[a]&&n++}if(!t.length||!n)return new i("");var u=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},i.withinString=function(e,t,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(e);if(!c)break;var l=c.index;if(n.ignoreHtml){var f=e.slice(Math.max(l-3,0),l);if(f&&u.test(f))continue}for(var d=l+e.slice(l).search(o),h=e.slice(l,d),p=-1;;){var m=a.exec(h);if(!m)break;var g=m.index+m[0].length;p=Math.max(p,g)}if(!((h=p>-1?h.slice(0,p)+h.slice(p).replace(s,""):h.replace(s,"")).length<=c[0].length||n.ignore&&n.ignore.test(h))){var y=t(h,l,d=l+h.length,e);void 0!==y?(y=String(y),e=e.slice(0,l)+y+e.slice(d),r.lastIndex=l+y.length):r.lastIndex=d}}return r.lastIndex=0,e},i.ensureValidHostname=function(t,n){var r=!!t,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=o),this},s.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=w("protocol"),s.username=w("username"),s.password=w("password"),s.hostname=w("hostname"),s.port=w("port"),s.query=E("query","?"),s.fragment=E("fragment","#"),s.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},s.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},s.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},s.path=s.pathname,s.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[i.getDomAttribute(e)]||"",o=!1);if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var s=r?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=r||o))&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var k=s.protocol,x=s.port,D=s.hostname;s.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},s.scheme=s.protocol,s.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),x.call(this,e,t))},s.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)},s.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},s.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},s.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},s.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),s=new RegExp("^"+u(o));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},s.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},s.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,o),a=new RegExp("^"+u(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},s.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var o=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(o=!0);var s=new RegExp(u(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),o?this.normalizePath(t):this.build(!t),this},s.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),s=o.lastIndexOf(".");return-1===s?"":(n=o.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),s=o.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];for(var a=0,u=t.length;a<u;a++)(t[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(t[a])))}else(t||"string"==typeof t)&&(t=p(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t));else t?s[e]=p(t):s.splice(e,1);return i&&s.unshift(""),this.path(s.join(r),n)},s.segmentCoded=function(e,t,n){var r,o,s;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(l(r=this.segment(e,t,n)))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(l(t))for(o=0,s=t.length;o<s;o++)t[o]=i.encode(t[o]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,n)};var S=s.query;return s.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):S.call(this,e,t)},s.setQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in e)a.call(e,o)&&(r[o]=e[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.addQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,e,void 0===t?null:t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.removeQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,e,t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.hasQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,e,t,n)},s.setSearch=s.setQuery,s.addSearch=s.addQuery,s.removeSearch=s.removeQuery,s.hasSearch=s.hasQuery,s.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},s.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},s.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},s.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},s.normalizePath=function(e){var t,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var r,o,s="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(t=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(s=n.substring(1).match(/^(\.\.\/)+/)||"")&&(s=s[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return t&&this.is("relative")&&(n=s+n.substring(1)),this._parts.path=n,this.build(!e),this},s.normalizePathname=s.normalizePath,s.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},s.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},s.normalizeSearch=s.normalizeQuery,s.normalizeHash=s.normalizeFragment,s.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.readable=function(){var t=this.clone();t.username("").password("").normalize();var n="";if(t._parts.protocol&&(n+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(n+=e.toUnicode(t._parts.hostname),t._parts.port&&(n+=":"+t._parts.port)):n+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(n+="/"),n+=t.path(!0),t._parts.query){for(var r="",o=0,s=t._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(t.hash(),!0)},s.absoluteTo=function(e){var t,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),o._parts.protocol)return o;if(o._parts.protocol=e._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=e._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),o._parts.path=(t?t+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=e._parts.path,o._parts.query||(o._parts.query=e._parts.query)),o.build(),o},s.relativeTo=function(e){var t,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=a._parts,n=e._parts,o=a.path(),s=e.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==n.hostname||t.port!==n.port)return a.build();if(t.hostname=null,t.port=null,o===s)return t.path="",a.build();if(!(r=i.commonPath(o,s)))return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=u+t.path.substring(r.length)||"./",a.build()},s.equals=function(e){var t,n,r,o,s,u=this.clone(),c=new i(e),f={};if(u.normalize(),c.normalize(),u.toString()===c.toString())return!0;if(r=u.query(),o=c.query(),u.query(""),c.query(""),u.toString()!==c.toString())return!1;if(r.length!==o.length)return!1;for(s in t=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),t)if(a.call(t,s)){if(l(t[s])){if(!h(t[s],n[s]))return!1}else if(t[s]!==n[s])return!1;f[s]=!0}for(s in n)if(a.call(n,s)&&!f[s])return!1;return!0},s.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},s.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},s.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},9942:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var s,a=2147483647,u=36,c=1,l=26,f=38,d=700,h=72,p=128,m="-",g=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(b[e])}function x(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function D(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+x((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function C(e){return x(e,(function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)})).join("")}function $(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*l>>1;r+=u)e=w(e/_);return w(r+(_+1)*e/(e+f))}function A(e){var t,n,r,o,i,s,f,d,g,y,v,b=[],_=e.length,E=0,x=p,D=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=E,s=1,f=u;o>=_&&k("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||d>w((a-E)/s))&&k("overflow"),E+=d*s,!(d<(g=f<=D?c:f>=D+l?l:f-D));f+=u)s>w(a/(y=u-g))&&k("overflow"),s*=y;D=O(E-i,t=b.length+1,0==i),w(E/t)>a-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return C(b)}function P(e){var t,n,r,o,i,s,f,d,g,y,v,b,_,x,D,C=[];for(b=(e=S(e)).length,t=p,n=0,i=h,s=0;s<b;++s)(v=e[s])<128&&C.push(E(v));for(r=o=C.length,o&&C.push(m);r<b;){for(f=a,s=0;s<b;++s)(v=e[s])>=t&&v<f&&(f=v);for(f-t>w((a-n)/(_=r+1))&&k("overflow"),n+=(f-t)*_,t=f,s=0;s<b;++s)if((v=e[s])<t&&++n>a&&k("overflow"),v==t){for(d=n,g=u;!(d<(y=g<=i?c:g>=i+l?l:g-i));g+=u)D=d-y,x=u-y,C.push(E($(y+D%x,0))),d=w(D/x);C.push(E($(d,0))),i=O(n,_,r==o),n=0,++r}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:S,encode:C},decode:A,encode:P,toASCII:function(e){return D(e,(function(e){return y.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return D(e,(function(e){return g.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},90682:(e,t)=>{"use strict";const n=1024;let r=0;class o{constructor(e,t){this.from=e,this.to=t}}class i{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}i.closedBy=new i({deserialize:e=>e.split(" ")}),i.openedBy=new i({deserialize:e=>e.split(" ")}),i.group=new i({deserialize:e=>e.split(" ")}),i.isolate=new i({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),i.contextHash=new i({perNode:!0}),i.lookAhead=new i({perNode:!0}),i.mounted=new i({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[i.mounted.id]}}const a=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new u(e.name||"",t,e.id,n);if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(i.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(i.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new u(n.name,r,n.id,n.flags):n)}return new c(t)}}const l=new WeakMap,f=new WeakMap;var d;t.IterMode=void 0,(d=t.IterMode||(t.IterMode={}))[d.ExcludeBuffers=1]="ExcludeBuffers",d[d.IncludeAnonymous=2]="IncludeAnonymous",d[d.IgnoreMounts=4]="IgnoreMounts",d[d.IgnoreOverlays=8]="IgnoreOverlays";class h{constructor(e,t,n,r,o){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new S(this.topNode,e)}cursorAt(e,t=0,n=0){let r=l.get(this)||this.topNode,o=new S(r);return o.moveTo(e,t),l.set(this,o._tree),o}get topNode(){return new b(this,0,0,null)}resolve(e,t=0){let n=y(l.get(this)||this.topNode,e,t,!1);return l.set(this,n),n}resolveInner(e,t=0){let n=y(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),o=null;for(let i=r instanceof b?r:r.context.parent;i;i=i.parent)if(i.index<0){let e=i.parent;(o||(o=[r])).push(e.resolve(t,n)),i=e}else{let e=s.get(i.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let s=new b(e.tree,e.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(y(s,t,n,!1))}}return o?x(o):r}(this,e,t)}iterate(e){let{enter:n,leave:r,from:o=0,to:i=this.length}=e,s=e.mode||0,a=(s&t.IterMode.IncludeAnonymous)>0;for(let u=this.cursor(s|t.IterMode.IncludeAnonymous);;){let e=!1;if(u.from<=i&&u.to>=o&&(!a&&u.type.isAnonymous||!1!==n(u))){if(u.firstChild())continue;e=!0}for(;e&&r&&(a||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(u.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new h(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new h(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:o,maxBufferLength:s=n,reused:a=[],minRepeatType:u=o.types.length}=e,c=Array.isArray(r)?new p(r,r.length):r,l=o.types,f=0,d=0;function g(e,t,n,r,i,h){let{id:p,start:k,end:x,size:D}=c,S=d;for(;D<0;){if(c.next(),-1==D){let t=a[p];return n.push(t),void r.push(k-e)}if(-3==D)return void(f=p);if(-4==D)return void(d=p);throw new RangeError(`Unrecognized record size: ${D}`)}let C,$,O=l[p],P=k-e;if(x-k<=s&&($=w(c.pos-t,i))){let t=new Uint16Array($.size-$.skip),n=c.pos-$.size,r=t.length;for(;c.pos>n;)r=E($.start,t,r);C=new m(t,x-$.start,o),P=$.start-e}else{let e=c.pos-D;c.next();let t=[],n=[],r=p>=u?p:-1,o=0,i=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=i-s&&(b(t,n,k,o,c.end,i,r,S),o=t.length,i=c.end),c.next()):h>2500?y(k,e,t,n):g(k,e,t,n,r,h+1);if(r>=0&&o>0&&o<t.length&&b(t,n,k,o,k,i,r,S),t.reverse(),n.reverse(),r>-1&&o>0){let e=v(O);C=A(O,t,n,0,t.length,0,x-k,e,e)}else C=_(O,t,n,x-k,S-x)}n.push(C),r.push(P)}function y(e,t,n,r){let i=[],a=0,u=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(u>-1&&t<u)break;u<0&&(u=n-s),i.push(e,t,n),a++,c.next()}}if(a){let t=new Uint16Array(4*a),s=i[i.length-2];for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-s,t[n++]=i[e+2]-s,t[n++]=n;n.push(new m(t,i[2]-s,o)),r.push(s-e)}}function v(e){return(t,n,r)=>{let o,s,a=0,u=t.length-1;if(u>=0&&(o=t[u])instanceof h){if(!u&&o.type==e&&o.length==r)return o;(s=o.prop(i.lookAhead))&&(a=n[u]+o.length+s)}return _(e,t,n,r,a)}}function b(e,t,n,r,i,s,a,u){let c=[],l=[];for(;e.length>r;)c.push(e.pop()),l.push(t.pop()+n-i);e.push(_(o.types[a],c,l,s-i,u-s)),t.push(i-n)}function _(e,t,n,r,o=0,s){if(f){let e=[i.contextHash,f];s=s?[e].concat(s):[e]}if(o>25){let e=[i.lookAhead,o];s=s?[e].concat(s):[e]}return new h(e,t,n,r,s)}function w(e,t){let n=c.fork(),r=0,o=0,i=0,a=n.end-s,l={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){l.size=r,l.start=o,l.skip=i,i+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<s||n.start<a)break;let f=n.id>=u?4:0,d=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;f+=4}else n.id>=u&&(f+=4);n.next()}o=d,r+=e,i+=f}return(t<0||r==e)&&(l.size=r,l.start=o,l.skip=i),l.size>4?l:void 0}function E(e,t,n){let{id:r,start:o,end:i,size:s}=c;if(c.next(),s>=0&&r<u){let a=n;if(s>4){let r=c.pos-(s-4);for(;c.pos>r;)n=E(e,t,n)}t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==s?f=r:-4==s&&(d=r);return n}let k=[],x=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,k,x,-1,0);let D=null!==(t=e.length)&&void 0!==t?t:k.length?x[0]+k[0].length:0;return new h(l[e.topID],k.reverse(),x.reverse(),D)}(e)}}h.empty=new h(u.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,s=-1;for(let a=e;a!=t&&!(g(o,r,i[a+1],i[a+2])&&(s=a,n>0));a=i[a+3]);return s}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let s=e,a=0;s<t;){o[a++]=r[s++],o[a++]=r[s++]-n;let t=o[a++]=r[s++]-n;o[a++]=r[s++]-e,i=Math.max(i,t)}return new m(o,i,this.set)}}function g(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,n,r,o){for(var i;e.from==e.to||(r<1?e.from>=n:e.from>n)||(r>-1?e.to<=n:e.to<n);){let t=!o&&e instanceof b&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=o?0:t.IterMode.IgnoreOverlays;if(o)for(let t=e,a=t.parent;a;t=a,a=t.parent)t instanceof b&&t.index<0&&(null===(i=a.enter(n,r,s))||void 0===i?void 0:i.from)!=t.from&&(e=a);for(;;){let t=e.enter(n,r,s);if(!t)return e;e=t}}class v{cursor(e=0){return new S(this,e)}getChild(e,t=null,n=null){let r=_(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return _(this,e,t,n)}resolve(e,t=0){return y(this,e,t,!1)}resolveInner(e,t=0){return y(this,e,t,!0)}matchContext(e){return w(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class b extends v{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,o,i=0){for(let a=this;;){for(let{children:u,positions:c}=a._tree,l=n>0?u.length:-1;e!=l;e+=n){let l=u[e],f=c[e]+a.from;if(g(o,r,f,f+l.length))if(l instanceof m){if(i&t.IterMode.ExcludeBuffers)continue;let s=l.findChild(0,l.buffer.length,n,r-f,o);if(s>-1)return new k(new E(a,l,e,f),null,s)}else if(i&t.IterMode.IncludeAnonymous||!l.type.isAnonymous||C(l)){let u;if(!(i&t.IterMode.IgnoreMounts)&&(u=s.get(l))&&!u.overlay)return new b(u.tree,f,e,a);let c=new b(l,f,e,a);return i&t.IterMode.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,o)}}if(i&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&t.IterMode.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let t=e-this.from;for(let{from:e,to:r}of o.overlay)if((n>0?e<=t:e<t)&&(n<0?r>=t:r>t))return new b(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class E{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class k extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new k(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&t.IterMode.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return i<0?null:new k(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new k(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new k(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new h(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function x(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let r=n instanceof b&&n.index<0?null:n.parent,o=e.slice();return r?o[t]=r:o.splice(t,1),new D(o,n)}class D{constructor(e,t){this.heads=e,this.node=t}get next(){return x(this.heads)}}class S{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?!(r&t.IterMode.ExcludeBuffers)&&this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&t.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&t.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:o}=this;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(o.buffer.buffer[e+3]<this.index)return!1;({index:n,parent:r}=o)}else({index:n,_parent:r}=this._tree);for(;r;({index:n,_parent:r}=r))if(n>-1)for(let o=n+e,i=e<0?-1:r._tree.children.length;o!=i;o+=e){let e=r._tree.children[o];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let r=n;r<this.stack.length;r++)t=new k(this.buffer,t,this.stack[r]);return this.bufferNode=new k(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return w(this.node,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const $=new WeakMap;function O(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=$.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof h)){n=1;break}n+=O(e,r)}$.set(t,n)}return n}function A(e,t,n,r,o,i,s,a,u){let c=0;for(let h=r;h<o;h++)c+=O(e,t[h]);let l=Math.ceil(1.5*c/8),f=[],d=[];return function t(n,r,o,s,a){for(let c=o;c<s;){let o=c,h=r[c],p=O(e,n[c]);for(c++;c<s;c++){let t=O(e,n[c]);if(p+t>=l)break;p+=t}if(c==o+1){if(p>l){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+a);continue}f.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;f.push(A(e,n,r,o,c,h,t,null,u))}d.push(h+a-i)}}(t,n,r,o,0),(a||u)(f,d,s)}class P{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new P(0,e.length,e,0,!1,n)];for(let o of t)o.to>e.length&&r.push(o);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let s=0,a=0,u=0;;s++){let c=s<t.length?t[s]:null,l=c?c.fromA:1e9;if(l-a>=n)for(;i&&i.from<l;){let t=i;if(a>=t.from||l<=t.to||u){let e=Math.max(t.from,a)-u,n=Math.min(t.to,l)-u;t=e>=n?null:new P(e,n,t.tree,t.offset+u,s>0,!!c)}if(t&&r.push(t),i.to>l)break;i=o<e.length?e[o++]:null}if(!c)break;a=c.toA,u=c.toA-c.toB}return r}}class j{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class F{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function I(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=s,this.depth=0,this.ranges=[]}}const T=new i({perNode:!0});class M{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new h(e.type,e.children,e.positions,e.length,e.propValues.concat([[T,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[i.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new U(this.fragments),n=null,r=null,i=new S(new b(this.baseTree,this.ranges[0].from,0,null),t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts);e:for(let t,s;;){let a,u=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)u=!1;else if(e.hasNode(i)){if(n){let e=n.mounts.find((e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let t of e.mount.overlay){let r=t.from+e.pos,o=t.to+e.pos;r>=i.from&&o<=i.to&&!n.ranges.some((e=>e.from<o&&e.to>r))&&n.ranges.push({from:r,to:o})}}u=!1}else if(r&&(s=R(r.ranges,i.from,i.to)))u=2!=s;else if(!i.type.isAnonymous&&(t=this.nest(i,this.input))&&(i.from<i.to||!t.overlay)){i.tree||L(i);let s=e.findMounts(i.from,t.parser);if("function"==typeof t.overlay)n=new N(t.parser,t.overlay,s,this.inner.length,i.from,i.tree,n);else{let e=q(this.ranges,t.overlay||(i.from<i.to?[new o(i.from,i.to)]:[]));e.length&&I(e),!e.length&&t.overlay||this.inner.push(new F(t.parser,e.length?t.parser.startParse(this.input,Q(s,e),e):t.parser.startParse(""),t.overlay?t.overlay.map((e=>new o(e.from-i.from,e.to-i.from))):null,i.tree,e.length?e[0].from:i.from)),t.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):u=!1}}else n&&(a=n.predicate(i))&&(!0===a&&(a=new o(i.from,i.to)),a.from<a.to&&n.ranges.push(a));if(u&&i.firstChild())n&&n.depth++,r&&r.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(n&&! --n.depth){let e=q(this.ranges,n.ranges);e.length&&(I(e),this.inner.splice(n.index,0,new F(n.parser,n.parser.startParse(this.input,Q(n.mounts,e),e),n.ranges.map((e=>new o(e.from-n.start,e.to-n.start))),n.target,e[0].from))),n=n.prev}r&&! --r.depth&&(r=r.prev)}}}}function R(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B(e,t,n,r,o,i){if(t<n){let s=e.buffer[t+1];r.push(e.slice(t,n,s)),o.push(s-i)}}function L(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let o=e.tree,i=o.children.indexOf(r),s=o.children[i],a=s.buffer,c=[i];o.children[i]=function e(r,o,i,u,l,f){let d=n[f],p=[],m=[];B(s,r,d,p,m,u);let g=a[d+1],y=a[d+2];c.push(p.length);let v=f?e(d+4,a[d+3],s.set.types[a[d]],g,y-g,f-1):t.toTree();return p.push(v),m.push(g-u),B(s,a[d+3],o,p,m,u),new h(i,p,m,l)}(0,a.length,u.none,0,s.length,n.length-1);for(let u of c){let t=e.tree.children[u],n=e.tree.positions[u];e.yield(new b(t,n+e.from,u,e._tree))}}class z{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts)}moveTo(e){let{cursor:n}=this,r=e-this.offset;for(;!this.done&&n.from<r;)n.to>=e&&n.enter(r,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof h))break;t=t.children[0]}return!1}}class U{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(T))&&void 0!==t?t:n.to,this.inner=new z(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(T))&&void 0!==e?e:t.to,this.inner=new z(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(i.mounted);if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function q(e,t){let n=null,r=t;for(let i=1,s=0;i<e.length;i++){let a=e[i-1].to,u=e[i].from;for(;s<r.length;s++){let e=r[s];if(e.from>=u)break;e.to<=a||(n||(r=n=t.slice()),e.from<a?(n[s]=new o(e.from,a),e.to>u&&n.splice(s+1,0,new o(u,e.to))):e.to>u?n[s--]=new o(u,e.to):n.splice(s--,1))}}return r}function V(e,t,n,r){let i=0,s=0,a=!1,u=!1,c=-1e9,l=[];for(;;){let f=i==e.length?1e9:a?e[i].to:e[i].from,d=s==t.length?1e9:u?t[s].to:t[s].from;if(a!=u){let e=Math.max(c,n),t=Math.min(f,d,r);e<t&&l.push(new o(e,t))}if(c=Math.min(f,d),1e9==c)break;f==c&&(a?(a=!1,i++):a=!0),d==c&&(u?(u=!1,s++):u=!0)}return l}function Q(e,t){let n=[];for(let{pos:r,mount:i,frag:s}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,u=Math.max(s.from,e),c=Math.min(s.to,a);if(i.overlay){let a=V(t,i.overlay.map((e=>new o(e.from+r,e.to+r))),u,c);for(let t=0,r=u;;t++){let o=t==a.length,u=o?c:a[t].from;if(u>r&&n.push(new P(r,u,i.tree,-e,s.from>=r||s.openStart,s.to<=u||s.openEnd)),o)break;r=a[t].to}}else n.push(new P(u,c,i.tree,-e,s.from>=e||s.openStart,s.to<=a||s.openEnd))}return n}t.DefaultBufferLength=n,t.MountedTree=s,t.NodeProp=i,t.NodeSet=c,t.NodeType=u,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof k?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof k?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,n){return"string"==typeof e&&(e=new j(e)),n=n?n.length?n.map((e=>new o(e.from,e.to))):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},t.Tree=h,t.TreeBuffer=m,t.TreeCursor=S,t.TreeFragment=P,t.parseMixed=function(e){return(t,n,r,o)=>new M(t,e,n,r,o)}},21500:(e,t,n)=>{"use strict";var r=n(90682);class o{constructor(e,t,n,r,o,i,s,a,u,c=0,l){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=s,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=l}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let i=o.dynamicPrecedence(r);if(i&&(this.score+=i),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,u=this.reducePos-a;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,l=this.bufferBase+this.buffer.length-c;if(r<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,l+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue;let o=this.split();o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new i(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const l=new c;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=l,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=l,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class d{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;p(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(p(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;function p(e,t,n,r,o,i){let s=0,a=1<<r,{dialect:u}=n.p.parser;e:for(;0!=(a&e[s]);){let n=e[s+1];for(let f=s+3;f<n;f+=2)if((e[f+1]&a)>0){let n=e[f];if(u.allows(n)&&(-1==t.token.value||t.token.value==n||g(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,l=e[s+2];if(!(t.next<0&&l>c&&65535==e[n+3*l-3])){for(;c<l;){let o=c+l>>1,i=n+o+(o<<1),a=e[i],u=e[i+1]||65536;if(r<a)l=o;else{if(!(r>=u)){s=e[i+2],t.advance();continue e}c=o+1}}break}s=e[n+3*l-1]}}function m(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function g(e,t,n,r){let o=m(n,r,t);return o<0||m(n,r,e)<o}const y="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let v=null;function b(e,t,n){let o=e.cursor(r.IterMode.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class _{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[o],s=this.start[t]+n.positions[o];if(s>e)return this.nextStart=s,null;if(i instanceof r.Tree){if(s==e){if(s<this.safeFrom)return null;let e=s+i.length;if(e<=this.safeTo){let t=i.prop(r.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,s+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let u=0;u<o.length;u++){if(0==(1<<u&i))continue;let r=o[u],c=this.tokens[u];if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=i||c.context!=s)&&(this.updateCachedToken(c,r,e),c.mask=i,c.context=s),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let o=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let o=t.specializers[r](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:s}=i;for(let a=0;a<2;a++)for(let e=i.stateSlot(o,a?2:1);;e+=3){if(65535==s[e]){if(1!=s[e+1]){0==r&&2==s[e+1]&&(r=this.putAction(C(s,e+2),t,n,r));break}e=C(s,e+2)}s[e]==t&&(r=this.putAction(C(s,e+1),t,n,r))}return r}}class E{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new f(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new _(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let s=n[i];for(;;){if(this.tokens.mainToken=null,s.pos>r)o.push(s);else{if(this.advanceStack(s,o,n))continue;{e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return y&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw y&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let i=1;i<o.length;i++)o[i].pos<this.minStackPos&&(this.minStackPos=o[i].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:i}=this,s=y?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(o);a;){let o=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(o>-1&&a.length&&(!t||(a.prop(r.NodeProp.contextHash)||0)==n))return e.useNode(a,o),y&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof r.Tree)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(!(u instanceof r.Tree&&0==a.positions[0]))break;a=u}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),y&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let r=0;r<u.length;){let a=u[r++],c=u[r++],l=u[r++],f=r==u.length||!n,d=f?e:e.split(),h=this.tokens.mainToken;if(d.apply(a,c,h?h.start:d.pos,l),y&&console.log(s+this.stackID(d)+` (via ${0==(65536&a)?"shift":`reduce of ${i.getName(65535&a)}`} for ${i.getName(c)} @ ${o}${d==e?"":", split"})`),f)return!0;d.pos>o?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){let s=e[i],a=t[i<<1],u=t[1+(i<<1)],c=y?this.stackID(s)+" -> ":"";if(s.deadEnd){if(o)continue;if(o=!0,s.restart(),y&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))continue}let l=s.split(),f=c;for(let e=0;l.forceReduce()&&e<10;e++){if(y&&console.log(f+this.stackID(l)+" (via force-reduce)"),this.advanceFully(l,n))break;y&&(f=this.stackID(l)+" -> ")}for(let e of s.recoverByInsert(a))y&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>s.pos?(u==s.pos&&(u++,a=0),s.recoverByDelete(a,u),y&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),k(s,n)):(!r||r.score<s.score)&&(r=s)}return r}stackToTree(e){return e.close(),r.Tree.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function k(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class x{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const D=e=>e;class S extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let r=0;r<t.length;r++)o.push([]);function i(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let a of e.nodeProps){let e=a[0];"string"==typeof e&&(e=r.NodeProp[e]);for(let t=1;t<a.length;){let n=a[t++];if(n>=0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new r.NodeSet(t.map(((t,i)=>r.NodeType.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let s=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r<this.specializerSpecs.length;r++)this.specialized[r]=this.specializerSpecs[r].term;this.specializers=this.specializerSpecs.map($),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new d(s,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,s=r[o++];if(i&&n)return s;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return s;if(i)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return C(n,i+2);break}o=n[i=C(n,i+2)]}if(o==t||0==o)return C(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){if(1!=this.data[o+1])break;o=C(this.data,o+2)}r=t(C(this.data,o+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=C(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(S.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=$(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1;return new x(e,n,r)}static deserialize(e){return new S(e)}}function C(e,t){return e[t]|e[t+1]<<16}function $(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||D,this.reduce=e.reduce||D,this.reuse=e.reuse||D,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=f,t.LRParser=S,t.LocalTokenGroup=h,t.Stack=o},45392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>s});var r=n(2784);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},22970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>S,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>T,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>O,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>v,default:()=>M});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var g=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&o.unshift(a)}else(a=s(g))&&("field"===u?o.unshift(a):f[c]=a)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(u){a=[6,u],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var $=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return $(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function T(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:i,__rest:s,__decorate:a,__param:u,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:x,__asyncDelegator:D,__asyncValues:S,__makeTemplateObject:C,__importStar:O,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:j,__classPrivateFieldIn:F,__addDisposableResource:I,__disposeResources:T}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>$n,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>$t,default:()=>zn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>hn,DOCUMENT:()=>pn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Yt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>$n,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>$t,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,h=e=>!!e&&"object"==typeof e&&e[f]===s,p=e=>!!e&&"object"==typeof e&&e[f]===a,m=e=>!!e&&"object"==typeof e&&e[f]===u,g=e=>!!e&&"object"==typeof e&&e[f]===c,y=e=>!!e&&"object"==typeof e&&e[f]===l;function v(e){if(e&&"object"==typeof e)switch(e[f]){case a:case l:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case a:case c:case l:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),E=Symbol("skip children"),k=Symbol("remove node");function x(e,t){const n=$(t);if(h(e)){D(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else D(null,e,n,Object.freeze([]))}function D(e,t,n,r){const o=O(e,t,n,r);if(b(o)||m(o))return A(e,r,o),D(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=D(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=D("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=D("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}async function S(e,t){const n=$(t);if(h(e)){await C(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else await C(null,e,n,Object.freeze([]))}async function C(e,t,n,r){const o=await O(e,t,n,r);if(b(o)||m(o))return A(e,r,o),C(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=await C(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=await C("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=await C("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}function $(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function O(e,t,n,r){return"function"==typeof n?n(e,t,r):p(t)?n.Map?.(e,t,r):y(t)?n.Seq?.(e,t,r):m(t)?n.Pair?.(e,t,r):g(t)?n.Scalar?.(e,t,r):d(t)?n.Alias?.(e,t,r):void 0}function A(e,t,n){const r=t[t.length-1];if(v(r))r.items[e]=n;else if(m(r))"key"===e?r.key=n:r.value=n;else{if(!h(r)){const e=d(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}x.BREAK=w,x.SKIP=E,x.REMOVE=k,S.BREAK=w,S.SKIP=E,S.REMOVE=k;const P={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class j{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},j.defaultYaml,e),this.tags=Object.assign({},j.defaultTags,t)}clone(){const e=new j(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new j(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:j.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},j.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:j.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},j.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>P[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&b(e.contents)){const t={};x(e.contents,((e,n)=>{b(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`);return t.join("\n")}}function F(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function I(e){const t=new Set;return x(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function N(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function T(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;o<i;++o){const t=r[o],n=T(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const t=r.get(o),n=T(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)}else if(r instanceof Set)for(const o of Array.from(r)){const t=T(e,r,o,o);void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))}else for(const[o,i]of Object.entries(r)){const t=T(e,r,o,i);void 0===t?delete r[o]:t!==i&&(r[o]=t)}return e.call(t,n,r)}function M(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>M(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!_(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof e||n?.keep?e:Number(e)}j.defaultYaml={explicit:!1,version:"1.2"},j.defaultTags={"!!":"tag:yaml.org,2002:"};class R{constructor(e){Object.defineProperty(this,f,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){if(!h(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=M(this,"",i);if("function"==typeof r)for(const{count:a,res:u}of i.anchors.values())r(u,a);return"function"==typeof o?T(o,{"":s},"",s):s}}class B extends R{constructor(e){super(i),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return x(e,{Node:(e,n)=>{if(n===this)return x.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(M(i,null,t),s=n.get(i)),!s||void 0===s.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=L(r,i,n)),s.count*s.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return s.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(F(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function L(e,t,n){if(d(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(v(t)){let r=0;for(const o of t.items){const t=L(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=L(e,t.key,n),o=L(e,t.value,n);return Math.max(r,o)}return 1}const z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class U extends R{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}U.BLOCK_FOLDED="BLOCK_FOLDED",U.BLOCK_LITERAL="BLOCK_LITERAL",U.PLAIN="PLAIN",U.QUOTE_DOUBLE="QUOTE_DOUBLE",U.QUOTE_SINGLE="QUOTE_SINGLE";const q="tag:yaml.org,2002:";function V(e,t,n){if(h(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:i,schema:s,sourceObjects:u}=n;let c;if(r&&e&&"object"==typeof e){if(c=u.get(e),c)return c.anchor||(c.anchor=o(e)),new B(c.anchor);c={anchor:null,node:null},u.set(e,c)}t?.startsWith("!!")&&(t=q+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,s.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new U(e);return c&&(c.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[l]:s[a]}i&&(i(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new U(e);return t?d.tag=t:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Q(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o];if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t}else r=new Map([[e,r]])}return V(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const X=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class H extends R{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>b(t)||m(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(X(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0);if(v(o))o.addIn(r,t);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(v(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,o=this.get(n,!0);return 0===r.length?!t&&g(o)?o.value:o:v(o)?o.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!m(t))return!1;const n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!v(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(v(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}}H.maxFlowStringSingleLineLength=60;const K=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function J(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const W=(e,t,n)=>e.endsWith("\n")?J(n,t):n.includes("\n")?"\n"+J(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",Z="block",Y="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:s,onOverflow:a}={}){if(!o||o<0)return e;const u=Math.max(1+i,1+o-t.length);if(e.length<=u)return e;const c=[],l={};let f,d,h=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let p=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(h=m+u));for(let b;b=e[m+=1];){if(n===Y&&"\\"===b){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===b)n===Z&&(m=te(e,m)),h=m+u,f=void 0;else{if(" "===b&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=h)if(f)c.push(f),h=f+u,f=void 0;else if(n===Y){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],p=!0;const t=m>y+1?m-2:g-1;if(l[t])return e;c.push(t),l[t]=!0,h=t+u,f=void 0}else p=!0}d=b}if(p&&a&&a(),0===c.length)return e;s&&s();let v=e.slice(0,c[0]);for(let b=0;b<c.length;++b){const r=c[b],o=c[b+1]||e.length;0===r?v=`\n${t}${e.slice(0,o)}`:(n===Y&&l[r]&&(v+=`${e[r]}\\`),v+=`\n${t}${e.slice(r+1,o)}`)}return v}function te(e,t){let n=e[t+1];for(;" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t}const ne=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),re=e=>/^(%|---|\.\.\.)/m.test(e);function oe(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(re(e)?" ":"");let s="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(" "===c&&"\\"===n[u+1]&&"n"===n[u+2]&&(s+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),"\\"===c)switch(n[u+1]){case"u":{s+=n.slice(a,u);const e=n.substr(u+2,4);switch(e){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===e.substr(0,2)?s+="\\x"+e.substr(2):s+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||'"'===n[u+2]||n.length<o)u+=1;else{for(s+=n.slice(a,u)+"\n\n";"\\"===n[u+2]&&"n"===n[u+3]&&'"'!==n[u+4];)s+="\n",u+=2;s+=i," "===n[u+2]&&(s+="\\"),u+=1,a=u+1}break;default:u+=1}return s=a?s+n.slice(a):n,r?s:ee(s,i,Y,ne(t,!1))}function ie(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return oe(e,t);const n=t.indent||(re(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:ee(r,n,G,ne(t,!1))}function se(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=oe;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?ie:o&&!t?oe:n?ie:oe}return r(e,t)}let ae;try{ae=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{ae=/\n+(?!\n|$)/g}function ue({comment:e,type:t,value:n},r,o,i){const{blockQuote:s,commentString:a,lineWidth:u}=r.options;if(!s||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return se(n,r);const c=r.indent||(r.forceBlockIndent||re(n)?" ":""),l="literal"===s||"folded"!==s&&t!==U.BLOCK_FOLDED&&(t===U.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let i=0,s=0;i<o;++i)if("\n"===e[i]){if(i-s>r)return!0;if(s=i+1,o-s<=r)return!1}return!0}(n,u,c.length));if(!n)return l?"|\n":">\n";let f,d;for(d=n.length;d>0;--d){const e=n[d-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(d);const p=h.indexOf("\n");-1===p?f="-":n===h||p!==h.length-1?(f="+",i&&i()):f="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ae,`$&${c}`));let m,g=!1,y=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{if("\n"!==e)break;y=m}}let v=n.substring(0,y<m?y+1:m);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let b=(l?"|":">")+(g?c?"2":"1":"")+f;if(e&&(b+=" "+a(e.replace(/ ?[\r\n]+/g," ")),o&&o()),l)return`${b}\n${c}${v}${n=n.replace(/\n+/g,`$&${c}`)}${h}`;return`${b}\n${c}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Z,ne(r,!0))}`}function ce(e,t,n,r){const{implicitKey:o,inFlow:i}=t,s="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=U.QUOTE_DOUBLE);const u=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return o||i?se(s.value,t):ue(s,t,n,r);case U.QUOTE_DOUBLE:return oe(s.value,t);case U.QUOTE_SINGLE:return ie(s.value,t);case U.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:s,implicitKey:a,indent:u,indentStep:c,inFlow:l}=t;if(a&&i.includes("\n")||l&&/[[\]{},]/.test(i))return se(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||l||!i.includes("\n")?se(i,t):ue(e,t,n,r);if(!a&&!l&&o!==U.PLAIN&&i.includes("\n"))return ue(e,t,n,r);if(re(i)){if(""===u)return t.forceBlockIndent=!0,ue(e,t,n,r);if(a&&u===c)return se(i,t)}const f=i.replace(/\n+/g,`$&\n${u}`);if(s){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return se(i,t)}return a?f:ee(f,u,G,ne(t,!1))}(s,t,n,r);default:return null}};let c=u(a);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(c=u(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function le(e,t){const n=Object.assign({blockQuote:!0,commentString:K,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function fe(e,t,n,r){if(m(e))return e.toString(t,n,r);if(d(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=b(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(g(t)){r=t.value;const o=e.filter((e=>e.identify?.(r)));n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&F(i)&&(n.add(i),o.push(`&${i}`));const s=e.tag?e.tag:t.default?null:t.tag;return s&&o.push(r.directives.tagString(s)),o.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ce(i,t,n,r):i.toString(t,n,r);return s?g(i)||"{"===a[0]||"["===a[0]?`${s} ${a}`:`${s}\n${t.indent}${a}`:a}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function he(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&pe(n))if(r=d(r)?r.resolve(e.doc):r,y(r))for(const o of r.items)me(e,t,o);else if(Array.isArray(r))for(const o of r)me(e,t,o);else me(e,t,r);else{const o=M(n,"",e);if(t instanceof Map)t.set(o,M(r,o,e));else if(t instanceof Set)t.add(o);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(b(e)&&n?.doc){const t=le(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),de(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),s=M(r,i,e);i in t?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s}}return t}const pe=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===U.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!p(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,s]of o)t instanceof Map?t.has(i)||t.set(i,s):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=V(e,void 0,n),o=V(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return b(t)&&(t=t.clone(e)),b(n)&&(n=n.clone(e)),new ye(t,n)}toJSON(e,t){return he(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,o){const{allNullValues:i,doc:s,indent:a,indentStep:u,options:{commentString:c,indentSeq:l,simpleKeys:f}}=n;let d=b(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(v(e))throw new Error("With simple keys, collection cannot be used as a key value")}let h=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!i),indent:a+u});let p,m,_,w=!1,E=!1,k=fe(e,n,(()=>w=!0),(()=>E=!0));if(!h&&!n.inFlow&&k.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===k?"?":h?`? ${k}`:k}else if(i&&!f||null==t&&h)return k=`? ${k}`,d&&!w?k+=W(k,n.indent,c(d)):E&&o&&o(),k;w&&(d=null),h?(d&&(k+=W(k,n.indent,c(d))),k=`? ${k}\n${a}:`):(k=`${k}:`,d&&(k+=W(k,n.indent,c(d)))),b(t)?(p=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(p=!1,m=null,_=null,t&&"object"==typeof t&&(t=s.createNode(t))),n.implicitKey=!1,h||d||!g(t)||(n.indentAtStart=k.length+1),E=!1,l||!(u.length>=2)||n.inFlow||h||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1;const D=fe(t,n,(()=>x=!0),(()=>E=!0));let S=" ";if(d||p||m)S=p?"\n":"",m&&(S+=`\n${J(c(m),n.indent)}`),""!==D||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!h&&v(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(S="");return k+=S+D,n.inFlow?x&&r&&r():_&&!x?k+=W(k,n.indent,c(_)):E&&o&&o(),k}(this,e,t,n):JSON.stringify(this)}}function ve(e,t,n){return(t.inFlow??e.flow?_e:be)(e,t,n)}function be({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:i,onChompKeep:s,onComment:a}){const{indent:u,options:{commentString:c}}=n,l=Object.assign({},n,{indent:i,type:null});let f=!1;const d=[];for(let p=0;p<t.length;++p){const e=t[p];let o=null;if(b(e))!f&&e.spaceBefore&&d.push(""),we(n,d,e.commentBefore,f),e.comment&&(o=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(!f&&t.spaceBefore&&d.push(""),we(n,d,t.commentBefore,f))}f=!1;let s=fe(e,l,(()=>o=null),(()=>f=!0));o&&(s+=W(s,i,c(o))),f&&o&&(f=!1),d.push(r+s)}let h;if(0===d.length)h=o.start+o.end;else{h=d[0];for(let e=1;e<d.length;++e){const t=d[e];h+=t?`\n${u}${t}`:"\n"}}return e?(h+="\n"+J(c(e),u),a&&a()):f&&s&&s(),h}function _e({comment:e,items:t},n,{flowChars:r,itemIndent:o,onComment:i}){const{indent:s,indentStep:a,flowCollectionPadding:u,options:{commentString:c}}=n;o+=a;const l=Object.assign({},n,{indent:o,inFlow:!0,type:null});let f=!1,d=0;const h=[];for(let v=0;v<t.length;++v){const e=t[v];let r=null;if(b(e))e.spaceBefore&&h.push(""),we(n,h,e.commentBefore,!1),e.comment&&(r=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(t.spaceBefore&&h.push(""),we(n,h,t.commentBefore,!1),t.comment&&(f=!0));const o=b(e.value)?e.value:null;o?(o.comment&&(r=o.comment),o.commentBefore&&(f=!0)):null==e.value&&t?.comment&&(r=t.comment)}r&&(f=!0);let i=fe(e,l,(()=>r=null));v<t.length-1&&(i+=","),r&&(i+=W(i,o,c(r))),!f&&(h.length>d||i.includes("\n"))&&(f=!0),h.push(i),d=h.length}let p;const{start:g,end:y}=r;if(0===h.length)p=g+y;else{if(!f){f=h.reduce(((e,t)=>e+t.length+2),2)>H.maxFlowStringSingleLineLength}if(f){p=g;for(const e of h)p+=e?`\n${a}${s}${e}`:"\n";p+=`\n${s}${y}`}else p=`${g}${u}${h.join(" ")}${u}${y}`}return e&&(p+=W(p,s,c(e)),i&&i()),p}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=J(t(r),e);n.push(o.trimStart())}}function Ee(e,t){const n=g(t)?t.value:t;for(const r of e)if(m(r)){if(r.key===t||r.key===n)return r;if(g(r.key)&&r.key.value===n)return r}}class ke extends H{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(ge(e,s,n))};if(t instanceof Map)for(const[a,u]of t)s(a,u);else if(t&&"object"==typeof t)for(const a of Object.keys(t))s(a,t[a]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=m(e)?e:e&&"object"==typeof e&&"key"in e?new ye(e.key,e.value):new ye(e,e?.value);const r=Ee(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Ee(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=Ee(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!Ee(this.items,e)}set(e,t){this.add(new ye(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const o of this.items)he(t,r,o);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const r of this.items)if(!m(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ve(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const xe={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(p(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ke.from(e,t,n)};class De extends H{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Se(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=Se(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&g(r)?r.value:r}has(e){const t=Se(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=Se(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];g(r)&&z(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const o of this.items)n.push(M(o,String(r++),t));return n}toString(e,t,n){return e?ve(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){if("function"==typeof r){const n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}o.items.push(V(i,void 0,n))}}return o}}function Se(e){let t=g(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Ce={collection:"seq",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>De.from(e,t,n)},$e={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ce(e,t=Object.assign({actualString:!0},t),n,r)},Oe={identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new U(null),stringify:({source:e},t)=>"string"==typeof e&&Oe.test.test(e)?e:t.options.nullStr},Ae={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new U("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ae.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Pe({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const je={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},Fe={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},Ie={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new U(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Pe},Ne=e=>"bigint"==typeof e||Number.isInteger(e),Te=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Me(e,t,n){const{value:r}=e;return Ne(r)&&r>=0?n+r.toString(t):Pe(e)}const Re={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Te(e,2,8,n),stringify:e=>Me(e,8,"0o")},Be={identify:Ne,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Te(e,0,10,n),stringify:Pe},Le={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Te(e,2,16,n),stringify:e=>Me(e,16,"0x")},ze=[xe,Ce,$e,Oe,Ae,Re,Be,Le,je,Fe,Ie];function Ue(e){return"bigint"==typeof e||Number.isInteger(e)}const qe=({value:e})=>JSON.stringify(e),Ve=[xe,Ce].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qe},{identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:qe},{identify:Ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Ue(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qe}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,o,i){const s=n;let a;if("function"==typeof Buffer)a=s instanceof Buffer?s.toString("base64"):Buffer.from(s.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);a=btoa(e)}}if(t||(t=U.BLOCK_LITERAL),t!==U.QUOTE_DOUBLE){const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),o=new Array(n);for(let t=0,r=0;t<n;++t,r+=e)o[t]=a.substr(r,e);a=o.join(t===U.BLOCK_LITERAL?"\n":" ")}return ce({comment:e,type:t,value:a},r,o,i)}};function Xe(e,t){if(y(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!m(r)){if(p(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new U(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=m(r)?r:new ye(r)}}else t("Expected a sequence for this tag");return e}function He(e,t,n){const{replacer:r}=n,o=new De(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let s of t){let e,a;if("function"==typeof r&&(s=r.call(t,String(i++),s)),Array.isArray(s)){if(2!==s.length)throw new TypeError(`Expected [key, value] tuple: ${s}`);e=s[0],a=s[1]}else if(s&&s instanceof Object){const t=Object.keys(s);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],a=s[e]}else e=s;o.items.push(ge(e,a,n))}return o}const Ke={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xe,createNode:He};class Je extends De{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const r of this.items){let e,o;if(m(r)?(e=M(r.key,"",t),o=M(r.value,e,t)):e=M(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys");n.set(e,o)}return n}static from(e,t,n){const r=He(e,t,n),o=new this;return o.items=r.items,o}}Je.tag="tag:yaml.org,2002:omap";const We={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xe(e,t),r=[];for(const{key:o}of n.items)g(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new Je,n)},createNode:(e,t,n)=>Je.from(e,t,n)};function Ge({value:e,source:t},n){return t&&(e?Ze:Ye).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ze={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new U(!0),stringify:Ge},Ye={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new U(!1),stringify:Ge},et={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},tt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},nt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new U(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Pe},rt=e=>"bigint"==typeof e||Number.isInteger(e);function ot(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function it(e,t,n){const{value:r}=e;if(rt(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Pe(e)}const st={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ot(e,2,2,n),stringify:e=>it(e,2,"0b")},at={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ot(e,1,8,n),stringify:e=>it(e,8,"0")},ut={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ot(e,0,10,n),stringify:Pe},ct={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ot(e,2,16,n),stringify:e=>it(e,16,"0x")};class lt extends ke{constructor(e){super(e),this.tag=lt.tag}add(e){let t;t=m(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ye(e.key,null):new ye(e,null);Ee(this.items,t.key)||this.items.push(t)}get(e,t){const n=Ee(this.items,e);return!t&&m(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=Ee(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ye(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),o.items.push(ge(i,null,n));return o}}lt.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:lt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>lt.from(e,t,n),resolve(e,t){if(p(e)){if(e.hasAllNullValues(!0))return Object.assign(new lt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function dt(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function ht(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Pe(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o];return t<60?i.unshift(0):(t=(t-i[0])/o,i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const pt={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>dt(e,n),stringify:ht},mt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dt(e,!1),stringify:ht},gt={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(gt.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,i,s,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,o,i||0,s||0,a||0,u);const l=t[8];if(l&&"Z"!==l){let e=dt(l,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[xe,Ce,$e,Oe,Ze,Ye,st,at,ut,ct,et,tt,nt,Qe,We,Ke,ft,pt,mt,gt],vt=new Map([["core",ze],["failsafe",[xe,Ce,$e]],["json",Ve],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Qe,bool:Ae,float:Ie,floatExp:Fe,floatNaN:je,floatTime:mt,int:Be,intHex:Le,intOct:Re,intTime:pt,map:xe,null:Oe,omap:We,pairs:Ke,seq:Ce,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Qe,"tag:yaml.org,2002:omap":We,"tag:yaml.org,2002:pairs":Ke,"tag:yaml.org,2002:set":ft,"tag:yaml.org,2002:timestamp":gt};function wt(e,t){let n=vt.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(vt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=bt[e];if(t)return t;const n=Object.keys(bt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const Et=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:s}){this.compat=Array.isArray(e)?wt(e,"compat"):e?wt(null,e):null,this.merge=!!n,this.name="string"==typeof o&&o||"core",this.knownTags=r?_t:{},this.tags=wt(t,this.name),this.toStringOptions=s??null,Object.defineProperty(this,a,{value:xe}),Object.defineProperty(this,c,{value:$e}),Object.defineProperty(this,l,{value:Ce}),this.sortMapEntries="function"==typeof i?i:!0===i?Et:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class xt{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:i}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new j({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(xt.prototype,{[f]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=b(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Dt(this.contents)&&this.contents.add(e)}addIn(e,t){Dt(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=I(this);e.anchor=!t||n.has(t)?N(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:i,flow:s,keepUndefined:a,onTagObj:u,tag:c}=n??{},{onAnchor:l,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=I(e));const i=N(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!g(t.node)&&!v(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),h=V(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:a??!1,onAnchor:l,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:d});return s&&v(h)&&(h.flow=!0),f(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new ye(r,o)}delete(e){return!!Dt(this.contents)&&this.contents.delete(e)}deleteIn(e){return X(e)?null!=this.contents&&(this.contents=null,!0):!!Dt(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return X(e)?!t&&g(this.contents)?this.contents.value:this.contents:v(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!v(this.contents)&&this.contents.has(e)}hasIn(e){return X(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Q(this.schema,[e],t):Dt(this.contents)&&this.contents.set(e,t)}setIn(e,t){X(e)?this.contents=t:null==this.contents?this.contents=Q(this.schema,Array.from(e),t):Dt(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new j({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new j({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=M(this.contents,t??"",s);if("function"==typeof o)for(const{count:u,res:c}of s.anchors.values())o(c,u);return"function"==typeof i?T(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=le(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(J(t,""))}let s=!1,a=null;if(e.contents){if(b(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(J(t,""))}o.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>s=!0;let u=fe(e.contents,o,(()=>a=null),t);a&&(u+=W(u,"",i(a))),"|"!==u[0]&&">"!==u[0]||"---"!==n[n.length-1]?n.push(u):n[n.length-1]=`--- ${u}`}else n.push(fe(e.contents,o));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(J(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!a||""===n[n.length-1]||n.push(""),n.push(J(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Dt(e){if(v(e))return!0;throw new Error("Expected a YAML collection as document contents")}class St extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Ct extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class $t extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const Ot=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="\u2026"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"\u2026\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}};function At(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:s}){let a=!1,u=s,c=s,l="",f="",d=!1,h=!1,p=!1,m=null,g=null,y=null,v=null,b=null;for(const E of e)switch(p&&("space"!==E.type&&"newline"!==E.type&&"comma"!==E.type&&i(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),E.type){case"space":!t&&u&&"doc-start"!==n&&"\t"===E.source[0]&&i(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=E.source.substring(1)||" ";l?l+=f+e:l=e,f="",u=!1;break}case"newline":u?l?l+=E.source:a=!0:f+=E.source,u=!0,d=!0,(m||g)&&(h=!0),c=!0;break;case"anchor":m&&i(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&i(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case"tag":g&&i(E,"MULTIPLE_TAGS","A node can have at most one tag"),g=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case n:(m||g)&&i(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),v&&i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${t??"collection"}`),v=E,u=!1,c=!1;break;case"comma":if(t){y&&i(E,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=E,u=!1,c=!1;break}default:i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),u=!1,c=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:v,spaceBefore:a,comment:l,hasNewline:d,hasNewlineAfterProp:h,anchor:m,tag:g,end:w,start:b??w}}function Pt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Pt(t.key)||Pt(t.value))return!0}return!1;default:return!0}}function jt(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Pt(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ft(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const o="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>o(e.key,n)))}const It="All mapping items must start at the same column";function Nt(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:u}=a;switch(u){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Tt="Block collections are not allowed within flow collections",Mt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const s="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??ke)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const c of r.items){const{start:i,key:l,sep:f,value:d}=c,h=At(i,{indicator:"explicit-key-ind",next:l??f?.[0],offset:a,onError:o,startOnNewline:!0}),p=!h.found;if(p){if(l&&("block-seq"===l.type?o(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in l&&l.indent!==r.indent&&o(a,"BAD_INDENT",It)),!h.anchor&&!h.tag&&!f){u=h.end,h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment);continue}(h.hasNewlineAfterProp||Pt(l))&&o(l??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&o(a,"BAD_INDENT",It);const m=h.end,g=l?e(n,l,h,o):t(n,m,i,null,h,o);n.schema.compat&&jt(r.indent,l,o),Ft(n,s.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=At(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!l||"block-scalar"===l.type});if(a=y.end,y.found){p&&("block-map"!==d?.type||y.hasNewline||o(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start<y.found.offset-1024&&o(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=d?e(n,d,y,o):t(n,a,f,null,y,o);n.schema.compat&&jt(r.indent,d,o),a=i.range[2];const u=new ye(g,i);n.options.keepSourceTokens&&(u.srcToken=c),s.items.push(u)}else{p&&o(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);const e=new ye(g);n.options.keepSourceTokens&&(e.srcToken=c),s.items.push(e)}}return u&&u<a&&o(u,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,a,u??a],s}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??De)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const{start:c,value:l}of r.items){const i=At(c,{indicator:"seq-item-ind",next:l,offset:a,onError:o,startOnNewline:!0});if(!i.found){if(!(i.anchor||i.tag||l)){u=i.end,i.comment&&(s.comment=i.comment);continue}l&&"block-seq"===l.type?o(i.end,"BAD_INDENT","All sequence items must start at the same column"):o(a,"MISSING_CHAR","Sequence item without - indicator")}const f=l?e(n,l,i,o):t(n,i.end,c,null,i,o);n.schema.compat&&jt(r.indent,l,o),a=f.range[2],s.items.push(f)}return s.range=[r.offset,a,u??a],s}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s="{"===r.start.source,a=s?"flow map":"flow sequence",u=new(i?.nodeClass??(s?ke:De))(n.schema);u.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1);let l=r.offset+r.start.source.length;for(let g=0;g<r.items.length;++g){const i=r.items[g],{start:c,key:f,sep:d,value:h}=i,p=At(c,{flow:a,indicator:"explicit-key-ind",next:f??d?.[0],offset:l,onError:o,startOnNewline:!1});if(!p.found){if(!(p.anchor||p.tag||d||h)){0===g&&p.comma?o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):g<r.items.length-1&&o(p.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),p.comment&&(u.comment?u.comment+="\n"+p.comment:u.comment=p.comment),l=p.end;continue}!s&&n.options.strict&&Pt(f)&&o(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===g)p.comma&&o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(p.comma||o(p.start,"MISSING_CHAR",`Missing , between ${a} items`),p.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=u.items[u.items.length-1];m(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,p.comment=p.comment.substring(e.length+1)}}if(s||d||p.found){const r=p.end,m=f?e(n,f,p,o):t(n,r,c,null,p,o);Mt(f)&&o(m.range,"BLOCK_IN_FLOW",Tt);const g=At(d??[],{flow:a,indicator:"map-value-ind",next:h,offset:m.range[2],onError:o,startOnNewline:!1});if(g.found){if(!s&&!p.found&&n.options.strict){if(d)for(const e of d){if(e===g.found)break;if("newline"===e.type){o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}p.start<g.found.offset-1024&&o(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${a}`):o(g.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const y=h?e(n,h,g,o):g.found?t(n,g.end,d,null,g,o):null;y?Mt(h)&&o(y.range,"BLOCK_IN_FLOW",Tt):g.comment&&(m.comment?m.comment+="\n"+g.comment:m.comment=g.comment);const v=new ye(m,y);if(n.options.keepSourceTokens&&(v.srcToken=i),s){const e=u;Ft(n,e.items,m)&&o(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(v)}else{const e=new ke(n.schema);e.flow=!0,e.items.push(v),u.items.push(e)}l=y?y.range[2]:g.end}else{const r=h?e(n,h,p,o):t(n,p.end,d,null,p,o);u.items.push(r),l=r.range[2],Mt(h)&&o(r.range,"BLOCK_IN_FLOW",Tt)}}const f=s?"}":"]",[d,...h]=r.end;let p=l;if(d&&d.source===f)p=d.offset+d.source.length;else{const e=a[0].toUpperCase()+a.substring(1);o(l,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${f}`:`${e} in block collection must be sufficiently indented and end with a ${f}`),d&&1!==d.source.length&&h.unshift(d)}if(h.length>0){const e=Nt(h,p,n.options.strict,o);e.comment&&(u.comment?u.comment+="\n"+e.comment:u.comment=e.comment),u.range=[r.offset,p,e.offset]}else u.range=[r.offset,p,p];return u}(e,t,n,r,i),a=s.constructor;return"!"===o||o===a.tagName?(s.tag=a.tagName,s):(o&&(s.tag=o),s)}function Bt(e,t,n){const r=e.offset,o=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",u=-1;for(let d=1;d<o.length;++d){const t=o[d];if(a||"-"!==t&&"+"!==t){const n=Number(t);!s&&n?s=n:-1===u&&(u=e+d)}else a=t}-1!==u&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let c=!1,l="",f=o.length;for(let d=1;d<t.length;++d){const e=t[d];switch(e.type){case"space":c=!0;case"newline":f+=e.source.length;break;case"comment":if(n&&!c){r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")}f+=e.source.length,l=e.source.substring(1);break;case"error":r(e,"UNEXPECTED_TOKEN",e.message),f+=e.source.length;break;default:{r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`);const t=e.source;t&&"string"==typeof t&&(f+=t.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:f}}(e,t,n);if(!o)return{value:"",type:null,comment:"",range:[r,r,r]};const i=">"===o.mode?U.BLOCK_FOLDED:U.BLOCK_LITERAL,s=e.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let i=1;i<t.length;i+=2)o.push([t[i],t[i+1]]);return o}(e.source):[];let a=s.length;for(let m=s.length-1;m>=0;--m){const e=s[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let n=r+o.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:o.comment,range:[r,n,n]}}let u=e.indent+o.indent,c=e.offset+o.length,l=0;for(let m=0;m<a;++m){const[e,t]=s[m];if(""!==t&&"\r"!==t){if(e.length<u){const t="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(c+e.length,"MISSING_CHAR",t)}0===o.indent&&(u=e.length),l=m;break}0===o.indent&&e.length>u&&(u=e.length),c+=e.length+t.length+1}for(let m=s.length-1;m>=a;--m)s[m][0].length>u&&(a=m+1);let f="",d="",h=!1;for(let m=0;m<l;++m)f+=s[m][0].slice(u)+"\n";for(let m=l;m<a;++m){let[e,t]=s[m];c+=e.length+t.length+1;const r="\r"===t[t.length-1];if(r&&(t=t.slice(0,-1)),t&&e.length<u){const i=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(c-t.length-(r?2:1),"BAD_INDENT",i),e=""}i===U.BLOCK_LITERAL?(f+=d+e.slice(u)+t,d="\n"):e.length>u||"\t"===t[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+e.slice(u)+t,d="\n",h=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",h=!1)}switch(o.chomp){case"-":break;case"+":for(let e=a;e<s.length;++e)f+="\n"+s[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const p=r+o.length+e.source.length;return{value:f,type:i,comment:o.comment,range:[r,p,p]}}function Lt(e,t,n){const{offset:r,type:o,source:i,end:s}=e;let a,u;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":a=U.PLAIN,u=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zt(e)}(i,c);break;case"single-quoted-scalar":a=U.QUOTE_SINGLE,u=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return zt(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break;case"double-quoted-scalar":a=U.QUOTE_DOUBLE,u=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=Ut(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=qt[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i={x:2,u:4,U:8}[o];n+=Vt(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const l=r+i.length,f=Nt(s,l,t,n);return{value:u,type:a,comment:f.comment,range:[r,l,f.offset]}}function zt(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(u){t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function Ut(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const qt={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function Vt(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(i)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(i)}function Qt(e,t,n,r){const{value:o,type:i,comment:s,range:a}="block-scalar"===t.type?Bt(t,e.options.strict,r):Lt(t,e.options.strict,r),u=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&u?function(e,t,n,r,o){if("!"===n)return e[c];const i=[];for(const a of e.tags)if(!a.collection&&a.tag===n){if(!a.default||!a.test)return a;i.push(a)}for(const a of i)if(a.test?.test(t))return a;const s=e.knownTags[n];if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c]}(e.schema,o,u,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[c];if(t.compat){const s=t.compat.find((e=>e.default&&e.test?.test(n)))??t[c];if(i.tag!==s.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(s.tag)}`,!0)}}return i}(e,o,t,r):e.schema[c];let f;try{const i=l.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new U(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new U(o)}return f.range=a,f.source=o,i&&(f.type=i),u&&(f.tag=u),l.format&&(f.format=l.format),s&&(f.comment=s),f}function Xt(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ht={composeNode:Kt,composeEmptyNode:Jt};function Kt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:s,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=function({options:e},{offset:t,source:n,end:r},o){const i=new B(n.substring(1));""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Nt(r,s,e.strict,o);i.range=[t,s,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(s||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Qt(e,t,a,r),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ke.tagName&&"map"===s||i===De.tagName&&"seq"===s||!s)return Rt(e,t,n,o,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!a){const u=t.schema.knownTags[i];if(!u||u.collection!==s)return u?.collection?o(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${s} collection, but expects ${u.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Rt(e,t,n,o,i,a),c=a.resolve?.(u,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??u,l=b(c)?c:new U(c);return l.range=u.range,l.tag=i,a?.format&&(l.format=a.format),l}(Ht,e,t,a,r),s&&(u.anchor=s.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=Jt(e,t.offset,void 0,null,n,r),c=!1}return s&&""===u.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(u.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?u.comment=i:u.commentBefore=i),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Jt(e,t,n,r,{spaceBefore:o,comment:i,anchor:s,tag:a,end:u},c){const l=Qt(e,{type:"scalar",offset:Xt(t,n,r),indent:-1,source:""},a,c);return s&&(l.anchor=s.source.substring(1),""===l.anchor&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(l.spaceBefore=!0),i&&(l.comment=i,l.range[2]=u),l}function Wt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Gt(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Zt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=Wt(e);r?this.warnings.push(new $t(o,t,n)):this.errors.push(new Ct(o,t,n))},this.directives=new j({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Gt(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(v(o)&&!o.flow&&o.items.length>0){let e=o.items[0];m(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Wt(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:o,end:i},s){const a=Object.assign({_directives:t},e),u=new xt(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},l=At(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:s,startOnNewline:!0});l.found&&(u.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||l.hasNewline||s(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=o?Kt(c,o,l,s):Jt(c,l.end,r,null,l,s);const f=u.contents.range[2],d=Nt(i,f,!1,s);return d.comment&&(u.comment=d.comment),u.range=[n,f,d.offset],u}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Ct(Wt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Nt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new xt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Yt(e,t=!0,n){if(e){const r=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new Ct([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Lt(e,t,r);case"block-scalar":return Bt(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:s="PLAIN"}=t,a=ce({type:s,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,u)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:u};default:return{type:"scalar",offset:i,indent:r,source:a,end:u}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:s}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");s=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}const u=ce({type:s,value:t},{implicitKey:o||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];nn(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,u);break;case'"':rn(e,u,"double-quoted-scalar");break;case"'":rn(e,u,"single-quoted-scalar");break;default:rn(e,u,"scalar")}}function nn(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function rn(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}const on=e=>"type"in e?sn(e):an(e);function sn(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=sn(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=an(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=an(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=an(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function an({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=sn(t)),n)for(const i of n)o+=i.source;return r&&(o+=sn(r)),o}const un=Symbol("break visit"),cn=Symbol("skip children"),ln=Symbol("remove item");function fn(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),dn(Object.freeze([]),e,t)}function dn(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const o of["key","value"]){const i=t[o];if(i&&"items"in i){for(let t=0;t<i.items.length;++t){const r=dn(Object.freeze(e.concat([[o,t]])),i.items[t],n);if("number"==typeof r)t=r-1;else{if(r===un)return un;r===ln&&(i.items.splice(t,1),t-=1)}}"function"==typeof r&&"key"===o&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}fn.BREAK=un,fn.SKIP=cn,fn.REMOVE=ln,fn.itemAtPath=(e,t)=>{let n=e;for(const[r,o]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[o]}return n},fn.parentCollection=(e,t)=>{const n=fn.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};const hn="\ufeff",pn="\x02",mn="\x18",gn="\x1f",yn=e=>!!e&&"items"in e,vn=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function bn(e){switch(e){case hn:return"<BOM>";case pn:return"<DOC>";case mn:return"<FLOW_END>";case gn:return"<SCALAR>";default:return JSON.stringify(e)}}function _n(e){switch(e){case hn:return"byte-order-mark";case pn:return"doc-mode";case mn:return"flow-error-end";case gn:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function wn(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const En="0123456789ABCDEFabcdef".split(""),kn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),xn=",[]{}".split(""),Dn=" ,[]{}\n\r\t".split(""),Sn=e=>!e||Dn.includes(e);class Cn{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&wn(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===hn&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length;const n=e.indexOf("#");if(-1!==n){const r=e[n-1];" "!==r&&"\t"!==r||(t=n-1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield pn,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&wn(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&wn(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!wn(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&wn(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Sn),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&wn(r[3])){if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,yield mn,yield*this.parseLineStart()}let o=0;for(;","===r[o];)o+=(yield*this.pushCount(1)),o+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-o),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Sn),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||wn(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>wn(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield gn,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(wn(t)||e&&","===t)break;n=r}else if(wn(t)){let o=this.buffer[r+1];if("\r"===t&&("\n"===o?(r+=1,t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&xn.includes(o))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&xn.includes(t))break;n=r}return t||this.atEnd?(yield gn,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Sn))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(wn(t)||e&&xn.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!wn(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(kn.includes(t))t=this.buffer[++e];else{if("%"!==t||!En.includes(this.buffer[e+1])||!En.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class $n{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}function On(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function An(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Pn(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function jn(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Fn(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function In(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||On(t.start,"explicit-key-ind")||On(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,Pn(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Nn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Cn,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=_n(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&In(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!On(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===An(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==An(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=Fn(jn(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||On(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(On(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(On(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Pn(t.key)&&!On(t.sep,"newline")){const e=Fn(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(On(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Fn(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):On(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0))}default:{const o=this.startBlockValue(e);if(o)return n&&"block-seq"!==o.type&&On(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(o)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||On(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=Fn(jn(t));In(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Tn(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new $n||null,prettyErrors:t}}function Mn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t),s=Array.from(i.compose(o.parse(e)));if(r&&n)for(const a of s)a.errors.forEach(Ot(e,n)),a.warnings.forEach(Ot(e,n));return s.length>0?s:Object.assign([],{empty:!0},i.streamInfo())}function Rn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t);let s=null;for(const a of i.compose(o.parse(e),!0,e.length))if(s){if("silent"!==s.options.logLevel){s.errors.push(new Ct(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else s=a;return r&&n&&(s.errors.forEach(Ot(e,n)),s.warnings.forEach(Ot(e,n))),s}function Bn(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=Rn(e,n);if(!o)return null;if(o.warnings.forEach((e=>de(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))}function Ln(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new xt(e,r,n).toString(n)}const zn=o},338:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},70764:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},96666:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},43182:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},71637:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},27889:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},5124:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},83575:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},47322:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.d7791420.js b/assets/js/runtime~main.d3964bd7.js similarity index 99% rename from assets/js/runtime~main.d7791420.js rename to assets/js/runtime~main.d3964bd7.js index 5841d0f6..3955fd0c 100644 --- a/assets/js/runtime~main.d7791420.js +++ b/assets/js/runtime~main.d3964bd7.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=b,e=[],r.O=(a,f,c,d)=>{if(!f){var b=1/0;for(i=0;i<e.length;i++){f=e[i][0],c=e[i][1],d=e[i][2];for(var t=!0,o=0;o<f.length;o++)(!1&d||b>=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d<b&&(b=d));if(t){e.splice(i--,1);var n=c();void 0!==n&&(a=n)}}return a}d=d||0;for(var i=e.length;i>0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=f(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(d,b),d},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({95:"3c31ec3b",351:"9ac2b418",488:"87bcd65e",554:"9e15fc25",556:"c73c1d3a",683:"e856c143",763:"f577767d",799:"0d3f9d17",882:"9c6e1aee",997:"658aa8be",1018:"ede070c3",1178:"a9779a33",1422:"50fa7aa7",1512:"f210e6d3",1571:"1917520d",1583:"8aa384a9",1600:"e793cb8b",1649:"06923f2b",1685:"b70fd545",1724:"a6fccf34",1887:"1154c93e",2061:"0098a75a",2093:"6e8ff3aa",2095:"d3f864f6",2112:"ad7f7207",2156:"5fa83de1",2232:"ca0d25b7",2333:"4f48a76f",2343:"26adb6ed",2384:"288a3aad",2418:"0c6b334b",2592:"dcaebccf",3e3:"74f0bff4",3085:"1f391b9e",3237:"1df93b7f",3362:"47f40ad3",3427:"b27771bd",3629:"aba21aa0",3763:"00be781a",3904:"19c068a5",4035:"dfd51a51",4368:"a94703ab",4404:"2d54960a",4427:"7168108a",4567:"c47862a6",4963:"3bef66bf",5007:"55366030",5068:"805f8f48",5097:"06f6442f",5152:"2d5baa33",5340:"34a1fa87",5438:"5fb36c82",5491:"e8328cbe",5548:"f2745fbe",5791:"be5c8d03",5815:"aeecf7cf",5910:"6397ae1b",5980:"a7456010",6003:"c26eb700",6037:"65b9696e",6218:"57805cd5",6338:"d37c0134",6424:"b702b8d4",6454:"d6a63adc",6477:"c3e4b2a1",6852:"ddfabb78",6924:"2fe7c366",7033:"8e037750",7091:"4ffa8edd",7219:"60b8d43b",7278:"41f6ea55",7317:"24164d9f",7626:"dc0c7504",7918:"17896441",8015:"26210d4e",8107:"6dcd11e3",8263:"cb7b1c3b",8320:"9999236a",8470:"ce1d6aaa",8518:"a7bd4aaa",8592:"common",8605:"73e8c510",8623:"6656ad10",8797:"6bb5505e",8822:"5c90228f",9057:"324b62c5",9076:"96cb052f",9081:"18891827",9312:"ccf56d1d",9437:"ee3e0fff",9661:"5e95c892",9741:"27fc136d",9817:"14eb3368",9874:"39033cdf"}[e]||e)+"."+{12:"9b5e4ed2",95:"ff4030e0",351:"b304f0da",477:"07dcad2f",488:"bc81e216",554:"a2989424",556:"25981f6f",683:"026c1ed6",763:"0dc372e1",799:"ba4faf0d",882:"b8ae1567",997:"47b07836",1018:"b5d9e870",1178:"16a681a8",1422:"91120061",1512:"ef2e3f64",1571:"4bf04236",1583:"fa82637a",1600:"d078b941",1649:"35cf67fc",1685:"5f25d89c",1724:"d283bb96",1887:"582666fe",2061:"134d1832",2093:"11f146be",2095:"8356bb8b",2112:"8091e95e",2156:"e176f19e",2232:"9c75870c",2333:"f0b58e1a",2343:"6819fc45",2384:"b41d3aa3",2418:"38d268d9",2592:"0806f5c4",3e3:"f1f0d814",3085:"4e43d32b",3237:"ebfdbf2b",3362:"0ccdc9e8",3427:"7a1ce6bb",3629:"0ef86410",3763:"7ea82569",3879:"cc23493d",3904:"e248d887",4035:"410043d0",4368:"7cf84fd0",4404:"8dc29f30",4427:"9983c92f",4567:"2e4227b8",4963:"776d356d",5007:"e04f939e",5068:"1fc7a7b2",5097:"870ef4e3",5152:"86d8614f",5340:"e1710388",5438:"18cdfd45",5491:"82c7f5d8",5548:"8c5ac004",5722:"ee6c0427",5791:"70243a97",5815:"7afb09ca",5910:"da1932d1",5980:"5dd15706",6003:"da230f75",6037:"f337807b",6218:"b15bd159",6338:"98c22360",6424:"7aca97fa",6454:"ca6c2292",6477:"9e9c83c4",6852:"ab2a407c",6924:"f07796c5",7033:"03597153",7091:"39c195eb",7219:"e6b3a614",7278:"05807dc7",7317:"2bb009df",7626:"bbba2afc",7918:"f69fdcba",8015:"6b388822",8107:"3667fcf0",8263:"7a8bf81e",8320:"cd66e773",8470:"45ed09ac",8518:"3c36f462",8592:"d9e6497e",8605:"442bc116",8623:"549621e6",8797:"1440b403",8822:"5996c160",9057:"80875422",9076:"026999b1",9081:"a7d23823",9312:"dde42bc8",9437:"55ec5c74",9661:"18906a0d",9741:"dfd4adb5",9817:"0286321c",9874:"3ab9c628"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="@ethdebug/format-web:",r.l=(e,a,f,b)=>{if(c[e])c[e].push(a);else{var t,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+f){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",d+f),t.src=e),c[e]=[a];var l=(a,f)=>{t.onerror=t.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/format/",r.gca=function(e){return e={17896441:"7918",18891827:"9081",55366030:"5007","3c31ec3b":"95","9ac2b418":"351","87bcd65e":"488","9e15fc25":"554",c73c1d3a:"556",e856c143:"683",f577767d:"763","0d3f9d17":"799","9c6e1aee":"882","658aa8be":"997",ede070c3:"1018",a9779a33:"1178","50fa7aa7":"1422",f210e6d3:"1512","1917520d":"1571","8aa384a9":"1583",e793cb8b:"1600","06923f2b":"1649",b70fd545:"1685",a6fccf34:"1724","1154c93e":"1887","0098a75a":"2061","6e8ff3aa":"2093",d3f864f6:"2095",ad7f7207:"2112","5fa83de1":"2156",ca0d25b7:"2232","4f48a76f":"2333","26adb6ed":"2343","288a3aad":"2384","0c6b334b":"2418",dcaebccf:"2592","74f0bff4":"3000","1f391b9e":"3085","1df93b7f":"3237","47f40ad3":"3362",b27771bd:"3427",aba21aa0:"3629","00be781a":"3763","19c068a5":"3904",dfd51a51:"4035",a94703ab:"4368","2d54960a":"4404","7168108a":"4427",c47862a6:"4567","3bef66bf":"4963","805f8f48":"5068","06f6442f":"5097","2d5baa33":"5152","34a1fa87":"5340","5fb36c82":"5438",e8328cbe:"5491",f2745fbe:"5548",be5c8d03:"5791",aeecf7cf:"5815","6397ae1b":"5910",a7456010:"5980",c26eb700:"6003","65b9696e":"6037","57805cd5":"6218",d37c0134:"6338",b702b8d4:"6424",d6a63adc:"6454",c3e4b2a1:"6477",ddfabb78:"6852","2fe7c366":"6924","8e037750":"7033","4ffa8edd":"7091","60b8d43b":"7219","41f6ea55":"7278","24164d9f":"7317",dc0c7504:"7626","26210d4e":"8015","6dcd11e3":"8107",cb7b1c3b:"8263","9999236a":"8320",ce1d6aaa:"8470",a7bd4aaa:"8518",common:"8592","73e8c510":"8605","6656ad10":"8623","6bb5505e":"8797","5c90228f":"8822","324b62c5":"9057","96cb052f":"9076",ccf56d1d:"9312",ee3e0fff:"9437","5e95c892":"9661","27fc136d":"9741","14eb3368":"9817","39033cdf":"9874"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=r.p+r.u(a),t=new Error;r.l(b,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],t=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(f);n<b.length;n++)d=b[n],r.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return r.O(i)},f=self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[];f.forEach(a.bind(null,0)),f.push=a.bind(null,f.push.bind(f))})()})(); \ No newline at end of file +(()=>{"use strict";var e,a,f,c,d,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=b,e=[],r.O=(a,f,c,d)=>{if(!f){var b=1/0;for(i=0;i<e.length;i++){f=e[i][0],c=e[i][1],d=e[i][2];for(var t=!0,o=0;o<f.length;o++)(!1&d||b>=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d<b&&(b=d));if(t){e.splice(i--,1);var n=c();void 0!==n&&(a=n)}}return a}d=d||0;for(var i=e.length;i>0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=f(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(d,b),d},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({95:"3c31ec3b",351:"9ac2b418",488:"87bcd65e",554:"9e15fc25",556:"c73c1d3a",683:"e856c143",763:"f577767d",799:"0d3f9d17",882:"9c6e1aee",997:"658aa8be",1018:"ede070c3",1178:"a9779a33",1422:"50fa7aa7",1512:"f210e6d3",1571:"1917520d",1583:"8aa384a9",1600:"e793cb8b",1649:"06923f2b",1685:"b70fd545",1724:"a6fccf34",1887:"1154c93e",2061:"0098a75a",2093:"6e8ff3aa",2095:"d3f864f6",2112:"ad7f7207",2156:"5fa83de1",2232:"ca0d25b7",2333:"4f48a76f",2343:"26adb6ed",2384:"288a3aad",2418:"0c6b334b",2592:"dcaebccf",3e3:"74f0bff4",3085:"1f391b9e",3237:"1df93b7f",3362:"47f40ad3",3427:"b27771bd",3629:"aba21aa0",3763:"00be781a",3904:"19c068a5",4035:"dfd51a51",4368:"a94703ab",4404:"2d54960a",4427:"7168108a",4567:"c47862a6",4963:"3bef66bf",5007:"55366030",5068:"805f8f48",5097:"06f6442f",5152:"2d5baa33",5340:"34a1fa87",5438:"5fb36c82",5491:"e8328cbe",5548:"f2745fbe",5791:"be5c8d03",5815:"aeecf7cf",5910:"6397ae1b",5980:"a7456010",6003:"c26eb700",6037:"65b9696e",6218:"57805cd5",6338:"d37c0134",6424:"b702b8d4",6454:"d6a63adc",6477:"c3e4b2a1",6852:"ddfabb78",6924:"2fe7c366",7033:"8e037750",7091:"4ffa8edd",7219:"60b8d43b",7278:"41f6ea55",7317:"24164d9f",7626:"dc0c7504",7918:"17896441",8015:"26210d4e",8107:"6dcd11e3",8263:"cb7b1c3b",8320:"9999236a",8470:"ce1d6aaa",8518:"a7bd4aaa",8592:"common",8605:"73e8c510",8623:"6656ad10",8797:"6bb5505e",8822:"5c90228f",9057:"324b62c5",9076:"96cb052f",9081:"18891827",9312:"ccf56d1d",9437:"ee3e0fff",9661:"5e95c892",9741:"27fc136d",9817:"14eb3368",9874:"39033cdf"}[e]||e)+"."+{12:"9b5e4ed2",95:"ff4030e0",351:"b304f0da",477:"07dcad2f",488:"bc81e216",554:"a2989424",556:"25981f6f",683:"026c1ed6",763:"0dc372e1",799:"ba4faf0d",882:"b8ae1567",997:"47b07836",1018:"b5d9e870",1178:"16a681a8",1422:"91120061",1512:"ef2e3f64",1571:"4bf04236",1583:"fa82637a",1600:"d078b941",1649:"35cf67fc",1685:"5f25d89c",1724:"d283bb96",1887:"582666fe",2061:"134d1832",2093:"11f146be",2095:"8356bb8b",2112:"8091e95e",2156:"e176f19e",2232:"9c75870c",2333:"f0b58e1a",2343:"6819fc45",2384:"b41d3aa3",2418:"38d268d9",2592:"0806f5c4",3e3:"f1f0d814",3085:"4e43d32b",3237:"ebfdbf2b",3362:"0ccdc9e8",3427:"7a1ce6bb",3629:"0ef86410",3763:"7ea82569",3879:"cc23493d",3904:"e248d887",4035:"410043d0",4368:"7cf84fd0",4404:"8dc29f30",4427:"9983c92f",4567:"2e4227b8",4963:"776d356d",5007:"e04f939e",5068:"1fc7a7b2",5097:"870ef4e3",5152:"86d8614f",5340:"e1710388",5438:"18cdfd45",5491:"82c7f5d8",5548:"8c5ac004",5722:"ee6c0427",5791:"70243a97",5815:"7afb09ca",5910:"da1932d1",5980:"5dd15706",6003:"da230f75",6037:"f337807b",6218:"b15bd159",6338:"98c22360",6424:"7aca97fa",6454:"ca6c2292",6477:"9e9c83c4",6852:"ab2a407c",6924:"f07796c5",7033:"03597153",7091:"39c195eb",7219:"e6b3a614",7278:"05807dc7",7317:"2bb009df",7626:"bbba2afc",7918:"f69fdcba",8015:"6b388822",8107:"3667fcf0",8263:"7a8bf81e",8320:"cd66e773",8470:"45ed09ac",8518:"3c36f462",8592:"3693924e",8605:"442bc116",8623:"549621e6",8797:"1440b403",8822:"5996c160",9057:"80875422",9076:"026999b1",9081:"a7d23823",9312:"dde42bc8",9437:"55ec5c74",9661:"18906a0d",9741:"dfd4adb5",9817:"0286321c",9874:"3ab9c628"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="@ethdebug/format-web:",r.l=(e,a,f,b)=>{if(c[e])c[e].push(a);else{var t,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+f){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",d+f),t.src=e),c[e]=[a];var l=(a,f)=>{t.onerror=t.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/format/",r.gca=function(e){return e={17896441:"7918",18891827:"9081",55366030:"5007","3c31ec3b":"95","9ac2b418":"351","87bcd65e":"488","9e15fc25":"554",c73c1d3a:"556",e856c143:"683",f577767d:"763","0d3f9d17":"799","9c6e1aee":"882","658aa8be":"997",ede070c3:"1018",a9779a33:"1178","50fa7aa7":"1422",f210e6d3:"1512","1917520d":"1571","8aa384a9":"1583",e793cb8b:"1600","06923f2b":"1649",b70fd545:"1685",a6fccf34:"1724","1154c93e":"1887","0098a75a":"2061","6e8ff3aa":"2093",d3f864f6:"2095",ad7f7207:"2112","5fa83de1":"2156",ca0d25b7:"2232","4f48a76f":"2333","26adb6ed":"2343","288a3aad":"2384","0c6b334b":"2418",dcaebccf:"2592","74f0bff4":"3000","1f391b9e":"3085","1df93b7f":"3237","47f40ad3":"3362",b27771bd:"3427",aba21aa0:"3629","00be781a":"3763","19c068a5":"3904",dfd51a51:"4035",a94703ab:"4368","2d54960a":"4404","7168108a":"4427",c47862a6:"4567","3bef66bf":"4963","805f8f48":"5068","06f6442f":"5097","2d5baa33":"5152","34a1fa87":"5340","5fb36c82":"5438",e8328cbe:"5491",f2745fbe:"5548",be5c8d03:"5791",aeecf7cf:"5815","6397ae1b":"5910",a7456010:"5980",c26eb700:"6003","65b9696e":"6037","57805cd5":"6218",d37c0134:"6338",b702b8d4:"6424",d6a63adc:"6454",c3e4b2a1:"6477",ddfabb78:"6852","2fe7c366":"6924","8e037750":"7033","4ffa8edd":"7091","60b8d43b":"7219","41f6ea55":"7278","24164d9f":"7317",dc0c7504:"7626","26210d4e":"8015","6dcd11e3":"8107",cb7b1c3b:"8263","9999236a":"8320",ce1d6aaa:"8470",a7bd4aaa:"8518",common:"8592","73e8c510":"8605","6656ad10":"8623","6bb5505e":"8797","5c90228f":"8822","324b62c5":"9057","96cb052f":"9076",ccf56d1d:"9312",ee3e0fff:"9437","5e95c892":"9661","27fc136d":"9741","14eb3368":"9817","39033cdf":"9874"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=r.p+r.u(a),t=new Error;r.l(b,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],t=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(f);n<b.length;n++)d=b[n],r.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return r.O(i)},f=self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[];f.forEach(a.bind(null,0)),f.push=a.bind(null,f.push.bind(f))})()})(); \ No newline at end of file diff --git a/docs/category/prototype-sketches/index.html b/docs/category/prototype-sketches/index.html index f2f17b23..1f703247 100644 --- a/docs/category/prototype-sketches/index.html +++ b/docs/category/prototype-sketches/index.html @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <meta name="generator" content="Docusaurus v3.4.0"> <title data-rh="true">Prototype sketches | ethdebug format - + diff --git a/docs/implementation-guides/index.html b/docs/implementation-guides/index.html index 433c5eae..d3f2f34b 100644 --- a/docs/implementation-guides/index.html +++ b/docs/implementation-guides/index.html @@ -4,7 +4,7 @@ Implementation guides | ethdebug format - + diff --git a/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html b/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html index 0e3d9120..83dd7b3a 100644 --- a/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html @@ -4,7 +4,7 @@ Generating regions on the fly | ethdebug format - + diff --git a/docs/implementation-guides/pointers/dereference-logic/index.html b/docs/implementation-guides/pointers/dereference-logic/index.html index 3460ae93..930bf035 100644 --- a/docs/implementation-guides/pointers/dereference-logic/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/index.html @@ -4,7 +4,7 @@ The dereference() function | ethdebug format - + diff --git a/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html b/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html index f9608eaa..a2990fc1 100644 --- a/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html @@ -4,7 +4,7 @@ Making regions concrete | ethdebug format - + diff --git a/docs/implementation-guides/pointers/evaluating-expressions/index.html b/docs/implementation-guides/pointers/evaluating-expressions/index.html index 2fa69b73..0b2c3e59 100644 --- a/docs/implementation-guides/pointers/evaluating-expressions/index.html +++ b/docs/implementation-guides/pointers/evaluating-expressions/index.html @@ -4,7 +4,7 @@ Evaluating pointer expressions | ethdebug format - + diff --git a/docs/implementation-guides/pointers/index.html b/docs/implementation-guides/pointers/index.html index b5666c6c..cb4646d5 100644 --- a/docs/implementation-guides/pointers/index.html +++ b/docs/implementation-guides/pointers/index.html @@ -4,7 +4,7 @@ Dereferencing pointers | ethdebug format - + diff --git a/docs/implementation-guides/pointers/reading-from-regions/index.html b/docs/implementation-guides/pointers/reading-from-regions/index.html index a5e76223..6439a944 100644 --- a/docs/implementation-guides/pointers/reading-from-regions/index.html +++ b/docs/implementation-guides/pointers/reading-from-regions/index.html @@ -4,7 +4,7 @@ Reading from pointer regions | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/blockchain-simulation/index.html b/docs/implementation-guides/pointers/testing/blockchain-simulation/index.html index 453c8497..39940b76 100644 --- a/docs/implementation-guides/pointers/testing/blockchain-simulation/index.html +++ b/docs/implementation-guides/pointers/testing/blockchain-simulation/index.html @@ -4,7 +4,7 @@ Simulating a blockchain | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/compilation/index.html b/docs/implementation-guides/pointers/testing/compilation/index.html index 641acdbf..2b802319 100644 --- a/docs/implementation-guides/pointers/testing/compilation/index.html +++ b/docs/implementation-guides/pointers/testing/compilation/index.html @@ -4,7 +4,7 @@ Invoking the compiler | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/deployment/index.html b/docs/implementation-guides/pointers/testing/deployment/index.html index e3295405..5ddc5ac3 100644 --- a/docs/implementation-guides/pointers/testing/deployment/index.html +++ b/docs/implementation-guides/pointers/testing/deployment/index.html @@ -4,7 +4,7 @@ Deploying contracts | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/example-pointers/index.html b/docs/implementation-guides/pointers/testing/example-pointers/index.html index 0c2cf234..5a5b853a 100644 --- a/docs/implementation-guides/pointers/testing/example-pointers/index.html +++ b/docs/implementation-guides/pointers/testing/example-pointers/index.html @@ -4,7 +4,7 @@ Finding example pointers | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/index.html b/docs/implementation-guides/pointers/testing/index.html index 35b52f50..4f538acd 100644 --- a/docs/implementation-guides/pointers/testing/index.html +++ b/docs/implementation-guides/pointers/testing/index.html @@ -4,7 +4,7 @@ End-to-end testing | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/jest/index.html b/docs/implementation-guides/pointers/testing/jest/index.html index 16afc052..eebdd373 100644 --- a/docs/implementation-guides/pointers/testing/jest/index.html +++ b/docs/implementation-guides/pointers/testing/jest/index.html @@ -4,7 +4,7 @@ Hooking up Jest | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/machine-observation/index.html b/docs/implementation-guides/pointers/testing/machine-observation/index.html index 3863e814..60383bc0 100644 --- a/docs/implementation-guides/pointers/testing/machine-observation/index.html +++ b/docs/implementation-guides/pointers/testing/machine-observation/index.html @@ -4,7 +4,7 @@ Observing the machine | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/test-cases/index.html b/docs/implementation-guides/pointers/testing/test-cases/index.html index 643d0bc1..b92e8095 100644 --- a/docs/implementation-guides/pointers/testing/test-cases/index.html +++ b/docs/implementation-guides/pointers/testing/test-cases/index.html @@ -4,7 +4,7 @@ Test cases | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/test-cases/string-storage/index.html b/docs/implementation-guides/pointers/testing/test-cases/string-storage/index.html index 70022f24..841b8458 100644 --- a/docs/implementation-guides/pointers/testing/test-cases/string-storage/index.html +++ b/docs/implementation-guides/pointers/testing/test-cases/string-storage/index.html @@ -4,7 +4,7 @@ Test case: string storage | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/test-cases/struct-storage/index.html b/docs/implementation-guides/pointers/testing/test-cases/struct-storage/index.html index 96b33aca..c2b37e69 100644 --- a/docs/implementation-guides/pointers/testing/test-cases/struct-storage/index.html +++ b/docs/implementation-guides/pointers/testing/test-cases/struct-storage/index.html @@ -4,7 +4,7 @@ Test case: <struct> storage | ethdebug format - + diff --git a/docs/implementation-guides/pointers/testing/test-cases/uint256-array-memory/index.html b/docs/implementation-guides/pointers/testing/test-cases/uint256-array-memory/index.html index a5e02fb6..1d6d793f 100644 --- a/docs/implementation-guides/pointers/testing/test-cases/uint256-array-memory/index.html +++ b/docs/implementation-guides/pointers/testing/test-cases/uint256-array-memory/index.html @@ -4,7 +4,7 @@ Test case: uint256[] memory | ethdebug format - + diff --git a/docs/implementation-guides/pointers/types/cursors/index.html b/docs/implementation-guides/pointers/types/cursors/index.html index 0bce864a..ec4b594d 100644 --- a/docs/implementation-guides/pointers/types/cursors/index.html +++ b/docs/implementation-guides/pointers/types/cursors/index.html @@ -4,7 +4,7 @@ Cursor objects | ethdebug format - + diff --git a/docs/implementation-guides/pointers/types/data-and-machines/index.html b/docs/implementation-guides/pointers/types/data-and-machines/index.html index 1b90478c..630b2fd6 100644 --- a/docs/implementation-guides/pointers/types/data-and-machines/index.html +++ b/docs/implementation-guides/pointers/types/data-and-machines/index.html @@ -4,7 +4,7 @@ Data and machines | ethdebug format - + diff --git a/docs/implementation-guides/pointers/types/index.html b/docs/implementation-guides/pointers/types/index.html index 8662fad3..575c9f37 100644 --- a/docs/implementation-guides/pointers/types/index.html +++ b/docs/implementation-guides/pointers/types/index.html @@ -4,7 +4,7 @@ Essential type definitions | ethdebug format - + diff --git a/docs/implementation-guides/pointers/types/pointer-types/index.html b/docs/implementation-guides/pointers/types/pointer-types/index.html index 5e0304af..3f2aa2b2 100644 --- a/docs/implementation-guides/pointers/types/pointer-types/index.html +++ b/docs/implementation-guides/pointers/types/pointer-types/index.html @@ -4,7 +4,7 @@ Pointer types | ethdebug format - + diff --git a/docs/known-challenges/index.html b/docs/known-challenges/index.html index 274480bf..113e206e 100644 --- a/docs/known-challenges/index.html +++ b/docs/known-challenges/index.html @@ -4,7 +4,7 @@ Known challenges | ethdebug format - + diff --git a/docs/overview/index.html b/docs/overview/index.html index 72738148..4de2f291 100644 --- a/docs/overview/index.html +++ b/docs/overview/index.html @@ -4,7 +4,7 @@ Project overview | ethdebug format - + diff --git a/docs/sketches/layout/index.html b/docs/sketches/layout/index.html index 70bbf700..556879ee 100644 --- a/docs/sketches/layout/index.html +++ b/docs/sketches/layout/index.html @@ -4,7 +4,7 @@ @haltman-at's allocation data draft | ethdebug format - + diff --git a/docs/sketches/prototype/index.html b/docs/sketches/prototype/index.html index ecb73be8..3e81ca3c 100644 --- a/docs/sketches/prototype/index.html +++ b/docs/sketches/prototype/index.html @@ -4,7 +4,7 @@ @jtoman's format prototype | ethdebug format - + diff --git a/home/index.html b/home/index.html index 1c1d1b7d..ce2192c7 100644 --- a/home/index.html +++ b/home/index.html @@ -4,7 +4,7 @@ Home | ethdebug format - + diff --git a/index.html b/index.html index 003b0a07..6c5e9928 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Home | ethdebug format - + diff --git a/spec/category/complex-types/index.html b/spec/category/complex-types/index.html index f52fa57a..ffdfcf6b 100644 --- a/spec/category/complex-types/index.html +++ b/spec/category/complex-types/index.html @@ -4,7 +4,7 @@ Complex types | ethdebug format - + diff --git a/spec/category/elementary-types/index.html b/spec/category/elementary-types/index.html index 91e1aa24..3b8ec84e 100644 --- a/spec/category/elementary-types/index.html +++ b/spec/category/elementary-types/index.html @@ -4,7 +4,7 @@ Elementary types | ethdebug format - + diff --git a/spec/data/hex/index.html b/spec/data/hex/index.html index 02121127..8f5db8d6 100644 --- a/spec/data/hex/index.html +++ b/spec/data/hex/index.html @@ -4,7 +4,7 @@ Hexadecimal strings | ethdebug format - + diff --git a/spec/data/overview/index.html b/spec/data/overview/index.html index c19b54b3..1d437b0e 100644 --- a/spec/data/overview/index.html +++ b/spec/data/overview/index.html @@ -4,7 +4,7 @@ Overview | ethdebug format - + diff --git a/spec/data/unsigned/index.html b/spec/data/unsigned/index.html index d5dfc1ea..90a2dea4 100644 --- a/spec/data/unsigned/index.html +++ b/spec/data/unsigned/index.html @@ -4,7 +4,7 @@ Unsigned integers | ethdebug format - + diff --git a/spec/materials/compilation/index.html b/spec/materials/compilation/index.html index 745e9aad..07b78de3 100644 --- a/spec/materials/compilation/index.html +++ b/spec/materials/compilation/index.html @@ -4,7 +4,7 @@ Compilation schema | ethdebug format - + diff --git a/spec/materials/id/index.html b/spec/materials/id/index.html index 298c0633..85fd7841 100644 --- a/spec/materials/id/index.html +++ b/spec/materials/id/index.html @@ -4,7 +4,7 @@ Identifiers and references | ethdebug format - + diff --git a/spec/materials/overview/index.html b/spec/materials/overview/index.html index 54f8958a..50505e30 100644 --- a/spec/materials/overview/index.html +++ b/spec/materials/overview/index.html @@ -4,7 +4,7 @@ Overview | ethdebug format - + diff --git a/spec/materials/source-range/index.html b/spec/materials/source-range/index.html index b53853e5..f59cbc87 100644 --- a/spec/materials/source-range/index.html +++ b/spec/materials/source-range/index.html @@ -4,7 +4,7 @@ Source range schema | ethdebug format - + diff --git a/spec/materials/source/index.html b/spec/materials/source/index.html index 22372c56..a1ccc1fb 100644 --- a/spec/materials/source/index.html +++ b/spec/materials/source/index.html @@ -4,11 +4,11 @@ Source schema | ethdebug format - +
Skip to main content

Source schema

-
Loading ....
+
Loading ....
\ No newline at end of file diff --git a/spec/overview/index.html b/spec/overview/index.html index a8abdc33..ae95a624 100644 --- a/spec/overview/index.html +++ b/spec/overview/index.html @@ -4,7 +4,7 @@ Specification overview | ethdebug format - + diff --git a/spec/pointer/collection/conditional/index.html b/spec/pointer/collection/conditional/index.html index 47deeb6b..d1f0ad75 100644 --- a/spec/pointer/collection/conditional/index.html +++ b/spec/pointer/collection/conditional/index.html @@ -4,7 +4,7 @@ Conditional | ethdebug format - + diff --git a/spec/pointer/collection/group/index.html b/spec/pointer/collection/group/index.html index d81e2cea..9679ece0 100644 --- a/spec/pointer/collection/group/index.html +++ b/spec/pointer/collection/group/index.html @@ -4,7 +4,7 @@ Group | ethdebug format - + diff --git a/spec/pointer/collection/index.html b/spec/pointer/collection/index.html index 6e7195fa..ebbcab9a 100644 --- a/spec/pointer/collection/index.html +++ b/spec/pointer/collection/index.html @@ -4,7 +4,7 @@ Collection schema | ethdebug format - + diff --git a/spec/pointer/collection/list/index.html b/spec/pointer/collection/list/index.html index 9a84566f..07c0f7a1 100644 --- a/spec/pointer/collection/list/index.html +++ b/spec/pointer/collection/list/index.html @@ -4,7 +4,7 @@ List | ethdebug format - + diff --git a/spec/pointer/collection/scope/index.html b/spec/pointer/collection/scope/index.html index b7d6dd6b..5ab9584b 100644 --- a/spec/pointer/collection/scope/index.html +++ b/spec/pointer/collection/scope/index.html @@ -4,7 +4,7 @@ Scope | ethdebug format - + diff --git a/spec/pointer/concepts/index.html b/spec/pointer/concepts/index.html index b3b123d6..2288b02c 100644 --- a/spec/pointer/concepts/index.html +++ b/spec/pointer/concepts/index.html @@ -4,7 +4,7 @@ Key concepts | ethdebug format - + diff --git a/spec/pointer/expression/index.html b/spec/pointer/expression/index.html index 17f7ea22..95677d34 100644 --- a/spec/pointer/expression/index.html +++ b/spec/pointer/expression/index.html @@ -4,7 +4,7 @@ Expression syntax | ethdebug format - + diff --git a/spec/pointer/index.html b/spec/pointer/index.html index 56f97673..c4e4daf3 100644 --- a/spec/pointer/index.html +++ b/spec/pointer/index.html @@ -4,7 +4,7 @@ Schema | ethdebug format - + diff --git a/spec/pointer/overview/index.html b/spec/pointer/overview/index.html index afd872e3..9fd0d29b 100644 --- a/spec/pointer/overview/index.html +++ b/spec/pointer/overview/index.html @@ -4,7 +4,7 @@ Overview | ethdebug format - + diff --git a/spec/pointer/region/base/index.html b/spec/pointer/region/base/index.html index dc90122f..deb6d675 100644 --- a/spec/pointer/region/base/index.html +++ b/spec/pointer/region/base/index.html @@ -4,7 +4,7 @@ Base region schema | ethdebug format - + diff --git a/spec/pointer/region/index.html b/spec/pointer/region/index.html index a81fea1d..4f927082 100644 --- a/spec/pointer/region/index.html +++ b/spec/pointer/region/index.html @@ -4,7 +4,7 @@ Region schema | ethdebug format - + diff --git a/spec/pointer/region/location/calldata/index.html b/spec/pointer/region/location/calldata/index.html index 751a3591..d8b441f8 100644 --- a/spec/pointer/region/location/calldata/index.html +++ b/spec/pointer/region/location/calldata/index.html @@ -4,7 +4,7 @@ calldata | ethdebug format - + diff --git a/spec/pointer/region/location/code/index.html b/spec/pointer/region/location/code/index.html index 5049875f..c44e758f 100644 --- a/spec/pointer/region/location/code/index.html +++ b/spec/pointer/region/location/code/index.html @@ -4,7 +4,7 @@ code | ethdebug format - + diff --git a/spec/pointer/region/location/memory/index.html b/spec/pointer/region/location/memory/index.html index caea059b..42e78139 100644 --- a/spec/pointer/region/location/memory/index.html +++ b/spec/pointer/region/location/memory/index.html @@ -4,7 +4,7 @@ memory | ethdebug format - + diff --git a/spec/pointer/region/location/returndata/index.html b/spec/pointer/region/location/returndata/index.html index d655997d..54631f96 100644 --- a/spec/pointer/region/location/returndata/index.html +++ b/spec/pointer/region/location/returndata/index.html @@ -4,7 +4,7 @@ returndata | ethdebug format - + diff --git a/spec/pointer/region/location/stack/index.html b/spec/pointer/region/location/stack/index.html index aea3355f..129ac57f 100644 --- a/spec/pointer/region/location/stack/index.html +++ b/spec/pointer/region/location/stack/index.html @@ -4,7 +4,7 @@ stack | ethdebug format - + diff --git a/spec/pointer/region/location/storage/index.html b/spec/pointer/region/location/storage/index.html index 4b17144f..6ec51fdf 100644 --- a/spec/pointer/region/location/storage/index.html +++ b/spec/pointer/region/location/storage/index.html @@ -4,7 +4,7 @@ storage | ethdebug format - + diff --git a/spec/pointer/region/location/transient/index.html b/spec/pointer/region/location/transient/index.html index 562df53a..8c59921b 100644 --- a/spec/pointer/region/location/transient/index.html +++ b/spec/pointer/region/location/transient/index.html @@ -4,7 +4,7 @@ transient | ethdebug format - + diff --git a/spec/pointer/region/scheme/segment/index.html b/spec/pointer/region/scheme/segment/index.html index c16f87af..1ab7267e 100644 --- a/spec/pointer/region/scheme/segment/index.html +++ b/spec/pointer/region/scheme/segment/index.html @@ -4,7 +4,7 @@ segment | ethdebug format - + diff --git a/spec/pointer/region/scheme/slice/index.html b/spec/pointer/region/scheme/slice/index.html index 583d8c9d..226a4554 100644 --- a/spec/pointer/region/scheme/slice/index.html +++ b/spec/pointer/region/scheme/slice/index.html @@ -4,7 +4,7 @@ slice | ethdebug format - + diff --git a/spec/pointer/template/index.html b/spec/pointer/template/index.html index 079306a7..3dfdbb9a 100644 --- a/spec/pointer/template/index.html +++ b/spec/pointer/template/index.html @@ -4,7 +4,7 @@ Pointer templates | ethdebug format - + diff --git a/spec/type/base/index.html b/spec/type/base/index.html index adddbac1..ecc444ef 100644 --- a/spec/type/base/index.html +++ b/spec/type/base/index.html @@ -4,7 +4,7 @@ Base schema | ethdebug format - + diff --git a/spec/type/complex/alias/index.html b/spec/type/complex/alias/index.html index 79ab6ca5..2db2c08c 100644 --- a/spec/type/complex/alias/index.html +++ b/spec/type/complex/alias/index.html @@ -4,7 +4,7 @@ alias | ethdebug format - + diff --git a/spec/type/complex/array/index.html b/spec/type/complex/array/index.html index db833b42..53c46e73 100644 --- a/spec/type/complex/array/index.html +++ b/spec/type/complex/array/index.html @@ -4,7 +4,7 @@ array | ethdebug format - + diff --git a/spec/type/complex/function/index.html b/spec/type/complex/function/index.html index 12d4da76..5a3fadeb 100644 --- a/spec/type/complex/function/index.html +++ b/spec/type/complex/function/index.html @@ -4,7 +4,7 @@ function | ethdebug format - + diff --git a/spec/type/complex/mapping/index.html b/spec/type/complex/mapping/index.html index f44971fd..711b42cc 100644 --- a/spec/type/complex/mapping/index.html +++ b/spec/type/complex/mapping/index.html @@ -4,7 +4,7 @@ mapping | ethdebug format - + diff --git a/spec/type/complex/struct/index.html b/spec/type/complex/struct/index.html index acf8d64c..a5b96efa 100644 --- a/spec/type/complex/struct/index.html +++ b/spec/type/complex/struct/index.html @@ -4,7 +4,7 @@ struct | ethdebug format - + diff --git a/spec/type/complex/tuple/index.html b/spec/type/complex/tuple/index.html index d96b9895..4f2db757 100644 --- a/spec/type/complex/tuple/index.html +++ b/spec/type/complex/tuple/index.html @@ -4,7 +4,7 @@ tuple | ethdebug format - + diff --git a/spec/type/concepts/index.html b/spec/type/concepts/index.html index c738b238..81755f82 100644 --- a/spec/type/concepts/index.html +++ b/spec/type/concepts/index.html @@ -4,7 +4,7 @@ Key concepts | ethdebug format - + diff --git a/spec/type/elementary/address/index.html b/spec/type/elementary/address/index.html index 117fb9db..cfec77c4 100644 --- a/spec/type/elementary/address/index.html +++ b/spec/type/elementary/address/index.html @@ -4,7 +4,7 @@ address | ethdebug format - + diff --git a/spec/type/elementary/bool/index.html b/spec/type/elementary/bool/index.html index 52e6ed2f..dcb96ed1 100644 --- a/spec/type/elementary/bool/index.html +++ b/spec/type/elementary/bool/index.html @@ -4,7 +4,7 @@ bool | ethdebug format - + diff --git a/spec/type/elementary/bytes/index.html b/spec/type/elementary/bytes/index.html index d6983888..4b1a33cd 100644 --- a/spec/type/elementary/bytes/index.html +++ b/spec/type/elementary/bytes/index.html @@ -4,7 +4,7 @@ bytes | ethdebug format - + diff --git a/spec/type/elementary/contract/index.html b/spec/type/elementary/contract/index.html index a2a0ad8d..ed0fbfaa 100644 --- a/spec/type/elementary/contract/index.html +++ b/spec/type/elementary/contract/index.html @@ -4,7 +4,7 @@ contract | ethdebug format - + diff --git a/spec/type/elementary/enum/index.html b/spec/type/elementary/enum/index.html index 7470620d..975a737b 100644 --- a/spec/type/elementary/enum/index.html +++ b/spec/type/elementary/enum/index.html @@ -4,7 +4,7 @@ enum | ethdebug format - + diff --git a/spec/type/elementary/fixed/index.html b/spec/type/elementary/fixed/index.html index 6642a34e..d068daa8 100644 --- a/spec/type/elementary/fixed/index.html +++ b/spec/type/elementary/fixed/index.html @@ -4,7 +4,7 @@ fixed | ethdebug format - + diff --git a/spec/type/elementary/int/index.html b/spec/type/elementary/int/index.html index 9606bd1a..e037a469 100644 --- a/spec/type/elementary/int/index.html +++ b/spec/type/elementary/int/index.html @@ -4,7 +4,7 @@ int | ethdebug format - + diff --git a/spec/type/elementary/string/index.html b/spec/type/elementary/string/index.html index 8dfe6198..1180865b 100644 --- a/spec/type/elementary/string/index.html +++ b/spec/type/elementary/string/index.html @@ -4,7 +4,7 @@ string | ethdebug format - + diff --git a/spec/type/elementary/ufixed/index.html b/spec/type/elementary/ufixed/index.html index ccd96b31..dbf3c3e3 100644 --- a/spec/type/elementary/ufixed/index.html +++ b/spec/type/elementary/ufixed/index.html @@ -4,7 +4,7 @@ ufixed | ethdebug format - + diff --git a/spec/type/elementary/uint/index.html b/spec/type/elementary/uint/index.html index 62c936c2..f222c81b 100644 --- a/spec/type/elementary/uint/index.html +++ b/spec/type/elementary/uint/index.html @@ -4,7 +4,7 @@ uint | ethdebug format - + diff --git a/spec/type/index.html b/spec/type/index.html index b16c4baf..491e843b 100644 --- a/spec/type/index.html +++ b/spec/type/index.html @@ -4,7 +4,7 @@ Schema | ethdebug format - + diff --git a/spec/type/overview/index.html b/spec/type/overview/index.html index af63a0ae..cfdee07d 100644 --- a/spec/type/overview/index.html +++ b/spec/type/overview/index.html @@ -4,7 +4,7 @@ Overview | ethdebug format - + diff --git a/status/index.html b/status/index.html index a6ab5c99..45a1d2b0 100644 --- a/status/index.html +++ b/status/index.html @@ -4,7 +4,7 @@ Draft status | ethdebug format - +