@scalar/api-reference 1.22.6 → 1.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/browser/standalone.js +3 -3
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/index.cjs +44 -44
- package/dist/index.css +1 -1
- package/dist/index.js +727 -727
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import AP from "rehype-stringify";
|
|
|
23
23
|
import EP from "remark-gfm";
|
|
24
24
|
import RP from "remark-rehype";
|
|
25
25
|
import ZP from "fuse.js";
|
|
26
|
-
const IP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--scalar-background-1: #f9f9f9;--scalar-background-2: #f1f1f1;--scalar-background-3: #e7e7e7;--scalar-background-card: #fff;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-languages-background-supersede: var(--scalar-background-1);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #131313;--scalar-background-2: #1d1d1d;--scalar-background-3: #272727;--scalar-background-card: #1d1d1d;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(255, 255, 255, .1);--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dd2f2c;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.code-languages-background:before{box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--scalar-background-1: var(--scalar-background-card);--scalar-background-2: var(--scalar-background-1);--scalar-background-3: var(--scalar-background-1)}.dark-mode .dark-mode.scalar-card{--scalar-background-3: var(--scalar-background-3)}.t-doc__sidebar{--scalar-color-green: var(--scalar-color-1);--scalar-color-red: var(--scalar-color-1);--scalar-color-yellow: var(--scalar-color-1);--scalar-color-blue: var(--scalar-color-1);--scalar-color-orange: var(--scalar-color-1);--scalar-color-purple: var(--scalar-color-1)}}", jP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f0f2f5;--scalar-background-2: #eaecf0;--scalar-background-3: #e0e2e6;--scalar-border-color: rgb(228, 228, 231);--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--scalar-background-1: #000e23;--scalar-background-2: #01132e;--scalar-background-3: #03193b;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3);z-index:1}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--scalar-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--scalar-background-1: #fff;--scalar-background-2: #fff;--scalar-background-3: #fff}}", NP = '@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #fff;--scalar-background-2: #f4f4f5;--scalar-background-3: #e3e3e6;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgb(228, 228, 231);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-item-active-background: #09090b;--scalar-sidebar-color-active: var(--scalar-sidebar-background-1)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}}', Ob = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", DP = "@layer scalar-theme{.light-mode{--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #7070ff;--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #7070ff1f;--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-language-color-supersede: var(--scalar-color-3)}.dark-mode{--scalar-color-1: #f7f8f8;--scalar-color-2: rgb(180, 188, 208);--scalar-color-3: #b4bcd099;--scalar-color-accent: #828fff;--scalar-background-1: #000212;--scalar-background-2: rgba(255, 255, 255, .05);--scalar-background-3: rgba(255, 255, 255, .05);--scalar-background-accent: #8ab4f81f;--scalar-border-color: #242537;--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(0, 0, 0, .05);--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: rgba(255, 255, 255, .1);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--scalar-background-2: transparent !important;--scalar-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--scalar-background-1: #0d0f1e !important;--scalar-background-2: #0d0f1e !important;--scalar-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--scalar-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.code-languages__active{--scalar-code-language-color-supersede: var(--scalar-color-1)}.code-languages-background{background:linear-gradient(#fff0,#ffffff0d)!important;box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}}", MP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f9f6f0;--scalar-background-2: #f2efe8;--scalar-background-3: #e9e7e2;--scalar-border-color: rgba(203, 165, 156, .6);--scalar-color-1: #c75549;--scalar-color-2: #c75549;--scalar-color-3: #c75549;--scalar-color-accent: #c75549;--scalar-background-accent: #dcbfa81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #140507;--scalar-background-2: #20090c;--scalar-background-3: #321116;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: rgba(255, 255, 255, .9);--scalar-background-accent: #441313;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);z-index:1}.light-mode{--scalar-color-green: #09533a;--scalar-color-red: #aa181d;--scalar-color-yellow: #ab8d2b;--scalar-color-blue: #19689a;--scalar-color-orange: #b26c34;--scalar-color-purple: #4c2191;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}}", XP = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #000000;--scalar-color-2: #000000;--scalar-color-3: #000000;--scalar-color-accent: #645b0f;--scalar-background-1: #ccc9b3;--scalar-background-2: #c2bfaa;--scalar-background-3: #b8b5a1;--scalar-background-accent: #000000;--scalar-border-color: rgba(0, 0, 0, .2);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{color-scheme:dark;--scalar-color-1: #fffef3;--scalar-color-2: #fffef3;--scalar-color-3: #fffef3;--scalar-color-accent: #c3b531;--scalar-background-1: #313332;--scalar-background-2: #393b3a;--scalar-background-3: #414342;--scalar-background-accent: #fffef3;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-background-1);--scalar-sidebar-search-background: var(--scalar-background-3);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", qP = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f5f6f8;--scalar-background-3: #eceef1;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(215, 215, 206, .5)}.dark-mode{--scalar-background-1: #15171c;--scalar-background-2: #1c1e24;--scalar-background-3: #22252b;--scalar-color-1: #fafafa;--scalar-color-2: #c9ced8;--scalar-color-3: #8c99ad;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-3);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", WP = "@layer scalar-theme{.light-mode{--scalar-background-1: #f3f3ee;--scalar-background-2: #e8e8e3;--scalar-background-3: #e4e4df;--scalar-border-color: rgba(215, 215, 206, .5);--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #1763a6;--scalar-background-accent: #1f648e1f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.dark-mode{--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: #4eb3ec;--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}}", VP = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #584c27;--scalar-color-2: #616161;--scalar-color-3: #a89f84;--scalar-color-accent: #b58900;--scalar-background-1: #fdf6e3;--scalar-background-2: #eee8d5;--scalar-background-3: #ddd6c1;--scalar-background-accent: #b589001f;--scalar-border-color: #ded8c8;--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fff;--scalar-color-2: #cccccc;--scalar-color-3: #6d8890;--scalar-color-accent: #007acc;--scalar-background-1: #00212b;--scalar-background-2: #012b36;--scalar-background-3: #004052;--scalar-background-accent: #015a6f;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", yb = /* @__PURE__ */ H({
|
|
26
|
+
const IP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--scalar-background-1: #f9f9f9;--scalar-background-2: #f1f1f1;--scalar-background-3: #e7e7e7;--scalar-background-card: #fff;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-languages-background-supersede: var(--scalar-background-1);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #131313;--scalar-background-2: #1d1d1d;--scalar-background-3: #272727;--scalar-background-card: #1d1d1d;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(255, 255, 255, .1);--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dd2f2c;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.code-languages-background:before{box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--scalar-background-1: var(--scalar-background-card);--scalar-background-2: var(--scalar-background-1);--scalar-background-3: var(--scalar-background-1)}.dark-mode .dark-mode.scalar-card{--scalar-background-3: var(--scalar-background-3)}.t-doc__sidebar{--scalar-color-green: var(--scalar-color-1);--scalar-color-red: var(--scalar-color-1);--scalar-color-yellow: var(--scalar-color-1);--scalar-color-blue: var(--scalar-color-1);--scalar-color-orange: var(--scalar-color-1);--scalar-color-purple: var(--scalar-color-1)}}", jP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f0f2f5;--scalar-background-2: #eaecf0;--scalar-background-3: #e0e2e6;--scalar-border-color: rgb(228, 228, 231);--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--scalar-background-1: #000e23;--scalar-background-2: #01132e;--scalar-background-3: #03193b;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3);z-index:1}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--scalar-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--scalar-background-1: #fff;--scalar-background-2: #fff;--scalar-background-3: #fff}}", NP = '@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #fff;--scalar-background-2: #f4f4f5;--scalar-background-3: #e3e3e6;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgb(228, 228, 231);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-item-active-background: #09090b;--scalar-sidebar-color-active: var(--scalar-sidebar-background-1)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}}', Ob = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", DP = "@layer scalar-theme{.light-mode{--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #7070ff;--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #7070ff1f;--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-language-color-supersede: var(--scalar-color-3)}.dark-mode{--scalar-color-1: #f7f8f8;--scalar-color-2: rgb(180, 188, 208);--scalar-color-3: #b4bcd099;--scalar-color-accent: #828fff;--scalar-background-1: #000212;--scalar-background-2: rgba(255, 255, 255, .05);--scalar-background-3: rgba(255, 255, 255, .09);--scalar-background-accent: #8ab4f81f;--scalar-border-color: #242537;--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(0, 0, 0, .05);--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: rgba(255, 255, 255, .1);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--scalar-background-2: transparent !important;--scalar-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--scalar-background-1: #0d0f1e !important;--scalar-background-2: #0d0f1e !important;--scalar-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--scalar-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.code-languages__active{--scalar-code-language-color-supersede: var(--scalar-color-1)}.code-languages-background{background:linear-gradient(#fff0,#ffffff0d)!important;box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}}", MP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f9f6f0;--scalar-background-2: #f2efe8;--scalar-background-3: #e9e7e2;--scalar-border-color: rgba(203, 165, 156, .6);--scalar-color-1: #c75549;--scalar-color-2: #c75549;--scalar-color-3: #c75549;--scalar-color-accent: #c75549;--scalar-background-accent: #dcbfa81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #140507;--scalar-background-2: #20090c;--scalar-background-3: #321116;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: rgba(255, 255, 255, .9);--scalar-background-accent: #441313;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);z-index:1}.light-mode{--scalar-color-green: #09533a;--scalar-color-red: #aa181d;--scalar-color-yellow: #ab8d2b;--scalar-color-blue: #19689a;--scalar-color-orange: #b26c34;--scalar-color-purple: #4c2191;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}}", XP = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #000000;--scalar-color-2: #000000;--scalar-color-3: #000000;--scalar-color-accent: #645b0f;--scalar-background-1: #ccc9b3;--scalar-background-2: #c2bfaa;--scalar-background-3: #b8b5a1;--scalar-background-accent: #000000;--scalar-border-color: rgba(0, 0, 0, .2);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{color-scheme:dark;--scalar-color-1: #fffef3;--scalar-color-2: #fffef3;--scalar-color-3: #fffef3;--scalar-color-accent: #c3b531;--scalar-background-1: #313332;--scalar-background-2: #393b3a;--scalar-background-3: #414342;--scalar-background-accent: #fffef3;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-background-1);--scalar-sidebar-search-background: var(--scalar-background-3);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", qP = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f5f6f8;--scalar-background-3: #eceef1;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(215, 215, 206, .5)}.dark-mode{--scalar-background-1: #15171c;--scalar-background-2: #1c1e24;--scalar-background-3: #22252b;--scalar-color-1: #fafafa;--scalar-color-2: #c9ced8;--scalar-color-3: #8c99ad;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-3);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", WP = "@layer scalar-theme{.light-mode{--scalar-background-1: #f3f3ee;--scalar-background-2: #e8e8e3;--scalar-background-3: #e4e4df;--scalar-border-color: rgba(215, 215, 206, .5);--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #1763a6;--scalar-background-accent: #1f648e1f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.dark-mode{--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: #4eb3ec;--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}}", VP = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #584c27;--scalar-color-2: #616161;--scalar-color-3: #a89f84;--scalar-color-accent: #b58900;--scalar-background-1: #fdf6e3;--scalar-background-2: #eee8d5;--scalar-background-3: #ddd6c1;--scalar-background-accent: #b589001f;--scalar-border-color: #ded8c8;--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fff;--scalar-color-2: #cccccc;--scalar-color-3: #6d8890;--scalar-color-accent: #007acc;--scalar-background-1: #00212b;--scalar-background-2: #012b36;--scalar-background-3: #004052;--scalar-background-accent: #015a6f;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", yb = /* @__PURE__ */ H({
|
|
27
27
|
__name: "ThemeStyles",
|
|
28
28
|
props: {
|
|
29
29
|
id: {}
|
|
@@ -25894,7 +25894,7 @@ const Ho = /* @__PURE__ */ ZZ(IZ), Ef = "scalar-component", jZ = RZ({
|
|
|
25894
25894
|
[Ef]: [Ef]
|
|
25895
25895
|
}
|
|
25896
25896
|
}
|
|
25897
|
-
}), { cva: om, cx: zd, compose:
|
|
25897
|
+
}), { cva: om, cx: zd, compose: dL } = eZ({
|
|
25898
25898
|
hooks: {
|
|
25899
25899
|
onComplete: (r) => `${jZ(r, Ef)}`
|
|
25900
25900
|
}
|
|
@@ -28082,7 +28082,7 @@ function If(r) {
|
|
|
28082
28082
|
const e = (n = r == null ? void 0 : r.servers) == null ? void 0 : n[r.selectedServer ?? 0];
|
|
28083
28083
|
return typeof (e == null ? void 0 : e.url) == "string" ? sS(e == null ? void 0 : e.url, r.variables) : e == null ? void 0 : e.url;
|
|
28084
28084
|
}
|
|
28085
|
-
function
|
|
28085
|
+
function uL(r) {
|
|
28086
28086
|
const e = /{{?\s*([\w.-]+)\s*}}?/g, t = r == null ? void 0 : r.matchAll(e);
|
|
28087
28087
|
return Array.from(t ?? [], (n) => n[1]);
|
|
28088
28088
|
}
|
|
@@ -28100,10 +28100,10 @@ function h3(r) {
|
|
|
28100
28100
|
return !1;
|
|
28101
28101
|
}
|
|
28102
28102
|
}
|
|
28103
|
-
const
|
|
28103
|
+
const hL = (r, e) => Object.keys(r).map((t) => ({
|
|
28104
28104
|
[e ?? t]: t,
|
|
28105
28105
|
value: r[t]
|
|
28106
|
-
})),
|
|
28106
|
+
})), fL = (r) => r.reduce((e, t) => ({
|
|
28107
28107
|
...e,
|
|
28108
28108
|
...t
|
|
28109
28109
|
}), {});
|
|
@@ -29685,10 +29685,10 @@ function J3(r, e) {
|
|
|
29685
29685
|
}, c), r.pass(c, () => r.error(!0));
|
|
29686
29686
|
}
|
|
29687
29687
|
en.macroKeywordCode = J3;
|
|
29688
|
-
function
|
|
29688
|
+
function e4(r, e) {
|
|
29689
29689
|
var t;
|
|
29690
29690
|
const { gen: n, keyword: s, schema: i, parentSchema: o, $data: a, it: l } = r;
|
|
29691
|
-
|
|
29691
|
+
r4(l, e);
|
|
29692
29692
|
const c = !a && e.compile ? e.compile.call(l.self, i, o, l) : e.validate, d = pS(n, s, c), u = n.let("valid");
|
|
29693
29693
|
r.block$data(u, h), r.ok((t = e.valid) !== null && t !== void 0 ? t : u);
|
|
29694
29694
|
function h() {
|
|
@@ -29696,7 +29696,7 @@ function eN(r, e) {
|
|
|
29696
29696
|
m(), e.modifying && Oy(r), g(() => r.error());
|
|
29697
29697
|
else {
|
|
29698
29698
|
const O = e.async ? f() : p();
|
|
29699
|
-
e.modifying && Oy(r), g(() =>
|
|
29699
|
+
e.modifying && Oy(r), g(() => t4(r, O));
|
|
29700
29700
|
}
|
|
29701
29701
|
}
|
|
29702
29702
|
function f() {
|
|
@@ -29716,18 +29716,18 @@ function eN(r, e) {
|
|
|
29716
29716
|
n.if((0, It.not)((y = e.valid) !== null && y !== void 0 ? y : u), O);
|
|
29717
29717
|
}
|
|
29718
29718
|
}
|
|
29719
|
-
en.funcKeywordCode =
|
|
29719
|
+
en.funcKeywordCode = e4;
|
|
29720
29720
|
function Oy(r) {
|
|
29721
29721
|
const { gen: e, data: t, it: n } = r;
|
|
29722
29722
|
e.if(n.parentData, () => e.assign(t, (0, It._)`${n.parentData}[${n.parentDataProperty}]`));
|
|
29723
29723
|
}
|
|
29724
|
-
function
|
|
29724
|
+
function t4(r, e) {
|
|
29725
29725
|
const { gen: t } = r;
|
|
29726
29726
|
t.if((0, It._)`Array.isArray(${e})`, () => {
|
|
29727
29727
|
t.assign(_s.default.vErrors, (0, It._)`${_s.default.vErrors} === null ? ${e} : ${_s.default.vErrors}.concat(${e})`).assign(_s.default.errors, (0, It._)`${_s.default.vErrors}.length`), (0, K3.extendErrors)(r);
|
|
29728
29728
|
}, () => r.error());
|
|
29729
29729
|
}
|
|
29730
|
-
function
|
|
29730
|
+
function r4({ schemaEnv: r }, e) {
|
|
29731
29731
|
if (e.async && !r.$async)
|
|
29732
29732
|
throw new Error("async keyword in sync schema");
|
|
29733
29733
|
}
|
|
@@ -29736,11 +29736,11 @@ function pS(r, e, t) {
|
|
|
29736
29736
|
throw new Error(`keyword "${e}" failed to compile`);
|
|
29737
29737
|
return r.scopeValue("keyword", typeof t == "function" ? { ref: t } : { ref: t, code: (0, It.stringify)(t) });
|
|
29738
29738
|
}
|
|
29739
|
-
function
|
|
29739
|
+
function n4(r, e, t = !1) {
|
|
29740
29740
|
return !e.length || e.some((n) => n === "array" ? Array.isArray(r) : n === "object" ? r && typeof r == "object" && !Array.isArray(r) : typeof r == n || t && typeof r > "u");
|
|
29741
29741
|
}
|
|
29742
|
-
en.validSchemaType =
|
|
29743
|
-
function
|
|
29742
|
+
en.validSchemaType = n4;
|
|
29743
|
+
function s4({ schema: r, opts: e, self: t, errSchemaPath: n }, s, i) {
|
|
29744
29744
|
if (Array.isArray(s.keyword) ? !s.keyword.includes(i) : s.keyword !== i)
|
|
29745
29745
|
throw new Error("ajv implementation error");
|
|
29746
29746
|
const o = s.dependencies;
|
|
@@ -29754,12 +29754,12 @@ function sN({ schema: r, opts: e, self: t, errSchemaPath: n }, s, i) {
|
|
|
29754
29754
|
throw new Error(a);
|
|
29755
29755
|
}
|
|
29756
29756
|
}
|
|
29757
|
-
en.validateKeywordUsage =
|
|
29757
|
+
en.validateKeywordUsage = s4;
|
|
29758
29758
|
var Jn = {};
|
|
29759
29759
|
Object.defineProperty(Jn, "__esModule", { value: !0 });
|
|
29760
29760
|
Jn.extendSubschemaMode = Jn.extendSubschemaData = Jn.getSubschema = void 0;
|
|
29761
29761
|
const Fr = we, mS = Ae;
|
|
29762
|
-
function
|
|
29762
|
+
function i4(r, { keyword: e, schemaProp: t, schema: n, schemaPath: s, errSchemaPath: i, topSchemaRef: o }) {
|
|
29763
29763
|
if (e !== void 0 && n !== void 0)
|
|
29764
29764
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
29765
29765
|
if (e !== void 0) {
|
|
@@ -29786,8 +29786,8 @@ function iN(r, { keyword: e, schemaProp: t, schema: n, schemaPath: s, errSchemaP
|
|
|
29786
29786
|
}
|
|
29787
29787
|
throw new Error('either "keyword" or "schema" must be passed');
|
|
29788
29788
|
}
|
|
29789
|
-
Jn.getSubschema =
|
|
29790
|
-
function
|
|
29789
|
+
Jn.getSubschema = i4;
|
|
29790
|
+
function o4(r, e, { dataProp: t, dataPropType: n, data: s, dataTypes: i, propertyName: o }) {
|
|
29791
29791
|
if (s !== void 0 && t !== void 0)
|
|
29792
29792
|
throw new Error('both "data" and "dataProp" passed, only one allowed');
|
|
29793
29793
|
const { gen: a } = e;
|
|
@@ -29804,11 +29804,11 @@ function oN(r, e, { dataProp: t, dataPropType: n, data: s, dataTypes: i, propert
|
|
|
29804
29804
|
r.data = c, r.dataLevel = e.dataLevel + 1, r.dataTypes = [], e.definedProperties = /* @__PURE__ */ new Set(), r.parentData = e.data, r.dataNames = [...e.dataNames, c];
|
|
29805
29805
|
}
|
|
29806
29806
|
}
|
|
29807
|
-
Jn.extendSubschemaData =
|
|
29808
|
-
function
|
|
29807
|
+
Jn.extendSubschemaData = o4;
|
|
29808
|
+
function a4(r, { jtdDiscriminator: e, jtdMetadata: t, compositeRule: n, createErrors: s, allErrors: i }) {
|
|
29809
29809
|
n !== void 0 && (r.compositeRule = n), s !== void 0 && (r.createErrors = s), i !== void 0 && (r.allErrors = i), r.jtdDiscriminator = e, r.jtdMetadata = t;
|
|
29810
29810
|
}
|
|
29811
|
-
Jn.extendSubschemaMode =
|
|
29811
|
+
Jn.extendSubschemaMode = a4;
|
|
29812
29812
|
var vt = {}, gS = function r(e, t) {
|
|
29813
29813
|
if (e === t)
|
|
29814
29814
|
return !0;
|
|
@@ -29906,20 +29906,20 @@ function wc(r, e, t, n, s, i, o, a, l, c) {
|
|
|
29906
29906
|
} else if (d in Gn.propsKeywords) {
|
|
29907
29907
|
if (u && typeof u == "object")
|
|
29908
29908
|
for (var f in u)
|
|
29909
|
-
wc(r, e, t, u[f], s + "/" + d + "/" +
|
|
29909
|
+
wc(r, e, t, u[f], s + "/" + d + "/" + l4(f), i, s, d, n, f);
|
|
29910
29910
|
} else
|
|
29911
29911
|
(d in Gn.keywords || r.allKeys && !(d in Gn.skipKeywords)) && wc(r, e, t, u, s + "/" + d, i, s, d, n);
|
|
29912
29912
|
}
|
|
29913
29913
|
t(n, s, i, o, a, l, c);
|
|
29914
29914
|
}
|
|
29915
29915
|
}
|
|
29916
|
-
function
|
|
29916
|
+
function l4(r) {
|
|
29917
29917
|
return r.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
29918
29918
|
}
|
|
29919
|
-
var
|
|
29919
|
+
var c4 = OS.exports;
|
|
29920
29920
|
Object.defineProperty(vt, "__esModule", { value: !0 });
|
|
29921
29921
|
vt.getSchemaRefs = vt.resolveUrl = vt.normalizeId = vt._getFullPath = vt.getFullPath = vt.inlineRef = void 0;
|
|
29922
|
-
const
|
|
29922
|
+
const d4 = Ae, u4 = gS, h4 = c4, f4 = /* @__PURE__ */ new Set([
|
|
29923
29923
|
"type",
|
|
29924
29924
|
"format",
|
|
29925
29925
|
"pattern",
|
|
@@ -29937,11 +29937,11 @@ const dN = Ae, uN = gS, hN = cN, fN = /* @__PURE__ */ new Set([
|
|
|
29937
29937
|
"enum",
|
|
29938
29938
|
"const"
|
|
29939
29939
|
]);
|
|
29940
|
-
function
|
|
29940
|
+
function p4(r, e = !0) {
|
|
29941
29941
|
return typeof r == "boolean" ? !0 : e === !0 ? !qf(r) : e ? yS(r) <= e : !1;
|
|
29942
29942
|
}
|
|
29943
|
-
vt.inlineRef =
|
|
29944
|
-
const
|
|
29943
|
+
vt.inlineRef = p4;
|
|
29944
|
+
const m4 = /* @__PURE__ */ new Set([
|
|
29945
29945
|
"$ref",
|
|
29946
29946
|
"$recursiveRef",
|
|
29947
29947
|
"$recursiveAnchor",
|
|
@@ -29950,7 +29950,7 @@ const mN = /* @__PURE__ */ new Set([
|
|
|
29950
29950
|
]);
|
|
29951
29951
|
function qf(r) {
|
|
29952
29952
|
for (const e in r) {
|
|
29953
|
-
if (
|
|
29953
|
+
if (m4.has(e))
|
|
29954
29954
|
return !0;
|
|
29955
29955
|
const t = r[e];
|
|
29956
29956
|
if (Array.isArray(t) && t.some(qf) || typeof t == "object" && qf(t))
|
|
@@ -29961,7 +29961,7 @@ function qf(r) {
|
|
|
29961
29961
|
function yS(r) {
|
|
29962
29962
|
let e = 0;
|
|
29963
29963
|
for (const t in r)
|
|
29964
|
-
if (t === "$ref" || (e++, !
|
|
29964
|
+
if (t === "$ref" || (e++, !f4.has(t) && (typeof r[t] == "object" && (0, d4.eachItem)(r[t], (n) => e += yS(n)), e === 1 / 0)))
|
|
29965
29965
|
return 1 / 0;
|
|
29966
29966
|
return e;
|
|
29967
29967
|
}
|
|
@@ -29975,21 +29975,21 @@ function vS(r, e) {
|
|
|
29975
29975
|
return r.serialize(e).split("#")[0] + "#";
|
|
29976
29976
|
}
|
|
29977
29977
|
vt._getFullPath = vS;
|
|
29978
|
-
const
|
|
29978
|
+
const g4 = /#\/?$/;
|
|
29979
29979
|
function Wi(r) {
|
|
29980
|
-
return r ? r.replace(
|
|
29980
|
+
return r ? r.replace(g4, "") : "";
|
|
29981
29981
|
}
|
|
29982
29982
|
vt.normalizeId = Wi;
|
|
29983
|
-
function
|
|
29983
|
+
function O4(r, e, t) {
|
|
29984
29984
|
return t = Wi(t), r.resolve(e, t);
|
|
29985
29985
|
}
|
|
29986
|
-
vt.resolveUrl =
|
|
29987
|
-
const
|
|
29988
|
-
function
|
|
29986
|
+
vt.resolveUrl = O4;
|
|
29987
|
+
const y4 = /^[a-z_][-a-z0-9._]*$/i;
|
|
29988
|
+
function b4(r, e) {
|
|
29989
29989
|
if (typeof r == "boolean")
|
|
29990
29990
|
return {};
|
|
29991
29991
|
const { schemaId: t, uriResolver: n } = this.opts, s = Wi(r[t] || e), i = { "": s }, o = bS(n, s, !1), a = {}, l = /* @__PURE__ */ new Set();
|
|
29992
|
-
return
|
|
29992
|
+
return h4(r, { allKeys: !0 }, (u, h, f, p) => {
|
|
29993
29993
|
if (p === void 0)
|
|
29994
29994
|
return;
|
|
29995
29995
|
const m = o + h;
|
|
@@ -30005,54 +30005,54 @@ function bN(r, e) {
|
|
|
30005
30005
|
}
|
|
30006
30006
|
function y(b) {
|
|
30007
30007
|
if (typeof b == "string") {
|
|
30008
|
-
if (!
|
|
30008
|
+
if (!y4.test(b))
|
|
30009
30009
|
throw new Error(`invalid anchor "${b}"`);
|
|
30010
30010
|
O.call(this, `#${b}`);
|
|
30011
30011
|
}
|
|
30012
30012
|
}
|
|
30013
30013
|
}), a;
|
|
30014
30014
|
function c(u, h, f) {
|
|
30015
|
-
if (h !== void 0 && !
|
|
30015
|
+
if (h !== void 0 && !u4(u, h))
|
|
30016
30016
|
throw d(f);
|
|
30017
30017
|
}
|
|
30018
30018
|
function d(u) {
|
|
30019
30019
|
return new Error(`reference "${u}" resolves to more than one schema`);
|
|
30020
30020
|
}
|
|
30021
30021
|
}
|
|
30022
|
-
vt.getSchemaRefs =
|
|
30022
|
+
vt.getSchemaRefs = b4;
|
|
30023
30023
|
Object.defineProperty(fr, "__esModule", { value: !0 });
|
|
30024
30024
|
fr.getData = fr.KeywordCxt = fr.validateFunctionCode = void 0;
|
|
30025
|
-
const wS = to, yy = al, mm = vn, od = al,
|
|
30026
|
-
function
|
|
30025
|
+
const wS = to, yy = al, mm = vn, od = al, v4 = Yd, Oa = en, ah = Jn, he = we, ve = nr, w4 = vt, wn = Ae, Go = ol;
|
|
30026
|
+
function S4(r) {
|
|
30027
30027
|
if ($S(r) && (PS(r), kS(r))) {
|
|
30028
|
-
|
|
30028
|
+
P4(r);
|
|
30029
30029
|
return;
|
|
30030
30030
|
}
|
|
30031
30031
|
SS(r, () => (0, wS.topBoolOrEmptySchema)(r));
|
|
30032
30032
|
}
|
|
30033
|
-
fr.validateFunctionCode =
|
|
30033
|
+
fr.validateFunctionCode = S4;
|
|
30034
30034
|
function SS({ gen: r, validateName: e, schema: t, schemaEnv: n, opts: s }, i) {
|
|
30035
30035
|
s.code.es5 ? r.func(e, (0, he._)`${ve.default.data}, ${ve.default.valCxt}`, n.$async, () => {
|
|
30036
|
-
r.code((0, he._)`"use strict"; ${by(t, s)}`), $
|
|
30037
|
-
}) : r.func(e, (0, he._)`${ve.default.data}, ${
|
|
30036
|
+
r.code((0, he._)`"use strict"; ${by(t, s)}`), $4(r, s), r.code(i);
|
|
30037
|
+
}) : r.func(e, (0, he._)`${ve.default.data}, ${k4(s)}`, n.$async, () => r.code(by(t, s)).code(i));
|
|
30038
30038
|
}
|
|
30039
|
-
function
|
|
30039
|
+
function k4(r) {
|
|
30040
30040
|
return (0, he._)`{${ve.default.instancePath}="", ${ve.default.parentData}, ${ve.default.parentDataProperty}, ${ve.default.rootData}=${ve.default.data}${r.dynamicRef ? (0, he._)`, ${ve.default.dynamicAnchors}={}` : he.nil}}={}`;
|
|
30041
30041
|
}
|
|
30042
|
-
function $
|
|
30042
|
+
function $4(r, e) {
|
|
30043
30043
|
r.if(ve.default.valCxt, () => {
|
|
30044
30044
|
r.var(ve.default.instancePath, (0, he._)`${ve.default.valCxt}.${ve.default.instancePath}`), r.var(ve.default.parentData, (0, he._)`${ve.default.valCxt}.${ve.default.parentData}`), r.var(ve.default.parentDataProperty, (0, he._)`${ve.default.valCxt}.${ve.default.parentDataProperty}`), r.var(ve.default.rootData, (0, he._)`${ve.default.valCxt}.${ve.default.rootData}`), e.dynamicRef && r.var(ve.default.dynamicAnchors, (0, he._)`${ve.default.valCxt}.${ve.default.dynamicAnchors}`);
|
|
30045
30045
|
}, () => {
|
|
30046
30046
|
r.var(ve.default.instancePath, (0, he._)`""`), r.var(ve.default.parentData, (0, he._)`undefined`), r.var(ve.default.parentDataProperty, (0, he._)`undefined`), r.var(ve.default.rootData, ve.default.data), e.dynamicRef && r.var(ve.default.dynamicAnchors, (0, he._)`{}`);
|
|
30047
30047
|
});
|
|
30048
30048
|
}
|
|
30049
|
-
function
|
|
30049
|
+
function P4(r) {
|
|
30050
30050
|
const { schema: e, opts: t, gen: n } = r;
|
|
30051
30051
|
SS(r, () => {
|
|
30052
|
-
t.$comment && e.$comment && xS(r),
|
|
30052
|
+
t.$comment && e.$comment && xS(r), C4(r), n.let(ve.default.vErrors, null), n.let(ve.default.errors, 0), t.unevaluated && _4(r), _S(r), R4(r);
|
|
30053
30053
|
});
|
|
30054
30054
|
}
|
|
30055
|
-
function
|
|
30055
|
+
function _4(r) {
|
|
30056
30056
|
const { gen: e, validateName: t } = r;
|
|
30057
30057
|
r.evaluated = e.const("evaluated", (0, he._)`${t}.evaluated`), e.if((0, he._)`${r.evaluated}.dynamicProps`, () => e.assign((0, he._)`${r.evaluated}.props`, (0, he._)`undefined`)), e.if((0, he._)`${r.evaluated}.dynamicItems`, () => e.assign((0, he._)`${r.evaluated}.items`, (0, he._)`undefined`));
|
|
30058
30058
|
}
|
|
@@ -30060,9 +30060,9 @@ function by(r, e) {
|
|
|
30060
30060
|
const t = typeof r == "object" && r[e.schemaId];
|
|
30061
30061
|
return t && (e.code.source || e.code.process) ? (0, he._)`/*# sourceURL=${t} */` : he.nil;
|
|
30062
30062
|
}
|
|
30063
|
-
function
|
|
30063
|
+
function x4(r, e) {
|
|
30064
30064
|
if ($S(r) && (PS(r), kS(r))) {
|
|
30065
|
-
|
|
30065
|
+
Q4(r, e);
|
|
30066
30066
|
return;
|
|
30067
30067
|
}
|
|
30068
30068
|
(0, wS.boolOrEmptySchema)(r, e);
|
|
@@ -30078,14 +30078,14 @@ function kS({ schema: r, self: e }) {
|
|
|
30078
30078
|
function $S(r) {
|
|
30079
30079
|
return typeof r.schema != "boolean";
|
|
30080
30080
|
}
|
|
30081
|
-
function
|
|
30081
|
+
function Q4(r, e) {
|
|
30082
30082
|
const { schema: t, gen: n, opts: s } = r;
|
|
30083
|
-
s.$comment && t.$comment && xS(r),
|
|
30083
|
+
s.$comment && t.$comment && xS(r), A4(r), E4(r);
|
|
30084
30084
|
const i = n.const("_errs", ve.default.errors);
|
|
30085
30085
|
_S(r, i), n.var(e, (0, he._)`${i} === ${ve.default.errors}`);
|
|
30086
30086
|
}
|
|
30087
30087
|
function PS(r) {
|
|
30088
|
-
(0, wn.checkUnknownRules)(r),
|
|
30088
|
+
(0, wn.checkUnknownRules)(r), T4(r);
|
|
30089
30089
|
}
|
|
30090
30090
|
function _S(r, e) {
|
|
30091
30091
|
if (r.opts.jtd)
|
|
@@ -30093,19 +30093,19 @@ function _S(r, e) {
|
|
|
30093
30093
|
const t = (0, yy.getSchemaTypes)(r.schema), n = (0, yy.coerceAndCheckDataType)(r, t);
|
|
30094
30094
|
vy(r, t, !n, e);
|
|
30095
30095
|
}
|
|
30096
|
-
function
|
|
30096
|
+
function T4(r) {
|
|
30097
30097
|
const { schema: e, errSchemaPath: t, opts: n, self: s } = r;
|
|
30098
30098
|
e.$ref && n.ignoreKeywordsWithRef && (0, wn.schemaHasRulesButRef)(e, s.RULES) && s.logger.warn(`$ref: keywords ignored in schema at path "${t}"`);
|
|
30099
30099
|
}
|
|
30100
|
-
function
|
|
30100
|
+
function C4(r) {
|
|
30101
30101
|
const { schema: e, opts: t } = r;
|
|
30102
30102
|
e.default !== void 0 && t.useDefaults && t.strictSchema && (0, wn.checkStrictMode)(r, "default is ignored in the schema root");
|
|
30103
30103
|
}
|
|
30104
|
-
function
|
|
30104
|
+
function A4(r) {
|
|
30105
30105
|
const e = r.schema[r.opts.schemaId];
|
|
30106
|
-
e && (r.baseId = (0,
|
|
30106
|
+
e && (r.baseId = (0, w4.resolveUrl)(r.opts.uriResolver, r.baseId, e));
|
|
30107
30107
|
}
|
|
30108
|
-
function
|
|
30108
|
+
function E4(r) {
|
|
30109
30109
|
if (r.schema.$async && !r.schemaEnv.$async)
|
|
30110
30110
|
throw new Error("async schema in sync schema");
|
|
30111
30111
|
}
|
|
@@ -30118,11 +30118,11 @@ function xS({ gen: r, schemaEnv: e, schema: t, errSchemaPath: n, opts: s }) {
|
|
|
30118
30118
|
r.code((0, he._)`${ve.default.self}.opts.$comment(${i}, ${o}, ${a}.schema)`);
|
|
30119
30119
|
}
|
|
30120
30120
|
}
|
|
30121
|
-
function
|
|
30121
|
+
function R4(r) {
|
|
30122
30122
|
const { gen: e, schemaEnv: t, validateName: n, ValidationError: s, opts: i } = r;
|
|
30123
|
-
t.$async ? e.if((0, he._)`${ve.default.errors} === 0`, () => e.return(ve.default.data), () => e.throw((0, he._)`new ${s}(${ve.default.vErrors})`)) : (e.assign((0, he._)`${n}.errors`, ve.default.vErrors), i.unevaluated &&
|
|
30123
|
+
t.$async ? e.if((0, he._)`${ve.default.errors} === 0`, () => e.return(ve.default.data), () => e.throw((0, he._)`new ${s}(${ve.default.vErrors})`)) : (e.assign((0, he._)`${n}.errors`, ve.default.vErrors), i.unevaluated && Z4(r), e.return((0, he._)`${ve.default.errors} === 0`));
|
|
30124
30124
|
}
|
|
30125
|
-
function
|
|
30125
|
+
function Z4({ gen: r, evaluated: e, props: t, items: n }) {
|
|
30126
30126
|
t instanceof he.Name && r.assign((0, he._)`${e}.props`, t), n instanceof he.Name && r.assign((0, he._)`${e}.items`, n);
|
|
30127
30127
|
}
|
|
30128
30128
|
function vy(r, e, t, n) {
|
|
@@ -30131,7 +30131,7 @@ function vy(r, e, t, n) {
|
|
|
30131
30131
|
s.block(() => CS(r, "$ref", d.all.$ref.definition));
|
|
30132
30132
|
return;
|
|
30133
30133
|
}
|
|
30134
|
-
l.jtd ||
|
|
30134
|
+
l.jtd || I4(r, e), s.block(() => {
|
|
30135
30135
|
for (const h of d.rules)
|
|
30136
30136
|
u(h);
|
|
30137
30137
|
u(d.post);
|
|
@@ -30142,15 +30142,15 @@ function vy(r, e, t, n) {
|
|
|
30142
30142
|
}
|
|
30143
30143
|
function wy(r, e) {
|
|
30144
30144
|
const { gen: t, schema: n, opts: { useDefaults: s } } = r;
|
|
30145
|
-
s && (0,
|
|
30145
|
+
s && (0, v4.assignDefaults)(r, e.type), t.block(() => {
|
|
30146
30146
|
for (const i of e.rules)
|
|
30147
30147
|
(0, mm.shouldUseRule)(n, i) && CS(r, i.keyword, i.definition, e.type);
|
|
30148
30148
|
});
|
|
30149
30149
|
}
|
|
30150
|
-
function
|
|
30151
|
-
r.schemaEnv.meta || !r.opts.strictTypes || (
|
|
30150
|
+
function I4(r, e) {
|
|
30151
|
+
r.schemaEnv.meta || !r.opts.strictTypes || (j4(r, e), r.opts.allowUnionTypes || N4(r, e), D4(r, r.dataTypes));
|
|
30152
30152
|
}
|
|
30153
|
-
function
|
|
30153
|
+
function j4(r, e) {
|
|
30154
30154
|
if (e.length) {
|
|
30155
30155
|
if (!r.dataTypes.length) {
|
|
30156
30156
|
r.dataTypes = e;
|
|
@@ -30158,29 +30158,29 @@ function jN(r, e) {
|
|
|
30158
30158
|
}
|
|
30159
30159
|
e.forEach((t) => {
|
|
30160
30160
|
QS(r.dataTypes, t) || gm(r, `type "${t}" not allowed by context "${r.dataTypes.join(",")}"`);
|
|
30161
|
-
}),
|
|
30161
|
+
}), X4(r, e);
|
|
30162
30162
|
}
|
|
30163
30163
|
}
|
|
30164
|
-
function
|
|
30164
|
+
function N4(r, e) {
|
|
30165
30165
|
e.length > 1 && !(e.length === 2 && e.includes("null")) && gm(r, "use allowUnionTypes to allow union type keyword");
|
|
30166
30166
|
}
|
|
30167
|
-
function
|
|
30167
|
+
function D4(r, e) {
|
|
30168
30168
|
const t = r.self.RULES.all;
|
|
30169
30169
|
for (const n in t) {
|
|
30170
30170
|
const s = t[n];
|
|
30171
30171
|
if (typeof s == "object" && (0, mm.shouldUseRule)(r.schema, s)) {
|
|
30172
30172
|
const { type: i } = s.definition;
|
|
30173
|
-
i.length && !i.some((o) =>
|
|
30173
|
+
i.length && !i.some((o) => M4(e, o)) && gm(r, `missing type "${i.join(",")}" for keyword "${n}"`);
|
|
30174
30174
|
}
|
|
30175
30175
|
}
|
|
30176
30176
|
}
|
|
30177
|
-
function
|
|
30177
|
+
function M4(r, e) {
|
|
30178
30178
|
return r.includes(e) || e === "number" && r.includes("integer");
|
|
30179
30179
|
}
|
|
30180
30180
|
function QS(r, e) {
|
|
30181
30181
|
return r.includes(e) || e === "integer" && r.includes("number");
|
|
30182
30182
|
}
|
|
30183
|
-
function
|
|
30183
|
+
function X4(r, e) {
|
|
30184
30184
|
const t = [];
|
|
30185
30185
|
for (const n of r.dataTypes)
|
|
30186
30186
|
QS(e, n) ? t.push(n) : e.includes("integer") && n === "number" && t.push("integer");
|
|
@@ -30279,7 +30279,7 @@ class TS {
|
|
|
30279
30279
|
const n = (0, ah.getSubschema)(this.it, e);
|
|
30280
30280
|
(0, ah.extendSubschemaData)(n, this.it, e), (0, ah.extendSubschemaMode)(n, e);
|
|
30281
30281
|
const s = { ...this.it, ...n, items: void 0, props: void 0 };
|
|
30282
|
-
return
|
|
30282
|
+
return x4(s, t), s;
|
|
30283
30283
|
}
|
|
30284
30284
|
mergeEvaluated(e, t) {
|
|
30285
30285
|
const { it: n, gen: s } = this;
|
|
@@ -30296,17 +30296,17 @@ function CS(r, e, t, n) {
|
|
|
30296
30296
|
const s = new TS(r, t, e);
|
|
30297
30297
|
"code" in t ? t.code(s, n) : s.$data && t.validate ? (0, Oa.funcKeywordCode)(s, t) : "macro" in t ? (0, Oa.macroKeywordCode)(s, t) : (t.compile || t.validate) && (0, Oa.funcKeywordCode)(s, t);
|
|
30298
30298
|
}
|
|
30299
|
-
const
|
|
30299
|
+
const q4 = /^\/(?:[^~]|~0|~1)*$/, W4 = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
|
|
30300
30300
|
function AS(r, { dataLevel: e, dataNames: t, dataPathArr: n }) {
|
|
30301
30301
|
let s, i;
|
|
30302
30302
|
if (r === "")
|
|
30303
30303
|
return ve.default.rootData;
|
|
30304
30304
|
if (r[0] === "/") {
|
|
30305
|
-
if (!
|
|
30305
|
+
if (!q4.test(r))
|
|
30306
30306
|
throw new Error(`Invalid JSON-pointer: ${r}`);
|
|
30307
30307
|
s = r, i = ve.default.rootData;
|
|
30308
30308
|
} else {
|
|
30309
|
-
const c =
|
|
30309
|
+
const c = W4.exec(r);
|
|
30310
30310
|
if (!c)
|
|
30311
30311
|
throw new Error(`Invalid JSON-pointer: ${r}`);
|
|
30312
30312
|
const d = +c[1];
|
|
@@ -30332,25 +30332,25 @@ function AS(r, { dataLevel: e, dataNames: t, dataPathArr: n }) {
|
|
|
30332
30332
|
fr.getData = AS;
|
|
30333
30333
|
var mo = {};
|
|
30334
30334
|
Object.defineProperty(mo, "__esModule", { value: !0 });
|
|
30335
|
-
class
|
|
30335
|
+
class V4 extends Error {
|
|
30336
30336
|
constructor(e) {
|
|
30337
30337
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
30338
30338
|
}
|
|
30339
30339
|
}
|
|
30340
|
-
mo.default =
|
|
30340
|
+
mo.default = V4;
|
|
30341
30341
|
var go = {};
|
|
30342
30342
|
Object.defineProperty(go, "__esModule", { value: !0 });
|
|
30343
30343
|
const lh = vt;
|
|
30344
|
-
class
|
|
30344
|
+
class z4 extends Error {
|
|
30345
30345
|
constructor(e, t, n, s) {
|
|
30346
30346
|
super(s || `can't resolve reference ${n} from id ${t}`), this.missingRef = (0, lh.resolveUrl)(e, t, n), this.missingSchema = (0, lh.normalizeId)((0, lh.getFullPath)(e, this.missingRef));
|
|
30347
30347
|
}
|
|
30348
30348
|
}
|
|
30349
|
-
go.default =
|
|
30349
|
+
go.default = z4;
|
|
30350
30350
|
var Nt = {};
|
|
30351
30351
|
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
30352
30352
|
Nt.resolveSchema = Nt.getCompilingSchema = Nt.resolveRef = Nt.compileSchema = Nt.SchemaEnv = void 0;
|
|
30353
|
-
const wr = we,
|
|
30353
|
+
const wr = we, U4 = mo, Ss = nr, Tr = vt, Sy = Ae, Y4 = fr;
|
|
30354
30354
|
class Ld {
|
|
30355
30355
|
constructor(e) {
|
|
30356
30356
|
var t;
|
|
@@ -30367,7 +30367,7 @@ function Om(r) {
|
|
|
30367
30367
|
const t = (0, Tr.getFullPath)(this.opts.uriResolver, r.root.baseId), { es5: n, lines: s } = this.opts.code, { ownProperties: i } = this.opts, o = new wr.CodeGen(this.scope, { es5: n, lines: s, ownProperties: i });
|
|
30368
30368
|
let a;
|
|
30369
30369
|
r.$async && (a = o.scopeValue("Error", {
|
|
30370
|
-
ref:
|
|
30370
|
+
ref: U4.default,
|
|
30371
30371
|
code: (0, wr._)`require("ajv/dist/runtime/validation_error").default`
|
|
30372
30372
|
}));
|
|
30373
30373
|
const l = o.scopeName("validate");
|
|
@@ -30398,7 +30398,7 @@ function Om(r) {
|
|
|
30398
30398
|
};
|
|
30399
30399
|
let d;
|
|
30400
30400
|
try {
|
|
30401
|
-
this._compilations.add(r), (0,
|
|
30401
|
+
this._compilations.add(r), (0, Y4.validateFunctionCode)(c), o.optimize(this.opts.code.optimize);
|
|
30402
30402
|
const u = o.toString();
|
|
30403
30403
|
d = `${o.scopeRefs(Ss.default.scope)}return ${u}`, this.opts.code.process && (d = this.opts.code.process(d, r));
|
|
30404
30404
|
const h = new Function(`${Ss.default.self}`, `${Ss.default.scope}`, d)(this, this.scope.get());
|
|
@@ -30419,34 +30419,34 @@ function Om(r) {
|
|
|
30419
30419
|
}
|
|
30420
30420
|
}
|
|
30421
30421
|
Nt.compileSchema = Om;
|
|
30422
|
-
function
|
|
30422
|
+
function L4(r, e, t) {
|
|
30423
30423
|
var n;
|
|
30424
30424
|
t = (0, Tr.resolveUrl)(this.opts.uriResolver, e, t);
|
|
30425
30425
|
const s = r.refs[t];
|
|
30426
30426
|
if (s)
|
|
30427
30427
|
return s;
|
|
30428
|
-
let i =
|
|
30428
|
+
let i = G4.call(this, r, t);
|
|
30429
30429
|
if (i === void 0) {
|
|
30430
30430
|
const o = (n = r.localRefs) === null || n === void 0 ? void 0 : n[t], { schemaId: a } = this.opts;
|
|
30431
30431
|
o && (i = new Ld({ schema: o, schemaId: a, root: r, baseId: e }));
|
|
30432
30432
|
}
|
|
30433
30433
|
if (i !== void 0)
|
|
30434
|
-
return r.refs[t] =
|
|
30434
|
+
return r.refs[t] = B4.call(this, i);
|
|
30435
30435
|
}
|
|
30436
|
-
Nt.resolveRef =
|
|
30437
|
-
function
|
|
30436
|
+
Nt.resolveRef = L4;
|
|
30437
|
+
function B4(r) {
|
|
30438
30438
|
return (0, Tr.inlineRef)(r.schema, this.opts.inlineRefs) ? r.schema : r.validate ? r : Om.call(this, r);
|
|
30439
30439
|
}
|
|
30440
30440
|
function ES(r) {
|
|
30441
30441
|
for (const e of this._compilations)
|
|
30442
|
-
if (
|
|
30442
|
+
if (H4(e, r))
|
|
30443
30443
|
return e;
|
|
30444
30444
|
}
|
|
30445
30445
|
Nt.getCompilingSchema = ES;
|
|
30446
|
-
function
|
|
30446
|
+
function H4(r, e) {
|
|
30447
30447
|
return r.schema === e.schema && r.root === e.root && r.baseId === e.baseId;
|
|
30448
30448
|
}
|
|
30449
|
-
function
|
|
30449
|
+
function G4(r, e) {
|
|
30450
30450
|
let t;
|
|
30451
30451
|
for (; typeof (t = this.refs[e]) == "string"; )
|
|
30452
30452
|
e = t;
|
|
@@ -30471,7 +30471,7 @@ function Bd(r, e) {
|
|
|
30471
30471
|
}
|
|
30472
30472
|
}
|
|
30473
30473
|
Nt.resolveSchema = Bd;
|
|
30474
|
-
const
|
|
30474
|
+
const F4 = /* @__PURE__ */ new Set([
|
|
30475
30475
|
"properties",
|
|
30476
30476
|
"patternProperties",
|
|
30477
30477
|
"enum",
|
|
@@ -30490,7 +30490,7 @@ function ch(r, { baseId: e, schema: t, root: n }) {
|
|
|
30490
30490
|
return;
|
|
30491
30491
|
t = l;
|
|
30492
30492
|
const c = typeof t == "object" && t[this.opts.schemaId];
|
|
30493
|
-
!
|
|
30493
|
+
!F4.has(a) && c && (e = (0, Tr.resolveUrl)(this.opts.uriResolver, e, c));
|
|
30494
30494
|
}
|
|
30495
30495
|
let i;
|
|
30496
30496
|
if (typeof t != "boolean" && t.$ref && !(0, Sy.schemaHasRulesButRef)(t, this.RULES)) {
|
|
@@ -30501,9 +30501,9 @@ function ch(r, { baseId: e, schema: t, root: n }) {
|
|
|
30501
30501
|
if (i = i || new Ld({ schema: t, schemaId: o, root: n, baseId: e }), i.schema !== i.root.schema)
|
|
30502
30502
|
return i;
|
|
30503
30503
|
}
|
|
30504
|
-
const
|
|
30504
|
+
const K4 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", J4 = "Meta-schema for $data reference (JSON AnySchema extension proposal)", eN = "object", tN = [
|
|
30505
30505
|
"$data"
|
|
30506
|
-
],
|
|
30506
|
+
], rN = {
|
|
30507
30507
|
$data: {
|
|
30508
30508
|
type: "string",
|
|
30509
30509
|
anyOf: [
|
|
@@ -30515,13 +30515,13 @@ const KN = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/
|
|
|
30515
30515
|
}
|
|
30516
30516
|
]
|
|
30517
30517
|
}
|
|
30518
|
-
},
|
|
30519
|
-
$id:
|
|
30520
|
-
description:
|
|
30521
|
-
type:
|
|
30522
|
-
required:
|
|
30523
|
-
properties:
|
|
30524
|
-
additionalProperties:
|
|
30518
|
+
}, nN = !1, sN = {
|
|
30519
|
+
$id: K4,
|
|
30520
|
+
description: J4,
|
|
30521
|
+
type: eN,
|
|
30522
|
+
required: tN,
|
|
30523
|
+
properties: rN,
|
|
30524
|
+
additionalProperties: nN
|
|
30525
30525
|
};
|
|
30526
30526
|
var ym = {}, Wf = { exports: {} };
|
|
30527
30527
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
@@ -31075,9 +31075,9 @@ var ym = {}, Wf = { exports: {} };
|
|
|
31075
31075
|
se[Os.scheme] = Os, se[xg.scheme] = xg, se[Do.scheme] = Do, se[Tg.scheme] = Tg, se[Eg.scheme] = Eg, se[Rg.scheme] = Rg, se[Zg.scheme] = Zg, t.SCHEMES = se, t.pctEncChar = ae, t.pctDecChars = xe, t.parse = Bt, t.removeDotSegments = Xr, t.serialize = Wt, t.resolveComponents = li, t.resolve = jo, t.normalize = gs, t.equal = No, t.escapeComponent = wl, t.unescapeComponent = ir, Object.defineProperty(t, "__esModule", { value: !0 });
|
|
31076
31076
|
});
|
|
31077
31077
|
})(Wf, Wf.exports);
|
|
31078
|
-
var
|
|
31078
|
+
var iN = Wf.exports;
|
|
31079
31079
|
Object.defineProperty(ym, "__esModule", { value: !0 });
|
|
31080
|
-
const RS =
|
|
31080
|
+
const RS = iN;
|
|
31081
31081
|
RS.code = 'require("ajv/dist/runtime/uri").default';
|
|
31082
31082
|
ym.default = RS;
|
|
31083
31083
|
(function(r) {
|
|
@@ -31100,7 +31100,7 @@ ym.default = RS;
|
|
|
31100
31100
|
} }), Object.defineProperty(r, "CodeGen", { enumerable: !0, get: function() {
|
|
31101
31101
|
return t.CodeGen;
|
|
31102
31102
|
} });
|
|
31103
|
-
const n = mo, s = go, i = Fs, o = Nt, a = we, l = vt, c = al, d = Ae, u =
|
|
31103
|
+
const n = mo, s = go, i = Fs, o = Nt, a = we, l = vt, c = al, d = Ae, u = sN, h = ym, f = (F, D) => new RegExp(F, D);
|
|
31104
31104
|
f.code = "new RegExp";
|
|
31105
31105
|
const p = ["removeAdditional", "useDefaults", "coerceTypes"], m = /* @__PURE__ */ new Set([
|
|
31106
31106
|
"validate",
|
|
@@ -31522,17 +31522,17 @@ ym.default = RS;
|
|
|
31522
31522
|
})(Vs);
|
|
31523
31523
|
var bm = {}, Hd = {}, vm = {};
|
|
31524
31524
|
Object.defineProperty(vm, "__esModule", { value: !0 });
|
|
31525
|
-
const
|
|
31525
|
+
const oN = {
|
|
31526
31526
|
keyword: "id",
|
|
31527
31527
|
code() {
|
|
31528
31528
|
throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
|
|
31529
31529
|
}
|
|
31530
31530
|
};
|
|
31531
|
-
vm.default =
|
|
31531
|
+
vm.default = oN;
|
|
31532
31532
|
var sn = {};
|
|
31533
31533
|
Object.defineProperty(sn, "__esModule", { value: !0 });
|
|
31534
31534
|
sn.callRef = sn.getValidate = void 0;
|
|
31535
|
-
const
|
|
31535
|
+
const aN = go, ky = Te, zt = we, gi = nr, $y = Nt, Hl = Ae, lN = {
|
|
31536
31536
|
keyword: "$ref",
|
|
31537
31537
|
schemaType: "string",
|
|
31538
31538
|
code(r) {
|
|
@@ -31541,7 +31541,7 @@ const aD = go, ky = Te, zt = we, gi = nr, $y = Nt, Hl = Ae, lD = {
|
|
|
31541
31541
|
return u();
|
|
31542
31542
|
const d = $y.resolveRef.call(l, c, s, t);
|
|
31543
31543
|
if (d === void 0)
|
|
31544
|
-
throw new
|
|
31544
|
+
throw new aN.default(n.opts.uriResolver, s, t);
|
|
31545
31545
|
if (d instanceof $y.SchemaEnv)
|
|
31546
31546
|
return h(d);
|
|
31547
31547
|
return f(d);
|
|
@@ -31614,19 +31614,19 @@ function Sc(r, e, t, n) {
|
|
|
31614
31614
|
}
|
|
31615
31615
|
}
|
|
31616
31616
|
sn.callRef = Sc;
|
|
31617
|
-
sn.default =
|
|
31617
|
+
sn.default = lN;
|
|
31618
31618
|
Object.defineProperty(Hd, "__esModule", { value: !0 });
|
|
31619
|
-
const
|
|
31619
|
+
const cN = vm, dN = sn, uN = [
|
|
31620
31620
|
"$schema",
|
|
31621
31621
|
"$id",
|
|
31622
31622
|
"$defs",
|
|
31623
31623
|
"$vocabulary",
|
|
31624
31624
|
{ keyword: "$comment" },
|
|
31625
31625
|
"definitions",
|
|
31626
|
-
|
|
31627
|
-
|
|
31626
|
+
cN.default,
|
|
31627
|
+
dN.default
|
|
31628
31628
|
];
|
|
31629
|
-
Hd.default =
|
|
31629
|
+
Hd.default = uN;
|
|
31630
31630
|
var Gd = {}, wm = {};
|
|
31631
31631
|
Object.defineProperty(wm, "__esModule", { value: !0 });
|
|
31632
31632
|
const ad = we, Nn = ad.operators, ld = {
|
|
@@ -31634,38 +31634,38 @@ const ad = we, Nn = ad.operators, ld = {
|
|
|
31634
31634
|
minimum: { okStr: ">=", ok: Nn.GTE, fail: Nn.LT },
|
|
31635
31635
|
exclusiveMaximum: { okStr: "<", ok: Nn.LT, fail: Nn.GTE },
|
|
31636
31636
|
exclusiveMinimum: { okStr: ">", ok: Nn.GT, fail: Nn.LTE }
|
|
31637
|
-
},
|
|
31637
|
+
}, hN = {
|
|
31638
31638
|
message: ({ keyword: r, schemaCode: e }) => (0, ad.str)`must be ${ld[r].okStr} ${e}`,
|
|
31639
31639
|
params: ({ keyword: r, schemaCode: e }) => (0, ad._)`{comparison: ${ld[r].okStr}, limit: ${e}}`
|
|
31640
|
-
},
|
|
31640
|
+
}, fN = {
|
|
31641
31641
|
keyword: Object.keys(ld),
|
|
31642
31642
|
type: "number",
|
|
31643
31643
|
schemaType: "number",
|
|
31644
31644
|
$data: !0,
|
|
31645
|
-
error:
|
|
31645
|
+
error: hN,
|
|
31646
31646
|
code(r) {
|
|
31647
31647
|
const { keyword: e, data: t, schemaCode: n } = r;
|
|
31648
31648
|
r.fail$data((0, ad._)`${t} ${ld[e].fail} ${n} || isNaN(${t})`);
|
|
31649
31649
|
}
|
|
31650
31650
|
};
|
|
31651
|
-
wm.default =
|
|
31651
|
+
wm.default = fN;
|
|
31652
31652
|
var Fd = {};
|
|
31653
31653
|
Object.defineProperty(Fd, "__esModule", { value: !0 });
|
|
31654
|
-
const ya = we,
|
|
31654
|
+
const ya = we, pN = {
|
|
31655
31655
|
message: ({ schemaCode: r }) => (0, ya.str)`must be multiple of ${r}`,
|
|
31656
31656
|
params: ({ schemaCode: r }) => (0, ya._)`{multipleOf: ${r}}`
|
|
31657
|
-
},
|
|
31657
|
+
}, mN = {
|
|
31658
31658
|
keyword: "multipleOf",
|
|
31659
31659
|
type: "number",
|
|
31660
31660
|
schemaType: "number",
|
|
31661
31661
|
$data: !0,
|
|
31662
|
-
error:
|
|
31662
|
+
error: pN,
|
|
31663
31663
|
code(r) {
|
|
31664
31664
|
const { gen: e, data: t, schemaCode: n, it: s } = r, i = s.opts.multipleOfPrecision, o = e.let("res"), a = i ? (0, ya._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${i}` : (0, ya._)`${o} !== parseInt(${o})`;
|
|
31665
31665
|
r.fail$data((0, ya._)`(${n} === 0 || (${o} = ${t}/${n}, ${a}))`);
|
|
31666
31666
|
}
|
|
31667
31667
|
};
|
|
31668
|
-
Fd.default =
|
|
31668
|
+
Fd.default = mN;
|
|
31669
31669
|
var Kd = {}, Sm = {};
|
|
31670
31670
|
Object.defineProperty(Sm, "__esModule", { value: !0 });
|
|
31671
31671
|
function IS(r) {
|
|
@@ -31678,72 +31678,72 @@ function IS(r) {
|
|
|
31678
31678
|
Sm.default = IS;
|
|
31679
31679
|
IS.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
31680
31680
|
Object.defineProperty(Kd, "__esModule", { value: !0 });
|
|
31681
|
-
const xs = we,
|
|
31681
|
+
const xs = we, gN = Ae, ON = Sm, yN = {
|
|
31682
31682
|
message({ keyword: r, schemaCode: e }) {
|
|
31683
31683
|
const t = r === "maxLength" ? "more" : "fewer";
|
|
31684
31684
|
return (0, xs.str)`must NOT have ${t} than ${e} characters`;
|
|
31685
31685
|
},
|
|
31686
31686
|
params: ({ schemaCode: r }) => (0, xs._)`{limit: ${r}}`
|
|
31687
|
-
},
|
|
31687
|
+
}, bN = {
|
|
31688
31688
|
keyword: ["maxLength", "minLength"],
|
|
31689
31689
|
type: "string",
|
|
31690
31690
|
schemaType: "number",
|
|
31691
31691
|
$data: !0,
|
|
31692
|
-
error:
|
|
31692
|
+
error: yN,
|
|
31693
31693
|
code(r) {
|
|
31694
|
-
const { keyword: e, data: t, schemaCode: n, it: s } = r, i = e === "maxLength" ? xs.operators.GT : xs.operators.LT, o = s.opts.unicode === !1 ? (0, xs._)`${t}.length` : (0, xs._)`${(0,
|
|
31694
|
+
const { keyword: e, data: t, schemaCode: n, it: s } = r, i = e === "maxLength" ? xs.operators.GT : xs.operators.LT, o = s.opts.unicode === !1 ? (0, xs._)`${t}.length` : (0, xs._)`${(0, gN.useFunc)(r.gen, ON.default)}(${t})`;
|
|
31695
31695
|
r.fail$data((0, xs._)`${o} ${i} ${n}`);
|
|
31696
31696
|
}
|
|
31697
31697
|
};
|
|
31698
|
-
Kd.default =
|
|
31698
|
+
Kd.default = bN;
|
|
31699
31699
|
var Jd = {};
|
|
31700
31700
|
Object.defineProperty(Jd, "__esModule", { value: !0 });
|
|
31701
|
-
const
|
|
31701
|
+
const vN = Te, cd = we, wN = {
|
|
31702
31702
|
message: ({ schemaCode: r }) => (0, cd.str)`must match pattern "${r}"`,
|
|
31703
31703
|
params: ({ schemaCode: r }) => (0, cd._)`{pattern: ${r}}`
|
|
31704
|
-
},
|
|
31704
|
+
}, SN = {
|
|
31705
31705
|
keyword: "pattern",
|
|
31706
31706
|
type: "string",
|
|
31707
31707
|
schemaType: "string",
|
|
31708
31708
|
$data: !0,
|
|
31709
|
-
error:
|
|
31709
|
+
error: wN,
|
|
31710
31710
|
code(r) {
|
|
31711
|
-
const { data: e, $data: t, schema: n, schemaCode: s, it: i } = r, o = i.opts.unicodeRegExp ? "u" : "", a = t ? (0, cd._)`(new RegExp(${s}, ${o}))` : (0,
|
|
31711
|
+
const { data: e, $data: t, schema: n, schemaCode: s, it: i } = r, o = i.opts.unicodeRegExp ? "u" : "", a = t ? (0, cd._)`(new RegExp(${s}, ${o}))` : (0, vN.usePattern)(r, n);
|
|
31712
31712
|
r.fail$data((0, cd._)`!${a}.test(${e})`);
|
|
31713
31713
|
}
|
|
31714
31714
|
};
|
|
31715
|
-
Jd.default =
|
|
31715
|
+
Jd.default = SN;
|
|
31716
31716
|
var eu = {};
|
|
31717
31717
|
Object.defineProperty(eu, "__esModule", { value: !0 });
|
|
31718
|
-
const ba = we,
|
|
31718
|
+
const ba = we, kN = {
|
|
31719
31719
|
message({ keyword: r, schemaCode: e }) {
|
|
31720
31720
|
const t = r === "maxProperties" ? "more" : "fewer";
|
|
31721
31721
|
return (0, ba.str)`must NOT have ${t} than ${e} properties`;
|
|
31722
31722
|
},
|
|
31723
31723
|
params: ({ schemaCode: r }) => (0, ba._)`{limit: ${r}}`
|
|
31724
|
-
}, $
|
|
31724
|
+
}, $N = {
|
|
31725
31725
|
keyword: ["maxProperties", "minProperties"],
|
|
31726
31726
|
type: "object",
|
|
31727
31727
|
schemaType: "number",
|
|
31728
31728
|
$data: !0,
|
|
31729
|
-
error:
|
|
31729
|
+
error: kN,
|
|
31730
31730
|
code(r) {
|
|
31731
31731
|
const { keyword: e, data: t, schemaCode: n } = r, s = e === "maxProperties" ? ba.operators.GT : ba.operators.LT;
|
|
31732
31732
|
r.fail$data((0, ba._)`Object.keys(${t}).length ${s} ${n}`);
|
|
31733
31733
|
}
|
|
31734
31734
|
};
|
|
31735
|
-
eu.default = $
|
|
31735
|
+
eu.default = $N;
|
|
31736
31736
|
var tu = {};
|
|
31737
31737
|
Object.defineProperty(tu, "__esModule", { value: !0 });
|
|
31738
|
-
const Fo = Te, va = we,
|
|
31738
|
+
const Fo = Te, va = we, PN = Ae, _N = {
|
|
31739
31739
|
message: ({ params: { missingProperty: r } }) => (0, va.str)`must have required property '${r}'`,
|
|
31740
31740
|
params: ({ params: { missingProperty: r } }) => (0, va._)`{missingProperty: ${r}}`
|
|
31741
|
-
},
|
|
31741
|
+
}, xN = {
|
|
31742
31742
|
keyword: "required",
|
|
31743
31743
|
type: "object",
|
|
31744
31744
|
schemaType: "array",
|
|
31745
31745
|
$data: !0,
|
|
31746
|
-
error:
|
|
31746
|
+
error: _N,
|
|
31747
31747
|
code(r) {
|
|
31748
31748
|
const { gen: e, schema: t, schemaCode: n, data: s, $data: i, it: o } = r, { opts: a } = o;
|
|
31749
31749
|
if (!i && t.length === 0)
|
|
@@ -31754,7 +31754,7 @@ const Fo = Te, va = we, PD = Ae, _D = {
|
|
|
31754
31754
|
for (const m of t)
|
|
31755
31755
|
if ((f == null ? void 0 : f[m]) === void 0 && !p.has(m)) {
|
|
31756
31756
|
const g = o.schemaEnv.baseId + o.errSchemaPath, O = `required property "${m}" is not defined at "${g}" (strictRequired)`;
|
|
31757
|
-
(0,
|
|
31757
|
+
(0, PN.checkStrictMode)(o, O, o.opts.strictRequired);
|
|
31758
31758
|
}
|
|
31759
31759
|
}
|
|
31760
31760
|
function c() {
|
|
@@ -31786,42 +31786,42 @@ const Fo = Te, va = we, PD = Ae, _D = {
|
|
|
31786
31786
|
}
|
|
31787
31787
|
}
|
|
31788
31788
|
};
|
|
31789
|
-
tu.default =
|
|
31789
|
+
tu.default = xN;
|
|
31790
31790
|
var ru = {};
|
|
31791
31791
|
Object.defineProperty(ru, "__esModule", { value: !0 });
|
|
31792
|
-
const wa = we,
|
|
31792
|
+
const wa = we, QN = {
|
|
31793
31793
|
message({ keyword: r, schemaCode: e }) {
|
|
31794
31794
|
const t = r === "maxItems" ? "more" : "fewer";
|
|
31795
31795
|
return (0, wa.str)`must NOT have ${t} than ${e} items`;
|
|
31796
31796
|
},
|
|
31797
31797
|
params: ({ schemaCode: r }) => (0, wa._)`{limit: ${r}}`
|
|
31798
|
-
},
|
|
31798
|
+
}, TN = {
|
|
31799
31799
|
keyword: ["maxItems", "minItems"],
|
|
31800
31800
|
type: "array",
|
|
31801
31801
|
schemaType: "number",
|
|
31802
31802
|
$data: !0,
|
|
31803
|
-
error:
|
|
31803
|
+
error: QN,
|
|
31804
31804
|
code(r) {
|
|
31805
31805
|
const { keyword: e, data: t, schemaCode: n } = r, s = e === "maxItems" ? wa.operators.GT : wa.operators.LT;
|
|
31806
31806
|
r.fail$data((0, wa._)`${t}.length ${s} ${n}`);
|
|
31807
31807
|
}
|
|
31808
31808
|
};
|
|
31809
|
-
ru.default =
|
|
31809
|
+
ru.default = TN;
|
|
31810
31810
|
var nu = {}, ll = {};
|
|
31811
31811
|
Object.defineProperty(ll, "__esModule", { value: !0 });
|
|
31812
31812
|
const jS = gS;
|
|
31813
31813
|
jS.code = 'require("ajv/dist/runtime/equal").default';
|
|
31814
31814
|
ll.default = jS;
|
|
31815
31815
|
Object.defineProperty(nu, "__esModule", { value: !0 });
|
|
31816
|
-
const dh = al, gt = we,
|
|
31816
|
+
const dh = al, gt = we, CN = Ae, AN = ll, EN = {
|
|
31817
31817
|
message: ({ params: { i: r, j: e } }) => (0, gt.str)`must NOT have duplicate items (items ## ${e} and ${r} are identical)`,
|
|
31818
31818
|
params: ({ params: { i: r, j: e } }) => (0, gt._)`{i: ${r}, j: ${e}}`
|
|
31819
|
-
},
|
|
31819
|
+
}, RN = {
|
|
31820
31820
|
keyword: "uniqueItems",
|
|
31821
31821
|
type: "array",
|
|
31822
31822
|
schemaType: "boolean",
|
|
31823
31823
|
$data: !0,
|
|
31824
|
-
error:
|
|
31824
|
+
error: EN,
|
|
31825
31825
|
code(r) {
|
|
31826
31826
|
const { gen: e, data: t, $data: n, schema: s, parentSchema: i, schemaCode: o, it: a } = r;
|
|
31827
31827
|
if (!n && !s)
|
|
@@ -31844,46 +31844,46 @@ const dh = al, gt = we, CD = Ae, AD = ll, ED = {
|
|
|
31844
31844
|
});
|
|
31845
31845
|
}
|
|
31846
31846
|
function f(p, m) {
|
|
31847
|
-
const g = (0,
|
|
31847
|
+
const g = (0, CN.useFunc)(e, AN.default), O = e.name("outer");
|
|
31848
31848
|
e.label(O).for((0, gt._)`;${p}--;`, () => e.for((0, gt._)`${m} = ${p}; ${m}--;`, () => e.if((0, gt._)`${g}(${t}[${p}], ${t}[${m}])`, () => {
|
|
31849
31849
|
r.error(), e.assign(l, !1).break(O);
|
|
31850
31850
|
})));
|
|
31851
31851
|
}
|
|
31852
31852
|
}
|
|
31853
31853
|
};
|
|
31854
|
-
nu.default =
|
|
31854
|
+
nu.default = RN;
|
|
31855
31855
|
var su = {};
|
|
31856
31856
|
Object.defineProperty(su, "__esModule", { value: !0 });
|
|
31857
|
-
const Vf = we,
|
|
31857
|
+
const Vf = we, ZN = Ae, IN = ll, jN = {
|
|
31858
31858
|
message: "must be equal to constant",
|
|
31859
31859
|
params: ({ schemaCode: r }) => (0, Vf._)`{allowedValue: ${r}}`
|
|
31860
|
-
},
|
|
31860
|
+
}, NN = {
|
|
31861
31861
|
keyword: "const",
|
|
31862
31862
|
$data: !0,
|
|
31863
|
-
error:
|
|
31863
|
+
error: jN,
|
|
31864
31864
|
code(r) {
|
|
31865
31865
|
const { gen: e, data: t, $data: n, schemaCode: s, schema: i } = r;
|
|
31866
|
-
n || i && typeof i == "object" ? r.fail$data((0, Vf._)`!${(0,
|
|
31866
|
+
n || i && typeof i == "object" ? r.fail$data((0, Vf._)`!${(0, ZN.useFunc)(e, IN.default)}(${t}, ${s})`) : r.fail((0, Vf._)`${i} !== ${t}`);
|
|
31867
31867
|
}
|
|
31868
31868
|
};
|
|
31869
|
-
su.default =
|
|
31869
|
+
su.default = NN;
|
|
31870
31870
|
var iu = {};
|
|
31871
31871
|
Object.defineProperty(iu, "__esModule", { value: !0 });
|
|
31872
|
-
const ia = we,
|
|
31872
|
+
const ia = we, DN = Ae, MN = ll, XN = {
|
|
31873
31873
|
message: "must be equal to one of the allowed values",
|
|
31874
31874
|
params: ({ schemaCode: r }) => (0, ia._)`{allowedValues: ${r}}`
|
|
31875
|
-
},
|
|
31875
|
+
}, qN = {
|
|
31876
31876
|
keyword: "enum",
|
|
31877
31877
|
schemaType: "array",
|
|
31878
31878
|
$data: !0,
|
|
31879
|
-
error:
|
|
31879
|
+
error: XN,
|
|
31880
31880
|
code(r) {
|
|
31881
31881
|
const { gen: e, data: t, $data: n, schema: s, schemaCode: i, it: o } = r;
|
|
31882
31882
|
if (!n && s.length === 0)
|
|
31883
31883
|
throw new Error("enum must have non-empty array");
|
|
31884
31884
|
const a = s.length >= o.opts.loopEnum;
|
|
31885
31885
|
let l;
|
|
31886
|
-
const c = () => l ?? (l = (0,
|
|
31886
|
+
const c = () => l ?? (l = (0, DN.useFunc)(e, MN.default));
|
|
31887
31887
|
let d;
|
|
31888
31888
|
if (a || n)
|
|
31889
31889
|
d = e.let("valid"), r.block$data(d, u);
|
|
@@ -31903,40 +31903,40 @@ const ia = we, DD = Ae, MD = ll, XD = {
|
|
|
31903
31903
|
}
|
|
31904
31904
|
}
|
|
31905
31905
|
};
|
|
31906
|
-
iu.default =
|
|
31906
|
+
iu.default = qN;
|
|
31907
31907
|
Object.defineProperty(Gd, "__esModule", { value: !0 });
|
|
31908
|
-
const
|
|
31908
|
+
const WN = wm, VN = Fd, zN = Kd, UN = Jd, YN = eu, LN = tu, BN = ru, HN = nu, GN = su, FN = iu, KN = [
|
|
31909
31909
|
// number
|
|
31910
|
-
|
|
31911
|
-
|
|
31910
|
+
WN.default,
|
|
31911
|
+
VN.default,
|
|
31912
31912
|
// string
|
|
31913
|
-
|
|
31914
|
-
|
|
31913
|
+
zN.default,
|
|
31914
|
+
UN.default,
|
|
31915
31915
|
// object
|
|
31916
|
-
|
|
31917
|
-
|
|
31916
|
+
YN.default,
|
|
31917
|
+
LN.default,
|
|
31918
31918
|
// array
|
|
31919
|
-
|
|
31920
|
-
|
|
31919
|
+
BN.default,
|
|
31920
|
+
HN.default,
|
|
31921
31921
|
// any
|
|
31922
31922
|
{ keyword: "type", schemaType: ["string", "array"] },
|
|
31923
31923
|
{ keyword: "nullable", schemaType: "boolean" },
|
|
31924
|
-
|
|
31925
|
-
|
|
31924
|
+
GN.default,
|
|
31925
|
+
FN.default
|
|
31926
31926
|
];
|
|
31927
|
-
Gd.default =
|
|
31927
|
+
Gd.default = KN;
|
|
31928
31928
|
var cl = {}, Oo = {};
|
|
31929
31929
|
Object.defineProperty(Oo, "__esModule", { value: !0 });
|
|
31930
31930
|
Oo.validateAdditionalItems = void 0;
|
|
31931
|
-
const Qs = we, zf = Ae,
|
|
31931
|
+
const Qs = we, zf = Ae, JN = {
|
|
31932
31932
|
message: ({ params: { len: r } }) => (0, Qs.str)`must NOT have more than ${r} items`,
|
|
31933
31933
|
params: ({ params: { len: r } }) => (0, Qs._)`{limit: ${r}}`
|
|
31934
|
-
},
|
|
31934
|
+
}, eD = {
|
|
31935
31935
|
keyword: "additionalItems",
|
|
31936
31936
|
type: "array",
|
|
31937
31937
|
schemaType: ["boolean", "object"],
|
|
31938
31938
|
before: "uniqueItems",
|
|
31939
|
-
error:
|
|
31939
|
+
error: JN,
|
|
31940
31940
|
code(r) {
|
|
31941
31941
|
const { parentSchema: e, it: t } = r, { items: n } = e;
|
|
31942
31942
|
if (!Array.isArray(n)) {
|
|
@@ -31963,11 +31963,11 @@ function NS(r, e) {
|
|
|
31963
31963
|
}
|
|
31964
31964
|
}
|
|
31965
31965
|
Oo.validateAdditionalItems = NS;
|
|
31966
|
-
Oo.default =
|
|
31966
|
+
Oo.default = eD;
|
|
31967
31967
|
var km = {}, yo = {};
|
|
31968
31968
|
Object.defineProperty(yo, "__esModule", { value: !0 });
|
|
31969
31969
|
yo.validateTuple = void 0;
|
|
31970
|
-
const Py = we, kc = Ae,
|
|
31970
|
+
const Py = we, kc = Ae, tD = Te, rD = {
|
|
31971
31971
|
keyword: "items",
|
|
31972
31972
|
type: "array",
|
|
31973
31973
|
schemaType: ["object", "array", "boolean"],
|
|
@@ -31976,7 +31976,7 @@ const Py = we, kc = Ae, t4 = Te, r4 = {
|
|
|
31976
31976
|
const { schema: e, it: t } = r;
|
|
31977
31977
|
if (Array.isArray(e))
|
|
31978
31978
|
return DS(r, "additionalItems", e);
|
|
31979
|
-
t.items = !0, !(0, kc.alwaysValidSchema)(t, e) && r.ok((0,
|
|
31979
|
+
t.items = !0, !(0, kc.alwaysValidSchema)(t, e) && r.ok((0, tD.validateArray)(r));
|
|
31980
31980
|
}
|
|
31981
31981
|
};
|
|
31982
31982
|
function DS(r, e, t = r.schema) {
|
|
@@ -31999,45 +31999,45 @@ function DS(r, e, t = r.schema) {
|
|
|
31999
31999
|
}
|
|
32000
32000
|
}
|
|
32001
32001
|
yo.validateTuple = DS;
|
|
32002
|
-
yo.default =
|
|
32002
|
+
yo.default = rD;
|
|
32003
32003
|
Object.defineProperty(km, "__esModule", { value: !0 });
|
|
32004
|
-
const
|
|
32004
|
+
const nD = yo, sD = {
|
|
32005
32005
|
keyword: "prefixItems",
|
|
32006
32006
|
type: "array",
|
|
32007
32007
|
schemaType: ["array"],
|
|
32008
32008
|
before: "uniqueItems",
|
|
32009
|
-
code: (r) => (0,
|
|
32009
|
+
code: (r) => (0, nD.validateTuple)(r, "items")
|
|
32010
32010
|
};
|
|
32011
|
-
km.default =
|
|
32011
|
+
km.default = sD;
|
|
32012
32012
|
var $m = {};
|
|
32013
32013
|
Object.defineProperty($m, "__esModule", { value: !0 });
|
|
32014
|
-
const _y = we,
|
|
32014
|
+
const _y = we, iD = Ae, oD = Te, aD = Oo, lD = {
|
|
32015
32015
|
message: ({ params: { len: r } }) => (0, _y.str)`must NOT have more than ${r} items`,
|
|
32016
32016
|
params: ({ params: { len: r } }) => (0, _y._)`{limit: ${r}}`
|
|
32017
|
-
},
|
|
32017
|
+
}, cD = {
|
|
32018
32018
|
keyword: "items",
|
|
32019
32019
|
type: "array",
|
|
32020
32020
|
schemaType: ["object", "boolean"],
|
|
32021
32021
|
before: "uniqueItems",
|
|
32022
|
-
error:
|
|
32022
|
+
error: lD,
|
|
32023
32023
|
code(r) {
|
|
32024
32024
|
const { schema: e, parentSchema: t, it: n } = r, { prefixItems: s } = t;
|
|
32025
|
-
n.items = !0, !(0,
|
|
32025
|
+
n.items = !0, !(0, iD.alwaysValidSchema)(n, e) && (s ? (0, aD.validateAdditionalItems)(r, s) : r.ok((0, oD.validateArray)(r)));
|
|
32026
32026
|
}
|
|
32027
32027
|
};
|
|
32028
|
-
$m.default =
|
|
32028
|
+
$m.default = cD;
|
|
32029
32029
|
var Pm = {};
|
|
32030
32030
|
Object.defineProperty(Pm, "__esModule", { value: !0 });
|
|
32031
|
-
const cr = we, Gl = Ae,
|
|
32031
|
+
const cr = we, Gl = Ae, dD = {
|
|
32032
32032
|
message: ({ params: { min: r, max: e } }) => e === void 0 ? (0, cr.str)`must contain at least ${r} valid item(s)` : (0, cr.str)`must contain at least ${r} and no more than ${e} valid item(s)`,
|
|
32033
32033
|
params: ({ params: { min: r, max: e } }) => e === void 0 ? (0, cr._)`{minContains: ${r}}` : (0, cr._)`{minContains: ${r}, maxContains: ${e}}`
|
|
32034
|
-
},
|
|
32034
|
+
}, uD = {
|
|
32035
32035
|
keyword: "contains",
|
|
32036
32036
|
type: "array",
|
|
32037
32037
|
schemaType: ["object", "boolean"],
|
|
32038
32038
|
before: "uniqueItems",
|
|
32039
32039
|
trackErrors: !0,
|
|
32040
|
-
error:
|
|
32040
|
+
error: dD,
|
|
32041
32041
|
code(r) {
|
|
32042
32042
|
const { gen: e, schema: t, parentSchema: n, data: s, it: i } = r;
|
|
32043
32043
|
let o, a;
|
|
@@ -32079,7 +32079,7 @@ const cr = we, Gl = Ae, d4 = {
|
|
|
32079
32079
|
}
|
|
32080
32080
|
}
|
|
32081
32081
|
};
|
|
32082
|
-
Pm.default =
|
|
32082
|
+
Pm.default = uD;
|
|
32083
32083
|
var ou = {};
|
|
32084
32084
|
(function(r) {
|
|
32085
32085
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.validateSchemaDeps = r.validatePropertyDeps = r.error = void 0;
|
|
@@ -32153,17 +32153,17 @@ var ou = {};
|
|
|
32153
32153
|
})(ou);
|
|
32154
32154
|
var _m = {};
|
|
32155
32155
|
Object.defineProperty(_m, "__esModule", { value: !0 });
|
|
32156
|
-
const MS = we,
|
|
32156
|
+
const MS = we, hD = Ae, fD = {
|
|
32157
32157
|
message: "property name must be valid",
|
|
32158
32158
|
params: ({ params: r }) => (0, MS._)`{propertyName: ${r.propertyName}}`
|
|
32159
|
-
},
|
|
32159
|
+
}, pD = {
|
|
32160
32160
|
keyword: "propertyNames",
|
|
32161
32161
|
type: "object",
|
|
32162
32162
|
schemaType: ["object", "boolean"],
|
|
32163
|
-
error:
|
|
32163
|
+
error: fD,
|
|
32164
32164
|
code(r) {
|
|
32165
32165
|
const { gen: e, schema: t, data: n, it: s } = r;
|
|
32166
|
-
if ((0,
|
|
32166
|
+
if ((0, hD.alwaysValidSchema)(s, t))
|
|
32167
32167
|
return;
|
|
32168
32168
|
const i = e.name("valid");
|
|
32169
32169
|
e.forIn("key", n, (o) => {
|
|
@@ -32179,19 +32179,19 @@ const MS = we, h4 = Ae, f4 = {
|
|
|
32179
32179
|
}), r.ok(i);
|
|
32180
32180
|
}
|
|
32181
32181
|
};
|
|
32182
|
-
_m.default =
|
|
32182
|
+
_m.default = pD;
|
|
32183
32183
|
var au = {};
|
|
32184
32184
|
Object.defineProperty(au, "__esModule", { value: !0 });
|
|
32185
|
-
const Fl = Te, kr = we,
|
|
32185
|
+
const Fl = Te, kr = we, mD = nr, Kl = Ae, gD = {
|
|
32186
32186
|
message: "must NOT have additional properties",
|
|
32187
32187
|
params: ({ params: r }) => (0, kr._)`{additionalProperty: ${r.additionalProperty}}`
|
|
32188
|
-
},
|
|
32188
|
+
}, OD = {
|
|
32189
32189
|
keyword: "additionalProperties",
|
|
32190
32190
|
type: ["object"],
|
|
32191
32191
|
schemaType: ["boolean", "object"],
|
|
32192
32192
|
allowUndefined: !0,
|
|
32193
32193
|
trackErrors: !0,
|
|
32194
|
-
error:
|
|
32194
|
+
error: gD,
|
|
32195
32195
|
code(r) {
|
|
32196
32196
|
const { gen: e, schema: t, parentSchema: n, data: s, errsCount: i, it: o } = r;
|
|
32197
32197
|
if (!i)
|
|
@@ -32200,7 +32200,7 @@ const Fl = Te, kr = we, m4 = nr, Kl = Ae, g4 = {
|
|
|
32200
32200
|
if (o.props = !0, l.removeAdditional !== "all" && (0, Kl.alwaysValidSchema)(o, t))
|
|
32201
32201
|
return;
|
|
32202
32202
|
const c = (0, Fl.allSchemaProperties)(n.properties), d = (0, Fl.allSchemaProperties)(n.patternProperties);
|
|
32203
|
-
u(), r.ok((0, kr._)`${i} === ${
|
|
32203
|
+
u(), r.ok((0, kr._)`${i} === ${mD.default.errors}`);
|
|
32204
32204
|
function u() {
|
|
32205
32205
|
e.forIn("key", s, (g) => {
|
|
32206
32206
|
!c.length && !d.length ? p(g) : e.if(h(g), () => p(g));
|
|
@@ -32248,16 +32248,16 @@ const Fl = Te, kr = we, m4 = nr, Kl = Ae, g4 = {
|
|
|
32248
32248
|
}
|
|
32249
32249
|
}
|
|
32250
32250
|
};
|
|
32251
|
-
au.default =
|
|
32251
|
+
au.default = OD;
|
|
32252
32252
|
var xm = {};
|
|
32253
32253
|
Object.defineProperty(xm, "__esModule", { value: !0 });
|
|
32254
|
-
const
|
|
32254
|
+
const yD = fr, xy = Te, uh = Ae, Qy = au, bD = {
|
|
32255
32255
|
keyword: "properties",
|
|
32256
32256
|
type: "object",
|
|
32257
32257
|
schemaType: "object",
|
|
32258
32258
|
code(r) {
|
|
32259
32259
|
const { gen: e, schema: t, parentSchema: n, data: s, it: i } = r;
|
|
32260
|
-
i.opts.removeAdditional === "all" && n.additionalProperties === void 0 && Qy.default.code(new
|
|
32260
|
+
i.opts.removeAdditional === "all" && n.additionalProperties === void 0 && Qy.default.code(new yD.KeywordCxt(i, Qy.default, "additionalProperties"));
|
|
32261
32261
|
const o = (0, xy.allSchemaProperties)(t);
|
|
32262
32262
|
for (const u of o)
|
|
32263
32263
|
i.definedProperties.add(u);
|
|
@@ -32280,10 +32280,10 @@ const y4 = fr, xy = Te, uh = Ae, Qy = au, b4 = {
|
|
|
32280
32280
|
}
|
|
32281
32281
|
}
|
|
32282
32282
|
};
|
|
32283
|
-
xm.default =
|
|
32283
|
+
xm.default = bD;
|
|
32284
32284
|
var Qm = {};
|
|
32285
32285
|
Object.defineProperty(Qm, "__esModule", { value: !0 });
|
|
32286
|
-
const Ty = Te, Jl = we, Cy = Ae, Ay = Ae,
|
|
32286
|
+
const Ty = Te, Jl = we, Cy = Ae, Ay = Ae, vD = {
|
|
32287
32287
|
keyword: "patternProperties",
|
|
32288
32288
|
type: "object",
|
|
32289
32289
|
schemaType: "object",
|
|
@@ -32318,16 +32318,16 @@ const Ty = Te, Jl = we, Cy = Ae, Ay = Ae, v4 = {
|
|
|
32318
32318
|
}
|
|
32319
32319
|
}
|
|
32320
32320
|
};
|
|
32321
|
-
Qm.default =
|
|
32321
|
+
Qm.default = vD;
|
|
32322
32322
|
var Tm = {};
|
|
32323
32323
|
Object.defineProperty(Tm, "__esModule", { value: !0 });
|
|
32324
|
-
const
|
|
32324
|
+
const wD = Ae, SD = {
|
|
32325
32325
|
keyword: "not",
|
|
32326
32326
|
schemaType: ["object", "boolean"],
|
|
32327
32327
|
trackErrors: !0,
|
|
32328
32328
|
code(r) {
|
|
32329
32329
|
const { gen: e, schema: t, it: n } = r;
|
|
32330
|
-
if ((0,
|
|
32330
|
+
if ((0, wD.alwaysValidSchema)(n, t)) {
|
|
32331
32331
|
r.fail();
|
|
32332
32332
|
return;
|
|
32333
32333
|
}
|
|
@@ -32341,27 +32341,27 @@ const w4 = Ae, S4 = {
|
|
|
32341
32341
|
},
|
|
32342
32342
|
error: { message: "must NOT be valid" }
|
|
32343
32343
|
};
|
|
32344
|
-
Tm.default =
|
|
32344
|
+
Tm.default = SD;
|
|
32345
32345
|
var Cm = {};
|
|
32346
32346
|
Object.defineProperty(Cm, "__esModule", { value: !0 });
|
|
32347
|
-
const
|
|
32347
|
+
const kD = Te, $D = {
|
|
32348
32348
|
keyword: "anyOf",
|
|
32349
32349
|
schemaType: "array",
|
|
32350
32350
|
trackErrors: !0,
|
|
32351
|
-
code:
|
|
32351
|
+
code: kD.validateUnion,
|
|
32352
32352
|
error: { message: "must match a schema in anyOf" }
|
|
32353
32353
|
};
|
|
32354
|
-
Cm.default = $
|
|
32354
|
+
Cm.default = $D;
|
|
32355
32355
|
var Am = {};
|
|
32356
32356
|
Object.defineProperty(Am, "__esModule", { value: !0 });
|
|
32357
|
-
const $c = we,
|
|
32357
|
+
const $c = we, PD = Ae, _D = {
|
|
32358
32358
|
message: "must match exactly one schema in oneOf",
|
|
32359
32359
|
params: ({ params: r }) => (0, $c._)`{passingSchemas: ${r.passing}}`
|
|
32360
|
-
},
|
|
32360
|
+
}, xD = {
|
|
32361
32361
|
keyword: "oneOf",
|
|
32362
32362
|
schemaType: "array",
|
|
32363
32363
|
trackErrors: !0,
|
|
32364
|
-
error:
|
|
32364
|
+
error: _D,
|
|
32365
32365
|
code(r) {
|
|
32366
32366
|
const { gen: e, schema: t, parentSchema: n, it: s } = r;
|
|
32367
32367
|
if (!Array.isArray(t))
|
|
@@ -32373,7 +32373,7 @@ const $c = we, P4 = Ae, _4 = {
|
|
|
32373
32373
|
function c() {
|
|
32374
32374
|
i.forEach((d, u) => {
|
|
32375
32375
|
let h;
|
|
32376
|
-
(0,
|
|
32376
|
+
(0, PD.alwaysValidSchema)(s, d) ? e.var(l, !0) : h = r.subschema({
|
|
32377
32377
|
keyword: "oneOf",
|
|
32378
32378
|
schemaProp: u,
|
|
32379
32379
|
compositeRule: !0
|
|
@@ -32384,10 +32384,10 @@ const $c = we, P4 = Ae, _4 = {
|
|
|
32384
32384
|
}
|
|
32385
32385
|
}
|
|
32386
32386
|
};
|
|
32387
|
-
Am.default =
|
|
32387
|
+
Am.default = xD;
|
|
32388
32388
|
var Em = {};
|
|
32389
32389
|
Object.defineProperty(Em, "__esModule", { value: !0 });
|
|
32390
|
-
const
|
|
32390
|
+
const QD = Ae, TD = {
|
|
32391
32391
|
keyword: "allOf",
|
|
32392
32392
|
schemaType: "array",
|
|
32393
32393
|
code(r) {
|
|
@@ -32396,24 +32396,24 @@ const Q4 = Ae, T4 = {
|
|
|
32396
32396
|
throw new Error("ajv implementation error");
|
|
32397
32397
|
const s = e.name("valid");
|
|
32398
32398
|
t.forEach((i, o) => {
|
|
32399
|
-
if ((0,
|
|
32399
|
+
if ((0, QD.alwaysValidSchema)(n, i))
|
|
32400
32400
|
return;
|
|
32401
32401
|
const a = r.subschema({ keyword: "allOf", schemaProp: o }, s);
|
|
32402
32402
|
r.ok(s), r.mergeEvaluated(a);
|
|
32403
32403
|
});
|
|
32404
32404
|
}
|
|
32405
32405
|
};
|
|
32406
|
-
Em.default =
|
|
32406
|
+
Em.default = TD;
|
|
32407
32407
|
var Rm = {};
|
|
32408
32408
|
Object.defineProperty(Rm, "__esModule", { value: !0 });
|
|
32409
|
-
const dd = we, XS = Ae,
|
|
32409
|
+
const dd = we, XS = Ae, CD = {
|
|
32410
32410
|
message: ({ params: r }) => (0, dd.str)`must match "${r.ifClause}" schema`,
|
|
32411
32411
|
params: ({ params: r }) => (0, dd._)`{failingKeyword: ${r.ifClause}}`
|
|
32412
|
-
},
|
|
32412
|
+
}, AD = {
|
|
32413
32413
|
keyword: "if",
|
|
32414
32414
|
schemaType: ["object", "boolean"],
|
|
32415
32415
|
trackErrors: !0,
|
|
32416
|
-
error:
|
|
32416
|
+
error: CD,
|
|
32417
32417
|
code(r) {
|
|
32418
32418
|
const { gen: e, parentSchema: t, it: n } = r;
|
|
32419
32419
|
t.then === void 0 && t.else === void 0 && (0, XS.checkStrictMode)(n, '"if" without "then" and "else" is ignored');
|
|
@@ -32448,49 +32448,49 @@ function Ey(r, e) {
|
|
|
32448
32448
|
const t = r.schema[e];
|
|
32449
32449
|
return t !== void 0 && !(0, XS.alwaysValidSchema)(r, t);
|
|
32450
32450
|
}
|
|
32451
|
-
Rm.default =
|
|
32451
|
+
Rm.default = AD;
|
|
32452
32452
|
var Zm = {};
|
|
32453
32453
|
Object.defineProperty(Zm, "__esModule", { value: !0 });
|
|
32454
|
-
const
|
|
32454
|
+
const ED = Ae, RD = {
|
|
32455
32455
|
keyword: ["then", "else"],
|
|
32456
32456
|
schemaType: ["object", "boolean"],
|
|
32457
32457
|
code({ keyword: r, parentSchema: e, it: t }) {
|
|
32458
|
-
e.if === void 0 && (0,
|
|
32458
|
+
e.if === void 0 && (0, ED.checkStrictMode)(t, `"${r}" without "if" is ignored`);
|
|
32459
32459
|
}
|
|
32460
32460
|
};
|
|
32461
|
-
Zm.default =
|
|
32461
|
+
Zm.default = RD;
|
|
32462
32462
|
Object.defineProperty(cl, "__esModule", { value: !0 });
|
|
32463
|
-
const
|
|
32464
|
-
function
|
|
32463
|
+
const ZD = Oo, ID = km, jD = yo, ND = $m, DD = Pm, MD = ou, XD = _m, qD = au, WD = xm, VD = Qm, zD = Tm, UD = Cm, YD = Am, LD = Em, BD = Rm, HD = Zm;
|
|
32464
|
+
function GD(r = !1) {
|
|
32465
32465
|
const e = [
|
|
32466
32466
|
// any
|
|
32467
|
-
|
|
32468
|
-
|
|
32469
|
-
|
|
32470
|
-
|
|
32471
|
-
|
|
32472
|
-
|
|
32467
|
+
zD.default,
|
|
32468
|
+
UD.default,
|
|
32469
|
+
YD.default,
|
|
32470
|
+
LD.default,
|
|
32471
|
+
BD.default,
|
|
32472
|
+
HD.default,
|
|
32473
32473
|
// object
|
|
32474
|
-
|
|
32475
|
-
|
|
32476
|
-
|
|
32477
|
-
|
|
32478
|
-
|
|
32474
|
+
XD.default,
|
|
32475
|
+
qD.default,
|
|
32476
|
+
MD.default,
|
|
32477
|
+
WD.default,
|
|
32478
|
+
VD.default
|
|
32479
32479
|
];
|
|
32480
|
-
return r ? e.push(
|
|
32480
|
+
return r ? e.push(ID.default, ND.default) : e.push(ZD.default, jD.default), e.push(DD.default), e;
|
|
32481
32481
|
}
|
|
32482
|
-
cl.default =
|
|
32482
|
+
cl.default = GD;
|
|
32483
32483
|
var dl = {}, Im = {};
|
|
32484
32484
|
Object.defineProperty(Im, "__esModule", { value: !0 });
|
|
32485
|
-
const nt = we,
|
|
32485
|
+
const nt = we, FD = {
|
|
32486
32486
|
message: ({ schemaCode: r }) => (0, nt.str)`must match format "${r}"`,
|
|
32487
32487
|
params: ({ schemaCode: r }) => (0, nt._)`{format: ${r}}`
|
|
32488
|
-
},
|
|
32488
|
+
}, KD = {
|
|
32489
32489
|
keyword: "format",
|
|
32490
32490
|
type: ["number", "string"],
|
|
32491
32491
|
schemaType: "string",
|
|
32492
32492
|
$data: !0,
|
|
32493
|
-
error:
|
|
32493
|
+
error: FD,
|
|
32494
32494
|
code(r, e) {
|
|
32495
32495
|
const { gen: t, data: n, $data: s, schema: i, schemaCode: o, it: a } = r, { opts: l, errSchemaPath: c, schemaEnv: d, self: u } = a;
|
|
32496
32496
|
if (!l.validateFormats)
|
|
@@ -32545,9 +32545,9 @@ const nt = we, F4 = {
|
|
|
32545
32545
|
}
|
|
32546
32546
|
}
|
|
32547
32547
|
};
|
|
32548
|
-
Im.default =
|
|
32548
|
+
Im.default = KD;
|
|
32549
32549
|
Object.defineProperty(dl, "__esModule", { value: !0 });
|
|
32550
|
-
const
|
|
32550
|
+
const JD = Im, eM = [JD.default];
|
|
32551
32551
|
dl.default = eM;
|
|
32552
32552
|
var Ks = {};
|
|
32553
32553
|
Object.defineProperty(Ks, "__esModule", { value: !0 });
|
|
@@ -33378,7 +33378,7 @@ const KM = /* @__PURE__ */ um(FM);
|
|
|
33378
33378
|
var Gf = { exports: {} }, qm = {}, Wm = {}, bo = {};
|
|
33379
33379
|
Object.defineProperty(bo, "__esModule", { value: !0 });
|
|
33380
33380
|
bo.dynamicAnchor = void 0;
|
|
33381
|
-
const hh = we, JM = nr, jy = Nt,
|
|
33381
|
+
const hh = we, JM = nr, jy = Nt, e8 = sn, t8 = {
|
|
33382
33382
|
keyword: "$dynamicAnchor",
|
|
33383
33383
|
schemaType: "string",
|
|
33384
33384
|
code: (r) => WS(r, r.schema)
|
|
@@ -33386,19 +33386,19 @@ const hh = we, JM = nr, jy = Nt, eX = sn, tX = {
|
|
|
33386
33386
|
function WS(r, e) {
|
|
33387
33387
|
const { gen: t, it: n } = r;
|
|
33388
33388
|
n.schemaEnv.root.dynamicAnchors[e] = !0;
|
|
33389
|
-
const s = (0, hh._)`${JM.default.dynamicAnchors}${(0, hh.getProperty)(e)}`, i = n.errSchemaPath === "#" ? n.validateName :
|
|
33389
|
+
const s = (0, hh._)`${JM.default.dynamicAnchors}${(0, hh.getProperty)(e)}`, i = n.errSchemaPath === "#" ? n.validateName : r8(r);
|
|
33390
33390
|
t.if((0, hh._)`!${s}`, () => t.assign(s, i));
|
|
33391
33391
|
}
|
|
33392
33392
|
bo.dynamicAnchor = WS;
|
|
33393
|
-
function
|
|
33393
|
+
function r8(r) {
|
|
33394
33394
|
const { schemaEnv: e, schema: t, self: n } = r.it, { root: s, baseId: i, localRefs: o, meta: a } = e.root, { schemaId: l } = n.opts, c = new jy.SchemaEnv({ schema: t, schemaId: l, root: s, baseId: i, localRefs: o, meta: a });
|
|
33395
|
-
return jy.compileSchema.call(n, c), (0,
|
|
33395
|
+
return jy.compileSchema.call(n, c), (0, e8.getValidate)(r, c);
|
|
33396
33396
|
}
|
|
33397
|
-
bo.default =
|
|
33397
|
+
bo.default = t8;
|
|
33398
33398
|
var vo = {};
|
|
33399
33399
|
Object.defineProperty(vo, "__esModule", { value: !0 });
|
|
33400
33400
|
vo.dynamicRef = void 0;
|
|
33401
|
-
const Ny = we,
|
|
33401
|
+
const Ny = we, n8 = nr, Dy = sn, s8 = {
|
|
33402
33402
|
keyword: "$dynamicRef",
|
|
33403
33403
|
schemaType: "string",
|
|
33404
33404
|
code: (r) => VS(r, r.schema)
|
|
@@ -33416,7 +33416,7 @@ function VS(r, e) {
|
|
|
33416
33416
|
}
|
|
33417
33417
|
function o(l) {
|
|
33418
33418
|
if (s.schemaEnv.root.dynamicAnchors[i]) {
|
|
33419
|
-
const c = t.let("_v", (0, Ny._)`${
|
|
33419
|
+
const c = t.let("_v", (0, Ny._)`${n8.default.dynamicAnchors}${(0, Ny.getProperty)(i)}`);
|
|
33420
33420
|
t.if(c, a(c, l), a(s.validateName, l));
|
|
33421
33421
|
} else
|
|
33422
33422
|
a(s.validateName, l)();
|
|
@@ -33428,78 +33428,78 @@ function VS(r, e) {
|
|
|
33428
33428
|
}
|
|
33429
33429
|
}
|
|
33430
33430
|
vo.dynamicRef = VS;
|
|
33431
|
-
vo.default =
|
|
33431
|
+
vo.default = s8;
|
|
33432
33432
|
var Vm = {};
|
|
33433
33433
|
Object.defineProperty(Vm, "__esModule", { value: !0 });
|
|
33434
|
-
const
|
|
33434
|
+
const i8 = bo, o8 = Ae, a8 = {
|
|
33435
33435
|
keyword: "$recursiveAnchor",
|
|
33436
33436
|
schemaType: "boolean",
|
|
33437
33437
|
code(r) {
|
|
33438
|
-
r.schema ? (0,
|
|
33438
|
+
r.schema ? (0, i8.dynamicAnchor)(r, "") : (0, o8.checkStrictMode)(r.it, "$recursiveAnchor: false is ignored");
|
|
33439
33439
|
}
|
|
33440
33440
|
};
|
|
33441
|
-
Vm.default =
|
|
33441
|
+
Vm.default = a8;
|
|
33442
33442
|
var zm = {};
|
|
33443
33443
|
Object.defineProperty(zm, "__esModule", { value: !0 });
|
|
33444
|
-
const
|
|
33444
|
+
const l8 = vo, c8 = {
|
|
33445
33445
|
keyword: "$recursiveRef",
|
|
33446
33446
|
schemaType: "string",
|
|
33447
|
-
code: (r) => (0,
|
|
33447
|
+
code: (r) => (0, l8.dynamicRef)(r, r.schema)
|
|
33448
33448
|
};
|
|
33449
|
-
zm.default =
|
|
33449
|
+
zm.default = c8;
|
|
33450
33450
|
Object.defineProperty(Wm, "__esModule", { value: !0 });
|
|
33451
|
-
const
|
|
33452
|
-
Wm.default =
|
|
33451
|
+
const d8 = bo, u8 = vo, h8 = Vm, f8 = zm, p8 = [d8.default, u8.default, h8.default, f8.default];
|
|
33452
|
+
Wm.default = p8;
|
|
33453
33453
|
var Um = {}, Ym = {};
|
|
33454
33454
|
Object.defineProperty(Ym, "__esModule", { value: !0 });
|
|
33455
|
-
const My = ou,
|
|
33455
|
+
const My = ou, m8 = {
|
|
33456
33456
|
keyword: "dependentRequired",
|
|
33457
33457
|
type: "object",
|
|
33458
33458
|
schemaType: "object",
|
|
33459
33459
|
error: My.error,
|
|
33460
33460
|
code: (r) => (0, My.validatePropertyDeps)(r)
|
|
33461
33461
|
};
|
|
33462
|
-
Ym.default =
|
|
33462
|
+
Ym.default = m8;
|
|
33463
33463
|
var Lm = {};
|
|
33464
33464
|
Object.defineProperty(Lm, "__esModule", { value: !0 });
|
|
33465
|
-
const
|
|
33465
|
+
const g8 = ou, O8 = {
|
|
33466
33466
|
keyword: "dependentSchemas",
|
|
33467
33467
|
type: "object",
|
|
33468
33468
|
schemaType: "object",
|
|
33469
|
-
code: (r) => (0,
|
|
33469
|
+
code: (r) => (0, g8.validateSchemaDeps)(r)
|
|
33470
33470
|
};
|
|
33471
|
-
Lm.default =
|
|
33471
|
+
Lm.default = O8;
|
|
33472
33472
|
var Bm = {};
|
|
33473
33473
|
Object.defineProperty(Bm, "__esModule", { value: !0 });
|
|
33474
|
-
const
|
|
33474
|
+
const y8 = Ae, b8 = {
|
|
33475
33475
|
keyword: ["maxContains", "minContains"],
|
|
33476
33476
|
type: "array",
|
|
33477
33477
|
schemaType: "number",
|
|
33478
33478
|
code({ keyword: r, parentSchema: e, it: t }) {
|
|
33479
|
-
e.contains === void 0 && (0,
|
|
33479
|
+
e.contains === void 0 && (0, y8.checkStrictMode)(t, `"${r}" without "contains" is ignored`);
|
|
33480
33480
|
}
|
|
33481
33481
|
};
|
|
33482
|
-
Bm.default =
|
|
33482
|
+
Bm.default = b8;
|
|
33483
33483
|
Object.defineProperty(Um, "__esModule", { value: !0 });
|
|
33484
|
-
const
|
|
33485
|
-
Um.default =
|
|
33484
|
+
const v8 = Ym, w8 = Lm, S8 = Bm, k8 = [v8.default, w8.default, S8.default];
|
|
33485
|
+
Um.default = k8;
|
|
33486
33486
|
var Hm = {}, Gm = {};
|
|
33487
33487
|
Object.defineProperty(Gm, "__esModule", { value: !0 });
|
|
33488
|
-
const qn = we, Xy = Ae, $
|
|
33488
|
+
const qn = we, Xy = Ae, $8 = nr, P8 = {
|
|
33489
33489
|
message: "must NOT have unevaluated properties",
|
|
33490
33490
|
params: ({ params: r }) => (0, qn._)`{unevaluatedProperty: ${r.unevaluatedProperty}}`
|
|
33491
|
-
},
|
|
33491
|
+
}, _8 = {
|
|
33492
33492
|
keyword: "unevaluatedProperties",
|
|
33493
33493
|
type: "object",
|
|
33494
33494
|
schemaType: ["boolean", "object"],
|
|
33495
33495
|
trackErrors: !0,
|
|
33496
|
-
error:
|
|
33496
|
+
error: P8,
|
|
33497
33497
|
code(r) {
|
|
33498
33498
|
const { gen: e, schema: t, data: n, errsCount: s, it: i } = r;
|
|
33499
33499
|
if (!s)
|
|
33500
33500
|
throw new Error("ajv implementation error");
|
|
33501
33501
|
const { allErrors: o, props: a } = i;
|
|
33502
|
-
a instanceof qn.Name ? e.if((0, qn._)`${a} !== true`, () => e.forIn("key", n, (u) => e.if(c(a, u), () => l(u)))) : a !== !0 && e.forIn("key", n, (u) => a === void 0 ? l(u) : e.if(d(a, u), () => l(u))), i.props = !0, r.ok((0, qn._)`${s} === ${$
|
|
33502
|
+
a instanceof qn.Name ? e.if((0, qn._)`${a} !== true`, () => e.forIn("key", n, (u) => e.if(c(a, u), () => l(u)))) : a !== !0 && e.forIn("key", n, (u) => a === void 0 ? l(u) : e.if(d(a, u), () => l(u))), i.props = !0, r.ok((0, qn._)`${s} === ${$8.default.errors}`);
|
|
33503
33503
|
function l(u) {
|
|
33504
33504
|
if (t === !1) {
|
|
33505
33505
|
r.setParams({ unevaluatedProperty: u }), r.error(), o || e.break();
|
|
@@ -33525,17 +33525,17 @@ const qn = we, Xy = Ae, $X = nr, PX = {
|
|
|
33525
33525
|
}
|
|
33526
33526
|
}
|
|
33527
33527
|
};
|
|
33528
|
-
Gm.default =
|
|
33528
|
+
Gm.default = _8;
|
|
33529
33529
|
var Fm = {};
|
|
33530
33530
|
Object.defineProperty(Fm, "__esModule", { value: !0 });
|
|
33531
|
-
const Ts = we, qy = Ae,
|
|
33531
|
+
const Ts = we, qy = Ae, x8 = {
|
|
33532
33532
|
message: ({ params: { len: r } }) => (0, Ts.str)`must NOT have more than ${r} items`,
|
|
33533
33533
|
params: ({ params: { len: r } }) => (0, Ts._)`{limit: ${r}}`
|
|
33534
|
-
},
|
|
33534
|
+
}, Q8 = {
|
|
33535
33535
|
keyword: "unevaluatedItems",
|
|
33536
33536
|
type: "array",
|
|
33537
33537
|
schemaType: ["boolean", "object"],
|
|
33538
|
-
error:
|
|
33538
|
+
error: x8,
|
|
33539
33539
|
code(r) {
|
|
33540
33540
|
const { gen: e, schema: t, data: n, it: s } = r, i = s.items || 0;
|
|
33541
33541
|
if (i === !0)
|
|
@@ -33555,25 +33555,25 @@ const Ts = we, qy = Ae, xX = {
|
|
|
33555
33555
|
}
|
|
33556
33556
|
}
|
|
33557
33557
|
};
|
|
33558
|
-
Fm.default =
|
|
33558
|
+
Fm.default = Q8;
|
|
33559
33559
|
Object.defineProperty(Hm, "__esModule", { value: !0 });
|
|
33560
|
-
const
|
|
33561
|
-
Hm.default =
|
|
33560
|
+
const T8 = Gm, C8 = Fm, A8 = [T8.default, C8.default];
|
|
33561
|
+
Hm.default = A8;
|
|
33562
33562
|
Object.defineProperty(qm, "__esModule", { value: !0 });
|
|
33563
|
-
const
|
|
33564
|
-
|
|
33565
|
-
|
|
33566
|
-
|
|
33567
|
-
(0,
|
|
33568
|
-
|
|
33563
|
+
const E8 = Hd, R8 = Gd, Z8 = cl, I8 = Wm, j8 = Um, N8 = Hm, D8 = dl, Wy = Ks, M8 = [
|
|
33564
|
+
I8.default,
|
|
33565
|
+
E8.default,
|
|
33566
|
+
R8.default,
|
|
33567
|
+
(0, Z8.default)(!0),
|
|
33568
|
+
D8.default,
|
|
33569
33569
|
Wy.metadataVocabulary,
|
|
33570
33570
|
Wy.contentVocabulary,
|
|
33571
|
-
|
|
33572
|
-
|
|
33571
|
+
j8.default,
|
|
33572
|
+
N8.default
|
|
33573
33573
|
];
|
|
33574
|
-
qm.default =
|
|
33574
|
+
qm.default = M8;
|
|
33575
33575
|
var Km = {};
|
|
33576
|
-
const
|
|
33576
|
+
const X8 = "https://json-schema.org/draft/2020-12/schema", q8 = "https://json-schema.org/draft/2020-12/schema", W8 = {
|
|
33577
33577
|
"https://json-schema.org/draft/2020-12/vocab/core": !0,
|
|
33578
33578
|
"https://json-schema.org/draft/2020-12/vocab/applicator": !0,
|
|
33579
33579
|
"https://json-schema.org/draft/2020-12/vocab/unevaluated": !0,
|
|
@@ -33581,7 +33581,7 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33581
33581
|
"https://json-schema.org/draft/2020-12/vocab/meta-data": !0,
|
|
33582
33582
|
"https://json-schema.org/draft/2020-12/vocab/format-annotation": !0,
|
|
33583
33583
|
"https://json-schema.org/draft/2020-12/vocab/content": !0
|
|
33584
|
-
},
|
|
33584
|
+
}, V8 = "meta", z8 = "Core and Validation specifications meta-schema", U8 = [
|
|
33585
33585
|
{
|
|
33586
33586
|
$ref: "meta/core"
|
|
33587
33587
|
},
|
|
@@ -33603,10 +33603,10 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33603
33603
|
{
|
|
33604
33604
|
$ref: "meta/content"
|
|
33605
33605
|
}
|
|
33606
|
-
],
|
|
33606
|
+
], Y8 = [
|
|
33607
33607
|
"object",
|
|
33608
33608
|
"boolean"
|
|
33609
|
-
],
|
|
33609
|
+
], L8 = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", B8 = {
|
|
33610
33610
|
definitions: {
|
|
33611
33611
|
$comment: '"definitions" has been replaced by "$defs".',
|
|
33612
33612
|
type: "object",
|
|
@@ -33642,22 +33642,22 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33642
33642
|
$ref: "meta/core#/$defs/uriReferenceString",
|
|
33643
33643
|
deprecated: !0
|
|
33644
33644
|
}
|
|
33645
|
-
},
|
|
33646
|
-
$schema:
|
|
33647
|
-
$id:
|
|
33648
|
-
$vocabulary:
|
|
33649
|
-
$dynamicAnchor:
|
|
33650
|
-
title:
|
|
33651
|
-
allOf:
|
|
33652
|
-
type:
|
|
33653
|
-
$comment:
|
|
33654
|
-
properties:
|
|
33655
|
-
},
|
|
33645
|
+
}, H8 = {
|
|
33646
|
+
$schema: X8,
|
|
33647
|
+
$id: q8,
|
|
33648
|
+
$vocabulary: W8,
|
|
33649
|
+
$dynamicAnchor: V8,
|
|
33650
|
+
title: z8,
|
|
33651
|
+
allOf: U8,
|
|
33652
|
+
type: Y8,
|
|
33653
|
+
$comment: L8,
|
|
33654
|
+
properties: B8
|
|
33655
|
+
}, G8 = "https://json-schema.org/draft/2020-12/schema", F8 = "https://json-schema.org/draft/2020-12/meta/applicator", K8 = {
|
|
33656
33656
|
"https://json-schema.org/draft/2020-12/vocab/applicator": !0
|
|
33657
|
-
},
|
|
33657
|
+
}, J8 = "meta", eX = "Applicator vocabulary meta-schema", tX = [
|
|
33658
33658
|
"object",
|
|
33659
33659
|
"boolean"
|
|
33660
|
-
],
|
|
33660
|
+
], rX = {
|
|
33661
33661
|
prefixItems: {
|
|
33662
33662
|
$ref: "#/$defs/schemaArray"
|
|
33663
33663
|
},
|
|
@@ -33718,7 +33718,7 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33718
33718
|
not: {
|
|
33719
33719
|
$dynamicRef: "#meta"
|
|
33720
33720
|
}
|
|
33721
|
-
},
|
|
33721
|
+
}, nX = {
|
|
33722
33722
|
schemaArray: {
|
|
33723
33723
|
type: "array",
|
|
33724
33724
|
minItems: 1,
|
|
@@ -33726,41 +33726,41 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33726
33726
|
$dynamicRef: "#meta"
|
|
33727
33727
|
}
|
|
33728
33728
|
}
|
|
33729
|
-
},
|
|
33730
|
-
$schema:
|
|
33731
|
-
$id:
|
|
33732
|
-
$vocabulary:
|
|
33733
|
-
$dynamicAnchor:
|
|
33734
|
-
title:
|
|
33735
|
-
type:
|
|
33736
|
-
properties:
|
|
33737
|
-
$defs:
|
|
33738
|
-
},
|
|
33729
|
+
}, sX = {
|
|
33730
|
+
$schema: G8,
|
|
33731
|
+
$id: F8,
|
|
33732
|
+
$vocabulary: K8,
|
|
33733
|
+
$dynamicAnchor: J8,
|
|
33734
|
+
title: eX,
|
|
33735
|
+
type: tX,
|
|
33736
|
+
properties: rX,
|
|
33737
|
+
$defs: nX
|
|
33738
|
+
}, iX = "https://json-schema.org/draft/2020-12/schema", oX = "https://json-schema.org/draft/2020-12/meta/unevaluated", aX = {
|
|
33739
33739
|
"https://json-schema.org/draft/2020-12/vocab/unevaluated": !0
|
|
33740
|
-
},
|
|
33740
|
+
}, lX = "meta", cX = "Unevaluated applicator vocabulary meta-schema", dX = [
|
|
33741
33741
|
"object",
|
|
33742
33742
|
"boolean"
|
|
33743
|
-
],
|
|
33743
|
+
], uX = {
|
|
33744
33744
|
unevaluatedItems: {
|
|
33745
33745
|
$dynamicRef: "#meta"
|
|
33746
33746
|
},
|
|
33747
33747
|
unevaluatedProperties: {
|
|
33748
33748
|
$dynamicRef: "#meta"
|
|
33749
33749
|
}
|
|
33750
|
-
},
|
|
33751
|
-
$schema:
|
|
33752
|
-
$id:
|
|
33753
|
-
$vocabulary:
|
|
33754
|
-
$dynamicAnchor:
|
|
33755
|
-
title:
|
|
33756
|
-
type:
|
|
33757
|
-
properties:
|
|
33758
|
-
},
|
|
33750
|
+
}, hX = {
|
|
33751
|
+
$schema: iX,
|
|
33752
|
+
$id: oX,
|
|
33753
|
+
$vocabulary: aX,
|
|
33754
|
+
$dynamicAnchor: lX,
|
|
33755
|
+
title: cX,
|
|
33756
|
+
type: dX,
|
|
33757
|
+
properties: uX
|
|
33758
|
+
}, fX = "https://json-schema.org/draft/2020-12/schema", pX = "https://json-schema.org/draft/2020-12/meta/content", mX = {
|
|
33759
33759
|
"https://json-schema.org/draft/2020-12/vocab/content": !0
|
|
33760
|
-
},
|
|
33760
|
+
}, gX = "meta", OX = "Content vocabulary meta-schema", yX = [
|
|
33761
33761
|
"object",
|
|
33762
33762
|
"boolean"
|
|
33763
|
-
],
|
|
33763
|
+
], bX = {
|
|
33764
33764
|
contentEncoding: {
|
|
33765
33765
|
type: "string"
|
|
33766
33766
|
},
|
|
@@ -33770,20 +33770,20 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33770
33770
|
contentSchema: {
|
|
33771
33771
|
$dynamicRef: "#meta"
|
|
33772
33772
|
}
|
|
33773
|
-
},
|
|
33774
|
-
$schema:
|
|
33775
|
-
$id:
|
|
33776
|
-
$vocabulary:
|
|
33777
|
-
$dynamicAnchor:
|
|
33778
|
-
title:
|
|
33779
|
-
type:
|
|
33780
|
-
properties:
|
|
33781
|
-
},
|
|
33773
|
+
}, vX = {
|
|
33774
|
+
$schema: fX,
|
|
33775
|
+
$id: pX,
|
|
33776
|
+
$vocabulary: mX,
|
|
33777
|
+
$dynamicAnchor: gX,
|
|
33778
|
+
title: OX,
|
|
33779
|
+
type: yX,
|
|
33780
|
+
properties: bX
|
|
33781
|
+
}, wX = "https://json-schema.org/draft/2020-12/schema", SX = "https://json-schema.org/draft/2020-12/meta/core", kX = {
|
|
33782
33782
|
"https://json-schema.org/draft/2020-12/vocab/core": !0
|
|
33783
|
-
}, $
|
|
33783
|
+
}, $X = "meta", PX = "Core vocabulary meta-schema", _X = [
|
|
33784
33784
|
"object",
|
|
33785
33785
|
"boolean"
|
|
33786
|
-
],
|
|
33786
|
+
], xX = {
|
|
33787
33787
|
$id: {
|
|
33788
33788
|
$ref: "#/$defs/uriReferenceString",
|
|
33789
33789
|
$comment: "Non-empty fragments not allowed.",
|
|
@@ -33822,7 +33822,7 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33822
33822
|
$dynamicRef: "#meta"
|
|
33823
33823
|
}
|
|
33824
33824
|
}
|
|
33825
|
-
},
|
|
33825
|
+
}, QX = {
|
|
33826
33826
|
anchorString: {
|
|
33827
33827
|
type: "string",
|
|
33828
33828
|
pattern: "^[A-Za-z_][-A-Za-z0-9._]*$"
|
|
@@ -33835,38 +33835,38 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33835
33835
|
type: "string",
|
|
33836
33836
|
format: "uri-reference"
|
|
33837
33837
|
}
|
|
33838
|
-
},
|
|
33839
|
-
$schema:
|
|
33840
|
-
$id:
|
|
33841
|
-
$vocabulary:
|
|
33842
|
-
$dynamicAnchor: $
|
|
33843
|
-
title:
|
|
33844
|
-
type:
|
|
33845
|
-
properties:
|
|
33846
|
-
$defs:
|
|
33847
|
-
},
|
|
33838
|
+
}, TX = {
|
|
33839
|
+
$schema: wX,
|
|
33840
|
+
$id: SX,
|
|
33841
|
+
$vocabulary: kX,
|
|
33842
|
+
$dynamicAnchor: $X,
|
|
33843
|
+
title: PX,
|
|
33844
|
+
type: _X,
|
|
33845
|
+
properties: xX,
|
|
33846
|
+
$defs: QX
|
|
33847
|
+
}, CX = "https://json-schema.org/draft/2020-12/schema", AX = "https://json-schema.org/draft/2020-12/meta/format-annotation", EX = {
|
|
33848
33848
|
"https://json-schema.org/draft/2020-12/vocab/format-annotation": !0
|
|
33849
|
-
},
|
|
33849
|
+
}, RX = "meta", ZX = "Format vocabulary meta-schema for annotation results", IX = [
|
|
33850
33850
|
"object",
|
|
33851
33851
|
"boolean"
|
|
33852
|
-
],
|
|
33852
|
+
], jX = {
|
|
33853
33853
|
format: {
|
|
33854
33854
|
type: "string"
|
|
33855
33855
|
}
|
|
33856
|
-
},
|
|
33857
|
-
$schema:
|
|
33858
|
-
$id:
|
|
33859
|
-
$vocabulary:
|
|
33860
|
-
$dynamicAnchor:
|
|
33861
|
-
title:
|
|
33862
|
-
type:
|
|
33863
|
-
properties:
|
|
33864
|
-
},
|
|
33856
|
+
}, NX = {
|
|
33857
|
+
$schema: CX,
|
|
33858
|
+
$id: AX,
|
|
33859
|
+
$vocabulary: EX,
|
|
33860
|
+
$dynamicAnchor: RX,
|
|
33861
|
+
title: ZX,
|
|
33862
|
+
type: IX,
|
|
33863
|
+
properties: jX
|
|
33864
|
+
}, DX = "https://json-schema.org/draft/2020-12/schema", MX = "https://json-schema.org/draft/2020-12/meta/meta-data", XX = {
|
|
33865
33865
|
"https://json-schema.org/draft/2020-12/vocab/meta-data": !0
|
|
33866
|
-
},
|
|
33866
|
+
}, qX = "meta", WX = "Meta-data vocabulary meta-schema", VX = [
|
|
33867
33867
|
"object",
|
|
33868
33868
|
"boolean"
|
|
33869
|
-
],
|
|
33869
|
+
], zX = {
|
|
33870
33870
|
title: {
|
|
33871
33871
|
type: "string"
|
|
33872
33872
|
},
|
|
@@ -33890,20 +33890,20 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33890
33890
|
type: "array",
|
|
33891
33891
|
items: !0
|
|
33892
33892
|
}
|
|
33893
|
-
},
|
|
33894
|
-
$schema:
|
|
33895
|
-
$id:
|
|
33896
|
-
$vocabulary:
|
|
33897
|
-
$dynamicAnchor:
|
|
33898
|
-
title:
|
|
33899
|
-
type:
|
|
33900
|
-
properties:
|
|
33901
|
-
},
|
|
33893
|
+
}, UX = {
|
|
33894
|
+
$schema: DX,
|
|
33895
|
+
$id: MX,
|
|
33896
|
+
$vocabulary: XX,
|
|
33897
|
+
$dynamicAnchor: qX,
|
|
33898
|
+
title: WX,
|
|
33899
|
+
type: VX,
|
|
33900
|
+
properties: zX
|
|
33901
|
+
}, YX = "https://json-schema.org/draft/2020-12/schema", LX = "https://json-schema.org/draft/2020-12/meta/validation", BX = {
|
|
33902
33902
|
"https://json-schema.org/draft/2020-12/vocab/validation": !0
|
|
33903
|
-
},
|
|
33903
|
+
}, HX = "meta", GX = "Validation vocabulary meta-schema", FX = [
|
|
33904
33904
|
"object",
|
|
33905
33905
|
"boolean"
|
|
33906
|
-
],
|
|
33906
|
+
], KX = {
|
|
33907
33907
|
type: {
|
|
33908
33908
|
anyOf: [
|
|
33909
33909
|
{
|
|
@@ -33982,7 +33982,7 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
33982
33982
|
$ref: "#/$defs/stringArray"
|
|
33983
33983
|
}
|
|
33984
33984
|
}
|
|
33985
|
-
},
|
|
33985
|
+
}, JX = {
|
|
33986
33986
|
nonNegativeInteger: {
|
|
33987
33987
|
type: "integer",
|
|
33988
33988
|
minimum: 0
|
|
@@ -34010,34 +34010,34 @@ const XX = "https://json-schema.org/draft/2020-12/schema", qX = "https://json-sc
|
|
|
34010
34010
|
uniqueItems: !0,
|
|
34011
34011
|
default: []
|
|
34012
34012
|
}
|
|
34013
|
-
},
|
|
34014
|
-
$schema:
|
|
34015
|
-
$id:
|
|
34016
|
-
$vocabulary:
|
|
34017
|
-
$dynamicAnchor:
|
|
34018
|
-
title:
|
|
34019
|
-
type:
|
|
34020
|
-
properties:
|
|
34021
|
-
$defs:
|
|
34013
|
+
}, e7 = {
|
|
34014
|
+
$schema: YX,
|
|
34015
|
+
$id: LX,
|
|
34016
|
+
$vocabulary: BX,
|
|
34017
|
+
$dynamicAnchor: HX,
|
|
34018
|
+
title: GX,
|
|
34019
|
+
type: FX,
|
|
34020
|
+
properties: KX,
|
|
34021
|
+
$defs: JX
|
|
34022
34022
|
};
|
|
34023
34023
|
Object.defineProperty(Km, "__esModule", { value: !0 });
|
|
34024
|
-
const
|
|
34025
|
-
function
|
|
34024
|
+
const t7 = H8, r7 = sX, n7 = hX, s7 = vX, i7 = TX, o7 = NX, a7 = UX, l7 = e7, c7 = ["/properties"];
|
|
34025
|
+
function d7(r) {
|
|
34026
34026
|
return [
|
|
34027
|
-
|
|
34028
|
-
|
|
34029
|
-
|
|
34030
|
-
|
|
34031
|
-
|
|
34032
|
-
e(this,
|
|
34033
|
-
|
|
34034
|
-
e(this,
|
|
34027
|
+
t7,
|
|
34028
|
+
r7,
|
|
34029
|
+
n7,
|
|
34030
|
+
s7,
|
|
34031
|
+
i7,
|
|
34032
|
+
e(this, o7),
|
|
34033
|
+
a7,
|
|
34034
|
+
e(this, l7)
|
|
34035
34035
|
].forEach((t) => this.addMetaSchema(t, void 0, !1)), this;
|
|
34036
34036
|
function e(t, n) {
|
|
34037
|
-
return r ? t.$dataMetaSchema(n,
|
|
34037
|
+
return r ? t.$dataMetaSchema(n, c7) : n;
|
|
34038
34038
|
}
|
|
34039
34039
|
}
|
|
34040
|
-
Km.default =
|
|
34040
|
+
Km.default = d7;
|
|
34041
34041
|
(function(r, e) {
|
|
34042
34042
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
34043
34043
|
const t = Vs, n = qm, s = ul, i = Km, o = "https://json-schema.org/draft/2020-12/schema";
|
|
@@ -34090,30 +34090,30 @@ Km.default = dq;
|
|
|
34090
34090
|
return u.default;
|
|
34091
34091
|
} });
|
|
34092
34092
|
})(Gf, Gf.exports);
|
|
34093
|
-
var
|
|
34094
|
-
const
|
|
34093
|
+
var u7 = Gf.exports;
|
|
34094
|
+
const h7 = /* @__PURE__ */ um(u7), zS = ["2.0", "3.0", "3.1"], f7 = {
|
|
34095
34095
|
"http://json-schema.org/draft-04/schema#": KM,
|
|
34096
|
-
"https://json-schema.org/draft/2020-12/schema":
|
|
34096
|
+
"https://json-schema.org/draft/2020-12/schema": h7
|
|
34097
34097
|
}, Ff = {
|
|
34098
34098
|
EMPTY_OR_INVALID: "Cannot find JSON, YAML or filename in data",
|
|
34099
34099
|
// URI_MUST_BE_STRING: 'uri parameter or $id attribute must be a string',
|
|
34100
34100
|
OPENAPI_VERSION_NOT_SUPPORTED: "Cannot find supported Swagger/OpenAPI version in specification, version must be a string.",
|
|
34101
34101
|
INVALID_REFERENCE: "Can’t resolve URI: %s",
|
|
34102
34102
|
EXTERNAL_REFERENCE_NOT_SUPPORTED: "External references are not supported yet: %s"
|
|
34103
|
-
},
|
|
34103
|
+
}, p7 = "x-inlined-refs";
|
|
34104
34104
|
function Br(r, e) {
|
|
34105
34105
|
const t = {};
|
|
34106
34106
|
for (const [n, s] of Object.entries(r))
|
|
34107
34107
|
Array.isArray(s) ? t[n] = s.map((i) => typeof i == "object" && i !== null ? Br(i, e) : i) : typeof s == "object" && s !== null ? t[n] = Br(s, e) : t[n] = s;
|
|
34108
34108
|
return e(t);
|
|
34109
34109
|
}
|
|
34110
|
-
function
|
|
34110
|
+
function m7(r, e) {
|
|
34111
34111
|
return Br(r, (t) => e(t) ? t : void 0);
|
|
34112
34112
|
}
|
|
34113
34113
|
function US(r) {
|
|
34114
34114
|
return typeof r !== void 0 && Array.isArray(r) && r.length > 0 && r.some((e) => e.isEntrypoint === !0);
|
|
34115
34115
|
}
|
|
34116
|
-
function
|
|
34116
|
+
function g7(r) {
|
|
34117
34117
|
const e = [];
|
|
34118
34118
|
return !r || typeof r != "object" || Br(r, (t) => (t.$ref && typeof t.$ref == "string" && !t.$ref.startsWith("#") && e.push(t.$ref.split("#")[0]), t)), e;
|
|
34119
34119
|
}
|
|
@@ -34138,7 +34138,7 @@ function it(r) {
|
|
|
34138
34138
|
}
|
|
34139
34139
|
return !1;
|
|
34140
34140
|
}
|
|
34141
|
-
const
|
|
34141
|
+
const O7 = (r) => (Le(r) || et(r)) && !!r.anchor, Yt = Symbol("break visit"), LS = Symbol("skip children"), rn = Symbol("remove node");
|
|
34142
34142
|
function ls(r, e) {
|
|
34143
34143
|
const t = BS(e);
|
|
34144
34144
|
So(r) ? Qi(null, r.contents, t, Object.freeze([r])) === rn && (r.contents = null) : Qi(null, r, t, Object.freeze([]));
|
|
@@ -34258,14 +34258,14 @@ function GS(r, e, t) {
|
|
|
34258
34258
|
throw new Error(`Cannot replace node with ${s} parent`);
|
|
34259
34259
|
}
|
|
34260
34260
|
}
|
|
34261
|
-
const
|
|
34261
|
+
const y7 = {
|
|
34262
34262
|
"!": "%21",
|
|
34263
34263
|
",": "%2C",
|
|
34264
34264
|
"[": "%5B",
|
|
34265
34265
|
"]": "%5D",
|
|
34266
34266
|
"{": "%7B",
|
|
34267
34267
|
"}": "%7D"
|
|
34268
|
-
},
|
|
34268
|
+
}, b7 = (r) => r.replace(/[!,[\]{}]/g, (e) => y7[e]);
|
|
34269
34269
|
class jt {
|
|
34270
34270
|
constructor(e, t) {
|
|
34271
34271
|
this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, jt.defaultYaml, e), this.tags = Object.assign({}, jt.defaultTags, t);
|
|
@@ -34355,7 +34355,7 @@ class jt {
|
|
|
34355
34355
|
tagString(e) {
|
|
34356
34356
|
for (const [t, n] of Object.entries(this.tags))
|
|
34357
34357
|
if (e.startsWith(n))
|
|
34358
|
-
return t +
|
|
34358
|
+
return t + b7(e.substring(n.length));
|
|
34359
34359
|
return e[0] === "!" ? e : `!<${e}>`;
|
|
34360
34360
|
}
|
|
34361
34361
|
toString(e) {
|
|
@@ -34398,7 +34398,7 @@ function JS(r, e) {
|
|
|
34398
34398
|
return n;
|
|
34399
34399
|
}
|
|
34400
34400
|
}
|
|
34401
|
-
function
|
|
34401
|
+
function v7(r, e) {
|
|
34402
34402
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
34403
34403
|
let s = null;
|
|
34404
34404
|
return {
|
|
@@ -34454,7 +34454,7 @@ function pr(r, e, t) {
|
|
|
34454
34454
|
if (Array.isArray(r))
|
|
34455
34455
|
return r.map((n, s) => pr(n, String(s), t));
|
|
34456
34456
|
if (r && typeof r.toJSON == "function") {
|
|
34457
|
-
if (!t || !
|
|
34457
|
+
if (!t || !O7(r))
|
|
34458
34458
|
return r.toJSON(e, t);
|
|
34459
34459
|
const n = { aliasCount: 0, count: 1, res: void 0 };
|
|
34460
34460
|
t.anchors.set(r, n), t.onCreate = (i) => {
|
|
@@ -34580,8 +34580,8 @@ $e.BLOCK_LITERAL = "BLOCK_LITERAL";
|
|
|
34580
34580
|
$e.PLAIN = "PLAIN";
|
|
34581
34581
|
$e.QUOTE_DOUBLE = "QUOTE_DOUBLE";
|
|
34582
34582
|
$e.QUOTE_SINGLE = "QUOTE_SINGLE";
|
|
34583
|
-
const
|
|
34584
|
-
function
|
|
34583
|
+
const w7 = "tag:yaml.org,2002:";
|
|
34584
|
+
function S7(r, e, t) {
|
|
34585
34585
|
if (e) {
|
|
34586
34586
|
const n = t.filter((i) => i.tag === e), s = n.find((i) => !i.format) ?? n[0];
|
|
34587
34587
|
if (!s)
|
|
@@ -34609,8 +34609,8 @@ function Wa(r, e, t) {
|
|
|
34609
34609
|
return u.anchor || (u.anchor = a(r)), new cu(u.anchor);
|
|
34610
34610
|
u = { anchor: null, node: null }, d.set(r, u);
|
|
34611
34611
|
}
|
|
34612
|
-
e != null && e.startsWith("!!") && (e =
|
|
34613
|
-
let h =
|
|
34612
|
+
e != null && e.startsWith("!!") && (e = w7 + e.slice(2));
|
|
34613
|
+
let h = S7(r, e, c.tags);
|
|
34614
34614
|
if (!h) {
|
|
34615
34615
|
if (r && typeof r.toJSON == "function" && (r = r.toJSON()), !r || typeof r != "object") {
|
|
34616
34616
|
const p = new $e(r);
|
|
@@ -34739,7 +34739,7 @@ class tg extends eg {
|
|
|
34739
34739
|
}
|
|
34740
34740
|
}
|
|
34741
34741
|
tg.maxFlowStringSingleLineLength = 60;
|
|
34742
|
-
const
|
|
34742
|
+
const k7 = (r) => r.replace(/^(?!$)(?: $)?/gm, "#");
|
|
34743
34743
|
function gn(r, e) {
|
|
34744
34744
|
return /^\n+$/.test(r) ? r.substring(1) : e ? r.replace(/^(?! *$)/gm, e) : r;
|
|
34745
34745
|
}
|
|
@@ -34831,7 +34831,7 @@ const uu = (r, e) => ({
|
|
|
34831
34831
|
lineWidth: r.options.lineWidth,
|
|
34832
34832
|
minContentWidth: r.options.minContentWidth
|
|
34833
34833
|
}), hu = (r) => /^(%|---|\.\.\.)/m.test(r);
|
|
34834
|
-
function $
|
|
34834
|
+
function $7(r, e, t) {
|
|
34835
34835
|
if (!e || e < 0)
|
|
34836
34836
|
return !1;
|
|
34837
34837
|
const n = e - t, s = r.length;
|
|
@@ -34940,7 +34940,7 @@ function xc({ comment: r, type: e, value: t }, n, s, i) {
|
|
|
34940
34940
|
const { blockQuote: o, commentString: a, lineWidth: l } = n.options;
|
|
34941
34941
|
if (!o || /\n[\t ]+$/.test(t) || /^\s*$/.test(t))
|
|
34942
34942
|
return Ai(t, n);
|
|
34943
|
-
const c = n.indent || (n.forceBlockIndent || hu(t) ? " " : ""), d = o === "literal" ? !0 : o === "folded" || e === $e.BLOCK_FOLDED ? !1 : e === $e.BLOCK_LITERAL ? !0 : !$
|
|
34943
|
+
const c = n.indent || (n.forceBlockIndent || hu(t) ? " " : ""), d = o === "literal" ? !0 : o === "folded" || e === $e.BLOCK_FOLDED ? !1 : e === $e.BLOCK_LITERAL ? !0 : !$7(t, l, c.length);
|
|
34944
34944
|
if (!t)
|
|
34945
34945
|
return d ? `|
|
|
34946
34946
|
` : `>
|
|
@@ -34980,7 +34980,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/
|
|
|
34980
34980
|
return `${b}
|
|
34981
34981
|
${c}${w}`;
|
|
34982
34982
|
}
|
|
34983
|
-
function
|
|
34983
|
+
function P7(r, e, t, n) {
|
|
34984
34984
|
const { type: s, value: i } = r, { actualString: o, implicitKey: a, indent: l, indentStep: c, inFlow: d } = e;
|
|
34985
34985
|
if (a && i.includes(`
|
|
34986
34986
|
`) || d && /[[\]{},]/.test(i))
|
|
@@ -35023,7 +35023,7 @@ function hl(r, e, t, n) {
|
|
|
35023
35023
|
case $e.QUOTE_SINGLE:
|
|
35024
35024
|
return ep(o.value, e);
|
|
35025
35025
|
case $e.PLAIN:
|
|
35026
|
-
return
|
|
35026
|
+
return P7(o, e, t, n);
|
|
35027
35027
|
default:
|
|
35028
35028
|
return null;
|
|
35029
35029
|
}
|
|
@@ -35039,7 +35039,7 @@ function hl(r, e, t, n) {
|
|
|
35039
35039
|
function rk(r, e) {
|
|
35040
35040
|
const t = Object.assign({
|
|
35041
35041
|
blockQuote: !0,
|
|
35042
|
-
commentString:
|
|
35042
|
+
commentString: k7,
|
|
35043
35043
|
defaultKeyType: null,
|
|
35044
35044
|
defaultStringType: "PLAIN",
|
|
35045
35045
|
directives: null,
|
|
@@ -35077,7 +35077,7 @@ function rk(r, e) {
|
|
|
35077
35077
|
options: t
|
|
35078
35078
|
};
|
|
35079
35079
|
}
|
|
35080
|
-
function
|
|
35080
|
+
function _7(r, e) {
|
|
35081
35081
|
var t;
|
|
35082
35082
|
if (e.tag) {
|
|
35083
35083
|
const i = r.filter((o) => o.tag === e.tag);
|
|
@@ -35100,7 +35100,7 @@ function _q(r, e) {
|
|
|
35100
35100
|
}
|
|
35101
35101
|
return n;
|
|
35102
35102
|
}
|
|
35103
|
-
function
|
|
35103
|
+
function x7(r, e, { anchors: t, doc: n }) {
|
|
35104
35104
|
if (!n.directives)
|
|
35105
35105
|
return "";
|
|
35106
35106
|
const s = [], i = (Le(r) || et(r)) && r.anchor;
|
|
@@ -35121,14 +35121,14 @@ function ro(r, e, t, n) {
|
|
|
35121
35121
|
}
|
|
35122
35122
|
let i;
|
|
35123
35123
|
const o = it(r) ? r : e.doc.createNode(r, { onTagObj: (c) => i = c });
|
|
35124
|
-
i || (i =
|
|
35125
|
-
const a =
|
|
35124
|
+
i || (i = _7(e.doc.schema.tags, o));
|
|
35125
|
+
const a = x7(o, i, e);
|
|
35126
35126
|
a.length > 0 && (e.indentAtStart = (e.indentAtStart ?? 0) + a.length + 1);
|
|
35127
35127
|
const l = typeof i.stringify == "function" ? i.stringify(o, e, t, n) : Le(o) ? hl(o, e, t, n) : o.toString(e, t, n);
|
|
35128
35128
|
return a ? Le(o) || l[0] === "{" || l[0] === "[" ? `${a} ${l}` : `${a}
|
|
35129
35129
|
${e.indent}${l}` : l;
|
|
35130
35130
|
}
|
|
35131
|
-
function
|
|
35131
|
+
function Q7({ key: r, value: e }, t, n, s) {
|
|
35132
35132
|
const { allNullValues: i, doc: o, indent: a, indentStep: l, options: { commentString: c, indentSeq: d, simpleKeys: u } } = t;
|
|
35133
35133
|
let h = it(r) && r.comment || null;
|
|
35134
35134
|
if (u) {
|
|
@@ -35197,7 +35197,7 @@ function nk(r, e) {
|
|
|
35197
35197
|
}
|
|
35198
35198
|
const zy = "<<";
|
|
35199
35199
|
function sk(r, e, { key: t, value: n }) {
|
|
35200
|
-
if (r != null && r.doc.schema.merge &&
|
|
35200
|
+
if (r != null && r.doc.schema.merge && T7(t))
|
|
35201
35201
|
if (n = ri(n) ? n.resolve(r.doc) : n, $o(n))
|
|
35202
35202
|
for (const s of n.items)
|
|
35203
35203
|
fh(r, e, s);
|
|
@@ -35213,7 +35213,7 @@ function sk(r, e, { key: t, value: n }) {
|
|
|
35213
35213
|
else if (e instanceof Set)
|
|
35214
35214
|
e.add(s);
|
|
35215
35215
|
else {
|
|
35216
|
-
const i =
|
|
35216
|
+
const i = C7(t, s, r), o = pr(n, i, r);
|
|
35217
35217
|
i in e ? Object.defineProperty(e, i, {
|
|
35218
35218
|
value: o,
|
|
35219
35219
|
writable: !0,
|
|
@@ -35224,7 +35224,7 @@ function sk(r, e, { key: t, value: n }) {
|
|
|
35224
35224
|
}
|
|
35225
35225
|
return e;
|
|
35226
35226
|
}
|
|
35227
|
-
const
|
|
35227
|
+
const T7 = (r) => r === zy || Le(r) && r.value === zy && (!r.type || r.type === $e.PLAIN);
|
|
35228
35228
|
function fh(r, e, t) {
|
|
35229
35229
|
const n = r && ri(t) ? t.resolve(r.doc) : t;
|
|
35230
35230
|
if (!ko(n))
|
|
@@ -35239,7 +35239,7 @@ function fh(r, e, t) {
|
|
|
35239
35239
|
});
|
|
35240
35240
|
return e;
|
|
35241
35241
|
}
|
|
35242
|
-
function
|
|
35242
|
+
function C7(r, e, t) {
|
|
35243
35243
|
if (e === null)
|
|
35244
35244
|
return "";
|
|
35245
35245
|
if (typeof e != "object")
|
|
@@ -35276,13 +35276,13 @@ class Et {
|
|
|
35276
35276
|
return sk(t, n, this);
|
|
35277
35277
|
}
|
|
35278
35278
|
toString(e, t, n) {
|
|
35279
|
-
return e != null && e.doc ?
|
|
35279
|
+
return e != null && e.doc ? Q7(this, e, t, n) : JSON.stringify(this);
|
|
35280
35280
|
}
|
|
35281
35281
|
}
|
|
35282
35282
|
function ik(r, e, t) {
|
|
35283
|
-
return (e.inFlow ?? r.flow ?
|
|
35283
|
+
return (e.inFlow ?? r.flow ? E7 : A7)(r, e, t);
|
|
35284
35284
|
}
|
|
35285
|
-
function
|
|
35285
|
+
function A7({ comment: r, items: e }, t, { blockItemPrefix: n, flowChars: s, itemIndent: i, onChompKeep: o, onComment: a }) {
|
|
35286
35286
|
const { indent: l, options: { commentString: c } } = t, d = Object.assign({}, t, { indent: i, type: null });
|
|
35287
35287
|
let u = !1;
|
|
35288
35288
|
const h = [];
|
|
@@ -35314,7 +35314,7 @@ ${l}${m}` : `
|
|
|
35314
35314
|
return r ? (f += `
|
|
35315
35315
|
` + gn(c(r), l), a && a()) : u && o && o(), f;
|
|
35316
35316
|
}
|
|
35317
|
-
function
|
|
35317
|
+
function E7({ items: r }, e, { flowChars: t, itemIndent: n }) {
|
|
35318
35318
|
const { indent: s, indentStep: i, flowCollectionPadding: o, options: { commentString: a } } = e;
|
|
35319
35319
|
n += i;
|
|
35320
35320
|
const l = Object.assign({}, e, {
|
|
@@ -35670,7 +35670,7 @@ const dk = {
|
|
|
35670
35670
|
test: /^0x[0-9a-fA-F]+$/,
|
|
35671
35671
|
resolve: (r, e, t) => sg(r, 2, 16, t),
|
|
35672
35672
|
stringify: (r) => ck(r, 16, "0x")
|
|
35673
|
-
},
|
|
35673
|
+
}, R7 = [
|
|
35674
35674
|
Po,
|
|
35675
35675
|
_o,
|
|
35676
35676
|
fu,
|
|
@@ -35686,7 +35686,7 @@ const dk = {
|
|
|
35686
35686
|
function Uy(r) {
|
|
35687
35687
|
return typeof r == "bigint" || Number.isInteger(r);
|
|
35688
35688
|
}
|
|
35689
|
-
const tc = ({ value: r }) => JSON.stringify(r),
|
|
35689
|
+
const tc = ({ value: r }) => JSON.stringify(r), Z7 = [
|
|
35690
35690
|
{
|
|
35691
35691
|
identify: (r) => typeof r == "string",
|
|
35692
35692
|
default: !0,
|
|
@@ -35727,14 +35727,14 @@ const tc = ({ value: r }) => JSON.stringify(r), Zq = [
|
|
|
35727
35727
|
resolve: (r) => parseFloat(r),
|
|
35728
35728
|
stringify: tc
|
|
35729
35729
|
}
|
|
35730
|
-
],
|
|
35730
|
+
], I7 = {
|
|
35731
35731
|
default: !0,
|
|
35732
35732
|
tag: "",
|
|
35733
35733
|
test: /^/,
|
|
35734
35734
|
resolve(r, e) {
|
|
35735
35735
|
return e(`Unresolved plain scalar ${JSON.stringify(r)}`), r;
|
|
35736
35736
|
}
|
|
35737
|
-
},
|
|
35737
|
+
}, j7 = [Po, _o].concat(Z7, I7), ig = {
|
|
35738
35738
|
identify: (r) => r instanceof Uint8Array,
|
|
35739
35739
|
// Buffer inherits from Uint8Array
|
|
35740
35740
|
default: !1,
|
|
@@ -35893,14 +35893,14 @@ const gk = {
|
|
|
35893
35893
|
test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
|
|
35894
35894
|
resolve: () => new $e(!1),
|
|
35895
35895
|
stringify: mk
|
|
35896
|
-
},
|
|
35896
|
+
}, N7 = {
|
|
35897
35897
|
identify: (r) => typeof r == "number",
|
|
35898
35898
|
default: !0,
|
|
35899
35899
|
tag: "tag:yaml.org,2002:float",
|
|
35900
35900
|
test: /^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,
|
|
35901
35901
|
resolve: (r) => r.slice(-3).toLowerCase() === "nan" ? NaN : r[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
|
|
35902
35902
|
stringify: Nr
|
|
35903
|
-
},
|
|
35903
|
+
}, D7 = {
|
|
35904
35904
|
identify: (r) => typeof r == "number",
|
|
35905
35905
|
default: !0,
|
|
35906
35906
|
tag: "tag:yaml.org,2002:float",
|
|
@@ -35911,7 +35911,7 @@ const gk = {
|
|
|
35911
35911
|
const e = Number(r.value);
|
|
35912
35912
|
return isFinite(e) ? e.toExponential() : Nr(r);
|
|
35913
35913
|
}
|
|
35914
|
-
},
|
|
35914
|
+
}, M7 = {
|
|
35915
35915
|
identify: (r) => typeof r == "number",
|
|
35916
35916
|
default: !0,
|
|
35917
35917
|
tag: "tag:yaml.org,2002:float",
|
|
@@ -35954,7 +35954,7 @@ function lg(r, e, t) {
|
|
|
35954
35954
|
}
|
|
35955
35955
|
return Nr(r);
|
|
35956
35956
|
}
|
|
35957
|
-
const
|
|
35957
|
+
const X7 = {
|
|
35958
35958
|
identify: fl,
|
|
35959
35959
|
default: !0,
|
|
35960
35960
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -35962,7 +35962,7 @@ const Xq = {
|
|
|
35962
35962
|
test: /^[-+]?0b[0-1_]+$/,
|
|
35963
35963
|
resolve: (r, e, t) => gu(r, 2, 2, t),
|
|
35964
35964
|
stringify: (r) => lg(r, 2, "0b")
|
|
35965
|
-
},
|
|
35965
|
+
}, q7 = {
|
|
35966
35966
|
identify: fl,
|
|
35967
35967
|
default: !0,
|
|
35968
35968
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -35970,14 +35970,14 @@ const Xq = {
|
|
|
35970
35970
|
test: /^[-+]?0[0-7_]+$/,
|
|
35971
35971
|
resolve: (r, e, t) => gu(r, 1, 8, t),
|
|
35972
35972
|
stringify: (r) => lg(r, 8, "0")
|
|
35973
|
-
},
|
|
35973
|
+
}, W7 = {
|
|
35974
35974
|
identify: fl,
|
|
35975
35975
|
default: !0,
|
|
35976
35976
|
tag: "tag:yaml.org,2002:int",
|
|
35977
35977
|
test: /^[-+]?[0-9][0-9_]*$/,
|
|
35978
35978
|
resolve: (r, e, t) => gu(r, 0, 10, t),
|
|
35979
35979
|
stringify: Nr
|
|
35980
|
-
},
|
|
35980
|
+
}, V7 = {
|
|
35981
35981
|
identify: fl,
|
|
35982
35982
|
default: !0,
|
|
35983
35983
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -36104,13 +36104,13 @@ const bk = {
|
|
|
36104
36104
|
pu,
|
|
36105
36105
|
gk,
|
|
36106
36106
|
Ok,
|
|
36107
|
-
|
|
36108
|
-
|
|
36109
|
-
|
|
36110
|
-
|
|
36111
|
-
|
|
36112
|
-
|
|
36113
|
-
|
|
36107
|
+
X7,
|
|
36108
|
+
q7,
|
|
36109
|
+
W7,
|
|
36110
|
+
V7,
|
|
36111
|
+
N7,
|
|
36112
|
+
D7,
|
|
36113
|
+
M7,
|
|
36114
36114
|
ig,
|
|
36115
36115
|
ag,
|
|
36116
36116
|
og,
|
|
@@ -36119,9 +36119,9 @@ const bk = {
|
|
|
36119
36119
|
vk,
|
|
36120
36120
|
Ou
|
|
36121
36121
|
], Ly = /* @__PURE__ */ new Map([
|
|
36122
|
-
["core",
|
|
36122
|
+
["core", R7],
|
|
36123
36123
|
["failsafe", [Po, _o, fu]],
|
|
36124
|
-
["json",
|
|
36124
|
+
["json", j7],
|
|
36125
36125
|
["yaml11", Yy],
|
|
36126
36126
|
["yaml-1.1", Yy]
|
|
36127
36127
|
]), By = {
|
|
@@ -36142,7 +36142,7 @@ const bk = {
|
|
|
36142
36142
|
seq: _o,
|
|
36143
36143
|
set: cg,
|
|
36144
36144
|
timestamp: Ou
|
|
36145
|
-
},
|
|
36145
|
+
}, z7 = {
|
|
36146
36146
|
"tag:yaml.org,2002:binary": ig,
|
|
36147
36147
|
"tag:yaml.org,2002:omap": ag,
|
|
36148
36148
|
"tag:yaml.org,2002:pairs": og,
|
|
@@ -36173,17 +36173,17 @@ function ph(r, e) {
|
|
|
36173
36173
|
throw new Error(`Unknown custom tag "${n}"; use one of ${i}`);
|
|
36174
36174
|
});
|
|
36175
36175
|
}
|
|
36176
|
-
const
|
|
36176
|
+
const U7 = (r, e) => r.key < e.key ? -1 : r.key > e.key ? 1 : 0;
|
|
36177
36177
|
class yu {
|
|
36178
36178
|
constructor({ compat: e, customTags: t, merge: n, resolveKnownTags: s, schema: i, sortMapEntries: o, toStringDefaults: a }) {
|
|
36179
|
-
this.compat = Array.isArray(e) ? ph(e, "compat") : e ? ph(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = s ?
|
|
36179
|
+
this.compat = Array.isArray(e) ? ph(e, "compat") : e ? ph(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = s ? z7 : {}, this.tags = ph(t, this.name), this.toStringOptions = a ?? null, Object.defineProperty(this, es, { value: Po }), Object.defineProperty(this, Tn, { value: fu }), Object.defineProperty(this, wo, { value: _o }), this.sortMapEntries = typeof o == "function" ? o : o === !0 ? U7 : null;
|
|
36180
36180
|
}
|
|
36181
36181
|
clone() {
|
|
36182
36182
|
const e = Object.create(yu.prototype, Object.getOwnPropertyDescriptors(this));
|
|
36183
36183
|
return e.tags = this.tags.slice(), e;
|
|
36184
36184
|
}
|
|
36185
36185
|
}
|
|
36186
|
-
function
|
|
36186
|
+
function Y7(r, e) {
|
|
36187
36187
|
var t;
|
|
36188
36188
|
const n = [];
|
|
36189
36189
|
let s = e.directives === !0;
|
|
@@ -36290,7 +36290,7 @@ class xo {
|
|
|
36290
36290
|
O.length > 0 && (t = t.concat(O)), s = t;
|
|
36291
36291
|
} else
|
|
36292
36292
|
n === void 0 && t && (n = t, t = void 0);
|
|
36293
|
-
const { aliasDuplicateObjects: i, anchorPrefix: o, flow: a, keepUndefined: l, onTagObj: c, tag: d } = n ?? {}, { onAnchor: u, setAnchors: h, sourceObjects: f } =
|
|
36293
|
+
const { aliasDuplicateObjects: i, anchorPrefix: o, flow: a, keepUndefined: l, onTagObj: c, tag: d } = n ?? {}, { onAnchor: u, setAnchors: h, sourceObjects: f } = v7(
|
|
36294
36294
|
this,
|
|
36295
36295
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
36296
36296
|
o || "a"
|
|
@@ -36434,7 +36434,7 @@ class xo {
|
|
|
36434
36434
|
const t = JSON.stringify(e.indent);
|
|
36435
36435
|
throw new Error(`"indent" option must be a positive integer, not ${t}`);
|
|
36436
36436
|
}
|
|
36437
|
-
return
|
|
36437
|
+
return Y7(this, e);
|
|
36438
36438
|
}
|
|
36439
36439
|
}
|
|
36440
36440
|
function Oi(r) {
|
|
@@ -36582,7 +36582,7 @@ function Sk(r, e, t) {
|
|
|
36582
36582
|
return e.some((i) => s(i.key, t));
|
|
36583
36583
|
}
|
|
36584
36584
|
const Hy = "All mapping items must start at the same column";
|
|
36585
|
-
function
|
|
36585
|
+
function L7({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36586
36586
|
var o;
|
|
36587
36587
|
const a = (i == null ? void 0 : i.nodeClass) ?? tr, l = new a(t.schema);
|
|
36588
36588
|
t.atRoot && (t.atRoot = !1);
|
|
@@ -36628,7 +36628,7 @@ function Lq({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
|
36628
36628
|
}
|
|
36629
36629
|
return d && d < c && s(d, "IMPOSSIBLE", "Map comment with trailing content"), l.range = [n.offset, c, d ?? c], l;
|
|
36630
36630
|
}
|
|
36631
|
-
function
|
|
36631
|
+
function B7({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36632
36632
|
const o = (i == null ? void 0 : i.nodeClass) ?? cs, a = new o(t.schema);
|
|
36633
36633
|
t.atRoot && (t.atRoot = !1);
|
|
36634
36634
|
let l = n.offset, c = null;
|
|
@@ -36680,7 +36680,7 @@ function pl(r, e, t, n) {
|
|
|
36680
36680
|
return { comment: s, offset: e };
|
|
36681
36681
|
}
|
|
36682
36682
|
const mh = "Block collections are not allowed within flow collections", gh = (r) => r && (r.type === "block-map" || r.type === "block-seq");
|
|
36683
|
-
function
|
|
36683
|
+
function H7({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36684
36684
|
const o = n.start.source === "{", a = o ? "flow map" : "flow sequence", l = (i == null ? void 0 : i.nodeClass) ?? (o ? tr : cs), c = new l(t.schema);
|
|
36685
36685
|
c.flow = !0;
|
|
36686
36686
|
const d = t.atRoot;
|
|
@@ -36790,10 +36790,10 @@ function Hq({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
|
36790
36790
|
return c;
|
|
36791
36791
|
}
|
|
36792
36792
|
function Oh(r, e, t, n, s, i) {
|
|
36793
|
-
const o = t.type === "block-map" ?
|
|
36793
|
+
const o = t.type === "block-map" ? L7(r, e, t, n, i) : t.type === "block-seq" ? B7(r, e, t, n, i) : H7(r, e, t, n, i), a = o.constructor;
|
|
36794
36794
|
return s === "!" || s === a.tagName ? (o.tag = a.tagName, o) : (s && (o.tag = s), o);
|
|
36795
36795
|
}
|
|
36796
|
-
function
|
|
36796
|
+
function G7(r, e, t, n, s) {
|
|
36797
36797
|
var i;
|
|
36798
36798
|
const o = n ? e.directives.tagName(n.source, (h) => s(n, "TAG_RESOLVE_FAILED", h)) : null, a = t.type === "block-map" ? "map" : t.type === "block-seq" ? "seq" : t.start.source === "{" ? "map" : "seq";
|
|
36799
36799
|
if (!n || !o || o === "!" || o === tr.tagName && a === "map" || o === cs.tagName && a === "seq" || !a)
|
|
@@ -36810,10 +36810,10 @@ function Gq(r, e, t, n, s) {
|
|
|
36810
36810
|
return u.range = c.range, u.tag = o, l != null && l.format && (u.format = l.format), u;
|
|
36811
36811
|
}
|
|
36812
36812
|
function kk(r, e, t) {
|
|
36813
|
-
const n = r.offset, s =
|
|
36813
|
+
const n = r.offset, s = F7(r, e, t);
|
|
36814
36814
|
if (!s)
|
|
36815
36815
|
return { value: "", type: null, comment: "", range: [n, n, n] };
|
|
36816
|
-
const i = s.mode === ">" ? $e.BLOCK_FOLDED : $e.BLOCK_LITERAL, o = r.source ?
|
|
36816
|
+
const i = s.mode === ">" ? $e.BLOCK_FOLDED : $e.BLOCK_LITERAL, o = r.source ? K7(r.source) : [];
|
|
36817
36817
|
let a = o.length;
|
|
36818
36818
|
for (let m = o.length - 1; m >= 0; --m) {
|
|
36819
36819
|
const g = o[m][1];
|
|
@@ -36882,7 +36882,7 @@ function kk(r, e, t) {
|
|
|
36882
36882
|
const p = n + s.length + r.source.length;
|
|
36883
36883
|
return { value: u, type: i, comment: s.comment, range: [n, p, p] };
|
|
36884
36884
|
}
|
|
36885
|
-
function
|
|
36885
|
+
function F7({ offset: r, props: e }, t, n) {
|
|
36886
36886
|
if (e[0].type !== "block-scalar-header")
|
|
36887
36887
|
return n(e[0], "IMPOSSIBLE", "Block scalar header not found"), null;
|
|
36888
36888
|
const { source: s } = e[0], i = s[0];
|
|
@@ -36922,7 +36922,7 @@ function Fq({ offset: r, props: e }, t, n) {
|
|
|
36922
36922
|
}
|
|
36923
36923
|
return { mode: i, indent: o, chomp: a, comment: d, length: u };
|
|
36924
36924
|
}
|
|
36925
|
-
function
|
|
36925
|
+
function K7(r) {
|
|
36926
36926
|
const e = r.split(/\n( *)/), t = e[0], n = t.match(/^( *)/), s = [n != null && n[1] ? [n[1], t.slice(n[1].length)] : ["", t]];
|
|
36927
36927
|
for (let i = 1; i < e.length; i += 2)
|
|
36928
36928
|
s.push([e[i], e[i + 1]]);
|
|
@@ -36934,13 +36934,13 @@ function $k(r, e, t) {
|
|
|
36934
36934
|
const c = (h, f, p) => t(n + h, f, p);
|
|
36935
36935
|
switch (s) {
|
|
36936
36936
|
case "scalar":
|
|
36937
|
-
a = $e.PLAIN, l =
|
|
36937
|
+
a = $e.PLAIN, l = J7(i, c);
|
|
36938
36938
|
break;
|
|
36939
36939
|
case "single-quoted-scalar":
|
|
36940
|
-
a = $e.QUOTE_SINGLE, l =
|
|
36940
|
+
a = $e.QUOTE_SINGLE, l = eq(i, c);
|
|
36941
36941
|
break;
|
|
36942
36942
|
case "double-quoted-scalar":
|
|
36943
|
-
a = $e.QUOTE_DOUBLE, l =
|
|
36943
|
+
a = $e.QUOTE_DOUBLE, l = tq(i, c);
|
|
36944
36944
|
break;
|
|
36945
36945
|
default:
|
|
36946
36946
|
return t(r, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${s}`), {
|
|
@@ -36958,7 +36958,7 @@ function $k(r, e, t) {
|
|
|
36958
36958
|
range: [n, d, u.offset]
|
|
36959
36959
|
};
|
|
36960
36960
|
}
|
|
36961
|
-
function
|
|
36961
|
+
function J7(r, e) {
|
|
36962
36962
|
let t = "";
|
|
36963
36963
|
switch (r[0]) {
|
|
36964
36964
|
case " ":
|
|
@@ -36983,7 +36983,7 @@ function Jq(r, e) {
|
|
|
36983
36983
|
}
|
|
36984
36984
|
return t && e(0, "BAD_SCALAR_START", `Plain value cannot start with ${t}`), Pk(r);
|
|
36985
36985
|
}
|
|
36986
|
-
function
|
|
36986
|
+
function eq(r, e) {
|
|
36987
36987
|
return (r[r.length - 1] !== "'" || r.length === 1) && e(r.length, "MISSING_CHAR", "Missing closing 'quote"), Pk(r.slice(1, -1)).replace(/''/g, "'");
|
|
36988
36988
|
}
|
|
36989
36989
|
function Pk(r) {
|
|
@@ -37006,7 +37006,7 @@ function Pk(r) {
|
|
|
37006
37006
|
const a = /[ \t]*(.*)/sy;
|
|
37007
37007
|
return a.lastIndex = o, n = a.exec(r), s + i + ((n == null ? void 0 : n[1]) ?? "");
|
|
37008
37008
|
}
|
|
37009
|
-
function
|
|
37009
|
+
function tq(r, e) {
|
|
37010
37010
|
let t = "";
|
|
37011
37011
|
for (let n = 1; n < r.length - 1; ++n) {
|
|
37012
37012
|
const s = r[n];
|
|
@@ -37014,11 +37014,11 @@ function tW(r, e) {
|
|
|
37014
37014
|
`))
|
|
37015
37015
|
if (s === `
|
|
37016
37016
|
`) {
|
|
37017
|
-
const { fold: i, offset: o } =
|
|
37017
|
+
const { fold: i, offset: o } = rq(r, n);
|
|
37018
37018
|
t += i, n = o;
|
|
37019
37019
|
} else if (s === "\\") {
|
|
37020
37020
|
let i = r[++n];
|
|
37021
|
-
const o =
|
|
37021
|
+
const o = nq[i];
|
|
37022
37022
|
if (o)
|
|
37023
37023
|
t += o;
|
|
37024
37024
|
else if (i === `
|
|
@@ -37031,7 +37031,7 @@ function tW(r, e) {
|
|
|
37031
37031
|
i = r[++n + 1];
|
|
37032
37032
|
else if (i === "x" || i === "u" || i === "U") {
|
|
37033
37033
|
const a = { x: 2, u: 4, U: 8 }[i];
|
|
37034
|
-
t +=
|
|
37034
|
+
t += sq(r, n + 1, a, e), n += a;
|
|
37035
37035
|
} else {
|
|
37036
37036
|
const a = r.substr(n - 1, 2);
|
|
37037
37037
|
e(n - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${a}`), t += a;
|
|
@@ -37049,7 +37049,7 @@ function tW(r, e) {
|
|
|
37049
37049
|
}
|
|
37050
37050
|
return (r[r.length - 1] !== '"' || r.length === 1) && e(r.length, "MISSING_CHAR", 'Missing closing "quote'), t;
|
|
37051
37051
|
}
|
|
37052
|
-
function
|
|
37052
|
+
function rq(r, e) {
|
|
37053
37053
|
let t = "", n = r[e + 1];
|
|
37054
37054
|
for (; (n === " " || n === " " || n === `
|
|
37055
37055
|
` || n === "\r") && !(n === "\r" && r[e + 2] !== `
|
|
@@ -37059,7 +37059,7 @@ function rW(r, e) {
|
|
|
37059
37059
|
`), e += 1, n = r[e + 1];
|
|
37060
37060
|
return t || (t = " "), { fold: t, offset: e };
|
|
37061
37061
|
}
|
|
37062
|
-
const
|
|
37062
|
+
const nq = {
|
|
37063
37063
|
0: "\0",
|
|
37064
37064
|
// null character
|
|
37065
37065
|
a: "\x07",
|
|
@@ -37093,7 +37093,7 @@ const nW = {
|
|
|
37093
37093
|
"\\": "\\",
|
|
37094
37094
|
" ": " "
|
|
37095
37095
|
};
|
|
37096
|
-
function
|
|
37096
|
+
function sq(r, e, t, n) {
|
|
37097
37097
|
const s = r.substr(e, t), i = s.length === t && /^[0-9a-fA-F]+$/.test(s) ? parseInt(s, 16) : NaN;
|
|
37098
37098
|
if (isNaN(i)) {
|
|
37099
37099
|
const o = r.substr(e - 2, t + 2);
|
|
@@ -37102,7 +37102,7 @@ function sW(r, e, t, n) {
|
|
|
37102
37102
|
return String.fromCodePoint(i);
|
|
37103
37103
|
}
|
|
37104
37104
|
function _k(r, e, t, n) {
|
|
37105
|
-
const { value: s, type: i, comment: o, range: a } = e.type === "block-scalar" ? kk(e, r.options.strict, n) : $k(e, r.options.strict, n), l = t ? r.directives.tagName(t.source, (u) => n(t, "TAG_RESOLVE_FAILED", u)) : null, c = t && l ?
|
|
37105
|
+
const { value: s, type: i, comment: o, range: a } = e.type === "block-scalar" ? kk(e, r.options.strict, n) : $k(e, r.options.strict, n), l = t ? r.directives.tagName(t.source, (u) => n(t, "TAG_RESOLVE_FAILED", u)) : null, c = t && l ? iq(r.schema, s, l, t, n) : e.type === "scalar" ? oq(r, s, e, n) : r.schema[Tn];
|
|
37106
37106
|
let d;
|
|
37107
37107
|
try {
|
|
37108
37108
|
const u = c.resolve(s, (h) => n(t ?? e, "TAG_RESOLVE_FAILED", h), r.options);
|
|
@@ -37113,7 +37113,7 @@ function _k(r, e, t, n) {
|
|
|
37113
37113
|
}
|
|
37114
37114
|
return d.range = a, d.source = s, i && (d.type = i), l && (d.tag = l), c.format && (d.format = c.format), o && (d.comment = o), d;
|
|
37115
37115
|
}
|
|
37116
|
-
function
|
|
37116
|
+
function iq(r, e, t, n, s) {
|
|
37117
37117
|
var i;
|
|
37118
37118
|
if (t === "!")
|
|
37119
37119
|
return r[Tn];
|
|
@@ -37130,7 +37130,7 @@ function iW(r, e, t, n, s) {
|
|
|
37130
37130
|
const a = r.knownTags[t];
|
|
37131
37131
|
return a && !a.collection ? (r.tags.push(Object.assign({}, a, { default: !1, test: void 0 })), a) : (s(n, "TAG_RESOLVE_FAILED", `Unresolved tag: ${t}`, t !== "tag:yaml.org,2002:str"), r[Tn]);
|
|
37132
37132
|
}
|
|
37133
|
-
function
|
|
37133
|
+
function oq({ directives: r, schema: e }, t, n, s) {
|
|
37134
37134
|
const i = e.tags.find((o) => {
|
|
37135
37135
|
var a;
|
|
37136
37136
|
return o.default && ((a = o.test) == null ? void 0 : a.test(t));
|
|
@@ -37147,7 +37147,7 @@ function oW({ directives: r, schema: e }, t, n, s) {
|
|
|
37147
37147
|
}
|
|
37148
37148
|
return i;
|
|
37149
37149
|
}
|
|
37150
|
-
function
|
|
37150
|
+
function aq(r, e, t) {
|
|
37151
37151
|
if (e) {
|
|
37152
37152
|
t === null && (t = e.length);
|
|
37153
37153
|
for (let n = t - 1; n >= 0; --n) {
|
|
@@ -37166,13 +37166,13 @@ function aW(r, e, t) {
|
|
|
37166
37166
|
}
|
|
37167
37167
|
return r;
|
|
37168
37168
|
}
|
|
37169
|
-
const
|
|
37169
|
+
const lq = { composeNode: xk, composeEmptyNode: hg };
|
|
37170
37170
|
function xk(r, e, t, n) {
|
|
37171
37171
|
const { spaceBefore: s, comment: i, anchor: o, tag: a } = t;
|
|
37172
37172
|
let l, c = !0;
|
|
37173
37173
|
switch (e.type) {
|
|
37174
37174
|
case "alias":
|
|
37175
|
-
l =
|
|
37175
|
+
l = cq(r, e, n), (o || a) && n(e, "ALIAS_PROPS", "An alias node must not specify any properties");
|
|
37176
37176
|
break;
|
|
37177
37177
|
case "scalar":
|
|
37178
37178
|
case "single-quoted-scalar":
|
|
@@ -37183,7 +37183,7 @@ function xk(r, e, t, n) {
|
|
|
37183
37183
|
case "block-map":
|
|
37184
37184
|
case "block-seq":
|
|
37185
37185
|
case "flow-collection":
|
|
37186
|
-
l =
|
|
37186
|
+
l = G7(lq, r, e, a, n), o && (l.anchor = o.source.substring(1));
|
|
37187
37187
|
break;
|
|
37188
37188
|
default: {
|
|
37189
37189
|
const d = e.type === "error" ? e.message : `Unsupported token (type: ${e.type})`;
|
|
@@ -37195,19 +37195,19 @@ function xk(r, e, t, n) {
|
|
|
37195
37195
|
function hg(r, e, t, n, { spaceBefore: s, comment: i, anchor: o, tag: a, end: l }, c) {
|
|
37196
37196
|
const d = {
|
|
37197
37197
|
type: "scalar",
|
|
37198
|
-
offset:
|
|
37198
|
+
offset: aq(e, t, n),
|
|
37199
37199
|
indent: -1,
|
|
37200
37200
|
source: ""
|
|
37201
37201
|
}, u = _k(r, d, a, c);
|
|
37202
37202
|
return o && (u.anchor = o.source.substring(1), u.anchor === "" && c(o, "BAD_ALIAS", "Anchor cannot be an empty string")), s && (u.spaceBefore = !0), i && (u.comment = i, u.range[2] = l), u;
|
|
37203
37203
|
}
|
|
37204
|
-
function
|
|
37204
|
+
function cq({ options: r }, { offset: e, source: t, end: n }, s) {
|
|
37205
37205
|
const i = new cu(t.substring(1));
|
|
37206
37206
|
i.source === "" && s(e, "BAD_ALIAS", "Alias cannot be an empty string"), i.source.endsWith(":") && s(e + t.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
|
|
37207
37207
|
const o = e + t.length, a = pl(n, o, r.strict, s);
|
|
37208
37208
|
return i.range = [e, o, a.offset], a.comment && (i.comment = a.comment), i;
|
|
37209
37209
|
}
|
|
37210
|
-
function
|
|
37210
|
+
function dq(r, e, { offset: t, start: n, value: s, end: i }, o) {
|
|
37211
37211
|
const a = Object.assign({ _directives: e }, r), l = new xo(void 0, a), c = {
|
|
37212
37212
|
atRoot: !0,
|
|
37213
37213
|
directives: l.directives,
|
|
@@ -37317,7 +37317,7 @@ ${o}` : n;
|
|
|
37317
37317
|
}), this.prelude.push(e.source), this.atDirectives = !0;
|
|
37318
37318
|
break;
|
|
37319
37319
|
case "document": {
|
|
37320
|
-
const t =
|
|
37320
|
+
const t = dq(this.options, this.directives, e, this.onError);
|
|
37321
37321
|
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;
|
|
37322
37322
|
break;
|
|
37323
37323
|
}
|
|
@@ -37368,7 +37368,7 @@ ${t.comment}` : t.comment;
|
|
|
37368
37368
|
}
|
|
37369
37369
|
}
|
|
37370
37370
|
}
|
|
37371
|
-
function
|
|
37371
|
+
function uq(r, e = !0, t) {
|
|
37372
37372
|
if (r) {
|
|
37373
37373
|
const n = (s, i, o) => {
|
|
37374
37374
|
const a = typeof s == "number" ? s : Array.isArray(s) ? s[0] : s.offset;
|
|
@@ -37388,7 +37388,7 @@ function uW(r, e = !0, t) {
|
|
|
37388
37388
|
}
|
|
37389
37389
|
return null;
|
|
37390
37390
|
}
|
|
37391
|
-
function
|
|
37391
|
+
function hq(r, e) {
|
|
37392
37392
|
const { implicitKey: t = !1, indent: n, inFlow: s = !1, offset: i = -1, type: o = "PLAIN" } = e, a = hl({ type: o, value: r }, {
|
|
37393
37393
|
implicitKey: t,
|
|
37394
37394
|
indent: n > 0 ? " ".repeat(n) : "",
|
|
@@ -37417,7 +37417,7 @@ function hW(r, e) {
|
|
|
37417
37417
|
return { type: "scalar", offset: i, indent: n, source: a, end: l };
|
|
37418
37418
|
}
|
|
37419
37419
|
}
|
|
37420
|
-
function
|
|
37420
|
+
function fq(r, e, t = {}) {
|
|
37421
37421
|
let { afterKey: n = !1, implicitKey: s = !1, inFlow: i = !1, type: o } = t, a = "indent" in r ? r.indent : null;
|
|
37422
37422
|
if (n && typeof a == "number" && (a += 2), !o)
|
|
37423
37423
|
switch (r.type) {
|
|
@@ -37446,7 +37446,7 @@ function fW(r, e, t = {}) {
|
|
|
37446
37446
|
switch (l[0]) {
|
|
37447
37447
|
case "|":
|
|
37448
37448
|
case ">":
|
|
37449
|
-
|
|
37449
|
+
pq(r, l);
|
|
37450
37450
|
break;
|
|
37451
37451
|
case '"':
|
|
37452
37452
|
yh(r, l, "double-quoted-scalar");
|
|
@@ -37458,7 +37458,7 @@ function fW(r, e, t = {}) {
|
|
|
37458
37458
|
yh(r, l, "scalar");
|
|
37459
37459
|
}
|
|
37460
37460
|
}
|
|
37461
|
-
function
|
|
37461
|
+
function pq(r, e) {
|
|
37462
37462
|
const t = e.indexOf(`
|
|
37463
37463
|
`), n = e.substring(0, t), s = e.substring(t + 1) + `
|
|
37464
37464
|
`;
|
|
@@ -37522,7 +37522,7 @@ function yh(r, e, t) {
|
|
|
37522
37522
|
}
|
|
37523
37523
|
}
|
|
37524
37524
|
}
|
|
37525
|
-
const
|
|
37525
|
+
const mq = (r) => "type" in r ? pd(r) : Qc(r);
|
|
37526
37526
|
function pd(r) {
|
|
37527
37527
|
switch (r.type) {
|
|
37528
37528
|
case "block-scalar": {
|
|
@@ -37571,12 +37571,12 @@ function Qc({ start: r, key: e, sep: t, value: n }) {
|
|
|
37571
37571
|
s += i.source;
|
|
37572
37572
|
return n && (s += pd(n)), s;
|
|
37573
37573
|
}
|
|
37574
|
-
const np = Symbol("break visit"),
|
|
37574
|
+
const np = Symbol("break visit"), gq = Symbol("skip children"), Tk = Symbol("remove item");
|
|
37575
37575
|
function Js(r, e) {
|
|
37576
37576
|
"type" in r && r.type === "document" && (r = { start: r.start, value: r.value }), Ck(Object.freeze([]), r, e);
|
|
37577
37577
|
}
|
|
37578
37578
|
Js.BREAK = np;
|
|
37579
|
-
Js.SKIP =
|
|
37579
|
+
Js.SKIP = gq;
|
|
37580
37580
|
Js.REMOVE = Tk;
|
|
37581
37581
|
Js.itemAtPath = (r, e) => {
|
|
37582
37582
|
let t = r;
|
|
@@ -37617,8 +37617,8 @@ function Ck(r, e, t) {
|
|
|
37617
37617
|
}
|
|
37618
37618
|
return typeof n == "function" ? n(e, r) : n;
|
|
37619
37619
|
}
|
|
37620
|
-
const bu = "\uFEFF", vu = "", wu = "", za = "",
|
|
37621
|
-
function
|
|
37620
|
+
const bu = "\uFEFF", vu = "", wu = "", za = "", Oq = (r) => !!r && "items" in r, yq = (r) => !!r && (r.type === "scalar" || r.type === "single-quoted-scalar" || r.type === "double-quoted-scalar" || r.type === "block-scalar");
|
|
37621
|
+
function bq(r) {
|
|
37622
37622
|
switch (r) {
|
|
37623
37623
|
case bu:
|
|
37624
37624
|
return "<BOM>";
|
|
@@ -37693,19 +37693,19 @@ function Ak(r) {
|
|
|
37693
37693
|
}
|
|
37694
37694
|
return null;
|
|
37695
37695
|
}
|
|
37696
|
-
const
|
|
37696
|
+
const vq = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37697
37697
|
__proto__: null,
|
|
37698
37698
|
BOM: bu,
|
|
37699
37699
|
DOCUMENT: vu,
|
|
37700
37700
|
FLOW_END: wu,
|
|
37701
37701
|
SCALAR: za,
|
|
37702
|
-
createScalarToken:
|
|
37703
|
-
isCollection:
|
|
37704
|
-
isScalar:
|
|
37705
|
-
prettyToken:
|
|
37706
|
-
resolveAsScalar:
|
|
37707
|
-
setScalarValue:
|
|
37708
|
-
stringify:
|
|
37702
|
+
createScalarToken: hq,
|
|
37703
|
+
isCollection: Oq,
|
|
37704
|
+
isScalar: yq,
|
|
37705
|
+
prettyToken: bq,
|
|
37706
|
+
resolveAsScalar: uq,
|
|
37707
|
+
setScalarValue: fq,
|
|
37708
|
+
stringify: mq,
|
|
37709
37709
|
tokenType: Ak,
|
|
37710
37710
|
visit: Js
|
|
37711
37711
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -37722,8 +37722,8 @@ function lr(r) {
|
|
|
37722
37722
|
return !1;
|
|
37723
37723
|
}
|
|
37724
37724
|
}
|
|
37725
|
-
const Fy = "0123456789ABCDEFabcdef".split(""),
|
|
37726
|
-
\r `.split(""), vh = (r) => !r ||
|
|
37725
|
+
const Fy = "0123456789ABCDEFabcdef".split(""), wq = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""), bh = ",[]{}".split(""), Sq = ` ,[]{}
|
|
37726
|
+
\r `.split(""), vh = (r) => !r || Sq.includes(r);
|
|
37727
37727
|
class Ek {
|
|
37728
37728
|
constructor() {
|
|
37729
37729
|
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;
|
|
@@ -38091,7 +38091,7 @@ class Ek {
|
|
|
38091
38091
|
} else {
|
|
38092
38092
|
let e = this.pos + 1, t = this.buffer[e];
|
|
38093
38093
|
for (; t; )
|
|
38094
|
-
if (
|
|
38094
|
+
if (wq.includes(t))
|
|
38095
38095
|
t = this.buffer[++e];
|
|
38096
38096
|
else if (t === "%" && Fy.includes(this.buffer[e + 1]) && Fy.includes(this.buffer[e + 2]))
|
|
38097
38097
|
t = this.buffer[e += 3];
|
|
@@ -38782,7 +38782,7 @@ function Ik(r) {
|
|
|
38782
38782
|
const e = r.prettyErrors !== !1;
|
|
38783
38783
|
return { lineCounter: r.lineCounter || e && new Rk() || null, prettyErrors: e };
|
|
38784
38784
|
}
|
|
38785
|
-
function
|
|
38785
|
+
function kq(r, e = {}) {
|
|
38786
38786
|
const { lineCounter: t, prettyErrors: n } = Ik(e), s = new pg(t == null ? void 0 : t.addNewLine), i = new fg(e), o = Array.from(i.compose(s.parse(r)));
|
|
38787
38787
|
if (n && t)
|
|
38788
38788
|
for (const a of o)
|
|
@@ -38801,7 +38801,7 @@ function jk(r, e = {}) {
|
|
|
38801
38801
|
}
|
|
38802
38802
|
return n && t && (o.errors.forEach(fd(r, t)), o.warnings.forEach(fd(r, t))), o;
|
|
38803
38803
|
}
|
|
38804
|
-
function $
|
|
38804
|
+
function $q(r, e, t) {
|
|
38805
38805
|
let n;
|
|
38806
38806
|
typeof e == "function" ? n = e : t === void 0 && e && typeof e == "object" && (t = e);
|
|
38807
38807
|
const s = jk(r, t);
|
|
@@ -38814,7 +38814,7 @@ function $W(r, e, t) {
|
|
|
38814
38814
|
}
|
|
38815
38815
|
return s.toJS(Object.assign({ reviver: n }, t));
|
|
38816
38816
|
}
|
|
38817
|
-
function
|
|
38817
|
+
function Pq(r, e, t) {
|
|
38818
38818
|
let n = null;
|
|
38819
38819
|
if (typeof e == "function" || Array.isArray(e) ? n = e : t === void 0 && e && (t = e), typeof t == "string" && (t = t.length), typeof t == "number") {
|
|
38820
38820
|
const s = Math.round(t);
|
|
@@ -38830,7 +38830,7 @@ function PW(r, e, t) {
|
|
|
38830
38830
|
const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38831
38831
|
__proto__: null,
|
|
38832
38832
|
Alias: cu,
|
|
38833
|
-
CST:
|
|
38833
|
+
CST: vq,
|
|
38834
38834
|
Composer: fg,
|
|
38835
38835
|
Document: xo,
|
|
38836
38836
|
Lexer: Ek,
|
|
@@ -38852,10 +38852,10 @@ const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38852
38852
|
isPair: Je,
|
|
38853
38853
|
isScalar: Le,
|
|
38854
38854
|
isSeq: $o,
|
|
38855
|
-
parse: $
|
|
38856
|
-
parseAllDocuments:
|
|
38855
|
+
parse: $q,
|
|
38856
|
+
parseAllDocuments: kq,
|
|
38857
38857
|
parseDocument: jk,
|
|
38858
|
-
stringify:
|
|
38858
|
+
stringify: Pq,
|
|
38859
38859
|
visit: ls,
|
|
38860
38860
|
visitAsync: lu
|
|
38861
38861
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -38880,11 +38880,11 @@ function Mk(r) {
|
|
|
38880
38880
|
specification: e,
|
|
38881
38881
|
filename: "openapi.json",
|
|
38882
38882
|
dir: "./",
|
|
38883
|
-
references:
|
|
38883
|
+
references: g7(e)
|
|
38884
38884
|
}
|
|
38885
38885
|
];
|
|
38886
38886
|
}
|
|
38887
|
-
async function
|
|
38887
|
+
async function _q(r) {
|
|
38888
38888
|
const e = new Og(), t = Mk(r), n = await e.validate(t), s = structuredClone(
|
|
38889
38889
|
e.specification
|
|
38890
38890
|
), i = e.resolveReferences(t);
|
|
@@ -38896,8 +38896,8 @@ async function _W(r) {
|
|
|
38896
38896
|
schema: i
|
|
38897
38897
|
};
|
|
38898
38898
|
}
|
|
38899
|
-
const
|
|
38900
|
-
function
|
|
38899
|
+
const xq = (r) => JSON.stringify(r, null, 2), Qq = (r) => Nk.stringify(r);
|
|
38900
|
+
function Tq(r) {
|
|
38901
38901
|
var e;
|
|
38902
38902
|
if ((e = r.openapi) != null && e.startsWith("3.0"))
|
|
38903
38903
|
r.openapi = "3.1.0";
|
|
@@ -38920,16 +38920,16 @@ function TW(r) {
|
|
|
38920
38920
|
contentEncoding: "base64"
|
|
38921
38921
|
} : t), r;
|
|
38922
38922
|
}
|
|
38923
|
-
function
|
|
38923
|
+
function Cq(r) {
|
|
38924
38924
|
return r;
|
|
38925
38925
|
}
|
|
38926
|
-
function
|
|
38927
|
-
return [
|
|
38926
|
+
function Aq(r) {
|
|
38927
|
+
return [Cq, Tq].reduce(
|
|
38928
38928
|
(e, t) => t(e),
|
|
38929
38929
|
r
|
|
38930
38930
|
);
|
|
38931
38931
|
}
|
|
38932
|
-
async function
|
|
38932
|
+
async function Eq(r) {
|
|
38933
38933
|
const e = new Og(), t = Mk(r);
|
|
38934
38934
|
return {
|
|
38935
38935
|
...await e.validate(t),
|
|
@@ -38953,7 +38953,7 @@ function Xk(r) {
|
|
|
38953
38953
|
specificationVersion: void 0
|
|
38954
38954
|
};
|
|
38955
38955
|
}
|
|
38956
|
-
function
|
|
38956
|
+
function Rq(r) {
|
|
38957
38957
|
return decodeURI(r.replace(/~1/g, "/").replace(/~0/g, "~"));
|
|
38958
38958
|
}
|
|
38959
38959
|
function qk(r) {
|
|
@@ -38962,31 +38962,31 @@ function qk(r) {
|
|
|
38962
38962
|
function t(n) {
|
|
38963
38963
|
Object.entries(n ?? {}).forEach(([s, i]) => {
|
|
38964
38964
|
if (n.$ref !== void 0) {
|
|
38965
|
-
const o =
|
|
38965
|
+
const o = Iq(e, n.$ref);
|
|
38966
38966
|
delete n.$ref, typeof o == "object" && Object.keys(o).forEach((a) => {
|
|
38967
38967
|
n[a] === void 0 && (n[a] = o[a]);
|
|
38968
38968
|
});
|
|
38969
38969
|
}
|
|
38970
|
-
typeof i == "object" && !
|
|
38970
|
+
typeof i == "object" && !Zq(i) && t(i);
|
|
38971
38971
|
});
|
|
38972
38972
|
}
|
|
38973
38973
|
}
|
|
38974
|
-
function
|
|
38974
|
+
function Zq(r) {
|
|
38975
38975
|
try {
|
|
38976
38976
|
return JSON.stringify(r), !1;
|
|
38977
38977
|
} catch {
|
|
38978
38978
|
return !0;
|
|
38979
38979
|
}
|
|
38980
38980
|
}
|
|
38981
|
-
function
|
|
38981
|
+
function Iq(r, e) {
|
|
38982
38982
|
if (typeof e != "string")
|
|
38983
38983
|
return;
|
|
38984
38984
|
const [t, n] = e.split("#", 2);
|
|
38985
38985
|
if (t)
|
|
38986
38986
|
throw new Error(Ff.EXTERNAL_REFERENCE_NOT_SUPPORTED.replace("%s", e));
|
|
38987
|
-
return
|
|
38987
|
+
return Rq(n).split("/").slice(1).reduce((s, i) => s[i], r);
|
|
38988
38988
|
}
|
|
38989
|
-
const
|
|
38989
|
+
const jq = "[", Nq = "]", Dq = "{", Mq = "}", Xq = ":", qq = ",", Wk = "true", Vk = "false", zk = "null", eb = '"', Wq = /* @__PURE__ */ new Map([
|
|
38990
38990
|
["t", Wk],
|
|
38991
38991
|
["f", Vk],
|
|
38992
38992
|
["n", zk]
|
|
@@ -39001,12 +39001,12 @@ const jW = "[", NW = "]", DW = "{", MW = "}", XW = ":", qW = ",", Wk = "true", V
|
|
|
39001
39001
|
["r", "\r"],
|
|
39002
39002
|
["t", " "]
|
|
39003
39003
|
]), wh = /* @__PURE__ */ new Map([
|
|
39004
|
-
[
|
|
39005
|
-
[
|
|
39006
|
-
[
|
|
39007
|
-
[
|
|
39008
|
-
[
|
|
39009
|
-
[
|
|
39004
|
+
[jq, "LBracket"],
|
|
39005
|
+
[Nq, "RBracket"],
|
|
39006
|
+
[Dq, "LBrace"],
|
|
39007
|
+
[Mq, "RBrace"],
|
|
39008
|
+
[Xq, "Colon"],
|
|
39009
|
+
[qq, "Comma"],
|
|
39010
39010
|
[Wk, "Boolean"],
|
|
39011
39011
|
[Vk, "Boolean"],
|
|
39012
39012
|
[zk, "Null"]
|
|
@@ -39021,7 +39021,7 @@ class Ua extends Error {
|
|
|
39021
39021
|
super(`${e} (${t}:${n})`), this.line = t, this.column = n, this.offset = s;
|
|
39022
39022
|
}
|
|
39023
39023
|
}
|
|
39024
|
-
class
|
|
39024
|
+
class Vq extends Ua {
|
|
39025
39025
|
/**
|
|
39026
39026
|
* Creates a new instance.
|
|
39027
39027
|
* @param {string} unexpected The character that was found.
|
|
@@ -39040,7 +39040,7 @@ class Sh extends Ua {
|
|
|
39040
39040
|
super(`Unexpected token ${e.type} found.`, e.loc.start);
|
|
39041
39041
|
}
|
|
39042
39042
|
}
|
|
39043
|
-
class
|
|
39043
|
+
class zq extends Ua {
|
|
39044
39044
|
/**
|
|
39045
39045
|
* Creates a new instance.
|
|
39046
39046
|
* @param {Location} loc The location information for the found character.
|
|
@@ -39049,31 +39049,31 @@ class zW extends Ua {
|
|
|
39049
39049
|
super("Unexpected end of input found.", e);
|
|
39050
39050
|
}
|
|
39051
39051
|
}
|
|
39052
|
-
const tb = '"', rb = "/", nb = "*",
|
|
39052
|
+
const tb = '"', rb = "/", nb = "*", Uq = {
|
|
39053
39053
|
mode: "json",
|
|
39054
39054
|
ranges: !1
|
|
39055
39055
|
};
|
|
39056
|
-
function
|
|
39056
|
+
function Yq(r) {
|
|
39057
39057
|
return /[\s\n]/.test(r);
|
|
39058
39058
|
}
|
|
39059
39059
|
function Un(r) {
|
|
39060
39060
|
return r >= "0" && r <= "9";
|
|
39061
39061
|
}
|
|
39062
|
-
function
|
|
39062
|
+
function Lq(r) {
|
|
39063
39063
|
return Un(r) || /[a-f]/i.test(r);
|
|
39064
39064
|
}
|
|
39065
|
-
function
|
|
39065
|
+
function Bq(r) {
|
|
39066
39066
|
return r >= "1" && r <= "9";
|
|
39067
39067
|
}
|
|
39068
|
-
function
|
|
39068
|
+
function Hq(r) {
|
|
39069
39069
|
return /[tfn]/.test(r);
|
|
39070
39070
|
}
|
|
39071
|
-
function
|
|
39071
|
+
function Gq(r) {
|
|
39072
39072
|
return Un(r) || r === "." || r === "-";
|
|
39073
39073
|
}
|
|
39074
|
-
function
|
|
39074
|
+
function Fq(r, e) {
|
|
39075
39075
|
e = Object.freeze({
|
|
39076
|
-
...
|
|
39076
|
+
...Uq,
|
|
39077
39077
|
...e
|
|
39078
39078
|
});
|
|
39079
39079
|
let t = -1, n = 1, s = 0, i = !1;
|
|
@@ -39110,7 +39110,7 @@ function FW(r, e) {
|
|
|
39110
39110
|
};
|
|
39111
39111
|
}
|
|
39112
39112
|
function d(O) {
|
|
39113
|
-
let y =
|
|
39113
|
+
let y = Wq.get(O);
|
|
39114
39114
|
if (r.slice(t, t + y.length) === y)
|
|
39115
39115
|
return t += y.length - 1, s += y.length - 1, { value: y, c: l() };
|
|
39116
39116
|
for (let b = 1; b < y.length; b++)
|
|
@@ -39125,7 +39125,7 @@ function FW(r, e) {
|
|
|
39125
39125
|
else if (O === "u") {
|
|
39126
39126
|
y += O;
|
|
39127
39127
|
for (let b = 0; b < 4; b++)
|
|
39128
|
-
O = l(),
|
|
39128
|
+
O = l(), Lq(O) ? y += O : p(O);
|
|
39129
39129
|
} else
|
|
39130
39130
|
p(O);
|
|
39131
39131
|
else
|
|
@@ -39139,7 +39139,7 @@ function FW(r, e) {
|
|
|
39139
39139
|
if (O === "-" && (y += O, O = l(), Un(O) || p(O)), O === "0")
|
|
39140
39140
|
y += O, O = l(), Un(O) && p(O);
|
|
39141
39141
|
else {
|
|
39142
|
-
|
|
39142
|
+
Bq(O) || p(O);
|
|
39143
39143
|
do
|
|
39144
39144
|
y += O, O = l();
|
|
39145
39145
|
while (Un(O));
|
|
@@ -39171,25 +39171,25 @@ function FW(r, e) {
|
|
|
39171
39171
|
p(O);
|
|
39172
39172
|
}
|
|
39173
39173
|
function p(O) {
|
|
39174
|
-
throw new
|
|
39174
|
+
throw new Vq(O, c());
|
|
39175
39175
|
}
|
|
39176
39176
|
function m() {
|
|
39177
|
-
throw new
|
|
39177
|
+
throw new zq(c());
|
|
39178
39178
|
}
|
|
39179
39179
|
let g = l();
|
|
39180
39180
|
for (; t < r.length; ) {
|
|
39181
|
-
for (;
|
|
39181
|
+
for (; Yq(g); )
|
|
39182
39182
|
g = l();
|
|
39183
39183
|
if (!g)
|
|
39184
39184
|
break;
|
|
39185
39185
|
const O = c();
|
|
39186
39186
|
if (wh.has(g))
|
|
39187
39187
|
o.push(a(wh.get(g), g, O)), g = l();
|
|
39188
|
-
else if (
|
|
39188
|
+
else if (Hq(g)) {
|
|
39189
39189
|
const y = d(g);
|
|
39190
39190
|
let b = y.value;
|
|
39191
39191
|
g = y.c, o.push(a(wh.get(b), b, O));
|
|
39192
|
-
} else if (
|
|
39192
|
+
} else if (Gq(g)) {
|
|
39193
39193
|
const y = h(g);
|
|
39194
39194
|
let b = y.value;
|
|
39195
39195
|
g = y.c, o.push(a("Number", b, O));
|
|
@@ -39324,12 +39324,12 @@ const fn = {
|
|
|
39324
39324
|
...t
|
|
39325
39325
|
};
|
|
39326
39326
|
}
|
|
39327
|
-
},
|
|
39327
|
+
}, Kq = {
|
|
39328
39328
|
mode: "json",
|
|
39329
39329
|
ranges: !1,
|
|
39330
39330
|
tokens: !1
|
|
39331
39331
|
};
|
|
39332
|
-
function
|
|
39332
|
+
function Jq(r, e) {
|
|
39333
39333
|
let t = "", n = r.indexOf("\\"), s = 0;
|
|
39334
39334
|
for (; n >= 0; ) {
|
|
39335
39335
|
t += r.slice(s, n);
|
|
@@ -39361,24 +39361,24 @@ function JW(r, e) {
|
|
|
39361
39361
|
}
|
|
39362
39362
|
return t += r.slice(s), t;
|
|
39363
39363
|
}
|
|
39364
|
-
function
|
|
39364
|
+
function eW(r, e) {
|
|
39365
39365
|
switch (e.type) {
|
|
39366
39366
|
case "Boolean":
|
|
39367
39367
|
return r === "true";
|
|
39368
39368
|
case "Number":
|
|
39369
39369
|
return Number(r);
|
|
39370
39370
|
case "String":
|
|
39371
|
-
return
|
|
39371
|
+
return Jq(r.slice(1, -1), e);
|
|
39372
39372
|
default:
|
|
39373
39373
|
throw new TypeError(`Unknown token type "${e.type}.`);
|
|
39374
39374
|
}
|
|
39375
39375
|
}
|
|
39376
|
-
function
|
|
39376
|
+
function tW(r, e) {
|
|
39377
39377
|
e = Object.freeze({
|
|
39378
|
-
...
|
|
39378
|
+
...Kq,
|
|
39379
39379
|
...e
|
|
39380
39380
|
});
|
|
39381
|
-
const t =
|
|
39381
|
+
const t = Fq(r, {
|
|
39382
39382
|
mode: e.mode,
|
|
39383
39383
|
ranges: e.ranges
|
|
39384
39384
|
});
|
|
@@ -39401,7 +39401,7 @@ function t8(r, e) {
|
|
|
39401
39401
|
} : void 0;
|
|
39402
39402
|
}
|
|
39403
39403
|
function c(y) {
|
|
39404
|
-
const b = l(y.loc.start, y.loc.end), w =
|
|
39404
|
+
const b = l(y.loc.start, y.loc.end), w = eW(
|
|
39405
39405
|
r.slice(y.loc.start.offset, y.loc.end.offset),
|
|
39406
39406
|
y
|
|
39407
39407
|
), P = { loc: {
|
|
@@ -39561,7 +39561,7 @@ function t8(r, e) {
|
|
|
39561
39561
|
O.loc.end.offset
|
|
39562
39562
|
]), fn.document(m, O);
|
|
39563
39563
|
}
|
|
39564
|
-
const
|
|
39564
|
+
const rW = (r) => (e) => r === e, nW = (r) => (e) => !r(e), sW = (r) => Object.values(r), iW = (r) => r !== void 0, mg = (r) => (e) => e.keyword === r, oW = mg("required"), aW = mg("anyOf"), Uk = mg("enum"), aa = (r) => r && r.errors || [], Yk = (r) => r && sW(r.children) || [], lW = (r) => (e) => Yk(r).filter(nW(rW(e))), sb = (
|
|
39565
39565
|
/* ::<T> */
|
|
39566
39566
|
(r) => (e) => e.reduce((t, n) => t.concat(n), r)
|
|
39567
39567
|
), Lk = (r) => {
|
|
@@ -39570,7 +39570,7 @@ const r8 = (r) => (e) => r === e, n8 = (r) => (e) => !r(e), s8 = (r) => Object.v
|
|
|
39570
39570
|
e[t] = e[t].split("~1").join("/").split("~0").join("~");
|
|
39571
39571
|
return e;
|
|
39572
39572
|
};
|
|
39573
|
-
function
|
|
39573
|
+
function cW(r, e, t) {
|
|
39574
39574
|
const n = Lk(e), s = n.length - 1;
|
|
39575
39575
|
return n.reduce((i, o, a) => {
|
|
39576
39576
|
switch (i == null ? void 0 : i.type) {
|
|
@@ -39591,7 +39591,7 @@ function c8(r, e, t) {
|
|
|
39591
39591
|
}
|
|
39592
39592
|
}, r.body);
|
|
39593
39593
|
}
|
|
39594
|
-
function
|
|
39594
|
+
function dW(r) {
|
|
39595
39595
|
if (!r || !r.elements)
|
|
39596
39596
|
return "";
|
|
39597
39597
|
const e = r.elements.filter(
|
|
@@ -39599,7 +39599,7 @@ function d8(r) {
|
|
|
39599
39599
|
);
|
|
39600
39600
|
return e.length && e[0].value && `:${e[0].value.value}` || "";
|
|
39601
39601
|
}
|
|
39602
|
-
function
|
|
39602
|
+
function uW(r, e) {
|
|
39603
39603
|
let t = "";
|
|
39604
39604
|
return Lk(e).reduce((n, s) => {
|
|
39605
39605
|
switch (n == null ? void 0 : n.type) {
|
|
@@ -39613,7 +39613,7 @@ function u8(r, e) {
|
|
|
39613
39613
|
return i[0].value;
|
|
39614
39614
|
}
|
|
39615
39615
|
case "Array":
|
|
39616
|
-
return t += `/${s}${
|
|
39616
|
+
return t += `/${s}${dW(n.elements[s])}`, n.elements[s];
|
|
39617
39617
|
}
|
|
39618
39618
|
}, r.body), t;
|
|
39619
39619
|
}
|
|
@@ -39626,7 +39626,7 @@ class Qo {
|
|
|
39626
39626
|
return this.colorize ? chalk : new chalk.Instance({ level: 0 });
|
|
39627
39627
|
}
|
|
39628
39628
|
getLocation(e = this.instancePath) {
|
|
39629
|
-
const { isIdentifierLocation: t, isSkipEndLocation: n } = this.options, { loc: s } =
|
|
39629
|
+
const { isIdentifierLocation: t, isSkipEndLocation: n } = this.options, { loc: s } = cW(
|
|
39630
39630
|
this.jsonAst,
|
|
39631
39631
|
e,
|
|
39632
39632
|
t
|
|
@@ -39637,7 +39637,7 @@ class Qo {
|
|
|
39637
39637
|
};
|
|
39638
39638
|
}
|
|
39639
39639
|
getDecoratedPath(e = this.instancePath) {
|
|
39640
|
-
return
|
|
39640
|
+
return uW(this.jsonAst, e);
|
|
39641
39641
|
}
|
|
39642
39642
|
getCodeFrame(e, t = this.instancePath) {
|
|
39643
39643
|
return codeFrameColumns(this.jsonRaw, this.getLocation(t), {
|
|
@@ -39674,7 +39674,7 @@ class Qo {
|
|
|
39674
39674
|
);
|
|
39675
39675
|
}
|
|
39676
39676
|
}
|
|
39677
|
-
class
|
|
39677
|
+
class hW extends Qo {
|
|
39678
39678
|
constructor(...e) {
|
|
39679
39679
|
super(...e), this.name = "AdditionalPropValidationError", this.options.isIdentifierLocation = !0;
|
|
39680
39680
|
}
|
|
@@ -39696,7 +39696,7 @@ class h8 extends Qo {
|
|
|
39696
39696
|
};
|
|
39697
39697
|
}
|
|
39698
39698
|
}
|
|
39699
|
-
class
|
|
39699
|
+
class fW extends Qo {
|
|
39700
39700
|
constructor(...e) {
|
|
39701
39701
|
super(...e), this.name = "DefaultValidationError", this.options.isSkipEndLocation = !0;
|
|
39702
39702
|
}
|
|
@@ -39715,8 +39715,8 @@ class f8 extends Qo {
|
|
|
39715
39715
|
};
|
|
39716
39716
|
}
|
|
39717
39717
|
}
|
|
39718
|
-
var Su = {},
|
|
39719
|
-
function
|
|
39718
|
+
var Su = {}, pW = /~/, mW = /~[01]/g;
|
|
39719
|
+
function gW(r) {
|
|
39720
39720
|
switch (r) {
|
|
39721
39721
|
case "~1":
|
|
39722
39722
|
return "/";
|
|
@@ -39726,9 +39726,9 @@ function g8(r) {
|
|
|
39726
39726
|
throw new Error("Invalid tilde escape: " + r);
|
|
39727
39727
|
}
|
|
39728
39728
|
function Bk(r) {
|
|
39729
|
-
return
|
|
39729
|
+
return pW.test(r) ? r.replace(mW, gW) : r;
|
|
39730
39730
|
}
|
|
39731
|
-
function
|
|
39731
|
+
function OW(r, e, t) {
|
|
39732
39732
|
for (var n, s, i = 1, o = e.length; i < o; ) {
|
|
39733
39733
|
if (e[i] === "constructor" || e[i] === "prototype" || e[i] === "__proto__")
|
|
39734
39734
|
return r;
|
|
@@ -39771,9 +39771,9 @@ function Gk(r, e, t) {
|
|
|
39771
39771
|
throw new Error("Invalid input object.");
|
|
39772
39772
|
if (e = gg(e), e.length === 0)
|
|
39773
39773
|
throw new Error("Invalid JSON pointer for set.");
|
|
39774
|
-
return
|
|
39774
|
+
return OW(r, e, t);
|
|
39775
39775
|
}
|
|
39776
|
-
function
|
|
39776
|
+
function yW(r) {
|
|
39777
39777
|
var e = gg(r);
|
|
39778
39778
|
return {
|
|
39779
39779
|
get: function(t) {
|
|
@@ -39786,9 +39786,9 @@ function y8(r) {
|
|
|
39786
39786
|
}
|
|
39787
39787
|
Su.get = Hk;
|
|
39788
39788
|
Su.set = Gk;
|
|
39789
|
-
Su.compile =
|
|
39789
|
+
Su.compile = yW;
|
|
39790
39790
|
const kh = [], ib = [];
|
|
39791
|
-
function
|
|
39791
|
+
function bW(r, e) {
|
|
39792
39792
|
if (r === e)
|
|
39793
39793
|
return 0;
|
|
39794
39794
|
const t = r;
|
|
@@ -39809,7 +39809,7 @@ function b8(r, e) {
|
|
|
39809
39809
|
c = o === ib[d] ? l : l + 1, l = kh[d], a = kh[d] = l > a ? c > a ? a + 1 : c : c > l ? l + 1 : c;
|
|
39810
39810
|
return a;
|
|
39811
39811
|
}
|
|
39812
|
-
class
|
|
39812
|
+
class vW extends Qo {
|
|
39813
39813
|
constructor(...e) {
|
|
39814
39814
|
super(...e), this.name = "EnumValidationError";
|
|
39815
39815
|
}
|
|
@@ -39843,14 +39843,14 @@ class v8 extends Qo {
|
|
|
39843
39843
|
return null;
|
|
39844
39844
|
const n = e.map((s) => ({
|
|
39845
39845
|
value: s,
|
|
39846
|
-
weight:
|
|
39846
|
+
weight: bW(s, t.toString())
|
|
39847
39847
|
})).sort(
|
|
39848
39848
|
(s, i) => s.weight > i.weight ? 1 : s.weight < i.weight ? -1 : 0
|
|
39849
39849
|
)[0];
|
|
39850
39850
|
return e.length === 1 || n.weight < n.value.length ? n.value : null;
|
|
39851
39851
|
}
|
|
39852
39852
|
}
|
|
39853
|
-
class
|
|
39853
|
+
class wW extends Qo {
|
|
39854
39854
|
constructor(...e) {
|
|
39855
39855
|
super(...e), this.name = "PatternValidationError", this.options.isIdentifierLocation = !0;
|
|
39856
39856
|
}
|
|
@@ -39873,7 +39873,7 @@ class w8 extends Qo {
|
|
|
39873
39873
|
};
|
|
39874
39874
|
}
|
|
39875
39875
|
}
|
|
39876
|
-
class
|
|
39876
|
+
class SW extends Qo {
|
|
39877
39877
|
constructor(...e) {
|
|
39878
39878
|
super(...e), this.name = "RequiredValidationError";
|
|
39879
39879
|
}
|
|
@@ -39898,7 +39898,7 @@ class S8 extends Qo {
|
|
|
39898
39898
|
};
|
|
39899
39899
|
}
|
|
39900
39900
|
}
|
|
39901
|
-
class
|
|
39901
|
+
class kW extends Qo {
|
|
39902
39902
|
constructor(...e) {
|
|
39903
39903
|
super(...e), this.name = "UnevaluatedPropValidationError", this.options.isIdentifierLocation = !0;
|
|
39904
39904
|
}
|
|
@@ -39920,18 +39920,18 @@ class k8 extends Qo {
|
|
|
39920
39920
|
};
|
|
39921
39921
|
}
|
|
39922
39922
|
}
|
|
39923
|
-
const $
|
|
39924
|
-
function
|
|
39923
|
+
const $W = /\/[\w_-]+(\/\d+)?/g;
|
|
39924
|
+
function PW(r = []) {
|
|
39925
39925
|
const e = { children: {} };
|
|
39926
39926
|
return r.forEach((t) => {
|
|
39927
|
-
const n = typeof t.instancePath < "u" ? t.instancePath : t.dataPath, s = n === "" ? [""] : n.match($
|
|
39927
|
+
const n = typeof t.instancePath < "u" ? t.instancePath : t.dataPath, s = n === "" ? [""] : n.match($W);
|
|
39928
39928
|
s && s.reduce((i, o, a) => (i.children[o] = i.children[o] || { children: {}, errors: [] }, a === s.length - 1 && i.children[o].errors.push(t), i.children[o]), e);
|
|
39929
39929
|
}), e;
|
|
39930
39930
|
}
|
|
39931
39931
|
function Fk(r, e, t) {
|
|
39932
39932
|
aa(r).forEach((n) => {
|
|
39933
|
-
|
|
39934
|
-
}), aa(r).some(
|
|
39933
|
+
oW(n) && (r.errors = [n], r.children = {});
|
|
39934
|
+
}), aa(r).some(aW) && Object.keys(r.children).length > 0 && delete r.errors, r.errors && r.errors.length && aa(r).every(Uk) && lW(e)(r).filter(iW).some(aa) && delete e.children[t], Object.entries(r.children).forEach(
|
|
39935
39935
|
([n, s]) => Fk(s, r, n)
|
|
39936
39936
|
);
|
|
39937
39937
|
}
|
|
@@ -39942,7 +39942,7 @@ function Kk(r, e) {
|
|
|
39942
39942
|
sb([])(t.map((i) => i.params.allowedValues))
|
|
39943
39943
|
)], s = t[0];
|
|
39944
39944
|
return [
|
|
39945
|
-
new
|
|
39945
|
+
new vW(
|
|
39946
39946
|
{
|
|
39947
39947
|
...s,
|
|
39948
39948
|
params: { allowedValues: n }
|
|
@@ -39955,31 +39955,31 @@ function Kk(r, e) {
|
|
|
39955
39955
|
t.reduce((n, s) => {
|
|
39956
39956
|
switch (s.keyword) {
|
|
39957
39957
|
case "additionalProperties":
|
|
39958
|
-
return n.concat(new
|
|
39958
|
+
return n.concat(new hW(s, e));
|
|
39959
39959
|
case "pattern":
|
|
39960
|
-
return n.concat(new
|
|
39960
|
+
return n.concat(new wW(s, e));
|
|
39961
39961
|
case "required":
|
|
39962
|
-
return n.concat(new
|
|
39962
|
+
return n.concat(new SW(s, e));
|
|
39963
39963
|
case "unevaluatedProperties":
|
|
39964
|
-
return n.concat(new
|
|
39964
|
+
return n.concat(new kW(s, e));
|
|
39965
39965
|
default:
|
|
39966
|
-
return n.concat(new
|
|
39966
|
+
return n.concat(new fW(s, e));
|
|
39967
39967
|
}
|
|
39968
39968
|
}, [])
|
|
39969
39969
|
)(Yk(r).map((n) => Kk(n, e)));
|
|
39970
39970
|
}
|
|
39971
|
-
function
|
|
39972
|
-
const t =
|
|
39971
|
+
function _W(r, e) {
|
|
39972
|
+
const t = PW(r || []);
|
|
39973
39973
|
return Fk(t), Kk(t, e);
|
|
39974
39974
|
}
|
|
39975
|
-
function
|
|
39975
|
+
function xW(r, e, t, n = {}) {
|
|
39976
39976
|
const {
|
|
39977
39977
|
colorize: s = !0,
|
|
39978
39978
|
format: i = "cli",
|
|
39979
39979
|
indent: o = null,
|
|
39980
39980
|
json: a = null
|
|
39981
|
-
} = n, l = a || JSON.stringify(e, null, o), c =
|
|
39982
|
-
`), u = (f) => f.getError(), h =
|
|
39981
|
+
} = n, l = a || JSON.stringify(e, null, o), c = tW(l), d = (f) => f.print().join(`
|
|
39982
|
+
`), u = (f) => f.getError(), h = _W(t, {
|
|
39983
39983
|
colorize: s,
|
|
39984
39984
|
data: e,
|
|
39985
39985
|
schema: r,
|
|
@@ -40001,13 +40001,13 @@ function la(r, e) {
|
|
|
40001
40001
|
error: e,
|
|
40002
40002
|
path: ""
|
|
40003
40003
|
}
|
|
40004
|
-
] :
|
|
40004
|
+
] : xW(r, null, e, {
|
|
40005
40005
|
format: "js",
|
|
40006
40006
|
indent: 2,
|
|
40007
40007
|
colorize: !1
|
|
40008
40008
|
}).map((t) => (t.error = t.error.trim(), t));
|
|
40009
40009
|
}
|
|
40010
|
-
function
|
|
40010
|
+
function QW(r) {
|
|
40011
40011
|
try {
|
|
40012
40012
|
return qk(r), {
|
|
40013
40013
|
valid: !0
|
|
@@ -40041,7 +40041,7 @@ class Og {
|
|
|
40041
40041
|
valid: !1,
|
|
40042
40042
|
errors: la(n, Ff.EMPTY_OR_INVALID)
|
|
40043
40043
|
};
|
|
40044
|
-
Object.keys(this.externalRefs).length > 0 && (s[
|
|
40044
|
+
Object.keys(this.externalRefs).length > 0 && (s[p7] = this.externalRefs);
|
|
40045
40045
|
const { version: i, specificationType: o, specificationVersion: a } = Xk(s);
|
|
40046
40046
|
if (this.version = i, this.specificationVersion = a, this.specificationType = o, !i)
|
|
40047
40047
|
return {
|
|
@@ -40052,7 +40052,7 @@ class Og {
|
|
|
40052
40052
|
)
|
|
40053
40053
|
};
|
|
40054
40054
|
const l = await this.getAjvValidator(i);
|
|
40055
|
-
return l(s) ?
|
|
40055
|
+
return l(s) ? QW(n.specification) : l.errors && l.errors.length > 0 ? {
|
|
40056
40056
|
valid: !1,
|
|
40057
40057
|
errors: la(n, l.errors)
|
|
40058
40058
|
} : {
|
|
@@ -40071,7 +40071,7 @@ class Og {
|
|
|
40071
40071
|
async getAjvValidator(e) {
|
|
40072
40072
|
if (this.ajvValidators[e])
|
|
40073
40073
|
return this.ajvValidators[e];
|
|
40074
|
-
const t = await $3(/* @__PURE__ */ Object.assign({ "../../../schemas/v2.0/schema.json": () => import("./schema-BQQoKgNw-DQKLRVph.js"), "../../../schemas/v3.0/schema.json": () => import("./schema-BjykgtPd-D3b7mB1v.js"), "../../../schemas/v3.1/schema.json": () => import("./schema-ZROhtp0X-ZROhtp0X.js") }), `../../../schemas/v${e}/schema.json`), n =
|
|
40074
|
+
const t = await $3(/* @__PURE__ */ Object.assign({ "../../../schemas/v2.0/schema.json": () => import("./schema-BQQoKgNw-DQKLRVph.js"), "../../../schemas/v3.0/schema.json": () => import("./schema-BjykgtPd-D3b7mB1v.js"), "../../../schemas/v3.1/schema.json": () => import("./schema-ZROhtp0X-ZROhtp0X.js") }), `../../../schemas/v${e}/schema.json`), n = f7[t.$schema], s = new n({
|
|
40075
40075
|
// Ajv is a bit too strict in its strict validation of OpenAPI schemas.
|
|
40076
40076
|
// Switch strict mode off.
|
|
40077
40077
|
strict: !1
|
|
@@ -40080,12 +40080,12 @@ class Og {
|
|
|
40080
40080
|
}
|
|
40081
40081
|
}
|
|
40082
40082
|
Xn(Og, "supportedVersions", zS);
|
|
40083
|
-
function
|
|
40083
|
+
function TW() {
|
|
40084
40084
|
return {
|
|
40085
|
-
load:
|
|
40085
|
+
load: CW
|
|
40086
40086
|
};
|
|
40087
40087
|
}
|
|
40088
|
-
function
|
|
40088
|
+
function CW(r) {
|
|
40089
40089
|
const e = Dk(r);
|
|
40090
40090
|
return {
|
|
40091
40091
|
get: () => e,
|
|
@@ -40099,7 +40099,7 @@ function C8(r) {
|
|
|
40099
40099
|
};
|
|
40100
40100
|
}
|
|
40101
40101
|
function Jk(r) {
|
|
40102
|
-
const e =
|
|
40102
|
+
const e = Aq(r);
|
|
40103
40103
|
return {
|
|
40104
40104
|
get: () => e,
|
|
40105
40105
|
details: () => $u(e),
|
|
@@ -40112,7 +40112,7 @@ function Jk(r) {
|
|
|
40112
40112
|
}
|
|
40113
40113
|
async function yg(r) {
|
|
40114
40114
|
return {
|
|
40115
|
-
...await
|
|
40115
|
+
...await Eq(r),
|
|
40116
40116
|
filter: (e) => ml(r, e),
|
|
40117
40117
|
get: () => r,
|
|
40118
40118
|
details: () => $u(r),
|
|
@@ -40123,14 +40123,14 @@ async function yg(r) {
|
|
|
40123
40123
|
}
|
|
40124
40124
|
async function ku(r) {
|
|
40125
40125
|
return {
|
|
40126
|
-
...await
|
|
40126
|
+
...await _q(r),
|
|
40127
40127
|
filter: (e) => ml(r, e),
|
|
40128
40128
|
toJson: () => gl(r),
|
|
40129
40129
|
toYaml: () => Ol(r)
|
|
40130
40130
|
};
|
|
40131
40131
|
}
|
|
40132
40132
|
function ml(r, e) {
|
|
40133
|
-
const t =
|
|
40133
|
+
const t = m7(r, e);
|
|
40134
40134
|
return {
|
|
40135
40135
|
get: () => t,
|
|
40136
40136
|
details: () => $u(t),
|
|
@@ -40146,15 +40146,15 @@ function $u(r) {
|
|
|
40146
40146
|
return Xk(r);
|
|
40147
40147
|
}
|
|
40148
40148
|
function gl(r) {
|
|
40149
|
-
return
|
|
40149
|
+
return xq(r);
|
|
40150
40150
|
}
|
|
40151
40151
|
function Ol(r) {
|
|
40152
|
-
return
|
|
40152
|
+
return Qq(r);
|
|
40153
40153
|
}
|
|
40154
|
-
const
|
|
40154
|
+
const AW = (r) => new Promise(async (e, t) => {
|
|
40155
40155
|
var n;
|
|
40156
40156
|
try {
|
|
40157
|
-
const { schema: s, errors: i } = await
|
|
40157
|
+
const { schema: s, errors: i } = await TW().load(r).resolve();
|
|
40158
40158
|
if (i != null && i.length && console.warn(
|
|
40159
40159
|
`Please open an issue on https://github.com/scalar/scalar
|
|
40160
40160
|
`,
|
|
@@ -40165,11 +40165,11 @@ const A8 = (r) => new Promise(async (e, t) => {
|
|
|
40165
40165
|
t(((n = i == null ? void 0 : i[0]) == null ? void 0 : n.error) ?? "Failed to parse the OpenAPI file.");
|
|
40166
40166
|
return;
|
|
40167
40167
|
}
|
|
40168
|
-
e(
|
|
40168
|
+
e(EW(structuredClone(s)));
|
|
40169
40169
|
} catch (s) {
|
|
40170
40170
|
t(s);
|
|
40171
40171
|
}
|
|
40172
|
-
}),
|
|
40172
|
+
}), EW = (r) => {
|
|
40173
40173
|
r.tags || (r.tags = []), r.paths || (r.paths = {});
|
|
40174
40174
|
const e = {};
|
|
40175
40175
|
return Object.keys(r.webhooks ?? {}).forEach((n) => {
|
|
@@ -40249,8 +40249,8 @@ const A8 = (r) => new Promise(async (e, t) => {
|
|
|
40249
40249
|
...r,
|
|
40250
40250
|
webhooks: e
|
|
40251
40251
|
};
|
|
40252
|
-
}, Cn = (r) => new Promise((e) => setTimeout(e, r)),
|
|
40253
|
-
function
|
|
40252
|
+
}, Cn = (r) => new Promise((e) => setTimeout(e, r)), RW = Symbol("downloadSpec"), e$ = pp(RW);
|
|
40253
|
+
function ZW(r) {
|
|
40254
40254
|
const e = Ec(r), t = e ? new Blob([r], { type: "application/json" }) : new Blob([r], { type: "application/x-yaml" }), n = URL.createObjectURL(t), s = document.createElement("a");
|
|
40255
40255
|
s.href = n, s.download = e ? "spec.json" : "spec.yaml", s.dispatchEvent(
|
|
40256
40256
|
new MouseEvent("click", {
|
|
@@ -40262,19 +40262,19 @@ function Z8(r) {
|
|
|
40262
40262
|
window.URL.revokeObjectURL(n), s.remove();
|
|
40263
40263
|
}, 100);
|
|
40264
40264
|
}
|
|
40265
|
-
function
|
|
40265
|
+
function IW(r, e = 1) {
|
|
40266
40266
|
const t = new RegExp(`^(?=#{${e}} )`, "m");
|
|
40267
40267
|
return r.split(t).map((n) => n.trim()).filter(Boolean);
|
|
40268
40268
|
}
|
|
40269
40269
|
const t$ = {
|
|
40270
40270
|
toast: (r) => null
|
|
40271
40271
|
};
|
|
40272
|
-
function
|
|
40272
|
+
function jW(r) {
|
|
40273
40273
|
t$.toast = r;
|
|
40274
40274
|
}
|
|
40275
40275
|
function r$() {
|
|
40276
40276
|
return {
|
|
40277
|
-
initializeToasts:
|
|
40277
|
+
initializeToasts: jW,
|
|
40278
40278
|
toast: t$.toast
|
|
40279
40279
|
};
|
|
40280
40280
|
}
|
|
@@ -40288,7 +40288,7 @@ const To = () => {
|
|
|
40288
40288
|
}
|
|
40289
40289
|
};
|
|
40290
40290
|
}, Mn = le(!1);
|
|
40291
|
-
function
|
|
40291
|
+
function NW(r) {
|
|
40292
40292
|
var s;
|
|
40293
40293
|
const e = () => {
|
|
40294
40294
|
var o, a;
|
|
@@ -40314,7 +40314,7 @@ function N8(r) {
|
|
|
40314
40314
|
setDarkMode: n
|
|
40315
40315
|
};
|
|
40316
40316
|
}
|
|
40317
|
-
const
|
|
40317
|
+
const DW = ["unirest"], ip = le([...DW]), MW = vP().map((r) => (r.key === "node" && (r.default = "undici", r.clients.unshift({
|
|
40318
40318
|
description: "An HTTP/1.1 client, written from scratch for Node.js.",
|
|
40319
40319
|
key: "undici",
|
|
40320
40320
|
link: "https://github.com/nodejs/undici",
|
|
@@ -40324,48 +40324,48 @@ const D8 = ["unirest"], ip = le([...D8]), M8 = vP().map((r) => (r.key === "node"
|
|
|
40324
40324
|
), r)).filter((r) => r.clients.length);
|
|
40325
40325
|
function yl() {
|
|
40326
40326
|
return {
|
|
40327
|
-
availableTargets: ie(() =>
|
|
40327
|
+
availableTargets: ie(() => MW),
|
|
40328
40328
|
excludedClients: up(ip),
|
|
40329
40329
|
setExcludedClients: (e) => ip.value = e
|
|
40330
40330
|
};
|
|
40331
40331
|
}
|
|
40332
|
-
const bg = le(lo.hash ?? ""), md = le(),
|
|
40332
|
+
const bg = le(lo.hash ?? ""), md = le(), XW = le(!1), qW = (r) => r.slug ? `description/${r.slug}` : "", n$ = (r) => {
|
|
40333
40333
|
var t;
|
|
40334
40334
|
if (!md.value)
|
|
40335
40335
|
return "";
|
|
40336
40336
|
const e = new RegExp("^" + ((t = md.value) == null ? void 0 : t.basePath) + "/?");
|
|
40337
40337
|
return decodeURIComponent(r.replace(e, ""));
|
|
40338
|
-
},
|
|
40338
|
+
}, WW = (r, e) => {
|
|
40339
40339
|
if (!r)
|
|
40340
40340
|
return "webhooks";
|
|
40341
40341
|
const t = mp(r), n = encodeURIComponent(t);
|
|
40342
40342
|
return `webhook/${e}/${n}`;
|
|
40343
|
-
},
|
|
40343
|
+
}, VW = (r) => {
|
|
40344
40344
|
if (!r)
|
|
40345
40345
|
return "models";
|
|
40346
40346
|
const e = mp(r);
|
|
40347
40347
|
return `model/${encodeURIComponent(e)}`;
|
|
40348
|
-
},
|
|
40348
|
+
}, zW = (r, e) => `${s$(e)}/${r.httpVerb}${r.path}`, s$ = ({ name: r }) => {
|
|
40349
40349
|
const e = mp(r);
|
|
40350
40350
|
return `tag/${encodeURIComponent(e)}`;
|
|
40351
|
-
},
|
|
40351
|
+
}, UW = (r = bg.value) => {
|
|
40352
40352
|
var n;
|
|
40353
40353
|
const e = (n = r.match(/(tag\/[^/]+)/)) == null ? void 0 : n[0], t = r.startsWith("model") ? "models" : "";
|
|
40354
40354
|
return e ?? t;
|
|
40355
|
-
},
|
|
40355
|
+
}, YW = () => {
|
|
40356
40356
|
bg.value = md.value ? n$(window.location.pathname) : decodeURIComponent(window.location.hash.replace(/^#/, ""));
|
|
40357
40357
|
}, Zt = () => ({
|
|
40358
40358
|
hash: bg,
|
|
40359
|
-
getWebhookId:
|
|
40360
|
-
getModelId:
|
|
40361
|
-
getHeadingId:
|
|
40362
|
-
getOperationId:
|
|
40359
|
+
getWebhookId: WW,
|
|
40360
|
+
getModelId: VW,
|
|
40361
|
+
getHeadingId: qW,
|
|
40362
|
+
getOperationId: zW,
|
|
40363
40363
|
getPathRoutingId: n$,
|
|
40364
|
-
getSectionId:
|
|
40364
|
+
getSectionId: UW,
|
|
40365
40365
|
getTagId: s$,
|
|
40366
|
-
isIntersectionEnabled:
|
|
40366
|
+
isIntersectionEnabled: XW,
|
|
40367
40367
|
pathRouting: md,
|
|
40368
|
-
updateHash:
|
|
40368
|
+
updateHash: YW
|
|
40369
40369
|
});
|
|
40370
40370
|
function vg(r) {
|
|
40371
40371
|
return {
|
|
@@ -40410,7 +40410,7 @@ const ob = () => ({
|
|
|
40410
40410
|
},
|
|
40411
40411
|
servers: [],
|
|
40412
40412
|
tags: []
|
|
40413
|
-
}),
|
|
40413
|
+
}), LW = async ({ url: r, content: e }, t) => {
|
|
40414
40414
|
if (r)
|
|
40415
40415
|
return h3(r) ? await zg(r, t) : await zg(r);
|
|
40416
40416
|
const n = typeof e == "function" ? e() : e;
|
|
@@ -40419,13 +40419,13 @@ const ob = () => ({
|
|
|
40419
40419
|
if (typeof n == "object")
|
|
40420
40420
|
return JSON.stringify(n);
|
|
40421
40421
|
};
|
|
40422
|
-
function
|
|
40422
|
+
function BW({
|
|
40423
40423
|
specConfig: r,
|
|
40424
40424
|
proxy: e
|
|
40425
40425
|
}) {
|
|
40426
40426
|
const t = le(""), n = ln(ob()), s = le(null);
|
|
40427
40427
|
function i(o) {
|
|
40428
|
-
return o ?
|
|
40428
|
+
return o ? AW(o).then((a) => {
|
|
40429
40429
|
s.value = null, Object.assign(n, {
|
|
40430
40430
|
servers: [],
|
|
40431
40431
|
...a
|
|
@@ -40439,7 +40439,7 @@ function B8({
|
|
|
40439
40439
|
async (o) => {
|
|
40440
40440
|
var a;
|
|
40441
40441
|
if (o) {
|
|
40442
|
-
const l = (a = await
|
|
40442
|
+
const l = (a = await LW(o, Ot(e))) == null ? void 0 : a.trim();
|
|
40443
40443
|
typeof l == "string" && (t.value = l);
|
|
40444
40444
|
}
|
|
40445
40445
|
},
|
|
@@ -40466,23 +40466,23 @@ function wg(r) {
|
|
|
40466
40466
|
}) };
|
|
40467
40467
|
}
|
|
40468
40468
|
const {
|
|
40469
|
-
getHeadingId:
|
|
40469
|
+
getHeadingId: HW,
|
|
40470
40470
|
getModelId: ab,
|
|
40471
40471
|
getOperationId: lb,
|
|
40472
|
-
getSectionId:
|
|
40472
|
+
getSectionId: GW,
|
|
40473
40473
|
getTagId: i$,
|
|
40474
40474
|
getWebhookId: $h,
|
|
40475
40475
|
hash: op
|
|
40476
40476
|
} = Zt(), ut = le(void 0), o$ = le(!1), gd = ln(
|
|
40477
40477
|
lo["useSidebarContent-collapsedSidebarItems"] ?? {}
|
|
40478
40478
|
);
|
|
40479
|
-
function
|
|
40479
|
+
function FW(r) {
|
|
40480
40480
|
gd[r] = !gd[r];
|
|
40481
40481
|
}
|
|
40482
40482
|
function Ph(r, e) {
|
|
40483
40483
|
gd[r] = e;
|
|
40484
40484
|
}
|
|
40485
|
-
const a$ = le([]),
|
|
40485
|
+
const a$ = le([]), KW = async (r) => {
|
|
40486
40486
|
const e = await sd(r), t = nS(e);
|
|
40487
40487
|
return e.filter((n) => n.depth === t);
|
|
40488
40488
|
}, l$ = ie(() => {
|
|
@@ -40490,7 +40490,7 @@ const a$ = le([]), K8 = async (r) => {
|
|
|
40490
40490
|
const { state: r } = gp(), e = {}, {
|
|
40491
40491
|
openApi: { globalSecurity: t }
|
|
40492
40492
|
} = Td(), n = a$.value.map(($) => ({
|
|
40493
|
-
id:
|
|
40493
|
+
id: HW($),
|
|
40494
40494
|
title: $.value.toUpperCase(),
|
|
40495
40495
|
show: !r.showApiClient
|
|
40496
40496
|
})), s = (u = (d = ut.value) == null ? void 0 : d.tags) == null ? void 0 : u[0], o = s && (($) => ($ == null ? void 0 : $.length) !== 1 || $[0].name !== "default" || $[0].description !== "")((h = ut.value) == null ? void 0 : h.tags) && ((f = s.operations) == null ? void 0 : f.length) > 0 ? (m = (p = ut.value) == null ? void 0 : p.tags) == null ? void 0 : m.map(($) => {
|
|
@@ -40593,7 +40593,7 @@ const a$ = le([]), K8 = async (r) => {
|
|
|
40593
40593
|
],
|
|
40594
40594
|
titles: e
|
|
40595
40595
|
};
|
|
40596
|
-
}),
|
|
40596
|
+
}), JW = le(!1), e9 = ie(() => {
|
|
40597
40597
|
var r, e;
|
|
40598
40598
|
return ((e = (r = l$.value) == null ? void 0 : r.titles) == null ? void 0 : e[op.value]) ?? "";
|
|
40599
40599
|
});
|
|
@@ -40606,7 +40606,7 @@ function Dr(r) {
|
|
|
40606
40606
|
() => {
|
|
40607
40607
|
var e, t;
|
|
40608
40608
|
if (op.value) {
|
|
40609
|
-
const n =
|
|
40609
|
+
const n = GW(op.value);
|
|
40610
40610
|
n && Ph(n, !0);
|
|
40611
40611
|
} else {
|
|
40612
40612
|
const n = (t = (e = ut.value) == null ? void 0 : e.tags) == null ? void 0 : t[0];
|
|
@@ -40621,14 +40621,14 @@ function Dr(r) {
|
|
|
40621
40621
|
async () => {
|
|
40622
40622
|
var t, n;
|
|
40623
40623
|
const e = (n = (t = ut.value) == null ? void 0 : t.info) == null ? void 0 : n.description;
|
|
40624
|
-
return e ? a$.value = await
|
|
40624
|
+
return e ? a$.value = await KW(e) : [];
|
|
40625
40625
|
}
|
|
40626
40626
|
)), {
|
|
40627
40627
|
breadcrumb: e9,
|
|
40628
40628
|
items: l$,
|
|
40629
|
-
isSidebarOpen:
|
|
40629
|
+
isSidebarOpen: JW,
|
|
40630
40630
|
collapsedSidebarItems: gd,
|
|
40631
|
-
toggleCollapsedSidebarItem:
|
|
40631
|
+
toggleCollapsedSidebarItem: FW,
|
|
40632
40632
|
setCollapsedSidebarItem: Ph,
|
|
40633
40633
|
hideModels: o$
|
|
40634
40634
|
};
|
|
@@ -41746,7 +41746,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
|
|
|
41746
41746
|
return [];
|
|
41747
41747
|
const d = await sd(e.value), u = nS(d);
|
|
41748
41748
|
return await Promise.all(
|
|
41749
|
-
|
|
41749
|
+
IW(e.value, u).map(
|
|
41750
41750
|
async (h) => ({
|
|
41751
41751
|
heading: (await sd(h))[0],
|
|
41752
41752
|
content: h
|
|
@@ -45599,7 +45599,7 @@ const SU = /* @__PURE__ */ H({
|
|
|
45599
45599
|
}
|
|
45600
45600
|
}
|
|
45601
45601
|
}
|
|
45602
|
-
`, QY = (r) => ($t("data-v-
|
|
45602
|
+
`, QY = (r) => ($t("data-v-68dc4042"), r = r(), Pt(), r), TY = { class: "start custom-scroll" }, CY = { class: "start-copy" }, AY = /* @__PURE__ */ us('<div class="start-logo" data-v-68dc4042><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-68dc4042><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-68dc4042></path></svg></div><h1 class="start-h1" data-v-68dc4042>Swagger Editor</h1><p class="start-p" data-v-68dc4042> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), EY = { class: "start-cta" }, RY = { class: "start-row" }, ZY = /* @__PURE__ */ us('<div class="start-section start-section-integrations" data-v-68dc4042><div class="start-h2" data-v-68dc4042>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-68dc4042><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-68dc4042><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-68dc4042></path></svg><span data-v-68dc4042>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-68dc4042><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-68dc4042><g data-v-68dc4042><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-68dc4042></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-68dc4042></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-68dc4042></path></g></svg><span data-v-68dc4042>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-68dc4042><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-68dc4042><g fill="currentColor" fill-rule="nonzero" data-v-68dc4042><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-68dc4042></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-68dc4042></polygon></g></svg><span data-v-68dc4042>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-68dc4042><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-68dc4042><g fill="none" fill-rule="evenodd" data-v-68dc4042><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-68dc4042></circle><g stroke="currentColor" data-v-68dc4042><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-68dc4042></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-68dc4042></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-68dc4042></ellipse></g></g></svg><span data-v-68dc4042>React</span></a></div>', 1), IY = { class: "start-section start-section-colors" }, jY = /* @__PURE__ */ QY(() => /* @__PURE__ */ R("p", { class: "start-h2" }, "THEMING", -1)), NY = ["onClick"], DY = /* @__PURE__ */ us('<p class="start-h1" data-v-68dc4042>Features</p><ul class="start-ul" data-v-68dc4042><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>OpenAPI & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-68dc4042><p class="start-h3" data-v-68dc4042>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), MY = /* @__PURE__ */ H({
|
|
45603
45603
|
__name: "GettingStarted",
|
|
45604
45604
|
props: {
|
|
45605
45605
|
theme: {}
|
|
@@ -45672,7 +45672,7 @@ const SU = /* @__PURE__ */ H({
|
|
|
45672
45672
|
DY
|
|
45673
45673
|
]));
|
|
45674
45674
|
}
|
|
45675
|
-
}), XY = /* @__PURE__ */ ee(MY, [["__scopeId", "data-v-
|
|
45675
|
+
}), XY = /* @__PURE__ */ ee(MY, [["__scopeId", "data-v-68dc4042"]]), qY = { class: "references-header" }, WY = {
|
|
45676
45676
|
key: 0,
|
|
45677
45677
|
class: "references-navigation t-doc__sidebar"
|
|
45678
45678
|
}, VY = { class: "references-navigation-list" }, zY = { class: "references-editor" }, UY = { class: "references-editor-textarea" }, YY = { class: "references-rendered" }, LY = {
|
|
@@ -45717,7 +45717,7 @@ const SU = /* @__PURE__ */ H({
|
|
|
45717
45717
|
m.value = !1, O(), v ? id(v) : ($ = i.value) == null || $.scrollTo(0, 0), await Cn(100), m.value = !0;
|
|
45718
45718
|
};
|
|
45719
45719
|
ds(() => {
|
|
45720
|
-
e$.on(() =>
|
|
45720
|
+
e$.on(() => ZW(e.rawSpec)), window.onhashchange = () => y(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => g.value && y(u(window.location.pathname));
|
|
45721
45721
|
});
|
|
45722
45722
|
const b = ie(
|
|
45723
45723
|
() => n.value || !e.configuration.isEditable
|
|
@@ -45879,30 +45879,30 @@ function KY(r, e) {
|
|
|
45879
45879
|
])
|
|
45880
45880
|
]);
|
|
45881
45881
|
}
|
|
45882
|
-
const JY = /* @__PURE__ */ ee(HY, [["render", KY], ["__scopeId", "data-v-a860f78f"]]),
|
|
45882
|
+
const JY = /* @__PURE__ */ ee(HY, [["render", KY], ["__scopeId", "data-v-a860f78f"]]), e6 = (r) => ($t("data-v-559a0a79"), r = r(), Pt(), r), t6 = { class: "darklight-reference" }, r6 = { key: 0 }, n6 = { key: 1 }, s6 = /* @__PURE__ */ e6(() => /* @__PURE__ */ R("a", {
|
|
45883
45883
|
class: "darklight-reference-promo",
|
|
45884
45884
|
href: "https://www.scalar.com",
|
|
45885
45885
|
target: "_blank"
|
|
45886
|
-
}, " Powered by scalar.com ", -1)),
|
|
45886
|
+
}, " Powered by scalar.com ", -1)), i6 = /* @__PURE__ */ H({
|
|
45887
45887
|
__name: "DarkModeToggle",
|
|
45888
45888
|
props: {
|
|
45889
45889
|
isDarkMode: { type: Boolean }
|
|
45890
45890
|
},
|
|
45891
45891
|
emits: ["toggleDarkMode"],
|
|
45892
45892
|
setup(r) {
|
|
45893
|
-
return (e, t) => (k(), Q("div",
|
|
45893
|
+
return (e, t) => (k(), Q("div", t6, [
|
|
45894
45894
|
R("button", {
|
|
45895
45895
|
class: "darklight",
|
|
45896
45896
|
type: "button",
|
|
45897
45897
|
onClick: t[0] || (t[0] = (n) => e.$emit("toggleDarkMode"))
|
|
45898
45898
|
}, [
|
|
45899
45899
|
I(S(ot), { icon: "LightDarkModeToggle" }),
|
|
45900
|
-
e.isDarkMode ? (k(), Q("span",
|
|
45900
|
+
e.isDarkMode ? (k(), Q("span", r6, "Light Mode")) : (k(), Q("span", n6, "Dark Mode"))
|
|
45901
45901
|
]),
|
|
45902
|
-
|
|
45902
|
+
s6
|
|
45903
45903
|
]));
|
|
45904
45904
|
}
|
|
45905
|
-
}),
|
|
45905
|
+
}), o6 = /* @__PURE__ */ ee(i6, [["__scopeId", "data-v-559a0a79"]]), a6 = /* @__PURE__ */ H({
|
|
45906
45906
|
__name: "DarkModeIconToggle",
|
|
45907
45907
|
props: {
|
|
45908
45908
|
isDarkMode: { type: Boolean }
|
|
@@ -45925,19 +45925,19 @@ const JY = /* @__PURE__ */ ee(HY, [["render", KY], ["__scopeId", "data-v-a860f78
|
|
|
45925
45925
|
})
|
|
45926
45926
|
]));
|
|
45927
45927
|
}
|
|
45928
|
-
}),
|
|
45929
|
-
function
|
|
45928
|
+
}), l6 = /* @__PURE__ */ ee(a6, [["__scopeId", "data-v-8f61ca56"]]);
|
|
45929
|
+
function c6(r, e) {
|
|
45930
45930
|
let t = r;
|
|
45931
45931
|
const n = e.required && e.required.includes(r);
|
|
45932
45932
|
return t += n ? " REQUIRED " : " optional ", e.properties[r] && (t += e.properties[r].type, e.properties[r].description && (t += " " + e.properties[r].description)), t;
|
|
45933
45933
|
}
|
|
45934
|
-
function
|
|
45934
|
+
function d6(r) {
|
|
45935
45935
|
var n;
|
|
45936
45936
|
const e = ["Body"], t = (n = r == null ? void 0 : r.schema) == null ? void 0 : n.properties;
|
|
45937
45937
|
return t && Object.keys(t).forEach((s) => {
|
|
45938
45938
|
if (!r.schema)
|
|
45939
45939
|
return;
|
|
45940
|
-
e.push(
|
|
45940
|
+
e.push(c6(s, r.schema));
|
|
45941
45941
|
const i = t[s];
|
|
45942
45942
|
i.type === "object" && !!i.properties && i.properties && Object.keys(i.properties).forEach((a) => {
|
|
45943
45943
|
var l, c;
|
|
@@ -45945,33 +45945,33 @@ function dL(r) {
|
|
|
45945
45945
|
});
|
|
45946
45946
|
}), e;
|
|
45947
45947
|
}
|
|
45948
|
-
function
|
|
45948
|
+
function u6(r) {
|
|
45949
45949
|
var e, t, n;
|
|
45950
45950
|
try {
|
|
45951
45951
|
const s = (n = (t = (e = r == null ? void 0 : r.information) == null ? void 0 : e.requestBody) == null ? void 0 : t.content) == null ? void 0 : n["application/json"];
|
|
45952
45952
|
if (!s)
|
|
45953
45953
|
throw new Error("Body not found");
|
|
45954
|
-
return
|
|
45954
|
+
return d6(s);
|
|
45955
45955
|
} catch {
|
|
45956
45956
|
return !1;
|
|
45957
45957
|
}
|
|
45958
45958
|
}
|
|
45959
|
-
const
|
|
45959
|
+
const h6 = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), f6 = {
|
|
45960
45960
|
key: 0,
|
|
45961
45961
|
class: "ref-search-list custom-scroll"
|
|
45962
|
-
},
|
|
45962
|
+
}, p6 = ["id", "href", "onClick", "onFocus"], m6 = {
|
|
45963
45963
|
key: 0,
|
|
45964
45964
|
class: "item-entry-title"
|
|
45965
|
-
},
|
|
45965
|
+
}, g6 = {
|
|
45966
45966
|
key: 1,
|
|
45967
45967
|
class: "item-entry-path"
|
|
45968
|
-
},
|
|
45968
|
+
}, O6 = {
|
|
45969
45969
|
key: 2,
|
|
45970
45970
|
class: "item-entry-description"
|
|
45971
|
-
},
|
|
45971
|
+
}, y6 = /* @__PURE__ */ h6(() => /* @__PURE__ */ R("div", { class: "ref-search-meta" }, [
|
|
45972
45972
|
/* @__PURE__ */ R("span", null, "↑↓ Navigate"),
|
|
45973
45973
|
/* @__PURE__ */ R("span", null, "⏎ Select")
|
|
45974
|
-
], -1)),
|
|
45974
|
+
], -1)), b6 = /* @__PURE__ */ H({
|
|
45975
45975
|
__name: "SearchModal",
|
|
45976
45976
|
props: {
|
|
45977
45977
|
parsedSpec: {},
|
|
@@ -46022,7 +46022,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46022
46022
|
body: ""
|
|
46023
46023
|
};
|
|
46024
46024
|
s.value.push(F), Oe.operations && Oe.operations.forEach((D) => {
|
|
46025
|
-
const { parameterMap: V } = vg({ operation: D }), q =
|
|
46025
|
+
const { parameterMap: V } = vg({ operation: D }), q = u6(D) || V.value;
|
|
46026
46026
|
let _ = null;
|
|
46027
46027
|
typeof q != "boolean" && (_ = q);
|
|
46028
46028
|
const j = {
|
|
@@ -46121,7 +46121,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46121
46121
|
[ca, a.value]
|
|
46122
46122
|
])
|
|
46123
46123
|
], 512),
|
|
46124
|
-
b.value.length ? (k(), Q("div",
|
|
46124
|
+
b.value.length ? (k(), Q("div", f6, [
|
|
46125
46125
|
(k(!0), Q(K, null, be(b.value, (C, X) => (k(), Q("a", {
|
|
46126
46126
|
id: C.item.href,
|
|
46127
46127
|
key: C.refIndex,
|
|
@@ -46139,16 +46139,16 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46139
46139
|
method: C.item.httpVerb ?? "get",
|
|
46140
46140
|
short: ""
|
|
46141
46141
|
}, null, 8, ["method"]),
|
|
46142
|
-
C.item.title ? (k(), Q("div",
|
|
46143
|
-
(C.item.httpVerb || C.item.path) && C.item.path !== C.item.title ? (k(), Q("div",
|
|
46144
|
-
], 42,
|
|
46142
|
+
C.item.title ? (k(), Q("div", m6, J(C.item.title), 1)) : L("", !0),
|
|
46143
|
+
(C.item.httpVerb || C.item.path) && C.item.path !== C.item.title ? (k(), Q("div", g6, J(C.item.path), 1)) : C.item.description ? (k(), Q("div", O6, J(C.item.description), 1)) : L("", !0)
|
|
46144
|
+
], 42, p6))), 128))
|
|
46145
46145
|
])) : L("", !0),
|
|
46146
|
-
|
|
46146
|
+
y6
|
|
46147
46147
|
]),
|
|
46148
46148
|
_: 1
|
|
46149
46149
|
}, 8, ["state"]));
|
|
46150
46150
|
}
|
|
46151
|
-
}),
|
|
46151
|
+
}), v6 = /* @__PURE__ */ ee(b6, [["__scopeId", "data-v-56e62a70"]]), w6 = (r) => ($t("data-v-db4f450f"), r = r(), Pt(), r), S6 = { class: "sidebar-search-input" }, k6 = /* @__PURE__ */ w6(() => /* @__PURE__ */ R("span", { class: "sidebar-search-placeholder" }, "Search", -1)), $6 = { class: "sidebar-search-shortcut" }, P6 = { class: "sidebar-search-key" }, _6 = /* @__PURE__ */ H({
|
|
46152
46152
|
__name: "SearchButton",
|
|
46153
46153
|
props: {
|
|
46154
46154
|
spec: {},
|
|
@@ -46176,20 +46176,20 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46176
46176
|
icon: "Search",
|
|
46177
46177
|
size: "sm"
|
|
46178
46178
|
}),
|
|
46179
|
-
R("div",
|
|
46180
|
-
|
|
46181
|
-
R("span", $
|
|
46182
|
-
R("span",
|
|
46179
|
+
R("div", S6, [
|
|
46180
|
+
k6,
|
|
46181
|
+
R("span", $6, [
|
|
46182
|
+
R("span", P6, J(S(bc)() ? "⌘" : "⌃") + J(s.searchHotKey), 1)
|
|
46183
46183
|
])
|
|
46184
46184
|
])
|
|
46185
46185
|
], 2),
|
|
46186
|
-
I(
|
|
46186
|
+
I(v6, {
|
|
46187
46187
|
modalState: S(t),
|
|
46188
46188
|
parsedSpec: s.spec
|
|
46189
46189
|
}, null, 8, ["modalState", "parsedSpec"])
|
|
46190
46190
|
], 64));
|
|
46191
46191
|
}
|
|
46192
|
-
}), P$ = /* @__PURE__ */ ee(
|
|
46192
|
+
}), P$ = /* @__PURE__ */ ee(_6, [["__scopeId", "data-v-db4f450f"]]), x6 = /* @__PURE__ */ H({
|
|
46193
46193
|
__name: "ClassicLayout",
|
|
46194
46194
|
props: {
|
|
46195
46195
|
configuration: {},
|
|
@@ -46208,7 +46208,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46208
46208
|
"content-start": T(({ spec: i }) => [
|
|
46209
46209
|
I(JY, null, {
|
|
46210
46210
|
"dark-mode-toggle": T(() => [
|
|
46211
|
-
I(S(
|
|
46211
|
+
I(S(l6), {
|
|
46212
46212
|
isDarkMode: n.isDark,
|
|
46213
46213
|
onToggleDarkMode: s[0] || (s[0] = (o) => n.$emit("toggleDarkMode"))
|
|
46214
46214
|
}, null, 8, ["isDarkMode"])
|
|
@@ -46229,7 +46229,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46229
46229
|
_: 3
|
|
46230
46230
|
}, 8, ["configuration", "parsedSpec", "rawSpec"]));
|
|
46231
46231
|
}
|
|
46232
|
-
}),
|
|
46232
|
+
}), Q6 = { class: "references-mobile-header t-doc__header" }, T6 = { class: "references-mobile-breadcrumbs" }, C6 = { class: "references-mobile-header-actions" }, A6 = /* @__PURE__ */ H({
|
|
46233
46233
|
__name: "MobileHeader",
|
|
46234
46234
|
props: {
|
|
46235
46235
|
open: { type: Boolean }
|
|
@@ -46237,20 +46237,20 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46237
46237
|
emits: ["update:open"],
|
|
46238
46238
|
setup(r) {
|
|
46239
46239
|
const { breadcrumb: e } = Dr();
|
|
46240
|
-
return (t, n) => (k(), Q("div",
|
|
46240
|
+
return (t, n) => (k(), Q("div", Q6, [
|
|
46241
46241
|
I(S(am), {
|
|
46242
46242
|
icon: t.open ? "Close" : "Menu",
|
|
46243
46243
|
label: t.open ? "Close Menu" : "Open Menu",
|
|
46244
46244
|
size: "md",
|
|
46245
46245
|
onClick: n[0] || (n[0] = (s) => t.$emit("update:open", !t.open))
|
|
46246
46246
|
}, null, 8, ["icon", "label"]),
|
|
46247
|
-
R("span",
|
|
46248
|
-
R("div",
|
|
46247
|
+
R("span", T6, J(S(e)), 1),
|
|
46248
|
+
R("div", C6, [
|
|
46249
46249
|
te(t.$slots, "actions", {}, void 0, !0)
|
|
46250
46250
|
])
|
|
46251
46251
|
]));
|
|
46252
46252
|
}
|
|
46253
|
-
}),
|
|
46253
|
+
}), E6 = /* @__PURE__ */ ee(A6, [["__scopeId", "data-v-0242e3de"]]), R6 = { class: "scalar-api-references-standalone-search" }, Z6 = /* @__PURE__ */ H({
|
|
46254
46254
|
__name: "ModernLayout",
|
|
46255
46255
|
props: {
|
|
46256
46256
|
configuration: {},
|
|
@@ -46276,7 +46276,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46276
46276
|
rawSpec: i.rawSpec
|
|
46277
46277
|
}, {
|
|
46278
46278
|
header: T(() => [
|
|
46279
|
-
e.configuration.showSidebar ? (k(), W(
|
|
46279
|
+
e.configuration.showSidebar ? (k(), W(E6, {
|
|
46280
46280
|
key: 0,
|
|
46281
46281
|
open: S(n),
|
|
46282
46282
|
"onUpdate:open": o[0] || (o[0] = (a) => K$(n) ? n.value = a : null)
|
|
@@ -46285,7 +46285,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46285
46285
|
"sidebar-start": T(({ spec: a }) => {
|
|
46286
46286
|
var l;
|
|
46287
46287
|
return [
|
|
46288
|
-
R("div",
|
|
46288
|
+
R("div", R6, [
|
|
46289
46289
|
I(P$, {
|
|
46290
46290
|
searchHotKey: (l = e.configuration) == null ? void 0 : l.searchHotKey,
|
|
46291
46291
|
spec: a
|
|
@@ -46294,7 +46294,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46294
46294
|
];
|
|
46295
46295
|
}),
|
|
46296
46296
|
"sidebar-end": T(() => [
|
|
46297
|
-
I(S(
|
|
46297
|
+
I(S(o6), {
|
|
46298
46298
|
isDarkMode: i.isDark,
|
|
46299
46299
|
onToggleDarkMode: o[1] || (o[1] = (a) => i.$emit("toggleDarkMode"))
|
|
46300
46300
|
}, null, 8, ["isDarkMode"])
|
|
@@ -46305,10 +46305,10 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46305
46305
|
_: 3
|
|
46306
46306
|
}, 8, ["class", "configuration", "parsedSpec", "rawSpec"]));
|
|
46307
46307
|
}
|
|
46308
|
-
}),
|
|
46309
|
-
modern:
|
|
46310
|
-
classic:
|
|
46311
|
-
},
|
|
46308
|
+
}), I6 = /* @__PURE__ */ ee(Z6, [["__scopeId", "data-v-6e485d44"]]), j6 = {
|
|
46309
|
+
modern: I6,
|
|
46310
|
+
classic: x6
|
|
46311
|
+
}, pL = /* @__PURE__ */ H({
|
|
46312
46312
|
__name: "ApiReference",
|
|
46313
46313
|
props: {
|
|
46314
46314
|
configuration: {}
|
|
@@ -46316,7 +46316,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46316
46316
|
emits: ["updateContent"],
|
|
46317
46317
|
setup(r) {
|
|
46318
46318
|
var u, h;
|
|
46319
|
-
const e = r, { toggleDarkMode: t, isDark: n } =
|
|
46319
|
+
const e = r, { toggleDarkMode: t, isDark: n } = NW(
|
|
46320
46320
|
(u = e.configuration) == null ? void 0 : u.darkMode
|
|
46321
46321
|
), s = ie(() => {
|
|
46322
46322
|
var f, p;
|
|
@@ -46357,7 +46357,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46357
46357
|
o("authentication", a);
|
|
46358
46358
|
const { setExcludedClients: l } = yl();
|
|
46359
46359
|
o("hiddenClients", l);
|
|
46360
|
-
const { parsedSpec: c, rawSpec: d } =
|
|
46360
|
+
const { parsedSpec: c, rawSpec: d } = BW({
|
|
46361
46361
|
proxy: Lr(() => {
|
|
46362
46362
|
var f;
|
|
46363
46363
|
return ((f = e.configuration) == null ? void 0 : f.proxy) || "";
|
|
@@ -46376,7 +46376,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46376
46376
|
]),
|
|
46377
46377
|
_: 1
|
|
46378
46378
|
})) : L("", !0),
|
|
46379
|
-
(k(), W(Sn(S(
|
|
46379
|
+
(k(), W(Sn(S(j6)[((g = i.value) == null ? void 0 : g.layout) || "modern"]), {
|
|
46380
46380
|
configuration: i.value,
|
|
46381
46381
|
isDark: S(n),
|
|
46382
46382
|
parsedSpec: S(c),
|
|
@@ -46395,7 +46395,7 @@ const hL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), fL = {
|
|
|
46395
46395
|
});
|
|
46396
46396
|
export {
|
|
46397
46397
|
b9 as ApiClientModal,
|
|
46398
|
-
|
|
46398
|
+
pL as ApiReference,
|
|
46399
46399
|
$$ as ApiReferenceLayout,
|
|
46400
46400
|
ni as Card,
|
|
46401
46401
|
on as CardContent,
|
|
@@ -46403,40 +46403,40 @@ export {
|
|
|
46403
46403
|
si as CardHeader,
|
|
46404
46404
|
j9 as CardTab,
|
|
46405
46405
|
Z9 as CardTabHeader,
|
|
46406
|
-
|
|
46407
|
-
|
|
46406
|
+
l6 as DarkModeIconToggle,
|
|
46407
|
+
o6 as DarkModeToggle,
|
|
46408
46408
|
dm as GLOBAL_SECURITY_SYMBOL,
|
|
46409
46409
|
XY as GettingStarted,
|
|
46410
46410
|
oS as HIDE_DOWNLOAD_BUTTON_SYMBOL,
|
|
46411
|
-
|
|
46411
|
+
I6 as ModernLayout,
|
|
46412
46412
|
PY as RenderedReference,
|
|
46413
46413
|
P$ as SearchButton,
|
|
46414
|
-
|
|
46414
|
+
v6 as SearchModal,
|
|
46415
46415
|
ap as Sidebar,
|
|
46416
46416
|
p3 as createEmptyServerState,
|
|
46417
46417
|
a3 as deepMerge,
|
|
46418
46418
|
e$ as downloadSpecBus,
|
|
46419
|
-
|
|
46419
|
+
ZW as downloadSpecFile,
|
|
46420
46420
|
rS as getApiClientRequest,
|
|
46421
46421
|
sd as getHeadingsFromMarkdown,
|
|
46422
46422
|
nS as getLowestHeadingLevel,
|
|
46423
46423
|
If as getUrlFromServerState,
|
|
46424
|
-
|
|
46424
|
+
uL as getVariableNames,
|
|
46425
46425
|
iS as hasModels,
|
|
46426
46426
|
d3 as hasSecuritySchemes,
|
|
46427
46427
|
u3 as hasWebhooks,
|
|
46428
46428
|
h3 as isValidUrl,
|
|
46429
|
-
|
|
46430
|
-
|
|
46429
|
+
hL as mapFromObject,
|
|
46430
|
+
fL as mergeAllObjects,
|
|
46431
46431
|
f3 as objectMerge,
|
|
46432
46432
|
Nf as openClientFor,
|
|
46433
|
-
|
|
46433
|
+
AW as parse,
|
|
46434
46434
|
sS as replaceVariables,
|
|
46435
46435
|
id as scrollToId,
|
|
46436
46436
|
Cn as sleep,
|
|
46437
|
-
|
|
46437
|
+
IW as splitMarkdownInSections,
|
|
46438
46438
|
gp as useApiClientStore,
|
|
46439
46439
|
Sg as useHttpClientStore,
|
|
46440
|
-
|
|
46440
|
+
BW as useReactiveSpec,
|
|
46441
46441
|
il as useServerStore
|
|
46442
46442
|
};
|