Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index 19279121..ecebdea5 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
["'])(?.*?)\1/,p=/\{(? [\d,-]+)\}/,h={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...h,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(h);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&&p.test(i)){const e=i.match(p).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 a=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"vbnet":case"vba":case"visual-basic":return y(["vb","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),s=n.split("\n"),l=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),u=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),c=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 void 0!==e));u[t]?l[u[t]].range+=`${f},`:c[t]?l[c[t]].start=f:d[t]&&(l[d[t]].range+=`${l[d[t]].start}-${f-1},`),s.splice(f,1)}n=s.join("\n");const h={};return Object.entries(l).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{h[e]??=[],h[e].push(t)}))})),{lineClassNames:h,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(2322);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}(l());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,u.k.common.codeBlock)})}const k={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function x(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(k.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:k.codeBlockLines,children:t})})}var E=n(6335);const O={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=O);const o=(0,E.zX)(t),i=(0,E.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 j=n(6935);const P={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function A(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const s=o({line:t,className:(0,i.Z)(n,r&&P.codeLine)}),l=t.map(((e,t)=>(0,_.jsx)("span",{...a({token:e,key:t})},t)));return(0,_.jsxs)("span",{...s,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:P.codeLineNumber}),(0,_.jsx)("span",{className:P.codeLineContent,children:l})]}):l,(0,_.jsx)("br",{})]})}var C=n(1077);function I(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 $(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 T={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function N(e){let{code:t,className:n}=e;const[o,a]=(0,r.useState)(!1),s=(0,r.useRef)(void 0),l=(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(),a=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let s=!1;try{s=document.execCommand("copy")}catch{}r.remove(),a&&(i.removeAllRanges(),i.addRange(a)),o&&o.focus()}(t),a(!0),s.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,C.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,C.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,C.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,T.copyButton,o&&T.copyButtonCopied),onClick:l,children:(0,_.jsxs)("span",{className:T.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(I,{className:T.copyButtonIcon}),(0,_.jsx)($,{className:T.copyButtonSuccessIcon})]})})}function M(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 L={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function D(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,C.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&&L.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(M,{className:L.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:a,showLineNumbers:u,language:c}=e;const{prism:{defaultLanguage:f,magicComments:p}}=(0,s.L)(),h=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=l(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),a=(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]),s=(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,s),(0,r.useEffect)((()=>{s()}),[e,s]),(0,r.useEffect)((()=>(window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s)})),[s]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:a}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||a,{lineClassNames:b,code:x}=v(t,{metastring:o,language:h,magicComments:p}),E=u??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`),children:[y&&(0,_.jsx)("div",{className:k.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:k.codeBlockContent,children:[(0,_.jsx)(j.y$,{theme:m,code:x,language:h??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:a}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,k.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(k.codeBlockLines,E&&k.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)(A,{line:e,getLineProps:o,getTokenProps:a,classNames:b[t],showLineNumbers:E},t)))})})}}),(0,_.jsxs)("div",{className:k.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(D,{className:k.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(N,{className:k.codeButton,code:x})]})]})]})}function F(e){let{children:t,...n}=e;const i=(0,o.Z)(),a=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof a?R:x;return(0,_.jsx)(s,{...n,children:a},String(i))}},8480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(2784),o=n(489),i=n(9741),a=n(8698);const s={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var l=n(2322);function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function c(e,t){return!!e&&(e===t||c(e.parentElement,t))}function f(e){let{summary:t,children:n,...f}=e;const d=(0,i.Z)(),p=(0,r.useRef)(null),{collapsed:h,setCollapsed:m}=(0,a.u)({initialState:!f.open}),[g,y]=(0,r.useState)(f.open),v=r.isValidElement(t)?t:(0,l.jsx)("summary",{children:t??"Details"});return(0,l.jsxs)("details",{...f,ref:p,open:g,"data-collapsed":h,className:(0,o.Z)(s.details,d&&s.isBrowser,f.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;u(t)&&c(t,p.current)&&(e.preventDefault(),h?(m(!1),y(!0)):m(!0))},children:[v,(0,l.jsx)(a.z,{lazy:!1,collapsed:h,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{m(e),y(!e)},children:(0,l.jsx)("div",{className:s.collapsibleContent,children:n})})]})}const d={details:"details_SZgV"},p="alert alert--info";function h(e){let{...t}=e;return(0,l.jsx)(f,{...t,className:(0,o.Z)(p,d.details,t.className)})}},2009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(2784);var r=n(489);const o={tabItem:"tabItem_OMyP"};var i=n(2322);function a(e){let{children:t,hidden:n,className:a}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,a),hidden:n,children:t})}},7336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r=n(2784),o=n(489),i=n(4126),a=n(7267),s=n(164),l=n(2424),u=n(2244),c=n(4155);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 child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every 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,u.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 . Every value needs to be unique.`)}(e),e}),[t,n])}function p(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function h(e){let{queryString:t=!1,groupId:n}=e;const o=(0,a.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 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,l._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),[a,l]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!p({value:t,tabValues:n}))throw new Error(`Docusaurus error: The 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}))),[u,f]=h({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,c.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=u??m;return p({value:e,tabValues:i})?e:null})();(0,s.Z)((()=>{y&&l(y)}),[y]);return{selectedValue:a,selectValue:(0,r.useCallback)((e=>{if(!p({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);l(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(9741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(2322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:a,tabValues:s}=e;const l=[],{blockElementScrollPositionUntilNextRender:u}=(0,i.o5)(),c=e=>{const t=e.currentTarget,n=l.indexOf(t),o=s[n].value;o!==r&&(u(t),a(o))},f=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=l.indexOf(e.currentTarget)+1;t=l[n]??l[0];break}case"ArrowLeft":{const n=l.indexOf(e.currentTarget)-1;t=l[n]??l[l.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:s.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=>l.push(e),onKeyDown:f,onClick:c,...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,{...e,...t}),(0,v.jsx)(_,{...e,...t})]})}function k(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},4963: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)),a=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.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")))}},8800: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)),a=n(9966),s=n(4598),l=n(7740),u=n(4884);t.default=function(e){let{schema:t}=e;const n=(0,s.useJSVOptionsContext)(),r="boolean"!=typeof t,c=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.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(l.QualifierMessages,{schema:t,options:n})),void 0!==c&&o.default.createElement(u.CreateDescription,{description:c}))}},8753: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},6187: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(4598);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)}},5093: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},8938: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,description:n}=e,r=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.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(l.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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:r})),void 0!==n&&o.default.createElement(l.CreateDescription,{description:n}))}},6559: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)(),c=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.StringLabel,{format:c}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},5566: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(4598),a=n(5685);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,a.printSchemaType)(t)}},5901: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(1074);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}}))}},1892: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(4043);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})}},9131: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(4043);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})}},4742: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let c=[{value:"schema_if",label:o.default.createElement(u.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(u.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(u.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(a.default,{defaultValue:"schema_if",values:c},c.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(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(s.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(s.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(s.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},1074: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(4742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(1892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var a=n(9131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(a).default}});var s=n(5901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(s).default}});var l=n(4845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(l).default}})},3303: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)),a=n(2204),s=n(4598);function l(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(s.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(a.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(l,{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)),a=n(2204),s=n(4598);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(s.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(a.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},5242: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(559)),a=r(n(3606)),s=r(n(7610)),l=r(n(3303)),u=r(n(6912)),c=n(7740),f=n(4598),d=n(9966),p=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,h=(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(s.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(c.QualifierMessages,{schema:t,options:h,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},559: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)),a=n(2204),s=n(4598);function l(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),u=Array.isArray(n)?n:[n],c=u.length;return o.default.createElement("ul",null,u.map(((e,n)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(a.CreateEdge,{name:o.default.createElement(l,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=c})))))}},7610: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)),a=n(2204),s=n(4598);function l(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,u=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,u.map(((e,n)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(a.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(l,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},6912: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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(a.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(l,null),schema:n,required:!1})))}},9820: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(5242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},4884: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(4043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(1074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var a=n(2313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return a.CreateObject}});var s=n(9820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return s.CreateArray}});var l=n(6559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(l).default}});var u=n(8753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(u).default}});var c=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(c).default}});var f=n(5093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(8938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var p=n(8800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(p).default}});var h=n(4963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(h).default}});var m=n(6187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(5566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},4446: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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(a.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(l,null),schema:n,required:!1})))}},8315: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(4446)),a=r(n(8439)),s=r(n(2190)),l=r(n(2457)),u=r(n(4595)),c=r(n(1431)),f=n(7740),d=n(4598),p=n(9966),h=n(4884);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(p.TypeLabel,null),"\xa0:\xa0",o.default.createElement(p.ObjectLabel,null),o.default.createElement(u.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(c.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(h.CreateDescription,{description:r}))}},2190: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),a=n(4598),s=n(7740);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(a.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,s.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},8439: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),a=n(4598),s=n(7740);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(a.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,s.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)}))})))}},2457: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),a=n(4598);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,s={...n};return delete s.pattern,o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:s,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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(a.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(l,null),schema:n,required:!1})))}},4595: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),a=n(4598),s=n(7740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),l=n.filter((e=>!r.includes(e)));return 0===l.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,l.map(((e,t)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,s.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},2313: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(8315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},5296: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},4517: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},4043: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(213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(4517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var a=n(9549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(a).default}});var s=n(3291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(s).default}});var l=n(7228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(l).default}})},3291: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),a=n(4598);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(a.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},9549: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},7228: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(4043);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}))}},3327: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(8480));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)}},279: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})}},2360: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),a=n(4884),s=n(2204),l=n(7740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.CreateValidOrInvalid,{schema:t});const n=(0,l.isSchemaComposition)(t),r=(0,l.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(a.SchemaComposition,{schema:t}),r&&o.default.createElement(a.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(2009)),a=r(n(7336)),s=n(2204),l=n(7740);function u(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(s.RenderProvidedType,{schema:t,type:n,nullable:r})}function c(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(a.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(s.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,l.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(u,{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(s.TypeLabelSwitch,{type:e})})));return o.default.createElement(c,{schema:t,types:e,nullable:r})}return(0,l.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(s.CreateValidOrInvalid,{schema:t})}},7189: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(4884);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))}},9798: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(4884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const a={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...a});case"object":return o.default.createElement(i.CreateObject,{schema:t,...a});case"string":return o.default.createElement(i.CreateString,{schema:t,...a});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...a});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...a});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...a});default:return o.default.createElement(i.CreateNull,{schema:t,...a})}}},5321: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),a=n(4598),s=n(9966),l=n(7740),u=r(n(6448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:c,level:f}=(0,a.useSchemaHierarchyContext)();let d=t,p="boolean"!=typeof d&&!0===d.deprecated,h="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=!p&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(l.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(s.RequiredLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(s.DeprecatedLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(s.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(s.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(s.ConstantLabel,null));return o.default.createElement("li",{className:u.default.schemaItem,id:c,"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}))))}},80: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(3327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(4130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var a=n(279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(a).default}});var s=n(7189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(s).default}});var l=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(l).default}});var u=n(80);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(u).default}});var c=n(9798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(c).default}});var f=n(5321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},4598: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(168),t),o(n(121),t)},168:(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},121: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 a=i(n(2784));t.SchemaHierarchyContext=(0,a.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,a.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 a.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},56: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 a=i(n(2784)),s=n(28),l=n(2204),u=n(4598),c=n(9966);function f(e){const{error:t}=e;return a.default.createElement("div",null,a.default.createElement(c.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 a.default.createElement(u.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},a.default.createElement(u.JSVOptionsContextProvider,{value:o},a.default.createElement(l.Collapsible,{summary:a.default.createElement("strong",null,r),detailsProps:{open:!0}},a.default.createElement(l.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,a.useState)(void 0),[l,u]=(0,a.useState)(void 0);return(0,a.useEffect)((()=>{(new s.Resolver).resolve(t,n).then((e=>{u(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?a.default.createElement(f,{error:o}):void 0===l?a.default.createElement(c.LoadingLabel,null):a.default.createElement(d,{schema:l,viewerOptions:r})}},4929: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)}},3492: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"))}},9277: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"))}},9164: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)),a=r(n(9754));t.default=function(){return o.default.createElement("strong",{className:a.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},5548: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)),a=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:a.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},6113: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"))}},3297: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}")}},4315: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"))}},1380: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"))}},5973: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 ...."))}},3204: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"))}},7487: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"))}},3594: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"))}},7532: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)}},3373: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)),a=r(n(5950));t.default=function(){return o.default.createElement("strong",{className:a.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},5405: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)),a=r(n(3654));t.default=function(){return o.default.createElement("strong",{className:a.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},4591: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})`))}},7502: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"))}},3978: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"))}},4731: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"))}},2093: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)),a=r(n(5128));t.default=function(){return o.default.createElement("strong",{className:a.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},5006: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(3594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(3492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var a=n(4731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(a).default}});var s=n(1380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(s).default}});var l=n(7502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(l).default}});var u=n(6113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(c).default}});var f=n(3297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(5405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var p=n(5548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(p).default}});var h=n(3373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(h).default}});var m=n(2093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(3978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(4315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(4591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(9277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(7487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(5973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var k=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(4929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(x).default}});var E=n(7532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(E).default}});var O=n(3204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(O).default}});var S=n(5006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var j=n(9164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(j).default}})},3325: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)),a=n(9966);function s(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 l(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 u=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"},u,"\xa0",void 0!==n.minContains&&o.default.createElement(s,{value:n.minContains}),r&&o.default.createElement(a.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(l,{value:n.maxContains}))}},877: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)),a=n(9966);function s(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 l(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(s,{value:t.minItems}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(l,{value:t.maxItems}))}},2065: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)}},9705: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)),a=n(4884);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(a.CreateValue,{value:t.const,schema:t}))}},7131: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)),a=n(5685);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,a.printSchemaType)(t.contentEncoding))}},6884: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)),a=n(5685);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,a.printSchemaType)(t.contentMediaType))}},5734: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)),a=n(2204),s=n(4598);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(a.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(a.CreateNodes,{schema:t.contentSchema}))))}},9617: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)),a=n(4884);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(a.CreateValue,{value:t.default,schema:t}))}},9272: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)}},8661: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)),a=n(4884);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(a.CreateValue,{value:e,schema:t}))))))}},1499: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)),a=r(n(2009)),s=r(n(7336)),l=n(4884);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(s.default,null,r.map((e=>o.default.createElement(a.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(l.CreateValue,{value:e.value,schema:t}))))))}},4785: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)}},1722: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)}},1165: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)),a=n(9966);function s(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 l(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,u=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==u,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(s,{exclusive:r,value:n})),f&&o.default.createElement(a.AndLabel,null),void 0!==u&&o.default.createElement("code",null,o.default.createElement(l,{exclusive:c,value:u})))}},2040: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}")))}},5769: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)),a=n(9966);function s(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 l(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(s,{value:t.minProperties}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(l,{value:t.maxProperties}))}},4490: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))}},6272: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},a=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 s=a(n(2784)),l=i(n(5685)),u=n(7639),c={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>s.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>s.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>s.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>s.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.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:()=>s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return s.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>s.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return s.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return s.default.createElement(l.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 s.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,u.hasUnresolvedRefs)(t)},Component:e=>s.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=c;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"]},8870: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)),a=n(9966);function s(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 l(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(s,{value:t.minLength}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(l,{value:t.maxLength}))}},951: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 a=[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",a))}},4832: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)}},5685: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(5750));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 a=n(8661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(a).default}});var s=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(s).default}});var l=n(5769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(l).default}});var u=n(1722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(c).default}});var f=n(3325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(4785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var p=n(1165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(p).default}});var h=n(4490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(h).default}});var m=n(2040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(2065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(9617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(9705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(1499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(9272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(8870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var k=n(4832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(x).default}});var E=n(6884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(E).default}});var O=n(7131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(O).default}});var S=n(5734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var j=n(951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(j).default}});var P=n(6272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return P.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return P.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)]}},1168:(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")}},578: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(7740),a=n(2204),s=n(9966);function l(e,t){return!(t<=1)&&e!==t-1}function u(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.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(c,{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}),l(r,n.length)&&o.default.createElement(s.OrLabel,null)))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.NotLabel,null)," ( ",o.default.createElement(u,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(s.OrLabel,null):t.oneOf?o.default.createElement(s.XorLabel,null):o.default.createElement(s.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(u,{schema:t}),l(r,n.length)&&e))))}return o.default.createElement(a.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(a.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(a.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(a.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(u,{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(u,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(u,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(u,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(u,{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,l(t,n.length)&&","))),")[]")}t.default=u},2223: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(5685);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))))}},7740: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 a=n(578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(a).default}});var s=n(2223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(s).default}}),o(n(7639),t),o(n(1168),t)},3700: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 a=i(n(1102)),s=n(7107);function l(e,t){if(!t)return e;let n=a.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 a.stringify(n)}function u(e){return 1===Object.keys(e).length&&"id"in e}function c(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 u(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,u=s.schemaYamls[r];if(!u)throw new Error(`Unknown schema with $id "${r}"`);const c=l(u,i),f=a.parse(c),d=a.parse(u);return{id:r,pointer:i,yaml:c,schema:f,rootSchema:d}}({schema:t,pointer:n}):c(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=l(t,n),o=a.parse(r),i=a.parse(t),s=o.$id;return s?{id:s,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=l(a.stringify(t),n),o=a.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=u,t.referencesYaml=c},9372: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(3700),t);var i=n(2109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},2109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(3700),o=n(7107);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)),{})},7107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"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":'$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:\n - group\n - required:\n - list\n - required:\n - if\n - if:\n required:\n - group\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required:\n - list\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required:\n - if\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\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\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 - type: integer\n description: A non-negative integer literal\n min: 0\n\n - type: string\n description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n pattern: "^0x[0-9a-fA-F]{1,}$"\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 (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 `{ ". ": " " }`, to\n denote that this expression is equivalent to the defined value for\n the property named ` ` inside the region referenced as\n ` `.\n\n ` ` **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": " " }`. 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": " " }` 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\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":'$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\noneOf:\n - $ref: "schema:ethdebug/format/pointer/region"\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 # 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: 0\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: "array-item"\n length: $wordsize\n\n - # example `struct Record { uint128 x; uint128 y }` in memory\n group:\n - name: "struct-start"\n location: stack\n slot: 0\n\n - name: "struct-member-0"\n location: memory\n # the first struct member begins at the offset indicated by the value\n # at "struct-start"\n offset:\n $read: "struct-start"\n length: $wordsize\n\n - name: "struct-member-1"\n location: memory\n # the second struct member immediately follows the first\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\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 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: 0\n offset:\n $difference:\n - $wordsize\n - 1\n length: 1\n\n # long strings may use full word to describe length as 2n+1\n - name: "long-length-data"\n location: storage\n slot:\n .slot: "length-flag"\n offset: 0\n length: $wordsize\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $read: "length-flag"\n - 2\n then:\n name: "string"\n location: storage\n slot:\n $keccak256:\n - .slot: "length-flag"\n offset: 0\n length:\n # length n is encoded as 2n+1\n $quotient:\n - $difference:\n - $read: "long-length-data"\n - 1\n - 2\n else:\n name: "string"\n location: storage\n slot:\n .slot: "length-flag"\n offset: 0\n length:\n # length n is encoded as 2n\n $quotient:\n - $read: "length-flag"\n - 2\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 source:\n type: object\n properties:\n id:\n type:\n - string\n - number\n range:\n type: object\n properties:\n offset:\n type: number\n length:\n type: number\n\nanyOf:\n - title: Required `name`\n required:\n - name\n - title: Required `source`\n required:\n - source\n\nexamples:\n - name: Ballot\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 type: number\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 minimum: 1\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: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\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: number\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: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\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: number\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: " "\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'}},9536:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Fr});var r={};n.r(r),n.d(r,{boolean:()=>E,booleanish:()=>O,commaOrSpaceSeparated:()=>C,commaSeparated:()=>A,number:()=>j,overloadedBoolean:()=>S,spaceSeparated:()=>P});var o={};n.r(o),n.d(o,{attentionMarkers:()=>un,contentInitial:()=>nn,disable:()=>cn,document:()=>tn,flow:()=>on,flowInitial:()=>rn,insideSpan:()=>ln,string:()=>an,text:()=>sn});n(2784);var i=n(56),a=n.n(i),s=n(5750),l=n(7336),u=n(2009),c=n(9372);const f={"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"].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/expression#/$defs/Literal":{title:"Literal values schema",href:"/spec/pointer/expression#literal-values"},"schema:ethdebug/format/pointer/expression#/$defs/Scalar":{title:"Scalar variable expression schema",href:"/spec/pointer/expression#scalar-variables"},"schema:ethdebug/format/pointer/expression#/$defs/Arithmetic":{title:"Arithmetic operation expression schema",href:"/spec/pointer/expression#arithmetic-operations"},"schema:ethdebug/format/pointer/expression#/$defs/Lookup":{title:"Lookup expression schema",href:"/spec/pointer/expression#lookup-region-definition"},"schema:ethdebug/format/pointer/expression#/$defs/Read":{title:"Read expression schema",href:"/spec/pointer/expression#reading-from-the-evm"},"schema:ethdebug/format/pointer/expression#/$defs/Keccak256":{title:"Keccak256 hash expression schema",href:"/spec/pointer/expression#keccak256-hashes"},"schema:ethdebug/format/pointer/expression#/$defs/Reference":{title:"Region reference",href:"/spec/pointer/expression#region-references"}};var d=n(5849);const p=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,m={};function g(e,t){return((t||m).jsx?h:p).test(e)}const y=/[ \t\n\f\r]/g;function v(e){return""===e.replace(y,"")}class b{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function _(e,t){const n={},r={};let o=-1;for(;++o "xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),R=L({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function F(e,t){return t in e?e[t]:t}function z(e,t){return F(e,t.toLowerCase())}const B=L({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:z,properties:{xmlns:null,xmlnsXLink:null}}),q=L({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:O,ariaAutoComplete:null,ariaBusy:O,ariaChecked:O,ariaColCount:j,ariaColIndex:j,ariaColSpan:j,ariaControls:P,ariaCurrent:null,ariaDescribedBy:P,ariaDetails:null,ariaDisabled:O,ariaDropEffect:P,ariaErrorMessage:null,ariaExpanded:O,ariaFlowTo:P,ariaGrabbed:O,ariaHasPopup:null,ariaHidden:O,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P,ariaLevel:j,ariaLive:null,ariaModal:O,ariaMultiLine:O,ariaMultiSelectable:O,ariaOrientation:null,ariaOwns:P,ariaPlaceholder:null,ariaPosInSet:j,ariaPressed:O,ariaReadOnly:O,ariaRelevant:null,ariaRequired:O,ariaRoleDescription:P,ariaRowCount:j,ariaRowIndex:j,ariaRowSpan:j,ariaSelected:O,ariaSetSize:j,ariaSort:null,ariaValueMax:j,ariaValueMin:j,ariaValueNow:j,ariaValueText:null,role:null}}),U=L({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:z,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:A,acceptCharset:P,accessKey:P,action:null,allow:null,allowFullScreen:E,allowPaymentRequest:E,allowUserMedia:E,alt:null,as:null,async:E,autoCapitalize:null,autoComplete:P,autoFocus:E,autoPlay:E,blocking:P,capture:E,charSet:null,checked:E,cite:null,className:P,cols:j,colSpan:null,content:null,contentEditable:O,controls:E,controlsList:P,coords:j|A,crossOrigin:null,data:null,dateTime:null,decoding:null,default:E,defer:E,dir:null,dirName:null,disabled:E,download:S,draggable:O,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:E,formTarget:null,headers:P,height:j,hidden:E,high:j,href:null,hrefLang:null,htmlFor:P,httpEquiv:P,id:null,imageSizes:null,imageSrcSet:null,inert:E,inputMode:null,integrity:null,is:null,isMap:E,itemId:null,itemProp:P,itemRef:P,itemScope:E,itemType:P,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:E,low:j,manifest:null,max:null,maxLength:j,media:null,method:null,min:null,minLength:j,multiple:E,muted:E,name:null,nonce:null,noModule:E,noValidate:E,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:E,optimum:j,pattern:null,ping:P,placeholder:null,playsInline:E,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:E,referrerPolicy:null,rel:P,required:E,reversed:E,rows:j,rowSpan:j,sandbox:P,scope:null,scoped:E,seamless:E,selected:E,shadowRootDelegatesFocus:E,shadowRootMode:null,shape:null,size:j,sizes:null,slot:null,span:j,spellCheck:O,src:null,srcDoc:null,srcLang:null,srcSet:null,start:j,step:null,style:null,tabIndex:j,target:null,title:null,translate:null,type:null,typeMustMatch:E,useMap:null,value:O,width:j,wrap:null,align:null,aLink:null,archive:P,axis:null,background:null,bgColor:null,border:j,borderColor:null,bottomMargin:j,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:E,declare:E,event:null,face:null,frame:null,frameBorder:null,hSpace:j,leftMargin:j,link:null,longDesc:null,lowSrc:null,marginHeight:j,marginWidth:j,noResize:E,noHref:E,noShade:E,noWrap:E,object:null,profile:null,prompt:null,rev:null,rightMargin:j,rules:null,scheme:null,scrolling:O,standby:null,summary:null,text:null,topMargin:j,valueType:null,version:null,vAlign:null,vLink:null,vSpace:j,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:E,disableRemotePlayback:E,prefix:null,property:null,results:j,security:null,unselectable:null}}),Q=L({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:F,properties:{about:C,accentHeight:j,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:j,amplitude:j,arabicForm:null,ascent:j,attributeName:null,attributeType:null,azimuth:j,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:j,by:null,calcMode:null,capHeight:j,className:P,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:j,diffuseConstant:j,direction:null,display:null,dur:null,divisor:j,dominantBaseline:null,download:E,dx:null,dy:null,edgeMode:null,editable:null,elevation:j,enableBackground:null,end:null,event:null,exponent:j,externalResourcesRequired:null,fill:null,fillOpacity:j,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:A,g2:A,glyphName:A,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:j,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:j,horizOriginX:j,horizOriginY:j,id:null,ideographic:j,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:j,k:j,k1:j,k2:j,k3:j,k4:j,kernelMatrix:C,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:j,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:j,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:j,overlineThickness:j,paintOrder:null,panose1:null,path:null,pathLength:j,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:j,pointsAtY:j,pointsAtZ:j,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:C,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:C,rev:C,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:C,requiredFeatures:C,requiredFonts:C,requiredFormats:C,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:j,specularExponent:j,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:j,strikethroughThickness:j,string:null,stroke:null,strokeDashArray:C,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:j,strokeOpacity:j,strokeWidth:null,style:null,surfaceScale:j,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:C,tabIndex:j,tableValues:null,target:null,targetX:j,targetY:j,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:C,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:j,underlineThickness:j,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:j,values:null,vAlphabetic:j,vMathematical:j,vectorEffect:null,vHanging:j,vIdeographic:j,version:null,vertAdvY:j,vertOriginX:j,vertOriginY:j,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:j,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),V=_([R,D,B,q,U],"html"),H=_([R,D,B,q,Q],"svg"),K=/^data[-\w.:]+$/i,J=/-[a-z]/g,W=/[A-Z]/g;function G(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const Z={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 X=n(3338);const ee=X.default||X,te=re("end"),ne=re("start");function re(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 oe(e){return e&&"object"==typeof e?"position"in e||"type"in e?ae(e.position):"start"in e||"end"in e?ae(e):"line"in e||"column"in e?ie(e):"":""}function ie(e){return se(e&&e.line)+":"+se(e&&e.column)}function ae(e){return ie(e&&e.start)+"-"+ie(e&&e.end)}function se(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 a=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=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=oe(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 ue={}.hasOwnProperty,ce=new Map,fe=/[A-Z]/g,de=/-([a-z])/g,pe=new Set(["table","tbody","thead","tfoot","tr"]),he=new Set(["td","th"]),me="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ge(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 a=Array.isArray(o.children),s=ne(n);return t(r,o,i,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.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 a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(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?H:V,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=ye(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function ye(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=H,e.schema=o);e.ancestors.push(t);const i=ke(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&ue.call(t.properties,o)){const i=we(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&he.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let s=_e(e,t);pe.has(t.tagName)&&(s=s.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&v(t.value):v(t));var t})));return ve(e,a,i,t),be(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,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)}xe(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=H,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:ke(e,t.name,!0),a=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 xe(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 xe(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),s=_e(e,t);return ve(e,a,i,t),be(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,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);xe(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return be(r,_e(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 ve(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function be(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _e(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:ce;for(;++r 4&&"data"===n.slice(0,4)&&K.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(J,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!J.test(e)){let n=e.replace(W,G);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=T}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{ee(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=me+"#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(de,Oe)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)ue.call(e,n)&&(t[Ee(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Z[r.property]||r.property:r.attribute,n]}}function ke(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o 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);a 0?($e(e,e.length,0,t),e):t}function Ne(e){const t={};let n,r,o,i,a,s,l,u=-1;for(;++u -1&&e.test(String.fromCharCode(t))}}function Ze(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(We(r))return e.enter(n),a(r);return t(r)};function a(r){return We(r)&&i++ i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(y(a),e=n;e 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}}},tt={tokenize:function(e,t,n){return Ze(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const nt={tokenize:function(e,t,n){return function(t){return We(t)?Ze(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Ke(e)?t(e):n(e)}},partial:!0};const rt={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):Ke(t)?e.check(ot,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 Ne(e),e}},ot={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ze(e,o,"linePrefix")};function o(o){if(null===o||Ke(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 it={tokenize:function(e){const t=this,n=e.attempt(nt,(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,Ze(e,e.attempt(this.parser.constructs.flow,r,e.attempt(rt,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 at={resolveAll:ct()},st=ut("string"),lt=ut("text");function ut(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o -1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){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 =3&&(null===i||Ke(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),We(t)?Ze(e,i,"whitespace")(t):i(t))}}};const mt={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,a=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:Qe(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(ht,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Qe(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(nt,r.interrupt?n:u,e.attempt(gt,f,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function c(t){return We(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(nt,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ze(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!We(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yt,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ze(e,e.attempt(mt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},gt={tokenize:function(e,t,n){const r=this;return Ze(e,(function(e){const o=r.events[r.events.length-1];return!We(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},yt={tokenize:function(e,t,n){const r=this;return Ze(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 vt={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 We(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(We(t))return Ze(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(vt,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function bt(e,t,n,r,o,i,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=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||Ue(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(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(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),f(t)):null===t||60===t||Ke(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(o){return c||null!==o&&41!==o&&!Je(o)?c999||null===f||91===f||93===f&&!s||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Ke(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||Ke(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s||(s=!We(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function wt(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):Ke(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ze(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Ke(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function kt(e,t){let n;return function r(o){if(Ke(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(We(o))return Ze(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function xt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Et={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return _t.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=xt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Je(t)?kt(e,s)(t):s(t)}function s(t){return bt(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Ot,u,u)(t)}function u(t){return We(t)?Ze(e,c,"whitespace")(t):c(t)}function c(i){return null===i||Ke(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ot={tokenize:function(e,t,n){return function(t){return Je(t)?kt(e,r)(t):n(t)};function r(t){return wt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return We(t)?Ze(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Ke(e)?t(e):n(e)}},partial:!0};const St={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Ze(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?s(t):Ke(t)?e.attempt(jt,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Ke(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},jt={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Ke(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Ze(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):Ke(e)?o(e):n(e)}},partial:!0};const Pt={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||Je(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Ke(n)?(e.exit("atxHeading"),t(n)):We(n)?Ze(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||Je(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},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"},$e(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const At={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))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"),We(t)?Ze(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Ke(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 a={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",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Ct=["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"],It=["pre","script","style","textarea"],$t={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,p):63===s?(e.consume(s),o=3,r.interrupt?t:N):ze(s)?(e.consume(s),a=String.fromCharCode(s),h):n(s)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,s=0,d):ze(i)?(e.consume(i),o=4,r.interrupt?t:N):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:N):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:S:d):n(o)}function p(t){return ze(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||Je(s)){const l=47===s,u=a.toLowerCase();return l||i||!It.includes(u)?Ct.includes(a.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):S(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):y(s)):(o=1,r.interrupt?t(s):S(s))}return 45===s||Be(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return We(t)?(e.consume(t),g):E(t)}function y(t){return 47===t?(e.consume(t),E):58===t||95===t||ze(t)?(e.consume(t),v):We(t)?(e.consume(t),y):E(t)}function v(t){return 45===t||46===t||58===t||95===t||Be(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):We(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),l=t,w):We(t)?(e.consume(t),_):k(t)}function w(t){return t===l?(e.consume(t),l=null,x):null===t||Ke(t)?n(t):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Je(t)?b(t):(e.consume(t),k)}function x(e){return 47===e||62===e||We(e)?y(e):n(e)}function E(t){return 62===t?(e.consume(t),O):n(t)}function O(t){return null===t||Ke(t)?S(t):We(t)?(e.consume(t),O):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),C):60===t&&1===o?(e.consume(t),I):62===t&&4===o?(e.consume(t),M):63===t&&3===o?(e.consume(t),N):93===t&&5===o?(e.consume(t),T):!Ke(t)||6!==o&&7!==o?null===t||Ke(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Tt,L,j)(t))}function j(t){return e.check(Nt,P,L)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||Ke(t)?j(t):(e.enter("htmlFlowData"),S(t))}function C(t){return 45===t?(e.consume(t),N):S(t)}function I(t){return 47===t?(e.consume(t),a="",$):S(t)}function $(t){if(62===t){const n=a.toLowerCase();return It.includes(n)?(e.consume(t),M):S(t)}return ze(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),$):S(t)}function T(t){return 93===t?(e.consume(t),N):S(t)}function N(t){return 62===t?(e.consume(t),M):45===t&&2===o?(e.consume(t),N):S(t)}function M(t){return null===t||Ke(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),M)}function L(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},Tt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(nt,t,n)}},partial:!0},Nt={tokenize:function(e,t,n){const r=this;return function(t){if(Ke(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},Lt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),We(t)?Ze(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),We(t)?Ze(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Ke(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),We(t)?Ze(e,u,"whitespace")(t):u(t))}function u(n){return null===n||Ke(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Ke(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):We(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ze(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function f(t){return null===t||Ke(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Ke(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),d)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&We(t)?Ze(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Ke(t)?e.check(Mt,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Ke(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Dt=document.createElement("i");function Rt(e){const t="&"+e+";";Dt.innerHTML=t;const n=Dt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Ft={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Be,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Ve,u):(e.enter("characterReferenceValue"),o=7,i=Qe,u(t))}function u(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==Be||Rt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++ 1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);Wt(f,-s),Wt(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Te(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Te(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=Te(l,dt(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=Te(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=Te(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,$e(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c 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 hn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return pn(n.slice(t?2:1),t?16:10)}return Rt(n)||e}const gn={}.hasOwnProperty;function yn(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:O,autolinkEmail:O,atxHeading:i(G),blockQuote:i(V),characterEscape:O,characterReference:O,codeFenced:i(H),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(H,a),codeText:i(K,a),codeTextData:O,data:O,codeFlowValue:O,definition:i(J),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(W),hardBreakEscape:i(Y),hardBreakTrailing:i(Y),htmlFlow:i(Z,a),htmlFlowData:O,htmlText:i(Z,a),htmlTextData:O,image:i(X),label:a,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:F,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(G),strong:i(ie),thematicBreak:i(se)},exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:Q,autolinkProtocol:U,blockQuote:l(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:B,characterReferenceMarkerNumeric:B,characterReferenceValue:q,codeFenced:l(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:S,codeIndented:l(y),codeText:l(I),codeTextData:S,data:S,definition:l(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:l(),hardBreakEscape:l(P),hardBreakTrailing:l(P),htmlFlow:l(A),htmlFlowData:S,htmlText:l(C),htmlTextData:S,image:l(T),label:M,labelText:N,lineEnding:j,link:l($),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:z,resourceDestinationString:L,resourceTitleString:D,resource:R,setextHeading:l(E),setextHeadingLineSequence:x,setextHeadingText:k,strong:l(),thematicBreak:l()}};bn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:s,exit:u,buffer:a,resume:c,data:n},l=[];let f=-1;for(;++f 0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||wn).call(i,void 0,e[0])}for(r.position={start:vn(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:vn(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f ((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new xn[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new xn[i](a),o)};return r})(new Map,e)(0),On="",{toString:Sn}={},{keys:jn}=Object,Pn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Sn.call(e).slice(8,-1);switch(n){case"Array":return[1,On];case"Object":return[2,On];case"Date":return[3,On];case"RegExp":return[4,On];case"Map":return[5,On];case"Set":return[6,On]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},An=([e,t])=>0===e&&("function"===t||"symbol"===t),Cn=(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[a,s]=Pn(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of jn(r))!e&&An(Pn(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!An(Pn(o))&&!An(Pn(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&An(Pn(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},In="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?En(Cn(e,t)):structuredClone(e):(e,t)=>En(Cn(e,t));function $n(e){const t=[];let n=-1,r=0,o=0;for(;++n 55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="\ufffd"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Tn(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 Nn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Dn;if("function"==typeof e)return Ln(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n ":"")+")"})}return c;function c(){let u,c,f,d=Fn;if((!t||i(o,s,l[l.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[zn,e];return null==e?Fn:[e]}(n(o,l)),d[0]===Bn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==qn)for(c=(r?t.children.length:-1)+a,f=l.concat(t);c>-1&&c 1:t}const Kn=9,Jn=32;function Wn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Gn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Gn(t.slice(o),o>0,!1)),i.join("")}function Gn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Kn||t===Jn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Kn||t===Jn;)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=$n(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},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 Vn(e,t);const o={src:$n(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:$n(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 Vn(e,t);const o={href:$n(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:$n(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 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 s=-1;for(;++s 0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=ne(t.children[1]),a=te(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),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,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s0&&n.push({type:"text",value:"\n"}),n}function ir(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ar(e,t){const n=function(e,t){const n=t||er,r=new Map,o=new Map,i=new Map,a={...Yn,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r 0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else i.push(...f);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...In(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!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 sr(e,t){return e&&"run"in e?async function(n,r){const o=ar(n,t);await e.run(o,r)}:function(n){return ar(n,t||e)}}function lr(e){if(e)throw e}var ur=n(9385);function cr(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 fr(){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,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l t.length;let s;r&&t.push(o);try{s=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(s instanceof Promise?s.then(a,o):s instanceof Error?o(s):a(s))}function o(e,...r){n||(n=!0,t(e,...r))}function a(e){o(null,e)}}(s,o)(...a):r(null,...a)}}(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 dr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');pr(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 a=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(pr(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){pr(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n 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("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-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 pr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const hr={cwd:function(){return"/"}};function mr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function gr(e){if("string"==typeof e)e=new URL(e);else if(!mr(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 0){let[r,...i]=t;const a=n[o][1];cr(a)&&cr(r)&&(r=ur(!0,a,r)),n[o]=[e,r,...i]}}}}const Or=(new Er).freeze();function Sr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function jr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Pr(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 Ar(e){if(!cr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Cr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ir(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new vr(e)}const $r=[],Tr={allowDangerousHtml:!0},Nr=/^(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 Lr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,a=e.disallowedElements,s=e.rehypePlugins||$r,l=e.remarkPlugins||$r,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Tr}:Tr,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Dr,p=Or().use(kn).use(l).use(sr,u).use(s),h=new vr;"string"==typeof r&&(h.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=p.parse(h);let g=p.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Qn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return c?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in je)if(Object.hasOwn(je,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=je[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):!!a&&a.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}})),ge(g,{Fragment:Pe.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Pe.jsx,jsxs:Pe.jsxs,passKeys:!0,passNode:!0})}function Dr(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||Nr.test(e.slice(0,t))?e:""}function Rr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,c.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,a=i&&n?`${i}${n}`:i||void 0;return(0,Pe.jsxs)(l.default,{groupId:"schema-language",children:[(0,Pe.jsx)(u.default,{value:"yaml",label:"YAML",children:(0,Pe.jsx)(s.default,{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:a||"schema.yaml",children:o})}),(0,Pe.jsx)(u.default,{value:"json",label:"JSON",children:(0,Pe.jsx)(s.default,{className:"schema-listing",language:"json",showLineNumbers:!0,title:a?`${a}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function Fr(e){const t=(0,c.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,p=zr(r,n||"");return(0,Pe.jsxs)(l.default,{children:[(0,Pe.jsx)(u.default,{value:"viewer",label:"Explore",children:(0,Pe.jsx)(d.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:f},children:(0,Pe.jsx)(a(),{schema:p,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,c.describeSchema)({schema:{id:t}});return zr(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Pe.jsx)("code",{children:t.toString()}):(0,Pe.jsx)(s.default,{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Pe.jsx)(Lr,{children:t})}}})})}),(0,Pe.jsx)(u.default,{value:"listing",label:"View source",children:(0,Pe.jsx)(Rr,{schema:e.schema,pointer:e.pointer})})]})}function zr(e,t){return Br(qr(e),`${t}#`)}function Br(e,t){return Array.isArray(e)?e.map(((e,n)=>Br(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=Br(o,`${t}/${r}`),e}),{[d.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function qr(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(qr);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]=qr(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}},5849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>a,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),a=Symbol("__$internalId")},4845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(1074),o=n(2322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,a=void 0!==t.dependentSchemas,s=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}),a&&(0,o.jsx)(r.DependentSchemas,{schema:t}),s&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(5296),o=n.n(r),i=n(7336),a=n(2009),s=n(4598),l=n(2204),u=n(2322);function c(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,s.useSchemaHierarchyContext)();return(0,u.jsxs)("div",{children:[(0,u.jsx)("hr",{}),(0,u.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,u.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,u.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,u.jsx)(a.default,{label:t,value:t,children:(0,u.jsx)(s.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,u.jsx)(l.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,s.useSchemaHierarchyContext)();return(0,u.jsxs)("div",{children:[(0,u.jsx)("hr",{}),(0,u.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,u.jsx)("ul",{children:t.map(((e,t)=>(0,u.jsx)("li",{children:(0,u.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,u.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,u.jsx)(a.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,u.jsx)(s.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,u.jsx)(l.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,u.jsx)(c,{...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,u.jsx)(f,{...r}):(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(o(),{...e})})}},4130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});n(2784);var r=n(2360),o=n.n(r),i=n(4598),a=n(5849),s=n(7718),l=n(2204),u=n(7740),c=n(4884),f=n(2322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),s=r,d=t,{documentation:h,semantics:m}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[a.D9]:i,...s}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:s}}(d);if(0===Object.keys(m).length){const{description:e}=h;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(u.QualifierMessages,{schema:h,options:o}),e&&(0,f.jsx)(c.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(p,{schema:r})})]})}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)(p,{schema:d})}),(0,f.jsx)(l.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(u.GenerateFriendlyName,{schema:s})}),"\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)(p,{schema:r})})})]})}function p(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,a.J5)(),{schema:r,...l}=e,{[a.D9]:u}=r;if(u&&u in n&&t>0){const{href:e,title:t=`${u.startsWith("schema:")?u.slice(7):u} schema`}=n[u];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(s.Z,{to:e,children:t})," documentation."]})})}const c=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 c?(0,f.jsx)(d,{...c}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...l})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(a){if(!i[a]){var s={},l=[],u=[];for(u.push({node:a,processed:!1});u.length>0;){var c=u[u.length-1],f=c.processed,d=c.node;if(f)u.pop(),l.pop(),s[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){u.pop();continue}if(s[d]){if(r){u.pop();continue}throw l.push(d),new o(l)}s[d]=!0,l.push(d);for(var p=e[d],h=p.length-1;h>=0;h--)u.push({node:p[h],processed:!1});c.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 a=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){a(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){a(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)},9385: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)},a=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)},s=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},l=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,u,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d {function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}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 a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,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)}}},340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r
3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function s(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===a(e)?e.get(t):e[t]}function u(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return U&&e instanceof Map}function d(e){return Q&&e instanceof Set}function p(e){return e.i||e.u}function h(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[J];for(var n=Y(t),r=0;r 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=X[e];return t||n(18,e),t}function b(e,t){X[e]||(X[e]=t)}function _(){return B}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function k(e){x(e),e.p.forEach(O),e.p=null}function x(e){e===B&&(B=e.l)}function E(e){return B={p:[],l:B,h:e,_:!0,m:0}}function O(e){var t=e[J];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[J].g&&(k(t),n(4)),o(e)&&(e=j(t,e),t.l||A(t,e)),t.o&&v("Patches").M(r[J].u,e,t.o,t.v)):e=j(t,r,[]),k(t),t.o&&t.s(t.o,t.v),e!==H?e:void 0}function j(e,t,n){if(y(t))return t;var r=t[J];if(!r)return i(t,(function(o,i){return P(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return A(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=h(r.k):r.i,a=o,s=!1;3===r.t&&(a=new Set(o),o.clear(),s=!0),i(a,(function(t,i){return P(e,r,o,t,i,n,s)})),A(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function P(e,t,n,i,a,l,c){if(r(a)){var f=j(e,a,l&&t&&3!==t.t&&!s(t.N,i)?l.concat(i):void 0);if(u(n,i,f),!r(f))return;e._=!1}else c&&n.add(a);if(o(a)&&!y(a)){if(!e.h.D&&e.m<1)return;j(e,a),t&&t.A.l||A(e,a)}}function A(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function C(e,t){var n=e[J];return(n?p(n):e)[t]}function I(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 $(e){e.g||(e.g=!0,e.l&&$(e.l))}function T(e){e.i||(e.i=h(e.u))}function N(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 a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function M(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[J],s=a(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=L(t,s),r.R=!1}else n=L(t,s);return i(n,(function(t,o){r&&l(r.u,t)===o||u(n,t,e(o))})),3===s?new Set(n):n}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}function D(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[J],e)},set:function(t){ee.set(this[J],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][J];if(!r.g)switch(r.t){case 5:o(r)&&$(r);break;case 4:n(r)&&$(r)}}}function n(e){for(var t=e.u,n=e.k,r=Y(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==J){var a=t[i];if(void 0===a&&!s(t,i))return!0;var l=n[i],u=l&&l[J];if(u?u.u!==a:!c(l,a))return!0}}var f=!!t[J];return r.length!==Y(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 1?n-1:0),i=1;i 1?r-1:0),i=1;i =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),ae=re.setAutoFreeze.bind(re),se=re.setUseProxies.bind(re),le=re.applyPatches.bind(re),ue=re.createDraft.bind(re),ce=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=le,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ue,t.current=M,t.default=oe,t.enableAllPlugins=function(){D(),F(),R()},t.enableES5=D,t.enableMapSet=F,t.enablePatches=R,t.finishDraft=ce,t.freeze=m,t.immerable=K,t.isDraft=r,t.isDraftable=o,t.nothing=H,t.original=function(e){return r(e)||n(23,e),e[J].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=ae,t.setUseProxies=se},412:(e,t,n)=>{"use strict";e.exports=n(340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){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=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(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=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function k(){var e=h(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return v(s),l}}return b(),function(){var e,t=[];for(_(t);e=k();)!1!==e&&(t.push(e),_(t));return t}()}},9612:(e,t,n)=>{var r=n(2118),o=n(6909),i=n(8138),a=n(4174),s=n(7942);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(3945),o=n(1846),i=n(8028),a=n(2344),s=n(4769);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),o=n(6417),i=n(6928),a=n(9493),s=n(4150);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(7772).Symbol;e.exports=r},343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n {var r=n(3940),o=n(1225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},3940:(e,t,n)=>{var r=n(3043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},3324:(e,t,n)=>{var r=n(7297),o=n(3812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n{var r=n(857),o=n(2107),i=n(7157),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(1049),o=n(7394),i=n(9259),a=n(7035),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,f=u.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},2857:(e,t,n)=>{var r=n(91),o=n(7297),i=n(9045),a=n(9259),s=n(3812);e.exports=function(e,t,n,l){if(!a(e))return e;for(var u=-1,c=(t=o(t,e)).length,f=c-1,d=e;null!=d&&++u {var r=n(857),o=n(343),i=n(6152),a=n(4795),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7297:(e,t,n)=>{var r=n(6152),o=n(1401),i=n(4452),a=n(6188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},3043:(e,t,n)=>{var r=n(8761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),o=n(8109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),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(9191),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(9191);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}},9045: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 {var r=n(6152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\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))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,o=n(4019),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}},1846:(e,t,n)=>{var r=n(2218),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)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);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}},2411:(e,t,n)=>{var r=n(9612),o=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);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}},7777:(e,t,n)=>{var r=n(733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7772:(e,t,n)=>{var r=n(1242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},4452:(e,t,n)=>{var r=n(7777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=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=a},3812:(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}},7035: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""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},2579:(e,t,n)=>{var r=n(3324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},6152:e=>{var t=Array.isArray;e.exports=t},1049:(e,t,n)=>{var r=n(3366),o=n(9259);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}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(3366),o=n(5125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},6635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",k="[object Error]",x="[object Function]",E="[object GeneratorFunction]",O="[object Map]",S="[object Number]",j="[object Object]",P="[object Promise]",A="[object RegExp]",C="[object Set]",I="[object String]",$="[object Symbol]",T="[object WeakMap]",N="[object ArrayBuffer]",M="[object DataView]",L="[object Float32Array]",D="[object Float64Array]",R="[object Int8Array]",F="[object Int16Array]",z="[object Int32Array]",B="[object Uint8Array]",q="[object Uint8ClampedArray]",U="[object Uint16Array]",Q="[object Uint32Array]",V=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,G=RegExp(J.source),Y=RegExp(W.source),Z=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/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,ke=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Oe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",je="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ce="\\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",Ie="['\u2019]",$e="["+Ee+"]",Te="["+Ce+"]",Ne="["+Oe+"]",Me="\\d+",Le="["+Se+"]",De="["+je+"]",Re="[^"+Ee+Ce+Me+Se+je+Pe+"]",Fe="\\ud83c[\\udffb-\\udfff]",ze="[^"+Ee+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Pe+"]",Qe="\\u200d",Ve="(?:"+De+"|"+Re+")",He="(?:"+Ue+"|"+Re+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Fe+")"+"?",Ge="["+Ae+"]?",Ye=Ge+We+("(?:"+Qe+"(?:"+[ze,Be,qe].join("|")+")"+Ge+We+")*"),Ze="(?:"+[Le,Be,qe].join("|")+")"+Ye,Xe="(?:"+[ze+Ne+"?",Ne,Be,qe,$e].join("|")+")",et=RegExp(Ie,"g"),tt=RegExp(Ne,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+Xe+Ye,"g"),rt=RegExp([Ue+"?"+De+"+"+Ke+"(?="+[Te,Ue,"$"].join("|")+")",He+"+"+Je+"(?="+[Te,Ue+Ve,"$"].join("|")+")",Ue+"?"+Ve+"+"+Ke,Ue+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ze].join("|"),"g"),ot=RegExp("["+Qe+Ee+Oe+Ae+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["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"],st=-1,lt={};lt[L]=lt[D]=lt[R]=lt[F]=lt[z]=lt[B]=lt[q]=lt[U]=lt[Q]=!0,lt[v]=lt[b]=lt[N]=lt[_]=lt[M]=lt[w]=lt[k]=lt[x]=lt[O]=lt[S]=lt[j]=lt[A]=lt[C]=lt[I]=lt[T]=!1;var ut={};ut[v]=ut[b]=ut[N]=ut[M]=ut[_]=ut[w]=ut[L]=ut[D]=ut[R]=ut[F]=ut[z]=ut[O]=ut[S]=ut[j]=ut[A]=ut[C]=ut[I]=ut[$]=ut[B]=ut[q]=ut[U]=ut[Q]=!0,ut[k]=ut[x]=ut[T]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&pt.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,kt=_t&&_t.isDate,xt=_t&&_t.isMap,Et=_t&&_t.isRegExp,Ot=_t&&_t.isSet,St=_t&&_t.isTypedArray;function jt(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 Pt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r -1;);return n}function rn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var on=Jt({"\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"}),an=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ct[e]}function ln(e){return ot.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n ",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,at))).Array,se=t.Date,Ee=t.Error,Oe=t.Function,Se=t.Math,je=t.Object,Pe=t.RegExp,Ae=t.String,Ce=t.TypeError,Ie=r.prototype,$e=Oe.prototype,Te=je.prototype,Ne=t["__core-js_shared__"],Me=$e.toString,Le=Te.hasOwnProperty,De=0,Re=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Te.toString,ze=Me.call(je),Be=mt._,qe=Pe("^"+Me.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:o,Qe=t.Symbol,Ve=t.Uint8Array,He=Ue?Ue.allocUnsafe:o,Ke=cn(je.getPrototypeOf,je),Je=je.create,We=Te.propertyIsEnumerable,Ge=Ie.splice,Ye=Qe?Qe.isConcatSpreadable:o,Ze=Qe?Qe.iterator:o,Xe=Qe?Qe.toStringTag:o,nt=function(){try{var e=pi(je,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Se.ceil,gt=Se.floor,yt=je.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:o,_t=t.isFinite,zt=Ie.join,Jt=cn(je.keys,je),bn=Se.max,_n=Se.min,wn=se.now,kn=t.parseInt,xn=Se.random,En=Ie.reverse,On=pi(t,"DataView"),Sn=pi(t,"Map"),jn=pi(t,"Promise"),Pn=pi(t,"Set"),An=pi(t,"WeakMap"),Cn=pi(je,"create"),In=An&&new An,$n={},Tn=Fi(On),Nn=Fi(Sn),Mn=Fi(jn),Ln=Fi(Pn),Dn=Fi(An),Rn=Qe?Qe.prototype:o,Fn=Rn?Rn.valueOf:o,zn=Rn?Rn.toString:o;function Bn(e){if(ns(e)&&!Va(e)&&!(e instanceof Vn)){if(e instanceof Qn)return e;if(Le.call(e,"__wrapped__"))return zi(e)}return new Qn(e)}var qn=function(){function e(){}return function(t){if(!ts(t))return{};if(Je)return Je(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Un(){}function Qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t =t?e:t)),e}function ur(e,t,n,r,i,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ts(e))return e;var f=Va(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Io(e,s)}else{var d=gi(e),p=d==x||d==E;if(Wa(e))return Oo(e,l);if(d==j||d==v||p&&!i){if(s=u||p?{}:vi(e),!l)return u?function(e,t){return $o(e,mi(e),t)}(e,function(e,t){return e&&$o(t,Ts(t),e)}(s,e)):function(e,t){return $o(e,hi(e),t)}(e,ir(s,e))}else{if(!ut[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case N:return So(e);case _:case w:return new r(+e);case M:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case D:case R:case F:case z:case B:case q:case U:case Q:return jo(e,n);case O:return new r;case S:case I:return new r(e);case A:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case C:return new r;case $:return o=e,Fn?je(Fn.call(o)):{}}var o}(e,d,l)}}a||(a=new Gn);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(r){s.add(ur(r,t,n,r,e,a))})):rs(e)&&e.forEach((function(r,o){s.set(o,ur(r,t,n,o,e,a))}));var m=f?o:(c?u?ai:ii:u?Ts:$s)(e);return At(m||e,(function(r,o){m&&(r=e[o=r]),nr(s,o,ur(r,t,n,o,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=je(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ce(i);return $i((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Mt(t,Xt(n))),r?(i=Nt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Wn(t));e:for(;++o -1},Kn.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},Jn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(Sn||Kn),string:new Hn}},Jn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Jn.prototype.get=function(e){return fi(this,e).get(e)},Jn.prototype.has=function(e){return fi(this,e).has(e)},Jn.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},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,a),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(e,t),this.size=n.size,this};var pr=Mo(wr),hr=Mo(kr,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?vr(s,t-1,n,r,o):Lt(o,s):r||(o[o.length]=s)}return o}var br=Lo(),_r=Lo(!0);function wr(e,t){return e&&br(e,t,$s)}function kr(e,t){return e&&_r(e,t,$s)}function xr(e,t){return $t(t,(function(t){return Za(e[t])}))}function Er(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&nt}function Pr(e,t){return null!=e&&Le.call(e,t)}function Ar(e,t){return null!=e&&t in je(e)}function Cr(e,t,n){for(var i=n?Nt:Tt,a=e[0].length,s=e.length,l=s,u=r(s),c=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Xt(t))),c=_n(d.length,c),u[l]=!n&&(t||a>=120&&d.length>=120)?new Wn(l&&d):o}d=e[0];var p=-1,h=u[0];e:for(;++p=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,o=t.length,i={};++r -1;)s!==e&&Ge.call(s,l,1),Ge.call(e,l,1);return e}function Jr(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)?Ge.call(e,o,1):po(e,o)}}return e}function Wr(e,t){return e+gt(xn()*(t-e+1))}function Gr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Ti(Pi(e,t,ol),e+"")}function Zr(e){return Zn(Bs(e))}function Xr(e,t){var n=Bs(e);return Li(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!us(a)&&(n?a<=t:a =200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=tn,l=new Wn}else l=t?[]:s;e:for(;++r=r?e:oo(e,t,n)}var Eo=ot||function(e){return mt.clearTimeout(e)};function Oo(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function jo(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=us(e),s=t!==o,l=null===t,u=t==t,c=us(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e 1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=je(t);++r-1?i[a?t[s]:s]:o}}function Bo(e){return oi((function(t){var n=t.length,r=n,a=Qn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ce(i);if(a&&!l&&"wrapper"==li(s))var l=new Qn([],!0)}for(r=l?r:n;++r 1&&_.reverse(),p&&cl))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&n?new Wn:o;for(a.set(e,t),a.set(t,e);++d -1&&e%1==0&&e 1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(y,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function Mi(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 Li(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n 1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,aa(e,n)}));function pa(e){var t=Bn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Qn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=To((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(Qi),va=zo(Vi);function ba(e,t){return(Va(e)?At:pr)(e,ci(t,3))}function _a(e,t){return(Va(e)?Ct:hr)(e,ci(t,3))}var wa=To((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Yr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ka(e)?r(e.length):[];return pr(e,(function(e){a[++o]=i?jt(t,e,n):Ir(e,t,n)})),a})),xa=To((function(e,t,n){ar(e,n,t)}));function Ea(e,t){return(Va(e)?Mt:zr)(e,ci(t,3))}var Oa=To((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sa=Yr((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]]),Vr(e,vr(t,1),[])})),ja=ct||function(){return mt.Date.now()};function Pa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Xo(e,f,o,o,o,o,t)}function Aa(e,t){var n;if("function"!=typeof t)throw new Ce(i);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ca=Yr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ui(Ca));r|=u}return Xo(e,r,t,n,o)})),Ia=Yr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ui(Ia));r|=u}return Xo(t,r,e,n,o)}));function $a(e,t,n){var r,a,s,l,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ce(i);function m(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){var n=e-c;return c===o||n>=t||n<0||p&&e-f>=s}function y(){var e=ja();if(g(e))return v(e);u=$i(y,function(e){var n=t-(e-c);return p?_n(n,s-(e-f)):n}(e))}function v(e){return u=o,h&&r?m(e):(r=a=o,l)}function b(){var e=ja(),n=g(e);if(r=arguments,a=this,c=e,n){if(u===o)return function(e){return f=e,u=$i(y,t),d?m(e):l}(c);if(p)return Eo(u),u=$i(y,t),m(c)}return u===o&&(u=$i(y,t)),l}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(p="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==o&&Eo(u),f=0,r=c=a=u=o},b.flush=function(){return u===o?l:v(ja())},b}var Ta=Yr((function(e,t){return fr(e,1,t)})),Na=Yr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ce(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 a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ma.Cache||Jn),n}function La(e){if("function"!=typeof e)throw new Ce(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)}}Ma.Cache=Jn;var Da=ko((function(e,t){var n=(t=1==t.length&&Va(t[0])?Mt(t[0],Xt(ci())):Mt(vr(t,1),Xt(ci()))).length;return Yr((function(r){for(var o=-1,i=_n(r.length,n);++o=t})),Qa=$r(function(){return arguments}())?$r:function(e){return ns(e)&&Le.call(e,"callee")&&!We.call(e,"callee")},Va=r.isArray,Ha=wt?Xt(wt):function(e){return ns(e)&&Sr(e)==N};function Ka(e){return null!=e&&es(e.length)&&!Za(e)}function Ja(e){return ns(e)&&Ka(e)}var Wa=bt||yl,Ga=kt?Xt(kt):function(e){return ns(e)&&Sr(e)==w};function Ya(e){if(!ns(e))return!1;var t=Sr(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Za(e){if(!ts(e))return!1;var t=Sr(e);return t==x||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=xt?Xt(xt):function(e){return ns(e)&&gi(e)==O};function os(e){return"number"==typeof e||ns(e)&&Sr(e)==S}function is(e){if(!ns(e)||Sr(e)!=j)return!1;var t=Ke(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==ze}var as=Et?Xt(Et):function(e){return ns(e)&&Sr(e)==A};var ss=Ot?Xt(Ot):function(e){return ns(e)&&gi(e)==C};function ls(e){return"string"==typeof e||!Va(e)&&ns(e)&&Sr(e)==I}function us(e){return"symbol"==typeof e||ns(e)&&Sr(e)==$}var cs=St?Xt(St):function(e){return ns(e)&&es(e.length)&&!!lt[Sr(e)]};var fs=Jo(Fr),ds=Jo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ka(e))return ls(e)?mn(e):Io(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==O?un:t==C?dn:Bs)(e)}function hs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?lr(ms(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(us(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(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 vs(e){return $o(e,Ts(e))}function bs(e){return null==e?"":co(e)}var _s=No((function(e,t){if(Oi(t)||Ka(t))$o(t,$s(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),ws=No((function(e,t){$o(t,Ts(t),e)})),ks=No((function(e,t,n,r){$o(t,Ts(t),e,r)})),xs=No((function(e,t,n,r){$o(t,$s(t),e,r)})),Es=oi(sr);var Os=Yr((function(e,t){e=je(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n 1),t})),$o(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Ds=oi((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Ps(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Mt(ai(e),(function(e){return[e]}));return t=ci(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Zo($s),zs=Zo(Ts);function Bs(e){return null==e?[]:en(e,$s(e))}var qs=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Ys(bs(e).toLowerCase())}function Qs(e){return(e=bs(e))&&e.replace(we,on).replace(tt,"")}var Vs=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Hs=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Do("toLowerCase");var Js=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ws=Ro((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Gs=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Do("toUpperCase");function Zs(e,t,n){return e=bs(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 Xs=Yr((function(e,t){try{return jt(e,o,t)}catch(n){return Ya(n)?n:new Ee(n)}})),el=oi((function(e,t){return At(t,(function(t){t=Ri(t),ar(e,t,Ca(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Bo(),rl=Bo(!0);function ol(e){return e}function il(e){return Lr("function"==typeof e?e:ur(e,1))}var al=Yr((function(e,t){return function(n){return Ir(n,e,t)}})),sl=Yr((function(e,t){return function(n){return Ir(e,n,t)}}));function ll(e,t,n){var r=$s(t),o=xr(t,r);null!=n||ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=xr(t,$s(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Za(e);return At(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Io(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function ul(){}var cl=Vo(Mt),fl=Vo(It),dl=Vo(Ft);function pl(e){return ki(e)?Kt(Ri(e)):function(e){return function(t){return Er(t,e)}}(e)}var hl=Ko(),ml=Ko(!0);function gl(){return[]}function yl(){return!1}var vl=Qo((function(e,t){return e+t}),0),bl=Go("ceil"),_l=Qo((function(e,t){return e/t}),1),wl=Go("floor");var kl,xl=Qo((function(e,t){return e*t}),1),El=Go("round"),Ol=Qo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ce(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Pa,Bn.assign=_s,Bn.assignIn=ws,Bn.assignInWith=ks,Bn.assignWith=xs,Bn.at=Es,Bn.before=Aa,Bn.bind=Ca,Bn.bindAll=el,Bn.bindKey=Ia,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Bn.chain=pa,Bn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(ht(i/t));ai?0:i+n),(r=r===o||r>i?i:ms(r))<0&&(r+=i),r=n>r?0:gs(r);n >>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=co(t))&&ln(e)?xo(mn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ce(i);return t=null==t?0:bn(ms(t),0),Yr((function(n){var r=n[t],o=xo(n,0,t);return r&&Lt(o,r),jt(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ms(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ms(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ce(i);return ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),$a(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ha,Bn.toArray=ps,Bn.toPairs=Fs,Bn.toPairsIn=zs,Bn.toPath=function(e){return Va(e)?Mt(e,Ri):us(e)?[e]:Io(Di(bs(e)))},Bn.toPlainObject=vs,Bn.transform=function(e,t,n){var r=Va(e),o=r||Wa(e)||cs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ts(e)&&Za(i)?qn(Ke(e)):{}}return(o?At:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return Pa(e,1)},Bn.union=na,Bn.unionBy=ra,Bn.unionWith=oa,Bn.uniq=function(e){return e&&e.length?fo(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Bn.unset=function(e,t){return null==e||po(e,t)},Bn.unzip=ia,Bn.unzipWith=aa,Bn.update=function(e,t,n){return null==e?e:ho(e,t,_o(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,_o(n),r)},Bn.values=Bs,Bn.valuesIn=function(e){return null==e?[]:en(e,Ts(e))},Bn.without=sa,Bn.words=Zs,Bn.wrap=function(e,t){return Ra(_o(t),e)},Bn.xor=la,Bn.xorBy=ua,Bn.xorWith=ca,Bn.zip=fa,Bn.zipObject=function(e,t){return vo(e||[],t||[],nr)},Bn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Bn.zipWith=da,Bn.entries=Fs,Bn.entriesIn=zs,Bn.extend=ws,Bn.extendWith=ks,ll(Bn,Bn),Bn.add=vl,Bn.attempt=Xs,Bn.camelCase=qs,Bn.capitalize=Us,Bn.ceil=bl,Bn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ys(n))==n?n:0),t!==o&&(t=(t=ys(t))==t?t:0),lr(ys(e),t,n)},Bn.clone=function(e){return ur(e,4)},Bn.cloneDeep=function(e){return ur(e,5)},Bn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Bn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Bn.conformsTo=function(e,t){return null==t||cr(e,t,$s(t))},Bn.deburr=Qs,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=_l,Bn.endsWith=function(e,t,n){e=bs(e),t=co(t);var r=e.length,i=n=n===o?r:lr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Bn.eq=Ba,Bn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(W,an):e},Bn.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Bn.every=function(e,t,n){var r=Va(e)?It:mr;return n&&wi(e,t,n)&&(t=o),r(e,ci(t,3))},Bn.find=ya,Bn.findIndex=Qi,Bn.findKey=function(e,t){return Bt(e,ci(t,3),wr)},Bn.findLast=va,Bn.findLastIndex=Vi,Bn.findLastKey=function(e,t){return Bt(e,ci(t,3),kr)},Bn.floor=wl,Bn.forEach=ba,Bn.forEachRight=_a,Bn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ts)},Bn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Ts)},Bn.forOwn=function(e,t){return e&&wr(e,ci(t,3))},Bn.forOwnRight=function(e,t){return e&&kr(e,ci(t,3))},Bn.get=js,Bn.gt=qa,Bn.gte=Ua,Bn.has=function(e,t){return null!=e&&yi(e,t,Pr)},Bn.hasIn=Ps,Bn.head=Ki,Bn.identity=ol,Bn.includes=function(e,t,n,r){e=Ka(e)?e:Bs(e),n=n&&!r?ms(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ls(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=bn(r+o,0)),Ut(e,t,o)},Bn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=_n(t,n)&&e =-9007199254740991&&e<=h},Bn.isSet=ss,Bn.isString=ls,Bn.isSymbol=us,Bn.isTypedArray=cs,Bn.isUndefined=function(e){return e===o},Bn.isWeakMap=function(e){return ns(e)&&gi(e)==T},Bn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Sr(e)},Bn.join=function(e,t){return null==e?"":zt.call(e,t)},Bn.kebabCase=Vs,Bn.last=Yi,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ms(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):qt(e,Vt,i,!0)},Bn.lowerCase=Hs,Bn.lowerFirst=Ks,Bn.lt=fs,Bn.lte=ds,Bn.max=function(e){return e&&e.length?gr(e,ol,jr):o},Bn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),jr):o},Bn.mean=function(e){return Ht(e,ol)},Bn.meanBy=function(e,t){return Ht(e,ci(t,2))},Bn.min=function(e){return e&&e.length?gr(e,ol,Fr):o},Bn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Fr):o},Bn.stubArray=gl,Bn.stubFalse=yl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(e,t){return e&&e.length?Qr(e,ms(t)):o},Bn.noConflict=function(){return mt._===this&&(mt._=Be),this},Bn.noop=ul,Bn.now=ja,Bn.pad=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ho(gt(o),n)+e+Ho(ht(o),n)},Bn.padEnd=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;return t&&r t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Wr(e,t)},Bn.reduce=function(e,t,n){var r=Va(e)?Dt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Bn.reduceRight=function(e,t,n){var r=Va(e)?Rt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Bn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ms(t),Gr(bs(e),t)},Bn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=g,r=_n(e,g);t=ci(t),e-=g;for(var o=Yt(r,t);++n =a)return e;var l=n-hn(r);if(l<1)return r;var u=s?xo(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),as(i)){if(e.slice(l).search(i)){var c,f=u;for(i.global||(i=Pe(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(co(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Bn.unescape=function(e){return(e=bs(e))&&G.test(e)?e.replace(J,yn):e},Bn.uniqueId=function(e){var t=++De;return bs(e)+t},Bn.upperCase=Gs,Bn.upperFirst=Ys,Bn.each=ba,Bn.eachRight=_a,Bn.first=Ki,ll(Bn,(kl={},wr(Bn,(function(e,t){Le.call(Bn.prototype,t)||(kl[t]=e)})),kl),{chain:!1}),Bn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),At(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:bn(ms(n),0);var r=this.__filtered__&&!t?new Vn(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},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(ol)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Ir(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(La(ci(e)))},Vn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},wr(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Bn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Vn,u=s[0],c=l||Va(t),f=function(e){var t=i.apply(Bn,Lt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&c){t=m?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[f],thisArg:o}),new Qn(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),wr(Vn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Le.call($n,r)||($n[r]=[]),$n[r].push({name:t,func:n})}})),$n[qo(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Io(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Io(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Io(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r =this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=zi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new Qn(t,this.__chain__)}return this.thru(ta)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Ze&&(Bn.prototype[Ze]=function(){return this}),Bn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},733:(e,t,n)=>{var r=n(6738);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 a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},6765:(e,t,n)=>{var r=n(2857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},6188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},6448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},9754:(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"}},5950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},3654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},5128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},4501:(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{"use strict";const r=n(5308);e.exports=r,r.default=r},5308: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 100)return e.replace(r,i);for(var t="",a=0,s=0;s r;)e[n]=e[n-1],n--;e[n]=r}return e}},3338: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}},9569:function(e,t,n){var r,o;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(o="function"==typeof(r=a)?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 1);s++)n.splice(0,1);r[a]=n.join("")}var l=-1,u=0,c=0,f=-1,d=!1;for(a=0;au&&(l=f,u=c)):"0"===r[a]&&(d=!0,f=a,c=1);c>u&&(l=f,u=c),u>1&&r.splice(l,u,""),o=r.length;var p="";for(""===r[0]&&(p=":"),a=0;a =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}))},957:function(e,t,n){var r,o,i;!function(a,s){"use strict";e.exports?e.exports=s(n(9942),n(9569),n(4171)):(o=[n(9942),n(9569),n(4171)],void 0===(i="function"==typeof(r=s)?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 a=i.prototype,s=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function u(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function c(e){return"Array"===u(e)}function f(e,t){var n,r,o={};if("RegExp"===u(t))o=null;else if(c(t))for(n=0,r=t.length;n ]+|\(([^\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 a=(r+"").split(e),s=0,l=a.length;s -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 a=e.indexOf(":"),s=e.indexOf("/"),l=e.indexOf(":",a+1);-1!==l&&(-1===s||l -1?o:e.length-1);return a>-1&&(-1===o||a-1?p.slice(0,h)+p.slice(h).replace(a,""):p.replace(a,"")).length<=u[0].length||n.ignore&&n.ignore.test(p))){var y=t(p,c,d=c+p.length,e);void 0!==y?(y=String(y),e=e.slice(0,c)+y+e.slice(d),r.lastIndex=c+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},a.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},a.clone=function(){return new i(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=w("protocol"),a.username=w("username"),a.password=w("password"),a.hostname=w("hostname"),a.port=w("port"),a.query=k("query","?"),a.fragment=k("fragment","#"),a.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},a.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},a.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},a.path=a.pathname,a.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 a=r?e._parts:e;for(n in a)"query"!==n&&s.call(this._parts,n)&&(this._parts[n]=a[n]);a.query&&this.query(a.query,!1)}return this.build(!t),this},a.is=function(e){var t=!1,r=!1,o=!1,a=!1,s=!1,l=!1,u=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),s=(a=!(t=r||o))&&n&&n.has(this._parts.hostname),l=a&&i.idn_expression.test(this._parts.hostname),u=a&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return c;case"absolute":return!c;case"domain":case"name":return a;case"sld":return s;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return u}return null};var x=a.protocol,E=a.port,O=a.hostname;a.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 x.call(this,e,t)},a.scheme=a.protocol,a.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))),E.call(this,e,t))},a.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 O.call(this,e,t)},a.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},a.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},a.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},a.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},a.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)},a.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),a=new RegExp("^"+l(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(a,e),this.build(!t),this},a.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(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},a.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(l(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(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},a.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,a=this._parts.path.substring(0,o),s=new RegExp("^"+l(a));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(s,e),this.build(!t),this},a.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 a=new RegExp(l(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),o?this.normalizePath(t):this.build(!t),this},a.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(),a=o.lastIndexOf(".");return-1===a?"":(n=o.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var s,u=this.suffix();if(u)s=e?new RegExp(l(u)+"$"):new RegExp(l("."+u)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return s&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e)),this.build(!t),this},a.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),a=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&&a.shift(),e<0&&(e=Math.max(a.length+e,0)),void 0===t)return void 0===e?a:a[e];if(null===e||void 0===a[e])if(c(t)){a=[];for(var s=0,l=t.length;s = 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=l-u,w=Math.floor,k=String.fromCharCode;function x(e){throw new RangeError(b[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function O(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*c>>1;r+=l)e=w(e/_);return w(r+(_+1)*e/(e+f))}function C(e){var t,n,r,o,i,a,f,d,g,y,v,b=[],_=e.length,k=0,E=h,O=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r =128&&x("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=k,a=1,f=l;o>=_&&x("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:l)>=l||d>w((s-k)/a))&&x("overflow"),k+=d*a,!(d<(g=f<=O?u:f>=O+c?c:f-O));f+=l)a>w(s/(y=l-g))&&x("overflow"),a*=y;O=A(k-i,t=b.length+1,0==i),w(k/t)>s-E&&x("overflow"),E+=w(k/t),k%=t,b.splice(k++,0,E)}return j(b)}function I(e){var t,n,r,o,i,a,f,d,g,y,v,b,_,E,O,j=[];for(b=(e=S(e)).length,t=h,n=0,i=p,a=0;a=t&&v w((s-n)/(_=r+1))&&x("overflow"),n+=(f-t)*_,t=f,a=0;as&&x("overflow"),v==t){for(d=n,g=l;!(d<(y=g<=i?u:g>=i+c?c:g-i));g+=l)O=d-y,E=l-y,j.push(k(P(y+O%E,0))),d=w(O/E);j.push(k(P(d,0))),i=A(n,_,r==o),n=0,++r}++n,++t}return j.join("")}a={version:"1.3.2",ucs2:{decode:S,encode:j},decode:C,encode:I,toASCII:function(e){return O(e,(function(e){return y.test(e)?"xn--"+I(e):e}))},toUnicode:function(e){return O(e,(function(e){return g.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},5392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,a:()=>a});var r=n(2784);const o={},i=r.createContext(o);function a(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:t},e.children)}},2970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>N,__assign:()=>i,__asyncDelegator:()=>O,__asyncGenerator:()=>E,__asyncValues:()=>S,__await:()=>x,__awaiter:()=>h,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>T,__classPrivateFieldSet:()=>$,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>L,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>C,__importStar:()=>A,__makeTemplateObject:()=>j,__metadata:()=>p,__param:()=>l,__propKey:()=>f,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>k,__spreadArrays:()=>w,__values:()=>v,default:()=>D});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 =0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,f=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[p])("accessor"===l?{get:f.get,set:f.set}:f[u],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(f.get=s),(s=a(g.set))&&(f.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===l?o.unshift(s):f[u]=s)}c&&Object.defineProperty(c,r.name,f),d=!0}function c(e,t,n){for(var r=arguments.length>2,o=0;o 0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1] =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),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function _(){for(var e=[],t=0;t 1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(r){c(i[0][3],r)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function O(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:x(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 j(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(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 P(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function I(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 $(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 T(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 N(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 M="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 L(e){function t(t){e.error=e.hasError?new M(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 D={__extends:o,__assign:i,__rest:a,__decorate:s,__param:l,__metadata:p,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:k,__await:x,__asyncGenerator:E,__asyncDelegator:O,__asyncValues:S,__makeTemplateObject:j,__importStar:A,__importDefault:C,__classPrivateFieldGet:I,__classPrivateFieldSet:$,__classPrivateFieldIn:T,__addDisposableResource:N,__disposeResources:L}},1102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>F,CST:()=>r,Composer:()=>Zt,Document:()=>Et,Lexer:()=>jn,LineCounter:()=>Pn,Pair:()=>ye,Parser:()=>Mn,Scalar:()=>q,Schema:()=>xt,YAMLError:()=>St,YAMLMap:()=>xe,YAMLParseError:()=>jt,YAMLSeq:()=>Oe,YAMLWarning:()=>Pt,default:()=>Bn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>p,isMap:()=>h,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Fn,parseAllDocuments:()=>Dn,parseDocument:()=>Rn,stringify:()=>zn,visit:()=>E,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>pn,DOCUMENT:()=>hn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Xt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>F,CST:()=>r,Composer:()=>Zt,Document:()=>Et,Lexer:()=>jn,LineCounter:()=>Pn,Pair:()=>ye,Parser:()=>Mn,Scalar:()=>q,Schema:()=>xt,YAMLError:()=>St,YAMLMap:()=>xe,YAMLParseError:()=>jt,YAMLSeq:()=>Oe,YAMLWarning:()=>Pt,isAlias:()=>d,isCollection:()=>v,isDocument:()=>p,isMap:()=>h,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Fn,parseAllDocuments:()=>Dn,parseDocument:()=>Rn,stringify:()=>zn,visit:()=>E,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),a=Symbol.for("yaml.document"),s=Symbol.for("yaml.map"),l=Symbol.for("yaml.pair"),u=Symbol.for("yaml.scalar"),c=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,p=e=>!!e&&"object"==typeof e&&e[f]===a,h=e=>!!e&&"object"==typeof e&&e[f]===s,m=e=>!!e&&"object"==typeof e&&e[f]===l,g=e=>!!e&&"object"==typeof e&&e[f]===u,y=e=>!!e&&"object"==typeof e&&e[f]===c;function v(e){if(e&&"object"==typeof e)switch(e[f]){case s:case c:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case s:case u:case c:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),k=Symbol("skip children"),x=Symbol("remove node");function E(e,t){const n=P(t);if(p(e)){O(null,e.contents,n,Object.freeze([e]))===x&&(e.contents=null)}else O(null,e,n,Object.freeze([]))}function O(e,t,n,r){const o=A(e,t,n,r);if(b(o)||m(o))return C(e,r,o),O(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e "!==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=>I[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={};E(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 T(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 N(e){const t=new Set;return E(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function M(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function L(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;oD(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)}$.defaultYaml={explicit:!1,version:"1.2"},$.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(!p(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},a=D(this,"",i);if("function"==typeof r)for(const{count:s,res:l}of i.anchors.values())r(l,s);return"function"==typeof o?L(o,{"":a},"",a):a}}class F 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 E(e,{Node:(e,n)=>{if(n===this)return E.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 a=n.get(i);if(a||(D(i,null,t),a=n.get(i)),!a||void 0===a.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=z(r,i,n)),a.count*a.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return a.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(T(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 z(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=z(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=z(e,t.key,n),o=z(e,t.value,n);return Math.max(r,o)}return 1}const B=e=>!e||"function"!=typeof e&&"object"!=typeof e;class q extends R{constructor(e){super(u),this.value=e}toJSON(e,t){return t?.keep?this.value:D(this.value,e,t)}toString(){return String(this.value)}}q.BLOCK_FOLDED="BLOCK_FOLDED",q.BLOCK_LITERAL="BLOCK_LITERAL",q.PLAIN="PLAIN",q.QUOTE_DOUBLE="QUOTE_DOUBLE",q.QUOTE_SINGLE="QUOTE_SINGLE";const U="tag:yaml.org,2002:";function Q(e,t,n){if(p(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[s].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:a,sourceObjects:l}=n;let u;if(r&&e&&"object"==typeof e){if(u=l.get(e),u)return u.anchor||(u.anchor=o(e)),new F(u.anchor);u={anchor:null,node:null},l.set(e,u)}t?.startsWith("!!")&&(t=U+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,a.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new q(e);return u&&(u.node=t),t}f=e instanceof Map?a[s]:Symbol.iterator in Object(e)?a[c]:a[s]}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 q(e);return t?d.tag=t:f.default||(d.tag=f.tag),u&&(u.node=d),d}function V(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 Q(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 H=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class K 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(H(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,V(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,V(this.schema,r,t))}}}}K.maxFlowStringSingleLineLength=60;const J=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function W(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const G=(e,t,n)=>e.endsWith("\n")?W(n,t):n.includes("\n")?"\n"+W(n,t):(e.endsWith(" ")?"":" ")+n,Y="flow",Z="block",X="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:a,onOverflow:s}={}){if(!o||o<0)return e;const l=Math.max(1+i,1+o-t.length);if(e.length<=l)return e;const u=[],c={};let f,d,p=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?u.push(0):p=o-r);let h=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(p=m+l));for(let b;b=e[m+=1];){if(n===X&&"\\"===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)),p=m+l,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>=p)if(f)u.push(f),p=f+l,f=void 0;else if(n===X){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],h=!0;const t=m>y+1?m-2:g-1;if(c[t])return e;u.push(t),c[t]=!0,p=t+l,f=void 0}else h=!0}d=b}if(h&&s&&s(),0===u.length)return e;a&&a();let v=e.slice(0,u[0]);for(let b=0;b ({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 a="",s=0;for(let l=0,u=n[l];u;u=n[++l])if(" "===u&&"\\"===n[l+1]&&"n"===n[l+2]&&(a+=n.slice(s,l)+"\\ ",l+=1,s=l,u="\\"),"\\"===u)switch(n[l+1]){case"u":{a+=n.slice(s,l);const e=n.substr(l+2,4);switch(e){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:"00"===e.substr(0,2)?a+="\\x"+e.substr(2):a+=n.substr(l,6)}l+=5,s=l+1}break;case"n":if(r||'"'===n[l+2]||n.length r)return!0;if(a=i+1,o-a<=r)return!1}return!0}(n,l,u.length));if(!n)return c?"|\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 p=n.substring(d);const h=p.indexOf("\n");-1===h?f="-":n===p||h!==p.length-1?(f="+",i&&i()):f="",p&&(n=n.slice(0,-p.length),"\n"===p[p.length-1]&&(p=p.slice(0,-1)),p=p.replace(se,`$&${u}`));let m,g=!1,y=-1;for(m=0;m ")+(g?u?"2":"1":"")+f;if(e&&(b+=" "+s(e.replace(/ ?[\r\n]+/g," ")),o&&o()),c)return`${b}\n${u}${v}${n=n.replace(/\n+/g,`$&${u}`)}${p}`;return`${b}\n${u}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${u}`)}${p}`,u,Z,ne(r,!0))}`}function ue(e,t,n,r){const{implicitKey:o,inFlow:i}=t,a="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==q.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(s=q.QUOTE_DOUBLE);const l=e=>{switch(e){case q.BLOCK_FOLDED:case q.BLOCK_LITERAL:return o||i?ae(a.value,t):le(a,t,n,r);case q.QUOTE_DOUBLE:return oe(a.value,t);case q.QUOTE_SINGLE:return ie(a.value,t);case q.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:a,implicitKey:s,indent:l,indentStep:u,inFlow:c}=t;if(s&&i.includes("\n")||c&&/[[\]{},]/.test(i))return ae(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return s||c||!i.includes("\n")?ae(i,t):le(e,t,n,r);if(!s&&!c&&o!==q.PLAIN&&i.includes("\n"))return le(e,t,n,r);if(re(i)){if(""===l)return t.forceBlockIndent=!0,le(e,t,n,r);if(s&&l===u)return ae(i,t)}const f=i.replace(/\n+/g,`$&\n${l}`);if(a){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 ae(i,t)}return s?f:ee(f,l,Y,ne(t,!1))}(a,t,n,r);default:return null}};let u=l(s);if(null===u){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(u=l(r),null===u)throw new Error(`Unsupported default string type ${r}`)}return u}function ce(e,t){const n=Object.assign({blockQuote:!0,commentString:J,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 a=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&T(i)&&(n.add(i),o.push(`&${i}`));const a=e.tag?e.tag:t.default?null:t.tag;return a&&o.push(r.directives.tagString(a)),o.join(" ")}(i,o,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const s="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ue(i,t,n,r):i.toString(t,n,r);return a?g(i)||"{"===s[0]||"["===s[0]?`${a} ${s}`:`${a}\n${t.indent}${s}`:s}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function pe(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&he(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=D(n,"",e);if(t instanceof Map)t.set(o,D(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=ce(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),a=D(r,i,e);i in t?Object.defineProperty(t,i,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[i]=a}}return t}const he=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===q.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!h(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,a]of o)t instanceof Map?t.has(i)||t.set(i,a):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=Q(e,void 0,n),o=Q(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:l}),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 pe(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:a,indent:s,indentStep:l,options:{commentString:u,indentSeq:c,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 p=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===q.BLOCK_FOLDED||e.type===q.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(f||!i),indent:s+l});let h,m,_,w=!1,k=!1,x=fe(e,n,(()=>w=!0),(()=>k=!0));if(!p&&!n.inFlow&&x.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");p=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===x?"?":p?`? ${x}`:x}else if(i&&!f||null==t&&p)return x=`? ${x}`,d&&!w?x+=G(x,n.indent,u(d)):k&&o&&o(),x;w&&(d=null),p?(d&&(x+=G(x,n.indent,u(d))),x=`? ${x}\n${s}:`):(x=`${x}:`,d&&(x+=G(x,n.indent,u(d)))),b(t)?(h=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(h=!1,m=null,_=null,t&&"object"==typeof t&&(t=a.createNode(t))),n.implicitKey=!1,p||d||!g(t)||(n.indentAtStart=x.length+1),k=!1,c||!(l.length>=2)||n.inFlow||p||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let E=!1;const O=fe(t,n,(()=>E=!0),(()=>k=!0));let S=" ";if(d||h||m)S=h?"\n":"",m&&(S+=`\n${W(u(m),n.indent)}`),""!==O||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!p&&v(t)){const e=O[0],r=O.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=O.indexOf(" ");"&"===e&&-1!==n&&n o=null),(()=>f=!0));o&&(a+=G(a,i,u(o))),f&&o&&(f=!1),d.push(r+a)}let p;if(0===d.length)p=o.start+o.end;else{p=d[0];for(let e=1;e r=null));v d||i.includes("\n"))&&(f=!0),p.push(i),d=p.length}let h;const{start:g,end:y}=r;if(0===p.length)h=g+y;else{if(!f){f=p.reduce(((e,t)=>e+t.length+2),2)>K.maxFlowStringSingleLineLength}if(f){h=g;for(const e of p)h+=e?`\n${s}${a}${e}`:"\n";h+=`\n${a}${y}`}else h=`${g}${l}${p.join(" ")}${l}${y}`}return e&&(h+=G(h,a,u(e)),i&&i()),h}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=W(t(r),e);n.push(o.trimStart())}}function ke(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 xe extends K{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),a=(e,a)=>{if("function"==typeof o)a=o.call(t,e,a);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==a||r)&&i.items.push(ge(e,a,n))};if(t instanceof Map)for(const[s,l]of t)a(s,l);else if(t&&"object"==typeof t)for(const s of Object.keys(t))a(s,t[s]);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=ke(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&B(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=ke(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=ke(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!ke(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)pe(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 Ee={collection:"map",default:!0,nodeClass:xe,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(h(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>xe.from(e,t,n)};class Oe extends K{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(c,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 =0?t:null}const je={collection:"seq",default:!0,nodeClass:Oe,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>Oe.from(e,t,n)},Pe={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ue(e,t=Object.assign({actualString:!0},t),n,r)},Ae={identify:e=>null==e,createNode:()=>new q(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new q(null),stringify:({source:e},t)=>"string"==typeof e&&Ae.test.test(e)?e:t.options.nullStr},Ce={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new q("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ce.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Ie({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 $e={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:Ie},Te={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():Ie(e)}},Ne={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 q(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Ie},Me=e=>"bigint"==typeof e||Number.isInteger(e),Le=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function De(e,t,n){const{value:r}=e;return Me(r)&&r>=0?n+r.toString(t):Ie(e)}const Re={identify:e=>Me(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Le(e,2,8,n),stringify:e=>De(e,8,"0o")},Fe={identify:Me,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Le(e,0,10,n),stringify:Ie},ze={identify:e=>Me(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Le(e,2,16,n),stringify:e=>De(e,16,"0x")},Be=[Ee,je,Pe,Ae,Ce,Re,Fe,ze,$e,Te,Ne];function qe(e){return"bigint"==typeof e||Number.isInteger(e)}const Ue=({value:e})=>JSON.stringify(e),Qe=[Ee,je].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Ue},{identify:e=>null==e,createNode:()=>new q(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ue},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Ue},{identify:qe,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})=>qe(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:Ue}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Ve={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 1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new q(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 Ke(e,t,n){const{replacer:r}=n,o=new Oe(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let a of t){let e,s;if("function"==typeof r&&(a=r.call(t,String(i++),a)),Array.isArray(a)){if(2!==a.length)throw new TypeError(`Expected [key, value] tuple: ${a}`);e=a[0],s=a[1]}else if(a&&a instanceof Object){const t=Object.keys(a);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],s=a[e]}else e=a;o.items.push(ge(e,s,n))}return o}const Je={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:He,createNode:Ke};class We extends Oe{constructor(){super(),this.add=xe.prototype.add.bind(this),this.delete=xe.prototype.delete.bind(this),this.get=xe.prototype.get.bind(this),this.has=xe.prototype.has.bind(this),this.set=xe.prototype.set.bind(this),this.tag=We.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=D(r.key,"",t),o=D(r.value,e,t)):e=D(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=Ke(e,t,n),o=new this;return o.items=r.items,o}}We.tag="tag:yaml.org,2002:omap";const Ge={collection:"seq",identify:e=>e instanceof Map,nodeClass:We,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=He(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 We,n)},createNode:(e,t,n)=>We.from(e,t,n)};function Ye({value:e,source:t},n){return t&&(e?Ze:Xe).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 q(!0),stringify:Ye},Xe={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 q(!1),stringify:Ye},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:Ie},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():Ie(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 q(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:Ie},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 Ie(e)}const at={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")},st={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")},lt={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:Ie},ut={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 ct extends xe{constructor(e){super(e),this.tag=ct.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);ke(this.items,t.key)||this.items.push(t)}get(e,t){const n=ke(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=ke(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}}ct.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:ct,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>ct.from(e,t,n),resolve(e,t){if(h(e)){if(e.hasAllNullValues(!0))return Object.assign(new ct,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 pt(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Ie(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 ht={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:pt},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:pt},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,a,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let u=Date.UTC(n,r-1,o,i||0,a||0,s||0,l);const c=t[8];if(c&&"Z"!==c){let e=dt(c,!1);Math.abs(e)<30&&(e*=60),u-=6e4*e}return new Date(u)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[Ee,je,Pe,Ae,Ze,Xe,at,st,lt,ut,et,tt,nt,Ve,Ge,Je,ft,ht,mt,gt],vt=new Map([["core",Be],["failsafe",[Ee,je,Pe]],["json",Qe],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Ve,bool:Ce,float:Ne,floatExp:Te,floatNaN:$e,floatTime:mt,int:Fe,intHex:ze,intOct:Re,intTime:ht,map:Ee,null:Ae,omap:Ge,pairs:Je,seq:je,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Ve,"tag:yaml.org,2002:omap":Ge,"tag:yaml.org,2002:pairs":Je,"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 kt=(e,t)=>e.key t.key?1:0;class xt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:a}){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=a??null,Object.defineProperty(this,s,{value:Ee}),Object.defineProperty(this,u,{value:Pe}),Object.defineProperty(this,c,{value:je}),this.sortMapEntries="function"==typeof i?i:!0===i?kt:null}clone(){const e=Object.create(xt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class Et{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:a});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 $({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(Et.prototype,{[f]:{value:a}});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){Ot(this.contents)&&this.contents.add(e)}addIn(e,t){Ot(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=N(this);e.anchor=!t||n.has(t)?M(t||"a",n):t}return new F(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:a,keepUndefined:s,onTagObj:l,tag:u}=n??{},{onAnchor:c,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=N(e));const i=M(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"),p=Q(e,u,{aliasDuplicateObjects:o??!0,keepUndefined:s??!1,onAnchor:c,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:d});return a&&v(p)&&(p.flow=!0),f(),p}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!!Ot(this.contents)&&this.contents.delete(e)}deleteIn(e){return H(e)?null!=this.contents&&(this.contents=null,!0):!!Ot(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return H(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 H(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=V(this.schema,[e],t):Ot(this.contents)&&this.contents.set(e,t)}setIn(e,t){H(e)?this.contents=t:null==this.contents?this.contents=V(this.schema,Array.from(e),t):Ot(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 $({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 $({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 xt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},s=D(this.contents,t??"",a);if("function"==typeof o)for(const{count:l,res:u}of a.anchors.values())o(u,l);return"function"==typeof i?L(i,{"":s},"",s):s}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=ce(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(W(t,""))}let a=!1,s=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(W(t,""))}o.forceBlockIndent=!!e.comment,s=e.contents.comment}const t=s?void 0:()=>a=!0;let l=fe(e.contents,o,(()=>s=null),t);s&&(l+=G(l,"",i(s))),"|"!==l[0]&&">"!==l[0]||"---"!==n[n.length-1]?n.push(l):n[n.length-1]=`--- ${l}`}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(W(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&a&&(t=t.replace(/^\n+/,"")),t&&(a&&!s||""===n[n.length-1]||n.push(""),n.push(W(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Ot(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 jt extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class Pt extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const At=(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,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&a.length>80){const e=Math.min(i-39,a.length-79);a="\u2026"+a.substring(e),i-=e-1}if(a.length>80&&(a=a.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(a.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"),a=n+a}if(/[^ ]/.test(a)){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 s=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${a}\n${s}\n`}};function Ct(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:a}){let s=!1,l=a,u=a,c="",f="",d=!1,p=!1,h=!1,m=null,g=null,y=null,v=null,b=null;for(const k of e)switch(h&&("space"!==k.type&&"newline"!==k.type&&"comma"!==k.type&&i(k.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),k.type){case"space":!t&&l&&"doc-start"!==n&&"\t"===k.source[0]&&i(k,"TAB_AS_INDENT","Tabs are not allowed as indentation"),u=!0;break;case"comment":{u||i(k,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=k.source.substring(1)||" ";c?c+=f+e:c=e,f="",l=!1;break}case"newline":l?c?c+=k.source:s=!0:f+=k.source,l=!0,d=!0,(m||g)&&(p=!0),u=!0;break;case"anchor":m&&i(k,"MULTIPLE_ANCHORS","A node can have at most one anchor"),k.source.endsWith(":")&&i(k.offset+k.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=k,null===b&&(b=k.offset),l=!1,u=!1,h=!0;break;case"tag":g&&i(k,"MULTIPLE_TAGS","A node can have at most one tag"),g=k,null===b&&(b=k.offset),l=!1,u=!1,h=!0;break;case n:(m||g)&&i(k,"BAD_PROP_ORDER",`Anchors and tags must be after the ${k.source} indicator`),v&&i(k,"UNEXPECTED_TOKEN",`Unexpected ${k.source} in ${t??"collection"}`),v=k,l=!1,u=!1;break;case"comma":if(t){y&&i(k,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=k,l=!1,u=!1;break}default:i(k,"UNEXPECTED_TOKEN",`Unexpected ${k.type} token`),l=!1,u=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return h&&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:s,comment:c,hasNewline:d,hasNewlineAfterProp:p,anchor:m,tag:g,end:w,start:b??w}}function It(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(It(t.key)||It(t.value))return!0}return!1;default:return!0}}function $t(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&It(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Tt(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 Nt="All mapping items must start at the same column";function Mt(e,t,n,r){let o="";if(e){let i=!1,a="";for(const s of e){const{source:e,type:l}=s;switch(l){case"space":i=!0;break;case"comment":{n&&!i&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=a+t:o=t,a="";break}case"newline":o&&(a+=e),i=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Lt="Block collections are not allowed within flow collections",Dt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const a="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const a=new(i?.nodeClass??xe)(n.schema);n.atRoot&&(n.atRoot=!1);let s=r.offset,l=null;for(const u of r.items){const{start:i,key:c,sep:f,value:d}=u,p=Ct(i,{indicator:"explicit-key-ind",next:c??f?.[0],offset:s,onError:o,startOnNewline:!0}),h=!p.found;if(h){if(c&&("block-seq"===c.type?o(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==r.indent&&o(s,"BAD_INDENT",Nt)),!p.anchor&&!p.tag&&!f){l=p.end,p.comment&&(a.comment?a.comment+="\n"+p.comment:a.comment=p.comment);continue}(p.hasNewlineAfterProp||It(c))&&o(c??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else p.found?.indent!==r.indent&&o(s,"BAD_INDENT",Nt);const m=p.end,g=c?e(n,c,p,o):t(n,m,i,null,p,o);n.schema.compat&&$t(r.indent,c,o),Tt(n,a.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=Ct(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!c||"block-scalar"===c.type});if(s=y.end,y.found){h&&("block-map"!==d?.type||y.hasNewline||o(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start 0){const e=Mt(p,h,n.options.strict,o);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,h,e.offset]}else l.range=[r.offset,h,h];return l}(e,t,n,r,i),s=a.constructor;return"!"===o||o===s.tagName?(a.tag=s.tagName,a):(o&&(a.tag=o),a)}function Ft(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 a=0,s="",l=-1;for(let d=1;d =0;--m){const e=a[m][1];if(""!==e&&"\r"!==e)break;s=m}if(0===s){const t="+"===o.chomp&&a.length>0?"\n".repeat(Math.max(1,a.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 l=e.indent+o.indent,u=e.offset+o.length,c=0;for(let m=0;m l&&(l=e.length),u+=e.length+t.length+1}for(let m=a.length-1;m>=s;--m)a[m][0].length>l&&(s=m+1);let f="",d="",p=!1;for(let m=0;ml||"\t"===t[0]?(" "===d?d="\n":p||"\n"!==d||(d="\n\n"),f+=d+e.slice(l)+t,d="\n",p=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",p=!1)}switch(o.chomp){case"-":break;case"+":for(let e=s;e n(r+e,t,o);switch(o){case"scalar":s=q.PLAIN,l=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 Bt(e)}(i,u);break;case"single-quoted-scalar":s=q.QUOTE_SINGLE,l=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Bt(e.slice(1,-1)).replace(/''/g,"'")}(i,u);break;case"double-quoted-scalar":s=q.QUOTE_DOUBLE,l=function(e,t){let n="";for(let r=1;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,u);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 c=r+i.length,f=Mt(a,c,t,n);return{value:l,type:s,comment:f.comment,range:[r,c,f.offset]}}function Bt(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,c=n&&l?function(e,t,n,r,o){if("!"===n)return e[u];const i=[];for(const s of e.tags)if(!s.collection&&s.tag===n){if(!s.default||!s.test)return s;i.push(s)}for(const s of i)if(s.test?.test(t))return s;const a=e.knownTags[n];if(a&&!a.collection)return e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[u]}(e.schema,o,l,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[u];if(t.compat){const a=t.compat.find((e=>e.default&&e.test?.test(n)))??t[u];if(i.tag!==a.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(a.tag)}`,!0)}}return i}(e,o,t,r):e.schema[u];let f;try{const i=c.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new q(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new q(o)}return f.range=s,f.source=o,i&&(f.type=i),l&&(f.tag=l),c.format&&(f.format=c.format),a&&(f.comment=a),f}function Ht(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 Kt={composeNode:Jt,composeEmptyNode:Wt};function Jt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:a,tag:s}=n;let l,u=!0;switch(t.type){case"alias":l=function({options:e},{offset:t,source:n,end:r},o){const i=new F(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 a=t+n.length,s=Mt(r,a,e.strict,o);i.range=[t,a,s.offset],s.comment&&(i.comment=s.comment);return i}(e,t,r),(a||s)&&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":l=Vt(e,t,s,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,a="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===xe.tagName&&"map"===a||i===Oe.tagName&&"seq"===a||!a)return Rt(e,t,n,o,i);let s=t.schema.tags.find((e=>e.tag===i&&e.collection===a));if(!s){const l=t.schema.knownTags[i];if(!l||l.collection!==a)return l?.collection?o(r,"BAD_COLLECTION_TYPE",`${l.tag} used for ${a} collection, but expects ${l.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},l,{default:!1})),s=l}const l=Rt(e,t,n,o,i,s),u=s.resolve?.(l,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??l,c=b(u)?u:new q(u);return c.range=l.range,c.tag=i,s?.format&&(c.format=s.format),c}(Kt,e,t,s,r),a&&(l.anchor=a.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),l=Wt(e,t.offset,void 0,null,n,r),u=!1}return a&&""===l.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(l.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?l.comment=i:l.commentBefore=i),e.options.keepSourceTokens&&u&&(l.srcToken=t),l}function Wt(e,t,n,r,{spaceBefore:o,comment:i,anchor:a,tag:s,end:l},u){const c=Vt(e,{type:"scalar",offset:Ht(t,n,r),indent:-1,source:""},s,u);return a&&(c.anchor=a.source.substring(1),""===c.anchor&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(c.spaceBefore=!0),i&&(c.comment=i,c.range[2]=l),c}function Gt(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 Yt(e){let t="",n=!1,r=!1;for(let o=0;o {const o=Gt(e);r?this.warnings.push(new Pt(o,t,n)):this.errors.push(new jt(o,t,n))},this.directives=new $({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Yt(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:Yt(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=Gt(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},a){const s=Object.assign({_directives:t},e),l=new Et(void 0,s),u={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},c=Ct(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:a,startOnNewline:!0});c.found&&(l.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||c.hasNewline||a(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=o?Jt(u,o,c,a):Wt(u,c.end,r,null,c,a);const f=l.contents.range[2],d=Mt(i,f,!1,a);return d.comment&&(l.comment=d.comment),l.range=[n,f,d.offset],l}(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 jt(Gt(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 jt(Gt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Mt(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 jt(Gt(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 Et(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 Xt(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 jt([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return zt(e,t,r);case"block-scalar":return Ft(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:a="PLAIN"}=t,s=ue({type:a,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(s[0]){case"|":case">":{const e=s.indexOf("\n"),t=s.substring(0,e),n=s.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,l)||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:s,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:s,end:l};default:return{type:"scalar",offset:i,indent:r,source:s,end:l}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:a}=n,s="indent"in e?e.indent:null;if(r&&"number"==typeof s&&(s+=2),!a)switch(e.type){case"single-quoted-scalar":a="QUOTE_SINGLE";break;case"double-quoted-scalar":a="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");a=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:a="PLAIN"}const l=ue({type:a,value:t},{implicitKey:o||null===s,indent:null!==s&&s>0?" ".repeat(s):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(l[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,l);break;case'"':rn(e,l,"double-quoted-scalar");break;case"'":rn(e,l,"single-quoted-scalar");break;default:rn(e,l,"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?an(e):sn(e);function an(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=an(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=sn(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=sn(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=sn(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 sn({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=an(t)),n)for(const i of n)o+=i.source;return r&&(o+=an(r)),o}const ln=Symbol("break visit"),un=Symbol("skip children"),cn=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 {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 pn="\ufeff",hn="\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 pn:return" ";case hn:return" ";case mn:return" ";case gn:return" ";default:return JSON.stringify(e)}}function _n(e){switch(e){case pn:return"byte-order-mark";case hn: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 kn="0123456789ABCDEFabcdef".split(""),xn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),En=",[]{}".split(""),On=" ,[]{}\n\r\t".split(""),Sn=e=>!e||On.includes(e);class jn{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.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 "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&&En.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&&En.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&&En.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(xn.includes(t))t=this.buffer[++e];else{if("%"!==t||!kn.includes(this.buffer[e+1])||!kn.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 Pn{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t >1;this.lineStarts[r] =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 Nn(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||An(t.start,"explicit-key-ind")||An(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,In(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 Mn{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 jn,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&&Nn(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=!An(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===Cn(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.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 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||An(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(An(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(An(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(In(t.key)&&!An(t.sep,"newline")){const e=Tn(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(An(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Tn(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]}):An(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&&An(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||An(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=Tn($n(t));Nn(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=Tn($n(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=Tn($n(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 Ln(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new Pn||null,prettyErrors:t}}function Dn(e,t={}){const{lineCounter:n,prettyErrors:r}=Ln(t),o=new Mn(n?.addNewLine),i=new Zt(t),a=Array.from(i.compose(o.parse(e)));if(r&&n)for(const s of a)s.errors.forEach(At(e,n)),s.warnings.forEach(At(e,n));return a.length>0?a:Object.assign([],{empty:!0},i.streamInfo())}function Rn(e,t={}){const{lineCounter:n,prettyErrors:r}=Ln(t),o=new Mn(n?.addNewLine),i=new Zt(t);let a=null;for(const s of i.compose(o.parse(e),!0,e.length))if(a){if("silent"!==a.options.logLevel){a.errors.push(new jt(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else a=s;return r&&n&&(a.errors.forEach(At(e,n)),a.warnings.forEach(At(e,n))),a}function Fn(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 zn(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 Et(e,r,n).toString(n)}const Bn=o}}]); \ No newline at end of file diff --git a/assets/js/common.ac31d4d4.js.LICENSE.txt b/assets/js/common.94c6ed20.js.LICENSE.txt similarity index 100% rename from assets/js/common.ac31d4d4.js.LICENSE.txt rename to assets/js/common.94c6ed20.js.LICENSE.txt diff --git a/assets/js/common.ac31d4d4.js b/assets/js/common.ac31d4d4.js deleted file mode 100644 index b4eb6289..00000000 --- a/assets/js/common.ac31d4d4.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see common.ac31d4d4.js.LICENSE.txt */ -(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8592],{7501:(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 {"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const r=n(8458),o=n(5091),i=n(2579),a=n(8045);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 s=e[i],l=a.addToJSONPointer(n,i);o=this._runner.computeRef({key:i,val:s,jsonPointer:l,pointerStack:r}),t.push(i),void 0!==o?this._resolveRef({ref:o,val:s,parentPath:t,parentPointer:l,pointerStack:r,cacheKey:a.uriToJSONPointer(o),resolvingPointer:this.jsonPointer}):"object"==typeof s&&this.computeGraph(s,t,l,r),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:n,parentPointer:o,ref:s}=e;if(a.uriIsJSONPointer(s)){if(this._runner.dereferenceInline){const e=a.uriToJSONPointer(s);let u;try{u=(0,r.pointerToPath)(e)}catch(l){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${s}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let c=u.length>0;for(const t in u)if(n[t]!==u[t]){c=!1;break}if(c)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t {"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;n(2970).__exportStar(n(8737),t);var r=n(7501);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return r.Cache}});var o=n(2163);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return o.defaultGetRef}})},8737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const r=n(5091),o=n(7501),i=n(2163);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)}}},2163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const r=n(2970),o=n(8458),i=n(4441),a=n(5091),s=n(412),l=n(2579),u=n(6765),c=n(957),f=n(7156),d=n(7501),p=n(9728),h=n(8045),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 a.DepGraph({circular:!0}),s={}){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 c((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:a}=e,s=e.parentPath?e.parentPath.slice():[],l=this.computeUriCacheKey(n),c={uri:n,pointerStack:a,targetPath:r===i?[]:s};if(this.uriStack.includes(l))return c.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},c;{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:l,parentPath:s}),i&&(e.uriStack=e.uriStack.concat(i))}catch(f){c.error={code:"RESOLVE_URI",message:String(f),uri:n,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:a,path:s}}if(e&&(c.resolved=yield e.resolve({jsonPointer:h.uriToJSONPointer(n),parentPath:s}),c.resolved.errors.length))for(const a of c.resolved.errors)if("POINTER_MISSING"===a.code&&a.path.join("/")===n.fragment().slice(1)){const e=n.fragment?(0,o.trimStart)(a.path,(0,o.trimStart)(n.fragment(),"/").split("/")):a.path;e&&e.length?u(c.resolved.result,e,t):c.resolved.result&&(c.resolved.result=t)}}return c})),this.id=g+=1,this.depth=s.depth||0,this._source=e,this.resolvers=s.resolvers||{};const l=s.baseUri||"";let p=new c(l||"");this.isFile(p)&&(p=new c((0,i.toFSPath)(l))),this.baseUri=p,this.uriStack=s.uriStack||[],this.uriCache=s.uriCache||new d.Cache,this.root=s.root&&s.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=s.getRef||t.defaultGetRef,this.transformRef=s.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===s.dereferenceInline||s.dereferenceInline,this.dereferenceRemote=void 0===s.dereferenceRemote||s.dereferenceRemote,this.parseResolveResult=s.parseResolveResult,this.transformDereferenceResult=s.transformDereferenceResult,this.ctx=s.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=l(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 p.ResolveCrawler(this,r,t);i.computeGraph(t.result,n,r||"");let a=[];if(i.resolvers.length&&(a=yield Promise.all(i.resolvers)),a.length)for(const e of a){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,s.default)(this._source,(t=>{if(e.resolved){if(!r.length)return e.resolved.result;u(t,r,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,s.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 a=(0,o.pointerToPath)(r),c=0===a.length?(0,s.original)(e):l(e,a);for(const s of n){let n;const l=(0,o.pointerToPath)(s),f=i.pointerStemGraph.dependenciesOf(r);for(const e of f)if((0,o.startsWith)(l,(0,o.pointerToPath)(e))){n=!0;break}n||(t.refMap[(0,o.pathToPointer)(l)]=(0,o.pathToPointer)(a),this._setGraphNodeEdge(this.root,(0,o.pathToPointer)(l),(0,o.pathToPointer)(a)),void 0!==c?(u(e,l,c),this._setGraphNodeData((0,o.pathToPointer)(a),c)):t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist`,path:l,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(r){}}))),t.result=n?l(this._source,n):this._source):t.result=this._source,this.transformDereferenceResult){const o=new c(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},7156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const r=n(957);t.ExtendedURI=class extends r{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},8045:(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,a=0,s=i.indexOf(t);for(;s>-1;)o+=r.substring(a,a+s)+n,i=i.substring(s+t.length,i.length),a+=s+t.length,s=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()},8458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUNDLE_ROOT:()=>re,ERRORS_ROOT:()=>oe,KEYS:()=>Te,bundleTarget:()=>ie,decodePointer:()=>V,decodePointerFragment:()=>se,decodePointerUriFragment:()=>V,decycle:()=>le,encodePointer:()=>ue,encodePointerFragment:()=>D,encodePointerUriFragment:()=>z,encodeUriPointer:()=>F,extractPointerFromRef:()=>ce,extractSourceFromRef:()=>Z,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>pe,getLocationForJsonPath:()=>he,hasRef:()=>N,isExternalRef:()=>Y,isLocalRef:()=>M,isPlainObject:()=>C,parseTree:()=>ge,parseWithPointers:()=>me,pathToPointer:()=>B,pointerToPath:()=>H,remapRefs:()=>G,renameObjectKey:()=>_e,reparentBundleTarget:()=>ke,resolveExternalRef:()=>Ee,resolveExternalRefWithLocation:()=>Oe,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>ne,safeParse:()=>Se,safeStringify:()=>Pe,startsWith:()=>Ae,stringify:()=>Ce,toPropertyPath:()=>Ie,trapAccess:()=>Me,traverse:()=>W,trimStart:()=>Le});var r,o=n(6635),i=n(4441);function a(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,a=16,c=0,f=0,d=0,p=0,h=0;function m(t,n){for(var o=0,i=0;o =48&&a<=57)i=16*i+a-48;else if(a>=65&&a<=70)i=16*i+a-65+10;else{if(!(a>=97&&a<=102))break;i=16*i+a-97+10}r++,o++}return o =n)return i=n,a=17;var t=e.charCodeAt(r);if(s(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(s(t));return a=15}if(l(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),c++,d=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),h=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(l(i)){t+=e.substring(o,r),h=2;break}h=6}r++}else{if(t+=e.substring(o,r),++r>=n){h=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 a=m(4,!0);a>=0?t+=String.fromCharCode(a):h=4;break;default:h=5}o=r}}return t}(),a=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r =12&&e<=15);return e}:g,getToken:function(){return a},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return i-p},getTokenError:function(){return h}}}function s(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 l(e){return 10===e||13===e||8232===e||8233===e}function u(e){return e>=48&&e<=57}function c(e,t,n){void 0===n&&(n=r.DEFAULT);var o=a(e,!1);function i(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var l=i(t.onObjectBegin),u=s(t.onObjectProperty),c=i(t.onObjectEnd),f=i(t.onArrayBegin),d=i(t.onArrayEnd),p=s(t.onLiteralValue),h=s(t.onSeparator),m=i(t.onComment),g=s(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?p(t):u(t),b(),!0}function k(){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,[],[]),h(","),b(),4===o.getToken()&&v)break}else e&&_(6,[],[]);k()||_(4,[],[4,5]),e=!0}return d(),4!==o.getToken()?_(8,[4],[]):b(),!0}();case 1:return function(){l(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),h(","),b(),2===o.getToken()&&v)break}else e&&_(6,[],[]);(10!==o.getToken()?(_(3,[],[2,5]),0):(w(!1),6===o.getToken()?(h(":"),b(),k()||_(4,[],[2,5])):_(5,[],[2,5]),1))||_(4,[],[2,5]),e=!0}return c(),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)}p(e);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()?!!n.allowEmptyContent||(_(4,[],[]),!1):k()?(17!==o.getToken()&&_(9,[],[]),!0):(_(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(r||(r={}));var f=a,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 "}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)){k(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 k(e,t){if(function(){if("undefined"==typeof process||!_(process)||!_(process.env))return!1;return!1}()&&!w(e))throw new TypeError(t)}var x,E,O,S,j;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(x||(x={})),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"}(E||(E={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(O||(O={})),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"}(j||(j={}));var P=n(7822),A=n.n(P);function C(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 I(e,t,n){if(!C(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${n}'`)}function $(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const T=e=>C(e)&&"$ref"in e,N=e=>T(e)&&"string"==typeof e.$ref,M=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),L=(e,t,n)=>{const r=e.toString();let o="",i=r,a=0,s=i.indexOf(t);for(;s>-1;)o+=r.substring(a,a+s)+n,i=i.substring(s+t.length,i.length),a+=s+t.length,s=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o},D=e=>"number"==typeof e?e:L(L(e,"~","~0"),"/","~1"),R=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function F(e){return e.replace(R,encodeURIComponent)}const z=e=>{const t=D(e);return"number"==typeof t?t:F(t)},B=e=>q(e),q=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(z).join("/")}`};function U(e){try{return decodeURIComponent(e)}catch(t){return e}}const Q=/%[0-9a-f]+/gi,V=e=>{let t;try{t=decodeURIComponent(e)}catch(n){t=e.replace(Q,U)}return L(L(t,"~1","/"),"~0","~")},H=e=>K(e),K=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 {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&&J(r,t,n.concat(o))}t.onLeave&&t.onLeave(r)},W=(e,t)=>{"object"==typeof e&&null!==e&&J(e,"function"==typeof t?{onProperty:t}:t,[])};function G(e,t,n){W(e,{onProperty({property:e,propertyValue:r,parent:o}){"$ref"===e&&"string"==typeof r&&r.startsWith(t)&&(o.$ref=`${n}${r.slice(t.length)}`)}})}const Y=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!Y(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function X(e,t){return C(t)&&C(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){T(e.value)&&($(e.value),yield[-1,e.value]);for(const[r,o]of t.entries())I(e.value,o,n),e.value=e.value[o],T(e.value)&&($(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=H(n);let a=[...i];"#"===n&&T(t)&&($(t),i.unshift(...H(t.$ref)));const s={value:t};for(const[l,u]of ee(s,i,n)){if(r.includes(u))return{source:null,location:null!=o?o:a,value:r[r.length-1]};r.push(u);const n=e(t,u.$ref,r,a);s.value=n.value,(a=n.location).push(...i.slice(l+1))}return{source:null,location:a,value:r.length>0?X(r[r.length-1],s.value):s.value}}(e,t,[])}const re="#/__bundled__",oe="#/__errors__",ie=({document:e,path:t,bundleRoot:n="#/__bundled__",errorsRoot:r="#/__errors__",cloneDocument:i=!0,keyProvider:a},s)=>{if(t===n||t===r)throw new Error("Roots do not make any sense");const l=i?(0,o.cloneDeep)(e):e;return ae(l,H(n),H(r),t,a)(t,{[t]:!0},s)},ae=(e,t,n,r,i)=>{const a=new Set,s=(l,u,c,f={},d={},p={})=>{const h=H(l),m=(0,o.get)(e,h);W(c||m,{onEnter:({value:n})=>{if(N(n)&&M(n.$ref)){const c=n.$ref;if(p[c])return;if(c===l&&(f[c]="#"),f[c])return void(n.$ref=f[c]);let h,m,g,y,v;try{let n;h=H(c),i&&(n=i({document:e,path:h})),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:h})),g=n;let r=1;for(;a.has(g);)if(g=`${n}_${++r}`,r>20)throw new Error(`Keys ${n}_2 through ${n}_20 already taken.`);a.add(g),m=[...t,g],y=B(m)}catch(e){p[c]=e instanceof Error?e.message:String(e)}if(!h||!m||!y)return;if("object"==typeof e&&null!==e&&!(v=(0,o.get)(e,h)))try{v=te(Object(e),c)}catch(e){}void 0!==v&&(f[c]=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),"#"===c?function(e,t,n,r){const i=n.map((e=>`[${JSON.stringify(e)}]`)).join(""),a=JSON.parse(JSON.stringify((0,o.omit)(Object(e),i))),s={};(0,o.set)(t,r,a),(0,o.set)(a,n,s),G(a,"#",B(r)),s.$ref="#"}(e,d,H(r),m):u[c]||(u[c]=!0,s(l,u,v,f,d,p),u[c]=!1)))}}});const g=(0,o.get)(d,t);return g&&Object.keys(g).length&&(0,o.set)(m,t,g),(Object.keys(p).length||(0,o.has)(e,n))&&(0,o.set)(m,n,(0,o.has)(e,n)?(0,o.get)(e,n):p),m};return s},se=e=>L(L(e,"~1","/"),"~0","~"),le=(e,t)=>{const n=new WeakMap;return function e(r,o){let i;if(t&&(r=t(r)),C(r)||Array.isArray(r)){const t=n.get(r);return t?{$ref:t}:(n.set(r,B(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,[])},ue=e=>L(L(e,"~","~0"),"//","/~1"),ce=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 a=p(i);return 0!==a.length?a:void 0};function pe(e){return se(e.split("/").pop()||"")}const he=({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,a=[];const s=new WeakMap,l=[];function u(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function c(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(a)?a.push(e):null!==i&&(a[i]=e)}function p(e){d(e),l.push(a),a=e,i=null}function g(){a=l.pop()}h(e,{onObjectBegin:(e,t,r,i)=>{o=f({type:"object",offset:e,length:-1,parent:o,children:[],range:c(r,i,t)}),!1===n.ignoreDuplicateKeys&&s.set(o,[]),p(function(e){return e?b({}):{}}(!0===n.preserveKeyOrder))},onObjectProperty:(e,r,l,u,d)=>{if((o=f({type:"property",offset:r,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:r,length:l,parent:o}),!1===n.ignoreDuplicateKeys){const n=s.get(o.parent);n&&(0!==n.length&&n.includes(e)?t.push({range:c(u,d,l),message:"DuplicateKey",severity:O.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))}(a,e),i=e},onObjectEnd:(e,t,r,i)=>{!1===n.ignoreDuplicateKeys&&s.delete(o),o.length=e+t-o.offset,o.range&&(o.range.end.line=r,o.range.end.character=i+t),o=o.parent,u(e+t),g()},onArrayBegin:(e,t,n,r)=>{o=f({type:"array",offset:e,length:-1,parent:o,children:[],range:c(n,r,t)}),p([])},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,u(e+t),g()},onLiteralValue:(e,t,n,r,i)=>{f({type:ye(e),offset:t,length:n,parent:o,value:e,range:c(r,i,n)}),u(t+n),d(e)},onSeparator:(e,t)=>{"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&u(t))},onError:(e,n,r,o,i)=>{t.push({range:c(o,i,r),message:m(e),severity:O.Error,code:e})}},n);const v=o.children[0];return v&&delete v.parent,{ast:v,data:a[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 {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 C(e)||Array.isArray(e)}function ke(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=H(t);let o=e;for(const s of r){if(!we(o))return;o=o[s]}if(!we(o))return;const i=H(n);let a=e;for(const[s,l]of i.entries()){if(!we(a)||l in a)return;const e=s===i.length-1?o:{};a[l]=e,a=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||!M(i))continue;0===i.indexOf(n)&&(t[o]=i.replace(n,r))}}}(e,t,n)}async function xe(e,t,n,r,o){let a=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 s=ce(n)||"#",l=await e[a],u=H(s);let c=[...u];const f={value:l};for(const[i,d]of ee(f,u,s)){if(r.includes(d))return{source:t,location:null!=o?o:c,value:r[r.length-1]};r.push(d);const n=await xe(e,a,d.$ref,r,c);({source:a,location:c}=n),f.value=n.value,c.push(...u.slice(i+1))}return{source:a,location:c,value:r.length>0?X(r[r.length-1],f.value):f.value}}async function Ee(e,t,n){return(await Oe(e,t,n)).value}function Oe(e,t,n){return xe(e,t,n,[])}const Se=(e,t)=>{if("string"!=typeof e)return e;try{const n=je(e);return"string"==typeof n?n:JSON.parse(e,t)}catch(e){return}},je=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},Pe=(e,t,n)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,n)}catch(r){return A()(e,t,n)}},Ae=(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},Ce=(e,t,n)=>{const r=Pe(e,t,n);if(void 0===r)throw new Error("The value could not be stringified");return r};function Ie(e){return e.replace(/^(\/|#\/)/,"").split("/").map(se).map($e).join(".")}function $e(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Te=Symbol.for(g),Ne={ownKeys:e=>Te in e?e[Te]:Reflect.ownKeys(e)},Me=e=>new Proxy(e,Ne);function Le(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)}},4441:(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:()=>c,deserializeSrn:()=>w,dirname:()=>f,extname:()=>d,format:()=>r,isAbsolute:()=>p,isURL:()=>h,join:()=>m,normalize:()=>s,parse:()=>a,relative:()=>g,resolve:()=>y,sep:()=>v,serializeSrn:()=>k,startsWithWindowsDrive:()=>b,stripRoot:()=>_,toFSPath:()=>s}),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 0){for(t=1,r=1;t J&&(J=H,W=[]),W.push(e))}function te(){var t;return(t=function(){var e,t,n,r,o;return e=H,(t=ne())!==s&&(n=re())!==s&&(r=ie())!==s&&(o=ae())!==s?e=t=c(t,n,r,o):(H=e,e=s),e===s&&(e=H,(t=ne())!==s&&(n=re())!==s&&(r=function(){var e;return(e=v)!==s&&(e=T()),e}())!==s?e=t=f(t,n,r):(H=e,e=s)),e}())===s&&(t=function(){var t,n,r,o;return t=H,(n=function(){var t;return e.substr(H,7).toLowerCase()===w?(t=e.substr(H,7),H+=7):(t=s,ee(k)),t===s&&(e.substr(H,5).toLowerCase()===x?(t=e.substr(H,5),H+=5):(t=s,ee(E))),t!==s&&(t=O()),t}())!==s&&(r=oe())!==s&&(o=ae())!==s?t=n=_(n,r,o):(H=t,t=s),t}())===s&&(t=function(){var e,t,n;return e=H,(t=oe())!==s&&(n=ae())!==s?e=t=S(t,n):(H=e,e=s),e}())===s&&(t=function(){var t,n;return t=H,function(){var t;return(t=function(){var t,n,r;return t=H,46===e.charCodeAt(H)?(n=R,H++):(n=s,ee(F)),n!==s&&(r=le())!==s?t=n=[n,r]:(H=t,t=s),t}())===s&&(t=v),t}()!==s&&(n=ae())!==s?t=N(n):(H=t,t=s),t}()),t}function ne(){var t,n;return e.substr(H,7).toLowerCase()===d?(n=e.substr(H,7),H+=7):(n=s,ee(p)),n!==s&&(n=h()),(t=n)===s&&(t=function(){var t;return e.substr(H,8).toLowerCase()===m?(t=e.substr(H,8),H+=8):(t=s,ee(g)),t!==s&&(t=y()),t}()),t}function re(){var t,n,r;if(t=H,n=[],(r=ue())!==s)for(;r!==s;)n.push(r),r=ue();else n=s;return(t=n!==s?e.substring(t,H):n)===s&&(t=H,(n=v)!==s&&(n=b()),t=n),t}function oe(){var t;return(t=function(){var t,n,r,o;return t=H,(n=le())===s&&(n=null),n!==s?(j.test(e.charAt(H))?(r=e.charAt(H),H++):(r=s,ee(P)),r!==s?(58===e.charCodeAt(H)?(o=A,H++):(o=s,ee(C)),o!==s&&le()!==s?t=n=I(r):(H=t,t=s)):(H=t,t=s)):(H=t,t=s),t}())===s&&(t=ie()),t}function ie(){var e;return(e=le())!==s&&(e=$()),e}function ae(){var e;return(e=function e(){var t,n,r;return t=H,(n=se())!==s&&le()!==s&&(r=e())!==s?t=n=L(n,r):(H=t,t=s),t===s&&(t=H,(n=se())!==s&&(n=D(n)),t=n),t}())!==s&&(e=M(e)),e}function se(){var t,n,r;if(t=H,n=[],(r=ue())!==s)for(;r!==s;)n.push(r),r=ue();else n=s;return(t=n!==s?e.substring(t,H):n)===s&&(t=v),t}function le(){var t;return 47===e.charCodeAt(H)?(t=z,H++):(t=s,ee(B)),t===s&&(92===e.charCodeAt(H)?(t=q,H++):(t=s,ee(U))),t}function ue(){var t;return Q.test(e.charAt(H))?(t=e.charAt(H),H++):(t=s,ee(V)),t}if((n=u())!==s&&H===e.length)return n;throw n!==s&&H ""!==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 u(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 c=(e,t)=>{const n=l(a(e)).path.pop();if(!n)return"";const{name:r,ext:o}=u(n);return!0===t||t===o?r:`${r}${o}`},f=e=>{const t=l(a(e));return t.path.pop(),r(l(t))},d=e=>{const t=l(a(e)).path.pop();if(!t)return"";const{ext:n}=u(t);return n};function p(e){return a(e).absolute}function h(e){const t=a(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(a),n=Object.assign({},t[0]);for(let r=1;r null!==a(e).drive,_=e=>a(e).path.filter(Boolean).join("/");function w(e){const[t,n,r,...o]=e.split("/"),i=o.length?`/${o.join("/")}`:void 0;let a,s;return i&&(a=o.find((e=>e.includes("."))))&&(s=u(a).ext),{shortcode:t,orgSlug:n,projectSlug:r,uri:i,file:a,ext:s}}function k({shortcode:e,orgSlug:t,projectSlug:n,uri:r=""}){return[e,t,n,r.replace(/^\//,"")].filter(Boolean).join("/")}},5750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>F});var r=n(2784),o=n(9741),i=n(489),a=n(361),s=n(7683);function l(){const{prism:e}=(0,s.L)(),{colorMode:t}=(0,a.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var u=n(211),c=n(4501),f=n.n(c);const d=/title=(? ["'])(?.*?)\1/,p=/\{(? [\d,-]+)\}/,h={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...h,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(h);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&&p.test(i)){const e=i.match(p).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 a=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"vbnet":case"vba":case"visual-basic":return y(["vb","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),s=n.split("\n"),l=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),u=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),c=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 void 0!==e));u[t]?l[u[t]].range+=`${f},`:c[t]?l[c[t]].start=f:d[t]&&(l[d[t]].range+=`${l[d[t]].start}-${f-1},`),s.splice(f,1)}n=s.join("\n");const h={};return Object.entries(l).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{h[e]??=[],h[e].push(t)}))})),{lineClassNames:h,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(2322);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}(l());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,u.k.common.codeBlock)})}const k={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function x(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(k.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:k.codeBlockLines,children:t})})}var E=n(6335);const O={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=O);const o=(0,E.zX)(t),i=(0,E.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 j=n(6935);const P={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function A(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const s=o({line:t,className:(0,i.Z)(n,r&&P.codeLine)}),l=t.map(((e,t)=>(0,_.jsx)("span",{...a({token:e,key:t})},t)));return(0,_.jsxs)("span",{...s,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:P.codeLineNumber}),(0,_.jsx)("span",{className:P.codeLineContent,children:l})]}):l,(0,_.jsx)("br",{})]})}var C=n(1077);function I(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 $(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 T={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function N(e){let{code:t,className:n}=e;const[o,a]=(0,r.useState)(!1),s=(0,r.useRef)(void 0),l=(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(),a=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let s=!1;try{s=document.execCommand("copy")}catch{}r.remove(),a&&(i.removeAllRanges(),i.addRange(a)),o&&o.focus()}(t),a(!0),s.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,C.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,C.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,C.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,T.copyButton,o&&T.copyButtonCopied),onClick:l,children:(0,_.jsxs)("span",{className:T.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(I,{className:T.copyButtonIcon}),(0,_.jsx)($,{className:T.copyButtonSuccessIcon})]})})}function M(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 L={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function D(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,C.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&&L.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(M,{className:L.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:a,showLineNumbers:u,language:c}=e;const{prism:{defaultLanguage:f,magicComments:p}}=(0,s.L)(),h=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=l(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),a=(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]),s=(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,s),(0,r.useEffect)((()=>{s()}),[e,s]),(0,r.useEffect)((()=>(window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s)})),[s]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:a}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||a,{lineClassNames:b,code:x}=v(t,{metastring:o,language:h,magicComments:p}),E=u??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`),children:[y&&(0,_.jsx)("div",{className:k.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:k.codeBlockContent,children:[(0,_.jsx)(j.y$,{theme:m,code:x,language:h??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:a}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,k.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(k.codeBlockLines,E&&k.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)(A,{line:e,getLineProps:o,getTokenProps:a,classNames:b[t],showLineNumbers:E},t)))})})}}),(0,_.jsxs)("div",{className:k.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(D,{className:k.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(N,{className:k.codeButton,code:x})]})]})]})}function F(e){let{children:t,...n}=e;const i=(0,o.Z)(),a=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof a?R:x;return(0,_.jsx)(s,{...n,children:a},String(i))}},8480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(2784),o=n(489),i=n(9741),a=n(8698);const s={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var l=n(2322);function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function c(e,t){return!!e&&(e===t||c(e.parentElement,t))}function f(e){let{summary:t,children:n,...f}=e;const d=(0,i.Z)(),p=(0,r.useRef)(null),{collapsed:h,setCollapsed:m}=(0,a.u)({initialState:!f.open}),[g,y]=(0,r.useState)(f.open),v=r.isValidElement(t)?t:(0,l.jsx)("summary",{children:t??"Details"});return(0,l.jsxs)("details",{...f,ref:p,open:g,"data-collapsed":h,className:(0,o.Z)(s.details,d&&s.isBrowser,f.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;u(t)&&c(t,p.current)&&(e.preventDefault(),h?(m(!1),y(!0)):m(!0))},children:[v,(0,l.jsx)(a.z,{lazy:!1,collapsed:h,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{m(e),y(!e)},children:(0,l.jsx)("div",{className:s.collapsibleContent,children:n})})]})}const d={details:"details_SZgV"},p="alert alert--info";function h(e){let{...t}=e;return(0,l.jsx)(f,{...t,className:(0,o.Z)(p,d.details,t.className)})}},2009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(2784);var r=n(489);const o={tabItem:"tabItem_OMyP"};var i=n(2322);function a(e){let{children:t,hidden:n,className:a}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,a),hidden:n,children:t})}},7336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r=n(2784),o=n(489),i=n(4126),a=n(7267),s=n(164),l=n(2424),u=n(2244),c=n(4155);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 child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every 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,u.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 . Every value needs to be unique.`)}(e),e}),[t,n])}function p(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function h(e){let{queryString:t=!1,groupId:n}=e;const o=(0,a.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 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,l._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),[a,l]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!p({value:t,tabValues:n}))throw new Error(`Docusaurus error: The 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}))),[u,f]=h({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,c.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=u??m;return p({value:e,tabValues:i})?e:null})();(0,s.Z)((()=>{y&&l(y)}),[y]);return{selectedValue:a,selectValue:(0,r.useCallback)((e=>{if(!p({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);l(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(9741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(2322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:a,tabValues:s}=e;const l=[],{blockElementScrollPositionUntilNextRender:u}=(0,i.o5)(),c=e=>{const t=e.currentTarget,n=l.indexOf(t),o=s[n].value;o!==r&&(u(t),a(o))},f=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=l.indexOf(e.currentTarget)+1;t=l[n]??l[0];break}case"ArrowLeft":{const n=l.indexOf(e.currentTarget)-1;t=l[n]??l[l.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:s.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=>l.push(e),onKeyDown:f,onClick:c,...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,{...e,...t}),(0,v.jsx)(_,{...e,...t})]})}function k(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},4963: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)),a=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.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")))}},8800: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)),a=n(9966),s=n(4598),l=n(7740),u=n(4884);t.default=function(e){let{schema:t}=e;const n=(0,s.useJSVOptionsContext)(),r="boolean"!=typeof t,c=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.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(l.QualifierMessages,{schema:t,options:n})),void 0!==c&&o.default.createElement(u.CreateDescription,{description:c}))}},8753: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},6187: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(4598);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)}},5093: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},8938: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,description:n}=e,r=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.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(l.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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,u=(0,a.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:r})),void 0!==n&&o.default.createElement(l.CreateDescription,{description:n}))}},6559: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(7740),a=n(4598),s=n(9966),l=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,u=(0,a.useJSVOptionsContext)(),c=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.StringLabel,{format:c}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:u,nullable:n})),void 0!==r&&o.default.createElement(l.CreateDescription,{description:r}))}},5566: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(4598),a=n(5685);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,a.printSchemaType)(t)}},5901: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(1074);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}}))}},1892: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(4043);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})}},9131: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(4043);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})}},4742: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let c=[{value:"schema_if",label:o.default.createElement(u.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(u.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(u.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(a.default,{defaultValue:"schema_if",values:c},c.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(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(s.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(s.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(s.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},1074: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(4742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(1892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var a=n(9131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(a).default}});var s=n(5901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(s).default}});var l=n(4845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(l).default}})},3303: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)),a=n(2204),s=n(4598);function l(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(s.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(a.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(l,{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)),a=n(2204),s=n(4598);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(s.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(a.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},5242: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(559)),a=r(n(3606)),s=r(n(7610)),l=r(n(3303)),u=r(n(6912)),c=n(7740),f=n(4598),d=n(9966),p=n(4884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,h=(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(s.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(c.QualifierMessages,{schema:t,options:h,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},559: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)),a=n(2204),s=n(4598);function l(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),u=Array.isArray(n)?n:[n],c=u.length;return o.default.createElement("ul",null,u.map(((e,n)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(a.CreateEdge,{name:o.default.createElement(l,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=c})))))}},7610: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)),a=n(2204),s=n(4598);function l(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,u=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,u.map(((e,n)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(a.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(l,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},6912: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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(a.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(l,null),schema:n,required:!1})))}},9820: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(5242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},4884: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(4043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(1074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var a=n(2313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return a.CreateObject}});var s=n(9820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return s.CreateArray}});var l=n(6559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(l).default}});var u=n(8753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(u).default}});var c=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(c).default}});var f=n(5093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(8938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var p=n(8800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(p).default}});var h=n(4963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(h).default}});var m=n(6187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(5566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},4446: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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(a.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(l,null),schema:n,required:!1})))}},8315: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(4446)),a=r(n(8439)),s=r(n(2190)),l=r(n(2457)),u=r(n(4595)),c=r(n(1431)),f=n(7740),d=n(4598),p=n(9966),h=n(4884);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(p.TypeLabel,null),"\xa0:\xa0",o.default.createElement(p.ObjectLabel,null),o.default.createElement(u.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(c.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(h.CreateDescription,{description:r}))}},2190: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),a=n(4598),s=n(7740);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(a.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,s.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},8439: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),a=n(4598),s=n(7740);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(a.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,s.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)}))})))}},2457: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),a=n(4598);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,s={...n};return delete s.pattern,o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:s,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)),a=n(2204),s=n(4598);function l(){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(s.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(a.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(l,null),schema:n,required:!1})))}},4595: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),a=n(4598),s=n(7740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),l=n.filter((e=>!r.includes(e)));return 0===l.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,l.map(((e,t)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,s.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},2313: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(8315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},5296: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},4517: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},4043: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(213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(4517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var a=n(9549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(a).default}});var s=n(3291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(s).default}});var l=n(7228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(l).default}})},3291: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),a=n(4598);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(a.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},9549: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(2009)),a=r(n(7336)),s=n(2204),l=n(4598),u=n(7740);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(a.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(u.GenerateFriendlyName,{schema:e})},o.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(s.CreateNodes,{schema:e})))))))}},7228: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(4043);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}))}},3327: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(8480));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)}},279: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})}},2360: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),a=n(4884),s=n(2204),l=n(7740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.CreateValidOrInvalid,{schema:t});const n=(0,l.isSchemaComposition)(t),r=(0,l.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(a.SchemaComposition,{schema:t}),r&&o.default.createElement(a.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(2009)),a=r(n(7336)),s=n(2204),l=n(7740);function u(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(s.RenderProvidedType,{schema:t,type:n,nullable:r})}function c(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(a.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(s.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,l.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(u,{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(s.TypeLabelSwitch,{type:e})})));return o.default.createElement(c,{schema:t,types:e,nullable:r})}return(0,l.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(s.CreateValidOrInvalid,{schema:t})}},7189: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(4884);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))}},9798: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(4884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const a={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...a});case"object":return o.default.createElement(i.CreateObject,{schema:t,...a});case"string":return o.default.createElement(i.CreateString,{schema:t,...a});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...a});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...a});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...a});default:return o.default.createElement(i.CreateNull,{schema:t,...a})}}},5321: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),a=n(4598),s=n(9966),l=n(7740),u=r(n(6448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:c,level:f}=(0,a.useSchemaHierarchyContext)();let d=t,p="boolean"!=typeof d&&!0===d.deprecated,h="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=!p&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(l.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(s.RequiredLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(s.DeprecatedLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(s.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(s.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(s.ConstantLabel,null));return o.default.createElement("li",{className:u.default.schemaItem,id:c,"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}))))}},80: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(3327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(4130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var a=n(279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(a).default}});var s=n(7189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(s).default}});var l=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(l).default}});var u=n(80);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(u).default}});var c=n(9798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(c).default}});var f=n(5321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},4598: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(168),t),o(n(121),t)},168:(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},121: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 a=i(n(2784));t.SchemaHierarchyContext=(0,a.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,a.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 a.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},56: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 a=i(n(2784)),s=n(28),l=n(2204),u=n(4598),c=n(9966);function f(e){const{error:t}=e;return a.default.createElement("div",null,a.default.createElement(c.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 a.default.createElement(u.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},a.default.createElement(u.JSVOptionsContextProvider,{value:o},a.default.createElement(l.Collapsible,{summary:a.default.createElement("strong",null,r),detailsProps:{open:!0}},a.default.createElement(l.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,a.useState)(void 0),[l,u]=(0,a.useState)(void 0);return(0,a.useEffect)((()=>{(new s.Resolver).resolve(t,n).then((e=>{u(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?a.default.createElement(f,{error:o}):void 0===l?a.default.createElement(c.LoadingLabel,null):a.default.createElement(d,{schema:l,viewerOptions:r})}},4929: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)}},3492: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"))}},9277: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"))}},9164: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)),a=r(n(9754));t.default=function(){return o.default.createElement("strong",{className:a.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},5548: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)),a=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:a.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},6113: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"))}},3297: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}")}},4315: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"))}},1380: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"))}},5973: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 ...."))}},3204: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"))}},7487: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"))}},3594: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"))}},7532: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)}},3373: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)),a=r(n(5950));t.default=function(){return o.default.createElement("strong",{className:a.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},5405: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)),a=r(n(3654));t.default=function(){return o.default.createElement("strong",{className:a.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},4591: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})`))}},7502: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"))}},3978: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"))}},4731: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"))}},2093: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)),a=r(n(5128));t.default=function(){return o.default.createElement("strong",{className:a.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},5006: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(3594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(3492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var a=n(4731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(a).default}});var s=n(1380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(s).default}});var l=n(7502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(l).default}});var u=n(6113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(c).default}});var f=n(3297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(5405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var p=n(5548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(p).default}});var h=n(3373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(h).default}});var m=n(2093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(3978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(4315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(4591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(9277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(7487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(5973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var k=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(4929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(x).default}});var E=n(7532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(E).default}});var O=n(3204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(O).default}});var S=n(5006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var j=n(9164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(j).default}})},3325: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)),a=n(9966);function s(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 l(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 u=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"},u,"\xa0",void 0!==n.minContains&&o.default.createElement(s,{value:n.minContains}),r&&o.default.createElement(a.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(l,{value:n.maxContains}))}},877: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)),a=n(9966);function s(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 l(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(s,{value:t.minItems}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(l,{value:t.maxItems}))}},2065: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)}},9705: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)),a=n(4884);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(a.CreateValue,{value:t.const,schema:t}))}},7131: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)),a=n(5685);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,a.printSchemaType)(t.contentEncoding))}},6884: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)),a=n(5685);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,a.printSchemaType)(t.contentMediaType))}},5734: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)),a=n(2204),s=n(4598);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(a.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(a.CreateNodes,{schema:t.contentSchema}))))}},9617: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)),a=n(4884);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(a.CreateValue,{value:t.default,schema:t}))}},9272: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)}},8661: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)),a=n(4884);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(a.CreateValue,{value:e,schema:t}))))))}},1499: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)),a=r(n(2009)),s=r(n(7336)),l=n(4884);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(s.default,null,r.map((e=>o.default.createElement(a.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(l.CreateValue,{value:e.value,schema:t}))))))}},4785: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)}},1722: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)}},1165: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)),a=n(9966);function s(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 l(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,u=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==u,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(s,{exclusive:r,value:n})),f&&o.default.createElement(a.AndLabel,null),void 0!==u&&o.default.createElement("code",null,o.default.createElement(l,{exclusive:c,value:u})))}},2040: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}")))}},5769: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)),a=n(9966);function s(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 l(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(s,{value:t.minProperties}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(l,{value:t.maxProperties}))}},4490: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))}},6272: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},a=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 s=a(n(2784)),l=i(n(5685)),u=n(7639),c={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>s.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>s.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>s.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>s.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.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:()=>s.default.createElement(l.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 s.default.createElement(l.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 s.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return s.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>s.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return s.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return s.default.createElement(l.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 s.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return s.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,u.hasUnresolvedRefs)(t)},Component:e=>s.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=c;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"]},8870: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)),a=n(9966);function s(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 l(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(s,{value:t.minLength}),n&&o.default.createElement(a.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(l,{value:t.maxLength}))}},951: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 a=[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",a))}},4832: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)}},5685: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(5750));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 a=n(8661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(a).default}});var s=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(s).default}});var l=n(5769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(l).default}});var u=n(1722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(c).default}});var f=n(3325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(4785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var p=n(1165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(p).default}});var h=n(4490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(h).default}});var m=n(2040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(2065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(9617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(9705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(1499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(9272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(8870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var k=n(4832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(x).default}});var E=n(6884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(E).default}});var O=n(7131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(O).default}});var S=n(5734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var j=n(951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(j).default}});var P=n(6272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return P.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return P.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)]}},1168:(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")}},578: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(7740),a=n(2204),s=n(9966);function l(e,t){return!(t<=1)&&e!==t-1}function u(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.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(c,{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}),l(r,n.length)&&o.default.createElement(s.OrLabel,null)))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.NotLabel,null)," ( ",o.default.createElement(u,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(s.OrLabel,null):t.oneOf?o.default.createElement(s.XorLabel,null):o.default.createElement(s.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(u,{schema:t}),l(r,n.length)&&e))))}return o.default.createElement(a.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(a.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(a.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(a.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(u,{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(u,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(u,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(u,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(u,{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,l(t,n.length)&&","))),")[]")}t.default=u},2223: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(5685);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))))}},7740: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 a=n(578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(a).default}});var s=n(2223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(s).default}}),o(n(7639),t),o(n(1168),t)},3700: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 a=i(n(1102)),s=n(7107);function l(e,t){if(!t)return e;let n=a.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 a.stringify(n)}function u(e){return 1===Object.keys(e).length&&"id"in e}function c(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 u(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,u=s.schemaYamls[r];if(!u)throw new Error(`Unknown schema with $id "${r}"`);const c=l(u,i),f=a.parse(c),d=a.parse(u);return{id:r,pointer:i,yaml:c,schema:f,rootSchema:d}}({schema:t,pointer:n}):c(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=l(t,n),o=a.parse(r),i=a.parse(t),s=o.$id;return s?{id:s,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=l(a.stringify(t),n),o=a.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=u,t.referencesYaml=c},9372: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(3700),t);var i=n(2109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},2109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(3700),o=n(7107);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)),{})},7107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"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":'$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:\n - group\n - required:\n - list\n - required:\n - if\n - if:\n required:\n - group\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required:\n - list\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required:\n - if\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\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\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 - type: integer\n description: A non-negative integer literal\n min: 0\n\n - type: string\n description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n pattern: "^0x[0-9a-fA-F]{1,}$"\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 (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 `{ ". ": " " }`, to\n denote that this expression is equivalent to the defined value for\n the property named ` ` inside the region referenced as\n ` `.\n\n ` ` **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": " " }`. 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": " " }` 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\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":'$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\noneOf:\n - $ref: "schema:ethdebug/format/pointer/region"\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 # 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: 0\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: "array-item"\n length: $wordsize\n\n - # example `struct Record { uint128 x; uint128 y }` in memory\n group:\n - name: "struct-start"\n location: stack\n slot: 0\n\n - name: "struct-member-0"\n location: memory\n # the first struct member begins at the offset indicated by the value\n # at "struct-start"\n offset:\n $read: "struct-start"\n length: $wordsize\n\n - name: "struct-member-1"\n location: memory\n # the second struct member immediately follows the first\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\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 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: 0\n offset:\n $difference:\n - $wordsize\n - 1\n length: 1\n\n # long strings may use full word to describe length as 2n+1\n - name: "long-length-data"\n location: storage\n slot:\n .slot: "length-flag"\n offset: 0\n length: $wordsize\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $read: "length-flag"\n - 2\n then:\n name: "string"\n location: storage\n slot:\n $keccak256:\n - .slot: "length-flag"\n offset: 0\n length:\n # length n is encoded as 2n+1\n $quotient:\n - $difference:\n - $read: "long-length-data"\n - 1\n - 2\n else:\n name: "string"\n location: storage\n slot:\n .slot: "length-flag"\n offset: 0\n length:\n # length n is encoded as 2n\n $quotient:\n - $read: "length-flag"\n - 2\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 source:\n type: object\n properties:\n id:\n type:\n - string\n - number\n range:\n type: object\n properties:\n offset:\n type: number\n length:\n type: number\n\nanyOf:\n - title: Required `name`\n required:\n - name\n - title: Required `source`\n required:\n - source\n\nexamples:\n - name: Ballot\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 type: number\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 minimum: 1\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: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\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: number\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: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\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: number\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 oneOf:\n - $ref: "schema:ethdebug/format/type"\n - $ref: "schema:ethdebug/format/type/reference"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n 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 oneOf:\n - $ref: "schema:ethdebug/format/type/elementary"\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'}},9536:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Fr});var r={};n.r(r),n.d(r,{boolean:()=>E,booleanish:()=>O,commaOrSpaceSeparated:()=>C,commaSeparated:()=>A,number:()=>j,overloadedBoolean:()=>S,spaceSeparated:()=>P});var o={};n.r(o),n.d(o,{attentionMarkers:()=>un,contentInitial:()=>nn,disable:()=>cn,document:()=>tn,flow:()=>on,flowInitial:()=>rn,insideSpan:()=>ln,string:()=>an,text:()=>sn});n(2784);var i=n(56),a=n.n(i),s=n(5750),l=n(7336),u=n(2009),c=n(9372);const f={"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"].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/expression#/$defs/Literal":{title:"Literal values schema",href:"/spec/pointer/expression#literal-values"},"schema:ethdebug/format/pointer/expression#/$defs/Scalar":{title:"Scalar variable expression schema",href:"/spec/pointer/expression#scalar-variables"},"schema:ethdebug/format/pointer/expression#/$defs/Arithmetic":{title:"Arithmetic operation expression schema",href:"/spec/pointer/expression#arithmetic-operations"},"schema:ethdebug/format/pointer/expression#/$defs/Lookup":{title:"Lookup expression schema",href:"/spec/pointer/expression#lookup-region-definition"},"schema:ethdebug/format/pointer/expression#/$defs/Read":{title:"Read expression schema",href:"/spec/pointer/expression#reading-from-the-evm"},"schema:ethdebug/format/pointer/expression#/$defs/Keccak256":{title:"Keccak256 hash expression schema",href:"/spec/pointer/expression#keccak256-hashes"},"schema:ethdebug/format/pointer/expression#/$defs/Reference":{title:"Region reference",href:"/spec/pointer/expression#region-references"}};var d=n(5849);const p=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,m={};function g(e,t){return((t||m).jsx?h:p).test(e)}const y=/[ \t\n\f\r]/g;function v(e){return""===e.replace(y,"")}class b{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function _(e,t){const n={},r={};let o=-1;for(;++o "xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),R=L({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function F(e,t){return t in e?e[t]:t}function z(e,t){return F(e,t.toLowerCase())}const B=L({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:z,properties:{xmlns:null,xmlnsXLink:null}}),q=L({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:O,ariaAutoComplete:null,ariaBusy:O,ariaChecked:O,ariaColCount:j,ariaColIndex:j,ariaColSpan:j,ariaControls:P,ariaCurrent:null,ariaDescribedBy:P,ariaDetails:null,ariaDisabled:O,ariaDropEffect:P,ariaErrorMessage:null,ariaExpanded:O,ariaFlowTo:P,ariaGrabbed:O,ariaHasPopup:null,ariaHidden:O,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P,ariaLevel:j,ariaLive:null,ariaModal:O,ariaMultiLine:O,ariaMultiSelectable:O,ariaOrientation:null,ariaOwns:P,ariaPlaceholder:null,ariaPosInSet:j,ariaPressed:O,ariaReadOnly:O,ariaRelevant:null,ariaRequired:O,ariaRoleDescription:P,ariaRowCount:j,ariaRowIndex:j,ariaRowSpan:j,ariaSelected:O,ariaSetSize:j,ariaSort:null,ariaValueMax:j,ariaValueMin:j,ariaValueNow:j,ariaValueText:null,role:null}}),U=L({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:z,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:A,acceptCharset:P,accessKey:P,action:null,allow:null,allowFullScreen:E,allowPaymentRequest:E,allowUserMedia:E,alt:null,as:null,async:E,autoCapitalize:null,autoComplete:P,autoFocus:E,autoPlay:E,blocking:P,capture:E,charSet:null,checked:E,cite:null,className:P,cols:j,colSpan:null,content:null,contentEditable:O,controls:E,controlsList:P,coords:j|A,crossOrigin:null,data:null,dateTime:null,decoding:null,default:E,defer:E,dir:null,dirName:null,disabled:E,download:S,draggable:O,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:E,formTarget:null,headers:P,height:j,hidden:E,high:j,href:null,hrefLang:null,htmlFor:P,httpEquiv:P,id:null,imageSizes:null,imageSrcSet:null,inert:E,inputMode:null,integrity:null,is:null,isMap:E,itemId:null,itemProp:P,itemRef:P,itemScope:E,itemType:P,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:E,low:j,manifest:null,max:null,maxLength:j,media:null,method:null,min:null,minLength:j,multiple:E,muted:E,name:null,nonce:null,noModule:E,noValidate:E,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:E,optimum:j,pattern:null,ping:P,placeholder:null,playsInline:E,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:E,referrerPolicy:null,rel:P,required:E,reversed:E,rows:j,rowSpan:j,sandbox:P,scope:null,scoped:E,seamless:E,selected:E,shadowRootDelegatesFocus:E,shadowRootMode:null,shape:null,size:j,sizes:null,slot:null,span:j,spellCheck:O,src:null,srcDoc:null,srcLang:null,srcSet:null,start:j,step:null,style:null,tabIndex:j,target:null,title:null,translate:null,type:null,typeMustMatch:E,useMap:null,value:O,width:j,wrap:null,align:null,aLink:null,archive:P,axis:null,background:null,bgColor:null,border:j,borderColor:null,bottomMargin:j,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:E,declare:E,event:null,face:null,frame:null,frameBorder:null,hSpace:j,leftMargin:j,link:null,longDesc:null,lowSrc:null,marginHeight:j,marginWidth:j,noResize:E,noHref:E,noShade:E,noWrap:E,object:null,profile:null,prompt:null,rev:null,rightMargin:j,rules:null,scheme:null,scrolling:O,standby:null,summary:null,text:null,topMargin:j,valueType:null,version:null,vAlign:null,vLink:null,vSpace:j,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:E,disableRemotePlayback:E,prefix:null,property:null,results:j,security:null,unselectable:null}}),Q=L({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:F,properties:{about:C,accentHeight:j,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:j,amplitude:j,arabicForm:null,ascent:j,attributeName:null,attributeType:null,azimuth:j,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:j,by:null,calcMode:null,capHeight:j,className:P,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:j,diffuseConstant:j,direction:null,display:null,dur:null,divisor:j,dominantBaseline:null,download:E,dx:null,dy:null,edgeMode:null,editable:null,elevation:j,enableBackground:null,end:null,event:null,exponent:j,externalResourcesRequired:null,fill:null,fillOpacity:j,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:A,g2:A,glyphName:A,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:j,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:j,horizOriginX:j,horizOriginY:j,id:null,ideographic:j,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:j,k:j,k1:j,k2:j,k3:j,k4:j,kernelMatrix:C,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:j,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:j,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:j,overlineThickness:j,paintOrder:null,panose1:null,path:null,pathLength:j,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:j,pointsAtY:j,pointsAtZ:j,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:C,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:C,rev:C,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:C,requiredFeatures:C,requiredFonts:C,requiredFormats:C,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:j,specularExponent:j,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:j,strikethroughThickness:j,string:null,stroke:null,strokeDashArray:C,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:j,strokeOpacity:j,strokeWidth:null,style:null,surfaceScale:j,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:C,tabIndex:j,tableValues:null,target:null,targetX:j,targetY:j,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:C,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:j,underlineThickness:j,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:j,values:null,vAlphabetic:j,vMathematical:j,vectorEffect:null,vHanging:j,vIdeographic:j,version:null,vertAdvY:j,vertOriginX:j,vertOriginY:j,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:j,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),V=_([R,D,B,q,U],"html"),H=_([R,D,B,q,Q],"svg"),K=/^data[-\w.:]+$/i,J=/-[a-z]/g,W=/[A-Z]/g;function G(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const Z={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 X=n(3338);const ee=X.default||X,te=re("end"),ne=re("start");function re(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 oe(e){return e&&"object"==typeof e?"position"in e||"type"in e?ae(e.position):"start"in e||"end"in e?ae(e):"line"in e||"column"in e?ie(e):"":""}function ie(e){return se(e&&e.line)+":"+se(e&&e.column)}function ae(e){return ie(e&&e.start)+"-"+ie(e&&e.end)}function se(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 a=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=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=oe(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 ue={}.hasOwnProperty,ce=new Map,fe=/[A-Z]/g,de=/-([a-z])/g,pe=new Set(["table","tbody","thead","tfoot","tr"]),he=new Set(["td","th"]),me="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ge(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 a=Array.isArray(o.children),s=ne(n);return t(r,o,i,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.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 a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(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?H:V,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=ye(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function ye(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=H,e.schema=o);e.ancestors.push(t);const i=ke(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&ue.call(t.properties,o)){const i=we(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&he.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let s=_e(e,t);pe.has(t.tagName)&&(s=s.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&v(t.value):v(t));var t})));return ve(e,a,i,t),be(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,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)}xe(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=H,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:ke(e,t.name,!0),a=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 xe(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 xe(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),s=_e(e,t);return ve(e,a,i,t),be(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,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);xe(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return be(r,_e(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 ve(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function be(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _e(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:ce;for(;++r 4&&"data"===n.slice(0,4)&&K.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(J,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!J.test(e)){let n=e.replace(W,G);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=T}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{ee(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=me+"#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(de,Oe)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)ue.call(e,n)&&(t[Ee(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Z[r.property]||r.property:r.attribute,n]}}function ke(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o 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);a 0?($e(e,e.length,0,t),e):t}function Ne(e){const t={};let n,r,o,i,a,s,l,u=-1;for(;++u -1&&e.test(String.fromCharCode(t))}}function Ze(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(We(r))return e.enter(n),a(r);return t(r)};function a(r){return We(r)&&i++ i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(y(a),e=n;e 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}}},tt={tokenize:function(e,t,n){return Ze(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const nt={tokenize:function(e,t,n){return function(t){return We(t)?Ze(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Ke(e)?t(e):n(e)}},partial:!0};const rt={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):Ke(t)?e.check(ot,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 Ne(e),e}},ot={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ze(e,o,"linePrefix")};function o(o){if(null===o||Ke(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 it={tokenize:function(e){const t=this,n=e.attempt(nt,(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,Ze(e,e.attempt(this.parser.constructs.flow,r,e.attempt(rt,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 at={resolveAll:ct()},st=ut("string"),lt=ut("text");function ut(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o -1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){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 =3&&(null===i||Ke(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),We(t)?Ze(e,i,"whitespace")(t):i(t))}}};const mt={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,a=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:Qe(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(ht,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Qe(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(nt,r.interrupt?n:u,e.attempt(gt,f,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function c(t){return We(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(nt,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ze(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!We(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yt,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ze(e,e.attempt(mt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},gt={tokenize:function(e,t,n){const r=this;return Ze(e,(function(e){const o=r.events[r.events.length-1];return!We(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},yt={tokenize:function(e,t,n){const r=this;return Ze(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 vt={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 We(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(We(t))return Ze(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(vt,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function bt(e,t,n,r,o,i,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=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||Ue(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(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(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),f(t)):null===t||60===t||Ke(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(o){return c||null!==o&&41!==o&&!Je(o)?c999||null===f||91===f||93===f&&!s||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Ke(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||Ke(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s||(s=!We(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function wt(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):Ke(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ze(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Ke(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function kt(e,t){let n;return function r(o){if(Ke(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(We(o))return Ze(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function xt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Et={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return _t.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=xt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Je(t)?kt(e,s)(t):s(t)}function s(t){return bt(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Ot,u,u)(t)}function u(t){return We(t)?Ze(e,c,"whitespace")(t):c(t)}function c(i){return null===i||Ke(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ot={tokenize:function(e,t,n){return function(t){return Je(t)?kt(e,r)(t):n(t)};function r(t){return wt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return We(t)?Ze(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Ke(e)?t(e):n(e)}},partial:!0};const St={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Ze(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?s(t):Ke(t)?e.attempt(jt,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Ke(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},jt={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Ke(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Ze(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):Ke(e)?o(e):n(e)}},partial:!0};const Pt={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||Je(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Ke(n)?(e.exit("atxHeading"),t(n)):We(n)?Ze(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||Je(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},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"},$e(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const At={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))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"),We(t)?Ze(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Ke(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 a={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",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Ct=["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"],It=["pre","script","style","textarea"],$t={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,p):63===s?(e.consume(s),o=3,r.interrupt?t:N):ze(s)?(e.consume(s),a=String.fromCharCode(s),h):n(s)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,s=0,d):ze(i)?(e.consume(i),o=4,r.interrupt?t:N):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:N):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:S:d):n(o)}function p(t){return ze(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||Je(s)){const l=47===s,u=a.toLowerCase();return l||i||!It.includes(u)?Ct.includes(a.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):S(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):y(s)):(o=1,r.interrupt?t(s):S(s))}return 45===s||Be(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return We(t)?(e.consume(t),g):E(t)}function y(t){return 47===t?(e.consume(t),E):58===t||95===t||ze(t)?(e.consume(t),v):We(t)?(e.consume(t),y):E(t)}function v(t){return 45===t||46===t||58===t||95===t||Be(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):We(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),l=t,w):We(t)?(e.consume(t),_):k(t)}function w(t){return t===l?(e.consume(t),l=null,x):null===t||Ke(t)?n(t):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Je(t)?b(t):(e.consume(t),k)}function x(e){return 47===e||62===e||We(e)?y(e):n(e)}function E(t){return 62===t?(e.consume(t),O):n(t)}function O(t){return null===t||Ke(t)?S(t):We(t)?(e.consume(t),O):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),C):60===t&&1===o?(e.consume(t),I):62===t&&4===o?(e.consume(t),M):63===t&&3===o?(e.consume(t),N):93===t&&5===o?(e.consume(t),T):!Ke(t)||6!==o&&7!==o?null===t||Ke(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Tt,L,j)(t))}function j(t){return e.check(Nt,P,L)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||Ke(t)?j(t):(e.enter("htmlFlowData"),S(t))}function C(t){return 45===t?(e.consume(t),N):S(t)}function I(t){return 47===t?(e.consume(t),a="",$):S(t)}function $(t){if(62===t){const n=a.toLowerCase();return It.includes(n)?(e.consume(t),M):S(t)}return ze(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),$):S(t)}function T(t){return 93===t?(e.consume(t),N):S(t)}function N(t){return 62===t?(e.consume(t),M):45===t&&2===o?(e.consume(t),N):S(t)}function M(t){return null===t||Ke(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),M)}function L(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},Tt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(nt,t,n)}},partial:!0},Nt={tokenize:function(e,t,n){const r=this;return function(t){if(Ke(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},Lt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),We(t)?Ze(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),We(t)?Ze(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Ke(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),We(t)?Ze(e,u,"whitespace")(t):u(t))}function u(n){return null===n||Ke(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Ke(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):We(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ze(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function f(t){return null===t||Ke(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Ke(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),d)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&We(t)?Ze(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Ke(t)?e.check(Mt,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Ke(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Dt=document.createElement("i");function Rt(e){const t="&"+e+";";Dt.innerHTML=t;const n=Dt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Ft={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Be,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Ve,u):(e.enter("characterReferenceValue"),o=7,i=Qe,u(t))}function u(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==Be||Rt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++ 1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);Wt(f,-s),Wt(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Te(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Te(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=Te(l,dt(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=Te(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=Te(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,$e(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c 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 hn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return pn(n.slice(t?2:1),t?16:10)}return Rt(n)||e}const gn={}.hasOwnProperty;function yn(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:O,autolinkEmail:O,atxHeading:i(G),blockQuote:i(V),characterEscape:O,characterReference:O,codeFenced:i(H),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(H,a),codeText:i(K,a),codeTextData:O,data:O,codeFlowValue:O,definition:i(J),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(W),hardBreakEscape:i(Y),hardBreakTrailing:i(Y),htmlFlow:i(Z,a),htmlFlowData:O,htmlText:i(Z,a),htmlTextData:O,image:i(X),label:a,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:F,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(G),strong:i(ie),thematicBreak:i(se)},exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:Q,autolinkProtocol:U,blockQuote:l(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:B,characterReferenceMarkerNumeric:B,characterReferenceValue:q,codeFenced:l(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:S,codeIndented:l(y),codeText:l(I),codeTextData:S,data:S,definition:l(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:l(),hardBreakEscape:l(P),hardBreakTrailing:l(P),htmlFlow:l(A),htmlFlowData:S,htmlText:l(C),htmlTextData:S,image:l(T),label:M,labelText:N,lineEnding:j,link:l($),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:z,resourceDestinationString:L,resourceTitleString:D,resource:R,setextHeading:l(E),setextHeadingLineSequence:x,setextHeadingText:k,strong:l(),thematicBreak:l()}};bn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:s,exit:u,buffer:a,resume:c,data:n},l=[];let f=-1;for(;++f 0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||wn).call(i,void 0,e[0])}for(r.position={start:vn(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:vn(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f ((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new xn[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new xn[i](a),o)};return r})(new Map,e)(0),On="",{toString:Sn}={},{keys:jn}=Object,Pn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Sn.call(e).slice(8,-1);switch(n){case"Array":return[1,On];case"Object":return[2,On];case"Date":return[3,On];case"RegExp":return[4,On];case"Map":return[5,On];case"Set":return[6,On]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},An=([e,t])=>0===e&&("function"===t||"symbol"===t),Cn=(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[a,s]=Pn(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of jn(r))!e&&An(Pn(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!An(Pn(o))&&!An(Pn(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&An(Pn(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},In="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?En(Cn(e,t)):structuredClone(e):(e,t)=>En(Cn(e,t));function $n(e){const t=[];let n=-1,r=0,o=0;for(;++n 55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="\ufffd"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Tn(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 Nn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Dn;if("function"==typeof e)return Ln(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n ":"")+")"})}return c;function c(){let u,c,f,d=Fn;if((!t||i(o,s,l[l.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[zn,e];return null==e?Fn:[e]}(n(o,l)),d[0]===Bn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==qn)for(c=(r?t.children.length:-1)+a,f=l.concat(t);c>-1&&c 1:t}const Kn=9,Jn=32;function Wn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Gn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Gn(t.slice(o),o>0,!1)),i.join("")}function Gn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Kn||t===Jn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Kn||t===Jn;)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=$n(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},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 Vn(e,t);const o={src:$n(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:$n(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 Vn(e,t);const o={href:$n(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:$n(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 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 s=-1;for(;++s 0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=ne(t.children[1]),a=te(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),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,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s0&&n.push({type:"text",value:"\n"}),n}function ir(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ar(e,t){const n=function(e,t){const n=t||er,r=new Map,o=new Map,i=new Map,a={...Yn,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r 0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else i.push(...f);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...In(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!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 sr(e,t){return e&&"run"in e?async function(n,r){const o=ar(n,t);await e.run(o,r)}:function(n){return ar(n,t||e)}}function lr(e){if(e)throw e}var ur=n(9385);function cr(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 fr(){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,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l t.length;let s;r&&t.push(o);try{s=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(s instanceof Promise?s.then(a,o):s instanceof Error?o(s):a(s))}function o(e,...r){n||(n=!0,t(e,...r))}function a(e){o(null,e)}}(s,o)(...a):r(null,...a)}}(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 dr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');pr(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 a=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(pr(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){pr(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n 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("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-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 pr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const hr={cwd:function(){return"/"}};function mr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function gr(e){if("string"==typeof e)e=new URL(e);else if(!mr(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 0){let[r,...i]=t;const a=n[o][1];cr(a)&&cr(r)&&(r=ur(!0,a,r)),n[o]=[e,r,...i]}}}}const Or=(new Er).freeze();function Sr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function jr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Pr(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 Ar(e){if(!cr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Cr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ir(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new vr(e)}const $r=[],Tr={allowDangerousHtml:!0},Nr=/^(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 Lr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,a=e.disallowedElements,s=e.rehypePlugins||$r,l=e.remarkPlugins||$r,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Tr}:Tr,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Dr,p=Or().use(kn).use(l).use(sr,u).use(s),h=new vr;"string"==typeof r&&(h.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=p.parse(h);let g=p.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Qn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return c?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in je)if(Object.hasOwn(je,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=je[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):!!a&&a.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}})),ge(g,{Fragment:Pe.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Pe.jsx,jsxs:Pe.jsxs,passKeys:!0,passNode:!0})}function Dr(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||Nr.test(e.slice(0,t))?e:""}function Rr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,c.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,a=i&&n?`${i}${n}`:i||void 0;return(0,Pe.jsxs)(l.default,{groupId:"schema-language",children:[(0,Pe.jsx)(u.default,{value:"yaml",label:"YAML",children:(0,Pe.jsx)(s.default,{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:a||"schema.yaml",children:o})}),(0,Pe.jsx)(u.default,{value:"json",label:"JSON",children:(0,Pe.jsx)(s.default,{className:"schema-listing",language:"json",showLineNumbers:!0,title:a?`${a}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function Fr(e){const t=(0,c.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,p=zr(r,n||"");return(0,Pe.jsxs)(l.default,{children:[(0,Pe.jsx)(u.default,{value:"viewer",label:"Explore",children:(0,Pe.jsx)(d.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:f},children:(0,Pe.jsx)(a(),{schema:p,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,c.describeSchema)({schema:{id:t}});return zr(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Pe.jsx)("code",{children:t.toString()}):(0,Pe.jsx)(s.default,{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Pe.jsx)(Lr,{children:t})}}})})}),(0,Pe.jsx)(u.default,{value:"listing",label:"View source",children:(0,Pe.jsx)(Rr,{schema:e.schema,pointer:e.pointer})})]})}function zr(e,t){return Br(qr(e),`${t}#`)}function Br(e,t){return Array.isArray(e)?e.map(((e,n)=>Br(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=Br(o,`${t}/${r}`),e}),{[d.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function qr(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(qr);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]=qr(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}},5849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>a,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),a=Symbol("__$internalId")},4845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(1074),o=n(2322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,a=void 0!==t.dependentSchemas,s=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}),a&&(0,o.jsx)(r.DependentSchemas,{schema:t}),s&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(5296),o=n.n(r),i=n(7336),a=n(2009),s=n(4598),l=n(2204),u=n(2322);function c(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,s.useSchemaHierarchyContext)();return(0,u.jsxs)("div",{children:[(0,u.jsx)("hr",{}),(0,u.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,u.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,u.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,u.jsx)(a.default,{label:t,value:t,children:(0,u.jsx)(s.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,u.jsx)(l.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,s.useSchemaHierarchyContext)();return(0,u.jsxs)("div",{children:[(0,u.jsx)("hr",{}),(0,u.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,u.jsx)("ul",{children:t.map(((e,t)=>(0,u.jsx)("li",{children:(0,u.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,u.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,u.jsx)(a.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,u.jsx)(s.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,u.jsx)(l.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,u.jsx)(c,{...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,u.jsx)(f,{...r}):(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(o(),{...e})})}},4130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});n(2784);var r=n(2360),o=n.n(r),i=n(4598),a=n(5849),s=n(7718),l=n(2204),u=n(7740),c=n(4884),f=n(2322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),s=r,d=t,{documentation:h,semantics:m}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[a.D9]:i,...s}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:s}}(d);if(0===Object.keys(m).length){const{description:e}=h;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(u.QualifierMessages,{schema:h,options:o}),e&&(0,f.jsx)(c.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(p,{schema:r})})]})}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)(p,{schema:d})}),(0,f.jsx)(l.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(u.GenerateFriendlyName,{schema:s})}),"\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)(p,{schema:r})})})]})}function p(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,a.J5)(),{schema:r,...l}=e,{[a.D9]:u}=r;if(u&&u in n&&t>0){const{href:e,title:t=`${u.startsWith("schema:")?u.slice(7):u} schema`}=n[u];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(s.Z,{to:e,children:t})," documentation."]})})}const c=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 c?(0,f.jsx)(d,{...c}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...l})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(a){if(!i[a]){var s={},l=[],u=[];for(u.push({node:a,processed:!1});u.length>0;){var c=u[u.length-1],f=c.processed,d=c.node;if(f)u.pop(),l.pop(),s[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){u.pop();continue}if(s[d]){if(r){u.pop();continue}throw l.push(d),new o(l)}s[d]=!0,l.push(d);for(var p=e[d],h=p.length-1;h>=0;h--)u.push({node:p[h],processed:!1});c.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 a=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){a(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){a(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)},9385: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)},a=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)},s=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},l=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,u,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d {function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}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 a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,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)}}},340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r
3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function s(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===a(e)?e.get(t):e[t]}function u(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return U&&e instanceof Map}function d(e){return Q&&e instanceof Set}function p(e){return e.i||e.u}function h(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[J];for(var n=Y(t),r=0;r 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=X[e];return t||n(18,e),t}function b(e,t){X[e]||(X[e]=t)}function _(){return B}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function k(e){x(e),e.p.forEach(O),e.p=null}function x(e){e===B&&(B=e.l)}function E(e){return B={p:[],l:B,h:e,_:!0,m:0}}function O(e){var t=e[J];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[J].g&&(k(t),n(4)),o(e)&&(e=j(t,e),t.l||A(t,e)),t.o&&v("Patches").M(r[J].u,e,t.o,t.v)):e=j(t,r,[]),k(t),t.o&&t.s(t.o,t.v),e!==H?e:void 0}function j(e,t,n){if(y(t))return t;var r=t[J];if(!r)return i(t,(function(o,i){return P(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return A(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=h(r.k):r.i,a=o,s=!1;3===r.t&&(a=new Set(o),o.clear(),s=!0),i(a,(function(t,i){return P(e,r,o,t,i,n,s)})),A(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function P(e,t,n,i,a,l,c){if(r(a)){var f=j(e,a,l&&t&&3!==t.t&&!s(t.N,i)?l.concat(i):void 0);if(u(n,i,f),!r(f))return;e._=!1}else c&&n.add(a);if(o(a)&&!y(a)){if(!e.h.D&&e.m<1)return;j(e,a),t&&t.A.l||A(e,a)}}function A(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function C(e,t){var n=e[J];return(n?p(n):e)[t]}function I(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 $(e){e.g||(e.g=!0,e.l&&$(e.l))}function T(e){e.i||(e.i=h(e.u))}function N(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 a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function M(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[J],s=a(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=L(t,s),r.R=!1}else n=L(t,s);return i(n,(function(t,o){r&&l(r.u,t)===o||u(n,t,e(o))})),3===s?new Set(n):n}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}function D(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[J],e)},set:function(t){ee.set(this[J],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][J];if(!r.g)switch(r.t){case 5:o(r)&&$(r);break;case 4:n(r)&&$(r)}}}function n(e){for(var t=e.u,n=e.k,r=Y(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==J){var a=t[i];if(void 0===a&&!s(t,i))return!0;var l=n[i],u=l&&l[J];if(u?u.u!==a:!c(l,a))return!0}}var f=!!t[J];return r.length!==Y(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 1?n-1:0),i=1;i 1?r-1:0),i=1;i =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),ae=re.setAutoFreeze.bind(re),se=re.setUseProxies.bind(re),le=re.applyPatches.bind(re),ue=re.createDraft.bind(re),ce=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=le,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ue,t.current=M,t.default=oe,t.enableAllPlugins=function(){D(),F(),R()},t.enableES5=D,t.enableMapSet=F,t.enablePatches=R,t.finishDraft=ce,t.freeze=m,t.immerable=K,t.isDraft=r,t.isDraftable=o,t.nothing=H,t.original=function(e){return r(e)||n(23,e),e[J].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=ae,t.setUseProxies=se},412:(e,t,n)=>{"use strict";e.exports=n(340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){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=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(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=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function k(){var e=h(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return v(s),l}}return b(),function(){var e,t=[];for(_(t);e=k();)!1!==e&&(t.push(e),_(t));return t}()}},9612:(e,t,n)=>{var r=n(2118),o=n(6909),i=n(8138),a=n(4174),s=n(7942);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(3945),o=n(1846),i=n(8028),a=n(2344),s=n(4769);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),o=n(6417),i=n(6928),a=n(9493),s=n(4150);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(7772).Symbol;e.exports=r},343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n {var r=n(3940),o=n(1225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},3940:(e,t,n)=>{var r=n(3043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},3324:(e,t,n)=>{var r=n(7297),o=n(3812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n{var r=n(857),o=n(2107),i=n(7157),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(1049),o=n(7394),i=n(9259),a=n(7035),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,f=u.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},2857:(e,t,n)=>{var r=n(91),o=n(7297),i=n(9045),a=n(9259),s=n(3812);e.exports=function(e,t,n,l){if(!a(e))return e;for(var u=-1,c=(t=o(t,e)).length,f=c-1,d=e;null!=d&&++u {var r=n(857),o=n(343),i=n(6152),a=n(4795),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7297:(e,t,n)=>{var r=n(6152),o=n(1401),i=n(4452),a=n(6188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},3043:(e,t,n)=>{var r=n(8761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),o=n(8109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),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(9191),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(9191);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}},9045: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 {var r=n(6152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\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))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,o=n(4019),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}},1846:(e,t,n)=>{var r=n(2218),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)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);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}},2411:(e,t,n)=>{var r=n(9612),o=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);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}},7777:(e,t,n)=>{var r=n(733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7772:(e,t,n)=>{var r=n(1242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},4452:(e,t,n)=>{var r=n(7777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=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=a},3812:(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}},7035: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""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},2579:(e,t,n)=>{var r=n(3324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},6152:e=>{var t=Array.isArray;e.exports=t},1049:(e,t,n)=>{var r=n(3366),o=n(9259);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}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(3366),o=n(5125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},6635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",k="[object Error]",x="[object Function]",E="[object GeneratorFunction]",O="[object Map]",S="[object Number]",j="[object Object]",P="[object Promise]",A="[object RegExp]",C="[object Set]",I="[object String]",$="[object Symbol]",T="[object WeakMap]",N="[object ArrayBuffer]",M="[object DataView]",L="[object Float32Array]",D="[object Float64Array]",R="[object Int8Array]",F="[object Int16Array]",z="[object Int32Array]",B="[object Uint8Array]",q="[object Uint8ClampedArray]",U="[object Uint16Array]",Q="[object Uint32Array]",V=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,G=RegExp(J.source),Y=RegExp(W.source),Z=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/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,ke=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Oe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",je="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ce="\\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",Ie="['\u2019]",$e="["+Ee+"]",Te="["+Ce+"]",Ne="["+Oe+"]",Me="\\d+",Le="["+Se+"]",De="["+je+"]",Re="[^"+Ee+Ce+Me+Se+je+Pe+"]",Fe="\\ud83c[\\udffb-\\udfff]",ze="[^"+Ee+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Pe+"]",Qe="\\u200d",Ve="(?:"+De+"|"+Re+")",He="(?:"+Ue+"|"+Re+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Fe+")"+"?",Ge="["+Ae+"]?",Ye=Ge+We+("(?:"+Qe+"(?:"+[ze,Be,qe].join("|")+")"+Ge+We+")*"),Ze="(?:"+[Le,Be,qe].join("|")+")"+Ye,Xe="(?:"+[ze+Ne+"?",Ne,Be,qe,$e].join("|")+")",et=RegExp(Ie,"g"),tt=RegExp(Ne,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+Xe+Ye,"g"),rt=RegExp([Ue+"?"+De+"+"+Ke+"(?="+[Te,Ue,"$"].join("|")+")",He+"+"+Je+"(?="+[Te,Ue+Ve,"$"].join("|")+")",Ue+"?"+Ve+"+"+Ke,Ue+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ze].join("|"),"g"),ot=RegExp("["+Qe+Ee+Oe+Ae+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["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"],st=-1,lt={};lt[L]=lt[D]=lt[R]=lt[F]=lt[z]=lt[B]=lt[q]=lt[U]=lt[Q]=!0,lt[v]=lt[b]=lt[N]=lt[_]=lt[M]=lt[w]=lt[k]=lt[x]=lt[O]=lt[S]=lt[j]=lt[A]=lt[C]=lt[I]=lt[T]=!1;var ut={};ut[v]=ut[b]=ut[N]=ut[M]=ut[_]=ut[w]=ut[L]=ut[D]=ut[R]=ut[F]=ut[z]=ut[O]=ut[S]=ut[j]=ut[A]=ut[C]=ut[I]=ut[$]=ut[B]=ut[q]=ut[U]=ut[Q]=!0,ut[k]=ut[x]=ut[T]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&pt.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,kt=_t&&_t.isDate,xt=_t&&_t.isMap,Et=_t&&_t.isRegExp,Ot=_t&&_t.isSet,St=_t&&_t.isTypedArray;function jt(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 Pt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r -1;);return n}function rn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var on=Jt({"\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"}),an=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ct[e]}function ln(e){return ot.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n ",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,at))).Array,se=t.Date,Ee=t.Error,Oe=t.Function,Se=t.Math,je=t.Object,Pe=t.RegExp,Ae=t.String,Ce=t.TypeError,Ie=r.prototype,$e=Oe.prototype,Te=je.prototype,Ne=t["__core-js_shared__"],Me=$e.toString,Le=Te.hasOwnProperty,De=0,Re=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Te.toString,ze=Me.call(je),Be=mt._,qe=Pe("^"+Me.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:o,Qe=t.Symbol,Ve=t.Uint8Array,He=Ue?Ue.allocUnsafe:o,Ke=cn(je.getPrototypeOf,je),Je=je.create,We=Te.propertyIsEnumerable,Ge=Ie.splice,Ye=Qe?Qe.isConcatSpreadable:o,Ze=Qe?Qe.iterator:o,Xe=Qe?Qe.toStringTag:o,nt=function(){try{var e=pi(je,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Se.ceil,gt=Se.floor,yt=je.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:o,_t=t.isFinite,zt=Ie.join,Jt=cn(je.keys,je),bn=Se.max,_n=Se.min,wn=se.now,kn=t.parseInt,xn=Se.random,En=Ie.reverse,On=pi(t,"DataView"),Sn=pi(t,"Map"),jn=pi(t,"Promise"),Pn=pi(t,"Set"),An=pi(t,"WeakMap"),Cn=pi(je,"create"),In=An&&new An,$n={},Tn=Fi(On),Nn=Fi(Sn),Mn=Fi(jn),Ln=Fi(Pn),Dn=Fi(An),Rn=Qe?Qe.prototype:o,Fn=Rn?Rn.valueOf:o,zn=Rn?Rn.toString:o;function Bn(e){if(ns(e)&&!Va(e)&&!(e instanceof Vn)){if(e instanceof Qn)return e;if(Le.call(e,"__wrapped__"))return zi(e)}return new Qn(e)}var qn=function(){function e(){}return function(t){if(!ts(t))return{};if(Je)return Je(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Un(){}function Qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t =t?e:t)),e}function ur(e,t,n,r,i,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ts(e))return e;var f=Va(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Io(e,s)}else{var d=gi(e),p=d==x||d==E;if(Wa(e))return Oo(e,l);if(d==j||d==v||p&&!i){if(s=u||p?{}:vi(e),!l)return u?function(e,t){return $o(e,mi(e),t)}(e,function(e,t){return e&&$o(t,Ts(t),e)}(s,e)):function(e,t){return $o(e,hi(e),t)}(e,ir(s,e))}else{if(!ut[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case N:return So(e);case _:case w:return new r(+e);case M:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case D:case R:case F:case z:case B:case q:case U:case Q:return jo(e,n);case O:return new r;case S:case I:return new r(e);case A:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case C:return new r;case $:return o=e,Fn?je(Fn.call(o)):{}}var o}(e,d,l)}}a||(a=new Gn);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(r){s.add(ur(r,t,n,r,e,a))})):rs(e)&&e.forEach((function(r,o){s.set(o,ur(r,t,n,o,e,a))}));var m=f?o:(c?u?ai:ii:u?Ts:$s)(e);return At(m||e,(function(r,o){m&&(r=e[o=r]),nr(s,o,ur(r,t,n,o,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=je(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ce(i);return $i((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Mt(t,Xt(n))),r?(i=Nt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Wn(t));e:for(;++o -1},Kn.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},Jn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(Sn||Kn),string:new Hn}},Jn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Jn.prototype.get=function(e){return fi(this,e).get(e)},Jn.prototype.has=function(e){return fi(this,e).has(e)},Jn.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},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,a),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(e,t),this.size=n.size,this};var pr=Mo(wr),hr=Mo(kr,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?vr(s,t-1,n,r,o):Lt(o,s):r||(o[o.length]=s)}return o}var br=Lo(),_r=Lo(!0);function wr(e,t){return e&&br(e,t,$s)}function kr(e,t){return e&&_r(e,t,$s)}function xr(e,t){return $t(t,(function(t){return Za(e[t])}))}function Er(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&nt}function Pr(e,t){return null!=e&&Le.call(e,t)}function Ar(e,t){return null!=e&&t in je(e)}function Cr(e,t,n){for(var i=n?Nt:Tt,a=e[0].length,s=e.length,l=s,u=r(s),c=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Xt(t))),c=_n(d.length,c),u[l]=!n&&(t||a>=120&&d.length>=120)?new Wn(l&&d):o}d=e[0];var p=-1,h=u[0];e:for(;++p=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,o=t.length,i={};++r -1;)s!==e&&Ge.call(s,l,1),Ge.call(e,l,1);return e}function Jr(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)?Ge.call(e,o,1):po(e,o)}}return e}function Wr(e,t){return e+gt(xn()*(t-e+1))}function Gr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Ti(Pi(e,t,ol),e+"")}function Zr(e){return Zn(Bs(e))}function Xr(e,t){var n=Bs(e);return Li(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!us(a)&&(n?a<=t:a =200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=tn,l=new Wn}else l=t?[]:s;e:for(;++r=r?e:oo(e,t,n)}var Eo=ot||function(e){return mt.clearTimeout(e)};function Oo(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function jo(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=us(e),s=t!==o,l=null===t,u=t==t,c=us(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e 1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=je(t);++r-1?i[a?t[s]:s]:o}}function Bo(e){return oi((function(t){var n=t.length,r=n,a=Qn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ce(i);if(a&&!l&&"wrapper"==li(s))var l=new Qn([],!0)}for(r=l?r:n;++r 1&&_.reverse(),p&&cl))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&n?new Wn:o;for(a.set(e,t),a.set(t,e);++d -1&&e%1==0&&e 1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(y,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function Mi(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 Li(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n 1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,aa(e,n)}));function pa(e){var t=Bn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Qn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=To((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(Qi),va=zo(Vi);function ba(e,t){return(Va(e)?At:pr)(e,ci(t,3))}function _a(e,t){return(Va(e)?Ct:hr)(e,ci(t,3))}var wa=To((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Yr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ka(e)?r(e.length):[];return pr(e,(function(e){a[++o]=i?jt(t,e,n):Ir(e,t,n)})),a})),xa=To((function(e,t,n){ar(e,n,t)}));function Ea(e,t){return(Va(e)?Mt:zr)(e,ci(t,3))}var Oa=To((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sa=Yr((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]]),Vr(e,vr(t,1),[])})),ja=ct||function(){return mt.Date.now()};function Pa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Xo(e,f,o,o,o,o,t)}function Aa(e,t){var n;if("function"!=typeof t)throw new Ce(i);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ca=Yr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ui(Ca));r|=u}return Xo(e,r,t,n,o)})),Ia=Yr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ui(Ia));r|=u}return Xo(t,r,e,n,o)}));function $a(e,t,n){var r,a,s,l,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ce(i);function m(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){var n=e-c;return c===o||n>=t||n<0||p&&e-f>=s}function y(){var e=ja();if(g(e))return v(e);u=$i(y,function(e){var n=t-(e-c);return p?_n(n,s-(e-f)):n}(e))}function v(e){return u=o,h&&r?m(e):(r=a=o,l)}function b(){var e=ja(),n=g(e);if(r=arguments,a=this,c=e,n){if(u===o)return function(e){return f=e,u=$i(y,t),d?m(e):l}(c);if(p)return Eo(u),u=$i(y,t),m(c)}return u===o&&(u=$i(y,t)),l}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(p="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==o&&Eo(u),f=0,r=c=a=u=o},b.flush=function(){return u===o?l:v(ja())},b}var Ta=Yr((function(e,t){return fr(e,1,t)})),Na=Yr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ce(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 a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ma.Cache||Jn),n}function La(e){if("function"!=typeof e)throw new Ce(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)}}Ma.Cache=Jn;var Da=ko((function(e,t){var n=(t=1==t.length&&Va(t[0])?Mt(t[0],Xt(ci())):Mt(vr(t,1),Xt(ci()))).length;return Yr((function(r){for(var o=-1,i=_n(r.length,n);++o=t})),Qa=$r(function(){return arguments}())?$r:function(e){return ns(e)&&Le.call(e,"callee")&&!We.call(e,"callee")},Va=r.isArray,Ha=wt?Xt(wt):function(e){return ns(e)&&Sr(e)==N};function Ka(e){return null!=e&&es(e.length)&&!Za(e)}function Ja(e){return ns(e)&&Ka(e)}var Wa=bt||yl,Ga=kt?Xt(kt):function(e){return ns(e)&&Sr(e)==w};function Ya(e){if(!ns(e))return!1;var t=Sr(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Za(e){if(!ts(e))return!1;var t=Sr(e);return t==x||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=xt?Xt(xt):function(e){return ns(e)&&gi(e)==O};function os(e){return"number"==typeof e||ns(e)&&Sr(e)==S}function is(e){if(!ns(e)||Sr(e)!=j)return!1;var t=Ke(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==ze}var as=Et?Xt(Et):function(e){return ns(e)&&Sr(e)==A};var ss=Ot?Xt(Ot):function(e){return ns(e)&&gi(e)==C};function ls(e){return"string"==typeof e||!Va(e)&&ns(e)&&Sr(e)==I}function us(e){return"symbol"==typeof e||ns(e)&&Sr(e)==$}var cs=St?Xt(St):function(e){return ns(e)&&es(e.length)&&!!lt[Sr(e)]};var fs=Jo(Fr),ds=Jo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ka(e))return ls(e)?mn(e):Io(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==O?un:t==C?dn:Bs)(e)}function hs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?lr(ms(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(us(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(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 vs(e){return $o(e,Ts(e))}function bs(e){return null==e?"":co(e)}var _s=No((function(e,t){if(Oi(t)||Ka(t))$o(t,$s(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),ws=No((function(e,t){$o(t,Ts(t),e)})),ks=No((function(e,t,n,r){$o(t,Ts(t),e,r)})),xs=No((function(e,t,n,r){$o(t,$s(t),e,r)})),Es=oi(sr);var Os=Yr((function(e,t){e=je(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n 1),t})),$o(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Ds=oi((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Ps(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Mt(ai(e),(function(e){return[e]}));return t=ci(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Zo($s),zs=Zo(Ts);function Bs(e){return null==e?[]:en(e,$s(e))}var qs=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Ys(bs(e).toLowerCase())}function Qs(e){return(e=bs(e))&&e.replace(we,on).replace(tt,"")}var Vs=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Hs=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Do("toLowerCase");var Js=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ws=Ro((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Gs=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Do("toUpperCase");function Zs(e,t,n){return e=bs(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 Xs=Yr((function(e,t){try{return jt(e,o,t)}catch(n){return Ya(n)?n:new Ee(n)}})),el=oi((function(e,t){return At(t,(function(t){t=Ri(t),ar(e,t,Ca(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Bo(),rl=Bo(!0);function ol(e){return e}function il(e){return Lr("function"==typeof e?e:ur(e,1))}var al=Yr((function(e,t){return function(n){return Ir(n,e,t)}})),sl=Yr((function(e,t){return function(n){return Ir(e,n,t)}}));function ll(e,t,n){var r=$s(t),o=xr(t,r);null!=n||ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=xr(t,$s(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Za(e);return At(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Io(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function ul(){}var cl=Vo(Mt),fl=Vo(It),dl=Vo(Ft);function pl(e){return ki(e)?Kt(Ri(e)):function(e){return function(t){return Er(t,e)}}(e)}var hl=Ko(),ml=Ko(!0);function gl(){return[]}function yl(){return!1}var vl=Qo((function(e,t){return e+t}),0),bl=Go("ceil"),_l=Qo((function(e,t){return e/t}),1),wl=Go("floor");var kl,xl=Qo((function(e,t){return e*t}),1),El=Go("round"),Ol=Qo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ce(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Pa,Bn.assign=_s,Bn.assignIn=ws,Bn.assignInWith=ks,Bn.assignWith=xs,Bn.at=Es,Bn.before=Aa,Bn.bind=Ca,Bn.bindAll=el,Bn.bindKey=Ia,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Bn.chain=pa,Bn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(ht(i/t));ai?0:i+n),(r=r===o||r>i?i:ms(r))<0&&(r+=i),r=n>r?0:gs(r);n >>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=co(t))&&ln(e)?xo(mn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ce(i);return t=null==t?0:bn(ms(t),0),Yr((function(n){var r=n[t],o=xo(n,0,t);return r&&Lt(o,r),jt(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ms(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ms(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ce(i);return ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),$a(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ha,Bn.toArray=ps,Bn.toPairs=Fs,Bn.toPairsIn=zs,Bn.toPath=function(e){return Va(e)?Mt(e,Ri):us(e)?[e]:Io(Di(bs(e)))},Bn.toPlainObject=vs,Bn.transform=function(e,t,n){var r=Va(e),o=r||Wa(e)||cs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ts(e)&&Za(i)?qn(Ke(e)):{}}return(o?At:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return Pa(e,1)},Bn.union=na,Bn.unionBy=ra,Bn.unionWith=oa,Bn.uniq=function(e){return e&&e.length?fo(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Bn.unset=function(e,t){return null==e||po(e,t)},Bn.unzip=ia,Bn.unzipWith=aa,Bn.update=function(e,t,n){return null==e?e:ho(e,t,_o(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,_o(n),r)},Bn.values=Bs,Bn.valuesIn=function(e){return null==e?[]:en(e,Ts(e))},Bn.without=sa,Bn.words=Zs,Bn.wrap=function(e,t){return Ra(_o(t),e)},Bn.xor=la,Bn.xorBy=ua,Bn.xorWith=ca,Bn.zip=fa,Bn.zipObject=function(e,t){return vo(e||[],t||[],nr)},Bn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Bn.zipWith=da,Bn.entries=Fs,Bn.entriesIn=zs,Bn.extend=ws,Bn.extendWith=ks,ll(Bn,Bn),Bn.add=vl,Bn.attempt=Xs,Bn.camelCase=qs,Bn.capitalize=Us,Bn.ceil=bl,Bn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ys(n))==n?n:0),t!==o&&(t=(t=ys(t))==t?t:0),lr(ys(e),t,n)},Bn.clone=function(e){return ur(e,4)},Bn.cloneDeep=function(e){return ur(e,5)},Bn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Bn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Bn.conformsTo=function(e,t){return null==t||cr(e,t,$s(t))},Bn.deburr=Qs,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=_l,Bn.endsWith=function(e,t,n){e=bs(e),t=co(t);var r=e.length,i=n=n===o?r:lr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Bn.eq=Ba,Bn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(W,an):e},Bn.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Bn.every=function(e,t,n){var r=Va(e)?It:mr;return n&&wi(e,t,n)&&(t=o),r(e,ci(t,3))},Bn.find=ya,Bn.findIndex=Qi,Bn.findKey=function(e,t){return Bt(e,ci(t,3),wr)},Bn.findLast=va,Bn.findLastIndex=Vi,Bn.findLastKey=function(e,t){return Bt(e,ci(t,3),kr)},Bn.floor=wl,Bn.forEach=ba,Bn.forEachRight=_a,Bn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ts)},Bn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Ts)},Bn.forOwn=function(e,t){return e&&wr(e,ci(t,3))},Bn.forOwnRight=function(e,t){return e&&kr(e,ci(t,3))},Bn.get=js,Bn.gt=qa,Bn.gte=Ua,Bn.has=function(e,t){return null!=e&&yi(e,t,Pr)},Bn.hasIn=Ps,Bn.head=Ki,Bn.identity=ol,Bn.includes=function(e,t,n,r){e=Ka(e)?e:Bs(e),n=n&&!r?ms(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ls(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=bn(r+o,0)),Ut(e,t,o)},Bn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=_n(t,n)&&e =-9007199254740991&&e<=h},Bn.isSet=ss,Bn.isString=ls,Bn.isSymbol=us,Bn.isTypedArray=cs,Bn.isUndefined=function(e){return e===o},Bn.isWeakMap=function(e){return ns(e)&&gi(e)==T},Bn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Sr(e)},Bn.join=function(e,t){return null==e?"":zt.call(e,t)},Bn.kebabCase=Vs,Bn.last=Yi,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ms(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):qt(e,Vt,i,!0)},Bn.lowerCase=Hs,Bn.lowerFirst=Ks,Bn.lt=fs,Bn.lte=ds,Bn.max=function(e){return e&&e.length?gr(e,ol,jr):o},Bn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),jr):o},Bn.mean=function(e){return Ht(e,ol)},Bn.meanBy=function(e,t){return Ht(e,ci(t,2))},Bn.min=function(e){return e&&e.length?gr(e,ol,Fr):o},Bn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Fr):o},Bn.stubArray=gl,Bn.stubFalse=yl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(e,t){return e&&e.length?Qr(e,ms(t)):o},Bn.noConflict=function(){return mt._===this&&(mt._=Be),this},Bn.noop=ul,Bn.now=ja,Bn.pad=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ho(gt(o),n)+e+Ho(ht(o),n)},Bn.padEnd=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;return t&&r t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Wr(e,t)},Bn.reduce=function(e,t,n){var r=Va(e)?Dt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Bn.reduceRight=function(e,t,n){var r=Va(e)?Rt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Bn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ms(t),Gr(bs(e),t)},Bn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=g,r=_n(e,g);t=ci(t),e-=g;for(var o=Yt(r,t);++n =a)return e;var l=n-hn(r);if(l<1)return r;var u=s?xo(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),as(i)){if(e.slice(l).search(i)){var c,f=u;for(i.global||(i=Pe(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(co(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Bn.unescape=function(e){return(e=bs(e))&&G.test(e)?e.replace(J,yn):e},Bn.uniqueId=function(e){var t=++De;return bs(e)+t},Bn.upperCase=Gs,Bn.upperFirst=Ys,Bn.each=ba,Bn.eachRight=_a,Bn.first=Ki,ll(Bn,(kl={},wr(Bn,(function(e,t){Le.call(Bn.prototype,t)||(kl[t]=e)})),kl),{chain:!1}),Bn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),At(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:bn(ms(n),0);var r=this.__filtered__&&!t?new Vn(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},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(ol)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Ir(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(La(ci(e)))},Vn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},wr(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Bn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Vn,u=s[0],c=l||Va(t),f=function(e){var t=i.apply(Bn,Lt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&c){t=m?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[f],thisArg:o}),new Qn(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),wr(Vn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Le.call($n,r)||($n[r]=[]),$n[r].push({name:t,func:n})}})),$n[qo(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Io(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Io(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Io(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r =this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=zi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new Qn(t,this.__chain__)}return this.thru(ta)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Ze&&(Bn.prototype[Ze]=function(){return this}),Bn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},733:(e,t,n)=>{var r=n(6738);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 a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},6765:(e,t,n)=>{var r=n(2857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},6188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},6448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},9754:(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"}},5950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},3654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},5128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},4501:(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{"use strict";const r=n(5308);e.exports=r,r.default=r},5308: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 100)return e.replace(r,i);for(var t="",a=0,s=0;s r;)e[n]=e[n-1],n--;e[n]=r}return e}},3338: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}},9569:function(e,t,n){var r,o;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(o="function"==typeof(r=a)?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 1);s++)n.splice(0,1);r[a]=n.join("")}var l=-1,u=0,c=0,f=-1,d=!1;for(a=0;au&&(l=f,u=c)):"0"===r[a]&&(d=!0,f=a,c=1);c>u&&(l=f,u=c),u>1&&r.splice(l,u,""),o=r.length;var p="";for(""===r[0]&&(p=":"),a=0;a =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}))},957:function(e,t,n){var r,o,i;!function(a,s){"use strict";e.exports?e.exports=s(n(9942),n(9569),n(4171)):(o=[n(9942),n(9569),n(4171)],void 0===(i="function"==typeof(r=s)?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 a=i.prototype,s=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function u(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function c(e){return"Array"===u(e)}function f(e,t){var n,r,o={};if("RegExp"===u(t))o=null;else if(c(t))for(n=0,r=t.length;n ]+|\(([^\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 a=(r+"").split(e),s=0,l=a.length;s