diff --git a/docs/VNext/BlazorStrap.WASM.styles.css b/docs/VNext/BlazorStrap.WASM.styles.css index cff7148a..e82bf7a7 100755 --- a/docs/VNext/BlazorStrap.WASM.styles.css +++ b/docs/VNext/BlazorStrap.WASM.styles.css @@ -1,4 +1,4 @@ -@import 'docs/BlazorStrap-Docs.bundle.scp.css'; +@import 'docs/BlazorStrap.Docs.bundle.scp.css'; @import '_content/BlazorStrap.V4/BlazorStrap.V4.bundle.scp.css'; @import '_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css'; @import '_content/BlazorStrap/BlazorStrap.bundle.scp.css'; diff --git a/docs/VNext/_content/BlazorStrap.V4/BlazorStrap.V4.bundle.scp.css b/docs/VNext/_content/BlazorStrap.V4/BlazorStrap.V4.bundle.scp.css index 3c734fcf..bed216cf 100755 --- a/docs/VNext/_content/BlazorStrap.V4/BlazorStrap.V4.bundle.scp.css +++ b/docs/VNext/_content/BlazorStrap.V4/BlazorStrap.V4.bundle.scp.css @@ -59,6 +59,137 @@ .tooltip:not(.show)[b-llcjnn5xox] { visibility: hidden; } +/* _content/BlazorStrap.V4/Components/DataGrid/BSDataGridCore.razor.rz.scp.css */ +.grid-header-button[b-60rmeqwzrc] { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +[b-60rmeqwzrc] .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by[b-60rmeqwzrc] { + padding-right: 18px; + position: relative; +} + +button.sort-by[b-60rmeqwzrc]:before, +button.sort-by[b-60rmeqwzrc]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by[b-60rmeqwzrc]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by[b-60rmeqwzrc]:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort[b-60rmeqwzrc] { + padding-right: 18px; + position: relative; +} + +button.sort[b-60rmeqwzrc]:before, +button.sort[b-60rmeqwzrc]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort[b-60rmeqwzrc]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc[b-60rmeqwzrc] { + padding-right: 18px; + position: relative; +} + +button.sort-desc[b-60rmeqwzrc]:before, +button.sort-desc[b-60rmeqwzrc]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc[b-60rmeqwzrc]:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter[b-60rmeqwzrc] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty[b-60rmeqwzrc] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu[b-60rmeqwzrc] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + /* _content/BlazorStrap.V4/Components/Datatable/BSDataTableHead.razor.rz.scp.css */ /*Credit https://codepen.io/imarkrige/pen/kyOjoL */ th a[b-rit8y8ad7h], diff --git a/docs/VNext/_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css b/docs/VNext/_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css index 127eda15..7c45c822 100755 --- a/docs/VNext/_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css +++ b/docs/VNext/_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css @@ -16,6 +16,137 @@ .tooltip:not(.show)[b-t15xljjw7v] { visibility: hidden; } +/* _content/BlazorStrap.V5/Components/DataGrid/BSDataGridCore.razor.rz.scp.css */ +.grid-header-button[b-9i00a6f8qh] { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +[b-9i00a6f8qh] .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by[b-9i00a6f8qh] { + padding-right: 18px; + position: relative; +} + +button.sort-by[b-9i00a6f8qh]:before, +button.sort-by[b-9i00a6f8qh]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by[b-9i00a6f8qh]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by[b-9i00a6f8qh]:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort[b-9i00a6f8qh] { + padding-right: 18px; + position: relative; +} + +button.sort[b-9i00a6f8qh]:before, +button.sort[b-9i00a6f8qh]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort[b-9i00a6f8qh]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc[b-9i00a6f8qh] { + padding-right: 18px; + position: relative; +} + +button.sort-desc[b-9i00a6f8qh]:before, +button.sort-desc[b-9i00a6f8qh]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc[b-9i00a6f8qh]:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter[b-9i00a6f8qh] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty[b-9i00a6f8qh] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu[b-9i00a6f8qh] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + /* _content/BlazorStrap.V5/Components/Datatable/BSDataTableHead.razor.rz.scp.css */ /*Credit https://codepen.io/imarkrige/pen/kyOjoL */ th a[b-cue1wbex1l], diff --git a/docs/VNext/_framework/BlazorComponentUtilities.wasm b/docs/VNext/_framework/BlazorComponentUtilities.wasm new file mode 100644 index 00000000..e4836401 Binary files /dev/null and b/docs/VNext/_framework/BlazorComponentUtilities.wasm differ diff --git a/docs/VNext/_framework/BlazorComponentUtilities.wasm.br b/docs/VNext/_framework/BlazorComponentUtilities.wasm.br new file mode 100644 index 00000000..133c8755 Binary files /dev/null and b/docs/VNext/_framework/BlazorComponentUtilities.wasm.br differ diff --git a/docs/VNext/_framework/BlazorComponentUtilities.wasm.gz b/docs/VNext/_framework/BlazorComponentUtilities.wasm.gz new file mode 100644 index 00000000..c22a6f8f Binary files /dev/null and b/docs/VNext/_framework/BlazorComponentUtilities.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Docs.pdb.gz b/docs/VNext/_framework/BlazorStrap.Docs.pdb.gz new file mode 100644 index 00000000..fbdb9ec3 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Docs.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Docs.wasm b/docs/VNext/_framework/BlazorStrap.Docs.wasm new file mode 100644 index 00000000..b48fd9a9 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Docs.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.Docs.wasm.br b/docs/VNext/_framework/BlazorStrap.Docs.wasm.br new file mode 100644 index 00000000..2242390d Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Docs.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.Docs.wasm.gz b/docs/VNext/_framework/BlazorStrap.Docs.wasm.gz new file mode 100644 index 00000000..db63b61d Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Docs.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.pdb.gz b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.pdb.gz index a0f053a8..dffeb8e6 100755 Binary files a/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.pdb.gz and b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm new file mode 100644 index 00000000..957e40b5 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.br b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.br new file mode 100644 index 00000000..3529d886 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.gz b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.gz new file mode 100644 index 00000000..5552fe28 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.FluentValidation.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.pdb.gz b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.pdb.gz index 4188e3d4..e974ea81 100755 Binary files a/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.pdb.gz and b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm new file mode 100644 index 00000000..5d7e2a44 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.br b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.br new file mode 100644 index 00000000..396700ac Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.gz b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.gz new file mode 100644 index 00000000..ebd1344f Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.TreeView.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.pdb.gz b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.pdb.gz index 1af9b7cd..c9cab3d4 100644 Binary files a/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.pdb.gz and b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm new file mode 100644 index 00000000..a0a80865 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.br b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.br new file mode 100644 index 00000000..ad440eb5 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.gz b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.gz new file mode 100644 index 00000000..88201999 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.Extensions.Wizard.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.V4.pdb.gz b/docs/VNext/_framework/BlazorStrap.V4.pdb.gz index 4cb88ec4..662f0f2a 100755 Binary files a/docs/VNext/_framework/BlazorStrap.V4.pdb.gz and b/docs/VNext/_framework/BlazorStrap.V4.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.V4.wasm b/docs/VNext/_framework/BlazorStrap.V4.wasm new file mode 100644 index 00000000..bb05740a Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V4.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.V4.wasm.br b/docs/VNext/_framework/BlazorStrap.V4.wasm.br new file mode 100644 index 00000000..f1212772 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V4.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.V4.wasm.gz b/docs/VNext/_framework/BlazorStrap.V4.wasm.gz new file mode 100644 index 00000000..3ec2d2a2 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V4.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.V5.pdb.gz b/docs/VNext/_framework/BlazorStrap.V5.pdb.gz index cdb72b8c..38cab717 100755 Binary files a/docs/VNext/_framework/BlazorStrap.V5.pdb.gz and b/docs/VNext/_framework/BlazorStrap.V5.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.V5.wasm b/docs/VNext/_framework/BlazorStrap.V5.wasm new file mode 100644 index 00000000..1410a005 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V5.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.V5.wasm.br b/docs/VNext/_framework/BlazorStrap.V5.wasm.br new file mode 100644 index 00000000..ea6970ce Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V5.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.V5.wasm.gz b/docs/VNext/_framework/BlazorStrap.V5.wasm.gz new file mode 100644 index 00000000..fba591a4 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.V5.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.WASM.pdb.gz b/docs/VNext/_framework/BlazorStrap.WASM.pdb.gz index 65e22f4d..92265331 100755 Binary files a/docs/VNext/_framework/BlazorStrap.WASM.pdb.gz and b/docs/VNext/_framework/BlazorStrap.WASM.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.WASM.wasm b/docs/VNext/_framework/BlazorStrap.WASM.wasm new file mode 100644 index 00000000..2a41e0ef Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.WASM.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.WASM.wasm.br b/docs/VNext/_framework/BlazorStrap.WASM.wasm.br new file mode 100644 index 00000000..6868f0d0 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.WASM.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.WASM.wasm.gz b/docs/VNext/_framework/BlazorStrap.WASM.wasm.gz new file mode 100644 index 00000000..bcc3c3b0 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.WASM.wasm.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.pdb.gz b/docs/VNext/_framework/BlazorStrap.pdb.gz index 1fefda8b..6a7d0dc6 100755 Binary files a/docs/VNext/_framework/BlazorStrap.pdb.gz and b/docs/VNext/_framework/BlazorStrap.pdb.gz differ diff --git a/docs/VNext/_framework/BlazorStrap.wasm b/docs/VNext/_framework/BlazorStrap.wasm new file mode 100644 index 00000000..3061e4e2 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.wasm differ diff --git a/docs/VNext/_framework/BlazorStrap.wasm.br b/docs/VNext/_framework/BlazorStrap.wasm.br new file mode 100644 index 00000000..4b3d58af Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.wasm.br differ diff --git a/docs/VNext/_framework/BlazorStrap.wasm.gz b/docs/VNext/_framework/BlazorStrap.wasm.gz new file mode 100644 index 00000000..b6b4d1e9 Binary files /dev/null and b/docs/VNext/_framework/BlazorStrap.wasm.gz differ diff --git a/docs/VNext/_framework/ColorCode.wasm b/docs/VNext/_framework/ColorCode.wasm new file mode 100644 index 00000000..4df55136 Binary files /dev/null and b/docs/VNext/_framework/ColorCode.wasm differ diff --git a/docs/VNext/_framework/ColorCode.wasm.br b/docs/VNext/_framework/ColorCode.wasm.br new file mode 100644 index 00000000..c7746764 Binary files /dev/null and b/docs/VNext/_framework/ColorCode.wasm.br differ diff --git a/docs/VNext/_framework/ColorCode.wasm.gz b/docs/VNext/_framework/ColorCode.wasm.gz new file mode 100644 index 00000000..23b9ae85 Binary files /dev/null and b/docs/VNext/_framework/ColorCode.wasm.gz differ diff --git a/docs/VNext/_framework/FluentValidation.wasm b/docs/VNext/_framework/FluentValidation.wasm new file mode 100644 index 00000000..f0991cd2 Binary files /dev/null and b/docs/VNext/_framework/FluentValidation.wasm differ diff --git a/docs/VNext/_framework/FluentValidation.wasm.br b/docs/VNext/_framework/FluentValidation.wasm.br new file mode 100644 index 00000000..8a6cd0fc Binary files /dev/null and b/docs/VNext/_framework/FluentValidation.wasm.br differ diff --git a/docs/VNext/_framework/FluentValidation.wasm.gz b/docs/VNext/_framework/FluentValidation.wasm.gz new file mode 100644 index 00000000..24475ab8 Binary files /dev/null and b/docs/VNext/_framework/FluentValidation.wasm.gz differ diff --git a/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm new file mode 100644 index 00000000..8bf1b7a9 Binary files /dev/null and b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm differ diff --git a/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.br b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.br new file mode 100644 index 00000000..793b762a Binary files /dev/null and b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.br differ diff --git a/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.gz b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.gz new file mode 100644 index 00000000..a433ece1 Binary files /dev/null and b/docs/VNext/_framework/Markdig.SyntaxHighlighting.wasm.gz differ diff --git a/docs/VNext/_framework/Markdig.wasm b/docs/VNext/_framework/Markdig.wasm new file mode 100644 index 00000000..b5370eae Binary files /dev/null and b/docs/VNext/_framework/Markdig.wasm differ diff --git a/docs/VNext/_framework/Markdig.wasm.br b/docs/VNext/_framework/Markdig.wasm.br new file mode 100644 index 00000000..1287cd21 Binary files /dev/null and b/docs/VNext/_framework/Markdig.wasm.br differ diff --git a/docs/VNext/_framework/Markdig.wasm.gz b/docs/VNext/_framework/Markdig.wasm.gz new file mode 100644 index 00000000..e5af8873 Binary files /dev/null and b/docs/VNext/_framework/Markdig.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm new file mode 100644 index 00000000..3182d936 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.br b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.br new file mode 100644 index 00000000..be8c9bd5 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.gz b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.gz new file mode 100644 index 00000000..e5ffaf76 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Forms.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm new file mode 100644 index 00000000..ebebc81d Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.br b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.br new file mode 100644 index 00000000..47d2c796 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.gz b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.gz new file mode 100644 index 00000000..fc224433 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.Web.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm new file mode 100644 index 00000000..0704fd4a Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.br b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.br new file mode 100644 index 00000000..f0e5567f Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.gz b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.gz new file mode 100644 index 00000000..d63470a6 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.WebAssembly.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm new file mode 100644 index 00000000..202c7fe2 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.br b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.br new file mode 100644 index 00000000..8c240524 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.gz b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.gz new file mode 100644 index 00000000..55455fdf Binary files /dev/null and b/docs/VNext/_framework/Microsoft.AspNetCore.Components.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.CSharp.wasm b/docs/VNext/_framework/Microsoft.CSharp.wasm new file mode 100644 index 00000000..b8d6ac7c Binary files /dev/null and b/docs/VNext/_framework/Microsoft.CSharp.wasm differ diff --git a/docs/VNext/_framework/Microsoft.CSharp.wasm.br b/docs/VNext/_framework/Microsoft.CSharp.wasm.br new file mode 100644 index 00000000..4c8032f5 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.CSharp.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.CSharp.wasm.gz b/docs/VNext/_framework/Microsoft.CSharp.wasm.gz new file mode 100644 index 00000000..6419a6a0 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.CSharp.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm new file mode 100644 index 00000000..9b5de7fa Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.br b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.br new file mode 100644 index 00000000..9c00def3 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.gz b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.gz new file mode 100644 index 00000000..56048552 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.Abstractions.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm new file mode 100644 index 00000000..ef15dd8b Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.br b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.br new file mode 100644 index 00000000..9cf3bc94 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.gz b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.gz new file mode 100644 index 00000000..19ace6b1 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.InMemory.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm new file mode 100644 index 00000000..1ba08ac3 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.br b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.br new file mode 100644 index 00000000..43d99eed Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.gz b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.gz new file mode 100644 index 00000000..c9ab0564 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.EntityFrameworkCore.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm new file mode 100644 index 00000000..5dbb877e Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.br new file mode 100644 index 00000000..fcf55871 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.gz new file mode 100644 index 00000000..2231f943 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Abstractions.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm new file mode 100644 index 00000000..c2dacb47 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.br new file mode 100644 index 00000000..b6b7dbe5 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.gz new file mode 100644 index 00000000..31763711 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Caching.Memory.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm new file mode 100644 index 00000000..2c55da18 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.br new file mode 100644 index 00000000..06d8026a Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.gz new file mode 100644 index 00000000..0e59a130 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Abstractions.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm new file mode 100644 index 00000000..58b60a37 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.br new file mode 100644 index 00000000..1074969d Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.gz new file mode 100644 index 00000000..40a32136 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.Json.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm new file mode 100644 index 00000000..73d8cc11 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.br new file mode 100644 index 00000000..4b0c2a24 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.gz new file mode 100644 index 00000000..d7a53934 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Configuration.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm new file mode 100644 index 00000000..ac2790cf Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.br new file mode 100644 index 00000000..bacac4b5 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.gz new file mode 100644 index 00000000..4342049a Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm new file mode 100644 index 00000000..8e8b3c86 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.br new file mode 100644 index 00000000..bf26d06f Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.gz new file mode 100644 index 00000000..8b44282d Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.DependencyInjection.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm new file mode 100644 index 00000000..e9c27322 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.br new file mode 100644 index 00000000..92a7f994 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.gz new file mode 100644 index 00000000..063bf692 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.Abstractions.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm new file mode 100644 index 00000000..afffba54 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.br new file mode 100644 index 00000000..e376e286 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.gz new file mode 100644 index 00000000..fab785a6 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Logging.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Options.wasm b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm new file mode 100644 index 00000000..583e0884 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.br new file mode 100644 index 00000000..81b828eb Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.gz new file mode 100644 index 00000000..2d52832d Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Options.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm new file mode 100644 index 00000000..43672926 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.br b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.br new file mode 100644 index 00000000..93c5e334 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.gz b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.gz new file mode 100644 index 00000000..14b1e315 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.Extensions.Primitives.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm new file mode 100644 index 00000000..4c24d395 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.br b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.br new file mode 100644 index 00000000..fb623245 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.gz b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.gz new file mode 100644 index 00000000..0a242bc9 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.WebAssembly.wasm.gz differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.wasm b/docs/VNext/_framework/Microsoft.JSInterop.wasm new file mode 100644 index 00000000..f39e0b6c Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.wasm differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.wasm.br b/docs/VNext/_framework/Microsoft.JSInterop.wasm.br new file mode 100644 index 00000000..4375bea3 Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.wasm.br differ diff --git a/docs/VNext/_framework/Microsoft.JSInterop.wasm.gz b/docs/VNext/_framework/Microsoft.JSInterop.wasm.gz new file mode 100644 index 00000000..c2a79b2c Binary files /dev/null and b/docs/VNext/_framework/Microsoft.JSInterop.wasm.gz differ diff --git a/docs/VNext/_framework/System.Collections.Concurrent.wasm b/docs/VNext/_framework/System.Collections.Concurrent.wasm new file mode 100644 index 00000000..4b40f992 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Concurrent.wasm differ diff --git a/docs/VNext/_framework/System.Collections.Concurrent.wasm.br b/docs/VNext/_framework/System.Collections.Concurrent.wasm.br new file mode 100644 index 00000000..7a2ae87d Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Concurrent.wasm.br differ diff --git a/docs/VNext/_framework/System.Collections.Concurrent.wasm.gz b/docs/VNext/_framework/System.Collections.Concurrent.wasm.gz new file mode 100644 index 00000000..a27d5ae7 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Concurrent.wasm.gz differ diff --git a/docs/VNext/_framework/System.Collections.Immutable.wasm b/docs/VNext/_framework/System.Collections.Immutable.wasm new file mode 100644 index 00000000..b1bf640f Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Immutable.wasm differ diff --git a/docs/VNext/_framework/System.Collections.Immutable.wasm.br b/docs/VNext/_framework/System.Collections.Immutable.wasm.br new file mode 100644 index 00000000..9292e203 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Immutable.wasm.br differ diff --git a/docs/VNext/_framework/System.Collections.Immutable.wasm.gz b/docs/VNext/_framework/System.Collections.Immutable.wasm.gz new file mode 100644 index 00000000..702c58a8 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Immutable.wasm.gz differ diff --git a/docs/VNext/_framework/System.Collections.NonGeneric.wasm b/docs/VNext/_framework/System.Collections.NonGeneric.wasm new file mode 100644 index 00000000..87d15ed5 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.NonGeneric.wasm differ diff --git a/docs/VNext/_framework/System.Collections.NonGeneric.wasm.br b/docs/VNext/_framework/System.Collections.NonGeneric.wasm.br new file mode 100644 index 00000000..6aa07f3e Binary files /dev/null and b/docs/VNext/_framework/System.Collections.NonGeneric.wasm.br differ diff --git a/docs/VNext/_framework/System.Collections.NonGeneric.wasm.gz b/docs/VNext/_framework/System.Collections.NonGeneric.wasm.gz new file mode 100644 index 00000000..418864be Binary files /dev/null and b/docs/VNext/_framework/System.Collections.NonGeneric.wasm.gz differ diff --git a/docs/VNext/_framework/System.Collections.Specialized.wasm b/docs/VNext/_framework/System.Collections.Specialized.wasm new file mode 100644 index 00000000..677308d7 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Specialized.wasm differ diff --git a/docs/VNext/_framework/System.Collections.Specialized.wasm.br b/docs/VNext/_framework/System.Collections.Specialized.wasm.br new file mode 100644 index 00000000..2db9b380 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Specialized.wasm.br differ diff --git a/docs/VNext/_framework/System.Collections.Specialized.wasm.gz b/docs/VNext/_framework/System.Collections.Specialized.wasm.gz new file mode 100644 index 00000000..243ddbef Binary files /dev/null and b/docs/VNext/_framework/System.Collections.Specialized.wasm.gz differ diff --git a/docs/VNext/_framework/System.Collections.wasm b/docs/VNext/_framework/System.Collections.wasm new file mode 100644 index 00000000..5ca9b6bf Binary files /dev/null and b/docs/VNext/_framework/System.Collections.wasm differ diff --git a/docs/VNext/_framework/System.Collections.wasm.br b/docs/VNext/_framework/System.Collections.wasm.br new file mode 100644 index 00000000..76e086e7 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.wasm.br differ diff --git a/docs/VNext/_framework/System.Collections.wasm.gz b/docs/VNext/_framework/System.Collections.wasm.gz new file mode 100644 index 00000000..280ff073 Binary files /dev/null and b/docs/VNext/_framework/System.Collections.wasm.gz differ diff --git a/docs/VNext/_framework/System.ComponentModel.Annotations.wasm b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm new file mode 100644 index 00000000..729d63be Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm differ diff --git a/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.br b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.br new file mode 100644 index 00000000..dc3a34d1 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.br differ diff --git a/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.gz b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.gz new file mode 100644 index 00000000..f3552f4c Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Annotations.wasm.gz differ diff --git a/docs/VNext/_framework/System.ComponentModel.Primitives.wasm b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm new file mode 100644 index 00000000..d8e5562b Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm differ diff --git a/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.br b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.br new file mode 100644 index 00000000..1f5868c1 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.br differ diff --git a/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.gz b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.gz new file mode 100644 index 00000000..f0c3e668 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.Primitives.wasm.gz differ diff --git a/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm new file mode 100644 index 00000000..17d64867 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm differ diff --git a/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.br b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.br new file mode 100644 index 00000000..5e3883d3 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.br differ diff --git a/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.gz b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.gz new file mode 100644 index 00000000..6bc90f79 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.TypeConverter.wasm.gz differ diff --git a/docs/VNext/_framework/System.ComponentModel.wasm b/docs/VNext/_framework/System.ComponentModel.wasm new file mode 100644 index 00000000..c352454d Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.wasm differ diff --git a/docs/VNext/_framework/System.ComponentModel.wasm.br b/docs/VNext/_framework/System.ComponentModel.wasm.br new file mode 100644 index 00000000..fe178040 Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.wasm.br differ diff --git a/docs/VNext/_framework/System.ComponentModel.wasm.gz b/docs/VNext/_framework/System.ComponentModel.wasm.gz new file mode 100644 index 00000000..d97d451e Binary files /dev/null and b/docs/VNext/_framework/System.ComponentModel.wasm.gz differ diff --git a/docs/VNext/_framework/System.Console.wasm b/docs/VNext/_framework/System.Console.wasm new file mode 100644 index 00000000..8cd37e12 Binary files /dev/null and b/docs/VNext/_framework/System.Console.wasm differ diff --git a/docs/VNext/_framework/System.Console.wasm.br b/docs/VNext/_framework/System.Console.wasm.br new file mode 100644 index 00000000..578c849b Binary files /dev/null and b/docs/VNext/_framework/System.Console.wasm.br differ diff --git a/docs/VNext/_framework/System.Console.wasm.gz b/docs/VNext/_framework/System.Console.wasm.gz new file mode 100644 index 00000000..6ed15f2f Binary files /dev/null and b/docs/VNext/_framework/System.Console.wasm.gz differ diff --git a/docs/VNext/_framework/System.Diagnostics.Debug.wasm b/docs/VNext/_framework/System.Diagnostics.Debug.wasm new file mode 100644 index 00000000..42b960c7 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Debug.wasm differ diff --git a/docs/VNext/_framework/System.Diagnostics.Debug.wasm.br b/docs/VNext/_framework/System.Diagnostics.Debug.wasm.br new file mode 100644 index 00000000..2189b84d Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Debug.wasm.br differ diff --git a/docs/VNext/_framework/System.Diagnostics.Debug.wasm.gz b/docs/VNext/_framework/System.Diagnostics.Debug.wasm.gz new file mode 100644 index 00000000..0dcb6636 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Debug.wasm.gz differ diff --git a/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm new file mode 100644 index 00000000..cfafab9e Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm differ diff --git a/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.br b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.br new file mode 100644 index 00000000..7832ec50 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.br differ diff --git a/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.gz b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.gz new file mode 100644 index 00000000..fcb6d8d2 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.DiagnosticSource.wasm.gz differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tools.wasm b/docs/VNext/_framework/System.Diagnostics.Tools.wasm new file mode 100644 index 00000000..a76a4560 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tools.wasm differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tools.wasm.br b/docs/VNext/_framework/System.Diagnostics.Tools.wasm.br new file mode 100644 index 00000000..d0e45bd3 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tools.wasm.br differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tools.wasm.gz b/docs/VNext/_framework/System.Diagnostics.Tools.wasm.gz new file mode 100644 index 00000000..de70d935 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tools.wasm.gz differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tracing.wasm b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm new file mode 100644 index 00000000..7deccf53 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.br b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.br new file mode 100644 index 00000000..eb663189 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.br differ diff --git a/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.gz b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.gz new file mode 100644 index 00000000..a3786fd9 Binary files /dev/null and b/docs/VNext/_framework/System.Diagnostics.Tracing.wasm.gz differ diff --git a/docs/VNext/_framework/System.Linq.Expressions.wasm b/docs/VNext/_framework/System.Linq.Expressions.wasm new file mode 100644 index 00000000..601eae85 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Expressions.wasm differ diff --git a/docs/VNext/_framework/System.Linq.Expressions.wasm.br b/docs/VNext/_framework/System.Linq.Expressions.wasm.br new file mode 100644 index 00000000..64a423e8 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Expressions.wasm.br differ diff --git a/docs/VNext/_framework/System.Linq.Expressions.wasm.gz b/docs/VNext/_framework/System.Linq.Expressions.wasm.gz new file mode 100644 index 00000000..cfcd6d2c Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Expressions.wasm.gz differ diff --git a/docs/VNext/_framework/System.Linq.Queryable.wasm b/docs/VNext/_framework/System.Linq.Queryable.wasm new file mode 100644 index 00000000..dbd70d44 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Queryable.wasm differ diff --git a/docs/VNext/_framework/System.Linq.Queryable.wasm.br b/docs/VNext/_framework/System.Linq.Queryable.wasm.br new file mode 100644 index 00000000..304647c3 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Queryable.wasm.br differ diff --git a/docs/VNext/_framework/System.Linq.Queryable.wasm.gz b/docs/VNext/_framework/System.Linq.Queryable.wasm.gz new file mode 100644 index 00000000..32352ca7 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.Queryable.wasm.gz differ diff --git a/docs/VNext/_framework/System.Linq.wasm b/docs/VNext/_framework/System.Linq.wasm new file mode 100644 index 00000000..9994331d Binary files /dev/null and b/docs/VNext/_framework/System.Linq.wasm differ diff --git a/docs/VNext/_framework/System.Linq.wasm.br b/docs/VNext/_framework/System.Linq.wasm.br new file mode 100644 index 00000000..32c1529b Binary files /dev/null and b/docs/VNext/_framework/System.Linq.wasm.br differ diff --git a/docs/VNext/_framework/System.Linq.wasm.gz b/docs/VNext/_framework/System.Linq.wasm.gz new file mode 100644 index 00000000..3e2307e0 Binary files /dev/null and b/docs/VNext/_framework/System.Linq.wasm.gz differ diff --git a/docs/VNext/_framework/System.Memory.wasm b/docs/VNext/_framework/System.Memory.wasm new file mode 100644 index 00000000..691e8838 Binary files /dev/null and b/docs/VNext/_framework/System.Memory.wasm differ diff --git a/docs/VNext/_framework/System.Memory.wasm.br b/docs/VNext/_framework/System.Memory.wasm.br new file mode 100644 index 00000000..b6e17c5b Binary files /dev/null and b/docs/VNext/_framework/System.Memory.wasm.br differ diff --git a/docs/VNext/_framework/System.Memory.wasm.gz b/docs/VNext/_framework/System.Memory.wasm.gz new file mode 100644 index 00000000..9780754a Binary files /dev/null and b/docs/VNext/_framework/System.Memory.wasm.gz differ diff --git a/docs/VNext/_framework/System.Net.Http.Json.wasm b/docs/VNext/_framework/System.Net.Http.Json.wasm new file mode 100644 index 00000000..8f110051 Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.Json.wasm differ diff --git a/docs/VNext/_framework/System.Net.Http.Json.wasm.br b/docs/VNext/_framework/System.Net.Http.Json.wasm.br new file mode 100644 index 00000000..ec6907ff Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.Json.wasm.br differ diff --git a/docs/VNext/_framework/System.Net.Http.Json.wasm.gz b/docs/VNext/_framework/System.Net.Http.Json.wasm.gz new file mode 100644 index 00000000..3a5ac05b Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.Json.wasm.gz differ diff --git a/docs/VNext/_framework/System.Net.Http.wasm b/docs/VNext/_framework/System.Net.Http.wasm new file mode 100644 index 00000000..ad04fe2b Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.wasm differ diff --git a/docs/VNext/_framework/System.Net.Http.wasm.br b/docs/VNext/_framework/System.Net.Http.wasm.br new file mode 100644 index 00000000..b71d3a96 Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.wasm.br differ diff --git a/docs/VNext/_framework/System.Net.Http.wasm.gz b/docs/VNext/_framework/System.Net.Http.wasm.gz new file mode 100644 index 00000000..06f16f3c Binary files /dev/null and b/docs/VNext/_framework/System.Net.Http.wasm.gz differ diff --git a/docs/VNext/_framework/System.Net.NetworkInformation.wasm b/docs/VNext/_framework/System.Net.NetworkInformation.wasm new file mode 100644 index 00000000..1e450e50 Binary files /dev/null and b/docs/VNext/_framework/System.Net.NetworkInformation.wasm differ diff --git a/docs/VNext/_framework/System.Net.NetworkInformation.wasm.br b/docs/VNext/_framework/System.Net.NetworkInformation.wasm.br new file mode 100644 index 00000000..2acf3700 Binary files /dev/null and b/docs/VNext/_framework/System.Net.NetworkInformation.wasm.br differ diff --git a/docs/VNext/_framework/System.Net.NetworkInformation.wasm.gz b/docs/VNext/_framework/System.Net.NetworkInformation.wasm.gz new file mode 100644 index 00000000..216e5c3a Binary files /dev/null and b/docs/VNext/_framework/System.Net.NetworkInformation.wasm.gz differ diff --git a/docs/VNext/_framework/System.Net.Primitives.wasm b/docs/VNext/_framework/System.Net.Primitives.wasm new file mode 100644 index 00000000..3f6ae843 Binary files /dev/null and b/docs/VNext/_framework/System.Net.Primitives.wasm differ diff --git a/docs/VNext/_framework/System.Net.Primitives.wasm.br b/docs/VNext/_framework/System.Net.Primitives.wasm.br new file mode 100644 index 00000000..ab654f51 Binary files /dev/null and b/docs/VNext/_framework/System.Net.Primitives.wasm.br differ diff --git a/docs/VNext/_framework/System.Net.Primitives.wasm.gz b/docs/VNext/_framework/System.Net.Primitives.wasm.gz new file mode 100644 index 00000000..8e792685 Binary files /dev/null and b/docs/VNext/_framework/System.Net.Primitives.wasm.gz differ diff --git a/docs/VNext/_framework/System.ObjectModel.wasm b/docs/VNext/_framework/System.ObjectModel.wasm new file mode 100644 index 00000000..62bc7c46 Binary files /dev/null and b/docs/VNext/_framework/System.ObjectModel.wasm differ diff --git a/docs/VNext/_framework/System.ObjectModel.wasm.br b/docs/VNext/_framework/System.ObjectModel.wasm.br new file mode 100644 index 00000000..3b34646c Binary files /dev/null and b/docs/VNext/_framework/System.ObjectModel.wasm.br differ diff --git a/docs/VNext/_framework/System.ObjectModel.wasm.gz b/docs/VNext/_framework/System.ObjectModel.wasm.gz new file mode 100644 index 00000000..0239baab Binary files /dev/null and b/docs/VNext/_framework/System.ObjectModel.wasm.gz differ diff --git a/docs/VNext/_framework/System.Private.CoreLib.wasm b/docs/VNext/_framework/System.Private.CoreLib.wasm new file mode 100644 index 00000000..9e5846d3 Binary files /dev/null and b/docs/VNext/_framework/System.Private.CoreLib.wasm differ diff --git a/docs/VNext/_framework/System.Private.CoreLib.wasm.br b/docs/VNext/_framework/System.Private.CoreLib.wasm.br new file mode 100644 index 00000000..b3603b09 Binary files /dev/null and b/docs/VNext/_framework/System.Private.CoreLib.wasm.br differ diff --git a/docs/VNext/_framework/System.Private.CoreLib.wasm.gz b/docs/VNext/_framework/System.Private.CoreLib.wasm.gz new file mode 100644 index 00000000..d5399c51 Binary files /dev/null and b/docs/VNext/_framework/System.Private.CoreLib.wasm.gz differ diff --git a/docs/VNext/_framework/System.Private.Uri.wasm b/docs/VNext/_framework/System.Private.Uri.wasm new file mode 100644 index 00000000..caf69c31 Binary files /dev/null and b/docs/VNext/_framework/System.Private.Uri.wasm differ diff --git a/docs/VNext/_framework/System.Private.Uri.wasm.br b/docs/VNext/_framework/System.Private.Uri.wasm.br new file mode 100644 index 00000000..b791706b Binary files /dev/null and b/docs/VNext/_framework/System.Private.Uri.wasm.br differ diff --git a/docs/VNext/_framework/System.Private.Uri.wasm.gz b/docs/VNext/_framework/System.Private.Uri.wasm.gz new file mode 100644 index 00000000..1904fd73 Binary files /dev/null and b/docs/VNext/_framework/System.Private.Uri.wasm.gz differ diff --git a/docs/VNext/_framework/System.Resources.ResourceManager.wasm b/docs/VNext/_framework/System.Resources.ResourceManager.wasm new file mode 100644 index 00000000..a0a965ac Binary files /dev/null and b/docs/VNext/_framework/System.Resources.ResourceManager.wasm differ diff --git a/docs/VNext/_framework/System.Resources.ResourceManager.wasm.br b/docs/VNext/_framework/System.Resources.ResourceManager.wasm.br new file mode 100644 index 00000000..e0299910 Binary files /dev/null and b/docs/VNext/_framework/System.Resources.ResourceManager.wasm.br differ diff --git a/docs/VNext/_framework/System.Resources.ResourceManager.wasm.gz b/docs/VNext/_framework/System.Resources.ResourceManager.wasm.gz new file mode 100644 index 00000000..928a7f8d Binary files /dev/null and b/docs/VNext/_framework/System.Resources.ResourceManager.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm new file mode 100644 index 00000000..7d2931cd Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.br b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.br new file mode 100644 index 00000000..ef006fd5 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.gz b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.gz new file mode 100644 index 00000000..ec8e0664 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.CompilerServices.Unsafe.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.Extensions.wasm b/docs/VNext/_framework/System.Runtime.Extensions.wasm new file mode 100644 index 00000000..65977dd0 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Extensions.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.Extensions.wasm.br b/docs/VNext/_framework/System.Runtime.Extensions.wasm.br new file mode 100644 index 00000000..1aaf8342 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Extensions.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.Extensions.wasm.gz b/docs/VNext/_framework/System.Runtime.Extensions.wasm.gz new file mode 100644 index 00000000..5ef50aed Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Extensions.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm new file mode 100644 index 00000000..33b09874 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.br b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.br new file mode 100644 index 00000000..e0c9ceef Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.gz b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.gz new file mode 100644 index 00000000..273f90f5 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.InteropServices.JavaScript.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.Numerics.wasm b/docs/VNext/_framework/System.Runtime.Numerics.wasm new file mode 100644 index 00000000..0855d63c Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Numerics.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.Numerics.wasm.br b/docs/VNext/_framework/System.Runtime.Numerics.wasm.br new file mode 100644 index 00000000..2b9dc2d1 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Numerics.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.Numerics.wasm.gz b/docs/VNext/_framework/System.Runtime.Numerics.wasm.gz new file mode 100644 index 00000000..df4bc95c Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Numerics.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm new file mode 100644 index 00000000..fa7caaec Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.br b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.br new file mode 100644 index 00000000..facea6d7 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.gz b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.gz new file mode 100644 index 00000000..ad4d9f71 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.Serialization.Primitives.wasm.gz differ diff --git a/docs/VNext/_framework/System.Runtime.wasm b/docs/VNext/_framework/System.Runtime.wasm new file mode 100644 index 00000000..c061ac54 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.wasm differ diff --git a/docs/VNext/_framework/System.Runtime.wasm.br b/docs/VNext/_framework/System.Runtime.wasm.br new file mode 100644 index 00000000..2e888d16 Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.wasm.br differ diff --git a/docs/VNext/_framework/System.Runtime.wasm.gz b/docs/VNext/_framework/System.Runtime.wasm.gz new file mode 100644 index 00000000..6490650c Binary files /dev/null and b/docs/VNext/_framework/System.Runtime.wasm.gz differ diff --git a/docs/VNext/_framework/System.Text.Encodings.Web.wasm b/docs/VNext/_framework/System.Text.Encodings.Web.wasm new file mode 100644 index 00000000..7429fdbc Binary files /dev/null and b/docs/VNext/_framework/System.Text.Encodings.Web.wasm differ diff --git a/docs/VNext/_framework/System.Text.Encodings.Web.wasm.br b/docs/VNext/_framework/System.Text.Encodings.Web.wasm.br new file mode 100644 index 00000000..411b9038 Binary files /dev/null and b/docs/VNext/_framework/System.Text.Encodings.Web.wasm.br differ diff --git a/docs/VNext/_framework/System.Text.Encodings.Web.wasm.gz b/docs/VNext/_framework/System.Text.Encodings.Web.wasm.gz new file mode 100644 index 00000000..4bb2757a Binary files /dev/null and b/docs/VNext/_framework/System.Text.Encodings.Web.wasm.gz differ diff --git a/docs/VNext/_framework/System.Text.Json.wasm b/docs/VNext/_framework/System.Text.Json.wasm new file mode 100644 index 00000000..c7c394ea Binary files /dev/null and b/docs/VNext/_framework/System.Text.Json.wasm differ diff --git a/docs/VNext/_framework/System.Text.Json.wasm.br b/docs/VNext/_framework/System.Text.Json.wasm.br new file mode 100644 index 00000000..3ff2bedb Binary files /dev/null and b/docs/VNext/_framework/System.Text.Json.wasm.br differ diff --git a/docs/VNext/_framework/System.Text.Json.wasm.gz b/docs/VNext/_framework/System.Text.Json.wasm.gz new file mode 100644 index 00000000..bb6fbd3e Binary files /dev/null and b/docs/VNext/_framework/System.Text.Json.wasm.gz differ diff --git a/docs/VNext/_framework/System.Text.RegularExpressions.wasm b/docs/VNext/_framework/System.Text.RegularExpressions.wasm new file mode 100644 index 00000000..95dbed8a Binary files /dev/null and b/docs/VNext/_framework/System.Text.RegularExpressions.wasm differ diff --git a/docs/VNext/_framework/System.Text.RegularExpressions.wasm.br b/docs/VNext/_framework/System.Text.RegularExpressions.wasm.br new file mode 100644 index 00000000..3e883d11 Binary files /dev/null and b/docs/VNext/_framework/System.Text.RegularExpressions.wasm.br differ diff --git a/docs/VNext/_framework/System.Text.RegularExpressions.wasm.gz b/docs/VNext/_framework/System.Text.RegularExpressions.wasm.gz new file mode 100644 index 00000000..413b4034 Binary files /dev/null and b/docs/VNext/_framework/System.Text.RegularExpressions.wasm.gz differ diff --git a/docs/VNext/_framework/System.Threading.wasm b/docs/VNext/_framework/System.Threading.wasm new file mode 100644 index 00000000..9d9c3c29 Binary files /dev/null and b/docs/VNext/_framework/System.Threading.wasm differ diff --git a/docs/VNext/_framework/System.Threading.wasm.br b/docs/VNext/_framework/System.Threading.wasm.br new file mode 100644 index 00000000..00ce7165 Binary files /dev/null and b/docs/VNext/_framework/System.Threading.wasm.br differ diff --git a/docs/VNext/_framework/System.Threading.wasm.gz b/docs/VNext/_framework/System.Threading.wasm.gz new file mode 100644 index 00000000..83c4209f Binary files /dev/null and b/docs/VNext/_framework/System.Threading.wasm.gz differ diff --git a/docs/VNext/_framework/System.Transactions.Local.wasm b/docs/VNext/_framework/System.Transactions.Local.wasm new file mode 100644 index 00000000..a9650069 Binary files /dev/null and b/docs/VNext/_framework/System.Transactions.Local.wasm differ diff --git a/docs/VNext/_framework/System.Transactions.Local.wasm.br b/docs/VNext/_framework/System.Transactions.Local.wasm.br new file mode 100644 index 00000000..08d19b29 Binary files /dev/null and b/docs/VNext/_framework/System.Transactions.Local.wasm.br differ diff --git a/docs/VNext/_framework/System.Transactions.Local.wasm.gz b/docs/VNext/_framework/System.Transactions.Local.wasm.gz new file mode 100644 index 00000000..57a7bda2 Binary files /dev/null and b/docs/VNext/_framework/System.Transactions.Local.wasm.gz differ diff --git a/docs/VNext/_framework/System.Web.HttpUtility.wasm b/docs/VNext/_framework/System.Web.HttpUtility.wasm new file mode 100644 index 00000000..10e79c6e Binary files /dev/null and b/docs/VNext/_framework/System.Web.HttpUtility.wasm differ diff --git a/docs/VNext/_framework/System.Web.HttpUtility.wasm.br b/docs/VNext/_framework/System.Web.HttpUtility.wasm.br new file mode 100644 index 00000000..680bdbea Binary files /dev/null and b/docs/VNext/_framework/System.Web.HttpUtility.wasm.br differ diff --git a/docs/VNext/_framework/System.Web.HttpUtility.wasm.gz b/docs/VNext/_framework/System.Web.HttpUtility.wasm.gz new file mode 100644 index 00000000..8e7aea7e Binary files /dev/null and b/docs/VNext/_framework/System.Web.HttpUtility.wasm.gz differ diff --git a/docs/VNext/_framework/System.wasm b/docs/VNext/_framework/System.wasm new file mode 100644 index 00000000..f8df49fe Binary files /dev/null and b/docs/VNext/_framework/System.wasm differ diff --git a/docs/VNext/_framework/System.wasm.br b/docs/VNext/_framework/System.wasm.br new file mode 100644 index 00000000..e71b167f Binary files /dev/null and b/docs/VNext/_framework/System.wasm.br differ diff --git a/docs/VNext/_framework/System.wasm.gz b/docs/VNext/_framework/System.wasm.gz new file mode 100644 index 00000000..c20062f2 Binary files /dev/null and b/docs/VNext/_framework/System.wasm.gz differ diff --git a/docs/VNext/_framework/blazor.boot.json b/docs/VNext/_framework/blazor.boot.json index 9ed4a40a..dbf3b7c1 100755 --- a/docs/VNext/_framework/blazor.boot.json +++ b/docs/VNext/_framework/blazor.boot.json @@ -1,86 +1,102 @@ { - "entryAssembly": "BlazorStrap.WASM", + "mainAssemblyName": "BlazorStrap.WASM", "resources": { - "hash": "sha256-5K0Goyi+2CZfVd91KH31yzkVJIdqPC3Jd351N51YTy4=", - "runtime": { - "dotnet.7.0.20.tihet80zp2.js": "sha256-eaJTmow4t8eE7FZMZR5Ja41JMOefGCbIYDTdpclGsac=", - "dotnet.timezones.blat": "sha256-gbATD5HDsHYtW8vdPYh9iSBY4O5CjvMeCSF5xXWF1xo=", - "dotnet.wasm": "sha256-2P6rVlE+GN7v/KBZsI/zwouhfpV38+1lEl5FMslgb4A=" + "hash": "sha256-E5PN7ymeEiLIA6NoTvmbI94Vc3FNkbRJgqJHZgwhAHQ=", + "jsModuleNative": { + "dotnet.native.8.0.7.sgnytqlsjk.js": "sha256-tFsxPBbhkdn6GKNBKvCRLzrfAHdyM86odYTe0MtrwMk=" }, - "assembly": { - "BlazorComponentUtilities.dll": "sha256-UapksNiQg3lu5QM9uVSLyjEuzRH/7o22fmcmxcLAAeI=", - "BlazorStrap.dll": "sha256-qdaVpObFiyfls1ul5i1knWIXl++ij6KBdo7ffrSEBG8=", - "BlazorStrap.Extensions.FluentValidation.dll": "sha256-YnPHcJPMjnWT+cNbqlgXSWI7VChBDm+kQUaQ0vkYlhY=", - "BlazorStrap.Extensions.TreeView.dll": "sha256-kToP6iCw6aFXcAL+nCluHHXTAOwg47a1Pq3kRZwpOpg=", - "BlazorStrap.Extensions.Wizard.dll": "sha256-H/n/BTfvz/Cfi/53G3spiMZHPbOB614WGLjycwK58T0=", - "BlazorStrap.V4.dll": "sha256-50xNtMQBnu7B2AeYl88URM0LKcz7DOn3cnet0wsQGog=", - "BlazorStrap.V5.dll": "sha256-RcWp1X7j0yhFezvGbhGl3g4Dh53LZuIkr2qqRZNuORw=", - "BlazorStrap.WASM.dll": "sha256-uYU1eBVl+5vOTDFVNxowKtm6SQtOCykKlQDTSN+cZiI=", - "BlazorStrap-Docs.dll": "sha256-1/xfKWtybvRK0DwyV+Sc903QpDnV3CYEI+CaRqPnT8Y=", - "ColorCode.dll": "sha256-hF07ps23in9mbwaN4uSoZklQVfyJIw2Ep4R448bfkOk=", - "FluentValidation.dll": "sha256-NflrIQKcfYxeVjrVYw+AP1+xnZJp67Wq9L5Vsd5Cr/8=", - "Markdig.dll": "sha256-9/ICq2gSL+hjhMdZXNoIRs8wyZFtZpr3yFSW+RQVdoQ=", - "Markdig.SyntaxHighlighting.dll": "sha256-qkuHEt7805bTVSkNsvDi5CT5M3Q4VSK619BHVC+FdKs=", - "Microsoft.AspNetCore.Components.dll": "sha256-yYP/WLJiHafxKsB9wo4dkm/rTvR+heNZlSs/L5GbYb8=", - "Microsoft.AspNetCore.Components.Forms.dll": "sha256-zAftd1daNzkGQMts9IcJdTsvXzSb1ZSAb/ZglC2Upjs=", - "Microsoft.AspNetCore.Components.Web.dll": "sha256-5UEf4P9CqflJNzbG0tQq+JStsBdIo9AJraye87rofo4=", - "Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-aGH2rS5xjLrIhcSJ28noTKdx+ZZatpCLFejnLO803B8=", - "Microsoft.Extensions.Configuration.Abstractions.dll": "sha256-X/f4fDl2cuIRXeWHhK/f2UqQbFioD+RU4a4CEh0zrrQ=", - "Microsoft.Extensions.Configuration.dll": "sha256-DBOKSPriP2JDxVbbWrLXyD3K4/x3RBifNBWk/q1I39M=", - "Microsoft.Extensions.Configuration.Json.dll": "sha256-Q5AqJneA2TZnzC0IYzBx6j/tHRhWAeMbpH3BsV7KgWg=", - "Microsoft.Extensions.DependencyInjection.Abstractions.dll": "sha256-iMKpGgh9DAXfoSj5FtHyOehznEHFava7l7ZP+DglnG8=", - "Microsoft.Extensions.DependencyInjection.dll": "sha256-qi0kE7rp0kdsNqdL6DyPZEeimjUGvcLT4iWQX0YnRus=", - "Microsoft.Extensions.Logging.Abstractions.dll": "sha256-FvxXs8qE502WAwQhb+NZbTB9CQTSCvkxQqKUEzbQXuc=", - "Microsoft.Extensions.Logging.dll": "sha256-RJE660TEC1wm3MyL1EXQfTQB1qK+JWy1efVUxI8nNUo=", - "Microsoft.Extensions.Options.dll": "sha256-WPBQk7rt2p4aMEo2pTp1sBpsiWdE8MmWuIYq+zl1ceo=", - "Microsoft.Extensions.Primitives.dll": "sha256-eXvGx2jcjpTPEJoAHBsW/VuMPbNyyU+AsuhPmkzSSRY=", - "Microsoft.JSInterop.dll": "sha256-b3z6e/eLKdK4MTMIAdBMz+ItarbS6dGDTt0NMfkgN2c=", - "Microsoft.JSInterop.WebAssembly.dll": "sha256-CINf7y9/MQd41Xogmydycm4rVt+rOdgZAymO8ktk4UE=", - "netstandard.dll": "sha256-mbp7dX1dZT0Rd80+DQpT0671fOX42Bvt8JTQguDVsuk=", - "System.Collections.Concurrent.dll": "sha256-XnO0rRbuFu6WTscyoBt/vqX2vO7WkGwciZaCC1MJEQg=", - "System.Collections.dll": "sha256-fGzI2C6JQx/tdk8eC3BLrl+ydbctohDizwIV143HQvY=", - "System.Collections.NonGeneric.dll": "sha256-NYDm1ibhh9tfRHLL9Kh4pXGg+8KIUtnoq8nWvOrQQUo=", - "System.Collections.Specialized.dll": "sha256-g73IaZsFtxnKoYl5eNIhumNgCt3r79Wy0cvOQJJUErU=", - "System.ComponentModel.Annotations.dll": "sha256-1yB9ytQFkrCaNSgIKSn3g37Co7WiuVb2UyIX5tJpn9w=", - "System.ComponentModel.dll": "sha256-7vcDBo/3bcYI/CjzxGeFgD2a7r2TJ0a+atwSTcxZv/E=", - "System.ComponentModel.Primitives.dll": "sha256-3bJa3IhVUNP23wOIXQnIHzYGXGU61kfPnIr3ZnhtOSE=", - "System.ComponentModel.TypeConverter.dll": "sha256-ArFBDQoxmz42ajM8sI3lBKWFeoxnasD9zaoG5ppNuXU=", - "System.Console.dll": "sha256-Y7CGuJonmsLBs5MhYdxzx/9/0DQUD1MZEBZKp7mnS5k=", - "System.Diagnostics.Debug.dll": "sha256-Utx0c33pJIAOTgXr0JisuNoiNdcAZZg5++RETWRBm8s=", - "System.Diagnostics.Tools.dll": "sha256-9U5du0SxJNKbTMfYbqhv7Vt45AIAUKvPzSKp4LwSimg=", - "System.dll": "sha256-LfkaaAcFv7atiyjqRh9bcYSpLFkeAGhipjz5+flLf4A=", - "System.Linq.dll": "sha256-vGnPgObvNXVo5PYIKJ2qPTpaMYqIuLA2og8wKpp7CDE=", - "System.Linq.Expressions.dll": "sha256-oHXq+gFZ9TsQYdEG0WvCu6e/gqFD2XJ5Kci5iGnQrRM=", - "System.Memory.dll": "sha256-kxvB032gL9cLCriK0PKT2E1VqeK2zi7lldPChSx/Jbk=", - "System.Net.Http.dll": "sha256-gKXsO+cU8KMCE/VKREFBfX53tnOmFr3YSvI4gro+qh0=", - "System.Net.Primitives.dll": "sha256-1S0C20a4sugukyyYb4pqJnEzyW3u/cPDdAhcNa0UxKk=", - "System.ObjectModel.dll": "sha256-JAgq4CYLPtrpAQX2/sgOq8CxNe8xTGjZ5PExoCKSh9Q=", - "System.Private.CoreLib.dll": "sha256-V7dEJBYLM26DgLybCRWDOZ1c3/YV8H5SFbju1Tc7YLE=", - "System.Private.Uri.dll": "sha256-za0kLtYdFrzWVD4T9/j2LqoFs2pPkWSGrx5ag7d8VS4=", - "System.Resources.ResourceManager.dll": "sha256-G6SzDK/wwInqRGk0sye8ulSpHkxHYtil5L8g/eu7odc=", - "System.Runtime.CompilerServices.Unsafe.dll": "sha256-jDHrj0vSGDVwBsg9LfzWPAjzE69E5w6VhZ0RTJjYqkw=", - "System.Runtime.dll": "sha256-+LzGUcDx2CktJNq/y6TuKRTeIKJL1PaSPqIUDB7F7NM=", - "System.Runtime.Extensions.dll": "sha256-QeqlNsrVw+tvWccBrBryak2d11Y8MBzY0VKwj8G1oNA=", - "System.Runtime.InteropServices.JavaScript.dll": "sha256-z5gMwKvxe0+Hh9+0chO4LpPxPIKQe95aYwJuTGbX6pE=", - "System.Text.Encodings.Web.dll": "sha256-nZ82bS6xipJXHHVhw8M7MJ5r5wOIB7X4+DpK6AMEOH4=", - "System.Text.Json.dll": "sha256-7Yf4CatjCQ8BjajYPzfJoGr3bF/gol+l1ev4jbr2qh0=", - "System.Text.RegularExpressions.dll": "sha256-z4J+sKreqwM7koqiHxjio/tPSo+3NtRML+xPyFPAn78=", - "System.Threading.dll": "sha256-cEoLX3r1p9muo6blhxDmLaI2WuAazTn+FlG7MnxJAuE=", - "System.Web.HttpUtility.dll": "sha256-ueN2Yh5PoRwsgN/4KoCTpXa2q0EUSCGM6AuMW8swu8s=" + "jsModuleRuntime": { + "dotnet.runtime.8.0.7.7eo3kimvgq.js": "sha256-soZyw6XWXOLKhA26AOyzSpCP5cAsw1wvhdPHSYNTMfQ=" + }, + "wasmNative": { + "dotnet.native.wasm": "sha256-ApuqKsuYqEC0ZTUIUV5mIV1IIRYYCwmOiB912jgs8CQ=" }, - "runtimeAssets": { - "dotnet.wasm": { - "hash": "sha256-2P6rVlE+GN7v/KBZsI/zwouhfpV38+1lEl5FMslgb4A=", - "behavior": "dotnetwasm" - } + "icu": { + "icudt_CJK.dat": "sha256-SZLtQnRc0JkwqHab0VUVP7T3uBPSeYzxzDnpxPpUnHk=", + "icudt_EFIGS.dat": "sha256-8fItetYY8kQ0ww6oxwTLiT3oXlBwHKumbeP2pRF4yTc=", + "icudt_no_CJK.dat": "sha256-L7sV7NEYP37/Qr2FPCePo5cJqRgTXRwGHuwF5Q+0Nfs=" + }, + "assembly": { + "BlazorComponentUtilities.wasm": "sha256-7qa+C6Zt8hJgUpiGcE1MHWuwfOGMUMVd8ayItqmtQp0=", + "BlazorStrap.Docs.wasm": "sha256-lMmNQAOCeQmV8pkO2AG7qaUJN6w8BNla5xESjPZ+JdE=", + "BlazorStrap.Extensions.FluentValidation.wasm": "sha256-QTZww9shsUxsIP7ga6QeSvJMMzay5AMZxb0AOy1v9iA=", + "BlazorStrap.Extensions.TreeView.wasm": "sha256-P72Qr1DOT0q9ly/RzYRgncRfaUTh5FqO+HJqL+fxb2E=", + "BlazorStrap.Extensions.Wizard.wasm": "sha256-h2iJJ3fHuTETqUyQzhBb8tUzoT15nqFINLFVO/NuDQQ=", + "BlazorStrap.V4.wasm": "sha256-lif796kKi3KHlHYlSgQ5X7aVass9Bjn63nLDKQb8MCQ=", + "BlazorStrap.V5.wasm": "sha256-wxCVcO+IGxmEbmuaUcuIzwwqZoxdbCB+qR7p2fzfTqg=", + "BlazorStrap.wasm": "sha256-4DfDEp9A76ow78CknUX68FX3XbOidhszO9lE58nORB0=", + "BlazorStrap.WASM.wasm": "sha256-9GHUUForiCiEx98F+CEnFyZps8xzPPe/CMH9T+3PyhU=", + "ColorCode.wasm": "sha256-Mz8W+iFHEtIXuTOac2VcI5RUaHwtcUTIC2fBfuvodVE=", + "FluentValidation.wasm": "sha256-FvsjqyJeVfoCs1v2ywx3Q1mEKXXI4uKcTOdMF+cAH98=", + "Markdig.SyntaxHighlighting.wasm": "sha256-X826lDfQCYyN/vrEQxxfipczU0w7acPz0NyOCyk45yg=", + "Markdig.wasm": "sha256-5luP3CrXSptzCb1BTXwb+kwbyIvXrg1ScJQBEW0GiKk=", + "Microsoft.AspNetCore.Components.Forms.wasm": "sha256-2wXdcSJHKa5dv5BLy9ZBUVAzs4UJZGLZd9usVYICruA=", + "Microsoft.AspNetCore.Components.wasm": "sha256-YLH5/ql6IBL3djge668s4XIMHtefHqLAEyS8WqEHLh4=", + "Microsoft.AspNetCore.Components.Web.wasm": "sha256-/jmeOINwHk1ofUAupQNQrBp2cvHiUATPfvsG7EDVgWI=", + "Microsoft.AspNetCore.Components.WebAssembly.wasm": "sha256-j2g9p7h/FV9PWUOXcB37LDjMwgdXGkv0NljivOkVdVc=", + "Microsoft.CSharp.wasm": "sha256-Puy27/oyBiL4gx5ku6A3OTrGfEFiboSrWdbdeltK/34=", + "Microsoft.EntityFrameworkCore.Abstractions.wasm": "sha256-Q4N3X6etlwLMBA1E6qwhvo8q4J9cRTm/87Ey+audIWY=", + "Microsoft.EntityFrameworkCore.InMemory.wasm": "sha256-Tmxf6Kz6afBp4bByK9ZDSEMsKauupEkEormH2I3QwaU=", + "Microsoft.EntityFrameworkCore.wasm": "sha256-mIOHyFcuxNQyM0oGXeVv3QivomutU1pEslp4af88SOk=", + "Microsoft.Extensions.Caching.Abstractions.wasm": "sha256-dsiKnNk5fu1Nr7YgqCCNCIyNXXJYeHgCk0CzvM5NZX0=", + "Microsoft.Extensions.Caching.Memory.wasm": "sha256-G22WVDHoUPj4GQZhpx5XsdMSk0we9QGgT2nsHDq23f0=", + "Microsoft.Extensions.Configuration.Abstractions.wasm": "sha256-2cfVv7fMoPQvzwRmLv4vx2ePK5BWTF12DJgEzBVWRP0=", + "Microsoft.Extensions.Configuration.Json.wasm": "sha256-Qj+ocr7sNImYYg7dfeZDt9jXzynW9zOVEdmW2XolQ+U=", + "Microsoft.Extensions.Configuration.wasm": "sha256-zm8PVUf0NuSs+q0qe4/hxLYY1nC7G/rwSH8lShs9sjU=", + "Microsoft.Extensions.DependencyInjection.Abstractions.wasm": "sha256-AHuvlR0TRe+jlkD7RZcK3zOJupROodgNVbCoSqfxhU0=", + "Microsoft.Extensions.DependencyInjection.wasm": "sha256-itjn2AyoijjCD48QmTYjwkgtIRbyihg8XrjCAQsD/j4=", + "Microsoft.Extensions.Logging.Abstractions.wasm": "sha256-ddDmrOwEvsIRWappyMXVx1Ze2pFIna37LzOFVuDtvGw=", + "Microsoft.Extensions.Logging.wasm": "sha256-d2tRY6VNHfszLqg6yqWlunFAGS4TcC1WycL8fo1uAA8=", + "Microsoft.Extensions.Options.wasm": "sha256-U7sdOcB7sUOVxwcAgIzWjl8JLkcugvpyoqtqAjBzAK0=", + "Microsoft.Extensions.Primitives.wasm": "sha256-eqGAfIsQMgpShCCBuLWEPjM5avkmtNe/i/cNDj93T9k=", + "Microsoft.JSInterop.wasm": "sha256-JGnhUoexxhGxMXgufTC4cK1bYSDQOfBu0nM7KDluELg=", + "Microsoft.JSInterop.WebAssembly.wasm": "sha256-hyyIVcD3Rtow5MRZfR0E4FWwPGcf5Zje0jCQhrf+bCg=", + "netstandard.wasm": "sha256-qtYwRfiFjGyiEZZwp8O5Ko20PC5R76rTY8fCW17xm4Q=", + "System.Collections.Concurrent.wasm": "sha256-2YyVJO3Kl7o9yGm/tyMzwPnqv1RakrbCcT6kqXJxkDM=", + "System.Collections.Immutable.wasm": "sha256-bRrNm1RCAeH1Y47X9pNv0Qv2ZG3CkUfVedzmFO6/4Y8=", + "System.Collections.NonGeneric.wasm": "sha256-JOhwKBMa7i4xC+t0jsT0IM1fVmSPeiiGmJhRTf0PKPw=", + "System.Collections.Specialized.wasm": "sha256-/6XHdK4AxG5Jf4zZvjkGeSApC4XQET55SexUej+LMfg=", + "System.Collections.wasm": "sha256-j7lO9r2InV+ekYxD3MUDVXe6AqrYRlfZnH0gAS7ZBLc=", + "System.ComponentModel.Annotations.wasm": "sha256-QnttuQu5TO9+PlcYN8lmKxEvj1CC3FRXiB0ddNsKUIQ=", + "System.ComponentModel.Primitives.wasm": "sha256-dToXjar7o5aEnvWFB8/8SGMhEhp9ECCPUPM/0g3h4Tc=", + "System.ComponentModel.TypeConverter.wasm": "sha256-zprB5jF0wHifnC7pwIkvzQxZqm24UkMMq/HxMgPJY90=", + "System.ComponentModel.wasm": "sha256-RD/OGljNMSqLcBivPCg1QD7ZAjbZNUi50DmAxaYZikM=", + "System.Console.wasm": "sha256-kXsgwoQvyN7dWVpwToGQdqyL+pz01psSTG5PZG4Uhvg=", + "System.Diagnostics.Debug.wasm": "sha256-2raV9h7wKmTwXOl3j6UezdQhidoRgWfsY35YpQdYwpA=", + "System.Diagnostics.DiagnosticSource.wasm": "sha256-ZLE1TWtHrKQXXG+59icJcZOOqHYEOWxljEh9gMHZt2E=", + "System.Diagnostics.Tools.wasm": "sha256-1nRmbTWc9HG7NxgzqgzYurEvj+IFG6nfupMpAxvxY28=", + "System.Diagnostics.Tracing.wasm": "sha256-h2BXiQKWptwEzR33/vyKPHB+oIXyolJAcZ3Xf2AcwGY=", + "System.Linq.Expressions.wasm": "sha256-Me1reTarLBpBWvsC0xUSJw1Niy+GJbN8sGghK8BKzAA=", + "System.Linq.Queryable.wasm": "sha256-jU084q2WYSUXb6gmED9hOFrYVoXQPYmBCKRDqaGIhTM=", + "System.Linq.wasm": "sha256-B/li5pcp2TVT/PUExSwryxZY53Z8+sEPV24+kuV3No4=", + "System.Memory.wasm": "sha256-FR9LPsAL4No/dnwyiTAIjeC0W4cF3QctowFAOm6ljvc=", + "System.Net.Http.Json.wasm": "sha256-6ozZKeEp37LLxzpR2usEhgwQA3ItvU1GCz1mj0uKvXE=", + "System.Net.Http.wasm": "sha256-cBiW7RaPqFmneJQuQ98Jp3oKdtLkTqP8dIe6zRCT2H4=", + "System.Net.NetworkInformation.wasm": "sha256-h2s+HPbkpcdAYznw1cYx+NC6VDeSlpQFT0QNhZAlXTw=", + "System.Net.Primitives.wasm": "sha256-rtqQ6whi+1i5agCf9o/oeoDOnzXkZwpr23rvSARjK/M=", + "System.ObjectModel.wasm": "sha256-hQzYEBQXqfDrx81DgrwMkz9GVgSD82jTVL/xInPWr4U=", + "System.Private.CoreLib.wasm": "sha256-HqOAkpiai/Tz1E7YBj4/TLhK5P4Q02WEQpWk9gAAb/g=", + "System.Private.Uri.wasm": "sha256-qsaTT7EvIujZo6N4KyIyh/JPMzTxttPbmaLFHchKQgE=", + "System.Resources.ResourceManager.wasm": "sha256-wLdCT8+f0SjP/tNtk1wFLZnR729nWRWlcbgfUfClBz8=", + "System.Runtime.CompilerServices.Unsafe.wasm": "sha256-OI5zQwORtsgPdhrZqH5K6qhF//jkDfR2uI5Bog0BFXE=", + "System.Runtime.Extensions.wasm": "sha256-n+l0jH9GuHQEFil6wAOT5sZqCM2EWgCex+zr5bXSFnM=", + "System.Runtime.InteropServices.JavaScript.wasm": "sha256-Jxnvi52RjQqq3dk8wmNkYny3ZzQWdE0e8IQFKlZIJBE=", + "System.Runtime.Numerics.wasm": "sha256-M3s/jIpTHPvMdssnt8HwNn/cHXlJF+12PAHK9+Qb8U4=", + "System.Runtime.Serialization.Primitives.wasm": "sha256-PR6gAFA3EjObvdxjkxl0T8MDgYdW3/W1tMj8zwJSLQI=", + "System.Runtime.wasm": "sha256-hOvLVpHdLlLjB6PDIbwfTOf0sXWZ11bBuY8jJEJaELE=", + "System.Text.Encodings.Web.wasm": "sha256-OoY6MdQZx/GajkWiV+bORC6/7lV3AuWEZYE4OsCpClA=", + "System.Text.Json.wasm": "sha256-YzUtUzXSGlB+2zlgZsf/NiUHktUbcEAi4xuW6qROKWw=", + "System.Text.RegularExpressions.wasm": "sha256-NlunJ4RF8SPKQzyAIUTXorC5wfj4MuDbmtlOrobR4OE=", + "System.Threading.wasm": "sha256-jZBotmci4S2OMoWTiEq3xPNzoUexUUa+jWvMzKxIrqo=", + "System.Transactions.Local.wasm": "sha256-CL9oEOqEBQKbCVFRdySLw61AVkYaNcFvMHb+Qaoe7+M=", + "System.wasm": "sha256-eod/LnITNsO959j6LrwLxPaXkS+PqOWHAzGnsOB9iHI=", + "System.Web.HttpUtility.wasm": "sha256-YTfUKM8wpF+RP14dcflPJG6XNdXFEsKVhuUNAXJvfwU=" } }, - "cacheBootResources": false, - "debugBuild": false, + "cacheBootResources": true, "debugLevel": 0, "linkerEnabled": true, - "config": [], - "icuDataMode": 2, + "globalizationMode": "sharded", "extensions": { "blazor": {} } diff --git a/docs/VNext/_framework/blazor.boot.json.br b/docs/VNext/_framework/blazor.boot.json.br index ce038024..e169a737 100755 Binary files a/docs/VNext/_framework/blazor.boot.json.br and b/docs/VNext/_framework/blazor.boot.json.br differ diff --git a/docs/VNext/_framework/blazor.boot.json.gz b/docs/VNext/_framework/blazor.boot.json.gz index 3cb2cc20..a0fc2a1d 100755 Binary files a/docs/VNext/_framework/blazor.boot.json.gz and b/docs/VNext/_framework/blazor.boot.json.gz differ diff --git a/docs/VNext/_framework/blazor.webassembly.js b/docs/VNext/_framework/blazor.webassembly.js index 3262acbb..ab90a743 100755 --- a/docs/VNext/_framework/blazor.webassembly.js +++ b/docs/VNext/_framework/blazor.webassembly.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,n;!function(e){window.DotNet=e;const t=[],n=new Map,r=new Map,o="__jsObjectId",s="__byte[]";class a{constructor(e){this._jsObject=e,this._cachedFunctions=new Map}findFunction(e){const t=this._cachedFunctions.get(e);if(t)return t;let n,r=this._jsObject;if(e.split(".").forEach((t=>{if(!(t in r))throw new Error(`Could not find '${e}' ('${t}' was undefined).`);n=r,r=r[t]})),r instanceof Function)return r=r.bind(n),this._cachedFunctions.set(e,r),r;throw new Error(`The value '${e}' is not a function.`)}getWrappedObject(){return this._jsObject}}const i={},c={0:new a(window)};c[0]._cachedFunctions.set("import",(e=>("string"==typeof e&&e.startsWith("./")&&(e=document.baseURI+e.substr(2)),import(e))));let l,u=1,d=1,f=null;function m(e){t.push(e)}function h(e){if(e&&"object"==typeof e){c[d]=new a(e);const t={[o]:d};return d++,t}throw new Error(`Cannot create a JSObjectReference from the value '${e}'.`)}function p(e){let t=-1;if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Blob)t=e.size;else{if(!(e.buffer instanceof ArrayBuffer))throw new Error("Supplied value is not a typed array or blob.");if(void 0===e.byteLength)throw new Error(`Cannot create a JSStreamReference from the value '${e}' as it doesn't have a byteLength.`);t=e.byteLength}const n={__jsStreamReferenceLength:t};try{const t=h(e);n.__jsObjectId=t.__jsObjectId}catch(t){throw new Error(`Cannot create a JSStreamReference from the value '${e}'.`)}return n}function y(e){return e?JSON.parse(e,((e,n)=>t.reduce(((t,n)=>n(e,t)),n))):null}function g(e,t,n,r){const o=w();if(o.invokeDotNetFromJS){const s=k(r),a=o.invokeDotNetFromJS(e,t,n,s);return a?y(a):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function b(e,t,n,r){if(e&&n)throw new Error(`For instance method calls, assemblyName should be null. Received '${e}'.`);const o=u++,s=new Promise(((e,t)=>{i[o]={resolve:e,reject:t}}));try{const s=k(r);w().beginInvokeDotNetFromJS(o,e,t,n,s)}catch(e){v(o,!1,e)}return s}function w(){if(null!==f)return f;throw new Error("No .NET call dispatcher has been set.")}function v(e,t,n){if(!i.hasOwnProperty(e))throw new Error(`There is no pending async call with ID ${e}.`);const r=i[e];delete i[e],t?r.resolve(n):r.reject(n)}function E(e){return e instanceof Error?`${e.message}\n${e.stack}`:e?e.toString():"null"}function _(e,t){const n=c[t];if(n)return n.findFunction(e);throw new Error(`JS object instance with ID ${t} does not exist (has it been disposed?).`)}function C(e){delete c[e]}e.attachDispatcher=function(e){f=e},e.attachReviver=m,e.invokeMethod=function(e,t,...n){return g(e,t,null,n)},e.invokeMethodAsync=function(e,t,...n){return b(e,t,null,n)},e.createJSObjectReference=h,e.createJSStreamReference=p,e.disposeJSObjectReference=function(e){const t=e&&e.__jsObjectId;"number"==typeof t&&C(t)},function(e){e[e.Default=0]="Default",e[e.JSObjectReference=1]="JSObjectReference",e[e.JSStreamReference=2]="JSStreamReference",e[e.JSVoidResult=3]="JSVoidResult"}(l=e.JSCallResultType||(e.JSCallResultType={})),e.jsCallDispatcher={findJSFunction:_,disposeJSObjectReferenceById:C,invokeJSFromDotNet:(e,t,n,r)=>{const o=R(_(e,r).apply(null,y(t)),n);return null==o?null:k(o)},beginInvokeJSFromDotNet:(e,t,n,r,o)=>{const s=new Promise((e=>{e(_(t,o).apply(null,y(n)))}));e&&s.then((t=>k([e,!0,R(t,r)]))).then((t=>w().endInvokeJSFromDotNet(e,!0,t)),(t=>w().endInvokeJSFromDotNet(e,!1,JSON.stringify([e,!1,E(t)]))))},endInvokeDotNetFromJS:(e,t,n)=>{const r=t?y(n):new Error(n);v(parseInt(e,10),t,r)},receiveByteArray:(e,t)=>{n.set(e,t)},supplyDotNetStream:(e,t)=>{if(r.has(e)){const n=r.get(e);r.delete(e),n.resolve(t)}else{const n=new S;n.resolve(t),r.set(e,n)}}};class A{constructor(e){this._id=e}invokeMethod(e,...t){return g(null,e,this._id,t)}invokeMethodAsync(e,...t){return b(null,e,this._id,t)}dispose(){b(null,"__Dispose",this._id,null).catch((e=>console.error(e)))}serializeAsArg(){return{__dotNetObject:this._id}}}e.DotNetObject=A,m((function(e,t){if(t&&"object"==typeof t){if(t.hasOwnProperty("__dotNetObject"))return new A(t.__dotNetObject);if(t.hasOwnProperty(o)){const e=t.__jsObjectId,n=c[e];if(n)return n.getWrappedObject();throw new Error(`JS object instance with Id '${e}' does not exist. It may have been disposed.`)}if(t.hasOwnProperty(s)){const e=t["__byte[]"],r=n.get(e);if(void 0===r)throw new Error(`Byte array index '${e}' does not exist.`);return n.delete(e),r}if(t.hasOwnProperty("__dotNetStream"))return new I(t.__dotNetStream)}return t}));class I{constructor(e){if(r.has(e))this._streamPromise=r.get(e).streamPromise,r.delete(e);else{const t=new S;r.set(e,t),this._streamPromise=t.streamPromise}}stream(){return this._streamPromise}async arrayBuffer(){return new Response(await this.stream()).arrayBuffer()}}class S{constructor(){this.streamPromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}function R(e,t){switch(t){case l.Default:return e;case l.JSObjectReference:return h(e);case l.JSStreamReference:return p(e);case l.JSVoidResult:return null;default:throw new Error(`Invalid JS call result type '${t}'.`)}}let N=0;function k(e){return N=0,JSON.stringify(e,O)}function O(e,t){if(t instanceof A)return t.serializeAsArg();if(t instanceof Uint8Array){f.sendByteArray(N,t);const e={[s]:N};return N++,e}return t}}(e||(e={})),function(e){e[e.prependFrame=1]="prependFrame",e[e.removeFrame=2]="removeFrame",e[e.setAttribute=3]="setAttribute",e[e.removeAttribute=4]="removeAttribute",e[e.updateText=5]="updateText",e[e.stepIn=6]="stepIn",e[e.stepOut=7]="stepOut",e[e.updateMarkup=8]="updateMarkup",e[e.permutationListEntry=9]="permutationListEntry",e[e.permutationListEnd=10]="permutationListEnd"}(t||(t={})),function(e){e[e.element=1]="element",e[e.text=2]="text",e[e.attribute=3]="attribute",e[e.component=4]="component",e[e.region=5]="region",e[e.elementReferenceCapture=6]="elementReferenceCapture",e[e.markup=8]="markup"}(n||(n={}));class r{constructor(e,t){this.componentId=e,this.fieldValue=t}static fromEvent(e,t){const n=t.target;if(n instanceof Element){const t=function(e){return e instanceof HTMLInputElement?e.type&&"checkbox"===e.type.toLowerCase()?{value:e.checked}:{value:e.value}:e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?{value:e.value}:null}(n);if(t)return new r(e,t.value)}return null}}const o=new Map,s=new Map,a=[];function i(e){return o.get(e)}function c(e){const t=o.get(e);return(null==t?void 0:t.browserEventName)||e}function l(e,t){e.forEach((e=>o.set(e,t)))}function u(e){const t=[];for(let n=0;ne.selected)).map((e=>e.value))}}{const e=function(e){return!!e&&"INPUT"===e.tagName&&"checkbox"===e.getAttribute("type")}(t);return{value:e?!!t.checked:t.value}}}}),l(["copy","cut","paste"],{createEventArgs:e=>({type:e.type})}),l(["drag","dragend","dragenter","dragleave","dragover","dragstart","drop"],{createEventArgs:e=>{return{...d(t=e),dataTransfer:t.dataTransfer?{dropEffect:t.dataTransfer.dropEffect,effectAllowed:t.dataTransfer.effectAllowed,files:Array.from(t.dataTransfer.files).map((e=>e.name)),items:Array.from(t.dataTransfer.items).map((e=>({kind:e.kind,type:e.type}))),types:t.dataTransfer.types}:null};var t}}),l(["focus","blur","focusin","focusout"],{createEventArgs:e=>({type:e.type})}),l(["keydown","keyup","keypress"],{createEventArgs:e=>{return{key:(t=e).key,code:t.code,location:t.location,repeat:t.repeat,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,type:t.type};var t}}),l(["contextmenu","click","mouseover","mouseout","mousemove","mousedown","mouseup","mouseleave","mouseenter","dblclick"],{createEventArgs:e=>d(e)}),l(["error"],{createEventArgs:e=>{return{message:(t=e).message,filename:t.filename,lineno:t.lineno,colno:t.colno,type:t.type};var t}}),l(["loadstart","timeout","abort","load","loadend","progress"],{createEventArgs:e=>{return{lengthComputable:(t=e).lengthComputable,loaded:t.loaded,total:t.total,type:t.type};var t}}),l(["touchcancel","touchend","touchmove","touchenter","touchleave","touchstart"],{createEventArgs:e=>{return{detail:(t=e).detail,touches:u(t.touches),targetTouches:u(t.targetTouches),changedTouches:u(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,type:t.type};var t}}),l(["gotpointercapture","lostpointercapture","pointercancel","pointerdown","pointerenter","pointerleave","pointermove","pointerout","pointerover","pointerup"],{createEventArgs:e=>{return{...d(t=e),pointerId:t.pointerId,width:t.width,height:t.height,pressure:t.pressure,tiltX:t.tiltX,tiltY:t.tiltY,pointerType:t.pointerType,isPrimary:t.isPrimary};var t}}),l(["wheel","mousewheel"],{createEventArgs:e=>{return{...d(t=e),deltaX:t.deltaX,deltaY:t.deltaY,deltaZ:t.deltaZ,deltaMode:t.deltaMode};var t}}),l(["toggle"],{createEventArgs:()=>({})});const f=["date","datetime-local","month","time","week"],m=new Map;let h,p,y=0;const g={async add(e,t,n){if(!n)throw new Error("initialParameters must be an object, even if empty.");const r="__bl-dynamic-root:"+(++y).toString();m.set(r,e);const o=await v().invokeMethodAsync("AddRootComponent",t,r),s=new w(o,p[t]);return await s.setParameters(n),s}};class b{invoke(e){return this._callback(e)}setCallback(t){this._selfJSObjectReference||(this._selfJSObjectReference=e.createJSObjectReference(this)),this._callback=t}getJSObjectReference(){return this._selfJSObjectReference}dispose(){this._selfJSObjectReference&&e.disposeJSObjectReference(this._selfJSObjectReference)}}class w{constructor(e,t){this._jsEventCallbackWrappers=new Map,this._componentId=e;for(const e of t)"eventcallback"===e.type&&this._jsEventCallbackWrappers.set(e.name.toLowerCase(),new b)}setParameters(e){const t={},n=Object.entries(e||{}),r=n.length;for(const[e,r]of n){const n=this._jsEventCallbackWrappers.get(e.toLowerCase());n&&r?(n.setCallback(r),t[e]=n.getJSObjectReference()):t[e]=r}return v().invokeMethodAsync("SetRootComponentParameters",this._componentId,r,t)}async dispose(){if(null!==this._componentId){await v().invokeMethodAsync("RemoveRootComponent",this._componentId),this._componentId=null;for(const e of this._jsEventCallbackWrappers.values())e.dispose()}}}function v(){if(!h)throw new Error("Dynamic root components have not been enabled in this application.");return h}const E=new Map;let _;const C=new Promise((e=>{_=e}));function A(e,t,n){return S(e,t.eventHandlerId,(()=>I(e).invokeMethodAsync("DispatchEventAsync",t,n)))}function I(e){const t=E.get(e);if(!t)throw new Error(`No interop methods are registered for renderer ${e}`);return t}let S=(e,t,n)=>n();const R=j(["abort","blur","canplay","canplaythrough","change","cuechange","durationchange","emptied","ended","error","focus","load","loadeddata","loadedmetadata","loadend","loadstart","mouseenter","mouseleave","pointerenter","pointerleave","pause","play","playing","progress","ratechange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeupdate","toggle","unload","volumechange","waiting","DOMNodeInsertedIntoDocument","DOMNodeRemovedFromDocument"]),N={submit:!0},k=j(["click","dblclick","mousedown","mousemove","mouseup"]);class O{constructor(e){this.browserRendererId=e,this.afterClickCallbacks=[];const t=++O.nextEventDelegatorId;this.eventsCollectionKey=`_blazorEvents_${t}`,this.eventInfoStore=new F(this.onGlobalEvent.bind(this))}setListener(e,t,n,r){const o=this.getEventHandlerInfosForElement(e,!0),s=o.getHandler(t);if(s)this.eventInfoStore.update(s.eventHandlerId,n);else{const s={element:e,eventName:t,eventHandlerId:n,renderingComponentId:r};this.eventInfoStore.add(s),o.setHandler(t,s)}}getHandler(e){return this.eventInfoStore.get(e)}removeListener(e){const t=this.eventInfoStore.remove(e);if(t){const e=t.element,n=this.getEventHandlerInfosForElement(e,!1);n&&n.removeHandler(t.eventName)}}notifyAfterClick(e){this.afterClickCallbacks.push(e),this.eventInfoStore.addGlobalListener("click")}setStopPropagation(e,t,n){this.getEventHandlerInfosForElement(e,!0).stopPropagation(t,n)}setPreventDefault(e,t,n){this.getEventHandlerInfosForElement(e,!0).preventDefault(t,n)}onGlobalEvent(e){if(!(e.target instanceof Element))return;this.dispatchGlobalEventToAllElements(e.type,e);const t=(n=e.type,s.get(n));var n;t&&t.forEach((t=>this.dispatchGlobalEventToAllElements(t,e))),"click"===e.type&&this.afterClickCallbacks.forEach((t=>t(e)))}dispatchGlobalEventToAllElements(e,t){const n=t.composedPath();let o=n.shift(),s=null,a=!1;const c=Object.prototype.hasOwnProperty.call(R,e);let l=!1;for(;o;){const f=o,m=this.getEventHandlerInfosForElement(f,!1);if(m){const n=m.getHandler(e);if(n&&(u=f,d=t.type,!((u instanceof HTMLButtonElement||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement||u instanceof HTMLSelectElement)&&Object.prototype.hasOwnProperty.call(k,d)&&u.disabled))){if(!a){const n=i(e);s=(null==n?void 0:n.createEventArgs)?n.createEventArgs(t):{},a=!0}Object.prototype.hasOwnProperty.call(N,t.type)&&t.preventDefault(),A(this.browserRendererId,{eventHandlerId:n.eventHandlerId,eventName:e,eventFieldInfo:r.fromEvent(n.renderingComponentId,t)},s)}m.stopPropagation(e)&&(l=!0),m.preventDefault(e)&&t.preventDefault()}o=c||l?void 0:n.shift()}var u,d}getEventHandlerInfosForElement(e,t){return Object.prototype.hasOwnProperty.call(e,this.eventsCollectionKey)?e[this.eventsCollectionKey]:t?e[this.eventsCollectionKey]=new T:null}}O.nextEventDelegatorId=0;class F{constructor(e){this.globalListener=e,this.infosByEventHandlerId={},this.countByEventName={},a.push(this.handleEventNameAliasAdded.bind(this))}add(e){if(this.infosByEventHandlerId[e.eventHandlerId])throw new Error(`Event ${e.eventHandlerId} is already tracked`);this.infosByEventHandlerId[e.eventHandlerId]=e,this.addGlobalListener(e.eventName)}get(e){return this.infosByEventHandlerId[e]}addGlobalListener(e){if(e=c(e),Object.prototype.hasOwnProperty.call(this.countByEventName,e))this.countByEventName[e]++;else{this.countByEventName[e]=1;const t=Object.prototype.hasOwnProperty.call(R,e);document.addEventListener(e,this.globalListener,t)}}update(e,t){if(Object.prototype.hasOwnProperty.call(this.infosByEventHandlerId,t))throw new Error(`Event ${t} is already tracked`);const n=this.infosByEventHandlerId[e];delete this.infosByEventHandlerId[e],n.eventHandlerId=t,this.infosByEventHandlerId[t]=n}remove(e){const t=this.infosByEventHandlerId[e];if(t){delete this.infosByEventHandlerId[e];const n=c(t.eventName);0==--this.countByEventName[n]&&(delete this.countByEventName[n],document.removeEventListener(n,this.globalListener))}return t}handleEventNameAliasAdded(e,t){if(Object.prototype.hasOwnProperty.call(this.countByEventName,e)){const n=this.countByEventName[e];delete this.countByEventName[e],document.removeEventListener(e,this.globalListener),this.addGlobalListener(t),this.countByEventName[t]+=n-1}}}class T{constructor(){this.handlers={},this.preventDefaultFlags=null,this.stopPropagationFlags=null}getHandler(e){return Object.prototype.hasOwnProperty.call(this.handlers,e)?this.handlers[e]:null}setHandler(e,t){this.handlers[e]=t}removeHandler(e){delete this.handlers[e]}preventDefault(e,t){return void 0!==t&&(this.preventDefaultFlags=this.preventDefaultFlags||{},this.preventDefaultFlags[e]=t),!!this.preventDefaultFlags&&this.preventDefaultFlags[e]}stopPropagation(e,t){return void 0!==t&&(this.stopPropagationFlags=this.stopPropagationFlags||{},this.stopPropagationFlags[e]=t),!!this.stopPropagationFlags&&this.stopPropagationFlags[e]}}function j(e){const t={};return e.forEach((e=>{t[e]=!0})),t}const D=Y("_blazorLogicalChildren"),L=Y("_blazorLogicalParent"),B=Y("_blazorLogicalEnd");function P(e,t){if(e.childNodes.length>0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return D in e||(e[D]=[]),e}function M(e,t){const n=document.createComment("!");return x(n,e,t),n}function x(e,t,n){const r=e;if(e instanceof Comment&&U(r)&&U(r).length>0)throw new Error("Not implemented: inserting non-empty logical container");if(H(r))throw new Error("Not implemented: moving existing logical children");const o=U(t);if(n0;)$(n,0)}const r=n;r.parentNode.removeChild(r)}function H(e){return e[L]||null}function J(e,t){return U(e)[t]}function z(e){const t=K(e);return"http://www.w3.org/2000/svg"===t.namespaceURI&&"foreignObject"!==t.tagName}function U(e){return e[D]}function W(e,t){const n=U(e);t.forEach((e=>{e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=X(e.moveRangeStart)})),t.forEach((t=>{const r=document.createComment("marker");t.moveToBeforeMarker=r;const o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):G(r,e)})),t.forEach((e=>{const t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd;let s=r;for(;s;){const e=s.nextSibling;if(n.insertBefore(s,t),s===o)break;s=e}n.removeChild(t)})),t.forEach((e=>{n[e.toSiblingIndex]=e.moveRangeStart}))}function K(e){if(e instanceof Element||e instanceof DocumentFragment)return e;if(e instanceof Comment)return e.parentNode;throw new Error("Not a valid logical element")}function V(e){const t=U(H(e));return t[Array.prototype.indexOf.call(t,e)+1]||null}function G(e,t){if(t instanceof Element||t instanceof DocumentFragment)t.appendChild(e);else{if(!(t instanceof Comment))throw new Error(`Cannot append node because the parent is not a valid logical element. Parent: ${t}`);{const n=V(t);n?n.parentNode.insertBefore(e,n):G(e,H(t))}}}function X(e){if(e instanceof Element||e instanceof DocumentFragment)return e;const t=V(e);if(t)return t.previousSibling;{const t=H(e);return t instanceof Element||t instanceof DocumentFragment?t.lastChild:X(t)}}function Y(e){return"function"==typeof Symbol?Symbol():e}function q(e){return`_bl_${e}`}e.attachReviver(((e,t)=>t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"__internalId")&&"string"==typeof t.__internalId?function(e){const t=`[${q(e)}]`;return document.querySelector(t)}(t.__internalId):t));const Z="_blazorDeferredValue",Q=document.createElement("template"),ee=document.createElementNS("http://www.w3.org/2000/svg","g"),te={},ne="__internal_",re="preventDefault_",oe="stopPropagation_";class se{constructor(e){this.rootComponentIds=new Set,this.childComponentLocations={},this.eventDelegator=new O(e),this.eventDelegator.notifyAfterClick((e=>{if(!he)return;if(0!==e.button||function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey}(e))return;if(e.defaultPrevented)return;const t=function(e){const t=!window._blazorDisableComposedPath&&e.composedPath&&e.composedPath();if(t){for(let e=0;edocument.baseURI,getLocationHref:()=>location.href};function Ae(e,t,n=!1){const r=Te(e);!t.forceLoad&&De(r)?Ie(r,!1,t.replaceHistoryEntry,t.historyEntryState,n):function(e,t){if(location.href===e){const t=e+"?";history.replaceState(null,"",t),location.replace(e)}else t?location.replace(e):location.href=e}(e,t.replaceHistoryEntry)}async function Ie(e,t,n,r,o=!1){Re(),(o||!ye||await Ne(e,r,t))&&(fe=!0,n?history.replaceState({userState:r,_index:ge},"",e):(ge++,history.pushState({userState:r,_index:ge},"",e)),await ke(t))}function Se(e){return new Promise((t=>{const n=Ee;Ee=()=>{Ee=n,t()},history.go(e)}))}function Re(){_e&&(_e(!1),_e=null)}function Ne(e,t,n){return new Promise((r=>{Re(),ve?(be++,_e=r,ve(be,e,t,n)):r(!1)}))}async function ke(e){var t;we&&await we(location.href,null===(t=history.state)||void 0===t?void 0:t.userState,e)}async function Oe(e){var t,n;Ee&&await Ee(e),ge=null!==(n=null===(t=history.state)||void 0===t?void 0:t._index)&&void 0!==n?n:0}let Fe;function Te(e){return Fe=Fe||document.createElement("a"),Fe.href=e,Fe.href}function je(e,t){return e?e.tagName===t?e:je(e.parentElement,t):null}function De(e){const t=(n=document.baseURI).substring(0,n.lastIndexOf("/"));var n;const r=e.charAt(t.length);return e.startsWith(t)&&(""===r||"/"===r||"?"===r||"#"===r)}const Le={focus:function(e,t){if(e instanceof HTMLElement)e.focus({preventScroll:t});else{if(!(e instanceof SVGElement))throw new Error("Unable to focus an invalid element.");if(!e.hasAttribute("tabindex"))throw new Error("Unable to focus an SVG element that does not have a tabindex.");e.focus({preventScroll:t})}},focusBySelector:function(e){const t=document.querySelector(e);t&&(t.hasAttribute("tabindex")||(t.tabIndex=-1),t.focus())}},Be={init:function(e,t,n,r=50){const o=Me(t);(o||document.documentElement).style.overflowAnchor="none";const s=document.createRange();u(n.parentElement)&&(t.style.display="table-row",n.style.display="table-row");const a=new IntersectionObserver((function(r){r.forEach((r=>{var o;if(!r.isIntersecting)return;s.setStartAfter(t),s.setEndBefore(n);const a=s.getBoundingClientRect().height,i=null===(o=r.rootBounds)||void 0===o?void 0:o.height;r.target===t?e.invokeMethodAsync("OnSpacerBeforeVisible",r.intersectionRect.top-r.boundingClientRect.top,a,i):r.target===n&&n.offsetHeight>0&&e.invokeMethodAsync("OnSpacerAfterVisible",r.boundingClientRect.bottom-r.intersectionRect.bottom,a,i)}))}),{root:o,rootMargin:`${r}px`});a.observe(t),a.observe(n);const i=l(t),c=l(n);function l(e){const t={attributes:!0},n=new MutationObserver(((n,r)=>{u(e.parentElement)&&(r.disconnect(),e.style.display="table-row",r.observe(e,t)),a.unobserve(e),a.observe(e)}));return n.observe(e,t),n}function u(e){return null!==e&&(e instanceof HTMLTableElement&&""===e.style.display||"table"===e.style.display||e instanceof HTMLTableSectionElement&&""===e.style.display||"table-row-group"===e.style.display)}Pe[e._id]={intersectionObserver:a,mutationObserverBefore:i,mutationObserverAfter:c}},dispose:function(e){const t=Pe[e._id];t&&(t.intersectionObserver.disconnect(),t.mutationObserverBefore.disconnect(),t.mutationObserverAfter.disconnect(),e.dispose(),delete Pe[e._id])}},Pe={};function Me(e){return e&&e!==document.body&&e!==document.documentElement?"visible"!==getComputedStyle(e).overflowY?e:Me(e.parentElement):null}const xe={getAndRemoveExistingTitle:function(){var e;const t=document.head?document.head.getElementsByTagName("title"):[];if(0===t.length)return null;let n=null;for(let r=t.length-1;r>=0;r--){const o=t[r],s=o.previousSibling;s instanceof Comment&&null!==H(s)||(null===n&&(n=o.textContent),null===(e=o.parentNode)||void 0===e||e.removeChild(o))}return n}},$e={init:function(e,t){t._blazorInputFileNextFileId=0,t.addEventListener("click",(function(){t.value=""})),t.addEventListener("change",(function(){t._blazorFilesById={};const n=Array.prototype.map.call(t.files,(function(e){const n={id:++t._blazorInputFileNextFileId,lastModified:new Date(e.lastModified).toISOString(),name:e.name,size:e.size,contentType:e.type,readPromise:void 0,arrayBuffer:void 0,blob:e};return t._blazorFilesById[n.id]=n,n}));e.invokeMethodAsync("NotifyChange",n)}))},toImageFile:async function(e,t,n,r,o){const s=He(e,t),a=await new Promise((function(e){const t=new Image;t.onload=function(){URL.revokeObjectURL(t.src),e(t)},t.onerror=function(){t.onerror=null,URL.revokeObjectURL(t.src)},t.src=URL.createObjectURL(s.blob)})),i=await new Promise((function(e){var t;const s=Math.min(1,r/a.width),i=Math.min(1,o/a.height),c=Math.min(s,i),l=document.createElement("canvas");l.width=Math.round(a.width*c),l.height=Math.round(a.height*c),null===(t=l.getContext("2d"))||void 0===t||t.drawImage(a,0,0,l.width,l.height),l.toBlob(e,n)})),c={id:++e._blazorInputFileNextFileId,lastModified:s.lastModified,name:s.name,size:(null==i?void 0:i.size)||0,contentType:n,blob:i||s.blob};return e._blazorFilesById[c.id]=c,c},readFileData:async function(e,t){return He(e,t).blob}};function He(e,t){const n=e._blazorFilesById[t];if(!n)throw new Error(`There is no file with ID ${t}. The file list may have changed. See https://aka.ms/aspnet/blazor-input-file-multiple-selections.`);return n}const Je=new Set,ze={enableNavigationPrompt:function(e){0===Je.size&&window.addEventListener("beforeunload",Ue),Je.add(e)},disableNavigationPrompt:function(e){Je.delete(e),0===Je.size&&window.removeEventListener("beforeunload",Ue)}};function Ue(e){e.preventDefault(),e.returnValue=!0}const We=new Map,Ke={navigateTo:function(e,t,n=!1){Ae(e,t instanceof Object?t:{forceLoad:t,replaceHistoryEntry:n})},registerCustomEventType:function(e,t){if(!t)throw new Error("The options parameter is required.");if(o.has(e))throw new Error(`The event '${e}' is already registered.`);if(t.browserEventName){const n=s.get(t.browserEventName);n?n.push(e):s.set(t.browserEventName,[e]),a.forEach((n=>n(e,t.browserEventName)))}o.set(e,t)},rootComponents:g,_internal:{navigationManager:Ce,domWrapper:Le,Virtualize:Be,PageTitle:xe,InputFile:$e,NavigationLock:ze,getJSDataStreamChunk:async function(e,t,n){return e instanceof Blob?await async function(e,t,n){const r=e.slice(t,t+n),o=await r.arrayBuffer();return new Uint8Array(o)}(e,t,n):function(e,t,n){return new Uint8Array(e.buffer,e.byteOffset+t,n)}(e,t,n)},receiveDotNetDataStream:function(t,n,r,o){let s=We.get(t);if(!s){const n=new ReadableStream({start(e){We.set(t,e),s=e}});e.jsCallDispatcher.supplyDotNetStream(t,n)}o?(s.error(o),We.delete(t)):0===r?(s.close(),We.delete(t)):s.enqueue(n.length===r?n:n.subarray(0,r))},attachWebRendererInterop:function(t,n,r,o){if(E.has(t))throw new Error(`Interop methods are already registered for renderer ${t}`);E.set(t,n),Object.keys(r).length>0&&function(t,n,r){if(h)throw new Error("Dynamic root components have already been enabled.");h=t,p=n;for(const[t,o]of Object.entries(r)){const r=e.jsCallDispatcher.findJSFunction(t,0);for(const e of o)r(e,n[e])}}(I(t),r,o),_()}}};let Ve;function Ge(e){return Ve=e,Ve}var Xe,Ye;window.Blazor=Ke;const qe=navigator,Ze=qe.userAgentData&&qe.userAgentData.brands,Qe=Ze?Ze.some((e=>"Google Chrome"===e.brand||"Microsoft Edge"===e.brand||"Chromium"===e.brand)):window.chrome,et=null!==(Ye=null===(Xe=qe.userAgentData)||void 0===Xe?void 0:Xe.platform)&&void 0!==Ye?Ye:navigator.platform;let tt=!1,nt=!1;function rt(){return(tt||nt)&&Qe}let ot=!1;function st(){const e=document.querySelector("#blazor-error-ui");e&&(e.style.display="block"),ot||(ot=!0,document.querySelectorAll("#blazor-error-ui .reload").forEach((e=>{e.onclick=function(e){location.reload(),e.preventDefault()}})),document.querySelectorAll("#blazor-error-ui .dismiss").forEach((e=>{e.onclick=function(e){const t=document.querySelector("#blazor-error-ui");t&&(t.style.display="none"),e.preventDefault()}})))}class at{constructor(e,t){this.bootConfig=e,this.applicationEnvironment=t}static async initAsync(e,t){const n=void 0!==e?e("manifest","blazor.boot.json","_framework/blazor.boot.json",""):a("_framework/blazor.boot.json");let r;r=n?"string"==typeof n?await a(n):await n:await a("_framework/blazor.boot.json");const o=t||r.headers.get("Blazor-Environment")||"Production",s=await r.json();return s.modifiableAssemblies=r.headers.get("DOTNET-MODIFIABLE-ASSEMBLIES"),s.aspnetCoreBrowserTools=r.headers.get("ASPNETCORE-BROWSER-TOOLS"),new at(s,o);function a(e){return fetch(e,{method:"GET",credentials:"include",cache:"no-cache"})}}}var it;let ct,lt,ut,dt;!function(e){e[e.Sharded=0]="Sharded",e[e.All=1]="All",e[e.Invariant=2]="Invariant"}(it||(it={}));const ft=Math.pow(2,32),mt=Math.pow(2,21)-1;let ht=null;function pt(e){return lt.getI32(e)}const yt={start:async function(t){(function(e){tt=!!e.bootConfig.resources.pdb,nt=e.bootConfig.debugBuild;const t=et.match(/^Mac/i)?"Cmd":"Alt";rt()&&console.info(`Debugging hotkey: Shift+${t}+D (when application has focus)`),document.addEventListener("keydown",(e=>{e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(nt||tt?Qe?function(){const e=document.createElement("a");e.href=`_framework/debug?url=${encodeURIComponent(location.href)}`,e.target="_blank",e.rel="noopener noreferrer",e.click()}():console.error("Currently, only Microsoft Edge (80+), Google Chrome, or Chromium, are supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))}))})(t),await async function(t){let n,r;const o=new Promise(((e,t)=>{n=e,r=t})),s=async function(e){if("undefined"==typeof WebAssembly||!WebAssembly.validate)throw new Error("This browser does not support WebAssembly.");const t=Object.keys(e.bootConfig.resources.runtime).filter((e=>e.startsWith("dotnet.")&&e.endsWith(".js")))[0],n=e.bootConfig.resources.runtime[t];let r,o=`_framework/${t}`;if(e.startOptions.loadBootResource){const r="dotnetjs",s=e.startOptions.loadBootResource(r,t,o,n);if("string"==typeof s)o=s;else if(s)throw new Error(`For a ${r} resource, custom loaders must supply a URI string.`)}if(e.bootConfig.cacheBootResources){const e=document.createElement("link");e.rel="modulepreload",e.href=o,e.crossOrigin="anonymous",e.integrity=n,document.head.appendChild(e)}const s=new Promise((e=>{r=e}));globalThis.__onDotnetRuntimeLoaded=e=>{delete globalThis.__onDotnetRuntimeLoaded,r(e)};const a=new URL(o,document.baseURI).toString(),{default:i}=await import(a);return i?(delete globalThis.__onDotnetRuntimeLoaded,i):await s}(t),a=t.bootConfig.resources,i=window.Module||{},c=["DEBUGGING ENABLED"],l=e=>c.indexOf(e)<0&&console.log(e),u=e=>{console.error(e),st()},d=i.preRun||[],f=i.postRun||[];i.preloadPlugins=[];let m=0;function h(){m++;const e=m/b.length*100;document.documentElement.style.setProperty("--blazor-load-percentage",`${e}%`),document.documentElement.style.setProperty("--blazor-load-percentage-text",`"${Math.floor(e)}%"`)}const p=t.loadResources(a.assembly,(e=>`_framework/${e}`),"assembly"),y=t.loadResources(a.pdb||{},(e=>`_framework/${e}`),"pdb"),g=t.loadResource("dotnet.wasm","_framework/dotnet.wasm",t.bootConfig.resources.runtime["dotnet.wasm"],"dotnetwasm"),b=p.concat(y,g);b.forEach((e=>e.response.then((e=>h()))));const w="dotnet.timezones.blat";let v,E;if(t.bootConfig.resources.runtime.hasOwnProperty(w)&&(v=t.loadResource(w,"_framework/dotnet.timezones.blat",t.bootConfig.resources.runtime["dotnet.timezones.blat"],"globalization"),b.push(v),v.response.then((e=>h()))),t.bootConfig.icuDataMode!==it.Invariant){const e=t.startOptions.applicationCulture||navigator.languages&&navigator.languages[0],n=function(e,t){if(!t||e.icuDataMode===it.All)return"icudt.dat";const n=t.split("-")[0];return["en","fr","it","de","es"].includes(n)?"icudt_EFIGS.dat":["zh","ko","ja"].includes(n)?"icudt_CJK.dat":"icudt_no_CJK.dat"}(t.bootConfig,e);E=t.loadResource(n,`_framework/${n}`,t.bootConfig.resources.runtime[n],"globalization"),b.push(E),E.response.then((e=>h()))}const _=await s;return await _((o=>{const{MONO:s,BINDING:a,Module:c,IMPORTS:m}=o;async function h(e,t){const n=`blazor:${e.name}`;ut.addRunDependency(n);try{const n=await e.response.then((e=>e.arrayBuffer())),r=new Uint8Array(n),s=ut._malloc(r.length);new Uint8Array(ut.HEAPU8.buffer,s,r.length).set(r),lt.mono_wasm_add_assembly(t,s,r.length),lt.loaded_files.push((o=e.url,gt.href=o,gt.href))}catch(e){return void r(e)}var o;ut.removeRunDependency(n)}return ut=c,ct=a,lt=s,dt=m,{...i,disableDotnet6Compatibility:!1,preRun:[()=>{v&&async function(e){const t="blazor:timezonedata";ut.addRunDependency(t);const n=await e.response,r=await n.arrayBuffer();ut.FS_createPath("/","usr",!0,!0),ut.FS_createPath("/usr/","share",!0,!0),ut.FS_createPath("/usr/share/","zoneinfo",!0,!0),lt.mono_wasm_load_data_archive(new Uint8Array(r),"/usr/share/zoneinfo/"),ut.removeRunDependency(t)}(v),E&&async function(e){const t="blazor:icudata";ut.addRunDependency(t);const n=await e.response,r=new Uint8Array(await n.arrayBuffer()),o=lt.mono_wasm_load_bytes_into_heap(r);if(!lt.mono_wasm_load_icu_data(o))throw new Error("Error loading ICU asset.");ut.removeRunDependency(t)}(E),p.forEach((e=>h(e,Et(e.name,".dll")))),y.forEach((e=>h(e,e.name))),Ke._internal.dotNetCriticalError=e=>u(e||"(null)"),Ke._internal.getSatelliteAssemblies=e=>{const n=ct.mono_array_to_js_array(e),r=t.bootConfig.resources.satelliteResources;if(r){const e=Promise.all(n.filter((e=>r.hasOwnProperty(e))).map((e=>t.loadResources(r[e],(e=>`_framework/${e}`),"assembly"))).reduce(((e,t)=>e.concat(t)),new Array).map((async e=>(await e.response).arrayBuffer())));return ct.js_to_mono_obj(e.then((e=>(e.length&&(Ke._internal.readSatelliteAssemblies=()=>{const t=ct.mono_obj_array_new(e.length);for(let n=0;n{const r=ct.mono_array_to_js_array(n),o=t.bootConfig.resources.lazyAssembly;if(!o)throw new Error("No assemblies have been marked as lazy-loadable. Use the 'BlazorWebAssemblyLazyLoad' item group in your project file to enable lazy loading an assembly.");const s=r.filter((e=>o.hasOwnProperty(e)));if(s.length!==r.length){const e=r.filter((e=>!s.includes(e)));throw new Error(`${e.join()} must be marked with 'BlazorWebAssemblyLazyLoad' item group in your project file to allow lazy-loading.`)}let a;if(rt()){const e=t.bootConfig.resources.pdb,n=s.map((e=>Et(e,".pdb")));e&&(a=Promise.all(n.map((e=>o.hasOwnProperty(e)?t.loadResource(e,`_framework/${e}`,o[e],"pdb"):null)).map((async e=>e?(await e.response).arrayBuffer():null))))}const i=Promise.all(s.map((e=>t.loadResource(e,`_framework/${e}`,o[e],"assembly"))).map((async e=>(await e.response).arrayBuffer())));return ct.js_to_mono_obj(Promise.all([i,a]).then((t=>(e.assemblies=t[0],e.pdbs=t[1],e.assemblies.length&&(Ke._internal.readLazyAssemblies=()=>{const{assemblies:t}=e;if(!t)return ct.mono_obj_array_new(0);const n=ct.mono_obj_array_new(t.length);for(let e=0;e{const{assemblies:t,pdbs:n}=e;if(!t)return ct.mono_obj_array_new(0);const r=ct.mono_obj_array_new(t.length);for(let e=0;e{t.bootConfig.debugBuild&&t.bootConfig.cacheBootResources&&t.logToConsole(),t.purgeUnusedCacheEntriesAsync(),t.bootConfig.icuDataMode===it.Sharded&&(lt.mono_wasm_setenv("__BLAZOR_SHARDED_ICU","1"),t.startOptions.applicationCulture&<.mono_wasm_setenv("LANG",`${t.startOptions.applicationCulture}.UTF-8`));let r="UTC";try{r=Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}lt.mono_wasm_setenv("TZ",r||"UTC"),t.bootConfig.modifiableAssemblies&<.mono_wasm_setenv("DOTNET_MODIFIABLE_ASSEMBLIES",t.bootConfig.modifiableAssemblies),t.bootConfig.aspnetCoreBrowserTools&<.mono_wasm_setenv("__ASPNETCORE_BROWSER_TOOLS",t.bootConfig.aspnetCoreBrowserTools),lt.mono_wasm_load_runtime("appBinDir",rt()?-1:0),lt.mono_wasm_runtime_ready();try{ct.bind_static_method("invalid-fqn","")}catch(e){}dt.Blazor={_internal:Ke._internal},function(){const t=wt("Microsoft.AspNetCore.Components.WebAssembly","Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime","InvokeDotNet"),n=wt("Microsoft.AspNetCore.Components.WebAssembly","Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime","BeginInvokeDotNet"),r=wt("Microsoft.AspNetCore.Components.WebAssembly","Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime","EndInvokeJS"),o=wt("Microsoft.AspNetCore.Components.WebAssembly","Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime","NotifyByteArrayAvailable");e.attachDispatcher({beginInvokeDotNetFromJS:(e,t,r,o,s)=>{if(_t(),!o&&!t)throw new Error("Either assemblyName or dotNetObjectId must have a non null value.");const a=o?o.toString():t;n(e?e.toString():null,a,r,s)},endInvokeJSFromDotNet:(e,t,n)=>{r(n)},sendByteArray:(e,t)=>{vt=t,o(e)},invokeDotNetFromJS:(e,n,r,o)=>(_t(),t(e||null,n,r?r.toString():null,o))})}(),n(o)},...f],print:l,printErr:u,instantiateWasm:(e,t)=>((async()=>{let n;try{const t=await g;n=await async function(e,t){var n;const r=await e.response,o="application/wasm"===(null===(n=r.headers)||void 0===n?void 0:n.get("content-type"));if(o&&"function"==typeof WebAssembly.instantiateStreaming)return(await WebAssembly.instantiateStreaming(r,t)).instance;{o||console.warn('WebAssembly resource does not have the expected content type "application/wasm", so falling back to slower ArrayBuffer instantiation.');const e=await r.arrayBuffer();return(await WebAssembly.instantiate(e,t)).instance}}(t,e)}catch(e){throw u(e.toString()),e}t(n)})(),[]),onRuntimeInitialized:()=>{E||lt.mono_wasm_setenv("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT","1")}}})),await o}(t)},callEntryPoint:async function(e){const t=[[]];try{await ct.call_assembly_entry_point(e,t,"m")}catch(e){console.error(e),st()}},toUint8Array:function(e){const t=bt(e),n=pt(t),r=new Uint8Array(n);return r.set(ut.HEAPU8.subarray(t+4,t+4+n)),r},getArrayLength:function(e){return pt(bt(e))},getArrayEntryPtr:function(e,t,n){return bt(e)+4+t*n},getObjectFieldsBaseAddress:function(e){return e+8},readInt16Field:function(e,t){return n=e+(t||0),lt.getI16(n);var n},readInt32Field:function(e,t){return pt(e+(t||0))},readUint64Field:function(e,t){return function(e){const t=e>>2,n=ut.HEAPU32[t+1];if(n>mt)throw new Error(`Cannot read uint64 with high order part ${n}, because the result would exceed Number.MAX_SAFE_INTEGER.`);return n*ft+ut.HEAPU32[t]}(e+(t||0))},readFloatField:function(e,t){return n=e+(t||0),lt.getF32(n);var n},readObjectField:function(e,t){return pt(e+(t||0))},readStringField:function(e,t,n){const r=pt(e+(t||0));if(0===r)return null;if(n){const e=ct.unbox_mono_obj(r);return"boolean"==typeof e?e?"":null:e}let o;return ht?(o=ht.stringCache.get(r),void 0===o&&(o=ct.conv_string(r),ht.stringCache.set(r,o))):o=ct.conv_string(r),o},readStructField:function(e,t){return e+(t||0)},beginHeapLock:function(){return _t(),ht=new Ct,ht},invokeWhenHeapUnlocked:function(e){ht?ht.enqueuePostReleaseAction(e):e()}},gt=document.createElement("a");function bt(e){return e+12}function wt(e,t,n){const r=`[${e}] ${t}:${n}`;return ct.bind_static_method(r)}let vt=null;function Et(e,t){const n=e.lastIndexOf(".");if(n<0)throw new Error(`No extension to replace in '${e}'`);return e.substr(0,n)+t}function _t(){if(ht)throw new Error("Assertion failed - heap is currently locked")}class Ct{constructor(){this.stringCache=new Map}enqueuePostReleaseAction(e){this.postReleaseActions||(this.postReleaseActions=[]),this.postReleaseActions.push(e)}release(){var e;if(ht!==this)throw new Error("Trying to release a lock which isn't current");for(ht=null;null===(e=this.postReleaseActions)||void 0===e?void 0:e.length;)this.postReleaseActions.shift()(),_t()}}class At{constructor(e){this.batchAddress=e,this.arrayRangeReader=It,this.arrayBuilderSegmentReader=St,this.diffReader=Rt,this.editReader=Nt,this.frameReader=kt}updatedComponents(){return Ve.readStructField(this.batchAddress,0)}referenceFrames(){return Ve.readStructField(this.batchAddress,It.structLength)}disposedComponentIds(){return Ve.readStructField(this.batchAddress,2*It.structLength)}disposedEventHandlerIds(){return Ve.readStructField(this.batchAddress,3*It.structLength)}updatedComponentsEntry(e,t){return Ot(e,t,Rt.structLength)}referenceFramesEntry(e,t){return Ot(e,t,kt.structLength)}disposedComponentIdsEntry(e,t){const n=Ot(e,t,4);return Ve.readInt32Field(n)}disposedEventHandlerIdsEntry(e,t){const n=Ot(e,t,8);return Ve.readUint64Field(n)}}const It={structLength:8,values:e=>Ve.readObjectField(e,0),count:e=>Ve.readInt32Field(e,4)},St={structLength:12,values:e=>{const t=Ve.readObjectField(e,0),n=Ve.getObjectFieldsBaseAddress(t);return Ve.readObjectField(n,0)},offset:e=>Ve.readInt32Field(e,4),count:e=>Ve.readInt32Field(e,8)},Rt={structLength:4+St.structLength,componentId:e=>Ve.readInt32Field(e,0),edits:e=>Ve.readStructField(e,4),editsEntry:(e,t)=>Ot(e,t,Nt.structLength)},Nt={structLength:20,editType:e=>Ve.readInt32Field(e,0),siblingIndex:e=>Ve.readInt32Field(e,4),newTreeIndex:e=>Ve.readInt32Field(e,8),moveToSiblingIndex:e=>Ve.readInt32Field(e,8),removedAttributeName:e=>Ve.readStringField(e,16)},kt={structLength:36,frameType:e=>Ve.readInt16Field(e,4),subtreeLength:e=>Ve.readInt32Field(e,8),elementReferenceCaptureId:e=>Ve.readStringField(e,16),componentId:e=>Ve.readInt32Field(e,12),elementName:e=>Ve.readStringField(e,16),textContent:e=>Ve.readStringField(e,16),markupContent:e=>Ve.readStringField(e,16),attributeName:e=>Ve.readStringField(e,16),attributeValue:e=>Ve.readStringField(e,24,!0),attributeEventHandlerId:e=>Ve.readUint64Field(e,8)};function Ot(e,t,n){return Ve.getArrayEntryPtr(e,t,n)}class Ft{constructor(e,t,n){this.bootConfig=e,this.cacheIfUsed=t,this.startOptions=n,this.usedCacheKeys={},this.networkLoads={},this.cacheLoads={}}static async initAsync(e,t){const n=await async function(e){if(!e.cacheBootResources||"undefined"==typeof caches)return null;if(!1===window.isSecureContext)return null;const t=`blazor-resources-${document.baseURI.substring(document.location.origin.length)}`;try{return await caches.open(t)||null}catch{return null}}(e);return new Ft(e,n,t)}loadResources(e,t,n){return Object.keys(e).map((r=>this.loadResource(r,t(r),e[r],n)))}loadResource(e,t,n,r){return{name:e,url:t,response:this.cacheIfUsed?this.loadResourceWithCaching(this.cacheIfUsed,e,t,n,r):this.loadResourceWithoutCaching(e,t,n,r)}}logToConsole(){const e=Object.values(this.cacheLoads),t=Object.values(this.networkLoads),n=Tt(e),r=Tt(t),o=n+r;if(0===o)return;const s=this.bootConfig.linkerEnabled?"%c":"\n%cThis application was built with linking (tree shaking) disabled. Published applications will be significantly smaller.";console.groupCollapsed(`%cblazor%c Loaded ${jt(o)} resources${s}`,"background: purple; color: white; padding: 1px 3px; border-radius: 3px;","font-weight: bold;","font-weight: normal;"),e.length&&(console.groupCollapsed(`Loaded ${jt(n)} resources from cache`),console.table(this.cacheLoads),console.groupEnd()),t.length&&(console.groupCollapsed(`Loaded ${jt(r)} resources from network`),console.table(this.networkLoads),console.groupEnd()),console.groupEnd()}async purgeUnusedCacheEntriesAsync(){const e=this.cacheIfUsed;if(e){const t=(await e.keys()).map((async t=>{t.url in this.usedCacheKeys||await e.delete(t)}));await Promise.all(t)}}async loadResourceWithCaching(e,t,n,r,o){if(!r||0===r.length)throw new Error("Content hash is required");const s=Te(`${n}.${r}`);let a;this.usedCacheKeys[s]=!0;try{a=await e.match(s)}catch{}if(a){const e=parseInt(a.headers.get("content-length")||"0");return this.cacheLoads[t]={responseBytes:e},a}{const a=await this.loadResourceWithoutCaching(t,n,r,o);return this.addToCacheAsync(e,t,s,a),a}}loadResourceWithoutCaching(e,t,n,r){if(this.startOptions.loadBootResource){const o=this.startOptions.loadBootResource(r,e,t,n);if(o instanceof Promise)return o;"string"==typeof o&&(t=o)}return fetch(t,{cache:"no-cache",integrity:this.bootConfig.cacheBootResources?n:void 0})}async addToCacheAsync(e,t,n,r){const o=await r.clone().arrayBuffer(),s=function(e){if("undefined"!=typeof performance)return performance.getEntriesByName(e)[0]}(r.url),a=s&&s.encodedBodySize||void 0;this.networkLoads[t]={responseBytes:a};const i=new Response(o,{headers:{"content-type":r.headers.get("content-type")||"","content-length":(a||r.headers.get("content-length")||"").toString()}});try{await e.put(n,i)}catch{}}}function Tt(e){return e.reduce(((e,t)=>e+(t.responseBytes||0)),0)}function jt(e){return`${(e/1048576).toFixed(2)} MB`}class Dt{static async initAsync(e){Ke._internal.getApplicationEnvironment=()=>ct.js_string_to_mono_string(e.applicationEnvironment);const t=await Promise.all((e.bootConfig.config||[]).filter((t=>"appsettings.json"===t||t===`appsettings.${e.applicationEnvironment}.json`)).map((async e=>({name:e,content:await n(e)}))));async function n(e){const t=await fetch(e,{method:"GET",credentials:"include",cache:"no-cache"});return new Uint8Array(await t.arrayBuffer())}Ke._internal.getConfig=e=>{const n=ct.conv_string(e),r=t.find((e=>e.name===n));return r?ct.js_typed_array_to_array(r.content):void 0}}}class Lt{constructor(e){this.preregisteredComponents=e;const t={};for(let n=0;no.push(e))),e[L]=r,t&&(e[B]=t,P(t)),P(e)}(this.componentsById[t].start,this.componentsById[t].end)}getParameterValues(e){return this.componentsById[e].parameterValues}getParameterDefinitions(e){return this.componentsById[e].parameterDefinitions}getTypeName(e){return this.componentsById[e].typeName}getAssembly(e){return this.componentsById[e].assembly}getId(e){return this.preregisteredComponents[e].id}getCount(){return this.preregisteredComponents.length}}const Bt=/^\s*Blazor-Component-State:(?[a-zA-Z0-9+/=]+)$/;function Pt(e){var t;if(e.nodeType===Node.COMMENT_NODE){const n=e.textContent||"",r=Bt.exec(n),o=r&&r.groups&&r.groups.state;return o&&(null===(t=e.parentNode)||void 0===t||t.removeChild(e)),o}if(!e.hasChildNodes())return;const n=e.childNodes;for(let e=0;e.*)$/);function $t(e,t){const n=e.currentElement;if(n&&n.nodeType===Node.COMMENT_NODE&&n.textContent){const r=xt.exec(n.textContent),o=r&&r.groups&&r.groups.descriptor;if(!o)return;try{const r=function(e){const t=JSON.parse(e),{type:n}=t;if("server"!==n&&"webassembly"!==n)throw new Error(`Invalid component type '${n}'.`);return t}(o);switch(t){case"webassembly":return function(e,t,n){const{type:r,assembly:o,typeName:s,parameterDefinitions:a,parameterValues:i,prerenderId:c}=e;if("webassembly"===r){if(!o)throw new Error("assembly must be defined when using a descriptor.");if(!s)throw new Error("typeName must be defined when using a descriptor.");if(c){const e=Ht(c,n);if(!e)throw new Error(`Could not find an end component comment for '${t}'`);return{type:r,assembly:o,typeName:s,parameterDefinitions:a&&atob(a),parameterValues:i&&atob(i),start:t,prerenderId:c,end:e}}return{type:r,assembly:o,typeName:s,parameterDefinitions:a&&atob(a),parameterValues:i&&atob(i),start:t}}}(r,n,e);case"server":return function(e,t,n){const{type:r,descriptor:o,sequence:s,prerenderId:a}=e;if("server"===r){if(!o)throw new Error("descriptor must be defined when using a descriptor.");if(void 0===s)throw new Error("sequence must be defined when using a descriptor.");if(!Number.isInteger(s))throw new Error(`Error parsing the sequence '${s}' for component '${JSON.stringify(e)}'`);if(a){const e=Ht(a,n);if(!e)throw new Error(`Could not find an end component comment for '${t}'`);return{type:r,sequence:s,descriptor:o,start:t,prerenderId:a,end:e}}return{type:r,sequence:s,descriptor:o,start:t}}}(r,n,e)}}catch(e){throw new Error(`Found malformed component comment at ${n.textContent}`)}}}function Ht(e,t){for(;t.next()&&t.currentElement;){const n=t.currentElement;if(n.nodeType!==Node.COMMENT_NODE)continue;if(!n.textContent)continue;const r=xt.exec(n.textContent),o=r&&r[1];if(o)return Jt(o,e),n}}function Jt(e,t){const n=JSON.parse(e);if(1!==Object.keys(n).length)throw new Error(`Invalid end of component comment: '${e}'`);const r=n.prerenderId;if(!r)throw new Error(`End of component comment must have a value for the prerendered property: '${e}'`);if(r!==t)throw new Error(`End of component comment prerendered property must match the start comment prerender id: '${t}', '${r}'`)}class zt{constructor(e){this.childNodes=e,this.currentIndex=-1,this.length=e.length}next(){return this.currentIndex++,this.currentIndexasync function(e,n){const r=function(e){const t=document.baseURI;return t.endsWith("/")?`${t}${e}`:`${t}/${e}`}(n),o=await import(r);if(void 0===o)return;const{beforeStart:s,afterStarted:a}=o;return a&&e.afterStartedCallbacks.push(a),s?s(...t):void 0}(this,e))))}async invokeAfterStartedCallbacks(e){await C,await Promise.all(this.afterStartedCallbacks.map((t=>t(e))))}}let Kt=!1;async function Vt(t){if(Kt)throw new Error("Blazor has already started.");Kt=!0,function(){if(window.parent!==window&&!window.opener&&window.frameElement){const e=window.sessionStorage&&window.sessionStorage["Microsoft.AspNetCore.Components.WebAssembly.Authentication.CachedAuthSettings"],t=e&&JSON.parse(e);return t&&t.redirect_uri&&location.href.startsWith(t.redirect_uri)}return!1}()&&await new Promise((()=>{})),S=(e,t,n)=>{const r=function(e){return de[e]}(e);r.eventDelegator.getHandler(t)&&yt.invokeWhenHeapUnlocked(n)},Ke._internal.applyHotReload=(t,n,r,o)=>{e.invokeMethod("Microsoft.AspNetCore.Components.WebAssembly","ApplyHotReloadDelta",t,n,r,o)},Ke._internal.getApplyUpdateCapabilities=()=>e.invokeMethod("Microsoft.AspNetCore.Components.WebAssembly","GetApplyUpdateCapabilities"),Ke._internal.invokeJSFromDotNet=Gt,Ke._internal.endInvokeDotNetFromJS=Xt,Ke._internal.receiveByteArray=Yt,Ke._internal.retrieveByteArray=qt;const n=Ge(yt);Ke.platform=n,Ke._internal.renderBatch=(e,t)=>{const n=yt.beginHeapLock();try{!function(e,t){const n=de[e];if(!n)throw new Error(`There is no browser renderer with ID ${e}.`);const r=t.arrayRangeReader,o=t.updatedComponents(),s=r.values(o),a=r.count(o),i=t.referenceFrames(),c=r.values(i),l=t.diffReader;for(let e=0;ect.js_string_to_mono_string(r()),Ke._internal.navigationManager.getUnmarshalledLocationHref=()=>ct.js_string_to_mono_string(o()),Ke._internal.navigationManager.listenForNavigationEvents((async(t,n,r)=>{await e.invokeMethodAsync("Microsoft.AspNetCore.Components.WebAssembly","NotifyLocationChanged",t,n,r)}),(async(t,n,r,o)=>{const s=await e.invokeMethodAsync("Microsoft.AspNetCore.Components.WebAssembly","NotifyLocationChangingAsync",n,r,o);Ke._internal.navigationManager.endLocationChanging(t,s)}));const s=null!=t?t:{},a=s.environment,i=at.initAsync(s.loadBootResource,a),c=function(e,t){return function(e){const t=Mt(e,"webassembly"),n=[];for(let e=0;ee.id-t.id))}(e)}(document),l=new Lt(c);Ke._internal.registeredComponents={getRegisteredComponentsCount:()=>l.getCount(),getId:e=>l.getId(e),getAssembly:e=>ct.js_string_to_mono_string(l.getAssembly(e)),getTypeName:e=>ct.js_string_to_mono_string(l.getTypeName(e)),getParameterDefinitions:e=>ct.js_string_to_mono_string(l.getParameterDefinitions(e)||""),getParameterValues:e=>ct.js_string_to_mono_string(l.getParameterValues(e)||"")},Ke._internal.getPersistedState=()=>ct.js_string_to_mono_string(Pt(document)||""),Ke._internal.attachRootComponentToElement=(e,t,n)=>{const r=l.resolveRegisteredElement(e);r?me(n,r,t,!1):function(e,t,n){const r="::after";let o=!1;if(e.endsWith(r))e=e.slice(0,-r.length),o=!0;else if(e.endsWith("::before"))throw new Error("The '::before' selector is not supported.");const s=function(e){const t=m.get(e);if(t)return m.delete(e),t}(e)||document.querySelector(e);if(!s)throw new Error(`Could not find any element matching selector '${e}'.`);me(n||0,P(s,!0),t,o)}(e,t,n)};const u=await i,d=await async function(e,t){const n=e.resources.libraryInitializers,r=new Wt;return n&&await r.importInitializersAsync(Object.keys(n),[t,e.resources.extensions]),r}(u.bootConfig,s),[f]=await Promise.all([Ft.initAsync(u.bootConfig,s||{}),Dt.initAsync(u)]);try{await n.start(f)}catch(e){throw new Error(`Failed to start platform. Reason: ${e}`)}n.callEntryPoint(f.bootConfig.entryAssembly),d.invokeAfterStartedCallbacks(Ke)}function Gt(t,n,r,o){const s=yt.readStringField(t,0),a=yt.readInt32Field(t,4),i=yt.readStringField(t,8),c=yt.readUint64Field(t,20);if(null!==i){const n=yt.readUint64Field(t,12);if(0!==n)return e.jsCallDispatcher.beginInvokeJSFromDotNet(n,s,i,a,c),0;{const t=e.jsCallDispatcher.invokeJSFromDotNet(s,i,a,c);return null===t?0:ct.js_string_to_mono_string(t)}}{const t=e.jsCallDispatcher.findJSFunction(s,c).call(null,n,r,o);switch(a){case e.JSCallResultType.Default:return t;case e.JSCallResultType.JSObjectReference:return e.createJSObjectReference(t).__jsObjectId;case e.JSCallResultType.JSStreamReference:{const n=e.createJSStreamReference(t),r=JSON.stringify(n);return ct.js_string_to_mono_string(r)}case e.JSCallResultType.JSVoidResult:return null;default:throw new Error(`Invalid JS call result type '${a}'.`)}}}function Xt(t,n,r){const o=ct.conv_string(t),s=0!==n,a=ct.conv_string(r);e.jsCallDispatcher.endInvokeDotNetFromJS(o,s,a)}function Yt(t,n){const r=t,o=yt.toUint8Array(n);e.jsCallDispatcher.receiveByteArray(r,o)}function qt(){if(null===vt)throw new Error("Byte array not available for transfer");return ct.js_typed_array_to_array(vt)}Ke.start=Vt,document&&document.currentScript&&"false"!==document.currentScript.getAttribute("autostart")&&Vt().catch((e=>{void 0!==ut&&ut.printErr?ut.printErr(e):console.error(e)}))})(); \ No newline at end of file +(()=>{"use strict";var e,t,n;!function(e){const t=[],n="__jsObjectId",r="__dotNetObject",o="__byte[]",i="__dotNetStream",s="__jsStreamReferenceLength";let a,c;class l{constructor(e){this._jsObject=e,this._cachedFunctions=new Map}findFunction(e){const t=this._cachedFunctions.get(e);if(t)return t;let n,r=this._jsObject;if(e.split(".").forEach((t=>{if(!(t in r))throw new Error(`Could not find '${e}' ('${t}' was undefined).`);n=r,r=r[t]})),r instanceof Function)return r=r.bind(n),this._cachedFunctions.set(e,r),r;throw new Error(`The value '${e}' is not a function.`)}getWrappedObject(){return this._jsObject}}const u={0:new l(window)};u[0]._cachedFunctions.set("import",(e=>("string"==typeof e&&e.startsWith("./")&&(e=new URL(e.substr(2),document.baseURI).toString()),import(e))));let d,f=1;function m(e){t.push(e)}function h(e){if(e&&"object"==typeof e){u[f]=new l(e);const t={[n]:f};return f++,t}throw new Error(`Cannot create a JSObjectReference from the value '${e}'.`)}function p(e){let t=-1;if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Blob)t=e.size;else{if(!(e.buffer instanceof ArrayBuffer))throw new Error("Supplied value is not a typed array or blob.");if(void 0===e.byteLength)throw new Error(`Cannot create a JSStreamReference from the value '${e}' as it doesn't have a byteLength.`);t=e.byteLength}const r={[s]:t};try{const t=h(e);r[n]=t[n]}catch(t){throw new Error(`Cannot create a JSStreamReference from the value '${e}'.`)}return r}function v(e,n){c=e;const r=n?JSON.parse(n,((e,n)=>t.reduce(((t,n)=>n(e,t)),n))):null;return c=void 0,r}function g(){if(void 0===a)throw new Error("No call dispatcher has been set.");if(null===a)throw new Error("There are multiple .NET runtimes present, so a default dispatcher could not be resolved. Use DotNetObject to invoke .NET instance methods.");return a}e.attachDispatcher=function(e){const t=new b(e);return void 0===a?a=t:a&&(a=null),t},e.attachReviver=m,e.invokeMethod=function(e,t,...n){return g().invokeDotNetStaticMethod(e,t,...n)},e.invokeMethodAsync=function(e,t,...n){return g().invokeDotNetStaticMethodAsync(e,t,...n)},e.createJSObjectReference=h,e.createJSStreamReference=p,e.disposeJSObjectReference=function(e){const t=e&&e[n];"number"==typeof t&&E(t)},function(e){e[e.Default=0]="Default",e[e.JSObjectReference=1]="JSObjectReference",e[e.JSStreamReference=2]="JSStreamReference",e[e.JSVoidResult=3]="JSVoidResult"}(d=e.JSCallResultType||(e.JSCallResultType={}));class b{constructor(e){this._dotNetCallDispatcher=e,this._byteArraysToBeRevived=new Map,this._pendingDotNetToJSStreams=new Map,this._pendingAsyncCalls={},this._nextAsyncCallId=1}getDotNetCallDispatcher(){return this._dotNetCallDispatcher}invokeJSFromDotNet(e,t,n,r){const o=v(this,t),i=I(w(e,r)(...o||[]),n);return null==i?null:_(this,i)}beginInvokeJSFromDotNet(e,t,n,r,o){const i=new Promise((e=>{const r=v(this,n);e(w(t,o)(...r||[]))}));e&&i.then((t=>_(this,[e,!0,I(t,r)]))).then((t=>this._dotNetCallDispatcher.endInvokeJSFromDotNet(e,!0,t)),(t=>this._dotNetCallDispatcher.endInvokeJSFromDotNet(e,!1,JSON.stringify([e,!1,y(t)]))))}endInvokeDotNetFromJS(e,t,n){const r=t?v(this,n):new Error(n);this.completePendingCall(parseInt(e,10),t,r)}invokeDotNetStaticMethod(e,t,...n){return this.invokeDotNetMethod(e,t,null,n)}invokeDotNetStaticMethodAsync(e,t,...n){return this.invokeDotNetMethodAsync(e,t,null,n)}invokeDotNetMethod(e,t,n,r){if(this._dotNetCallDispatcher.invokeDotNetFromJS){const o=_(this,r),i=this._dotNetCallDispatcher.invokeDotNetFromJS(e,t,n,o);return i?v(this,i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeDotNetMethodAsync instead.")}invokeDotNetMethodAsync(e,t,n,r){if(e&&n)throw new Error(`For instance method calls, assemblyName should be null. Received '${e}'.`);const o=this._nextAsyncCallId++,i=new Promise(((e,t)=>{this._pendingAsyncCalls[o]={resolve:e,reject:t}}));try{const i=_(this,r);this._dotNetCallDispatcher.beginInvokeDotNetFromJS(o,e,t,n,i)}catch(e){this.completePendingCall(o,!1,e)}return i}receiveByteArray(e,t){this._byteArraysToBeRevived.set(e,t)}processByteArray(e){const t=this._byteArraysToBeRevived.get(e);return t?(this._byteArraysToBeRevived.delete(e),t):null}supplyDotNetStream(e,t){if(this._pendingDotNetToJSStreams.has(e)){const n=this._pendingDotNetToJSStreams.get(e);this._pendingDotNetToJSStreams.delete(e),n.resolve(t)}else{const n=new C;n.resolve(t),this._pendingDotNetToJSStreams.set(e,n)}}getDotNetStreamPromise(e){let t;if(this._pendingDotNetToJSStreams.has(e))t=this._pendingDotNetToJSStreams.get(e).streamPromise,this._pendingDotNetToJSStreams.delete(e);else{const n=new C;this._pendingDotNetToJSStreams.set(e,n),t=n.streamPromise}return t}completePendingCall(e,t,n){if(!this._pendingAsyncCalls.hasOwnProperty(e))throw new Error(`There is no pending async call with ID ${e}.`);const r=this._pendingAsyncCalls[e];delete this._pendingAsyncCalls[e],t?r.resolve(n):r.reject(n)}}function y(e){return e instanceof Error?`${e.message}\n${e.stack}`:e?e.toString():"null"}function w(e,t){const n=u[t];if(n)return n.findFunction(e);throw new Error(`JS object instance with ID ${t} does not exist (has it been disposed?).`)}function E(e){delete u[e]}e.findJSFunction=w,e.disposeJSObjectReferenceById=E;class S{constructor(e,t){this._id=e,this._callDispatcher=t}invokeMethod(e,...t){return this._callDispatcher.invokeDotNetMethod(null,e,this._id,t)}invokeMethodAsync(e,...t){return this._callDispatcher.invokeDotNetMethodAsync(null,e,this._id,t)}dispose(){this._callDispatcher.invokeDotNetMethodAsync(null,"__Dispose",this._id,null).catch((e=>console.error(e)))}serializeAsArg(){return{[r]:this._id}}}e.DotNetObject=S,m((function(e,t){if(t&&"object"==typeof t){if(t.hasOwnProperty(r))return new S(t[r],c);if(t.hasOwnProperty(n)){const e=t[n],r=u[e];if(r)return r.getWrappedObject();throw new Error(`JS object instance with Id '${e}' does not exist. It may have been disposed.`)}if(t.hasOwnProperty(o)){const e=t[o],n=c.processByteArray(e);if(void 0===n)throw new Error(`Byte array index '${e}' does not exist.`);return n}if(t.hasOwnProperty(i)){const e=t[i],n=c.getDotNetStreamPromise(e);return new A(n)}}return t}));class A{constructor(e){this._streamPromise=e}stream(){return this._streamPromise}async arrayBuffer(){return new Response(await this.stream()).arrayBuffer()}}class C{constructor(){this.streamPromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}function I(e,t){switch(t){case d.Default:return e;case d.JSObjectReference:return h(e);case d.JSStreamReference:return p(e);case d.JSVoidResult:return null;default:throw new Error(`Invalid JS call result type '${t}'.`)}}let N=0;function _(e,t){N=0,c=e;const n=JSON.stringify(t,R);return c=void 0,n}function R(e,t){if(t instanceof S)return t.serializeAsArg();if(t instanceof Uint8Array){c.getDotNetCallDispatcher().sendByteArray(N,t);const e={[o]:N};return N++,e}return t}}(e||(e={})),function(e){e[e.prependFrame=1]="prependFrame",e[e.removeFrame=2]="removeFrame",e[e.setAttribute=3]="setAttribute",e[e.removeAttribute=4]="removeAttribute",e[e.updateText=5]="updateText",e[e.stepIn=6]="stepIn",e[e.stepOut=7]="stepOut",e[e.updateMarkup=8]="updateMarkup",e[e.permutationListEntry=9]="permutationListEntry",e[e.permutationListEnd=10]="permutationListEnd"}(t||(t={})),function(e){e[e.element=1]="element",e[e.text=2]="text",e[e.attribute=3]="attribute",e[e.component=4]="component",e[e.region=5]="region",e[e.elementReferenceCapture=6]="elementReferenceCapture",e[e.markup=8]="markup",e[e.namedEvent=10]="namedEvent"}(n||(n={}));class r{constructor(e,t){this.componentId=e,this.fieldValue=t}static fromEvent(e,t){const n=t.target;if(n instanceof Element){const t=function(e){return e instanceof HTMLInputElement?e.type&&"checkbox"===e.type.toLowerCase()?{value:e.checked}:{value:e.value}:e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?{value:e.value}:null}(n);if(t)return new r(e,t.value)}return null}}const o=new Map,i=new Map,s=[];function a(e){return o.get(e)}function c(e){const t=o.get(e);return(null==t?void 0:t.browserEventName)||e}function l(e,t){e.forEach((e=>o.set(e,t)))}function u(e){const t=[];for(let n=0;ne.selected)).map((e=>e.value))}}{const e=function(e){return!!e&&"INPUT"===e.tagName&&"checkbox"===e.getAttribute("type")}(t);return{value:e?!!t.checked:t.value}}}}),l(["copy","cut","paste"],{createEventArgs:e=>({type:e.type})}),l(["drag","dragend","dragenter","dragleave","dragover","dragstart","drop"],{createEventArgs:e=>{return{...d(t=e),dataTransfer:t.dataTransfer?{dropEffect:t.dataTransfer.dropEffect,effectAllowed:t.dataTransfer.effectAllowed,files:Array.from(t.dataTransfer.files).map((e=>e.name)),items:Array.from(t.dataTransfer.items).map((e=>({kind:e.kind,type:e.type}))),types:t.dataTransfer.types}:null};var t}}),l(["focus","blur","focusin","focusout"],{createEventArgs:e=>({type:e.type})}),l(["keydown","keyup","keypress"],{createEventArgs:e=>{return{key:(t=e).key,code:t.code,location:t.location,repeat:t.repeat,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,type:t.type};var t}}),l(["contextmenu","click","mouseover","mouseout","mousemove","mousedown","mouseup","mouseleave","mouseenter","dblclick"],{createEventArgs:e=>d(e)}),l(["error"],{createEventArgs:e=>{return{message:(t=e).message,filename:t.filename,lineno:t.lineno,colno:t.colno,type:t.type};var t}}),l(["loadstart","timeout","abort","load","loadend","progress"],{createEventArgs:e=>{return{lengthComputable:(t=e).lengthComputable,loaded:t.loaded,total:t.total,type:t.type};var t}}),l(["touchcancel","touchend","touchmove","touchenter","touchleave","touchstart"],{createEventArgs:e=>{return{detail:(t=e).detail,touches:u(t.touches),targetTouches:u(t.targetTouches),changedTouches:u(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,type:t.type};var t}}),l(["gotpointercapture","lostpointercapture","pointercancel","pointerdown","pointerenter","pointerleave","pointermove","pointerout","pointerover","pointerup"],{createEventArgs:e=>{return{...d(t=e),pointerId:t.pointerId,width:t.width,height:t.height,pressure:t.pressure,tiltX:t.tiltX,tiltY:t.tiltY,pointerType:t.pointerType,isPrimary:t.isPrimary};var t}}),l(["wheel","mousewheel"],{createEventArgs:e=>{return{...d(t=e),deltaX:t.deltaX,deltaY:t.deltaY,deltaZ:t.deltaZ,deltaMode:t.deltaMode};var t}}),l(["cancel","close","toggle"],{createEventArgs:()=>({})});const f=["date","datetime-local","month","time","week"],m=new Map;let h,p,v=0;const g={async add(e,t,n){if(!n)throw new Error("initialParameters must be an object, even if empty.");const r="__bl-dynamic-root:"+(++v).toString();m.set(r,e);const o=await w().invokeMethodAsync("AddRootComponent",t,r),i=new y(o,p[t]);return await i.setParameters(n),i}};class b{invoke(e){return this._callback(e)}setCallback(t){this._selfJSObjectReference||(this._selfJSObjectReference=e.createJSObjectReference(this)),this._callback=t}getJSObjectReference(){return this._selfJSObjectReference}dispose(){this._selfJSObjectReference&&e.disposeJSObjectReference(this._selfJSObjectReference)}}class y{constructor(e,t){this._jsEventCallbackWrappers=new Map,this._componentId=e;for(const e of t)"eventcallback"===e.type&&this._jsEventCallbackWrappers.set(e.name.toLowerCase(),new b)}setParameters(e){const t={},n=Object.entries(e||{}),r=n.length;for(const[e,r]of n){const n=this._jsEventCallbackWrappers.get(e.toLowerCase());n&&r?(n.setCallback(r),t[e]=n.getJSObjectReference()):t[e]=r}return w().invokeMethodAsync("SetRootComponentParameters",this._componentId,r,t)}async dispose(){if(null!==this._componentId){await w().invokeMethodAsync("RemoveRootComponent",this._componentId),this._componentId=null;for(const e of this._jsEventCallbackWrappers.values())e.dispose()}}}function w(){if(!h)throw new Error("Dynamic root components have not been enabled in this application.");return h}const E=new Map,S=[],A=new Map;function C(e,t,n){return N(e,t.eventHandlerId,(()=>I(e).invokeMethodAsync("DispatchEventAsync",t,n)))}function I(e){const t=E.get(e);if(!t)throw new Error(`No interop methods are registered for renderer ${e}`);return t}let N=(e,t,n)=>n();const _=O(["abort","blur","cancel","canplay","canplaythrough","change","close","cuechange","durationchange","emptied","ended","error","focus","load","loadeddata","loadedmetadata","loadend","loadstart","mouseenter","mouseleave","pointerenter","pointerleave","pause","play","playing","progress","ratechange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeupdate","toggle","unload","volumechange","waiting","DOMNodeInsertedIntoDocument","DOMNodeRemovedFromDocument"]),R={submit:!0},k=O(["click","dblclick","mousedown","mousemove","mouseup"]);class D{constructor(e){this.browserRendererId=e,this.afterClickCallbacks=[];const t=++D.nextEventDelegatorId;this.eventsCollectionKey=`_blazorEvents_${t}`,this.eventInfoStore=new F(this.onGlobalEvent.bind(this))}setListener(e,t,n,r){const o=this.getEventHandlerInfosForElement(e,!0),i=o.getHandler(t);if(i)this.eventInfoStore.update(i.eventHandlerId,n);else{const i={element:e,eventName:t,eventHandlerId:n,renderingComponentId:r};this.eventInfoStore.add(i),o.setHandler(t,i)}}getHandler(e){return this.eventInfoStore.get(e)}removeListener(e){const t=this.eventInfoStore.remove(e);if(t){const e=t.element,n=this.getEventHandlerInfosForElement(e,!1);n&&n.removeHandler(t.eventName)}}notifyAfterClick(e){this.afterClickCallbacks.push(e),this.eventInfoStore.addGlobalListener("click")}setStopPropagation(e,t,n){this.getEventHandlerInfosForElement(e,!0).stopPropagation(t,n)}setPreventDefault(e,t,n){this.getEventHandlerInfosForElement(e,!0).preventDefault(t,n)}onGlobalEvent(e){if(!(e.target instanceof Element))return;this.dispatchGlobalEventToAllElements(e.type,e);const t=(n=e.type,i.get(n));var n;t&&t.forEach((t=>this.dispatchGlobalEventToAllElements(t,e))),"click"===e.type&&this.afterClickCallbacks.forEach((t=>t(e)))}dispatchGlobalEventToAllElements(e,t){const n=t.composedPath();let o=n.shift(),i=null,s=!1;const c=Object.prototype.hasOwnProperty.call(_,e);let l=!1;for(;o;){const f=o,m=this.getEventHandlerInfosForElement(f,!1);if(m){const n=m.getHandler(e);if(n&&(u=f,d=t.type,!((u instanceof HTMLButtonElement||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement||u instanceof HTMLSelectElement)&&Object.prototype.hasOwnProperty.call(k,d)&&u.disabled))){if(!s){const n=a(e);i=(null==n?void 0:n.createEventArgs)?n.createEventArgs(t):{},s=!0}Object.prototype.hasOwnProperty.call(R,t.type)&&t.preventDefault(),C(this.browserRendererId,{eventHandlerId:n.eventHandlerId,eventName:e,eventFieldInfo:r.fromEvent(n.renderingComponentId,t)},i)}m.stopPropagation(e)&&(l=!0),m.preventDefault(e)&&t.preventDefault()}o=c||l?void 0:n.shift()}var u,d}getEventHandlerInfosForElement(e,t){return Object.prototype.hasOwnProperty.call(e,this.eventsCollectionKey)?e[this.eventsCollectionKey]:t?e[this.eventsCollectionKey]=new T:null}}D.nextEventDelegatorId=0;class F{constructor(e){this.globalListener=e,this.infosByEventHandlerId={},this.countByEventName={},s.push(this.handleEventNameAliasAdded.bind(this))}add(e){if(this.infosByEventHandlerId[e.eventHandlerId])throw new Error(`Event ${e.eventHandlerId} is already tracked`);this.infosByEventHandlerId[e.eventHandlerId]=e,this.addGlobalListener(e.eventName)}get(e){return this.infosByEventHandlerId[e]}addGlobalListener(e){if(e=c(e),Object.prototype.hasOwnProperty.call(this.countByEventName,e))this.countByEventName[e]++;else{this.countByEventName[e]=1;const t=Object.prototype.hasOwnProperty.call(_,e);document.addEventListener(e,this.globalListener,t)}}update(e,t){if(Object.prototype.hasOwnProperty.call(this.infosByEventHandlerId,t))throw new Error(`Event ${t} is already tracked`);const n=this.infosByEventHandlerId[e];delete this.infosByEventHandlerId[e],n.eventHandlerId=t,this.infosByEventHandlerId[t]=n}remove(e){const t=this.infosByEventHandlerId[e];if(t){delete this.infosByEventHandlerId[e];const n=c(t.eventName);0==--this.countByEventName[n]&&(delete this.countByEventName[n],document.removeEventListener(n,this.globalListener))}return t}handleEventNameAliasAdded(e,t){if(Object.prototype.hasOwnProperty.call(this.countByEventName,e)){const n=this.countByEventName[e];delete this.countByEventName[e],document.removeEventListener(e,this.globalListener),this.addGlobalListener(t),this.countByEventName[t]+=n-1}}}class T{constructor(){this.handlers={},this.preventDefaultFlags=null,this.stopPropagationFlags=null}getHandler(e){return Object.prototype.hasOwnProperty.call(this.handlers,e)?this.handlers[e]:null}setHandler(e,t){this.handlers[e]=t}removeHandler(e){delete this.handlers[e]}preventDefault(e,t){return void 0!==t&&(this.preventDefaultFlags=this.preventDefaultFlags||{},this.preventDefaultFlags[e]=t),!!this.preventDefaultFlags&&this.preventDefaultFlags[e]}stopPropagation(e,t){return void 0!==t&&(this.stopPropagationFlags=this.stopPropagationFlags||{},this.stopPropagationFlags[e]=t),!!this.stopPropagationFlags&&this.stopPropagationFlags[e]}}function O(e){const t={};return e.forEach((e=>{t[e]=!0})),t}const L=Symbol(),M=Symbol(),x=Symbol();function P(e,t){if(L in e)return e;const n=[];if(e.childNodes.length>0){if(!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");e.childNodes.forEach((t=>{const r=P(t,!0);r[M]=e,n.push(r)}))}return e[L]=n,e}function B(e){const t=U(e);for(;t.length;)H(e,0)}function J(e,t){const n=document.createComment("!");return j(n,e,t),n}function j(e,t,n){const r=e;let o=e;if(e instanceof Comment){const t=U(r);if((null==t?void 0:t.length)>0){const t=G(r),n=new Range;n.setStartBefore(e),n.setEndAfter(t),o=n.extractContents()}}const i=$(r);if(i){const e=U(i),t=Array.prototype.indexOf.call(e,r);e.splice(t,1),delete r[M]}const s=U(t);if(n0;)H(n,0)}const r=n;r.parentNode.removeChild(r)}function $(e){return e[M]||null}function z(e,t){return U(e)[t]}function W(e){const t=X(e);return"http://www.w3.org/2000/svg"===t.namespaceURI&&"foreignObject"!==t.tagName}function U(e){return e[L]}function K(e){const t=U($(e));return t[Array.prototype.indexOf.call(t,e)+1]||null}function V(e,t){const n=U(e);t.forEach((e=>{e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=G(e.moveRangeStart)})),t.forEach((t=>{const r=document.createComment("marker");t.moveToBeforeMarker=r;const o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):Y(r,e)})),t.forEach((e=>{const t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd;let i=r;for(;i;){const e=i.nextSibling;if(n.insertBefore(i,t),i===o)break;i=e}n.removeChild(t)})),t.forEach((e=>{n[e.toSiblingIndex]=e.moveRangeStart}))}function X(e){if(e instanceof Element||e instanceof DocumentFragment)return e;if(e instanceof Comment)return e.parentNode;throw new Error("Not a valid logical element")}function Y(e,t){if(t instanceof Element||t instanceof DocumentFragment)t.appendChild(e);else{if(!(t instanceof Comment))throw new Error(`Cannot append node because the parent is not a valid logical element. Parent: ${t}`);{const n=K(t);n?n.parentNode.insertBefore(e,n):Y(e,$(t))}}}function G(e){if(e instanceof Element||e instanceof DocumentFragment)return e;const t=K(e);if(t)return t.previousSibling;{const t=$(e);return t instanceof Element||t instanceof DocumentFragment?t.lastChild:G(t)}}function q(e){return`_bl_${e}`}const Z="__internalId";e.attachReviver(((e,t)=>t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,Z)&&"string"==typeof t[Z]?function(e){const t=`[${q(e)}]`;return document.querySelector(t)}(t[Z]):t));const Q="_blazorDeferredValue";function ee(e){return"select-multiple"===e.type}function te(e,t){e.value=t||""}function ne(e,t){e instanceof HTMLSelectElement?ee(e)?function(e,t){t||(t=[]);for(let n=0;n{Ie()&&function(e,t){if(0!==e.button||function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey}(e))return;if(e.defaultPrevented)return;const n=function(e){const t=e.composedPath&&e.composedPath();if(t)for(let e=0;e{const t=document.createElement("script");t.textContent=e.textContent,e.getAttributeNames().forEach((n=>{t.setAttribute(n,e.getAttribute(n))})),e.parentNode.replaceChild(t,e)})),oe.content));var s;let a=0;for(;i.firstChild;)j(i.firstChild,o,a++)}applyAttribute(e,t,n,r){const o=e.frameReader,i=o.attributeName(r),s=o.attributeEventHandlerId(r);if(s){const e=fe(i);return void this.eventDelegator.setListener(n,e,s,t)}const a=o.attributeValue(r);this.setOrRemoveAttributeOrProperty(n,i,a)}insertFrameRange(e,t,n,r,o,i,s){const a=r;for(let a=i;a{je(t,e)})},enableNavigationInterception:function(e){if(void 0!==he&&he!==e)throw new Error("Only one interactive runtime may enable navigation interception at a time.");he=e},setHasLocationChangingListeners:function(e,t){const n=De.get(e);if(!n)throw new Error(`Renderer with ID '${e}' is not listening for navigation events`);n.hasLocationChangingEventListeners=t},endLocationChanging:function(e,t){Te&&e===ke&&(Te(t),Te=null)},navigateTo:function(e,t){Le(e,t,!0)},refresh:function(e){!e&&Se()?Ae(location.href,!0):location.reload()},getBaseURI:()=>document.baseURI,getLocationHref:()=>location.href,scrollToElement:Ee};function Le(e,t,n=!1){const r=Ce(e),o=ze();if(t.forceLoad||!we(r)||"serverside-fullpageload"===o)!function(e,t){if(location.href===e){const t=e+"?";history.replaceState(null,"",t),location.replace(e)}else t?location.replace(e):location.href=e}(e,t.replaceHistoryEntry);else if("clientside-router"===o)Me(r,!1,t.replaceHistoryEntry,t.historyEntryState,n);else{if("serverside-enhanced"!==o)throw new Error(`Unsupported page load mechanism: ${o}`);Ae(r,t.replaceHistoryEntry)}}async function Me(e,t,n,r=void 0,o=!1){if(Be(),function(e){const t=new URL(e);return""!==t.hash&&location.origin===t.origin&&location.pathname===t.pathname&&location.search===t.search}(e))return xe(e,n,r),void function(e){const t=e.indexOf("#");t!==e.length-1&&Ee(e.substring(t+1))}(e);const i=$e();(o||!(null==i?void 0:i.hasLocationChangingEventListeners)||await Je(e,r,t,i))&&(be=!0,xe(e,n,r),await je(t))}function xe(e,t,n=void 0){t?history.replaceState({userState:n,_index:Re},"",e):(Re++,history.pushState({userState:n,_index:Re},"",e))}function Pe(e){return new Promise((t=>{const n=Fe;Fe=()=>{Fe=n,t()},history.go(e)}))}function Be(){Te&&(Te(!1),Te=null)}function Je(e,t,n,r){return new Promise((o=>{Be(),ke++,Te=o,r.locationChanging(ke,e,t,n)}))}async function je(e,t){const n=null!=t?t:location.href;await Promise.all(Array.from(De,(async([t,r])=>{var o,i;i=t,E.has(i)&&await r.locationChanged(n,null===(o=history.state)||void 0===o?void 0:o.userState,e)})))}async function He(e){var t,n;Fe&&"serverside-enhanced"!==ze()&&await Fe(e),Re=null!==(n=null===(t=history.state)||void 0===t?void 0:t._index)&&void 0!==n?n:0}function $e(){const e=Ne();if(void 0!==e)return De.get(e)}function ze(){return Ie()?"clientside-router":Se()?"serverside-enhanced":window.Blazor._internal.isBlazorWeb?"serverside-fullpageload":"clientside-router"}const We={focus:function(e,t){if(e instanceof HTMLElement)e.focus({preventScroll:t});else{if(!(e instanceof SVGElement))throw new Error("Unable to focus an invalid element.");if(!e.hasAttribute("tabindex"))throw new Error("Unable to focus an SVG element that does not have a tabindex.");e.focus({preventScroll:t})}},focusBySelector:function(e,t){const n=document.querySelector(e);n&&(n.hasAttribute("tabindex")||(n.tabIndex=-1),n.focus({preventScroll:!0}))}},Ue={init:function(e,t,n,r=50){const o=Ve(t);(o||document.documentElement).style.overflowAnchor="none";const i=document.createRange();f(n.parentElement)&&(t.style.display="table-row",n.style.display="table-row");const s=new IntersectionObserver((function(r){r.forEach((r=>{var o;if(!r.isIntersecting)return;i.setStartAfter(t),i.setEndBefore(n);const s=i.getBoundingClientRect().height,a=null===(o=r.rootBounds)||void 0===o?void 0:o.height;r.target===t?e.invokeMethodAsync("OnSpacerBeforeVisible",r.intersectionRect.top-r.boundingClientRect.top,s,a):r.target===n&&n.offsetHeight>0&&e.invokeMethodAsync("OnSpacerAfterVisible",r.boundingClientRect.bottom-r.intersectionRect.bottom,s,a)}))}),{root:o,rootMargin:`${r}px`});s.observe(t),s.observe(n);const a=d(t),c=d(n),{observersByDotNetObjectId:l,id:u}=Xe(e);function d(e){const t={attributes:!0},n=new MutationObserver(((n,r)=>{f(e.parentElement)&&(r.disconnect(),e.style.display="table-row",r.observe(e,t)),s.unobserve(e),s.observe(e)}));return n.observe(e,t),n}function f(e){return null!==e&&(e instanceof HTMLTableElement&&""===e.style.display||"table"===e.style.display||e instanceof HTMLTableSectionElement&&""===e.style.display||"table-row-group"===e.style.display)}l[u]={intersectionObserver:s,mutationObserverBefore:a,mutationObserverAfter:c}},dispose:function(e){const{observersByDotNetObjectId:t,id:n}=Xe(e),r=t[n];r&&(r.intersectionObserver.disconnect(),r.mutationObserverBefore.disconnect(),r.mutationObserverAfter.disconnect(),e.dispose(),delete t[n])}},Ke=Symbol();function Ve(e){return e&&e!==document.body&&e!==document.documentElement?"visible"!==getComputedStyle(e).overflowY?e:Ve(e.parentElement):null}function Xe(e){var t;const n=e._callDispatcher,r=e._id;return null!==(t=n[Ke])&&void 0!==t||(n[Ke]={}),{observersByDotNetObjectId:n[Ke],id:r}}const Ye={getAndRemoveExistingTitle:function(){var e;const t=document.head?document.head.getElementsByTagName("title"):[];if(0===t.length)return null;let n=null;for(let r=t.length-1;r>=0;r--){const o=t[r],i=o.previousSibling;i instanceof Comment&&null!==$(i)||(null===n&&(n=o.textContent),null===(e=o.parentNode)||void 0===e||e.removeChild(o))}return n}},Ge={init:function(e,t){t._blazorInputFileNextFileId=0,t.addEventListener("click",(function(){t.value=""})),t.addEventListener("change",(function(){t._blazorFilesById={};const n=Array.prototype.map.call(t.files,(function(e){const n={id:++t._blazorInputFileNextFileId,lastModified:new Date(e.lastModified).toISOString(),name:e.name,size:e.size,contentType:e.type,readPromise:void 0,arrayBuffer:void 0,blob:e};return t._blazorFilesById[n.id]=n,n}));e.invokeMethodAsync("NotifyChange",n)}))},toImageFile:async function(e,t,n,r,o){const i=qe(e,t),s=await new Promise((function(e){const t=new Image;t.onload=function(){URL.revokeObjectURL(t.src),e(t)},t.onerror=function(){t.onerror=null,URL.revokeObjectURL(t.src)},t.src=URL.createObjectURL(i.blob)})),a=await new Promise((function(e){var t;const i=Math.min(1,r/s.width),a=Math.min(1,o/s.height),c=Math.min(i,a),l=document.createElement("canvas");l.width=Math.round(s.width*c),l.height=Math.round(s.height*c),null===(t=l.getContext("2d"))||void 0===t||t.drawImage(s,0,0,l.width,l.height),l.toBlob(e,n)})),c={id:++e._blazorInputFileNextFileId,lastModified:i.lastModified,name:i.name,size:(null==a?void 0:a.size)||0,contentType:n,blob:a||i.blob};return e._blazorFilesById[c.id]=c,c},readFileData:async function(e,t){return qe(e,t).blob}};function qe(e,t){const n=e._blazorFilesById[t];if(!n)throw new Error(`There is no file with ID ${t}. The file list may have changed. See https://aka.ms/aspnet/blazor-input-file-multiple-selections.`);return n}const Ze=new Set,Qe={enableNavigationPrompt:function(e){0===Ze.size&&window.addEventListener("beforeunload",et),Ze.add(e)},disableNavigationPrompt:function(e){Ze.delete(e),0===Ze.size&&window.removeEventListener("beforeunload",et)}};function et(e){e.preventDefault(),e.returnValue=!0}const tt=new Map,nt={navigateTo:function(e,t,n=!1){Le(e,t instanceof Object?t:{forceLoad:t,replaceHistoryEntry:n})},registerCustomEventType:function(e,t){if(!t)throw new Error("The options parameter is required.");if(o.has(e))throw new Error(`The event '${e}' is already registered.`);if(t.browserEventName){const n=i.get(t.browserEventName);n?n.push(e):i.set(t.browserEventName,[e]),s.forEach((n=>n(e,t.browserEventName)))}o.set(e,t)},rootComponents:g,runtime:{},_internal:{navigationManager:Oe,domWrapper:We,Virtualize:Ue,PageTitle:Ye,InputFile:Ge,NavigationLock:Qe,getJSDataStreamChunk:async function(e,t,n){return e instanceof Blob?await async function(e,t,n){const r=e.slice(t,t+n),o=await r.arrayBuffer();return new Uint8Array(o)}(e,t,n):function(e,t,n){return new Uint8Array(e.buffer,e.byteOffset+t,n)}(e,t,n)},attachWebRendererInterop:function(t,n,r,o){var i,s;if(E.has(t))throw new Error(`Interop methods are already registered for renderer ${t}`);E.set(t,n),r&&o&&Object.keys(r).length>0&&function(t,n,r){if(h)throw new Error("Dynamic root components have already been enabled.");h=t,p=n;for(const[t,o]of Object.entries(r)){const r=e.findJSFunction(t,0);for(const e of o)r(e,n[e])}}(I(t),r,o),null===(s=null===(i=A.get(t))||void 0===i?void 0:i[0])||void 0===s||s.call(i),function(e){for(const t of S)t(e)}(t)}}};var rt,ot;window.Blazor=nt;const it=navigator,st=it.userAgentData&&it.userAgentData.brands,at=st&&st.length>0?st.some((e=>"Google Chrome"===e.brand||"Microsoft Edge"===e.brand||"Chromium"===e.brand)):window.chrome,ct=null!==(ot=null===(rt=it.userAgentData)||void 0===rt?void 0:rt.platform)&&void 0!==ot?ot:navigator.platform;function lt(e){return 0!==e.debugLevel&&(at||navigator.userAgent.includes("Firefox"))}let ut=!1;function dt(){const e=document.querySelector("#blazor-error-ui");e&&(e.style.display="block"),ut||(ut=!0,document.querySelectorAll("#blazor-error-ui .reload").forEach((e=>{e.onclick=function(e){location.reload(),e.preventDefault()}})),document.querySelectorAll("#blazor-error-ui .dismiss").forEach((e=>{e.onclick=function(e){const t=document.querySelector("#blazor-error-ui");t&&(t.style.display="none"),e.preventDefault()}})))}var ft,mt;!function(e){e[e.Default=0]="Default",e[e.Server=1]="Server",e[e.WebAssembly=2]="WebAssembly",e[e.WebView=3]="WebView"}(ft||(ft={})),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(mt||(mt={}));class ht{constructor(e=!0,t,n,r=0){this.singleRuntime=e,this.logger=t,this.webRendererId=r,this.afterStartedCallbacks=[],n&&this.afterStartedCallbacks.push(...n)}async importInitializersAsync(e,t){await Promise.all(e.map((e=>async function(e,n){const r=function(e){const t=document.baseURI;return t.endsWith("/")?`${t}${e}`:`${t}/${e}`}(n),o=await import(r);if(void 0!==o){if(e.singleRuntime){const{beforeStart:n,afterStarted:r,beforeWebAssemblyStart:s,afterWebAssemblyStarted:a,beforeServerStart:c,afterServerStarted:l}=o;let u=n;e.webRendererId===ft.Server&&c&&(u=c),e.webRendererId===ft.WebAssembly&&s&&(u=s);let d=r;return e.webRendererId===ft.Server&&l&&(d=l),e.webRendererId===ft.WebAssembly&&a&&(d=a),i(e,u,d,t)}return function(e,t,n){var o;const s=n[0],{beforeStart:a,afterStarted:c,beforeWebStart:l,afterWebStarted:u,beforeWebAssemblyStart:d,afterWebAssemblyStarted:f,beforeServerStart:m,afterServerStarted:h}=t,p=!(l||u||d||f||m||h||!a&&!c),v=p&&s.enableClassicInitializers;if(p&&!s.enableClassicInitializers)null===(o=e.logger)||void 0===o||o.log(mt.Warning,`Initializer '${r}' will be ignored because multiple runtimes are available. use 'before(web|webAssembly|server)Start' and 'after(web|webAssembly|server)Started?' instead.)`);else if(v)return i(e,a,c,n);if(function(e){e.webAssembly?e.webAssembly.initializers||(e.webAssembly.initializers={beforeStart:[],afterStarted:[]}):e.webAssembly={initializers:{beforeStart:[],afterStarted:[]}},e.circuit?e.circuit.initializers||(e.circuit.initializers={beforeStart:[],afterStarted:[]}):e.circuit={initializers:{beforeStart:[],afterStarted:[]}}}(s),d&&s.webAssembly.initializers.beforeStart.push(d),f&&s.webAssembly.initializers.afterStarted.push(f),m&&s.circuit.initializers.beforeStart.push(m),h&&s.circuit.initializers.afterStarted.push(h),u&&e.afterStartedCallbacks.push(u),l)return l(s)}(e,o,t)}function i(e,t,n,r){if(n&&e.afterStartedCallbacks.push(n),t)return t(...r)}}(this,e))))}async invokeAfterStartedCallbacks(e){const t=function(e){var t;return null===(t=A.get(e))||void 0===t?void 0:t[1]}(this.webRendererId);t&&await t,await Promise.all(this.afterStartedCallbacks.map((t=>t(e))))}}let pt,vt,gt,bt,yt,wt,Et;const St=Math.pow(2,32),At=Math.pow(2,21)-1;let Ct=null;function It(e){return vt.getI32(e)}const Nt={load:function(e,t){return async function(e,t){const{dotnet:n}=await async function(e){if("undefined"==typeof WebAssembly||!WebAssembly.validate)throw new Error("This browser does not support WebAssembly.");let t="_framework/dotnet.js";if(e.loadBootResource){const n="dotnetjs",r=e.loadBootResource(n,"dotnet.js",t,"","js-module-dotnet");if("string"==typeof r)t=r;else if(r)throw new Error(`For a ${n} resource, custom loaders must supply a URI string.`)}const n=new URL(t,document.baseURI).toString();return await import(n)}(e),r=function(e,t){const n={maxParallelDownloads:1e6,enableDownloadRetry:!1,applicationEnvironment:e.environment},r={...window.Module||{},onConfigLoaded:async n=>{n.environmentVariables||(n.environmentVariables={}),"sharded"===n.globalizationMode&&(n.environmentVariables.__BLAZOR_SHARDED_ICU="1"),nt._internal.getApplicationEnvironment=()=>n.applicationEnvironment,null==t||t(n),Et=await async function(e,t){var n,r,o;if(e.initializers)return await Promise.all(e.initializers.beforeStart.map((t=>t(e)))),new ht(!1,void 0,e.initializers.afterStarted,ft.WebAssembly);{const i=[e,null!==(r=null===(n=t.resources)||void 0===n?void 0:n.extensions)&&void 0!==r?r:{}],s=new ht(!0,void 0,void 0,ft.WebAssembly),a=Object.keys((null===(o=null==t?void 0:t.resources)||void 0===o?void 0:o.libraryInitializers)||{});return await s.importInitializersAsync(a,i),s}}(e,n)},onDownloadResourceProgress:_t,config:n,disableDotnet6Compatibility:!1,out:kt,err:Dt};return r}(e,t);e.applicationCulture&&n.withApplicationCulture(e.applicationCulture),e.environment&&n.withApplicationEnvironment(e.environment),e.loadBootResource&&n.withResourceLoader(e.loadBootResource),n.withModuleConfig(r),e.configureRuntime&&e.configureRuntime(n),wt=await n.create()}(e,t)},start:function(){return async function(){if(!wt)throw new Error("The runtime must be loaded it gets configured.");const{MONO:t,BINDING:n,Module:r,setModuleImports:o,INTERNAL:i,getConfig:s,invokeLibraryInitializers:a}=wt;gt=r,pt=n,vt=t,yt=i,function(e){const t=ct.match(/^Mac/i)?"Cmd":"Alt";lt(e)&&console.info(`Debugging hotkey: Shift+${t}+D (when application has focus)`),document.addEventListener("keydown",(t=>{t.shiftKey&&(t.metaKey||t.altKey)&&"KeyD"===t.code&&(lt(e)?navigator.userAgent.includes("Firefox")?async function(){const e=await fetch(`_framework/debug?url=${encodeURIComponent(location.href)}&isFirefox=true`);200!==e.status&&console.warn(await e.text())}():at?function(){const e=document.createElement("a");e.href=`_framework/debug?url=${encodeURIComponent(location.href)}`,e.target="_blank",e.rel="noopener noreferrer",e.click()}():console.error("Currently, only Microsoft Edge (80+), Google Chrome, or Chromium, are supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))}))}(s()),nt.runtime=wt,nt._internal.dotNetCriticalError=Dt,o("blazor-internal",{Blazor:{_internal:nt._internal}});const c=await wt.getAssemblyExports("Microsoft.AspNetCore.Components.WebAssembly");return Object.assign(nt._internal,{dotNetExports:{...c.Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime}}),bt=e.attachDispatcher({beginInvokeDotNetFromJS:(e,t,n,r,o)=>{if(Tt(),!r&&!t)throw new Error("Either assemblyName or dotNetObjectId must have a non null value.");const i=r?r.toString():t;nt._internal.dotNetExports.BeginInvokeDotNet(e?e.toString():null,i,n,o)},endInvokeJSFromDotNet:(e,t,n)=>{nt._internal.dotNetExports.EndInvokeJS(n)},sendByteArray:(e,t)=>{nt._internal.dotNetExports.ReceiveByteArrayFromJS(e,t)},invokeDotNetFromJS:(e,t,n,r)=>(Tt(),nt._internal.dotNetExports.InvokeDotNet(e||null,t,null!=n?n:0,r))}),{invokeLibraryInitializers:a}}()},callEntryPoint:async function(){try{await wt.runMain(wt.getConfig().mainAssemblyName,[])}catch(e){console.error(e),dt()}},toUint8Array:function(e){const t=Ft(e),n=It(t),r=new Uint8Array(n);return r.set(gt.HEAPU8.subarray(t+4,t+4+n)),r},getArrayLength:function(e){return It(Ft(e))},getArrayEntryPtr:function(e,t,n){return Ft(e)+4+t*n},getObjectFieldsBaseAddress:function(e){return e+8},readInt16Field:function(e,t){return n=e+(t||0),vt.getI16(n);var n},readInt32Field:function(e,t){return It(e+(t||0))},readUint64Field:function(e,t){return function(e){const t=e>>2,n=gt.HEAPU32[t+1];if(n>At)throw new Error(`Cannot read uint64 with high order part ${n}, because the result would exceed Number.MAX_SAFE_INTEGER.`);return n*St+gt.HEAPU32[t]}(e+(t||0))},readFloatField:function(e,t){return n=e+(t||0),vt.getF32(n);var n},readObjectField:function(e,t){return It(e+(t||0))},readStringField:function(e,t,n){const r=It(e+(t||0));if(0===r)return null;if(n){const e=pt.unbox_mono_obj(r);return"boolean"==typeof e?e?"":null:e}return pt.conv_string(r)},readStructField:function(e,t){return e+(t||0)},beginHeapLock:function(){return Tt(),Ct=Ot.create(),Ct},invokeWhenHeapUnlocked:function(e){Ct?Ct.enqueuePostReleaseAction(e):e()}};function _t(e,t){const n=e/t*100;document.documentElement.style.setProperty("--blazor-load-percentage",`${n}%`),document.documentElement.style.setProperty("--blazor-load-percentage-text",`"${Math.floor(n)}%"`)}const Rt=["DEBUGGING ENABLED"],kt=e=>Rt.indexOf(e)<0&&console.log(e),Dt=e=>{console.error(e||"(null)"),dt()};function Ft(e){return e+12}function Tt(){if(Ct)throw new Error("Assertion failed - heap is currently locked")}class Ot{enqueuePostReleaseAction(e){this.postReleaseActions||(this.postReleaseActions=[]),this.postReleaseActions.push(e)}release(){var e;if(Ct!==this)throw new Error("Trying to release a lock which isn't current");for(yt.mono_wasm_gc_unlock(),Ct=null;null===(e=this.postReleaseActions)||void 0===e?void 0:e.length;)this.postReleaseActions.shift()(),Tt()}static create(){return yt.mono_wasm_gc_lock(),new Ot}}let Lt;class Mt{constructor(e){this.batchAddress=e,this.arrayRangeReader=xt,this.arrayBuilderSegmentReader=Pt,this.diffReader=Bt,this.editReader=Jt,this.frameReader=jt}updatedComponents(){return Lt.readStructField(this.batchAddress,0)}referenceFrames(){return Lt.readStructField(this.batchAddress,xt.structLength)}disposedComponentIds(){return Lt.readStructField(this.batchAddress,2*xt.structLength)}disposedEventHandlerIds(){return Lt.readStructField(this.batchAddress,3*xt.structLength)}updatedComponentsEntry(e,t){return Ht(e,t,Bt.structLength)}referenceFramesEntry(e,t){return Ht(e,t,jt.structLength)}disposedComponentIdsEntry(e,t){const n=Ht(e,t,4);return Lt.readInt32Field(n)}disposedEventHandlerIdsEntry(e,t){const n=Ht(e,t,8);return Lt.readUint64Field(n)}}const xt={structLength:8,values:e=>Lt.readObjectField(e,0),count:e=>Lt.readInt32Field(e,4)},Pt={structLength:12,values:e=>{const t=Lt.readObjectField(e,0),n=Lt.getObjectFieldsBaseAddress(t);return Lt.readObjectField(n,0)},offset:e=>Lt.readInt32Field(e,4),count:e=>Lt.readInt32Field(e,8)},Bt={structLength:4+Pt.structLength,componentId:e=>Lt.readInt32Field(e,0),edits:e=>Lt.readStructField(e,4),editsEntry:(e,t)=>Ht(e,t,Jt.structLength)},Jt={structLength:20,editType:e=>Lt.readInt32Field(e,0),siblingIndex:e=>Lt.readInt32Field(e,4),newTreeIndex:e=>Lt.readInt32Field(e,8),moveToSiblingIndex:e=>Lt.readInt32Field(e,8),removedAttributeName:e=>Lt.readStringField(e,16)},jt={structLength:36,frameType:e=>Lt.readInt16Field(e,4),subtreeLength:e=>Lt.readInt32Field(e,8),elementReferenceCaptureId:e=>Lt.readStringField(e,16),componentId:e=>Lt.readInt32Field(e,12),elementName:e=>Lt.readStringField(e,16),textContent:e=>Lt.readStringField(e,16),markupContent:e=>Lt.readStringField(e,16),attributeName:e=>Lt.readStringField(e,16),attributeValue:e=>Lt.readStringField(e,24,!0),attributeEventHandlerId:e=>Lt.readUint64Field(e,8)};function Ht(e,t,n){return Lt.getArrayEntryPtr(e,t,n)}const $t=/^\s*Blazor-WebAssembly-Component-State:(?[a-zA-Z0-9+/=]+)$/;function zt(e,t,n="state"){var r;if(e.nodeType===Node.COMMENT_NODE){const o=e.textContent||"",i=t.exec(o),s=i&&i.groups&&i.groups[n];return s&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e)),s}if(!e.hasChildNodes())return;const o=e.childNodes;for(let e=0;e.*)$/);function Kt(e,t){const n=e.currentElement;var r,o,i;if(n&&n.nodeType===Node.COMMENT_NODE&&n.textContent){const s=Ut.exec(n.textContent),a=s&&s.groups&&s.groups.descriptor;if(!a)return;!function(e){if(e.parentNode instanceof Document)throw new Error("Root components cannot be marked as interactive. The element must be rendered statically so that scripts are not evaluated multiple times.")}(n);try{const s=function(e){const t=JSON.parse(e),{type:n}=t;if("server"!==n&&"webassembly"!==n&&"auto"!==n)throw new Error(`Invalid component type '${n}'.`);return t}(a),c=function(e,t,n){const{prerenderId:r}=e;if(r){for(;n.next()&&n.currentElement;){const e=n.currentElement;if(e.nodeType!==Node.COMMENT_NODE)continue;if(!e.textContent)continue;const t=Ut.exec(e.textContent),o=t&&t[1];if(o)return Qt(o,r),e}throw new Error(`Could not find an end component comment for '${t}'.`)}}(s,n,e);if(t!==s.type)return;switch(s.type){case"webassembly":return o=n,i=c,Zt(r=s),{...r,uniqueId:Gt++,start:o,end:i};case"server":return function(e,t,n){return qt(e),{...e,uniqueId:Gt++,start:t,end:n}}(s,n,c);case"auto":return function(e,t,n){return qt(e),Zt(e),{...e,uniqueId:Gt++,start:t,end:n}}(s,n,c)}}catch(e){throw new Error(`Found malformed component comment at ${n.textContent}`)}}}let Vt,Xt,Yt,Gt=0;function qt(e){const{descriptor:t,sequence:n}=e;if(!t)throw new Error("descriptor must be defined when using a descriptor.");if(void 0===n)throw new Error("sequence must be defined when using a descriptor.");if(!Number.isInteger(n))throw new Error(`Error parsing the sequence '${n}' for component '${JSON.stringify(e)}'`)}function Zt(e){const{assembly:t,typeName:n}=e;if(!t)throw new Error("assembly must be defined when using a descriptor.");if(!n)throw new Error("typeName must be defined when using a descriptor.");e.parameterDefinitions=e.parameterDefinitions&&atob(e.parameterDefinitions),e.parameterValues=e.parameterValues&&atob(e.parameterValues)}function Qt(e,t){const n=JSON.parse(e);if(1!==Object.keys(n).length)throw new Error(`Invalid end of component comment: '${e}'`);const r=n.prerenderId;if(!r)throw new Error(`End of component comment must have a value for the prerendered property: '${e}'`);if(r!==t)throw new Error(`End of component comment prerendered property must match the start comment prerender id: '${t}', '${r}'`)}class en{constructor(e){this.childNodes=e,this.currentIndex=-1,this.length=e.length}next(){return this.currentIndex++,this.currentIndex{rn=e}));const ln=new Promise((e=>{on=e}));let un;function dn(e){if(Vt)throw new Error("WebAssembly options have already been configured.");!async function(e){const t=await e;Vt=t,un()}(e)}function fn(e){if(void 0!==nn)throw new Error("Blazor WebAssembly has already started.");return nn=new Promise(mn.bind(null,e)),nn}async function mn(e,t,n){(function(){if(window.parent!==window&&!window.opener&&window.frameElement){const e=window.sessionStorage&&window.sessionStorage["Microsoft.AspNetCore.Components.WebAssembly.Authentication.CachedAuthSettings"],t=e&&JSON.parse(e);return t&&t.redirect_uri&&location.href.startsWith(t.redirect_uri)}return!1})()&&await new Promise((()=>{}));const r=hn();!function(e){const t=N;N=(e,n,r)=>{((e,t,n)=>{const r=function(e){return me[e]}(e);(null==r?void 0:r.eventDelegator.getHandler(t))&&Nt.invokeWhenHeapUnlocked(n)})(e,n,(()=>t(e,n,r)))}}(),nt._internal.applyHotReload=(e,t,n,r)=>{bt.invokeDotNetStaticMethod("Microsoft.AspNetCore.Components.WebAssembly","ApplyHotReloadDelta",e,t,n,r)},nt._internal.getApplyUpdateCapabilities=()=>bt.invokeDotNetStaticMethod("Microsoft.AspNetCore.Components.WebAssembly","GetApplyUpdateCapabilities"),nt._internal.invokeJSFromDotNet=pn,nt._internal.invokeJSJson=vn,nt._internal.endInvokeDotNetFromJS=gn,nt._internal.receiveWebAssemblyDotNetDataStream=bn,nt._internal.receiveByteArray=yn;const o=(Lt=Nt,Lt);nt.platform=o,nt._internal.renderBatch=(e,t)=>{const n=Nt.beginHeapLock();try{!function(e,t){const n=me[e];if(!n)throw new Error(`There is no browser renderer with ID ${e}.`);const r=t.arrayRangeReader,o=t.updatedComponents(),i=r.values(o),s=r.count(o),a=t.referenceFrames(),c=r.values(a),l=t.diffReader;for(let e=0;e{await bt.invokeDotNetStaticMethodAsync("Microsoft.AspNetCore.Components.WebAssembly","NotifyLocationChanged",e,t,n)}),(async(e,t,n,r)=>{const o=await bt.invokeDotNetStaticMethodAsync("Microsoft.AspNetCore.Components.WebAssembly","NotifyLocationChangingAsync",t,n,r);nt._internal.navigationManager.endLocationChanging(e,o)}));const i=new tn(e);let s;nt._internal.registeredComponents={getRegisteredComponentsCount:()=>i.getCount(),getAssembly:e=>i.getAssembly(e),getTypeName:e=>i.getTypeName(e),getParameterDefinitions:e=>i.getParameterDefinitions(e)||"",getParameterValues:e=>i.getParameterValues(e)||""},nt._internal.getPersistedState=()=>zt(document,$t)||"",nt._internal.getInitialComponentsUpdate=()=>ln,nt._internal.updateRootComponents=e=>{var t;return null===(t=nt._internal.dotNetExports)||void 0===t?void 0:t.UpdateRootComponentsCore(e)},nt._internal.endUpdateRootComponents=t=>{var n;return null===(n=e.onAfterUpdateRootComponents)||void 0===n?void 0:n.call(e,t)},nt._internal.attachRootComponentToElement=(e,t,n)=>{const r=i.resolveRegisteredElement(e);r?ye(n,r,t,!1):function(e,t,n){const r="::before";let o=!1;if(e.endsWith("::after"))e=e.slice(0,-7),o=!0;else if(e.endsWith(r))throw new Error(`The '${r}' selector is not supported.`);const i=function(e){const t=m.get(e);if(t)return m.delete(e),t}(e)||document.querySelector(e);if(!i)throw new Error(`Could not find any element matching selector '${e}'.`);ye(n,P(i,!0),t,o)}(e,t,n)};try{await r,s=await o.start()}catch(e){throw new Error(`Failed to start platform. Reason: ${e}`)}o.callEntryPoint(),Et.invokeAfterStartedCallbacks(nt),an=!0,t()}function hn(){return null!=Yt||(Yt=(async()=>{await Xt;const e=null!=Vt?Vt:{},t=null==Vt?void 0:Vt.configureRuntime;e.configureRuntime=e=>{null==t||t(e),cn&&e.withEnvironmentVariable("__BLAZOR_WEBASSEMBLY_WAIT_FOR_ROOT_COMPONENTS","true")},await Nt.load(e,rn),sn=!0})()),Yt}function pn(t,n,r,o){const i=Nt.readStringField(t,0),s=Nt.readInt32Field(t,4),a=Nt.readStringField(t,8),c=Nt.readUint64Field(t,20);if(null!==a){const e=Nt.readUint64Field(t,12);if(0!==e)return bt.beginInvokeJSFromDotNet(e,i,a,s,c),0;{const e=bt.invokeJSFromDotNet(i,a,s,c);return null===e?0:pt.js_string_to_mono_string(e)}}{const t=e.findJSFunction(i,c).call(null,n,r,o);switch(s){case e.JSCallResultType.Default:return t;case e.JSCallResultType.JSObjectReference:return e.createJSObjectReference(t).__jsObjectId;case e.JSCallResultType.JSStreamReference:{const n=e.createJSStreamReference(t),r=JSON.stringify(n);return pt.js_string_to_mono_string(r)}case e.JSCallResultType.JSVoidResult:return null;default:throw new Error(`Invalid JS call result type '${s}'.`)}}}function vn(e,t,n,r,o){return 0!==o?(bt.beginInvokeJSFromDotNet(o,e,r,n,t),null):bt.invokeJSFromDotNet(e,r,n,t)}function gn(e,t,n){bt.endInvokeDotNetFromJS(e,t,n)}function bn(e,t,n,r){!function(e,t,n,r,o){let i=tt.get(t);if(!i){const n=new ReadableStream({start(e){tt.set(t,e),i=e}});e.supplyDotNetStream(t,n)}o?(i.error(o),tt.delete(t)):0===r?(i.close(),tt.delete(t)):i.enqueue(n.length===r?n:n.subarray(0,r))}(bt,e,t,n,r)}function yn(e,t){bt.receiveByteArray(e,t)}Xt=new Promise((e=>{un=e}));class wn{constructor(e){this.initialComponents=e}resolveRootComponent(e){return this.initialComponents[e]}}class En{constructor(){this._eventListeners=new Map}static create(e){const t=new En;return e.addEventListener=t.addEventListener.bind(t),e.removeEventListener=t.removeEventListener.bind(t),t}addEventListener(e,t){let n=this._eventListeners.get(e);n||(n=new Set,this._eventListeners.set(e,n)),n.add(t)}removeEventListener(e,t){var n;null===(n=this._eventListeners.get(e))||void 0===n||n.delete(t)}dispatchEvent(e,t){const n=this._eventListeners.get(e);if(!n)return;const r={...t,type:e};for(const e of n)e(r)}}let Sn=!1;async function An(e){if(Sn)throw new Error("Blazor has already started.");Sn=!0,dn(Promise.resolve(e||{})),En.create(nt);const t=Wt(document,"webassembly"),n=new wn(t);await fn(n)}nt.start=An,window.DotNet=e,document&&document.currentScript&&"false"!==document.currentScript.getAttribute("autostart")&&An().catch((e=>{void 0!==gt&>.err?gt.err(e):console.error(e)}))})(); \ No newline at end of file diff --git a/docs/VNext/_framework/blazor.webassembly.js.br b/docs/VNext/_framework/blazor.webassembly.js.br index 57e8c2cd..b5745492 100755 Binary files a/docs/VNext/_framework/blazor.webassembly.js.br and b/docs/VNext/_framework/blazor.webassembly.js.br differ diff --git a/docs/VNext/_framework/blazor.webassembly.js.gz b/docs/VNext/_framework/blazor.webassembly.js.gz index 86a7049b..fd6189ed 100755 Binary files a/docs/VNext/_framework/blazor.webassembly.js.gz and b/docs/VNext/_framework/blazor.webassembly.js.gz differ diff --git a/docs/VNext/_framework/dotnet.js b/docs/VNext/_framework/dotnet.js new file mode 100644 index 00000000..8ee45aa8 --- /dev/null +++ b/docs/VNext/_framework/dotnet.js @@ -0,0 +1,4 @@ +//! Licensed to the .NET Foundation under one or more agreements. +//! The .NET Foundation licenses this file to you under the MIT license. +const e=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),t=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),o=Symbol.for("wasm promise_control");function n(e,t){let n=null;const r=new Promise((function(o,r){n={isDone:!1,promise:null,resolve:t=>{n.isDone||(n.isDone=!0,o(t),e&&e())},reject:e=>{n.isDone||(n.isDone=!0,r(e),t&&t())}}}));n.promise=r;const s=r;return s[o]=n,{promise:s,promise_control:n}}function r(e){return e[o]}function s(e){(function(e){return void 0!==e[o]})(e)||Ce(!1,"Promise is not controllable")}const i="MONO_WASM: ";function a(e,...t){je.diagnosticTracing&&console.debug(i+e,...t)}function l(e,...t){console.info(i+e,...t)}function c(e,...t){console.info(e,...t)}function u(e,...t){console.warn(i+e,...t)}function d(e,...t){t&&t.length>0&&t[0]&&"object"==typeof t[0]&&t[0].silent||console.error(i+e,...t)}let f;function m(e,t,o){const n={log:t.log,error:t.error},r=t;function s(t,o,r){return function(...s){try{let n=s[0];if(void 0===n)n="undefined";else if(null===n)n="null";else if("function"==typeof n)n=n.toString();else if("string"!=typeof n)try{n=JSON.stringify(n)}catch(e){n=n.toString()}if("string"==typeof n)if("["==n[0]){const t=(new Date).toISOString();n="main"!==e?`[${e}][${t}] ${n}`:`[${t}] ${n}`}else"main"!==e&&(n=`[${e}] ${n}`);o(r?JSON.stringify({method:t,payload:n,arguments:s}):[t+n,...s.slice(1)])}catch(e){n.error(`proxyConsole failed: ${e}`)}}}const i=["debug","trace","warn","info","error"];for(const e of i)"function"!=typeof r[e]&&(r[e]=s(`console.${e}: `,t.log,!1));const a=`${o}/console`.replace("https://","wss://").replace("http://","ws://");f=new WebSocket(a),f.addEventListener("open",(()=>{n.log(`browser: [${e}] Console websocket connected.`)})),f.addEventListener("error",(t=>{n.error(`[${e}] websocket error: ${t}`,t)})),f.addEventListener("close",(t=>{n.error(`[${e}] websocket closed: ${t}`,t)}));const l=e=>{f.readyState===WebSocket.OPEN?f.send(e):n.log(e)};for(const e of["log",...i])r[e]=s(`console.${e}`,l,!0)}const h={},g={},p={};let b,w,y;function v(){const e=Object.values(p),t=Object.values(g),o=R(e),n=R(t),r=o+n;if(0===r)return;const s=_e?"%c":"",i=_e?["background: purple; color: white; padding: 1px 3px; border-radius: 3px;","font-weight: bold;","font-weight: normal;"]:[],a=je.config.linkerEnabled?"":"\nThis application was built with linking (tree shaking) disabled. \nPublished applications will be significantly smaller if you install wasm-tools workload. \nSee also https://aka.ms/dotnet-wasm-features";console.groupCollapsed(`${s}dotnet${s} Loaded ${j(r)} resources${s}${a}`,...i),e.length&&(console.groupCollapsed(`Loaded ${j(o)} resources from cache`),console.table(p),console.groupEnd()),t.length&&(console.groupCollapsed(`Loaded ${j(n)} resources from network`),console.table(g),console.groupEnd()),console.groupEnd()}async function _(){const e=b;if(e){const t=(await e.keys()).map((async t=>{t.url in h||await e.delete(t)}));await Promise.all(t)}}function E(e){return`${e.resolvedUrl}.${e.hash}`}function R(e){return e.reduce(((e,t)=>e+(t.responseBytes||0)),0)}function j(e){return`${(e/1048576).toFixed(2)} MB`}function x(e){var t;if((null===(t=e.resources)||void 0===t?void 0:t.icu)&&"invariant"!=e.globalizationMode){const t=e.applicationCulture||(_e?navigator.languages&&navigator.languages[0]:Intl.DateTimeFormat().resolvedOptions().locale),o=Object.keys(e.resources.icu);let n=null;if("custom"===e.globalizationMode?1===o.length&&(n=o[0]):"hybrid"===e.globalizationMode?n="icudt_hybrid.dat":t&&"all"!==e.globalizationMode?"sharded"===e.globalizationMode&&(n=function(e){const t=e.split("-")[0];return"en"===t||["fr","fr-FR","it","it-IT","de","de-DE","es","es-ES"].includes(e)?"icudt_EFIGS.dat":["zh","ko","ja"].includes(t)?"icudt_CJK.dat":"icudt_no_CJK.dat"}(t)):n="icudt.dat",n&&o.includes(n))return n}return e.globalizationMode="invariant",null}const S=class{constructor(e){this.url=e}toString(){return this.url}};async function A(e,t){try{const o="function"==typeof globalThis.fetch;if(ye){const n=e.startsWith("file://");if(!n&&o)return globalThis.fetch(e,t||{credentials:"same-origin"});w||(y=Se.require("url"),w=Se.require("fs")),n&&(e=y.fileURLToPath(e));const r=await w.promises.readFile(e);return{ok:!0,headers:{length:0,get:()=>null},url:e,arrayBuffer:()=>r,json:()=>JSON.parse(r),text:()=>{throw new Error("NotImplementedException")}}}if(o)return globalThis.fetch(e,t||{credentials:"same-origin"});if("function"==typeof read)return{ok:!0,url:e,headers:{length:0,get:()=>null},arrayBuffer:()=>new Uint8Array(read(e,"binary")),json:()=>JSON.parse(read(e,"utf8")),text:()=>read(e,"utf8")}}catch(t){return{ok:!1,url:e,status:500,headers:{length:0,get:()=>null},statusText:"ERR28: "+t,arrayBuffer:()=>{throw t},json:()=>{throw t},text:()=>{throw t}}}throw new Error("No fetch implementation available")}function D(e){return"string"!=typeof e&&Ce(!1,"url must be a string"),!O(e)&&0!==e.indexOf("./")&&0!==e.indexOf("../")&&globalThis.URL&&globalThis.document&&globalThis.document.baseURI&&(e=new URL(e,globalThis.document.baseURI).toString()),e}const C=/^[a-zA-Z][a-zA-Z\d+\-.]*?:\/\//,T=/[a-zA-Z]:[\\/]/;function O(e){return ye||Ee?e.startsWith("/")||e.startsWith("\\")||-1!==e.indexOf("///")||T.test(e):C.test(e)}let k,M=0;const $=[],L=[],I=new Map,U={"js-module-threads":!0,"js-module-runtime":!0,"js-module-dotnet":!0,"js-module-native":!0},N={...U,"js-module-library-initializer":!0},P={...U,dotnetwasm:!0,heap:!0,manifest:!0},z={...N,manifest:!0},F={...N,dotnetwasm:!0},W={dotnetwasm:!0,symbols:!0},B={resource:!0,assembly:!0,pdb:!0,heap:!0,icu:!0},V={...N,dotnetwasm:!0,symbols:!0};function q(e){return!("icu"==e.behavior&&e.name!=je.preferredIcuAsset)}function J(e,t,o){const n=Object.keys(t||{});Ce(1==n.length,`Expect to have one ${o} asset in resources`);const r=n[0],s={name:r,hash:t[r],behavior:o};return H(s),e.push(s),s}function H(e){P[e.behavior]&&I.set(e.behavior,e)}function Q(e){const t=function(e){Ce(P[e],`Unknown single asset behavior ${e}`);const t=I.get(e);return Ce(t,`Single asset for ${e} not found`),t}(e);if(t.resolvedUrl=je.locateFile(t.name),U[t.behavior]){const e=se(t);e?("string"!=typeof e&&Ce(!1,"loadBootResource response for 'dotnetjs' type should be a URL string"),t.resolvedUrl=e):t.resolvedUrl=ee(t.resolvedUrl,t.behavior)}else if("dotnetwasm"!==t.behavior)throw new Error(`Unknown single asset behavior ${e}`);return t}async function Z(){a("mono_download_assets");try{const e=[],t=t=>{!V[t.behavior]&&q(t)&&je.expected_instantiated_assets_count++,!F[t.behavior]&&q(t)&&(je.expected_downloaded_assets_count++,e.push(Y(t)))};for(const e of L)t(e);await je.memorySnapshotSkippedOrDone.promise;for(const e of $)if(Re.loadedMemorySnapshotSize){if(ie(e),"resource"==e.behavior||"assembly"==e.behavior||"pdb"==e.behavior){const t=X(e,""),o="string"==typeof e.virtualPath?e.virtualPath:e.name;je._loaded_files.push({url:t,file:o})}}else t(e);je.allDownloadsQueued.promise_control.resolve(),await je.runtimeModuleLoaded.promise;const o=[];for(const t of e)o.push((async()=>{const e=await t;if(e.buffer){if(!V[e.behavior]){e.buffer&&"object"==typeof e.buffer||Ce(!1,"asset buffer must be array-like or buffer-like or promise of these"),"string"!=typeof e.resolvedUrl&&Ce(!1,"resolvedUrl must be string");const t=e.resolvedUrl,o=await e.buffer,n=new Uint8Array(o);ie(e),await Re.beforeOnRuntimeInitialized.promise,Re.instantiate_asset(e,t,n)}}else W[e.behavior]?("symbols"===e.behavior&&(await Re.instantiate_symbols_asset(e),ie(e)),W[e.behavior]&&++je.actual_downloaded_assets_count):(e.isOptional||Ce(!1,"Expected asset to have the downloaded buffer"),!F[e.behavior]&&q(e)&&je.expected_downloaded_assets_count--,!V[e.behavior]&&q(e)&&je.expected_instantiated_assets_count--)})());Promise.all(o).then((()=>{Re.allAssetsInMemory.promise_control.resolve()})).catch((e=>{throw je.err("Error in mono_download_assets: "+e),Me(1,e),e}))}catch(e){throw je.err("Error in mono_download_assets: "+e),e}}async function G(e){const t=await Y(e);return await t.pendingDownloadInternal.response,t.buffer}async function Y(e){try{return await K(e)}catch(t){if(!je.enableDownloadRetry)throw t;if(Ee||ye)throw t;if(e.pendingDownload&&e.pendingDownloadInternal==e.pendingDownload)throw t;if(e.resolvedUrl&&-1!=e.resolvedUrl.indexOf("file://"))throw t;if(t&&404==t.status)throw t;e.pendingDownloadInternal=void 0,await je.allDownloadsQueued.promise;try{return a(`Retrying download '${e.name}'`),await K(e)}catch(t){return e.pendingDownloadInternal=void 0,await(100,new Promise((e=>globalThis.setTimeout(e,100)))),a(`Retrying download (2) '${e.name}' after delay`),await K(e)}}}async function K(e){for(;k;)await k.promise;try{++M,M==je.maxParallelDownloads&&(a("Throttling further parallel downloads"),k=n());const t=await async function(e){if(e.pendingDownload&&(e.pendingDownloadInternal=e.pendingDownload),e.pendingDownloadInternal&&e.pendingDownloadInternal.response)return e.pendingDownloadInternal.response;if(e.buffer){const t=await e.buffer;return e.resolvedUrl||(e.resolvedUrl="undefined://"+e.name),e.pendingDownloadInternal={url:e.resolvedUrl,name:e.name,response:Promise.resolve({ok:!0,arrayBuffer:()=>t,json:()=>JSON.parse(new TextDecoder("utf-8").decode(t)),text:()=>{throw new Error("NotImplementedException")},headers:{get:()=>{}}})},e.pendingDownloadInternal.response}const t=e.loadRemote&&je.config.remoteSources?je.config.remoteSources:[""];let o;for(let n of t){n=n.trim(),"./"===n&&(n="");const t=X(e,n);e.name===t?a(`Attempting to download '${t}'`):a(`Attempting to download '${t}' for ${e.name}`);try{e.resolvedUrl=t;const n=ne(e);if(e.pendingDownloadInternal=n,o=await n.response,!o||!o.ok)continue;return o}catch(e){o||(o={ok:!1,url:t,status:0,statusText:""+e});continue}}const n=e.isOptional||e.name.match(/\.pdb$/)&&je.config.ignorePdbLoadErrors;if(o||Ce(!1,`Response undefined ${e.name}`),!n){const t=new Error(`download '${o.url}' for ${e.name} failed ${o.status} ${o.statusText}`);throw t.status=o.status,t}l(`optional download '${o.url}' for ${e.name} failed ${o.status} ${o.statusText}`)}(e);return t?(W[e.behavior]||(e.buffer=await t.arrayBuffer(),++je.actual_downloaded_assets_count),e):e}finally{if(--M,k&&M==je.maxParallelDownloads-1){a("Resuming more parallel downloads");const e=k;k=void 0,e.promise_control.resolve()}}}function X(e,t){let o;return null==t&&Ce(!1,`sourcePrefix must be provided for ${e.name}`),e.resolvedUrl?o=e.resolvedUrl:(o=""===t?"assembly"===e.behavior||"pdb"===e.behavior?e.name:"resource"===e.behavior&&e.culture&&""!==e.culture?`${e.culture}/${e.name}`:e.name:t+e.name,o=ee(je.locateFile(o),e.behavior)),o&&"string"==typeof o||Ce(!1,"attemptUrl need to be path or url string"),o}function ee(e,t){return je.modulesUniqueQuery&&z[t]&&(e+=je.modulesUniqueQuery),e}let te=0;const oe=new Set;function ne(e){try{e.resolvedUrl||Ce(!1,"Request's resolvedUrl must be set");const t=async function(e){let t=await async function(e){const t=b;if(!t||e.noCache||!e.hash||0===e.hash.length)return;const o=E(e);let n;h[o]=!0;try{n=await t.match(o)}catch(e){}if(!n)return;const r=parseInt(n.headers.get("content-length")||"0");return p[e.name]={responseBytes:r},n}(e);return t||(t=await function(e){let t=e.resolvedUrl;if(je.loadBootResource){const o=se(e);if(o instanceof Promise)return o;"string"==typeof o&&(t=o)}const o={};return je.config.disableNoCacheFetch||(o.cache="no-cache"),e.useCredentials?o.credentials="include":!je.config.disableIntegrityCheck&&e.hash&&(o.integrity=e.hash),je.fetch_like(t,o)}(e),function(e,t){const o=b;if(!o||e.noCache||!e.hash||0===e.hash.length)return;const n=t.clone();setTimeout((()=>{const t=E(e);!async function(e,t,o,n){const r=await n.arrayBuffer(),s=function(e){if("undefined"!=typeof performance)return performance.getEntriesByName(e)[0]}(n.url),i=s&&s.encodedBodySize||void 0;g[t]={responseBytes:i};const a=new Response(r,{headers:{"content-type":n.headers.get("content-type")||"","content-length":(i||n.headers.get("content-length")||"").toString()}});try{await e.put(o,a)}catch(e){}}(o,e.name,t,n)}),0)}(e,t)),t}(e),o={name:e.name,url:e.resolvedUrl,response:t};return oe.add(e.name),o.response.then((()=>{"assembly"==e.behavior&&je.loadedAssemblies.push(e.name),te++,je.onDownloadResourceProgress&&je.onDownloadResourceProgress(te,oe.size)})),o}catch(t){const o={ok:!1,url:e.resolvedUrl,status:500,statusText:"ERR29: "+t,arrayBuffer:()=>{throw t},json:()=>{throw t}};return{name:e.name,url:e.resolvedUrl,response:Promise.resolve(o)}}}const re={resource:"assembly",assembly:"assembly",pdb:"pdb",icu:"globalization",vfs:"configuration",manifest:"manifest",dotnetwasm:"dotnetwasm","js-module-dotnet":"dotnetjs","js-module-native":"dotnetjs","js-module-runtime":"dotnetjs","js-module-threads":"dotnetjs"};function se(e){var t;if(je.loadBootResource){const o=null!==(t=e.hash)&&void 0!==t?t:"",n=e.resolvedUrl,r=re[e.behavior];if(r){const t=je.loadBootResource(r,e.name,n,o,e.behavior);return"string"==typeof t?D(t):t}}}function ie(e){e.pendingDownloadInternal=null,e.pendingDownload=null,e.buffer=null,e.moduleExports=null}function ae(e){let t=e.lastIndexOf("/");return t>=0&&t++,e.substring(t)}async function le(e){if(!e)return;const t=Object.keys(e);await Promise.all(t.map((e=>async function(e){try{const t=ee(je.locateFile(e),"js-module-library-initializer");a(`Attempting to import '${t}' for ${e}`);const o=await import(t);je.libraryInitializers.push({scriptName:e,exports:o})}catch(t){u(`Failed to import library initializer '${e}': ${t}`)}}(e))))}async function ce(e,t){if(!je.libraryInitializers)return;const o=[];for(let n=0;nr.exports[e](...t))))}await Promise.all(o)}async function ue(e,t,o){try{await o()}catch(o){throw u(`Failed to invoke '${t}' on library initializer '${e}': ${o}`),Me(1,o),o}}var de="Release";function fe(e,t){if(e===t)return e;const o={...t};return void 0!==o.assets&&o.assets!==e.assets&&(o.assets=[...e.assets||[],...o.assets||[]]),void 0!==o.resources&&(o.resources=he(e.resources||{assembly:{},jsModuleNative:{},jsModuleRuntime:{},wasmNative:{}},o.resources)),void 0!==o.environmentVariables&&(o.environmentVariables={...e.environmentVariables||{},...o.environmentVariables||{}}),void 0!==o.runtimeOptions&&o.runtimeOptions!==e.runtimeOptions&&(o.runtimeOptions=[...e.runtimeOptions||[],...o.runtimeOptions||[]]),Object.assign(e,o)}function me(e,t){if(e===t)return e;const o={...t};return o.config&&(e.config||(e.config={}),o.config=fe(e.config,o.config)),Object.assign(e,o)}function he(e,t){if(e===t)return e;const o={...t};return void 0!==o.assembly&&(o.assembly={...e.assembly||{},...o.assembly||{}}),void 0!==o.lazyAssembly&&(o.lazyAssembly={...e.lazyAssembly||{},...o.lazyAssembly||{}}),void 0!==o.pdb&&(o.pdb={...e.pdb||{},...o.pdb||{}}),void 0!==o.jsModuleWorker&&(o.jsModuleWorker={...e.jsModuleWorker||{},...o.jsModuleWorker||{}}),void 0!==o.jsModuleNative&&(o.jsModuleNative={...e.jsModuleNative||{},...o.jsModuleNative||{}}),void 0!==o.jsModuleRuntime&&(o.jsModuleRuntime={...e.jsModuleRuntime||{},...o.jsModuleRuntime||{}}),void 0!==o.wasmSymbols&&(o.wasmSymbols={...e.wasmSymbols||{},...o.wasmSymbols||{}}),void 0!==o.wasmNative&&(o.wasmNative={...e.wasmNative||{},...o.wasmNative||{}}),void 0!==o.icu&&(o.icu={...e.icu||{},...o.icu||{}}),void 0!==o.satelliteResources&&(o.satelliteResources=ge(e.satelliteResources||{},o.satelliteResources||{})),void 0!==o.modulesAfterConfigLoaded&&(o.modulesAfterConfigLoaded={...e.modulesAfterConfigLoaded||{},...o.modulesAfterConfigLoaded||{}}),void 0!==o.modulesAfterRuntimeReady&&(o.modulesAfterRuntimeReady={...e.modulesAfterRuntimeReady||{},...o.modulesAfterRuntimeReady||{}}),void 0!==o.extensions&&(o.extensions={...e.extensions||{},...o.extensions||{}}),void 0!==o.vfs&&(o.vfs=ge(e.vfs||{},o.vfs||{})),Object.assign(e,o)}function ge(e,t){if(e===t)return e;for(const o in t)e[o]={...e[o],...t[o]};return e}function pe(){const e=je.config;if(e.environmentVariables=e.environmentVariables||{},e.runtimeOptions=e.runtimeOptions||[],e.resources=e.resources||{assembly:{},jsModuleNative:{},jsModuleWorker:{},jsModuleRuntime:{},wasmNative:{},vfs:{},satelliteResources:{}},e.assets){a("config.assets is deprecated, use config.resources instead");for(const t of e.assets){const o={};o[t.name]=t.hash||"";const n={};switch(t.behavior){case"assembly":n.assembly=o;break;case"pdb":n.pdb=o;break;case"resource":n.satelliteResources={},n.satelliteResources[t.culture]=o;break;case"icu":n.icu=o;break;case"symbols":n.wasmSymbols=o;break;case"vfs":n.vfs={},n.vfs[t.virtualPath]=o;break;case"dotnetwasm":n.wasmNative=o;break;case"js-module-threads":n.jsModuleWorker=o;break;case"js-module-runtime":n.jsModuleRuntime=o;break;case"js-module-native":n.jsModuleNative=o;break;case"js-module-dotnet":break;default:throw new Error(`Unexpected behavior ${t.behavior} of asset ${t.name}`)}he(e.resources,n)}}je.assertAfterExit=e.assertAfterExit=e.assertAfterExit||!_e,void 0===e.debugLevel&&"Debug"===de&&(e.debugLevel=-1),void 0===e.cachedResourcesPurgeDelay&&(e.cachedResourcesPurgeDelay=1e4),e.debugLevel=we(e)?e.debugLevel:0,void 0===e.diagnosticTracing&&"Debug"===de&&(e.diagnosticTracing=!0),e.applicationCulture&&(e.environmentVariables.LANG=`${e.applicationCulture}.UTF-8`),Re.diagnosticTracing=je.diagnosticTracing=!!e.diagnosticTracing,Re.waitForDebugger=e.waitForDebugger,e.startupMemoryCache=!!e.startupMemoryCache,e.startupMemoryCache&&Re.waitForDebugger&&(a("Disabling startupMemoryCache because waitForDebugger is set"),e.startupMemoryCache=!1),Re.enablePerfMeasure=!!e.browserProfilerOptions&&globalThis.performance&&"function"==typeof globalThis.performance.measure,je.maxParallelDownloads=e.maxParallelDownloads||je.maxParallelDownloads,je.enableDownloadRetry=void 0!==e.enableDownloadRetry?e.enableDownloadRetry:je.enableDownloadRetry}let be=!1;function we(e){return!!globalThis.navigator&&((!!e.resources.pdb||0!=e.debugLevel)&&(je.isChromium||je.isFirefox))}const ye="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,ve="function"==typeof importScripts,_e="object"==typeof window||ve&&!ye,Ee=!_e&&!ye&&!ve;let Re={},je={},xe={},Se={},Ae=!1;const De={mono:{},binding:{},internal:Se,module:{},loaderHelpers:je,runtimeHelpers:Re,api:xe};function Ce(e,t){if(e)return;const o="Assert failed: "+("function"==typeof t?t():t),n=new Error(o);Re.abort(n)}function Te(){return void 0!==je.exitCode}function Oe(){return Re.runtimeReady&&!Te()}function ke(){Re.runtimeReady||Ce(!1,"mono runtime didn't start yet"),je.assertAfterExit&&Te()&&Ce(!1,`mono runtime already exited with ${je.exitCode}`)}function Me(e,t){var o;const n=t&&"object"==typeof t;e=n&&"number"==typeof t.status?t.status:e;const r=n&&"string"==typeof t.message?t.message:""+t;if((t=n?t:Re.ExitStatus?new Re.ExitStatus(e):new Error("Exit with code "+e+" "+r)).status=e,t.message||(t.message=r),t.stack||(t.stack=(new Error).stack||""),t.silent=!0,!Te()){try{Re.runtimeReady||(a("abort_startup, reason: "+t),function(e){je.allDownloadsQueued.promise_control.reject(e),je.afterConfigLoaded.promise_control.reject(e),je.wasmDownloadPromise.promise_control.reject(e),je.runtimeModuleLoaded.promise_control.reject(e),je.memorySnapshotSkippedOrDone.promise_control.reject(e),Re.dotnetReady&&(Re.dotnetReady.promise_control.reject(e),Re.afterInstantiateWasm.promise_control.reject(e),Re.beforePreInit.promise_control.reject(e),Re.afterPreInit.promise_control.reject(e),Re.afterPreRun.promise_control.reject(e),Re.beforeOnRuntimeInitialized.promise_control.reject(e),Re.afterOnRuntimeInitialized.promise_control.reject(e),Re.afterPostRun.promise_control.reject(e))}(t)),function(e,t){if(0!==e&&t){const e=Re.ExitStatus&&t instanceof Re.ExitStatus?a:d;"string"==typeof t?e(t):t.stack&&t.message?Re.stringify_as_error_with_stack?e(Re.stringify_as_error_with_stack(t)):e(t.message+"\n"+t.stack):e(JSON.stringify(t))}if(je.config&&je.config.logExitCode)if(f){const t=()=>{0==f.bufferedAmount?c("WASM EXIT "+e):globalThis.setTimeout(t,100)};t()}else c("WASM EXIT "+e)}(e,t),function(e){if(_e&&je.config&&je.config.appendElementOnExit){const t=document.createElement("label");t.id="tests_done",e&&(t.style.background="red"),t.innerHTML=e.toString(),document.body.appendChild(t)}}(e),Re.jiterpreter_dump_stats&&Re.jiterpreter_dump_stats(!1),0===e&&(null===(o=je.config)||void 0===o?void 0:o.interopCleanupOnExit)&&Re.forceDisposeProxies(!0,!0)}catch(e){u("mono_exit failed",e)}je.exitCode=e}if(je.config&&je.config.asyncFlushOnExit&&0===e)throw(async()=>{try{await async function(){try{const e=await import("process"),t=e=>new Promise(((t,o)=>{e.on("error",(e=>o(e))),e.write("",(function(){t()}))})),o=t(e.stderr),n=t(e.stdout);await Promise.all([n,o])}catch(e){d(`flushing std* streams failed: ${e}`)}}()}finally{$e(e,t)}})(),t;$e(e,t)}function $e(e,t){if(Oe()&&Re.mono_wasm_exit&&Re.mono_wasm_exit(e),0!==e||!_e)throw ye&&Se.process?Se.process.exit(e):Re.quit&&Re.quit(e,t),t}!function(o){if(Ae)throw new Error("Loader module already loaded");Ae=!0,Re=o.runtimeHelpers,je=o.loaderHelpers,xe=o.api,Se=o.internal,Object.assign(xe,{INTERNAL:Se,invokeLibraryInitializers:ce}),Object.assign(o.module,{disableDotnet6Compatibility:!0,config:{environmentVariables:{}}}),Object.assign(Re,{mono_wasm_bindings_is_ready:!1,javaScriptExports:{},config:o.module.config,diagnosticTracing:!1,abort:e=>{throw e}}),Object.assign(je,{gitHash:"2aade6beb02ea367fd97c4070a4198802fe61c03",config:o.module.config,diagnosticTracing:!1,maxParallelDownloads:16,enableDownloadRetry:!0,assertAfterExit:!_e,_loaded_files:[],loadedFiles:[],loadedAssemblies:[],libraryInitializers:[],actual_downloaded_assets_count:0,actual_instantiated_assets_count:0,expected_downloaded_assets_count:0,expected_instantiated_assets_count:0,afterConfigLoaded:n(),allDownloadsQueued:n(),wasmDownloadPromise:n(),runtimeModuleLoaded:n(),memorySnapshotSkippedOrDone:n(),is_exited:Te,is_runtime_running:Oe,assert_runtime_running:ke,mono_exit:Me,createPromiseController:n,getPromiseController:r,assertIsControllablePromise:s,mono_download_assets:Z,resolve_single_asset_path:Q,setup_proxy_console:m,logDownloadStatsToConsole:v,purgeUnusedCacheEntriesAsync:_,hasDebuggingEnabled:we,retrieve_asset_download:G,invokeLibraryInitializers:ce,exceptions:e,simd:t})}(De);const Le="__mono_message_please_dont_collide__";let Ie=!1;const Ue=De.module,Ne=Ue.config;async function Pe(e){if("function"==typeof e){const t=e(De.api);if(t.ready)throw new Error("Module.ready couldn't be redefined.");Object.assign(Ue,t),me(Ue,t)}else{if("object"!=typeof e)throw new Error("Can't use moduleFactory callback of createDotnetRuntime function.");me(Ue,e)}return await async function(e){if(ye){const e=await import("process"),t=14;if(e.versions.node.split(".")[0]0&&(je.modulesUniqueQuery=t.substring(o)),je.scriptUrl=t.replace(/\\/g,"/").replace(/[?#].*/,""),je.scriptDirectory=(n=je.scriptUrl).slice(0,n.lastIndexOf("/"))+"/",je.locateFile=e=>"URL"in globalThis&&globalThis.URL!==S?new URL(e,je.scriptDirectory).toString():O(e)?e:je.scriptDirectory+e,je.fetch_like=A,je.out=console.log,je.err=console.error,je.onDownloadResourceProgress=e.onDownloadResourceProgress,_e&&globalThis.navigator){const e=globalThis.navigator,t=e.userAgentData&&e.userAgentData.brands;t&&t.length>0?je.isChromium=t.some((e=>"Google Chrome"===e.brand||"Microsoft Edge"===e.brand||"Chromium"===e.brand)):e.userAgent&&(je.isChromium=e.userAgent.includes("Chrome"),je.isFirefox=e.userAgent.includes("Firefox"))}Se.require=ye?await import("module").then((e=>e.createRequire(import.meta.url))):Promise.resolve((()=>{throw new Error("require not supported")})),void 0===globalThis.URL&&(globalThis.URL=S)}(Ue),Ue.ENVIRONMENT_IS_PTHREAD?async function(){(function(){const e=new MessageChannel,t=e.port1,o=e.port2;t.addEventListener("message",(e=>{var n;n=JSON.parse(e.data.config),Ie?a("mono config already received"):(fe(je.config,n),pe(),a("mono config received"),Ie=!0,je.afterConfigLoaded.promise_control.resolve(je.config),_e&&n.forwardConsoleLogsToWS&&void 0!==globalThis.WebSocket&&je.setup_proxy_console("pthread-worker",console,self.location.href)),t.close(),o.close()}),{once:!0}),t.start(),self.postMessage({[Le]:{monoCmd:"preload",port:o}},[o])})(),await je.afterConfigLoaded.promise,function(){const e=je.config;e.assets||Ce(!1,"config.assets must be defined");for(const t of e.assets)H(t)}();const e=ze(),t=await Promise.all(e);return await Fe(t),Ue}():async function(){var e;Ue.configSrc||je.config&&0!==Object.keys(je.config).length&&(je.config.assets||je.config.resources)||(Ue.configSrc="./blazor.boot.json"),await async function(e){var t;const o=e.configSrc;if(be)await je.afterConfigLoaded.promise;else try{if(be=!0,o&&(a("mono_wasm_load_config"),await async function(e){const t=je.locateFile(e.configSrc),o=void 0!==je.loadBootResource?je.loadBootResource("manifest","blazor.boot.json",t,"","manifest"):s(t);let n;n=o?"string"==typeof o?await s(D(o)):await o:await s(ee(t,"manifest"));const r=await async function(e){const t=je.config,o=await e.json();t.applicationEnvironment||(o.applicationEnvironment=e.headers.get("Blazor-Environment")||e.headers.get("DotNet-Environment")||"Production"),o.environmentVariables||(o.environmentVariables={});const n=e.headers.get("DOTNET-MODIFIABLE-ASSEMBLIES");n&&(o.environmentVariables.DOTNET_MODIFIABLE_ASSEMBLIES=n);const r=e.headers.get("ASPNETCORE-BROWSER-TOOLS");return r&&(o.environmentVariables.__ASPNETCORE_BROWSER_TOOLS=r),o}(n);function s(e){return je.fetch_like(e,{method:"GET",credentials:"include",cache:"no-cache"})}fe(je.config,r)}(e)),pe(),await le(null===(t=je.config.resources)||void 0===t?void 0:t.modulesAfterConfigLoaded),await ce("onRuntimeConfigLoaded",[je.config]),e.onConfigLoaded)try{await e.onConfigLoaded(je.config,xe),pe()}catch(e){throw d("onConfigLoaded() failed",e),e}pe(),je.config.startupMemoryCache&&e.instantiateWasm&&Ce(!1,"startupMemoryCache is not supported with Module.instantiateWasm"),je.afterConfigLoaded.promise_control.resolve(je.config),je.config.startupMemoryCache||je.memorySnapshotSkippedOrDone.promise_control.resolve()}catch(t){const n=`Failed to load config file ${o} ${t} ${null==t?void 0:t.stack}`;throw je.config=e.config=Object.assign(je.config,{message:n,error:t,isError:!0}),Me(1,new Error(n)),t}}(Ue),function(){const e=je.config,t=[];if(e.assets)for(const t of e.assets)"object"!=typeof t&&Ce(!1,`asset must be object, it was ${typeof t} : ${t}`),"string"!=typeof t.behavior&&Ce(!1,"asset behavior must be known string"),"string"!=typeof t.name&&Ce(!1,"asset name must be string"),t.resolvedUrl&&"string"!=typeof t.resolvedUrl&&Ce(!1,"asset resolvedUrl could be string"),t.hash&&"string"!=typeof t.hash&&Ce(!1,"asset resolvedUrl could be string"),t.pendingDownload&&"object"!=typeof t.pendingDownload&&Ce(!1,"asset pendingDownload could be object"),B[t.behavior]?$.push(t):L.push(t),H(t);else if(e.resources){const o=e.resources;if(o.wasmNative||Ce(!1,"resources.wasmNative must be defined"),o.jsModuleNative||Ce(!1,"resources.jsModuleNative must be defined"),o.jsModuleRuntime||Ce(!1,"resources.jsModuleRuntime must be defined"),J(L,o.wasmNative,"dotnetwasm"),J(t,o.jsModuleNative,"js-module-native"),J(t,o.jsModuleRuntime,"js-module-runtime"),o.assembly)for(const e in o.assembly)$.push({name:e,hash:o.assembly[e],behavior:"assembly"});if(0!=e.debugLevel&&o.pdb)for(const e in o.pdb)$.push({name:e,hash:o.pdb[e],behavior:"pdb"});if(e.loadAllSatelliteResources&&o.satelliteResources)for(const e in o.satelliteResources)for(const t in o.satelliteResources[e])$.push({name:t,hash:o.satelliteResources[e][t],behavior:"resource",culture:e});if(o.vfs)for(const e in o.vfs)for(const t in o.vfs[e])L.push({name:t,hash:o.vfs[e][t],behavior:"vfs",virtualPath:e});const n=x(e);if(n&&o.icu)for(const e in o.icu)e===n&&$.push({name:e,hash:o.icu[e],behavior:"icu",loadRemote:!0});if(o.wasmSymbols)for(const e in o.wasmSymbols)L.push({name:e,hash:o.wasmSymbols[e],behavior:"symbols"})}if(e.appsettings)for(let t=0;t{je.wasmDownloadPromise.promise_control.resolve(e)})).catch((e=>{Me(1,e)})),setTimeout((()=>{!function(){if(je.preferredIcuAsset=x(je.config),je.invariantMode="invariant"==je.config.globalizationMode,!je.invariantMode)if(je.preferredIcuAsset)a("ICU data archive(s) available, disabling invariant mode");else{if("custom"===je.config.globalizationMode||"all"===je.config.globalizationMode||"sharded"===je.config.globalizationMode){const e="invariant globalization mode is inactive and no ICU data archives are available";throw d(`ERROR: ${e}`),new Error(e)}a("ICU data archive(s) not available, using invariant globalization mode"),je.invariantMode=!0,je.preferredIcuAsset=null}const e="DOTNET_SYSTEM_GLOBALIZATION_INVARIANT",t="DOTNET_SYSTEM_GLOBALIZATION_HYBRID",o=je.config.environmentVariables;if(void 0===o[t]&&"hybrid"===je.config.globalizationMode?o[t]="1":void 0===o[e]&&je.invariantMode&&(o[e]="1"),void 0===o.TZ)try{const e=Intl.DateTimeFormat().resolvedOptions().timeZone||null;e&&(o.TZ=e)}catch(e){l("failed to detect timezone, will fallback to UTC")}}(),Z()}),0);const o=await Promise.all(t);return await Fe(o),await Re.dotnetReady.promise,await le(null===(e=je.config.resources)||void 0===e?void 0:e.modulesAfterRuntimeReady),await ce("onRuntimeReady",[De.api]),xe}()}function ze(){const e=Q("js-module-runtime"),t=Q("js-module-native");let o,n;return"object"==typeof e.moduleExports?o=e.moduleExports:(a(`Attempting to import '${e.resolvedUrl}' for ${e.name}`),o=import(e.resolvedUrl)),"object"==typeof t.moduleExports?n=t.moduleExports:(a(`Attempting to import '${t.resolvedUrl}' for ${t.name}`),n=import(t.resolvedUrl)),[o,n]}async function Fe(e){const{initializeExports:t,initializeReplacements:o,configureRuntimeStartup:n,configureEmscriptenStartup:r,configureWorkerStartup:s,setRuntimeGlobals:i,passEmscriptenInternals:a}=e[0],{default:l}=e[1];i(De),t(De),await n(De.module),je.runtimeModuleLoaded.promise_control.resolve(),l((e=>(Object.assign(Ue,{ready:e.ready,__dotnet_runtime:{initializeReplacements:o,configureEmscriptenStartup:r,configureWorkerStartup:s,passEmscriptenInternals:a}}),Ue)))}const We=new class{withModuleConfig(e){try{return me(Ue,e),this}catch(e){throw Me(1,e),e}}withOnConfigLoaded(e){try{return me(Ue,{onConfigLoaded:e}),this}catch(e){throw Me(1,e),e}}withConsoleForwarding(){try{return fe(Ne,{forwardConsoleLogsToWS:!0}),this}catch(e){throw Me(1,e),e}}withExitOnUnhandledError(){const e=function(e,t){e.preventDefault();try{t&&t.silent||Me(1,t)}catch(e){}};try{return _e&&(window.addEventListener("unhandledrejection",(t=>e(t,t.reason))),window.addEventListener("error",(t=>e(t,t.error)))),this}catch(e){throw Me(1,e),e}}withAsyncFlushOnExit(){try{return fe(Ne,{asyncFlushOnExit:!0}),this}catch(e){throw Me(1,e),e}}withExitCodeLogging(){try{return fe(Ne,{logExitCode:!0}),this}catch(e){throw Me(1,e),e}}withElementOnExit(){try{return fe(Ne,{appendElementOnExit:!0}),this}catch(e){throw Me(1,e),e}}withInteropCleanupOnExit(){try{return fe(Ne,{interopCleanupOnExit:!0}),this}catch(e){throw Me(1,e),e}}withAssertAfterExit(){try{return fe(Ne,{assertAfterExit:!0}),this}catch(e){throw Me(1,e),e}}withWaitingForDebugger(e){try{return fe(Ne,{waitForDebugger:e}),this}catch(e){throw Me(1,e),e}}withStartupMemoryCache(e){try{return fe(Ne,{startupMemoryCache:e}),this}catch(e){throw Me(1,e),e}}withConfig(e){try{return fe(Ne,e),this}catch(e){throw Me(1,e),e}}withConfigSrc(e){try{return e&&"string"==typeof e||Ce(!1,"must be file path or URL"),me(Ue,{configSrc:e}),this}catch(e){throw Me(1,e),e}}withVirtualWorkingDirectory(e){try{return e&&"string"==typeof e||Ce(!1,"must be directory path"),this.virtualWorkingDirectory=e,this}catch(e){throw Me(1,e),e}}withEnvironmentVariable(e,t){try{const o={};return o[e]=t,fe(Ne,{environmentVariables:o}),this}catch(e){throw Me(1,e),e}}withEnvironmentVariables(e){try{return e&&"object"==typeof e||Ce(!1,"must be dictionary object"),fe(Ne,{environmentVariables:e}),this}catch(e){throw Me(1,e),e}}withDiagnosticTracing(e){try{return"boolean"!=typeof e&&Ce(!1,"must be boolean"),fe(Ne,{diagnosticTracing:e}),this}catch(e){throw Me(1,e),e}}withDebugging(e){try{return e&&"number"==typeof e||Ce(!1,"must be number"),fe(Ne,{debugLevel:e}),this}catch(e){throw Me(1,e),e}}withApplicationArguments(...e){try{return e&&Array.isArray(e)||Ce(!1,"must be array of strings"),this.applicationArguments=e,this}catch(e){throw Me(1,e),e}}withRuntimeOptions(e){try{return e&&Array.isArray(e)||Ce(!1,"must be array of strings"),fe(Ne,{runtimeOptions:e}),this}catch(e){throw Me(1,e),e}}withMainAssembly(e){try{return fe(Ne,{mainAssemblyName:e}),this}catch(e){throw Me(1,e),e}}withApplicationArgumentsFromQuery(){try{if(!globalThis.window)throw new Error("Missing window to the query parameters from");if(void 0===globalThis.URLSearchParams)throw new Error("URLSearchParams is supported");const e=new URLSearchParams(window.location.search).getAll("arg");return this.withApplicationArguments(...e)}catch(e){throw Me(1,e),e}}withApplicationEnvironment(e){try{return fe(Ne,{applicationEnvironment:e}),this}catch(e){throw Me(1,e),e}}withApplicationCulture(e){try{return fe(Ne,{applicationCulture:e}),this}catch(e){throw Me(1,e),e}}withResourceLoader(e){try{return je.loadBootResource=e,this}catch(e){throw Me(1,e),e}}async create(){try{if(this.instance||(_e&&Ue.config.forwardConsoleLogsToWS&&void 0!==globalThis.WebSocket&&m("main",globalThis.console,globalThis.location.origin),Ue||Ce(!1,"Null moduleConfig"),Ue.config||Ce(!1,"Null moduleConfig.config"),await Pe(Ue),this.instance=De.api),this.virtualWorkingDirectory){const e=this.instance.Module.FS,t=e.stat(this.virtualWorkingDirectory);t&&e.isDir(t.mode)||Ce(!1,`Could not find working directory ${this.virtualWorkingDirectory}`),e.chdir(this.virtualWorkingDirectory)}return this.instance}catch(e){throw Me(1,e),e}}async run(){try{if(Ue.config||Ce(!1,"Null moduleConfig.config"),this.instance||await this.create(),Ue.config.mainAssemblyName||Ce(!1,"Null moduleConfig.config.mainAssemblyName"),!this.applicationArguments)if(ye){const e=await import("process");this.applicationArguments=e.argv.slice(2)}else this.applicationArguments=[];return this.instance.runMainAndExit(Ue.config.mainAssemblyName,this.applicationArguments)}catch(e){throw Me(1,e),e}}},Be=Me,Ve=Pe;Ee||"function"==typeof globalThis.URL||Ce(!1,"This browser/engine doesn't support URL API. Please use a modern version. See also https://aka.ms/dotnet-wasm-features"),"function"!=typeof globalThis.BigInt64Array&&Ce(!1,"This browser/engine doesn't support BigInt64Array API. Please use a modern version. See also https://aka.ms/dotnet-wasm-features");export{Ve as default,We as dotnet,Be as exit}; +//# sourceMappingURL=dotnet.js.map diff --git a/docs/VNext/_framework/dotnet.js.br b/docs/VNext/_framework/dotnet.js.br new file mode 100644 index 00000000..45af7896 Binary files /dev/null and b/docs/VNext/_framework/dotnet.js.br differ diff --git a/docs/VNext/_framework/dotnet.js.gz b/docs/VNext/_framework/dotnet.js.gz new file mode 100644 index 00000000..577403cb Binary files /dev/null and b/docs/VNext/_framework/dotnet.js.gz differ diff --git a/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js new file mode 100644 index 00000000..8ec97538 --- /dev/null +++ b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js @@ -0,0 +1,17 @@ + +var createDotnetRuntime = (() => { + var _scriptDir = import.meta.url; + + return ( +async function(createDotnetRuntime = {}) { + +var Module=typeof createDotnetRuntime!="undefined"?createDotnetRuntime:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject});if(_nativeModuleLoaded)throw new Error("Native module already loaded");_nativeModuleLoaded=true;createDotnetRuntime=Module=createDotnetRuntime(Module);Module["getWasmIndirectFunctionTable"]=function(){return wasmTable};Module["getMemory"]=function(){return wasmMemory};var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof importScripts=="function";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_NODE){const{createRequire:createRequire}=await import("module");var require=createRequire(import.meta.url);var fs=require("fs");var nodePath=require("path");if(ENVIRONMENT_IS_WORKER){scriptDirectory=nodePath.dirname(scriptDirectory)+"/"}else{scriptDirectory=require("url").fileURLToPath(new URL("./",import.meta.url))}read_=(filename,binary)=>{filename=isFileURI(filename)?new URL(filename):nodePath.normalize(filename);return fs.readFileSync(filename,binary?undefined:"utf8")};readBinary=filename=>{var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}return ret};readAsync=(filename,onload,onerror)=>{filename=isFileURI(filename)?new URL(filename):nodePath.normalize(filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else onload(data.buffer)})};if(process.argv.length>1){thisProgram=process.argv[1].replace(/\\/g,"/")}arguments_=process.argv.slice(2);quit_=(status,toThrow)=>{process.exitCode=status;throw toThrow};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){let data;if(typeof readbuffer=="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data=="object");return data};readAsync=function readAsync(f,onload,onerror){setTimeout(()=>onload(readBinary(f)),0)};if(typeof clearTimeout=="undefined"){globalThis.clearTimeout=id=>{}}if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit=="function"){quit_=(status,toThrow)=>{setTimeout(()=>{if(!(toThrow instanceof ExitStatus)){let toLog=toThrow;if(toThrow&&typeof toThrow=="object"&&toThrow.stack){toLog=[toThrow,toThrow.stack]}err("exiting due to exception: "+toLog)}quit(status)});throw toThrow}}if(typeof print!="undefined"){if(typeof console=="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAP64,HEAPU64,HEAPF64;function updateMemoryViews(){var b=wasmMemory.buffer;Module["HEAP8"]=HEAP8=new Int8Array(b);Module["HEAP16"]=HEAP16=new Int16Array(b);Module["HEAP32"]=HEAP32=new Int32Array(b);Module["HEAPU8"]=HEAPU8=new Uint8Array(b);Module["HEAPU16"]=HEAPU16=new Uint16Array(b);Module["HEAPU32"]=HEAPU32=new Uint32Array(b);Module["HEAPF32"]=HEAPF32=new Float32Array(b);Module["HEAPF64"]=HEAPF64=new Float64Array(b);Module["HEAP64"]=HEAP64=new BigInt64Array(b);Module["HEAPU64"]=HEAPU64=new BigUint64Array(b)}var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();FS.ignorePermissions=false;TTY.init();SOCKFS.root=FS.mount(SOCKFS,{},null);callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;if(Module["locateFile"]){wasmBinaryFile="dotnet.native.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}}else{wasmBinaryFile=new URL("dotnet.native.wasm",import.meta.url).href}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(binaryFile){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"&&!isFileURI(binaryFile)){return fetch(binaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+binaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(binaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(binaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(binaryFile)})}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(function(binary){return WebAssembly.instantiate(binary,imports)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&!isFileURI(binaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,imports);return result.then(callback,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(binaryFile,imports,callback)})})}else{return instantiateArrayBuffer(binaryFile,imports,callback)}}function createWasm(){var info={"env":wasmImports,"wasi_snapshot_preview1":wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["memory"];updateMemoryViews();wasmTable=Module["asm"]["__indirect_function_table"];addOnInit(Module["asm"]["__wasm_call_ctors"]);removeRunDependency("wasm-instantiate");return exports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e)}}instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult).catch(readyPromiseReject);return{}}var tempDouble;var tempI64;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}function getValue(ptr,type="i8"){if(type.endsWith("*"))type="*";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP64[ptr>>3];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];case"*":return HEAPU32[ptr>>2];default:abort("invalid type for getValue: "+type)}}function setValue(ptr,value,type="i8"){if(type.endsWith("*"))type="*";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;case"*":HEAPU32[ptr>>2]=value;break;default:abort("invalid type for setValue: "+type)}}var exceptionCaught=[];function exception_addRef(info){info.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(ptr){var info=new ExceptionInfo(ptr);if(!info.get_caught()){info.set_caught(true);uncaughtExceptionCount--}info.set_rethrown(false);exceptionCaught.push(info);exception_addRef(info);return info.get_exception_ptr()}var exceptionLast=0;var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function exception_decRef(info){if(info.release_ref()&&!info.get_rethrown()){var destructor=info.get_destructor();if(destructor){getWasmTableEntry(destructor)(info.excPtr)}___cxa_free_exception(info.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var info=exceptionCaught.pop();exception_decRef(info);exceptionLast=0}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-24;this.set_type=function(type){HEAPU32[this.ptr+4>>2]=type};this.get_type=function(){return HEAPU32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAPU32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAPU32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_adjusted_ptr(0);this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1};this.set_adjusted_ptr=function(adjustedPtr){HEAPU32[this.ptr+16>>2]=adjustedPtr};this.get_adjusted_ptr=function(){return HEAPU32[this.ptr+16>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_type());if(isPointer){return HEAPU32[this.excPtr>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.excPtr}}function ___resumeException(ptr){if(!exceptionLast){exceptionLast=ptr}throw ptr}function ___cxa_find_matching_catch(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0}var info=new ExceptionInfo(thrown);info.set_adjusted_ptr(thrown);var thrownType=info.get_type();if(!thrownType){setTempRet0(0);return thrown}for(var i=0;ipath.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:function(){var paths=Array.prototype.slice.call(arguments);return PATH.normalize(paths.join("/"))},join2:(l,r)=>{return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){var randomBuffer=new Uint8Array(1);return()=>{crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return()=>crypto_module["randomBytes"](1)[0]}catch(e){}}return()=>abort("randomDevice")}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var TTY={ttys:[],init:function(){},shutdown:function(){},register:function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open:function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close:function(stream){stream.tty.ops.fsync(stream.tty)},fsync:function(stream){stream.tty.ops.fsync(stream.tty)},read:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function zeroMemory(address,size){HEAPU8.fill(0,address,address+size);return address}function alignMemory(size,alignment){return Math.ceil(size/alignment)*alignment}function mmapAlloc(size){size=alignMemory(size,65536);var ptr=_emscripten_builtin_memalign(65536,size);if(!ptr)return 0;return zeroMemory(ptr,size)}var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node;parent.timestamp=node.timestamp}return node},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.parent.timestamp=Date.now();old_node.name=new_name;new_dir.contents[new_name]=old_node;new_dir.timestamp=old_node.parent.timestamp;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name];parent.timestamp=Date.now()},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.timestamp=Date.now()},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length{assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},event=>{if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)}var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(path,opts={})=>{path=PATH_FS.resolve(path);if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};opts=Object.assign(defaults,opts);if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=path.split("/").filter(p=>!!p);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:node=>{var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:(parentid,name)=>{var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:node=>{var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:node=>{var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:(parent,name)=>{var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:(parent,name,mode,rdev)=>{var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:node=>{FS.hashRemoveNode(node)},isRoot:node=>{return node===node.parent},isMountpoint:node=>{return!!node.mounted},isFile:mode=>{return(mode&61440)===32768},isDir:mode=>{return(mode&61440)===16384},isLink:mode=>{return(mode&61440)===40960},isChrdev:mode=>{return(mode&61440)===8192},isBlkdev:mode=>{return(mode&61440)===24576},isFIFO:mode=>{return(mode&61440)===4096},isSocket:mode=>{return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:str=>{var flags=FS.flagModes[str];if(typeof flags=="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:flag=>{var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:(node,perms)=>{if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup:dir=>{var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:(dir,name)=>{try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:(dir,name,isdir)=>{var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:(node,flags)=>{if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:(fd_start=0,fd_end=FS.MAX_OPEN_FDS)=>{for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:fd=>FS.streams[fd],createStream:(stream,fd_start,fd_end)=>{if(!FS.FSStream){FS.FSStream=function(){this.shared={}};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}},flags:{get:function(){return this.shared.flags},set:function(val){this.shared.flags=val}},position:{get:function(){return this.shared.position},set:function(val){this.shared.position=val}}})}stream=Object.assign(new FS.FSStream,stream);var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:fd=>{FS.streams[fd]=null},chrdev_stream_ops:{open:stream=>{var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:()=>{throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice:(dev,ops)=>{FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts:mount=>{var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:(populate,callback)=>{if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:(type,opts,mountpoint)=>{var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:mountpoint=>{var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:(parent,name)=>{return parent.node_ops.lookup(parent,name)},mknod:(path,mode,dev)=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:(path,mode)=>{mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:(path,mode)=>{mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:(path,mode)=>{var dirs=path.split("/");var d="";for(var i=0;i{if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:(oldpath,newpath)=>{if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:(old_path,new_path)=>{var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir:path=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink:path=>{var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:(path,dontFollow)=>{var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:path=>{return FS.stat(path,true)},chmod:(path,mode,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:(path,mode)=>{FS.chmod(path,mode,true)},fchmod:(fd,mode)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:(path,uid,gid,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:(path,uid,gid)=>{FS.chown(path,uid,gid,true)},fchown:(fd,uid,gid)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:(path,len)=>{if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:(fd,len)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:(path,atime,mtime)=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:(path,flags,mode)=>{if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode=="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close:stream=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:stream=>{return stream.fd===null},llseek:(stream,offset,whence)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:(stream,buffer,offset,length,position)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:(stream,buffer,offset,length,position,canOwn)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate:(stream,offset,length)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:(stream,length,position,prot,flags)=>{if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync:(stream,buffer,offset,length,mmapFlags)=>{if(!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:stream=>0,ioctl:(stream,cmd,arg)=>{if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:(path,opts={})=>{opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:(path,data,opts={})=>{opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir:path=>{var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:()=>{FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:()=>{FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device=getRandomDevice();FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:()=>{var node=FS.createNode(proc_self,"fd",16384|511,73);node.node_ops={lookup:(parent,name)=>{var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:()=>{if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},ensureErrnoError:()=>{if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.name="ErrnoError";this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(code=>{FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack=""})},staticInit:()=>{FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:(input,output,error)=>{FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:()=>{FS.init.initialized=false;for(var i=0;i{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},findObject:(path,dontResolveLastLink)=>{var ret=FS.analyzePath(path,dontResolveLastLink);if(!ret.exists){return null}return ret.object},analyzePath:(path,dontResolveLastLink)=>{try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath:(parent,path,canRead,canWrite)=>{parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:(parent,name,properties,canRead,canWrite)=>{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:(parent,name,data,canRead,canWrite,canOwn)=>{var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:stream=>{stream.seekable=false},close:stream=>{if(output&&output.buffer&&output.buffer.length){output(10)}},read:(stream,buffer,offset,length,pos)=>{var bytesRead=0;for(var i=0;i{for(var i=0;i{if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}},createLazyFile:(parent,name,url,canRead,canWrite)=>{function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}return intArrayFromString(xhr.responseText||"",true)};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr:ptr,allocated:true}};node.stream_ops=stream_ops;return node},createPreloadedFile:(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}if(Browser.handledByPreloadPlugin(byteArray,fullname,finish,()=>{if(onerror)onerror();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url,byteArray=>processData(byteArray),onerror)}else{processData(url)}},indexedDB:()=>{return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:()=>{return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(paths,onload=(()=>{}),onerror=(()=>{}))=>{var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=()=>{out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=()=>{var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=()=>{ok++;if(ok+fail==total)finish()};putRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:(paths,onload=(()=>{}),onerror=(()=>{}))=>{var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=()=>{var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var getRequest=files.get(path);getRequest.onsuccess=()=>{if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=SYSCALLS.getStreamFromFD(dirfd);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return PATH.join2(dir,path)},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAPU32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;var atime=stat.atime.getTime();var mtime=stat.mtime.getTime();var ctime=stat.ctime.getTime();tempI64=[Math.floor(atime/1e3)>>>0,(tempDouble=Math.floor(atime/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+56>>2]=tempI64[0],HEAP32[buf+60>>2]=tempI64[1];HEAPU32[buf+64>>2]=atime%1e3*1e3;tempI64=[Math.floor(mtime/1e3)>>>0,(tempDouble=Math.floor(mtime/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+72>>2]=tempI64[0],HEAP32[buf+76>>2]=tempI64[1];HEAPU32[buf+80>>2]=mtime%1e3*1e3;tempI64=[Math.floor(ctime/1e3)>>>0,(tempDouble=Math.floor(ctime/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+88>>2]=tempI64[0],HEAP32[buf+92>>2]=tempI64[1];HEAPU32[buf+96>>2]=ctime%1e3*1e3;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+104>>2]=tempI64[0],HEAP32[buf+108>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}if(flags&2){return 0}var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream}};function ___syscall_chdir(path){try{path=SYSCALLS.getStr(path);FS.chdir(path);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_chmod(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}var SOCKFS={mount:function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this};Module["websocket"].emit=function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}};return FS.createNode(null,"/",16384|511,0)},createSocket:function(family,type,protocol){type&=~526336;var streaming=type==1;if(streaming&&protocol&&protocol!=6){throw new FS.ErrnoError(66)}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:2,seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock},getSocket:function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock},stream_ops:{poll:function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)},ioctl:function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)},read:function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length},write:function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)},close:function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)}},nextname:function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(sock,addr,port){var ws;if(typeof addr=="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}var opts=undefined;if(subProtocols!=="null"){subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);opts=subProtocols}if(runtimeConfig&&null===Module["websocket"]["subprotocol"]){subProtocols="null";opts=undefined}var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(23)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer},getPeer:function(sock,addr,port){return sock.peers[addr+":"+port]},addPeer:function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer},removePeer:function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]},handlePeerEvents:function(sock,peer){var first=true;var handleOpen=function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}};function handleMessage(data){if(typeof data=="string"){var encoder=new TextEncoder;data=encoder.encode(data)}else{assert(data.byteLength!==undefined);if(data.byteLength==0){return}data=new Uint8Array(data)}var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",function(data,isBinary){if(!isBinary){return}handleMessage(new Uint8Array(data).buffer)});peer.socket.on("close",function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.on("error",function(error){sock.error=14;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}else{peer.socket.onopen=handleOpen;peer.socket.onclose=function(){Module["websocket"].emit("close",sock.stream.fd)};peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=function(error){sock.error=14;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}}},poll:function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask},ioctl:function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return 28}},close:function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>2]=value;return value}function inetNtop4(addr){return(addr&255)+"."+(addr>>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}function inetNtop6(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=inetNtop4(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAPU16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:28}}addr=HEAP32[sa+4>>2];addr=inetNtop4(addr);break;case 10:if(salen!==28){return{errno:28}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=inetNtop6(addr);break;default:return{errno:5}}return{family:family,addr:addr,port:port}}function inetPton4(str){var b=str.split(".");for(var i=0;i<4;i++){var tmp=Number(b[i]);if(isNaN(tmp))return null;b[i]=tmp}return(b[0]|b[1]<<8|b[2]<<16|b[3]<<24)>>>0}function jstoi_q(str){return parseInt(str)}function inetPton6(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.startsWith("::")){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>1]=2;return 0}case 6:case 7:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_fstat64(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_statfs64(path,size,buf){try{path=SYSCALLS.getStr(path);HEAP32[buf+4>>2]=4096;HEAP32[buf+40>>2]=4096;HEAP32[buf+8>>2]=1e6;HEAP32[buf+12>>2]=5e5;HEAP32[buf+16>>2]=5e5;HEAP32[buf+20>>2]=FS.nextInode;HEAP32[buf+24>>2]=1e6;HEAP32[buf+28>>2]=42;HEAP32[buf+44>>2]=2;HEAP32[buf+36>>2]=255;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_fstatfs64(fd,size,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return ___syscall_statfs64(0,size,buf)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}var MAX_INT53=9007199254740992;var MIN_INT53=-9007199254740992;function bigintToI53Checked(num){return numMAX_INT53?NaN:Number(num)}function ___syscall_ftruncate64(fd,length){try{length=bigintToI53Checked(length);if(isNaN(length))return-61;FS.ftruncate(fd,length);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_getcwd(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd)+1;if(size>>0,(tempDouble=id,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:return-28}}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_mkdirat(dirfd,path,mode){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_newfstatat(dirfd,path,buf,flags){try{path=SYSCALLS.getStr(path);var nofollow=flags&256;var allowEmpty=flags&4096;flags=flags&~6400;path=SYSCALLS.calculateAt(dirfd,path,allowEmpty);return SYSCALLS.doStat(nofollow?FS.lstat:FS.stat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?SYSCALLS.get():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_readlinkat(dirfd,path,buf,bufsize){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function writeSockaddr(sa,family,addr,port,addrlen){switch(family){case 2:addr=inetPton4(addr);zeroMemory(sa,16);if(addrlen){HEAP32[addrlen>>2]=16}HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=inetPton6(addr);zeroMemory(sa,28);if(addrlen){HEAP32[addrlen>>2]=28}HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);break;default:return 5}return 0}function ___syscall_recvfrom(fd,buf,len,flags,addr,addrlen){try{var sock=getSocketFromFD(fd);var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var errno=writeSockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port,addrlen)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_renameat(olddirfd,oldpath,newdirfd,newpath){try{oldpath=SYSCALLS.getStr(oldpath);newpath=SYSCALLS.getStr(newpath);oldpath=SYSCALLS.calculateAt(olddirfd,oldpath);newpath=SYSCALLS.calculateAt(newdirfd,newpath);FS.rename(oldpath,newpath);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_sendto(fd,message,length,flags,addr,addr_len){try{var sock=getSocketFromFD(fd);var dest=getSocketAddress(addr,addr_len,true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_socket(domain,type,protocol){try{var sock=SOCKFS.createSocket(domain,type,protocol);return sock.stream.fd}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_symlink(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_unlinkat(dirfd,path,flags){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);if(flags===0){FS.unlink(path)}else if(flags===512){FS.rmdir(path)}else{abort("Invalid flags passed to unlinkat")}return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function readI53FromI64(ptr){return HEAPU32[ptr>>2]+HEAP32[ptr+4>>2]*4294967296}function ___syscall_utimensat(dirfd,path,times,flags){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path,true);if(!times){var atime=Date.now();var mtime=atime}else{var seconds=readI53FromI64(times);var nanoseconds=HEAP32[times+8>>2];atime=seconds*1e3+nanoseconds/(1e3*1e3);times+=16;seconds=readI53FromI64(times);nanoseconds=HEAP32[times+8>>2];mtime=seconds*1e3+nanoseconds/(1e3*1e3)}FS.utime(path,atime,mtime);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}var nowIsMonotonic=true;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function __gmtime_js(time,tmPtr){var date=new Date(readI53FromI64(time)*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}var __MONTH_DAYS_LEAP_CUMULATIVE=[0,31,60,91,121,152,182,213,244,274,305,335];var __MONTH_DAYS_REGULAR_CUMULATIVE=[0,31,59,90,120,151,181,212,243,273,304,334];function __yday_from_date(date){var isLeapYear=__isLeapYear(date.getFullYear());var monthDaysCumulative=isLeapYear?__MONTH_DAYS_LEAP_CUMULATIVE:__MONTH_DAYS_REGULAR_CUMULATIVE;var yday=monthDaysCumulative[date.getMonth()]+date.getDate()-1;return yday}function __localtime_js(time,tmPtr){var date=new Date(readI53FromI64(time)*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var yday=__yday_from_date(date)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst}function __mmap_js(len,prot,flags,fd,off,allocated,addr){try{var stream=SYSCALLS.getStreamFromFD(fd);var res=FS.mmap(stream,len,off,prot,flags);var ptr=res.ptr;HEAP32[allocated>>2]=res.allocated;HEAPU32[addr>>2]=ptr;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function __msync_js(addr,len,prot,flags,fd,offset){try{SYSCALLS.doMsync(addr,SYSCALLS.getStreamFromFD(fd),len,flags,0);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function __munmap_js(addr,len,prot,flags,fd,offset){try{var stream=SYSCALLS.getStreamFromFD(fd);if(prot&2){SYSCALLS.doMsync(addr,stream,len,flags,offset)}FS.munmap(stream)}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function __tzset_js(timezone,daylight,tzname){var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAPU32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAPU32[tzname+4>>2]=summerNamePtr}else{HEAPU32[tzname>>2]=summerNamePtr;HEAPU32[tzname+4>>2]=winterNamePtr}}function _abort(){abort("")}var dlopenMissingError="To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking";function _dlopen(handle){abort(dlopenMissingError)}var DOTNETENTROPY={getBatchedRandomValues:function(buffer,bufferLength){const batchedQuotaMax=65536;const needTempBuf=typeof SharedArrayBuffer!=="undefined"&&Module.HEAPU8.buffer instanceof SharedArrayBuffer;const buf=needTempBuf?new ArrayBuffer(bufferLength):Module.HEAPU8.buffer;const offset=needTempBuf?0:buffer;for(let i=0;i{var t=process.hrtime();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!="undefined"){_emscripten_get_now=dateNow}else _emscripten_get_now=()=>performance.now();function _emscripten_get_now_res(){if(ENVIRONMENT_IS_NODE){return 1}else if(typeof dateNow!="undefined"){return 1e3}else return 1e3}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){var b=wasmMemory.buffer;try{wasmMemory.grow(size-b.byteLength+65535>>>16);updateMemoryViews();return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _proc_exit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}function exitJS(status,implicit){EXITSTATUS=status;_proc_exit(status)}var _exit=exitJS;function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function doReadv(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function doWritev(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(typeof offset!=="undefined"){offset+=curr}}return ret}function _fd_pwrite(fd,iov,iovcnt,offset,pnum){try{offset=bigintToI53Checked(offset);if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt,offset);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doReadv(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_seek(fd,offset,whence,newOffset){try{offset=bigintToI53Checked(offset);if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_sync(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);if(stream.stream_ops&&stream.stream_ops.fsync){return stream.stream_ops.fsync(stream)}return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _llvm_eh_typeid_for(type){return type}var DOTNET={setup:function setup(linkerSetup){const pthreadReplacements={};const dotnet_replacements={fetch:globalThis.fetch,require:require,updateMemoryViews:updateMemoryViews,pthreadReplacements:pthreadReplacements,scriptDirectory:scriptDirectory,noExitRuntime:noExitRuntime};const ENVIRONMENT_IS_PTHREAD=false;Module.__dotnet_runtime.passEmscriptenInternals({isPThread:ENVIRONMENT_IS_PTHREAD,quit_:quit_,ExitStatus:ExitStatus,...linkerSetup});Module.__dotnet_runtime.initializeReplacements(dotnet_replacements);Module.__dotnet_runtime.configureEmscriptenStartup(Module);updateMemoryViews=dotnet_replacements.updateMemoryViews;noExitRuntime=dotnet_replacements.noExitRuntime;fetch=dotnet_replacements.fetch;require=dotnet_replacements.require;_scriptDir=__dirname=scriptDirectory=dotnet_replacements.scriptDirectory}};function _mono_interp_flush_jitcall_queue(){return{runtime_idx:12}}function _mono_interp_invoke_wasm_jit_call_trampoline(){return{runtime_idx:11}}function _mono_interp_jit_wasm_entry_trampoline(){return{runtime_idx:9}}function _mono_interp_jit_wasm_jit_call_trampoline(){return{runtime_idx:10}}function _mono_interp_record_interp_entry(){return{runtime_idx:8}}function _mono_interp_tier_prepare_jiterpreter(){return{runtime_idx:7}}function _mono_wasm_add_dbg_command_received(){return{runtime_idx:3}}function _mono_wasm_asm_loaded(){return{runtime_idx:1}}function _mono_wasm_bind_cs_function(){return{runtime_idx:23}}function _mono_wasm_bind_js_function(){return{runtime_idx:20}}function _mono_wasm_change_case(){return{runtime_idx:26}}function _mono_wasm_change_case_invariant(){return{runtime_idx:25}}function _mono_wasm_compare_string(){return{runtime_idx:27}}function _mono_wasm_create_cs_owned_object_ref(){return{runtime_idx:41}}function _mono_wasm_debugger_log(){return{runtime_idx:2}}function _mono_wasm_ends_with(){return{runtime_idx:29}}function _mono_wasm_fire_debugger_agent_message_with_data(){return{runtime_idx:4}}function _mono_wasm_get_by_index_ref(){return{runtime_idx:38}}function _mono_wasm_get_calendar_info(){return{runtime_idx:31}}function _mono_wasm_get_culture_info(){return{runtime_idx:32}}function _mono_wasm_get_first_day_of_week(){return{runtime_idx:33}}function _mono_wasm_get_first_week_of_year(){return{runtime_idx:34}}function _mono_wasm_get_global_object_ref(){return{runtime_idx:40}}function _mono_wasm_get_object_property_ref(){return{runtime_idx:36}}function _mono_wasm_index_of(){return{runtime_idx:30}}function _mono_wasm_invoke_bound_function(){return{runtime_idx:21}}function _mono_wasm_invoke_import(){return{runtime_idx:22}}function _mono_wasm_invoke_js_blazor(){return{runtime_idx:44}}function _mono_wasm_invoke_js_with_args_ref(){return{runtime_idx:35}}function _mono_wasm_marshal_promise(){return{runtime_idx:24}}function _mono_wasm_profiler_enter(){return{runtime_idx:14}}function _mono_wasm_profiler_leave(){return{runtime_idx:15}}function _mono_wasm_release_cs_owned_object(){return{runtime_idx:19}}function _mono_wasm_schedule_timer(){return{runtime_idx:0}}function _mono_wasm_set_by_index_ref(){return{runtime_idx:39}}function _mono_wasm_set_entrypoint_breakpoint(){return{runtime_idx:17}}function _mono_wasm_set_object_property_ref(){return{runtime_idx:37}}function _mono_wasm_starts_with(){return{runtime_idx:28}}function _mono_wasm_trace_logger(){return{runtime_idx:16}}function _mono_wasm_typed_array_from_ref(){return{runtime_idx:43}}function _mono_wasm_typed_array_to_array_ref(){return{runtime_idx:42}}function _schedule_background_exec(){return{runtime_idx:6}}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}return thisDate.getFullYear()}return thisDate.getFullYear()-1}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}return"PM"},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371-date.tm_yday-2)%7<=2){val++}if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1)){val++}}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\0\0");for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function getCFunc(ident){var func=Module["_"+ident];return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":str=>{var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":arr=>{var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string"){return UTF8ToString(ret)}if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;itype==="number"||type==="boolean");var numericRet=returnType!=="string";if(numericRet&&numericArgs&&!opts){return getCFunc(ident)}return function(){return ccall(ident,returnType,argTypes,arguments,opts)}}function uleb128Encode(n,target){if(n<128){target.push(n)}else{target.push(n%128|128,n>>7)}}function sigToWasmTypes(sig){var typeNames={"i":"i32","j":"i32","f":"f32","d":"f64","p":"i32"};var type={parameters:[],results:sig[0]=="v"?[]:[typeNames[sig[0]]]};for(var i=1;i>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + + + return createDotnetRuntime.ready +} + +); +})(); +export default createDotnetRuntime; +var fetch = fetch || undefined; var require = require || undefined; var __dirname = __dirname || ''; var _nativeModuleLoaded = false; diff --git a/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.br b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.br new file mode 100644 index 00000000..c34d055e Binary files /dev/null and b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.br differ diff --git a/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.gz b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.gz new file mode 100644 index 00000000..3ab08311 Binary files /dev/null and b/docs/VNext/_framework/dotnet.native.8.0.7.sgnytqlsjk.js.gz differ diff --git a/docs/VNext/_framework/dotnet.native.wasm b/docs/VNext/_framework/dotnet.native.wasm new file mode 100644 index 00000000..cc34f442 Binary files /dev/null and b/docs/VNext/_framework/dotnet.native.wasm differ diff --git a/docs/VNext/_framework/dotnet.native.wasm.br b/docs/VNext/_framework/dotnet.native.wasm.br new file mode 100644 index 00000000..4e39c9bd Binary files /dev/null and b/docs/VNext/_framework/dotnet.native.wasm.br differ diff --git a/docs/VNext/_framework/dotnet.native.wasm.gz b/docs/VNext/_framework/dotnet.native.wasm.gz new file mode 100644 index 00000000..e5818447 Binary files /dev/null and b/docs/VNext/_framework/dotnet.native.wasm.gz differ diff --git a/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js new file mode 100644 index 00000000..8b33adaf --- /dev/null +++ b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js @@ -0,0 +1,4 @@ +//! Licensed to the .NET Foundation under one or more agreements. +//! The .NET Foundation licenses this file to you under the MIT license. +var e="8.0.7";let t,n;const r="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,o="function"==typeof importScripts,a="object"==typeof window||o&&!r,s=!a&&!r&&!o;let i,c=null,l=null,u=null,p=!1,d=!0,_=!0,f=!1,m=!1,h=!1;function b(e){i=e.isPThread,p=e.linkerDisableLegacyJsInterop,d=e.linkerWasmEnableSIMD,_=e.linkerWasmEnableEH,f=e.linkerEnableAotProfiler,m=e.linkerEnableBrowserProfiler,l.quit=e.quit_,l.ExitStatus=e.ExitStatus,l.moduleGitHash=e.gitHash}function g(e){if(h)throw new Error("Runtime module already loaded");h=!0,t=e.module,n=e.internal,l=e.runtimeHelpers,u=e.loaderHelpers,c=e.api,Object.assign(l,{gitHash:"2aade6beb02ea367fd97c4070a4198802fe61c03",allAssetsInMemory:y(),dotnetReady:y(),afterInstantiateWasm:y(),beforePreInit:y(),afterPreInit:y(),afterPreRun:y(),beforeOnRuntimeInitialized:y(),afterOnRuntimeInitialized:y(),afterPostRun:y(),mono_wasm_exit:()=>{throw new Error("Mono shutdown")},abort:e=>{throw e}}),Object.assign(e.module.config,{}),Object.assign(e.api,{Module:e.module,...e.module}),Object.assign(e.api,{INTERNAL:e.internal})}function y(e,t){return u.createPromiseController(e,t)}function w(e,t){if(e)return;const n="Assert failed: "+("function"==typeof t?t():t),r=new Error(n);l.abort(r)}const S=0,k=0,v=0,E=0,U=0,I=-1,x=0,T=0,j=0;function A(e){return null==e}var R;!function(e){e[e.None=0]="None",e[e.Void=1]="Void",e[e.Discard=2]="Discard",e[e.Boolean=3]="Boolean",e[e.Byte=4]="Byte",e[e.Char=5]="Char",e[e.Int16=6]="Int16",e[e.Int32=7]="Int32",e[e.Int52=8]="Int52",e[e.BigInt64=9]="BigInt64",e[e.Double=10]="Double",e[e.Single=11]="Single",e[e.IntPtr=12]="IntPtr",e[e.JSObject=13]="JSObject",e[e.Object=14]="Object",e[e.String=15]="String",e[e.Exception=16]="Exception",e[e.DateTime=17]="DateTime",e[e.DateTimeOffset=18]="DateTimeOffset",e[e.Nullable=19]="Nullable",e[e.Task=20]="Task",e[e.Array=21]="Array",e[e.ArraySegment=22]="ArraySegment",e[e.Span=23]="Span",e[e.Action=24]="Action",e[e.Function=25]="Function",e[e.JSException=26]="JSException"}(R||(R={}));var L=!1;const C=[],$=32768;let N,D;const B=BigInt("9223372036854775807"),O=BigInt("-9223372036854775808");function M(){N||(N=t._malloc($),D=N),C.push(D)}function F(e,t,n){if(!Number.isSafeInteger(e))throw new Error(`Assert failed: Value is not an integer: ${e} (${typeof e})`);if(!(e>=t&&e<=n))throw new Error(`Assert failed: Overflow: value ${e} is out of ${t} ${n} range`)}function P(e,t){Ee().fill(0,e,e+t)}function z(e,n){const r=!!n;"number"==typeof n&&F(n,0,1),t.HEAP32[e>>>2]=r?1:0}function V(e,n){F(n,0,255),t.HEAPU8[e]=n}function H(e,n){F(n,0,65535),t.HEAPU16[e>>>1]=n}function W(e,t,n){F(n,0,65535),e[t>>>1]=n}function G(e,n){t.HEAPU32[e>>>2]=n}function q(e,n){F(n,0,4294967295),t.HEAPU32[e>>>2]=n}function J(e,n){F(n,-128,127),t.HEAP8[e]=n}function Y(e,n){F(n,-32768,32767),t.HEAP16[e>>>1]=n}function X(e,n){t.HEAP32[e>>>2]=n}function Z(e,n){F(n,-2147483648,2147483647),t.HEAP32[e>>>2]=n}function K(e){if(0!==e)switch(e){case 1:throw new Error("value was not an integer");case 2:throw new Error("value out of range");default:throw new Error("unknown internal error")}}function Q(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);K(St.mono_wasm_f64_to_i52(e,t))}function ee(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);if(!(t>=0))throw new Error("Assert failed: Can't convert negative Number into UInt64");K(St.mono_wasm_f64_to_u52(e,t))}function te(e,n){if("bigint"!=typeof n)throw new Error(`Assert failed: Value is not an bigint: ${n} (${typeof n})`);if(!(n>=O&&n<=B))throw new Error(`Assert failed: Overflow: value ${n} is out of ${O} ${B} range`);t.HEAP64[e>>>3]=n}function ne(e,n){if("number"!=typeof n)throw new Error(`Assert failed: Value is not a Number: ${n} (${typeof n})`);t.HEAPF32[e>>>2]=n}function re(e,n){if("number"!=typeof n)throw new Error(`Assert failed: Value is not a Number: ${n} (${typeof n})`);t.HEAPF64[e>>>3]=n}function oe(e){return!!t.HEAP32[e>>>2]}function ae(e){return t.HEAPU8[e]}function se(e){return t.HEAPU16[e>>>1]}function ie(e){return t.HEAPU32[e>>>2]}function ce(e,t){return e[t>>>2]}function le(e){return St.mono_wasm_get_i32_unaligned(e)}function ue(e){return St.mono_wasm_get_i32_unaligned(e)>>>0}function pe(e){return t.HEAP8[e]}function de(e){return t.HEAP16[e>>>1]}function _e(e){return t.HEAP32[e>>>2]}function fe(e){const t=St.mono_wasm_i52_to_f64(e,l._i52_error_scratch_buffer);return K(_e(l._i52_error_scratch_buffer)),t}function me(e){const t=St.mono_wasm_u52_to_f64(e,l._i52_error_scratch_buffer);return K(_e(l._i52_error_scratch_buffer)),t}function he(e){return t.HEAP64[e>>>3]}function be(e){return t.HEAPF32[e>>>2]}function ge(e){return t.HEAPF64[e>>>3]}function ye(e){const n=t._malloc(e.length);return new Uint8Array(Ee().buffer,n,e.length).set(e),n}function we(){return t.HEAP8}function Se(){return t.HEAP16}function ke(){return t.HEAP32}function ve(){return t.HEAP64}function Ee(){return t.HEAPU8}function Ue(){return t.HEAPU16}function Ie(){return t.HEAPU32}function xe(){return t.HEAPF32}function Te(){return t.HEAPF64}const je=8192;let Ae=null,Re=null,Le=0;const Ce=[],$e=[];function Ne(e,n){if(e<=0)throw new Error("capacity >= 1");const r=4*(e|=0),o=t._malloc(r);if(o%4!=0)throw new Error("Malloc returned an unaligned offset");return P(o,r),new WasmRootBufferImpl(o,e,!0,n)}function De(e){let t;if(!e)throw new Error("address must be a location in the native heap");return $e.length>0?(t=$e.pop(),t._set_address(e)):t=new Fe(e),t}function Be(e=void 0){let t;if(Ce.length>0)t=Ce.pop();else{const e=function(){if(A(Ae)||!Re){Ae=Ne(je,"js roots"),Re=new Int32Array(je),Le=je;for(let e=0;e>>2,this.__count=t,this.length=t,this.__handle=St.mono_wasm_register_root(e,o,r||"noname"),this.__ownsAllocation=n}_throw_index_out_of_range(){throw new Error("index out of range")}_check_in_range(e){(e>=this.__count||e<0)&&this._throw_index_out_of_range()}get_address(e){return this._check_in_range(e),this.__offset+4*e}get_address_32(e){return this._check_in_range(e),this.__offset32+e}get(e){this._check_in_range(e);const t=this.get_address_32(e);return Ie()[t]}set(e,t){const n=this.get_address(e);return St.mono_wasm_write_managed_pointer_unsafe(n,t),t}copy_value_from_address(e,t){const n=this.get_address(e);St.mono_wasm_copy_managed_pointer(n,t)}_unsafe_get(e){return Ie()[this.__offset32+e]}_unsafe_set(e,t){const n=this.__offset+e;St.mono_wasm_write_managed_pointer_unsafe(n,t)}clear(){this.__offset&&P(this.__offset,4*this.__count)}release(){this.__offset&&this.__ownsAllocation&&(St.mono_wasm_deregister_root(this.__offset),P(this.__offset,4*this.__count),t._free(this.__offset)),this.__handle=this.__offset=this.__count=this.__offset32=0}toString(){return`[root buffer @${this.get_address(0)}, size ${this.__count} ]`}}class Me{constructor(e,t){this.__buffer=e,this.__index=t}get_address(){return this.__buffer.get_address(this.__index)}get_address_32(){return this.__buffer.get_address_32(this.__index)}get address(){return this.__buffer.get_address(this.__index)}get(){return this.__buffer._unsafe_get(this.__index)}set(e){const t=this.__buffer.get_address(this.__index);return St.mono_wasm_write_managed_pointer_unsafe(t,e),e}copy_from(e){const t=e.address,n=this.address;St.mono_wasm_copy_managed_pointer(n,t)}copy_to(e){const t=this.address,n=e.address;St.mono_wasm_copy_managed_pointer(n,t)}copy_from_address(e){const t=this.address;St.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.address;St.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){const e=this.__buffer.get_address_32(this.__index);Ie()[e]=0}release(){if(!this.__buffer)throw new Error("No buffer");var e;Ce.length>128?(void 0!==(e=this.__index)&&(Ae.set(e,0),Re[Le]=e,Le++),this.__buffer=null,this.__index=0):(this.set(0),Ce.push(this))}toString(){return`[root @${this.address}]`}}class Fe{constructor(e){this.__external_address=U,this.__external_address_32=0,this._set_address(e)}_set_address(e){this.__external_address=e,this.__external_address_32=e>>>2}get address(){return this.__external_address}get_address(){return this.__external_address}get_address_32(){return this.__external_address_32}get(){return Ie()[this.__external_address_32]}set(e){return St.mono_wasm_write_managed_pointer_unsafe(this.__external_address,e),e}copy_from(e){const t=e.address,n=this.__external_address;St.mono_wasm_copy_managed_pointer(n,t)}copy_to(e){const t=this.__external_address,n=e.address;St.mono_wasm_copy_managed_pointer(n,t)}copy_from_address(e){const t=this.__external_address;St.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.__external_address;St.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){Ie()[this.__external_address>>>2]=0}release(){$e.length<128&&$e.push(this)}toString(){return`[external root @${this.address}]`}}const Pe=new Map,ze="";let Ve;const He=new Map;let We,Ge,qe,Je,Ye=0,Xe=null,Ze=0;function Ke(e){if(void 0===Je){const n=new Uint8Array(2*e.length);return t.stringToUTF8Array(e,n,0,2*e.length),n}return Je.encode(e)}function Qe(e){const n=Ee();return function(e,n,r){const o=n+r;let a=n;for(;e[a]&&!(a>=o);)++a;if(a-n<=16)return t.UTF8ArrayToString(e,n,r);if(void 0===qe)return t.UTF8ArrayToString(e,n,r);const s=it(e,n,a);return qe.decode(s)}(n,e,n.length-e)}function et(e,t){if(We){const n=it(Ee(),e,t);return We.decode(n)}return tt(e,t)}function tt(e,t){let n="";const r=Ue();for(let o=e;o>>1];n+=String.fromCharCode(e)}return n}function nt(e,t,n){const r=Ue(),o=n.length;for(let a=0;a=t));a++);}function rt(e){if(e.value===E)return null;const t=Ve+0,n=Ve+4,r=Ve+8;let o;St.mono_wasm_string_get_data_ref(e.address,t,n,r);const a=Ie(),s=ce(a,n),i=ce(a,t),c=ce(a,r);if(c&&(o=He.get(e.value)),void 0===o&&(s&&i?(o=et(i,i+s),c&&He.set(e.value,o)):o=ze),void 0===o)throw new Error(`internal error when decoding string at location ${e.value}`);return o}function ot(e,t){if(t.clear(),null!==e)if("symbol"==typeof e)at(e,t);else{if("string"!=typeof e)throw new Error("Expected string argument, got "+typeof e);if(0===e.length)at(e,t);else{if(e.length<=256){const n=Pe.get(e);if(n)return void t.set(n)}st(e,t)}}}function at(e,t){let n;if("symbol"==typeof e?(n=e.description,"string"!=typeof n&&(n=Symbol.keyFor(e)),"string"!=typeof n&&(n="")):"string"==typeof e&&(n=e),"string"!=typeof n)throw new Error(`Argument to stringToInternedMonoStringRoot must be a string but was ${e}`);if(0===n.length&&Ye)return void t.set(Ye);const r=Pe.get(n);r?t.set(r):(st(n,t),function(e,t,n){if(!t.value)throw new Error("null pointer passed to _store_string_in_intern_table");Ze>=8192&&(Xe=null),Xe||(Xe=Ne(8192,"interned strings"),Ze=0);const r=Xe,o=Ze++;if(St.mono_wasm_intern_string_ref(t.address),!t.value)throw new Error("mono_wasm_intern_string_ref produced a null pointer");Pe.set(e,t.value),He.set(t.value,e),0!==e.length||Ye||(Ye=t.value),r.copy_value_from_address(o,t.address)}(n,t))}function st(e,n){const r=2*(e.length+1),o=t._malloc(r);nt(o,o+r,e),St.mono_wasm_string_from_utf16_ref(o,e.length,n.address),t._free(o)}function it(e,t,n){return e.buffer,e.subarray(t,n)}let ct="MONO_WASM: ";function lt(e,...t){l.diagnosticTracing&&console.debug(ct+e,...t)}function ut(e,...t){console.info(ct+e,...t)}function pt(e,...t){console.warn(ct+e,...t)}function dt(e,...t){t&&t.length>0&&t[0]&&"object"==typeof t[0]&&t[0].silent||console.error(ct+e,...t)}const _t=new Map,ft=[];function mt(e){try{if(0==_t.size)return e;const t=e;for(let n=0;n{const n=t.find((e=>"object"==typeof e&&void 0!==e.replaceSection));if(void 0===n)return e;const r=n.funcNum,o=n.replaceSection,a=_t.get(Number(r));return void 0===a?e:e.replace(o,`${a} (${o})`)}));if(r!==t)return r}return t}catch(t){return console.debug(`failed to symbolicate: ${t}`),e}}function ht(e){let t=e;return t&&t.stack||(t=new Error(t?""+t:"Unknown error")),mt(t.stack)}function bt(){return[..._t.values()]}ft.push(/at (?[^:()]+:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)((?![^)a-fA-F\d])|$)/),ft.push(/(?:WASM \[[\da-zA-Z]+\], (?function #(?[\d]+) \(''\)))/),ft.push(/(?[a-z]+:\/\/[^ )]*:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)/),ft.push(/(?<[^ >]+>[.:]wasm-function\[(?[0-9]+)\])/);const gt=[[!0,"mono_wasm_array_get_ref","void",["number","number","number"]],[!0,"mono_wasm_obj_array_new_ref","void",["number","number"]],[!0,"mono_wasm_obj_array_set_ref","void",["number","number","number"]],[!0,"mono_wasm_try_unbox_primitive_and_get_type_ref","number",["number","number","number"]],[!0,"mono_wasm_box_primitive_ref","void",["number","number","number","number"]],[!0,"mono_wasm_string_array_new_ref","void",["number","number"]],[!0,"mono_wasm_typed_array_new_ref","void",["number","number","number","number","number"]],[!0,"mono_wasm_get_delegate_invoke_ref","number",["number"]],[!0,"mono_wasm_get_type_name","string",["number"]],[!0,"mono_wasm_get_type_aqn","string",["number"]],[!0,"mono_wasm_obj_array_new","number",["number"]],[!0,"mono_wasm_obj_array_set","void",["number","number","number"]],[!0,"mono_wasm_array_length_ref","number",["number"]]],yt=[[!0,"mono_wasm_register_root","number",["number","number","string"]],[!0,"mono_wasm_deregister_root",null,["number"]],[!0,"mono_wasm_string_get_data_ref",null,["number","number","number","number"]],[!0,"mono_wasm_set_is_debugger_attached","void",["bool"]],[!0,"mono_wasm_send_dbg_command","bool",["number","number","number","number","number"]],[!0,"mono_wasm_send_dbg_command_with_parms","bool",["number","number","number","number","number","number","string"]],[!0,"mono_wasm_setenv",null,["string","string"]],[!0,"mono_wasm_parse_runtime_options",null,["number","number"]],[!0,"mono_wasm_strdup","number",["string"]],[!0,"mono_background_exec",null,[]],[!0,"mono_wasm_execute_timer",null,[]],[!0,"mono_wasm_load_icu_data","number",["number"]],[!1,"mono_wasm_add_assembly","number",["string","number","number"]],[!0,"mono_wasm_add_satellite_assembly","void",["string","string","number","number"]],[!1,"mono_wasm_load_runtime",null,["string","number"]],[!0,"mono_wasm_change_debugger_log_level","void",["number"]],[!0,"mono_wasm_get_corlib","number",[]],[!0,"mono_wasm_assembly_load","number",["string"]],[!0,"mono_wasm_assembly_find_class","number",["number","string","string"]],[!0,"mono_wasm_runtime_run_module_cctor","void",["number"]],[!0,"mono_wasm_assembly_find_method","number",["number","string","number"]],[!1,"mono_wasm_invoke_method_ref","void",["number","number","number","number","number"]],[!0,"mono_wasm_string_from_utf16_ref","void",["number","number","number"]],[!0,"mono_wasm_intern_string_ref","void",["number"]],[!0,"mono_wasm_assembly_get_entry_point","number",["number","number"]],[!0,"mono_wasm_class_get_type","number",["number"]],[!1,"mono_wasm_exit","void",["number"]],[!1,"mono_wasm_abort","void",[]],[!0,"mono_wasm_getenv","number",["string"]],[!0,"mono_wasm_set_main_args","void",["number","number"]],[!1,"mono_wasm_enable_on_demand_gc","void",["number"]],[()=>!f,"mono_wasm_profiler_init_aot","void",["string"]],[()=>!m,"mono_wasm_profiler_init_aot","void",["string"]],[!0,"mono_wasm_profiler_init_browser","void",["number"]],[!1,"mono_wasm_exec_regression","number",["number","string"]],[!1,"mono_wasm_invoke_method_bound","number",["number","number","number"]],[!0,"mono_wasm_write_managed_pointer_unsafe","void",["number","number"]],[!0,"mono_wasm_copy_managed_pointer","void",["number","number"]],[!0,"mono_wasm_i52_to_f64","number",["number","number"]],[!0,"mono_wasm_u52_to_f64","number",["number","number"]],[!0,"mono_wasm_f64_to_i52","number",["number","number"]],[!0,"mono_wasm_f64_to_u52","number",["number","number"]],[!0,"mono_wasm_method_get_name","number",["number"]],[!0,"mono_wasm_method_get_full_name","number",["number"]],[!0,"mono_wasm_gc_lock","void",[]],[!0,"mono_wasm_gc_unlock","void",[]],[!0,"mono_wasm_get_i32_unaligned","number",["number"]],[!0,"mono_wasm_get_f32_unaligned","number",["number"]],[!0,"mono_wasm_get_f64_unaligned","number",["number"]],[!0,"mono_jiterp_trace_bailout","void",["number"]],[!0,"mono_jiterp_get_trace_bailout_count","number",["number"]],[!0,"mono_jiterp_value_copy","void",["number","number","number"]],[!0,"mono_jiterp_get_member_offset","number",["number"]],[!0,"mono_jiterp_encode_leb52","number",["number","number","number"]],[!0,"mono_jiterp_encode_leb64_ref","number",["number","number","number"]],[!0,"mono_jiterp_encode_leb_signed_boundary","number",["number","number","number"]],[!0,"mono_jiterp_write_number_unaligned","void",["number","number","number"]],[!0,"mono_jiterp_type_is_byref","number",["number"]],[!0,"mono_jiterp_get_size_of_stackval","number",[]],[!0,"mono_jiterp_parse_option","number",["string"]],[!0,"mono_jiterp_get_options_as_json","number",[]],[!0,"mono_jiterp_get_options_version","number",[]],[!0,"mono_jiterp_adjust_abort_count","number",["number","number"]],[!0,"mono_jiterp_register_jit_call_thunk","void",["number","number"]],[!0,"mono_jiterp_type_get_raw_value_size","number",["number"]],[!0,"mono_jiterp_update_jit_call_dispatcher","void",["number"]],[!0,"mono_jiterp_get_signature_has_this","number",["number"]],[!0,"mono_jiterp_get_signature_return_type","number",["number"]],[!0,"mono_jiterp_get_signature_param_count","number",["number"]],[!0,"mono_jiterp_get_signature_params","number",["number"]],[!0,"mono_jiterp_type_to_ldind","number",["number"]],[!0,"mono_jiterp_type_to_stind","number",["number"]],[!0,"mono_jiterp_imethod_to_ftnptr","number",["number"]],[!0,"mono_jiterp_debug_count","number",[]],[!0,"mono_jiterp_get_trace_hit_count","number",["number"]],[!0,"mono_jiterp_get_polling_required_address","number",[]],[!0,"mono_jiterp_get_rejected_trace_count","number",[]],[!0,"mono_jiterp_boost_back_branch_target","void",["number"]],[!0,"mono_jiterp_is_imethod_var_address_taken","number",["number","number"]],[!0,"mono_jiterp_get_opcode_value_table_entry","number",["number"]],[!0,"mono_jiterp_get_simd_intrinsic","number",["number","number"]],[!0,"mono_jiterp_get_simd_opcode","number",["number","number"]],[!0,"mono_jiterp_get_arg_offset","number",["number","number","number"]],[!0,"mono_jiterp_get_opcode_info","number",["number","number"]],[!0,"mono_wasm_is_zero_page_reserved","number",[]],[!0,"mono_jiterp_is_special_interface","number",["number"]],...gt],wt={};var St=wt;const kt=wt,vt=wt,Et=["void","number",null];function Ut(e,n,r,o){let a=void 0===o&&Et.indexOf(n)>=0&&(!r||r.every((e=>Et.indexOf(e)>=0)))&&t.asm?t.asm[e]:void 0;if(a&&r&&a.length!==r.length&&(dt(`argument count mismatch for cwrap ${e}`),a=void 0),"function"!=typeof a&&(a=t.cwrap(e,n,r,o)),"function"!=typeof a)throw new Error(`cwrap ${e} not found or not a function`);return a}function It(e,t,n){const r=function(e,t,n){let r,o="number"==typeof t?t:0;r="number"==typeof n?o+n:e.length-o;const a={read:function(){if(o>=r)return null;const t=e[o];return o+=1,t}};return Object.defineProperty(a,"eof",{get:function(){return o>=r},configurable:!0,enumerable:!0}),a}(e,t,n);let o="",a=0,s=0,i=0,c=0,l=0,u=0;for(;a=r.read(),s=r.read(),i=r.read(),null!==a;)null===s&&(s=0,l+=1),null===i&&(i=0,l+=1),u=a<<16|s<<8|i<<0,c=(16777215&u)>>18,o+=xt[c],c=(262143&u)>>12,o+=xt[c],l<2&&(c=(4095&u)>>6,o+=xt[c]),2===l?o+="==":1===l?o+="=":(c=(63&u)>>0,o+=xt[c]);return o}const xt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],Tt=new Map;Tt.remove=function(e){const t=this.get(e);return this.delete(e),t};let jt,At,Rt,Lt={},Ct=0,$t=-1;function mono_wasm_runtime_ready(){if(n.mono_wasm_runtime_is_ready=l.mono_wasm_runtime_is_ready=!0,Ct=0,Lt={},$t=-1,globalThis.dotnetDebugger)debugger}function mono_wasm_fire_debugger_agent_message_with_data_to_pause(e){console.assert(!0,`mono_wasm_fire_debugger_agent_message_with_data ${e}`);debugger}function Nt(e){e.length>$t&&(jt&&t._free(jt),$t=Math.max(e.length,$t,256),jt=t._malloc($t));const n=atob(e),r=Ee();for(let e=0;ee.value)),e;if(void 0===t.dimensionsDetails||1===t.dimensionsDetails.length)return e=t.items.map((e=>e.value)),e}const n={};return Object.keys(t).forEach((e=>{const r=t[e];void 0!==r.get?Object.defineProperty(n,r.name,{get:()=>Bt(r.get.id,r.get.commandSet,r.get.command,r.get.buffer),set:function(e){return Dt(r.set.id,r.set.commandSet,r.set.command,r.set.buffer,r.set.length,r.set.valtype,e),!0}}):void 0!==r.set?Object.defineProperty(n,r.name,{get:()=>r.value,set:function(e){return Dt(r.set.id,r.set.commandSet,r.set.command,r.set.buffer,r.set.length,r.set.valtype,e),!0}}):n[r.name]=r.value})),n}(t,n);const o=null!=e.arguments?e.arguments.map((e=>JSON.stringify(e.value))):[],a=`const fn = ${e.functionDeclaration}; return fn.apply(proxy, [${o}]);`,s=new Function("proxy",a)(r);if(void 0===s)return{type:"undefined"};if(Object(s)!==s)return"object"==typeof s&&null==s?{type:typeof s,subtype:`${s}`,value:null}:{type:typeof s,description:`${s}`,value:`${s}`};if(e.returnByValue&&null==s.subtype)return{type:"object",value:s};if(Object.getPrototypeOf(s)==Array.prototype){const e=Gt(s);return{type:"object",subtype:"array",className:"Array",description:`Array(${s.length})`,objectId:e}}return void 0!==s.value||void 0!==s.subtype?s:s==r?{type:"object",className:"Object",description:"Object",objectId:t}:{type:"object",className:"Object",description:"Object",objectId:Gt(s)}}function Wt(e,t={}){return function(e,t){if(!(e in Lt))throw new Error(`Could not find any object with id ${e}`);const n=Lt[e],r=Object.getOwnPropertyDescriptors(n);t.accessorPropertiesOnly&&Object.keys(r).forEach((e=>{void 0===r[e].get&&Reflect.deleteProperty(r,e)}));const o=[];return Object.keys(r).forEach((e=>{let t;const n=r[e];t="object"==typeof n.value?Object.assign({name:e},n):void 0!==n.value?{name:e,value:Object.assign({type:typeof n.value,description:""+n.value},n)}:void 0!==n.get?{name:e,get:{className:"Function",description:`get ${e} () {}`,type:"function"}}:{name:e,value:{type:"symbol",value:"",description:""}},o.push(t)})),{__value_as_json_string__:JSON.stringify(o)}}(`dotnet:cfo_res:${e}`,t)}function Gt(e){const t="dotnet:cfo_res:"+Ct++;return Lt[t]=e,t}function qt(e){e in Lt&&delete Lt[e]}function Jt(){if(l.enablePerfMeasure)return globalThis.performance.now()}function Yt(e,t,n){if(l.enablePerfMeasure&&e){const r=a?{start:e}:{startTime:e},o=n?`${t}${n} `:t;globalThis.performance.measure(o,r)}}const Xt=[],Zt=new Map,Kt=new Map,Qt=new Map,en=Symbol.for("wasm bound_cs_function"),tn=Symbol.for("wasm bound_js_function"),nn=Symbol.for("wasm imported_js_function"),rn=16;function on(e){const n=t.stackAlloc(rn*e);return n&&n%8==0||w(!1,"Arg alignment"),hn(an(n,0),R.None),hn(an(n,1),R.None),n}function an(e,t){return e||w(!1,"Null args"),e+t*rn}function sn(e,t){return e||w(!1,"Null signatures"),e+32*t+8}function cn(e){return e||w(!1,"Null sig"),ie(e)}function ln(e){return e||w(!1,"Null sig"),ie(e+16)}function un(e){return e||w(!1,"Null sig"),ie(e+20)}function pn(e){return e||w(!1,"Null sig"),ie(e+24)}function dn(e){return e||w(!1,"Null sig"),ie(e+28)}function _n(e){return e||w(!1,"Null signatures"),_e(e+4)}function fn(e){return e||w(!1,"Null signatures"),_e(e)}function mn(e){return e||w(!1,"Null arg"),ie(e+12)}function hn(e,t){e||w(!1,"Null arg"),q(e+12,t)}function bn(e){return e||w(!1,"Null arg"),ie(e)}function gn(e,t){if(e||w(!1,"Null arg"),"boolean"!=typeof t)throw new Error(`Assert failed: Value is not a Boolean: ${t} (${typeof t})`);V(e,t?1:0)}function yn(e,t){e||w(!1,"Null arg"),q(e,t)}function wn(e,t){e||w(!1,"Null arg"),re(e,t.getTime())}function Sn(e,t){e||w(!1,"Null arg"),re(e,t)}function kn(e){return e||w(!1,"Null arg"),ie(e+4)}function vn(e,t){e||w(!1,"Null arg"),q(e+4,t)}function En(e){return e||w(!1,"Null arg"),ie(e+4)}function Un(e,t){e||w(!1,"Null arg"),q(e+4,t)}function In(e){return e||w(!1,"Null arg"),De(e)}function xn(e){return e||w(!1,"Null arg"),_e(e+8)}function Tn(e,t){e||w(!1,"Null arg"),Z(e+8,t)}class ManagedObject{dispose(){Mr(this,T)}get isDisposed(){return this[Lr]===T}toString(){return`CsObject(gc_handle: ${this[Lr]})`}}class ManagedError extends Error{constructor(e){super(e),this.superStack=Object.getOwnPropertyDescriptor(this,"stack"),Object.defineProperty(this,"stack",{get:this.getManageStack})}getSuperStack(){if(this.superStack){if(void 0!==this.superStack.value)return this.superStack.value;if(void 0!==this.superStack.get)return this.superStack.get.call(this)}return super.stack}getManageStack(){if(this.managed_stack)return this.managed_stack;if(u.is_runtime_running()&&!L){const e=this[Lr];if(e!==T){const t=l.javaScriptExports.get_managed_stack_trace(e);if(t)return this.managed_stack=t+"\n"+this.getSuperStack(),this.managed_stack}}return this.getSuperStack()}dispose(){Mr(this,T)}get isDisposed(){return this[Lr]===T}}function jn(e){return e==R.Byte?1:e==R.Int32?4:e==R.Int52||e==R.Double?8:e==R.String||e==R.Object||e==R.JSObject?rn:-1}class An{constructor(e,t,n){this._pointer=e,this._length=t,this._viewType=n}_unsafe_create_view(){const e=0==this._viewType?new Uint8Array(Ee().buffer,this._pointer,this._length):1==this._viewType?new Int32Array(ke().buffer,this._pointer,this._length):2==this._viewType?new Float64Array(Te().buffer,this._pointer,this._length):null;if(!e)throw new Error("NotImplementedException");return e}set(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const n=this._unsafe_create_view();if(!e||!n||e.constructor!==n.constructor)throw new Error(`Assert failed: Expected ${n.constructor}`);n.set(e,t)}copyTo(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const n=this._unsafe_create_view();if(!e||!n||e.constructor!==n.constructor)throw new Error(`Assert failed: Expected ${n.constructor}`);const r=n.subarray(t);e.set(r)}slice(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._unsafe_create_view().slice(e,t)}get length(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._length}get byteLength(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return 0==this._viewType?this._length:1==this._viewType?this._length<<2:2==this._viewType?this._length<<3:0}}class Span extends An{constructor(e,t,n){super(e,t,n),this.is_disposed=!1}dispose(){this.is_disposed=!0}get isDisposed(){return this.is_disposed}}class ArraySegment extends An{constructor(e,t,n){super(e,t,n)}dispose(){Mr(this,T)}get isDisposed(){return this[Lr]===T}}function Rn(e,t,n){if(t===R.None||t===R.Void)return;let r,o,a,s;o=Xr(un(e)),a=Xr(pn(e)),s=Xr(dn(e));const i=ln(e);r=Ln(i),t===R.Nullable&&(t=i);const c=Ln(t),l=un(e),u=n*rn;return e=>c(e+u,l,r,o,a,s)}function Ln(e){if(e===R.None||e===R.Void)return;const t=Kt.get(e);return t&&"function"==typeof t||w(!1,`ERR41: Unknown converter for type ${e}. ${Jr}`),t}function Cn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),!!ae(e)}(e)}function $n(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),ae(e)}(e)}function Nn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),se(e)}(e)}function Dn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),de(e)}(e)}function Bn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),_e(e)}(e)}function On(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),ge(e)}(e)}function Mn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),he(e)}(e)}function Fn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),be(e)}(e)}function Pn(e){return mn(e)==R.None?null:function(e){return e||w(!1,"Null arg"),ge(e)}(e)}function zn(e){return mn(e)==R.None?null:bn(e)}function Vn(){return null}function Hn(e){return mn(e)===R.None?null:function(e){e||w(!1,"Null arg");const t=ge(e);return new Date(t)}(e)}function Wn(e,t,n,r,o,a){if(mn(e)===R.None)return null;const s=En(e);let i=zr(s);return null==i&&(i=(e,t,i)=>l.javaScriptExports.call_delegate(s,e,t,i,n,r,o,a),i.dispose=()=>{i.isDisposed||(i.isDisposed=!0,Mr(i,s))},i.isDisposed=!1,Or(i,s)),i}function Gn(e,t,n){const r=mn(e);if(r===R.None)return null;if(r!==R.Task){n||(n=Kt.get(r)),n||w(!1,`Unknown sub_converter for type ${R[r]}. ${Jr}`);const t=n(e);return new Promise((e=>e(t)))}const o=kn(e);if(o==x)return new Promise((e=>e(void 0)));const a=Nr(o);a||w(!1,`ERR28: promise not found for js_handle: ${o} `),u.assertIsControllablePromise(a);const s=u.getPromiseController(a),i=s.resolve;return s.resolve=e=>{const t=mn(e);if(t===R.None)return void i(null);n||(n=Kt.get(t)),n||w(!1,`Unknown sub_converter for type ${R[t]}. ${Jr}`);const r=n(e);i(r)},a}function qn(e){if(mn(e)==R.None)return null;const t=In(e);try{return rt(t)}finally{t.release()}}function Jn(e){const t=mn(e);if(t==R.None)return null;if(t==R.JSException)return Nr(kn(e));const n=En(e);let r=zr(n);if(null==r){const t=qn(e);r=new ManagedError(t),Or(r,n)}return r}function Yn(e){return mn(e)==R.None?null:Nr(kn(e))}function Xn(e){const t=mn(e);if(t==R.None)return null;if(t==R.JSObject)return Nr(kn(e));if(t==R.Array){const t=function(e){return e||w(!1,"Null arg"),ie(e+4)}(e);return Kn(e,t)}if(t==R.Object){const t=En(e);if(t===T)return null;let n=zr(t);return n||(n=new ManagedObject,Or(n,t)),n}const n=Kt.get(t);return n||w(!1,`Unknown converter for type ${R[t]}. ${Jr}`),n(e)}function Zn(e,t){return t||w(!1,"Expected valid element_type parameter"),Kn(e,t)}function Kn(e,n){if(mn(e)==R.None)return null;-1==jn(n)&&w(!1,`Element type ${R[n]} not supported`);const r=bn(e),o=xn(e);let a=null;if(n==R.String){a=new Array(o);for(let e=0;e>2,(r>>2)+o).slice();else{if(n!=R.Double)throw new Error(`NotImplementedException ${R[n]}. ${Jr}`);a=Te().subarray(r>>3,(r>>3)+o).slice()}return t._free(r),a}function Qn(e,t){t||w(!1,"Expected valid element_type parameter");const n=bn(e),r=xn(e);let o=null;if(t==R.Byte)o=new Span(n,r,0);else if(t==R.Int32)o=new Span(n,r,1);else{if(t!=R.Double)throw new Error(`NotImplementedException ${R[t]}. ${Jr}`);o=new Span(n,r,2)}return o}function er(e,t){t||w(!1,"Expected valid element_type parameter");const n=bn(e),r=xn(e);let o=null;if(t==R.Byte)o=new ArraySegment(n,r,0);else if(t==R.Int32)o=new ArraySegment(n,r,1);else{if(t!=R.Double)throw new Error(`NotImplementedException ${R[t]}. ${Jr}`);o=new ArraySegment(n,r,2)}return Or(o,En(e)),o}let tr;const nr=[null];function rr(e,t){ur.set(e,t),lt(`added module imports '${e}'`)}function or(e,t,n){if(!e)throw new Error("Assert failed: Null reference");e[t]=n}function ar(e,t){if(!e)throw new Error("Assert failed: Null reference");return e[t]}function sr(e,t){if(!e)throw new Error("Assert failed: Null reference");return t in e}function ir(e,t){if(!e)throw new Error("Assert failed: Null reference");return typeof e[t]}function cr(){return globalThis}const lr=new Map,ur=new Map;function pr(e,t){e&&"string"==typeof e||w(!1,"module_name must be string"),t&&"string"==typeof t||w(!1,"module_url must be string");let n=lr.get(e);const r=!n;return r&&(lt(`importing ES6 module '${e}' from '${t}'`),n=import(t),lr.set(e,n)),Gr((async()=>{const o=await n;return r&&(ur.set(e,o),lt(`imported ES6 module '${e}' from '${t}'`)),o}))}function dr(e,t,n){const r=function(e,t){let n="unknown exception";if(t){n=t.toString();const e=t.stack;e&&(e.startsWith(n)?n=e:n+="\n"+e),n=mt(n)}return e&&X(e,1),n}(e,t);ot(r,n)}function _r(e,t){e&&X(e,0),t&&t.clear()}function fr(){u.assert_runtime_running(),l.mono_wasm_bindings_is_ready||w(!1,"The runtime must be initialized.")}const mr="function"==typeof globalThis.WeakRef;function hr(e){return mr?new WeakRef(e):{deref:()=>e,dispose:()=>{e=null}}}const br=new Map,gr=new Map;let yr=0;function wr(e){if(br.has(e))return br.get(e);const t=St.mono_wasm_assembly_load(e);return br.set(e,t),t}function Sr(e,t){yr||(yr=St.mono_wasm_get_corlib());let n=function(e,t,n){let r=gr.get(e);r||gr.set(e,r=new Map);let o=r.get(t);return o||(o=new Map,r.set(t,o)),o.get(n)}(yr,e,t);if(void 0!==n)return n;if(n=St.mono_wasm_assembly_find_class(yr,e,t),!n)throw new Error(`Failed to find corlib class ${e}.${t}`);return function(e,t,n,r){const o=gr.get(e);if(!o)throw new Error("internal error");const a=o.get(t);if(!a)throw new Error("internal error");a.set(n,r)}(yr,e,t,n),n}function kr(e,t){fr();const n=Be();try{if(St.mono_wasm_invoke_method_bound(e,t,n.address))throw new Error("ERR24: Unexpected error: "+rt(n));if(function(e){return e||w(!1,"Null args"),mn(e)!==R.None}(t))throw Jn(an(t,0))}finally{n.release()}}const vr=new Map;async function Er(e){if(fr(),!vr.get(e)){const t=Jt(),n=wr(e);if(!n)throw new Error("Could not find assembly: "+e);const r=St.mono_wasm_assembly_find_class(n,l.runtime_interop_namespace,"__GeneratedInitializer");if(r){const e=St.mono_wasm_assembly_find_method(r,"__Register_",-1);if(e){const t=Be(),n=Be();try{if(St.mono_wasm_invoke_method_ref(e,U,j,t.address,n.address),t.value!==S){const e=rt(n);throw new Error(e)}}finally{t.release(),n.release()}}}else St.mono_wasm_runtime_run_module_cctor(n);Yt(t,"mono.getAssemblyExports:",e)}return vr.get(e)||{}}function Ur(e){const t=e.substring(e.indexOf("[")+1,e.indexOf("]")).trim(),n=(e=e.substring(e.indexOf("]")+1).trim()).substring(e.indexOf(":")+1);let r="",o=e=e.substring(0,e.indexOf(":")).trim();if(-1!=e.indexOf(".")){const t=e.lastIndexOf(".");r=e.substring(0,t),o=e.substring(t+1)}if(!t.trim())throw new Error("No assembly name specified "+e);if(!o.trim())throw new Error("No class name specified "+e);if(!n.trim())throw new Error("No method name specified "+e);return{assembly:t,namespace:r,classname:o,methodname:n}}const Ir="function"==typeof globalThis.FinalizationRegistry;let xr;const Tr=[null],jr=[];let Ar=1;const Rr=new Map;Ir&&(xr=new globalThis.FinalizationRegistry(Pr));const Lr=Symbol.for("wasm js_owned_gc_handle"),Cr=Symbol.for("wasm cs_owned_js_handle"),$r=Symbol.for("wasm do_not_force_dispose");function Nr(e){return e!==x&&e!==I?Tr[e]:null}function Dr(e){if(e[Cr])return e[Cr];const t=jr.length?jr.pop():Ar++;return Tr[t]=e,Object.isExtensible(e)&&(e[Cr]=t),t}function Br(e){const t=Tr[e];null!=t&&(void 0!==t[Cr]&&(t[Cr]=void 0),Tr[e]=void 0,jr.push(e))}function Or(e,t){e[Lr]=t,Ir&&xr.register(e,t,e);const n=hr(e);Rr.set(t,n)}function Mr(e,t){e&&(t=e[Lr],e[Lr]=T,Ir&&xr.unregister(e)),t!==T&&Rr.delete(t)&&l.javaScriptExports.release_js_owned_object_by_gc_handle(t)}function Fr(e){const t=e[Lr];if(t==T)throw new Error("Assert failed: ObjectDisposedException");return t}function Pr(e){u.is_exited()||Mr(null,e)}function zr(e){if(!e)return null;const t=Rr.get(e);return t?t.deref():null}function Vr(e,t){let n=!1,r=!1,o=0,a=0,s=0,i=0;const c=[...Rr.keys()];for(const e of c){const r=Rr.get(e),o=r.deref();if(Ir&&o&&xr.unregister(o),o){const a="boolean"==typeof o[$r]&&o[$r];if(t&&pt(`Proxy of C# ${typeof o} with GCHandle ${e} was still alive. ${a?"keeping":"disposing"}.`),a)n=!0;else{const t=u.getPromiseController(o);t&&t.reject(new Error("WebWorker which is origin of the Task is being terminated.")),"function"==typeof o.dispose&&o.dispose(),o[Lr]===e&&(o[Lr]=T),!mr&&r&&r.dispose(),s++}}}n||(Rr.clear(),Ir&&(xr=new globalThis.FinalizationRegistry(Pr)));for(let e=0;en.resolve(e))).catch((e=>n.reject(e))),t}function qr(e){const t=zr(e);if(!t)return;const n=t.promise;n||w(!1,`Expected Promise for GCHandle ${e}`),u.assertIsControllablePromise(n),u.getPromiseController(n).reject(new Error("OperationCanceledException"))}const Jr="For more information see https://aka.ms/dotnet-wasm-jsinterop";function Yr(e,t,n){if(t===R.None||t===R.Void)return;let r,o,a,s;o=Ln(un(e)),a=Ln(pn(e)),s=Ln(dn(e));const i=ln(e);r=Xr(i),t===R.Nullable&&(t=i);const c=Xr(t),l=un(e),u=n*rn;return(e,t)=>{c(e+u,t,l,r,o,a,s)}}function Xr(e){if(e===R.None||e===R.Void)return;const t=Qt.get(e);return t&&"function"==typeof t||w(!1,`ERR30: Unknown converter for type ${e}`),t}function Zr(e,t){null==t?hn(e,R.None):(hn(e,R.Boolean),gn(e,t))}function Kr(e,t){null==t?hn(e,R.None):(hn(e,R.Byte),function(e,t){e||w(!1,"Null arg"),V(e,t)}(e,t))}function Qr(e,t){null==t?hn(e,R.None):(hn(e,R.Char),function(e,t){e||w(!1,"Null arg"),H(e,t)}(e,t))}function eo(e,t){null==t?hn(e,R.None):(hn(e,R.Int16),function(e,t){e||w(!1,"Null arg"),Y(e,t)}(e,t))}function to(e,t){null==t?hn(e,R.None):(hn(e,R.Int32),function(e,t){e||w(!1,"Null arg"),Z(e,t)}(e,t))}function no(e,t){null==t?hn(e,R.None):(hn(e,R.Int52),function(e,t){if(e||w(!1,"Null arg"),!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not an integer: ${t} (${typeof t})`);re(e,t)}(e,t))}function ro(e,t){null==t?hn(e,R.None):(hn(e,R.BigInt64),function(e,t){e||w(!1,"Null arg"),te(e,t)}(e,t))}function oo(e,t){null==t?hn(e,R.None):(hn(e,R.Double),Sn(e,t))}function ao(e,t){null==t?hn(e,R.None):(hn(e,R.Single),function(e,t){e||w(!1,"Null arg"),ne(e,t)}(e,t))}function so(e,t){null==t?hn(e,R.None):(hn(e,R.IntPtr),yn(e,t))}function io(e,t){if(null==t)hn(e,R.None);else{if(!(t instanceof Date))throw new Error("Assert failed: Value is not a Date");hn(e,R.DateTime),wn(e,t)}}function co(e,t){if(null==t)hn(e,R.None);else{if(!(t instanceof Date))throw new Error("Assert failed: Value is not a Date");hn(e,R.DateTimeOffset),wn(e,t)}}function lo(e,t){if(null==t)hn(e,R.None);else{if(hn(e,R.String),"string"!=typeof t)throw new Error("Assert failed: Value is not a String");uo(e,t)}}function uo(e,t){const n=In(e);try{ot(t,n)}finally{n.release()}}function po(e){hn(e,R.None)}function _o(e,t,n,r,o,a,s){if(null==t)return void hn(e,R.None);if(!(t&&t instanceof Function))throw new Error("Assert failed: Value is not a Function");const i=e=>{const n=an(e,0),c=an(e,1),l=an(e,2),u=an(e,3),p=an(e,4);try{let e,n,d;L&&i.isDisposed,o&&(e=o(l)),a&&(n=a(u)),s&&(d=s(p));const _=t(e,n,d);r&&r(c,_)}catch(e){ho(n,e)}};i[tn]=!0,i.isDisposed=!1,i.dispose=()=>{i.isDisposed=!0},vn(e,Dr(i)),hn(e,R.Function)}class fo{constructor(e){this.promise=e}dispose(){Mr(this,T)}get isDisposed(){return this[Lr]===T}}function mo(e,t,n,r){if(null==t)return void hn(e,R.None);if(!Wr(t))throw new Error("Assert failed: Value is not a Promise");const o=l.javaScriptExports.create_task_callback();Un(e,o),hn(e,R.Task);const a=new fo(t);Or(a,o),t.then((e=>{try{u.assert_runtime_running(),a.isDisposed&&w(!1,"This promise can't be propagated to managed code, because the Task was already freed."),l.javaScriptExports.complete_task(o,null,e,r||go),Mr(a,o)}catch(e){pt("Exception marshalling result of JS promise to CS: ",e)}})).catch((e=>{try{u.assert_runtime_running(),a.isDisposed&&w(!1,"This promise can't be propagated to managed code, because the Task was already freed."),l.javaScriptExports.complete_task(o,e,null,void 0),Mr(a,o)}catch(e){u.is_exited()||pt("Exception marshalling error of JS promise to CS: ",e)}}))}function ho(e,t){if(null==t)hn(e,R.None);else if(t instanceof ManagedError)hn(e,R.Exception),Un(e,Fr(t));else{if("object"!=typeof t&&"string"!=typeof t)throw new Error("Assert failed: Value is not an Error "+typeof t);hn(e,R.JSException),uo(e,t.toString());const n=t[Cr];vn(e,n||Dr(t))}}function bo(e,t){if(null==t)hn(e,R.None);else{if(void 0!==t[Lr])throw new Error(`Assert failed: JSObject proxy of ManagedObject proxy is not supported. ${Jr}`);if("function"!=typeof t&&"object"!=typeof t)throw new Error(`Assert failed: JSObject proxy of ${typeof t} is not supported`);hn(e,R.JSObject),vn(e,Dr(t))}}function go(e,t){if(null==t)hn(e,R.None);else{const n=t[Lr],r=typeof t;if(void 0===n)if("string"===r||"symbol"===r)hn(e,R.String),uo(e,t);else if("number"===r)hn(e,R.Double),Sn(e,t);else{if("bigint"===r)throw new Error("NotImplementedException: bigint");if("boolean"===r)hn(e,R.Boolean),gn(e,t);else if(t instanceof Date)hn(e,R.DateTime),wn(e,t);else if(t instanceof Error)ho(e,t);else if(t instanceof Uint8Array)wo(e,t,R.Byte);else if(t instanceof Float64Array)wo(e,t,R.Double);else if(t instanceof Int32Array)wo(e,t,R.Int32);else if(Array.isArray(t))wo(e,t,R.Object);else{if(t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Float32Array)throw new Error("NotImplementedException: TypedArray");if(Wr(t))mo(e,t);else{if(t instanceof Span)throw new Error("NotImplementedException: Span");if("object"!=r)throw new Error(`JSObject proxy is not supported for ${r} ${t}`);{const n=Dr(t);hn(e,R.JSObject),vn(e,n)}}}}else{if(Fr(t),t instanceof ArraySegment)throw new Error("NotImplementedException: ArraySegment. "+Jr);if(t instanceof ManagedError)hn(e,R.Exception),Un(e,n);else{if(!(t instanceof ManagedObject))throw new Error("NotImplementedException "+r+". "+Jr);hn(e,R.Object),Un(e,n)}}}}function yo(e,t,n){n||w(!1,"Expected valid element_type parameter"),wo(e,t,n)}function wo(e,n,r){if(null==n)hn(e,R.None);else{const o=jn(r);-1==o&&w(!1,`Element type ${R[r]} not supported`);const a=n.length,s=o*a,i=t._malloc(s);if(r==R.String){if(!Array.isArray(n))throw new Error("Assert failed: Value is not an Array");P(i,s),St.mono_wasm_register_root(i,s,"marshal_array_to_cs");for(let e=0;e>2,(i>>2)+a).set(n)}else{if(r!=R.Double)throw new Error("not implemented");if(!(Array.isArray(n)||n instanceof Float64Array))throw new Error("Assert failed: Value is not an Array or Float64Array");Te().subarray(i>>3,(i>>3)+a).set(n)}yn(e,i),hn(e,R.Array),function(e,t){e||w(!1,"Null arg"),q(e+4,t)}(e,r),Tn(e,n.length)}}function So(e,t,n){if(n||w(!1,"Expected valid element_type parameter"),t.isDisposed)throw new Error("Assert failed: ObjectDisposedException");vo(n,t._viewType),hn(e,R.Span),yn(e,t._pointer),Tn(e,t.length)}function ko(e,t,n){n||w(!1,"Expected valid element_type parameter");const r=Fr(t);r||w(!1,"Only roundtrip of ArraySegment instance created by C#"),vo(n,t._viewType),hn(e,R.ArraySegment),yn(e,t._pointer),Tn(e,t.length),Un(e,r)}function vo(e,t){if(e==R.Byte){if(0!=t)throw new Error("Assert failed: Expected MemoryViewType.Byte")}else if(e==R.Int32){if(1!=t)throw new Error("Assert failed: Expected MemoryViewType.Int32")}else{if(e!=R.Double)throw new Error(`NotImplementedException ${R[e]} `);if(2!=t)throw new Error("Assert failed: Expected MemoryViewType.Double")}}const Eo={now:function(){return Date.now()}};function Uo(e){void 0===globalThis.performance&&(globalThis.performance=Eo),e.require=n.require,e.scriptDirectory=u.scriptDirectory,t.locateFile===t.__locateFile&&(t.locateFile=u.locateFile),e.fetch=u.fetch_like,e.noExitRuntime=a&&!i;const r=e.updateMemoryViews;l.updateMemoryViews=e.updateMemoryViews=()=>{r()}}async function Io(){var e;if(r){if(globalThis.performance===Eo){const{performance:e}=n.require("perf_hooks");globalThis.performance=e}if(n.process=await import("process"),globalThis.crypto||(globalThis.crypto={}),!globalThis.crypto.getRandomValues){let e;try{e=n.require("node:crypto")}catch(e){}e?e.webcrypto?globalThis.crypto=e.webcrypto:e.randomBytes&&(globalThis.crypto.getRandomValues=t=>{t&&t.set(e.randomBytes(t.length))}):globalThis.crypto.getRandomValues=()=>{throw new Error("Using node without crypto support. To enable current operation, either provide polyfill for 'globalThis.crypto.getRandomValues' or enable 'node:crypto' module.")}}}l.subtle=null===(e=globalThis.crypto)||void 0===e?void 0:e.subtle}function xo(e){const t=St.mono_wasm_assembly_find_method(l.runtime_interop_exports_class,e,-1);if(!t)throw"Can't find method "+l.runtime_interop_namespace+"."+l.runtime_interop_exports_classname+"."+e;return t}function To(){if("function"!=typeof globalThis.fetch||"function"!=typeof globalThis.AbortController)throw new Error(r?"Please install `node-fetch` and `node-abort-controller` npm packages to enable HTTP client support. See also https://aka.ms/dotnet-wasm-features":"This browser doesn't support fetch API. Please use a modern browser. See also https://aka.ms/dotnet-wasm-features")}function jo(){return"undefined"!=typeof Response&&"body"in Response.prototype&&"function"==typeof ReadableStream}function Ao(){return To(),new AbortController}function Ro(e){e.abort()}function Lo(e){e.__abort_controller.abort(),e.__reader&&e.__reader.cancel().catch((e=>{e&&"AbortError"!==e.name&&t.err("Error in http_wasm_abort_response: "+e)}))}function Co(e,t,n,r,o,a,s,i){return $o(e,t,n,r,o,a,new Span(s,i,0).slice())}function $o(e,t,n,r,o,a,s){To(),e&&"string"==typeof e||w(!1,"expected url string"),t&&n&&Array.isArray(t)&&Array.isArray(n)&&t.length===n.length||w(!1,"expected headerNames and headerValues arrays"),r&&o&&Array.isArray(r)&&Array.isArray(o)&&r.length===o.length||w(!1,"expected headerNames and headerValues arrays");const i=new Headers;for(let e=0;e{const t=await u.fetch_like(e,c);return t.__abort_controller=a,t}))}function No(e){if(!e.__headerNames&&(e.__headerNames=[],e.__headerValues=[],e.headers&&e.headers.entries)){const t=e.headers.entries();for(const n of t)e.__headerNames.push(n[0]),e.__headerValues.push(n[1])}}function Do(e){return No(e),e.__headerNames}function Bo(e){return No(e),e.__headerValues}function Oo(e){return Gr((async()=>{const t=await e.arrayBuffer();return e.__buffer=t,e.__source_offset=0,t.byteLength}))}function Mo(e,t){if(e.__buffer||w(!1,"expected resoved arrayBuffer"),e.__source_offset==e.__buffer.byteLength)return 0;const n=new Uint8Array(e.__buffer,e.__source_offset);t.set(n,0);const r=Math.min(t.byteLength,n.byteLength);return e.__source_offset+=r,r}function Fo(e,t,n){const r=new Span(t,n,0);return Gr((async()=>{if(e.__reader||(e.__reader=e.body.getReader()),e.__chunk||(e.__chunk=await e.__reader.read(),e.__source_offset=0),e.__chunk.done)return 0;const t=e.__chunk.value.byteLength-e.__source_offset;t>0||w(!1,"expected remaining_source to be greater than 0");const n=Math.min(t,r.byteLength),o=e.__chunk.value.subarray(e.__source_offset,e.__source_offset+n);return r.set(o,0),e.__source_offset+=n,t==n&&(e.__chunk=void 0),n}))}let Po,zo=0,Vo=0;function Ho(){if(!u.isChromium)return;const e=(new Date).valueOf(),t=e+36e4;for(let n=Math.max(e+1e3,zo);n0;)--Vo,St.mono_background_exec()}function mono_wasm_schedule_timer_tick(){t.maybeExit(),u.is_runtime_running()&&(Po=void 0,St.mono_wasm_execute_timer())}class qo{constructor(){this.queue=[],this.offset=0}getLength(){return this.queue.length-this.offset}isEmpty(){return 0==this.queue.length}enqueue(e){this.queue.push(e)}dequeue(){if(0===this.queue.length)return;const e=this.queue[this.offset];return this.queue[this.offset]=null,2*++this.offset>=this.queue.length&&(this.queue=this.queue.slice(this.offset),this.offset=0),e}peek(){return this.queue.length>0?this.queue[this.offset]:void 0}drain(e){for(;this.getLength();)e(this.dequeue())}}const Jo=Symbol.for("wasm ws_pending_send_buffer"),Yo=Symbol.for("wasm ws_pending_send_buffer_offset"),Xo=Symbol.for("wasm ws_pending_send_buffer_type"),Zo=Symbol.for("wasm ws_pending_receive_event_queue"),Ko=Symbol.for("wasm ws_pending_receive_promise_queue"),Qo=Symbol.for("wasm ws_pending_open_promise"),ea=Symbol.for("wasm wasm_ws_pending_open_promise_used"),ta=Symbol.for("wasm ws_pending_close_promises"),na=Symbol.for("wasm ws_pending_send_promises"),ra=Symbol.for("wasm ws_is_aborted"),oa=Symbol.for("wasm ws_on_closed"),aa=Symbol.for("wasm wasm_ws_close_sent"),sa=Symbol.for("wasm wasm_ws_close_received"),ia=Symbol.for("wasm ws_receive_status_ptr"),ca=65536,la=new Uint8Array;function ua(e){var t,n;return e.readyState!=WebSocket.CLOSED?null!==(t=e.readyState)&&void 0!==t?t:-1:0==e[Zo].getLength()?null!==(n=e.readyState)&&void 0!==n?n:-1:WebSocket.OPEN}function pa(e,t,n,o){!function(){if(s)throw new Error("WebSockets are not supported in shell JS engine.");if("function"!=typeof globalThis.WebSocket)throw new Error(r?"Please install `ws` npm package to enable networking support. See also https://aka.ms/dotnet-wasm-features":"This browser doesn't support WebSocket API. Please use a modern browser. See also https://aka.ms/dotnet-wasm-features")}(),e&&"string"==typeof e||w(!1,"ERR12: Invalid uri "+typeof e),"function"!=typeof o&&w(!1,"ERR12: Invalid onClosed "+typeof o);const a=new globalThis.WebSocket(e,t||void 0),{promise_control:i}=y();a[Zo]=new qo,a[Ko]=new qo,a[Qo]=i,a[na]=[],a[ta]=[],a[ia]=n,a[oa]=o,a.binaryType="arraybuffer";const c=()=>{a[ra]||u.is_exited()||(i.resolve(a),Ho())},l=e=>{a[ra]||u.is_exited()||(function(e,t){const n=e[Zo],r=e[Ko];if("string"==typeof t.data)n.enqueue({type:0,data:Ke(t.data),offset:0});else{if("ArrayBuffer"!==t.data.constructor.name)throw new Error("ERR19: WebSocket receive expected ArrayBuffer");n.enqueue({type:1,data:new Uint8Array(t.data),offset:0})}if(r.getLength()&&n.getLength()>1)throw new Error("ERR21: Invalid WS state");for(;r.getLength()&&n.getLength();){const t=r.dequeue();ga(e,n,t.buffer_ptr,t.buffer_length),t.resolve()}Ho()}(a,e),Ho())},p=e=>{if(!(a.removeEventListener("message",l),a[ra]||u.is_exited())){a[sa]=!0,o(e.code,e.reason),i.reject(new Error(e.reason));for(const e of a[ta])e.resolve();a[Ko].drain((e=>{Z(n,0),Z(n+4,2),Z(n+8,1),e.resolve()})),a[oa].dispose()}},d=e=>{if(a[ra])return;if(u.is_exited())return;a.removeEventListener("message",l);const t=new Error(e.message||"WebSocket error");pt("WebSocket error",t),ba(a,t)};return a.addEventListener("message",l),a.addEventListener("open",c,{once:!0}),a.addEventListener("close",p,{once:!0}),a.addEventListener("error",d,{once:!0}),a.dispose=()=>{a.removeEventListener("message",l),a.removeEventListener("open",c),a.removeEventListener("close",p),a.removeEventListener("error",d),ha(a)},a}function da(e){e||w(!1,"ERR17: expected ws instance");const t=e[Qo];return e[ea]=!0,t.promise}function _a(e,n,r,o,a){if(e||w(!1,"ERR17: expected ws instance"),e[ra]||e[aa])return Promise.reject(new Error("InvalidState: The WebSocket is not connected."));if(e.readyState===WebSocket.CLOSED)return null;const s=function(e,n,r,o){let a=e[Jo],s=0;const i=n.byteLength;if(a){if(s=e[Yo],r=e[Xo],0!==i){if(s+i>a.length){const t=new Uint8Array(1.5*(s+i+50));t.set(a,0),t.subarray(s).set(n),e[Jo]=a=t}else a.subarray(s).set(n);s+=i,e[Yo]=s}}else o?0!==i&&(a=n,s=i):(0!==i&&(a=n.slice(),s=i,e[Yo]=s,e[Jo]=a),e[Xo]=r);return o?0==s||null==a?la:0===r?function(e){return void 0===Ge?t.UTF8ArrayToString(e,0,e.byteLength):Ge.decode(e)}(it(a,0,s)):a.subarray(0,s):null}(e,new Uint8Array(Ee().buffer,n,r),o,a);return a&&s?function(e,t){if(e.send(t),e[Jo]=null,e.bufferedAmount{if(0===e.bufferedAmount)r.resolve();else{const t=e.readyState;if(t!=WebSocket.OPEN&&t!=WebSocket.CLOSING)r.reject(new Error(`InvalidState: ${t} The WebSocket is not connected.`));else if(!r.isDone)return globalThis.setTimeout(s,a),void(a=Math.min(1.5*a,1e3))}const t=o.indexOf(r);t>-1&&o.splice(t,1)};return globalThis.setTimeout(s,0),n}(e,s):null}function fa(e,t,n){if(e||w(!1,"ERR18: expected ws instance"),e[ra]){const t=e[ia];return Z(t,0),Z(t+4,2),Z(t+8,1),null}const r=e[Zo],o=e[Ko];if(r.getLength())return 0!=o.getLength()&&w(!1,"ERR20: Invalid WS state"),ga(e,r,t,n),null;if(e[sa]){const t=e[ia];return Z(t,0),Z(t+4,2),Z(t+8,1),null}const{promise:a,promise_control:s}=y(),i=s;return i.buffer_ptr=t,i.buffer_length=n,o.enqueue(i),a}function ma(e,t,n,r){if(e||w(!1,"ERR19: expected ws instance"),e[ra]||e[aa]||e.readyState==WebSocket.CLOSED)return null;if(e[aa]=!0,r){const{promise:r,promise_control:o}=y();return e[ta].push(o),"string"==typeof n?e.close(t,n):e.close(t),r}return"string"==typeof n?e.close(t,n):e.close(t),null}function ha(e){var t;if(e||w(!1,"ERR18: expected ws instance"),!e[ra]&&!e[aa]){e[ra]=!0,ba(e,new Error("OperationCanceledException")),null===(t=e[oa])||void 0===t||t.dispose();try{e.close(1e3,"Connection was aborted.")}catch(e){pt("WebSocket error while aborting",e)}}}function ba(e,t){const n=e[Qo],r=e[ea];n&&r&&n.reject(t);for(const n of e[ta])n.reject(t);for(const n of e[na])n.reject(t);e[Ko].drain((e=>{e.reject(t)}))}function ga(e,t,n,r){const o=t.peek(),a=Math.min(r,o.data.length-o.offset);if(a>0){const e=o.data.subarray(o.offset,o.offset+a);new Uint8Array(Ee().buffer,n,r).set(e,0),o.offset+=a}const s=o.data.length===o.offset?1:0;s&&t.dequeue();const i=e[ia];Z(i,a),Z(i+4,o.type),Z(i+8,s)}function ya(e){return 1===St.mono_wasm_load_icu_data(e)}function wa(e,n,r){lt(`Loaded:${e.name} as ${e.behavior} size ${r.length} from ${n}`);const o=Jt(),a="string"==typeof e.virtualPath?e.virtualPath:e.name;let s=null;switch(e.behavior){case"dotnetwasm":case"js-module-threads":case"symbols":break;case"resource":case"assembly":case"pdb":u._loaded_files.push({url:n,file:a});case"heap":case"icu":s=ye(r);break;case"vfs":{const e=a.lastIndexOf("/");let n=e>0?a.substr(0,e):null,o=e>0?a.substr(e+1):a;o.startsWith("/")&&(o=o.substr(1)),n?(lt(`Creating directory '${n}'`),t.FS_createPath("/",n,!0,!0)):n="/",lt(`Creating file '${o}' in directory '${n}'`),t.FS_createDataFile(n,o,r,!0,!0,!0);break}default:throw new Error(`Unrecognized asset behavior:${e.behavior}, for asset ${e.name}`)}if("assembly"===e.behavior){if(!St.mono_wasm_add_assembly(a,s,r.length)){const e=u._loaded_files.findIndex((e=>e.file==a));u._loaded_files.splice(e,1)}}else"pdb"===e.behavior?St.mono_wasm_add_assembly(a,s,r.length):"icu"===e.behavior?ya(s)||t.err(`Error loading ICU asset ${e.name}`):"resource"===e.behavior&&St.mono_wasm_add_satellite_assembly(a,e.culture||"",s,r.length);Yt(o,"mono.instantiateAsset:",e.name),++u.actual_instantiated_assets_count}async function Sa(e){try{const t=await e.pendingDownloadInternal.response;(await t.text()).split(/[\r\n]/).forEach((e=>{const t=e.split(/:/);t.length<2||(t[1]=t.splice(1).join(":"),_t.set(Number(t[0]),t[1]))})),lt(`Loaded ${_t.size} symbols`)}catch(t){ut(`Error loading symbol file ${e.name}: ${JSON.stringify(t)}`)}}function ka(){return u.loadedFiles}const va={};function Ea(e){let t=va[e];if("string"!=typeof t){const n=St.mono_jiterp_get_opcode_info(e,0);va[e]=t=Qe(n)}return t}const Ua=2,Ia=64,xa=64,Ta=["Unknown","InterpreterTiering","NullCheck","VtableNotInitialized","Branch","BackwardBranch","ConditionalBranch","ConditionalBackwardBranch","ComplexBranch","ArrayLoadFailed","ArrayStoreFailed","StringOperationFailed","DivideByZero","Overflow","Return","Call","Throw","AllocFailed","SpanOperationFailed","CastFailed","SafepointBranchTaken","UnboxFailed","CallDelegate","Debugging","Icall","UnexpectedRetIp","LeaveCheck"],ja={};class Aa{constructor(e){this.locals=new Map,this.permanentFunctionTypeCount=0,this.permanentFunctionTypes={},this.permanentFunctionTypesByShape={},this.permanentFunctionTypesByIndex={},this.functionTypesByIndex={},this.permanentImportedFunctionCount=0,this.permanentImportedFunctions={},this.nextImportIndex=0,this.functions=[],this.estimatedExportBytes=0,this.frame=0,this.traceBuf=[],this.branchTargets=new Set,this.constantSlots=[],this.backBranchOffsets=[],this.callHandlerReturnAddresses=[],this.nextConstantSlot=0,this.compressImportNames=!1,this.lockImports=!1,this._assignParameterIndices=e=>{let t=0;for(const n in e)this.locals.set(n,t),t++;return t},this.stack=[new Ra],this.clear(e),this.cfg=new La(this)}clear(e){this.options=is(),this.stackSize=1,this.inSection=!1,this.inFunction=!1,this.lockImports=!1,this.locals.clear(),this.functionTypeCount=this.permanentFunctionTypeCount,this.functionTypes=Object.create(this.permanentFunctionTypes),this.functionTypesByShape=Object.create(this.permanentFunctionTypesByShape),this.functionTypesByIndex=Object.create(this.permanentFunctionTypesByIndex),this.nextImportIndex=0,this.importedFunctionCount=0,this.importedFunctions=Object.create(this.permanentImportedFunctions);for(const e in this.importedFunctions)this.importedFunctions[e].index=void 0;this.functions.length=0,this.estimatedExportBytes=0,this.argumentCount=0,this.current.clear(),this.traceBuf.length=0,this.branchTargets.clear(),this.activeBlocks=0,this.nextConstantSlot=0,this.constantSlots.length=this.options.useConstants?e:0;for(let e=0;e=this.stack.length&&this.stack.push(new Ra),this.current.clear()}_pop(e){if(this.stackSize<=1)throw new Error("Stack empty");const t=this.current;return this.stackSize--,e?(this.appendULeb(t.size),t.copyTo(this.current),null):t.getArrayView(!1).slice(0,t.size)}getWasmImports(){const e=t.getMemory();e instanceof WebAssembly.Memory||w(!1,`expected heap import to be WebAssembly.Memory but was ${e}`);const n={c:this.getConstants(),m:{h:e}},r=this.getImportsToEmit();for(let e=0;e>>0||e>255)throw new Error(`Byte out of range: ${e}`);return this.current.appendU8(e)}appendSimd(e,t){return this.current.appendU8(253),0!=(0|e)||0===e&&!0===t||w(!1,"Expected non-v128_load simd opcode or allowLoad==true"),this.current.appendULeb(e)}appendU32(e){return this.current.appendU32(e)}appendF32(e){return this.current.appendF32(e)}appendF64(e){return this.current.appendF64(e)}appendBoundaryValue(e,t){return this.current.appendBoundaryValue(e,t)}appendULeb(e){return this.current.appendULeb(e)}appendLeb(e){return this.current.appendLeb(e)}appendLebRef(e,t){return this.current.appendLebRef(e,t)}appendBytes(e){return this.current.appendBytes(e)}appendName(e){return this.current.appendName(e)}ret(e){this.ip_const(e),this.appendU8(15)}i32_const(e){this.appendU8(65),this.appendLeb(e)}ptr_const(e){let t=this.options.useConstants?this.constantSlots.indexOf(e):-1;this.options.useConstants&&t<0&&this.nextConstantSlot=0?(this.appendU8(35),this.appendLeb(t)):this.i32_const(e)}ip_const(e){this.appendU8(65),this.appendLeb(e-this.base)}i52_const(e){this.appendU8(66),this.appendLeb(e)}v128_const(e){if(0===e)this.local("v128_zero");else{if("object"!=typeof e)throw new Error("Expected v128_const arg to be 0 or a Uint8Array");{16!==e.byteLength&&w(!1,"Expected v128_const arg to be 16 bytes in size");let t=!0;for(let n=0;n<16;n++)0!==e[n]&&(t=!1);t?this.local("v128_zero"):(this.appendSimd(12),this.appendBytes(e))}}}defineType(e,t,n,r){if(this.functionTypes[e])throw new Error(`Function type ${e} already defined`);if(r&&this.functionTypeCount>this.permanentFunctionTypeCount)throw new Error("New permanent function types cannot be defined after non-permanent ones");let o="";for(const e in t)o+=t[e]+",";o+=n;let a=this.functionTypesByShape[o];"number"!=typeof a&&(a=this.functionTypeCount++,r?(this.permanentFunctionTypeCount++,this.permanentFunctionTypesByShape[o]=a,this.permanentFunctionTypesByIndex[a]=[t,Object.values(t).length,n]):(this.functionTypesByShape[o]=a,this.functionTypesByIndex[a]=[t,Object.values(t).length,n]));const s=[a,t,n,`(${JSON.stringify(t)}) -> ${n}`,r];return r?this.permanentFunctionTypes[e]=s:this.functionTypes[e]=s,a}generateTypeSection(){this.beginSection(1),this.appendULeb(this.functionTypeCount);for(let e=0;ee.index-t.index)),e}_generateImportSection(e){const t=this.getImportsToEmit();if(this.lockImports=!0,!1!==e)throw new Error("function table imports are disabled");this.beginSection(2),this.appendULeb(1+t.length+this.constantSlots.length+(!1!==e?1:0));for(let e=0;e0)throw new Error("New permanent imports cannot be defined after any indexes have been assigned");const a=this.functionTypes[n];if(!a)throw new Error("No function type named "+n);if(r&&!a[4])throw new Error("A permanent import must have a permanent function type");const s=a[0],i=r?this.permanentImportedFunctions:this.importedFunctions;if("number"==typeof o&&(o=za().get(o)),"function"!=typeof o&&void 0!==o)throw new Error(`Value passed for imported function ${t} was not a function or valid function pointer or undefined`);return i[t]={index:void 0,typeIndex:s,module:e,name:t,func:o}}markImportAsUsed(e){const t=this.importedFunctions[e];if(!t)throw new Error("No imported function named "+e);"number"!=typeof t.index&&(t.index=this.importedFunctionCount++)}defineFunction(e,t){const n={index:this.functions.length,name:e.name,typeName:e.type,typeIndex:this.functionTypes[e.type][0],export:e.export,locals:e.locals,generator:t,error:null,blob:null};return this.functions.push(n),n.export&&(this.estimatedExportBytes+=n.name.length+8),n}emitImportsAndFunctions(e){let t=0;for(let e=0;e0)throw new Error(`${this.activeBlocks} unclosed block(s) at end of function`);const t=this._pop(e);return this.inFunction=!1,t}block(e,t){const n=this.appendU8(t||2);return e?this.appendU8(e):this.appendU8(64),this.activeBlocks++,n}endBlock(){if(this.activeBlocks<=0)throw new Error("No blocks active");this.activeBlocks--,this.appendU8(11)}arg(e,t){const n="string"==typeof e?this.locals.has(e)?this.locals.get(e):void 0:e;if("number"!=typeof n)throw new Error("No local named "+e);t&&this.appendU8(t),this.appendULeb(n)}local(e,t){const n="string"==typeof e?this.locals.has(e)?this.locals.get(e):void 0:e+this.argumentCount;if("number"!=typeof n)throw new Error("No local named "+e);t?this.appendU8(t):this.appendU8(32),this.appendULeb(n)}appendMemarg(e,t){this.appendULeb(t),this.appendULeb(e)}lea(e,t){"string"==typeof e?this.local(e):this.i32_const(e),this.i32_const(t),this.appendU8(106)}getArrayView(e){if(this.stackSize>1)throw new Error("Jiterpreter block stack not empty");return this.stack[0].getArrayView(e)}getConstants(){const e={};for(let t=0;t=this.capacity)throw new Error("Buffer full");const t=this.size;return Ee()[this.buffer+this.size++]=e,t}appendU32(e){const t=this.size;return St.mono_jiterp_write_number_unaligned(this.buffer+this.size,e,0),this.size+=4,t}appendI32(e){const t=this.size;return St.mono_jiterp_write_number_unaligned(this.buffer+this.size,e,1),this.size+=4,t}appendF32(e){const t=this.size;return St.mono_jiterp_write_number_unaligned(this.buffer+this.size,e,2),this.size+=4,t}appendF64(e){const t=this.size;return St.mono_jiterp_write_number_unaligned(this.buffer+this.size,e,3),this.size+=8,t}appendBoundaryValue(e,t){if(this.size+8>=this.capacity)throw new Error("Buffer full");const n=St.mono_jiterp_encode_leb_signed_boundary(this.buffer+this.size,e,t);if(n<1)throw new Error(`Failed to encode ${e} bit boundary value with sign ${t}`);return this.size+=n,n}appendULeb(e){if("number"!=typeof e&&w(!1,`appendULeb expected number but got ${e}`),e>=0||w(!1,"cannot pass negative value to appendULeb"),e<127){if(this.size+1>=this.capacity)throw new Error("Buffer full");return this.appendU8(e),1}if(this.size+8>=this.capacity)throw new Error("Buffer full");const t=St.mono_jiterp_encode_leb52(this.buffer+this.size,e,0);if(t<1)throw new Error(`Failed to encode value '${e}' as unsigned leb`);return this.size+=t,t}appendLeb(e){if("number"!=typeof e&&w(!1,`appendLeb expected number but got ${e}`),this.size+8>=this.capacity)throw new Error("Buffer full");const t=St.mono_jiterp_encode_leb52(this.buffer+this.size,e,1);if(t<1)throw new Error(`Failed to encode value '${e}' as signed leb`);return this.size+=t,t}appendLebRef(e,t){if(this.size+8>=this.capacity)throw new Error("Buffer full");const n=St.mono_jiterp_encode_leb64_ref(this.buffer+this.size,e,t?1:0);if(n<1)throw new Error("Failed to encode value as leb");return this.size+=n,n}copyTo(e,t){"number"!=typeof t&&(t=this.size),Ee().copyWithin(e.buffer+e.size,this.buffer,this.buffer+t),e.size+=t}appendBytes(e,t){const n=this.size,r=Ee();return e.buffer===r.buffer?("number"!=typeof t&&(t=e.length),r.copyWithin(this.buffer+n,e.byteOffset,e.byteOffset+t),this.size+=t):("number"==typeof t&&(e=new Uint8Array(e.buffer,e.byteOffset,t)),this.getArrayView(!0).set(e,this.size),this.size+=e.length),n}appendName(e){let t=e.length,n=1===e.length?e.charCodeAt(0):-1;if(n>127&&(n=-1),t&&n<0)if(this.encoder)t=this.encoder.encodeInto(e,this.textBuf).written||0;else for(let n=0;n127)throw new Error("Out of range character and no TextEncoder available");this.textBuf[n]=t}this.appendULeb(t),n>=0?this.appendU8(n):t>1&&this.appendBytes(this.textBuf,t)}getArrayView(e){return new Uint8Array(Ee().buffer,this.buffer,e?this.capacity:this.size)}}class La{constructor(e){this.segments=[],this.backBranchTargets=null,this.lastSegmentEnd=0,this.overheadBytes=0,this.blockStack=[],this.backDispatchOffsets=[],this.dispatchTable=new Map,this.observedBranchTargets=new Set,this.trace=0,this.builder=e}initialize(e,t,n){this.segments.length=0,this.blockStack.length=0,this.startOfBody=e,this.backBranchTargets=t,this.base=this.builder.base,this.ip=this.lastSegmentStartIp=this.builder.base,this.lastSegmentEnd=0,this.overheadBytes=10,this.dispatchTable.clear(),this.observedBranchTargets.clear(),this.trace=n,this.backDispatchOffsets.length=0}entry(e){this.entryIp=e,this.appendBlob(),1!==this.segments.length&&w(!1,"expected 1 segment"),"blob"!==this.segments[0].type&&w(!1,"expected blob"),this.entryBlob=this.segments[0],this.segments.length=0,this.overheadBytes+=9,this.backBranchTargets&&(this.overheadBytes+=20,this.overheadBytes+=this.backBranchTargets.length)}appendBlob(){this.builder.current.size!==this.lastSegmentEnd&&(this.segments.push({type:"blob",ip:this.lastSegmentStartIp,start:this.lastSegmentEnd,length:this.builder.current.size-this.lastSegmentEnd}),this.lastSegmentStartIp=this.ip,this.lastSegmentEnd=this.builder.current.size,this.overheadBytes+=2)}startBranchBlock(e,t){this.appendBlob(),this.segments.push({type:"branch-block-header",ip:e,isBackBranchTarget:t}),this.overheadBytes+=1}branch(e,t,n){this.observedBranchTargets.add(e),this.appendBlob(),this.segments.push({type:"branch",from:this.ip,target:e,isBackward:t,branchType:n}),this.overheadBytes+=4,t&&(this.overheadBytes+=11),3!==n&&2!==n||(this.overheadBytes+=17)}emitBlob(e,t){const n=t.subarray(e.start,e.start+e.length);this.builder.appendBytes(n)}generate(){this.appendBlob();const e=this.builder.endFunction(!1);this.builder._push(),this.builder.base=this.base,this.emitBlob(this.entryBlob,e),this.backBranchTargets&&(this.builder.i32_const(0),this.builder.local("disp",33),this.builder.block(64,3));for(let e=0;ee-t));for(let e=0;e0&&ut("No back branch targets were reachable after filtering");else if(1===this.backDispatchOffsets.length)this.trace>0&&(this.backDispatchOffsets[0]===this.entryIp?ut(`Exactly one back dispatch offset and it was the entry point 0x${this.entryIp.toString(16)}`):ut(`Exactly one back dispatch offset and it was 0x${this.backDispatchOffsets[0].toString(16)}`)),this.builder.local("disp"),this.builder.appendU8(13),this.builder.appendULeb(this.blockStack.indexOf(this.backDispatchOffsets[0]));else{this.builder.block(64),this.builder.block(64),this.builder.local("disp"),this.builder.appendU8(14),this.builder.appendULeb(this.backDispatchOffsets.length+1),this.builder.appendULeb(1);for(let e=0;e0&&this.blockStack.push(0)}this.trace>1&&ut(`blockStack=${this.blockStack}`);for(let t=0;t1&&ut(`backward br from ${n.from.toString(16)} to ${n.target.toString(16)}: disp=${e}`),this.builder.i32_const(1),this.builder.local("backbranched",33),this.builder.i32_const(e),this.builder.local("disp",33),r=!0}else this.trace>0&&ut(`br from ${n.from.toString(16)} to ${n.target.toString(16)} failed: back branch target not in dispatch table`),t=-1;if(t>=0||r){let e=0;switch(n.branchType){case 2:Ma(this.builder,n.from),this.builder.appendU8(12);break;case 3:this.builder.block(64,4),Ma(this.builder,n.from),this.builder.appendU8(12),e=1;break;case 0:this.builder.appendU8(12);break;case 1:this.builder.appendU8(13);break;default:throw new Error("Unimplemented branch type")}this.builder.appendULeb(e+t),e&&this.builder.endBlock(),this.trace>1&&ut(`br from ${n.from.toString(16)} to ${n.target.toString(16)} breaking out ${e+t+1} level(s)`)}else{if(this.trace>0){const e=this.base;n.target>=e&&n.target1&&ut(`br from ${n.from.toString(16)} to ${n.target.toString(16)} failed (outside of trace 0x${e.toString(16)} - 0x${this.exitIp.toString(16)})`)}const e=1===n.branchType||3===n.branchType;e&&this.builder.block(64,4),Fa(this.builder,n.target,4),e&&this.builder.endBlock()}break}default:throw new Error("unreachable")}}return this.backBranchTargets&&(this.blockStack.length<=1||w(!1,"expected one or zero entries in the block stack at the end"),this.blockStack.length&&this.blockStack.shift(),this.builder.endBlock()),0!==this.blockStack.length&&w(!1,`expected block stack to be empty at end of function but it was ${this.blockStack}`),this.builder.ip_const(this.exitIp),this.builder.appendU8(15),this.builder.appendU8(11),this.builder._pop(!1)}}let Ca,$a=-1,Na=0;const Da={generation:0,compilation:0},Ba={traceCandidates:0,tracesCompiled:0,entryWrappersCompiled:0,jitCallsCompiled:0,directJitCallsCompiled:0,failures:0,bytesGenerated:0,nullChecksEliminated:0,nullChecksFused:0,backBranchesEmitted:0,backBranchesNotEmitted:0,simdFallback:{}},Oa=globalThis.performance&&globalThis.performance.now?globalThis.performance.now.bind(globalThis.performance):Date.now;function Ma(e,t){e.ptr_const(St.mono_jiterp_get_polling_required_address()),e.appendU8(40),e.appendMemarg(0,2),e.block(64,4),e.local("frame"),e.i32_const(t),e.callImport("safepoint"),e.endBlock()}function Fa(e,t,n){e.ip_const(t),e.options.countBailouts&&(e.i32_const(e.base),e.i32_const(n),e.callImport("bailout")),e.appendU8(15)}function Pa(e,t,n,r){n<=e.options.monitoringLongDistance+2&&(e.local("cinfo"),e.i32_const(n),e.appendU8(54),e.appendMemarg(4,0),e.local("cinfo"),e.local("backbranched"),e.appendU8(54),e.appendMemarg(0,0)),e.ip_const(t),e.options.countBailouts&&(e.i32_const(e.base),e.i32_const(r),e.callImport("bailout")),e.appendU8(15)}function za(){if(Ca||(Ca=t.getWasmIndirectFunctionTable()),!Ca)throw new Error("Module did not export the indirect function table");return Ca}function Va(e){e||w(!1,"Attempting to set null function into table"),l.storeMemorySnapshotPending&&w(!1,"Attempting to set function into table during creation of memory snapshot");const t=za();Na<=0&&($a=t.length,Na=512,t.grow(Na));const n=$a;return $a++,Na--,t.set(n,e),n}function Ha(e,t,n,r,o){if(r<=0)return o&&e.appendU8(26),!0;if(r>=Ia)return!1;if(0!==n)return!1;const a=o?"memop_dest":"pLocals";o&&e.local(a,33);let s=o?0:t;if(e.options.enableSimd){const t=16;for(;r>=t;)e.local(a),e.v128_const(0),e.appendSimd(11),e.appendMemarg(s,0),s+=t,r-=t}for(;r>=8;)e.local(a),e.i52_const(0),e.appendU8(55),e.appendMemarg(s,0),s+=8,r-=8;for(;r>=1;){e.local(a),e.i32_const(0);let t=r%4;switch(t){case 0:t=4,e.appendU8(54);break;case 1:e.appendU8(58);break;case 3:case 2:t=2,e.appendU8(59)}e.appendMemarg(s,0),s+=t,r-=t}return!0}function Wa(e,t,n){Ha(e,0,t,n,!0)||(e.i32_const(t),e.i32_const(n),e.appendU8(252),e.appendU8(11),e.appendU8(0))}function Ga(e,t,n,r,o,a,s){if(r<=0)return o&&(e.appendU8(26),e.appendU8(26)),!0;if(r>=xa)return!1;o?(a=a||"memop_dest",s=s||"memop_src",e.local(s,33),e.local(a,33)):a&&s||(a=s="pLocals");let i=o?0:t,c=o?0:n;if(e.options.enableSimd){const t=16;for(;r>=t;)e.local(a),e.local(s),e.appendSimd(0,!0),e.appendMemarg(c,0),e.appendSimd(11),e.appendMemarg(i,0),i+=t,c+=t,r-=t}for(;r>=8;)e.local(a),e.local(s),e.appendU8(41),e.appendMemarg(c,0),e.appendU8(55),e.appendMemarg(i,0),i+=8,c+=8,r-=8;for(;r>=1;){let t,n,o=r%4;switch(o){case 0:o=4,t=40,n=54;break;default:case 1:o=1,t=44,n=58;break;case 3:case 2:o=2,t=46,n=59}e.local(a),e.local(s),e.appendU8(t),e.appendMemarg(c,0),e.appendU8(n),e.appendMemarg(i,0),c+=o,i+=o,r-=o}return!0}function qa(e,t){return Ga(e,0,0,t,!0)||(e.i32_const(t),e.appendU8(252),e.appendU8(10),e.appendU8(0),e.appendU8(0)),!0}function Ja(){Ba.failures++,Ba.failures>=Ua&&(ut(`Disabling jiterpreter after ${Ba.failures} failures`),ss({enableTraces:!1,enableInterpEntry:!1,enableJitCall:!1}))}const Ya={};function Xa(e){const t=Ya[e];return void 0===t?Ya[e]=St.mono_jiterp_get_member_offset(e):t}function Za(e){const n=t.asm[e];if("function"!=typeof n)throw new Error(`raw cwrap ${e} not found`);return n}const Ka={};function Qa(e){let t=Ka[e];return"number"!=typeof t&&(t=Ka[e]=St.mono_jiterp_get_opcode_value_table_entry(e)),t}function es(e,t){return[e,e,t]}let ts;function ns(){if(!St.mono_wasm_is_zero_page_reserved())return!1;if(!0===ts)return!1;const e=Ie();for(let t=0;t<8;t++)if(0!==e[t])return!1===ts&&dt(`Zero page optimizations are enabled but garbage appeared in memory at address ${4*t}: ${e[t]}`),ts=!0,!1;return ts=!1,!0}const rs={enableTraces:"jiterpreter-traces-enabled",enableInterpEntry:"jiterpreter-interp-entry-enabled",enableJitCall:"jiterpreter-jit-call-enabled",enableBackwardBranches:"jiterpreter-backward-branch-entries-enabled",enableCallResume:"jiterpreter-call-resume-enabled",enableWasmEh:"jiterpreter-wasm-eh-enabled",enableSimd:"jiterpreter-simd-enabled",zeroPageOptimization:"jiterpreter-zero-page-optimization",enableStats:"jiterpreter-stats-enabled",disableHeuristic:"jiterpreter-disable-heuristic",estimateHeat:"jiterpreter-estimate-heat",countBailouts:"jiterpreter-count-bailouts",dumpTraces:"jiterpreter-dump-traces",useConstants:"jiterpreter-use-constants",eliminateNullChecks:"jiterpreter-eliminate-null-checks",noExitBackwardBranches:"jiterpreter-backward-branches-enabled",directJitCalls:"jiterpreter-direct-jit-calls",minimumTraceValue:"jiterpreter-minimum-trace-value",minimumTraceHitCount:"jiterpreter-minimum-trace-hit-count",monitoringPeriod:"jiterpreter-trace-monitoring-period",monitoringShortDistance:"jiterpreter-trace-monitoring-short-distance",monitoringLongDistance:"jiterpreter-trace-monitoring-long-distance",monitoringMaxAveragePenalty:"jiterpreter-trace-monitoring-max-average-penalty",backBranchBoost:"jiterpreter-back-branch-boost",jitCallHitCount:"jiterpreter-jit-call-hit-count",jitCallFlushThreshold:"jiterpreter-jit-call-queue-flush-threshold",interpEntryHitCount:"jiterpreter-interp-entry-hit-count",interpEntryFlushThreshold:"jiterpreter-interp-entry-queue-flush-threshold",wasmBytesLimit:"jiterpreter-wasm-bytes-limit"};let os=-1,as={};function ss(e){for(const t in e){const n=rs[t];if(!n){dt(`Unrecognized jiterpreter option: ${t}`);continue}const r=e[t];"boolean"==typeof r?St.mono_jiterp_parse_option((r?"--":"--no-")+n):"number"==typeof r?St.mono_jiterp_parse_option(`--${n}=${r}`):dt(`Jiterpreter option must be a boolean or a number but was ${typeof r} '${r}'`)}}function is(){const e=St.mono_jiterp_get_options_version();return e!==os&&(function(){const e=St.mono_jiterp_get_options_as_json(),n=Qe(e);t._free(e);const r=JSON.parse(n);as={};for(const e in rs){const t=rs[e];as[e]=r[t]}}(),os=e),as}const cs={2:["V128_I1_NEGATION","V128_I2_NEGATION","V128_I4_NEGATION","V128_ONES_COMPLEMENT","V128_U2_WIDEN_LOWER","V128_U2_WIDEN_UPPER","V128_I1_CREATE_SCALAR","V128_I2_CREATE_SCALAR","V128_I4_CREATE_SCALAR","V128_I8_CREATE_SCALAR","V128_I1_EXTRACT_MSB","V128_I2_EXTRACT_MSB","V128_I4_EXTRACT_MSB","V128_I8_EXTRACT_MSB","V128_I1_CREATE","V128_I2_CREATE","V128_I4_CREATE","V128_I8_CREATE","SplatX1","SplatX2","SplatX4","SplatX8","NegateD1","NegateD2","NegateD4","NegateD8","NegateR4","NegateR8","SqrtR4","SqrtR8","CeilingR4","CeilingR8","FloorR4","FloorR8","TruncateR4","TruncateR8","RoundToNearestR4","RoundToNearestR8","NotANY","AnyTrueANY","AllTrueD1","AllTrueD2","AllTrueD4","AllTrueD8","PopCountU1","BitmaskD1","BitmaskD2","BitmaskD4","BitmaskD8","AddPairwiseWideningI1","AddPairwiseWideningU1","AddPairwiseWideningI2","AddPairwiseWideningU2","AbsI1","AbsI2","AbsI4","AbsI8","AbsR4","AbsR8","ConvertToSingleI4","ConvertToSingleU4","ConvertToSingleR8","ConvertToDoubleLowerI4","ConvertToDoubleLowerU4","ConvertToDoubleLowerR8","ConvertToInt32SaturateR4","ConvertToUInt32SaturateR4","ConvertToInt32SaturateR8","ConvertToUInt32SaturateR8","SignExtendWideningLowerD1","SignExtendWideningLowerD2","SignExtendWideningLowerD4","SignExtendWideningUpperD1","SignExtendWideningUpperD2","SignExtendWideningUpperD4","ZeroExtendWideningLowerD1","ZeroExtendWideningLowerD2","ZeroExtendWideningLowerD4","ZeroExtendWideningUpperD1","ZeroExtendWideningUpperD2","ZeroExtendWideningUpperD4","LoadVector128ANY","LoadScalarVector128X4","LoadScalarVector128X8","LoadScalarAndSplatVector128X1","LoadScalarAndSplatVector128X2","LoadScalarAndSplatVector128X4","LoadScalarAndSplatVector128X8","LoadWideningVector128I1","LoadWideningVector128U1","LoadWideningVector128I2","LoadWideningVector128U2","LoadWideningVector128I4","LoadWideningVector128U4"],3:["V128_I1_ADD","V128_I2_ADD","V128_I4_ADD","V128_R4_ADD","V128_I1_SUB","V128_I2_SUB","V128_I4_SUB","V128_R4_SUB","V128_BITWISE_AND","V128_BITWISE_OR","V128_BITWISE_EQUALITY","V128_BITWISE_INEQUALITY","V128_R4_FLOAT_EQUALITY","V128_R8_FLOAT_EQUALITY","V128_EXCLUSIVE_OR","V128_I1_MULTIPLY","V128_I2_MULTIPLY","V128_I4_MULTIPLY","V128_R4_MULTIPLY","V128_R4_DIVISION","V128_I1_LEFT_SHIFT","V128_I2_LEFT_SHIFT","V128_I4_LEFT_SHIFT","V128_I8_LEFT_SHIFT","V128_I1_RIGHT_SHIFT","V128_I2_RIGHT_SHIFT","V128_I4_RIGHT_SHIFT","V128_I1_URIGHT_SHIFT","V128_I2_URIGHT_SHIFT","V128_I4_URIGHT_SHIFT","V128_I8_URIGHT_SHIFT","V128_U1_NARROW","V128_U1_GREATER_THAN","V128_I1_LESS_THAN","V128_U1_LESS_THAN","V128_I2_LESS_THAN","V128_I1_EQUALS","V128_I2_EQUALS","V128_I4_EQUALS","V128_R4_EQUALS","V128_I8_EQUALS","V128_AND_NOT","V128_U2_LESS_THAN_EQUAL","V128_I1_SHUFFLE","V128_I2_SHUFFLE","V128_I4_SHUFFLE","V128_I8_SHUFFLE","ExtractScalarI1","ExtractScalarU1","ExtractScalarI2","ExtractScalarU2","ExtractScalarD4","ExtractScalarD8","ExtractScalarR4","ExtractScalarR8","SwizzleD1","AddD1","AddD2","AddD4","AddD8","AddR4","AddR8","SubtractD1","SubtractD2","SubtractD4","SubtractD8","SubtractR4","SubtractR8","MultiplyD2","MultiplyD4","MultiplyD8","MultiplyR4","MultiplyR8","DivideR4","DivideR8","DotI2","ShiftLeftD1","ShiftLeftD2","ShiftLeftD4","ShiftLeftD8","ShiftRightArithmeticD1","ShiftRightArithmeticD2","ShiftRightArithmeticD4","ShiftRightArithmeticD8","ShiftRightLogicalD1","ShiftRightLogicalD2","ShiftRightLogicalD4","ShiftRightLogicalD8","AndANY","AndNotANY","OrANY","XorANY","CompareEqualD1","CompareEqualD2","CompareEqualD4","CompareEqualD8","CompareEqualR4","CompareEqualR8","CompareNotEqualD1","CompareNotEqualD2","CompareNotEqualD4","CompareNotEqualD8","CompareNotEqualR4","CompareNotEqualR8","CompareLessThanI1","CompareLessThanU1","CompareLessThanI2","CompareLessThanU2","CompareLessThanI4","CompareLessThanU4","CompareLessThanI8","CompareLessThanR4","CompareLessThanR8","CompareLessThanOrEqualI1","CompareLessThanOrEqualU1","CompareLessThanOrEqualI2","CompareLessThanOrEqualU2","CompareLessThanOrEqualI4","CompareLessThanOrEqualU4","CompareLessThanOrEqualI8","CompareLessThanOrEqualR4","CompareLessThanOrEqualR8","CompareGreaterThanI1","CompareGreaterThanU1","CompareGreaterThanI2","CompareGreaterThanU2","CompareGreaterThanI4","CompareGreaterThanU4","CompareGreaterThanI8","CompareGreaterThanR4","CompareGreaterThanR8","CompareGreaterThanOrEqualI1","CompareGreaterThanOrEqualU1","CompareGreaterThanOrEqualI2","CompareGreaterThanOrEqualU2","CompareGreaterThanOrEqualI4","CompareGreaterThanOrEqualU4","CompareGreaterThanOrEqualI8","CompareGreaterThanOrEqualR4","CompareGreaterThanOrEqualR8","ConvertNarrowingSaturateSignedI2","ConvertNarrowingSaturateSignedI4","ConvertNarrowingSaturateUnsignedI2","ConvertNarrowingSaturateUnsignedI4","MultiplyWideningLowerI1","MultiplyWideningLowerI2","MultiplyWideningLowerI4","MultiplyWideningLowerU1","MultiplyWideningLowerU2","MultiplyWideningLowerU4","MultiplyWideningUpperI1","MultiplyWideningUpperI2","MultiplyWideningUpperI4","MultiplyWideningUpperU1","MultiplyWideningUpperU2","MultiplyWideningUpperU4","AddSaturateI1","AddSaturateU1","AddSaturateI2","AddSaturateU2","SubtractSaturateI1","SubtractSaturateU1","SubtractSaturateI2","SubtractSaturateU2","MultiplyRoundedSaturateQ15I2","MinI1","MinI2","MinI4","MinU1","MinU2","MinU4","MaxI1","MaxI2","MaxI4","MaxU1","MaxU2","MaxU4","AverageRoundedU1","AverageRoundedU2","MinR4","MinR8","MaxR4","MaxR8","PseudoMinR4","PseudoMinR8","PseudoMaxR4","PseudoMaxR8","StoreANY"],4:["V128_CONDITIONAL_SELECT","ReplaceScalarD1","ReplaceScalarD2","ReplaceScalarD4","ReplaceScalarD8","ReplaceScalarR4","ReplaceScalarR8","ShuffleD1","BitwiseSelectANY","LoadScalarAndInsertX1","LoadScalarAndInsertX2","LoadScalarAndInsertX4","LoadScalarAndInsertX8","StoreSelectedScalarX1","StoreSelectedScalarX2","StoreSelectedScalarX4","StoreSelectedScalarX8"]},ls={13:[65,-1],14:[65,0],15:[65,1],16:[65,2],17:[65,3],18:[65,4],19:[65,5],20:[65,6],21:[65,7],22:[65,8]},us={463:168,469:174,464:170,470:176},ps={515:[69,40,54],435:[106,40,54],437:[107,40,54],439:[107,40,54],443:[115,40,54],436:[124,41,55],438:[125,41,55],440:[125,41,55],444:[133,41,55],518:[106,40,54],522:[108,40,54],519:[124,41,55],523:[126,41,55],441:[140,42,56],442:[154,43,57],471:[178,40,56],474:[183,40,57],445:[184,40,57],472:[180,41,56],475:[185,41,57],446:[186,41,57],476:[187,42,57],473:[182,43,56],467:[1,52,55],468:[1,53,55],451:[113,40,54],459:[113,40,54],447:[117,40,54],455:[117,40,54],452:[113,41,54],460:[113,41,54],448:[117,41,54],456:[117,41,54],526:[116,40,54],527:[134,41,55],528:[117,40,54],529:[135,41,55],524:[118,40,54],525:[136,41,55],628:[119,40,54],629:[137,41,55],630:[120,40,54],631:[138,41,55],632:[103,40,54],634:[104,40,54],636:[105,40,54],633:[121,41,55],635:[122,41,55],637:[123,41,55]},ds={401:187,402:1,405:187,406:1,409:187,410:1,413:187,414:1,419:187,420:1,423:187,424:1,433:187,434:1,427:187,428:1,65536:187,65537:187,65535:187,65539:1,65540:1,65538:1},_s={351:[106,40,54],369:[106,40,54],371:[106,40,54],355:[107,40,54],359:[108,40,54],373:[108,40,54],375:[108,40,54],363:[109,40,54],367:[110,40,54],387:[111,40,54],391:[112,40,54],381:[113,40,54],383:[114,40,54],385:[115,40,54],395:[116,40,54],397:[117,40,54],393:[118,40,54],352:[124,41,55],356:[125,41,55],360:[126,41,55],364:[127,41,55],388:[129,41,55],368:[128,41,55],392:[130,41,55],382:[131,41,55],384:[132,41,55],386:[133,41,55],396:[134,41,55],398:[135,41,55],394:[136,41,55],353:[146,42,56],357:[147,42,56],361:[148,42,56],365:[149,42,56],354:[160,43,57],358:[161,43,57],362:[162,43,57],366:[163,43,57],399:[70,40,54],403:[71,40,54],421:[72,40,54],407:[74,40,54],425:[76,40,54],411:[78,40,54],431:[73,40,54],417:[75,40,54],429:[77,40,54],415:[79,40,54],400:[81,41,54],404:[82,41,54],422:[83,41,54],408:[85,41,54],426:[87,41,54],412:[89,41,54],432:[84,41,54],418:[86,41,54],430:[88,41,54],416:[90,41,54]},fs={195:399,215:403,203:407,223:417,207:421,231:431,199:411,219:415,211:425,227:429,239:[399,!1,!0],249:[403,!1,!0],243:[407,!1,!0],253:[417,!1,!0],245:[421,!1,!0],257:[431,!1,!0],241:[411,!1,!0],251:[415,!1,!0],247:[425,!1,!0],255:[429,!1,!0],259:[399,65,!0],269:[403,65,!0],263:[407,65,!0],273:[417,65,!0],265:[421,65,!0],277:[431,65,!0],261:[411,65,!0],271:[415,65,!0],267:[425,65,!0],275:[429,65,!0],196:400,216:404,204:408,224:418,208:422,232:432,200:412,220:416,212:426,228:430,260:[400,66,!0],264:[408,66,!0],274:[418,66,!0],266:[422,66,!0],278:[432,66,!0],262:[412,66,!0],272:[416,66,!0],268:[426,66,!0],276:[430,66,!0],197:401,217:65535,205:409,225:419,209:423,233:433,201:413,221:65536,213:427,229:65537,198:402,218:65538,206:410,226:420,210:424,234:434,202:414,222:65539,214:428,230:65540},ms={588:[!0,!1,159],615:[!0,!0,145],575:[!0,!1,155],602:[!0,!0,141],581:[!0,!1,156],608:[!0,!0,142],592:[!0,!1,153],619:[!0,!0,139],570:[!0,!1,"acos"],597:[!0,!0,"acosf"],571:[!0,!1,"acosh"],598:[!0,!0,"acoshf"],576:[!0,!1,"cos"],603:[!0,!0,"cosf"],568:[!0,!1,"asin"],595:[!0,!0,"asinf"],569:[!0,!1,"asinh"],596:[!0,!0,"asinhf"],587:[!0,!1,"sin"],614:[!0,!0,"sinf"],572:[!0,!1,"atan"],599:[!0,!0,"atanf"],573:[!0,!1,"atanh"],600:[!0,!0,"atanhf"],590:[!0,!1,"tan"],617:[!0,!0,"tanf"],577:[!0,!1,"cbrt"],604:[!0,!0,"cbrtf"],579:[!0,!1,"exp"],606:[!0,!0,"expf"],582:[!0,!1,"log"],609:[!0,!0,"logf"],583:[!0,!1,"log2"],610:[!0,!0,"log2f"],584:[!0,!1,"log10"],611:[!0,!0,"log10f"],593:[!1,!1,164],620:[!1,!0,150],594:[!1,!1,165],621:[!1,!0,151],574:[!1,!1,"atan2"],601:[!1,!0,"atan2f"],585:[!1,!1,"pow"],612:[!1,!0,"powf"],390:[!1,!1,"fmod"],389:[!1,!0,"fmodf"]},hs={641:1,642:2,643:4,644:8},bs={641:44,642:46,643:40,644:41},gs={641:58,642:59,643:54,644:55},ys=new Set([20,21,22,23,24,25,26,27,28,29,30]),ws={47:[16,54],48:[16,54],49:[8,54],50:[8,54],51:[4,54],53:[4,56],52:[2,55],54:[2,57]},Ss={1:[16,40],2:[8,40],3:[4,40],5:[4,42],4:[2,41],6:[2,43]},ks=new Set([81,84,85,86,87,82,83,88,89,90,91,92,93]),vs={13:[16],14:[8],15:[4],16:[2]},Es={10:100,11:132,12:164,13:196},Us={6:[44,23],7:[46,26],8:[40,28],9:[41,30]};function Is(e,t){return se(e+2*t)}function xs(e,t){return de(e+2*t)}function Ts(e,t){return le(e+2*t)}function js(e,t){return ue(e+2*t)}function As(e){return ue(e+Xa(4))}function Rs(e,t){const n=ue(As(e)+Xa(5));return ue(n+t*xi)}function Ls(e,t){const n=ue(As(e)+Xa(12));return ue(n+t*xi)}function Cs(e,t,n){if(!n)return!1;for(let r=0;r=40||w(!1,`Expected load opcode but got ${n}`),e.appendU8(n),void 0!==r)e.appendULeb(r);else if(253===n)throw new Error("PREFIX_simd ldloc without a simdOpcode");const o=Vs(t,n,r);e.appendMemarg(t,o)}function Ws(e,t,n,r){n>=54||w(!1,`Expected store opcode but got ${n}`),e.appendU8(n),void 0!==r&&e.appendULeb(r);const o=Vs(t,n,r);e.appendMemarg(t,o),Fs(t),void 0!==r&&Fs(t+8)}function Gs(e,t,n){"number"!=typeof n&&(n=512),n>0&&Ps(t,n),e.lea("pLocals",t)}function qs(e,t,n,r){Ps(t,r),Ha(e,t,n,r,!1)||(Gs(e,t,r),Wa(e,n,r))}function Js(e,t,n,r){if(Ps(t,r),Ga(e,t,n,r,!1))return!0;Gs(e,t,r),Gs(e,n,0),qa(e,r)}function Ys(e,t){return 0!==St.mono_jiterp_is_imethod_var_address_taken(As(e.frame),t)}function Xs(e,t,n,r){if(e.allowNullCheckOptimization&&Ds.has(t)&&!Ys(e,t))return Ba.nullChecksEliminated++,void(Os===t?r&&e.local("cknull_ptr"):(Hs(e,t,40),e.local("cknull_ptr",r?34:33),Os=t));Hs(e,t,40),e.local("cknull_ptr",34),e.appendU8(69),e.block(64,4),Fa(e,n,2),e.endBlock(),r&&e.local("cknull_ptr"),e.allowNullCheckOptimization&&!Ys(e,t)?(Ds.set(t,n),Os=t):Os=-1}function Zs(e,t,n){let r,o=54;const a=ls[n];if(a)e.local("pLocals"),e.appendU8(a[0]),r=a[1],e.appendLeb(r);else switch(n){case 23:e.local("pLocals"),r=xs(t,2),e.i32_const(r);break;case 24:e.local("pLocals"),r=Ts(t,2),e.i32_const(r);break;case 25:e.local("pLocals"),e.i52_const(0),o=55;break;case 27:e.local("pLocals"),e.appendU8(66),e.appendLebRef(t+4,!0),o=55;break;case 26:e.local("pLocals"),e.i52_const(xs(t,2)),o=55;break;case 28:e.local("pLocals"),e.appendU8(67),e.appendF32(function(e,t){return n=e+2*t,St.mono_wasm_get_f32_unaligned(n);var n}(t,2)),o=56;break;case 29:e.local("pLocals"),e.appendU8(68),e.appendF64(function(e,t){return n=e+2*t,St.mono_wasm_get_f64_unaligned(n);var n}(t,2)),o=57;break;default:return!1}e.appendU8(o);const s=Is(t,1);return e.appendMemarg(s,2),Fs(s),"number"==typeof r?$s.set(s,r):$s.delete(s),!0}function Ks(e,t,n){let r=40,o=54;switch(n){case 82:r=44;break;case 83:r=45;break;case 84:r=46;break;case 85:r=47;break;case 86:r=45,o=58;break;case 87:r=47,o=59;break;case 88:break;case 89:r=41,o=55;break;case 90:{const n=Is(t,3);return Js(e,Is(t,1),Is(t,2),n),!0}case 91:return Js(e,Is(t,1),Is(t,2),8),Js(e,Is(t,3),Is(t,4),8),!0;case 92:return Js(e,Is(t,1),Is(t,2),8),Js(e,Is(t,3),Is(t,4),8),Js(e,Is(t,5),Is(t,6),8),!0;case 93:return Js(e,Is(t,1),Is(t,2),8),Js(e,Is(t,3),Is(t,4),8),Js(e,Is(t,5),Is(t,6),8),Js(e,Is(t,7),Is(t,8),8),!0;default:return!1}return e.local("pLocals"),Hs(e,Is(t,2),r),Ws(e,Is(t,1),o),!0}function Qs(e,t,n,r){const o=r>=31&&r<=44||r>=58&&r<=68,a=Is(n,o?2:1),s=Is(n,3),i=Is(n,o?1:2),c=e.allowNullCheckOptimization&&Ds.has(a)&&!Ys(e,a);44!==r&&53!==r&&Xs(e,a,n,!1);let l=54,u=40;switch(r){case 31:u=44;break;case 32:u=45;break;case 33:u=46;break;case 34:u=47;break;case 39:case 49:case 35:break;case 51:case 37:u=42,l=56;break;case 52:case 38:u=43,l=57;break;case 45:case 46:l=58;break;case 47:case 48:l=59;break;case 36:case 50:u=41,l=55;break;case 53:return c||e.block(),e.local("pLocals"),e.i32_const(s),e.i32_const(a),e.i32_const(i),e.callImport("stfld_o"),c?(e.appendU8(26),Ba.nullChecksEliminated++):(e.appendU8(13),e.appendULeb(0),Fa(e,n,2),e.endBlock()),!0;case 40:{const t=Is(n,4);return Gs(e,i,t),e.local("cknull_ptr"),0!==s&&(e.i32_const(s),e.appendU8(106)),qa(e,t),!0}case 54:{const r=Rs(t,Is(n,4));return e.local("cknull_ptr"),0!==s&&(e.i32_const(s),e.appendU8(106)),Gs(e,i,0),e.ptr_const(r),e.callImport("value_copy"),!0}case 55:{const t=Is(n,4);return e.local("cknull_ptr"),0!==s&&(e.i32_const(s),e.appendU8(106)),Gs(e,i,0),qa(e,t),!0}case 44:case 43:return e.local("pLocals"),Hs(e,a,40),0!==s&&(e.i32_const(s),e.appendU8(106)),Ws(e,i,l),!0;default:return!1}return o&&e.local("pLocals"),e.local("cknull_ptr"),o?(e.appendU8(u),e.appendMemarg(s,0),Ws(e,i,l),!0):(Hs(e,i,u),e.appendU8(l),e.appendMemarg(s,0),!0)}function ei(e,t,n,r){const o=r>=31&&r<=44||r>=58&&r<=68,a=Is(n,1),s=Rs(t,Is(n,2)),i=Rs(t,Is(n,3));!function(e,t,n){e.block(),e.ptr_const(t),e.appendU8(45),e.appendMemarg(Xa(0),0),e.appendU8(13),e.appendULeb(0),Fa(e,n,3),e.endBlock()}(e,s,n);let c=54,l=40;switch(r){case 58:l=44;break;case 59:l=45;break;case 60:l=46;break;case 61:l=47;break;case 66:case 73:case 62:break;case 75:case 64:l=42,c=56;break;case 76:case 65:l=43,c=57;break;case 69:case 70:c=58;break;case 71:case 72:c=59;break;case 63:case 74:l=41,c=55;break;case 77:return e.ptr_const(i),Gs(e,a,0),e.callImport("copy_ptr"),!0;case 67:{const t=Is(n,4);return Gs(e,a,t),e.ptr_const(i),qa(e,t),!0}case 80:return e.local("pLocals"),e.ptr_const(i),Ws(e,a,c),!0;default:return!1}return o?(e.local("pLocals"),e.ptr_const(i),e.appendU8(l),e.appendMemarg(0,0),Ws(e,a,c),!0):(e.ptr_const(i),Hs(e,a,l),e.appendU8(c),e.appendMemarg(0,0),!0)}function ti(e,t,n){let r,o,a,s,i="math_lhs32",c="math_rhs32",l=!1;const u=ds[n];if(u){e.local("pLocals");const r=1==u;return Hs(e,Is(t,2),r?43:42),r||e.appendU8(u),Hs(e,Is(t,3),r?43:42),r||e.appendU8(u),e.i32_const(n),e.callImport("relop_fp"),Ws(e,Is(t,1),54),!0}switch(n){case 389:case 390:return si(e,t,n);default:if(s=_s[n],!s)return!1;s.length>3?(r=s[1],o=s[2],a=s[3]):(r=o=s[1],a=s[2])}switch(n){case 363:case 364:case 367:case 368:case 387:case 388:case 391:case 392:{const a=368===n||392===n||364===n||388===n;i=a?"math_lhs64":"math_lhs32",c=a?"math_rhs64":"math_rhs32",e.block(),Hs(e,Is(t,2),r),e.local(i,33),Hs(e,Is(t,3),o),e.local(c,34),l=!0,a&&(e.appendU8(80),e.appendU8(69)),e.appendU8(13),e.appendULeb(0),Fa(e,t,12),e.endBlock(),363!==n&&387!==n&&364!==n&&388!==n||(e.block(),e.local(c),a?e.i52_const(-1):e.i32_const(-1),e.appendU8(a?82:71),e.appendU8(13),e.appendULeb(0),e.local(i),e.appendU8(a?66:65),e.appendBoundaryValue(a?64:32,-1),e.appendU8(a?82:71),e.appendU8(13),e.appendULeb(0),Fa(e,t,13),e.endBlock());break}case 369:case 371:case 373:case 375:Hs(e,Is(t,2),r),e.local(i,34),Hs(e,Is(t,3),o),e.local(c,34),e.i32_const(n),e.callImport(371===n||375===n?"ckovr_u4":"ckovr_i4"),e.block(64,4),Fa(e,t,13),e.endBlock(),l=!0}return e.local("pLocals"),l?(e.local(i),e.local(c)):(Hs(e,Is(t,2),r),Hs(e,Is(t,3),o)),e.appendU8(s[0]),Ws(e,Is(t,1),a),!0}function ni(e,t,n){const r=ps[n];if(!r)return!1;const o=r[1],a=r[2];switch((n<479||n>514)&&e.local("pLocals"),n){case 435:case 437:Hs(e,Is(t,2),o),e.i32_const(1);break;case 439:e.i32_const(0),Hs(e,Is(t,2),o);break;case 443:Hs(e,Is(t,2),o),e.i32_const(-1);break;case 451:case 452:Hs(e,Is(t,2),o),41===o&&e.appendU8(167),e.i32_const(255);break;case 459:case 460:Hs(e,Is(t,2),o),41===o&&e.appendU8(167),e.i32_const(65535);break;case 447:case 448:Hs(e,Is(t,2),o),41===o&&e.appendU8(167),e.i32_const(24),e.appendU8(116),e.i32_const(24);break;case 455:case 456:Hs(e,Is(t,2),o),41===o&&e.appendU8(167),e.i32_const(16),e.appendU8(116),e.i32_const(16);break;case 436:case 438:Hs(e,Is(t,2),o),e.i52_const(1);break;case 440:e.i52_const(0),Hs(e,Is(t,2),o);break;case 444:Hs(e,Is(t,2),o),e.i52_const(-1);break;case 518:case 522:case 526:case 528:case 524:case 628:case 630:Hs(e,Is(t,2),o),e.i32_const(xs(t,3));break;case 519:case 523:case 527:case 529:case 525:case 629:case 631:Hs(e,Is(t,2),o),e.i52_const(xs(t,3));break;default:Hs(e,Is(t,2),o)}return 1!==r[0]&&e.appendU8(r[0]),Ws(e,Is(t,1),a),!0}function ri(e,t,n,r){const o=141===r?t+6:t+8,a=Ls(n,se(o-2));e.local("pLocals"),e.ptr_const(o),e.appendU8(54),e.appendMemarg(a,0),e.callHandlerReturnAddresses.push(o)}function oi(e,t,n,r,o){const a=r>=235&&r<=278;switch(r){case 140:case 141:case 136:case 137:{const a=140===r||141===r,s=t+2*(o=136===r||140===r?Ts(t,1):xs(t,1));return o<=0?e.backBranchOffsets.indexOf(s)>=0?(a&&ri(e,t,n,r),e.cfg.branch(s,!0,0),Ba.backBranchesEmitted++,!0):(s1&&ut(`${Ea(r)} target 0x${s.toString(16)} before start of trace`):e.cfg.trace>0&&ut(`0x${t.toString(16)} ${Ea(r)} target 0x${s.toString(16)} not found in list `+e.backBranchOffsets.map((e=>"0x"+e.toString(16))).join(", ")),St.mono_jiterp_boost_back_branch_target(s),Fa(e,s,5),Ba.backBranchesNotEmitted++,!0):(e.branchTargets.add(s),a&&ri(e,t,n,r),e.cfg.branch(s,!1,0),!0)}case 153:case 151:case 237:case 235:case 154:case 152:{const n=154===r||152===r;o=xs(t,2),Hs(e,Is(t,1),n?41:40),151===r||235===r?e.appendU8(69):152===r?e.appendU8(80):154===r&&(e.appendU8(80),e.appendU8(69));break}default:if(void 0===fs[r])throw new Error(`Unsupported relop branch opcode: ${Ea(r)}`);if(4!==St.mono_jiterp_get_opcode_info(r,1))throw new Error(`Unsupported long branch opcode: ${Ea(r)}`)}if(!o)throw new Error("Branch had no displacement");const s=t+2*o;return o<0?e.backBranchOffsets.indexOf(s)>=0?(e.cfg.branch(s,!0,a?3:1),Ba.backBranchesEmitted++):(s1&&ut(`${Ea(r)} target 0x${s.toString(16)} before start of trace`):e.cfg.trace>0&&ut(`0x${t.toString(16)} ${Ea(r)} target 0x${s.toString(16)} not found in list `+e.backBranchOffsets.map((e=>"0x"+e.toString(16))).join(", ")),St.mono_jiterp_boost_back_branch_target(s),e.block(64,4),Fa(e,s,5),e.endBlock(),Ba.backBranchesNotEmitted++):(e.branchTargets.add(s),e.cfg.branch(s,!1,a?3:1)),!0}function ai(e,t,n,r){const o=fs[r];if(!o)return!1;const a=Array.isArray(o)?o[0]:o,s=_s[a],i=ds[a];if(!s&&!i)return!1;const c=xs(t,3),l=s?s[1]:1===i?43:42;return Hs(e,Is(t,1),l),s||1===i||e.appendU8(i),Array.isArray(o)&&o[1]?(e.appendU8(o[1]),e.appendLeb(xs(t,2))):Hs(e,Is(t,2),l),s||1==i||e.appendU8(i),s?e.appendU8(s[0]):(e.i32_const(a),e.callImport("relop_fp")),oi(e,t,n,r,c)}function si(e,t,n){let r,o,a,s;const i=Is(t,1),c=Is(t,2),l=Is(t,3),u=ms[n];if(!u)return!1;if(r=u[0],o=u[1],"string"==typeof u[2]?a=u[2]:s=u[2],e.local("pLocals"),r){if(Hs(e,c,o?42:43),s)e.appendU8(s);else{if(!a)throw new Error("internal error");e.callImport(a)}return Ws(e,i,o?56:57),!0}if(Hs(e,c,o?42:43),Hs(e,l,o?42:43),s)e.appendU8(s);else{if(!a)throw new Error("internal error");e.callImport(a)}return Ws(e,i,o?56:57),!0}function ii(e,t,n){const r=n>=95&&n<=120,o=n>=115&&n<=120,a=n>=103&&n<=114||n>=128&&n<=135||o,s=n>=109&&n<=114||n>=132&&n<=135||o;let i,c,l=-1,u=0,p=1;o?(i=Is(t,1),c=Is(t,2),l=Is(t,3),u=xs(t,4),p=xs(t,5)):a?s?r?(i=Is(t,1),c=Is(t,2),u=xs(t,3)):(i=Is(t,2),c=Is(t,1),u=xs(t,3)):r?(i=Is(t,1),c=Is(t,2),l=Is(t,3)):(i=Is(t,3),c=Is(t,1),l=Is(t,2)):r?(c=Is(t,2),i=Is(t,1)):(c=Is(t,1),i=Is(t,2));let d,_=54;switch(n){case 95:case 103:case 109:case 115:d=44;break;case 96:case 104:case 110:case 116:d=45;break;case 97:case 105:case 111:case 117:d=46;break;case 98:case 106:case 112:case 118:d=47;break;case 121:case 128:case 132:d=40,_=58;break;case 122:case 129:case 133:d=40,_=59;break;case 99:case 107:case 113:case 119:case 123:case 130:case 134:case 127:d=40;break;case 101:case 125:d=42,_=56;break;case 102:case 126:d=43,_=57;break;case 100:case 108:case 114:case 120:case 124:case 131:case 135:d=41,_=55;break;default:return!1}return Xs(e,c,t,!1),r?(e.local("pLocals"),e.local("cknull_ptr"),o?(Hs(e,l,40),0!==u&&(e.i32_const(u),e.appendU8(106),u=0),1!==p&&(e.i32_const(p),e.appendU8(108)),e.appendU8(106)):a&&l>=0?(Hs(e,l,40),e.appendU8(106)):u<0&&(e.i32_const(u),e.appendU8(106),u=0),e.appendU8(d),e.appendMemarg(u,0),Ws(e,i,_)):127===n?(e.local("cknull_ptr"),Gs(e,i,0),e.callImport("copy_ptr")):(e.local("cknull_ptr"),a&&l>=0?(Hs(e,l,40),e.appendU8(106)):u<0&&(e.i32_const(u),e.appendU8(106),u=0),Hs(e,i,d),e.appendU8(_),e.appendMemarg(u,0)),!0}function ci(e,t,n,r,o){e.block(),Hs(e,r,40),e.local("index",34);let a="cknull_ptr";e.options.zeroPageOptimization&&ns()?(Ba.nullChecksFused++,Hs(e,n,40),a="src_ptr",e.local(a,34)):Xs(e,n,t,!0),e.appendU8(40),e.appendMemarg(Xa(9),2),e.appendU8(73),e.appendU8(13),e.appendULeb(0),Fa(e,t,9),e.endBlock(),e.local(a),e.i32_const(Xa(1)),e.appendU8(106),e.local("index"),1!=o&&(e.i32_const(o),e.appendU8(108)),e.appendU8(106)}function li(e,t,n,r){const o=r<=336&&r>=323||348===r,a=Is(n,o?2:1),s=Is(n,o?1:3),i=Is(n,o?3:2);let c,l,u=54;switch(r){case 348:return e.local("pLocals"),Xs(e,a,n,!0),e.appendU8(40),e.appendMemarg(Xa(9),2),Ws(e,s,54),!0;case 334:return e.local("pLocals"),l=Is(n,4),ci(e,n,a,i,l),Ws(e,s,54),!0;case 345:return e.block(),Hs(e,Is(n,1),40),Hs(e,Is(n,2),40),Hs(e,Is(n,3),40),e.callImport("stelem_ref"),e.appendU8(13),e.appendULeb(0),Fa(e,n,10),e.endBlock(),!0;case 332:case 328:case 327:case 341:l=4,c=40;break;case 323:l=1,c=44;break;case 324:l=1,c=45;break;case 338:case 337:l=1,c=40,u=58;break;case 325:l=2,c=46;break;case 326:l=2,c=47;break;case 340:case 339:l=2,c=40,u=59;break;case 330:case 343:l=4,c=42,u=56;break;case 329:case 342:l=8,c=41,u=55;break;case 331:case 344:l=8,c=43,u=57;break;case 333:{const t=Is(n,4);return e.local("pLocals"),e.i32_const(Is(n,1)),e.appendU8(106),ci(e,n,a,i,t),qa(e,t),Ps(Is(n,1),t),!0}case 346:{const r=Is(n,5),o=Rs(t,Is(n,4));return ci(e,n,a,i,r),Gs(e,s,0),e.ptr_const(o),e.callImport("value_copy"),!0}case 347:{const t=Is(n,5);return ci(e,n,a,i,t),Gs(e,s,0),qa(e,t),!0}default:return!1}return o?(e.local("pLocals"),ci(e,n,a,i,l),e.appendU8(c),e.appendMemarg(0,0),Ws(e,s,u)):(ci(e,n,a,i,l),Hs(e,s,c),e.appendU8(u),e.appendMemarg(0,0)),!0}function ui(){if(void 0!==Bs)return Bs;try{const e=function(){const e=new Aa(0);e.defineType("test",{},64,!0),e.defineFunction({type:"test",name:"test",export:!0,locals:{}},(()=>{e.i32_const(0),e.appendSimd(17),e.appendU8(26),e.appendU8(11)})),e.appendU32(1836278016),e.appendU32(1),e.generateTypeSection(),e.emitImportsAndFunctions(!1);const t=e.getArrayView();return new WebAssembly.Module(t)}();Bs=!!e}catch(e){ut("Disabling WASM SIMD support due to JIT failure",e),Bs=!1}return Bs}function pi(e,t,n){const r=`${t}_${n.toString(16)}`;return"object"!=typeof e.importedFunctions[r]&&e.defineImportedFunction("s",r,t,!1,n),r}function di(e,t,n,r,o,a){if(e.options.enableSimd&&ui())switch(o){case 2:if(function(e,t,n){const r=St.mono_jiterp_get_simd_opcode(1,n);if(r>=0)return ks.has(n)?(e.local("pLocals"),Hs(e,Is(t,2),40),e.appendSimd(r,!0),e.appendMemarg(0,0),_i(e,t)):(fi(e,t),e.appendSimd(r),_i(e,t)),!0;const o=Es[n];if(o)return fi(e,t),e.appendSimd(o),Ws(e,Is(t,1),54),!0;switch(n){case 6:case 7:case 8:case 9:{const r=Us[n];return e.local("pLocals"),e.v128_const(0),Hs(e,Is(t,2),r[0]),e.appendSimd(r[1]),e.appendU8(0),Ws(e,Is(t,1),253,11),!0}case 14:return fi(e,t,7),_i(e,t),!0;case 15:return fi(e,t,8),_i(e,t),!0;case 16:return fi(e,t,9),_i(e,t),!0;case 17:return fi(e,t,10),_i(e,t),!0;default:return!1}}(e,t,a))return!0;break;case 3:if(function(e,t,n){const r=St.mono_jiterp_get_simd_opcode(2,n);if(r>=0){const o=ys.has(n),a=ws[n];if(o)e.local("pLocals"),Hs(e,Is(t,2),253,0),Hs(e,Is(t,3),40),e.appendSimd(r),_i(e,t);else if(Array.isArray(a)){const n=Ns(e,Is(t,3)),o=a[0];if("number"!=typeof n)return dt(`${e.functions[0].name}: Non-constant lane index passed to ExtractScalar`),!1;if(n>=o||n<0)return dt(`${e.functions[0].name}: ExtractScalar index ${n} out of range (0 - ${o-1})`),!1;e.local("pLocals"),Hs(e,Is(t,2),253,0),e.appendSimd(r),e.appendU8(n),Ws(e,Is(t,1),a[1])}else mi(e,t),e.appendSimd(r),_i(e,t);return!0}switch(n){case 187:return Hs(e,Is(t,2),40),Hs(e,Is(t,3),253,0),e.appendSimd(11),e.appendMemarg(0,0),!0;case 10:case 11:return mi(e,t),e.appendSimd(214),e.appendSimd(195),11===n&&e.appendU8(69),Ws(e,Is(t,1),54),!0;case 12:case 13:{const r=13===n,o=r?71:65;return e.local("pLocals"),Hs(e,Is(t,2),253,0),e.local("math_lhs128",34),Hs(e,Is(t,3),253,0),e.local("math_rhs128",34),e.appendSimd(o),e.local("math_lhs128"),e.local("math_lhs128"),e.appendSimd(o),e.local("math_rhs128"),e.local("math_rhs128"),e.appendSimd(o),e.appendSimd(80),e.appendSimd(77),e.appendSimd(80),e.appendSimd(r?195:163),Ws(e,Is(t,1),54),!0}case 43:{const n=Is(t,3),r=Ns(e,n);return e.local("pLocals"),Hs(e,Is(t,2),253,0),"object"==typeof r?(e.appendSimd(12),e.appendBytes(r)):Hs(e,n,253,0),e.appendSimd(14),_i(e,t),!0}case 44:case 45:return function(e,t,n){const r=16/n,o=Is(t,3),a=Ns(e,o);if(2!==r&&4!==r&&w(!1,"Unsupported shuffle element size"),e.local("pLocals"),Hs(e,Is(t,2),253,0),"object"==typeof a){const t=new Uint8Array(Ti),o=2===r?new Uint16Array(a.buffer,a.byteOffset,n):new Uint32Array(a.buffer,a.byteOffset,n);for(let e=0,a=0;e=0){const o=Ss[n],a=vs[n];if(Array.isArray(o)){const n=o[0],a=Ns(e,Is(t,3));if("number"!=typeof a)return dt(`${e.functions[0].name}: Non-constant lane index passed to ReplaceScalar`),!1;if(a>=n||a<0)return dt(`${e.functions[0].name}: ReplaceScalar index ${a} out of range (0 - ${n-1})`),!1;e.local("pLocals"),Hs(e,Is(t,2),253,0),Hs(e,Is(t,4),o[1]),e.appendSimd(r),e.appendU8(a),_i(e,t)}else if(Array.isArray(a)){const n=a[0],o=Ns(e,Is(t,4));if("number"!=typeof o)return dt(`${e.functions[0].name}: Non-constant lane index passed to store method`),!1;if(o>=n||o<0)return dt(`${e.functions[0].name}: Store lane ${o} out of range (0 - ${n-1})`),!1;Hs(e,Is(t,2),40),Hs(e,Is(t,3),253,0),e.appendSimd(r),e.appendMemarg(0,0),e.appendU8(o)}else!function(e,t){e.local("pLocals"),Hs(e,Is(t,2),253,0),Hs(e,Is(t,3),253,0),Hs(e,Is(t,4),253,0)}(e,t),e.appendSimd(r),_i(e,t);return!0}switch(n){case 0:return e.local("pLocals"),Hs(e,Is(t,3),253,0),Hs(e,Is(t,4),253,0),Hs(e,Is(t,2),253,0),e.appendSimd(82),_i(e,t),!0;case 7:{const n=Ns(e,Is(t,4));if("object"!=typeof n)return dt(`${e.functions[0].name}: Non-constant indices passed to PackedSimd.Shuffle`),!1;for(let t=0;t<32;t++){const r=n[t];if(r<0||r>31)return dt(`${e.functions[0].name}: Shuffle lane index #${t} (${r}) out of range (0 - 31)`),!1}return e.local("pLocals"),Hs(e,Is(t,2),253,0),Hs(e,Is(t,3),253,0),e.appendSimd(13),e.appendBytes(n),_i(e,t),!0}default:return!1}}(e,t,a))return!0}switch(n){case 640:if(e.options.enableSimd&&ui()){e.local("pLocals");const n=Ee().slice(t+4,t+4+Ti);e.v128_const(n),_i(e,t),$s.set(Is(t,1),n)}else Gs(e,Is(t,1),Ti),e.ptr_const(t+4),qa(e,Ti);return!0;case 641:case 642:case 643:case 644:{const r=hs[n],o=Ti/r,a=Is(t,1),s=Is(t,2),i=bs[n],c=gs[n];for(let t=0;t0&&(Ri.push(["trace_eip","trace_eip",Oi]),Ri.push(["trace_args","trace_eip",Mi]));const e=(e,t)=>{for(let n=0;n>>0,bi.operand2=t>>>0}function Fi(e,t,n,r){if("number"==typeof r)St.mono_jiterp_adjust_abort_count(r,1),r=Ea(r);else{let e=Ui[r];"number"!=typeof e?e=1:e++,Ui[r]=e}Ii[e].abortReason=r}function Pi(e,t){if(!l.runtimeReady)return;if(gi&&void 0===e||(gi=is()),!gi.enableStats&&void 0!==e)return;const n=Ba.backBranchesEmitted/(Ba.backBranchesEmitted+Ba.backBranchesNotEmitted)*100,r=St.mono_jiterp_get_rejected_trace_count(),o=gi.eliminateNullChecks?Ba.nullChecksEliminated.toString():"off",a=gi.zeroPageOptimization?Ba.nullChecksFused.toString()+(ns()?"":" (disabled)"):"off",s=gi.enableBackwardBranches?`emitted: ${Ba.backBranchesEmitted}, failed: ${Ba.backBranchesNotEmitted} (${n.toFixed(1)}%)`:": off",i=Ba.jitCallsCompiled?gi.directJitCalls?`direct jit calls: ${Ba.directJitCallsCompiled} (${(Ba.directJitCallsCompiled/Ba.jitCallsCompiled*100).toFixed(1)}%)`:"direct jit calls: off":"";if(ut(`// jitted ${Ba.bytesGenerated} bytes; ${Ba.tracesCompiled} traces (${(Ba.tracesCompiled/Ba.traceCandidates*100).toFixed(1)}%) (${r} rejected); ${Ba.jitCallsCompiled} jit_calls; ${Ba.entryWrappersCompiled} interp_entries`),ut(`// cknulls eliminated: ${o}, fused: ${a}; back-branches ${s}; ${i}`),ut(`// time: ${0|Da.generation}ms generating, ${0|Da.compilation}ms compiling wasm.`),!t){if(gi.countBailouts){const e=Object.values(Ii);e.sort(((e,t)=>(t.bailoutCount||0)-(e.bailoutCount||0)));for(let e=0;et.hitCount-e.hitCount)),ut("// hottest failed traces:");for(let e=0,n=0;e=0)){if(t[e].abortReason){if(t[e].abortReason.startsWith("mono_icall_")||t[e].abortReason.startsWith("ret."))continue;switch(t[e].abortReason){case"trace-too-small":case"trace-too-big":case"call":case"callvirt.fast":case"calli.nat.fast":case"calli.nat":case"call.delegate":case"newobj":case"newobj_vt":case"newobj_slow":case"switch":case"rethrow":case"end-of-body":case"ret":case"intrins_marvin_block":case"intrins_ascii_chars_to_uppercase":continue}}n++,ut(`${t[e].name} @${t[e].ip} (${t[e].hitCount} hits) ${t[e].abortReason}`)}const n=[];for(const t in e)n.push([t,e[t]]);n.sort(((e,t)=>t[1]-e[1])),ut("// heat:");for(let e=0;e0?Ui[t]=n:delete Ui[t]}const e=Object.keys(Ui);e.sort(((e,t)=>Ui[t]-Ui[e]));for(let t=0;tPi(e)),15e3)}}let zi=!1;function Vi(){if(zi)throw new Error("GC is already locked");zi=!0}function Hi(){if(!zi)throw new Error("GC is not locked");zi=!1}async function Wi(e){const t=u.config.resources.lazyAssembly;if(!t)throw new Error("No assemblies have been marked as lazy-loadable. Use the 'BlazorWebAssemblyLazyLoad' item group in your project file to enable lazy loading an assembly.");if(!t[e])throw new Error(`${e} must be marked with 'BlazorWebAssemblyLazyLoad' item group in your project file to allow lazy-loading.`);const n={name:e,hash:t[e],behavior:"assembly"};if(u.loadedAssemblies.includes(e))return!1;const r=function(e,t){const n=e.lastIndexOf(".");if(n<0)throw new Error(`No extension to replace in '${e}'`);return e.substring(0,n)+".pdb"}(n.name),o=u.hasDebuggingEnabled(u.config)&&Object.prototype.hasOwnProperty.call(t,r),a=u.retrieve_asset_download(n);let s=null,i=null;if(o){const e=t[r]?u.retrieve_asset_download({name:r,hash:t[r],behavior:"pdb"}):Promise.resolve(null),[n,o]=await Promise.all([a,e]);s=new Uint8Array(n),i=o?new Uint8Array(o):null}else{const e=await a;s=new Uint8Array(e),i=null}return l.javaScriptExports.load_lazy_assembly(s,i),!0}async function Gi(e){const t=u.config.resources.satelliteResources;t&&await Promise.all(e.filter((e=>Object.prototype.hasOwnProperty.call(t,e))).map((e=>{const n=[];for(const r in t[e]){const o={name:r,hash:t[e][r],behavior:"resource",culture:e};n.push(u.retrieve_asset_download(o))}return n})).reduce(((e,t)=>e.concat(t)),new Array).map((async e=>{const t=await e;l.javaScriptExports.load_satellite_assembly(new Uint8Array(t))})))}const qi=64;let Ji,Yi,Xi,Zi=0;const Ki=[],Qi={};function ec(){return Yi||(Yi=[es("interp_entry_prologue",Za("mono_jiterp_interp_entry_prologue")),es("interp_entry",Za("mono_jiterp_interp_entry")),es("unbox",Za("mono_jiterp_object_unbox")),es("stackval_from_data",Za("mono_jiterp_stackval_from_data"))],Yi)}let tc;function nc(){if(Ki.length<=0)return;const e=4*Ki.length+1;let t=Ji;if(t?t.clear(e):(Ji=t=new Aa(e),t.defineType("unbox",{pMonoObject:127},127,!0),t.defineType("interp_entry_prologue",{pData:127,this_arg:127},127,!0),t.defineType("interp_entry",{pData:127,res:127},64,!0),t.defineType("stackval_from_data",{type:127,result:127,value:127},64,!0)),t.options.wasmBytesLimit<=Ba.bytesGenerated)return void(Ki.length=0);const n=Oa();let r=0,o=!0,a=!1;try{t.appendU32(1836278016),t.appendU32(1);for(let e=0;eyc[St.mono_jiterp_type_to_ldind(e)])),this.enableDirect=is().directJitCalls&&!this.noWrapper&&this.wasmNativeReturnType&&(0===this.wasmNativeSignature.length||this.wasmNativeSignature.every((e=>e))),this.enableDirect&&(this.target=this.addr);let i=this.target.toString(16);const c=uc++;this.name=`${this.enableDirect?"jcp":"jcw"}_${i}_${c.toString(16)}`}}function mc(e){let t=pc[e];return t||(e>=pc.length&&(pc.length=e+1),cc||(cc=za()),pc[e]=t=cc.get(e)),t}let hc;function bc(){if(void 0!==lc)return lc;try{hc=function(){const e=new Aa(0);e.defineType("jit_call_cb",{cb_data:127},64,!0),e.defineType("do_jit_call",{unused:127,cb_data:127,thrown:127},64,!0),e.defineImportedFunction("i","jit_call_cb","jit_call_cb",!0),e.defineFunction({type:"do_jit_call",name:"do_jit_call_indirect",export:!0,locals:{}},(()=>{e.block(64,6),e.local("cb_data"),e.callImport("jit_call_cb"),e.appendU8(25),e.local("thrown"),e.i32_const(1),e.appendU8(54),e.appendMemarg(0,0),e.endBlock(),e.appendU8(11)})),e.appendU32(1836278016),e.appendU32(1),e.generateTypeSection(),e.emitImportsAndFunctions(!1);const t=e.getArrayView();return new WebAssembly.Module(t)}(),lc=!0}catch(e){ut("Disabling WASM EH support due to JIT failure",e),lc=!1}return lc}function gc(){if(0===_c.length)return;let e=ic;if(e?e.clear(0):(ic=e=new Aa(0),e.defineType("trampoline",{ret_sp:127,sp:127,ftndesc:127,thrown:127},64,!0)),e.options.wasmBytesLimit<=Ba.bytesGenerated)return void(_c.length=0);e.options.enableWasmEh&&(bc()||(ss({enableWasmEh:!1}),e.options.enableWasmEh=!1));const t=Oa();let n=0,r=!0,o=!1;const a=[];try{cc||(cc=za()),e.appendU32(1836278016),e.appendU32(1);for(let t=0;t<_c.length;t++){const n=_c[t],r={};if(n.enableDirect){n.hasThisReference&&(r.this=127);for(let e=0;e0?t[0]:void 0}catch(t){throw new Error(`Get culture info failed for culture = ${e} with error: ${t}`)}}const Cc="MMMM",$c="yyyy",Nc="d";function Dc(e,t,n,r){let o=n;const a=t.indexOf(n);if(-1==a||-1!=a&&t.length>a+n.length&&" "!=t[a+n.length]&&","!=t[a+n.length]&&"،"!=t[a+n.length]){const a=r.format(e).toLowerCase();o=t.split(/,| /).filter((e=>!a.split(/,| /).includes(e)&&e[0]==n[0]))[0]}return o}async function Bc(e,t){try{const n=await Oc(e,t);return u.mono_exit(n),n}catch(e){try{u.mono_exit(1,e)}catch(e){}return e&&"number"==typeof e.status?e.status:1}}async function Oc(e,n){!function(e,n){const r=n.length+1,o=t._malloc(4*r);let a=0;t.setValue(o+4*a,St.mono_wasm_strdup(e),"i32"),a+=1;for(let e=0;e{const t=setInterval((()=>{1==l.waitForDebugger&&(clearInterval(t),e())}),100)})));const r=Mc(e);return l.javaScriptExports.call_entry_point(r,n)}function Mc(e){u.assert_runtime_running(),fr();const t=wr(e);if(!t)throw new Error("Could not find assembly: "+e);let n=0;1==l.waitForDebugger&&(n=1);const r=St.mono_wasm_assembly_get_entry_point(t,n);if(!r)throw new Error("Could not find entry point for assembly: "+e);return r}let Fc,Pc;const zc={},Vc=Symbol.for("wasm type");function Hc(e){return"undefined"!=typeof SharedArrayBuffer?e.buffer instanceof ArrayBuffer||e.buffer instanceof SharedArrayBuffer:e.buffer instanceof ArrayBuffer}function Wc(e,t,n){switch(!0){case null===t:case void 0===t:return void n.clear();case"symbol"==typeof t:case"string"==typeof t:return void ll._create_uri_ref(t,n.address);default:return void Jc(e,t,n)}}function Gc(e){il();const t=Be();try{return qc(e,t,!1),t.value}finally{t.release()}}function qc(e,t,n){if(il(),A(t))throw new Error("Expected (value, WasmRoot, boolean)");switch(!0){case null===e:case void 0===e:return void t.clear();case"number"==typeof e:{let n;return(0|e)===e?(X(zc._box_buffer,e),n=zc._class_int32):e>>>0===e?(G(zc._box_buffer,e),n=zc._class_uint32):(re(zc._box_buffer,e),n=zc._class_double),void kt.mono_wasm_box_primitive_ref(n,zc._box_buffer,8,t.address)}case"string"==typeof e:return void ot(e,t);case"symbol"==typeof e:return void at(e,t);case"boolean"==typeof e:return z(zc._box_buffer,e),void kt.mono_wasm_box_primitive_ref(zc._class_boolean,zc._box_buffer,4,t.address);case!0===Wr(e):return void function(e,t){if(!e)return t.clear(),null;const n=Dr(e),r=ll._create_tcs(),o={tcs_gc_handle:r};Or(o,r),e.then((e=>{ll._set_tcs_result_ref(r,e)}),(e=>{ll._set_tcs_failure(r,e?e.toString():"")})).finally((()=>{Br(n),Mr(o,r)})),ll._get_tcs_task_ref(r,t.address)}(e,t);case"Date"===e.constructor.name:return void ll._create_date_time_ref(e.getTime(),t.address);default:return void Jc(n,e,t)}}function Jc(e,t,n){if(n.clear(),null!=t)if(void 0===t[Lr]){if(t[Cr]&&(function(e,t,n){e!==x&&e!==I?ll._get_cs_owned_object_by_js_handle_ref(e,t?1:0,n):X(n,0)}(t[Cr],e,n.address),n.value||delete t[Cr]),!n.value){const r=t[Vc],o=void 0===r?0:r,a=Dr(t);ll._create_cs_owned_proxy_ref(a,o,e?1:0,n.address)}}else wl(Fr(t),n.address)}function Yc(e,n){if(!Hc(e)||!e.BYTES_PER_ELEMENT)throw new Error("Object '"+e+"' is not a typed array");{const r=e[Vc],o=function(e){il();const n=e.length*e.BYTES_PER_ELEMENT,r=t._malloc(n),o=Ee(),a=new Uint8Array(o.buffer,r,n);return a.set(new Uint8Array(e.buffer,e.byteOffset,n)),a}(e);kt.mono_wasm_typed_array_new_ref(o.byteOffset,e.length,e.BYTES_PER_ELEMENT,r,n.address),t._free(o.byteOffset)}}function Xc(e){const t=Be();try{return Yc(e,t),t.value}finally{t.release()}}function Zc(e){if("number"!=typeof e)throw new Error(`Expected numeric value for enum argument, got '${e}'`);return 0|e}const Kc=/[^A-Za-z0-9_$]/g,Qc=new Map,el=new Map,tl=new Map;function nl(e,t,n,r){let o=null,a=null,s=null;if(r){s=Object.keys(r),a=new Array(s.length);for(let e=0,t=s.length;e=512)throw new Error(`Got marshaling error ${t} when attempting to unbox object at address ${e.value} (root located at ${e.address})`);let r=v;if((4===t||7==t)&&(r=ie(n),r<1024))throw new Error(`Got invalid MonoType ${r} for object at address ${e.value} (root located at ${e.address})`);return function(e,t,n,r){switch(t){case 0:return null;case 26:case 27:throw new Error("int64 not available");case 3:case 29:return rt(e);case 4:throw new Error("no idea on how to unbox value types");case 5:return function(e){return e.value===S?null:function(e){let t=zr(e);if(t)Fr(t);else{t=function(...e){return Fr(t),(0,t[fl])(...e)};const n=Be();wl(e,n.address);try{if(void 0===t[fl]){const r=kt.mono_wasm_get_delegate_invoke_ref(n.address),o=rl(r,sl(r,n),!0);if(t[fl]=o.bind({this_arg_gc_handle:e}),!t[fl])throw new Error("System.Delegate Invoke method can not be resolved.")}}finally{n.release()}Or(t,e)}return t}(ll._get_js_owned_object_gc_handle_ref(e.address))}(e);case 6:return function(e){if(e.value===S)return null;if(!Hr)throw new Error("Promises are not supported thus 'System.Threading.Tasks.Task' can not work in this context.");const t=ll._get_js_owned_object_gc_handle_ref(e.address);let n=zr(t);if(!n){const r=()=>Mr(n,t),{promise:o,promise_control:a}=y(r,r);n=o,ll._setup_js_cont_ref(e.address,a),Or(n,t)}return n}(e);case 7:return function(e){if(e.value===S)return null;const t=ll._try_get_cs_owned_object_js_handle_ref(e.address,0);if(t){if(t===I)throw new Error("Cannot access a disposed JSObject at "+e.value);return Nr(t)}const n=ll._get_js_owned_object_gc_handle_ref(e.address);let r=zr(n);return A(r)&&(r=new ManagedObject,Or(r,n)),r}(e);case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:throw new Error("Marshaling of primitive arrays are not supported.");case 20:return new Date(ll._get_date_value_ref(e.address));case 21:case 22:return ll._object_to_string_ref(e.address);case 23:return function(e){return Nr(ll._get_cs_owned_object_js_handle_ref(e.address,0))}(e);case 30:return;default:throw new Error(`no idea on how to unbox object of MarshalType ${t} at offset ${e.value} (root address is ${e.address})`)}}(e,t)}function bl(e){if(0===e.value)return;const t=zc._unbox_buffer,n=kt.mono_wasm_try_unbox_primitive_and_get_type_ref(e.address,t,zc._unbox_buffer_size);switch(n){case 1:return _e(t);case 25:case 32:return ie(t);case 24:return be(t);case 2:return ge(t);case 8:return 0!==_e(t);case 28:return String.fromCharCode(_e(t));case 0:return null;default:return hl(e,n,t)}}function gl(e){if(il(),e===k)return null;const t=Be(e);try{return yl(t)}finally{t.release()}}function yl(e){if(e.value===k)return null;const t=e.address,n=Be(),r=n.address;try{const e=kt.mono_wasm_array_length_ref(t),a=new Array(e);for(let s=0;s0&&Array.isArray(e[0])&&(e[0]=function(e,t,n){const r=Be();kt.mono_wasm_string_array_new_ref(e.length,r.address);const o=Be(S),a=r.address,s=o.address;try{for(let t=0;tnew RegExp("^((?![0-9]).)*$").test(e)));return e&&0!=e.length?e.join(" "):""}return a}function xl(e){try{return new Intl.Locale(e).weekInfo}catch(t){try{return new Intl.Locale(e).getWeekInfo()}catch(e){return}}}const Tl=[function(e){Po&&(globalThis.clearTimeout(Po),Po=void 0),Po=t.safeSetTimeout(mono_wasm_schedule_timer_tick,e)},function(e,t,n,r,o){if(!0!==l.mono_wasm_runtime_is_ready)return;const a=Ee(),s=0!==e?Qe(e).concat(".dll"):"",i=It(new Uint8Array(a.buffer,t,n));let c;r&&(c=It(new Uint8Array(a.buffer,r,o))),zt({eventName:"AssemblyLoaded",assembly_name:s,assembly_b64:i,pdb_b64:c})},function(e,t){const r=Qe(t);n.logging&&"function"==typeof n.logging.debugger&&n.logging.debugger(e,r)},function(e,t,n,r){const o={res_ok:e,res:{id:t,value:It(new Uint8Array(Ee().buffer,n,r))}};Tt.has(t)&&pt(`Adding an id (${t}) that already exists in commands_received`),Tt.set(t,o)},function mono_wasm_fire_debugger_agent_message_with_data(e,t){mono_wasm_fire_debugger_agent_message_with_data_to_pause(It(new Uint8Array(Ee().buffer,e,t)))},mono_wasm_fire_debugger_agent_message_with_data_to_pause,function(){++Vo,t.safeSetTimeout(Go,0)},function(e,n,r,o,a,s,i){if(r||w(!1,"expected instruction pointer"),gi||(gi=is()),!gi.enableTraces)return 1;if(gi.wasmBytesLimit<=Ba.bytesGenerated)return 1;let c,u=Ii[r];if(u||(Ii[r]=u=new ki(r,o,i)),Ba.traceCandidates++,gi.estimateHeat||wi.length>0||u.isVerbose){const e=St.mono_wasm_method_get_full_name(n);c=Qe(e),t._free(e)}const p=Qe(St.mono_wasm_method_get_name(n));u.name=c||p;const d=ue(Xa(4)+e),_=ue(Xa(11)+d),f=ue(Xa(10)+d);let m=_?new Uint16Array(Ee().buffer,f,_):null;if(m&&r!==a){const e=(r-a)/2;let t=!1;for(let n=0;ne){t=!0;break}t||(m=null)}const h=function(e,t,n,r,o,a,s){let i=Ai;i?i.clear(8):(Ai=i=new Aa(8),function(e){e.defineType("trace",{frame:127,pLocals:127,cinfo:127},127,!0),e.defineType("bailout",{retval:127,base:127,reason:127},127,!0),e.defineType("copy_ptr",{dest:127,src:127},64,!0),e.defineType("value_copy",{dest:127,src:127,klass:127},64,!0),e.defineType("entry",{imethod:127},127,!0),e.defineType("strlen",{ppString:127,pResult:127},127,!0),e.defineType("getchr",{ppString:127,pIndex:127,pResult:127},127,!0),e.defineType("getspan",{destination:127,span:127,index:127,element_size:127},127,!0),e.defineType("overflow_check_i4",{lhs:127,rhs:127,opcode:127},127,!0),e.defineType("mathop_d_d",{value:124},124,!0),e.defineType("mathop_dd_d",{lhs:124,rhs:124},124,!0),e.defineType("mathop_f_f",{value:125},125,!0),e.defineType("mathop_ff_f",{lhs:125,rhs:125},125,!0),e.defineType("fmaf",{x:125,y:125,z:125},125,!0),e.defineType("fma",{x:124,y:124,z:124},124,!0),e.defineType("trace_eip",{traceId:127,eip:127},64,!0),e.defineType("newobj_i",{ppDestination:127,vtable:127},127,!0),e.defineType("newstr",{ppDestination:127,length:127},127,!0),e.defineType("localloc",{destination:127,len:127,frame:127},64,!0),e.defineType("ld_del_ptr",{ppDestination:127,ppSource:127},64,!0),e.defineType("ldtsflda",{ppDestination:127,offset:127},64,!0),e.defineType("gettype",{destination:127,source:127},127,!0),e.defineType("castv2",{destination:127,source:127,klass:127,opcode:127},127,!0),e.defineType("hasparent",{klass:127,parent:127},127,!0),e.defineType("imp_iface",{vtable:127,klass:127},127,!0),e.defineType("imp_iface_s",{obj:127,vtable:127,klass:127},127,!0),e.defineType("box",{vtable:127,destination:127,source:127,vt:127},64,!0),e.defineType("conv",{destination:127,source:127,opcode:127},127,!0),e.defineType("relop_fp",{lhs:124,rhs:124,opcode:127},127,!0),e.defineType("safepoint",{frame:127,ip:127},64,!0),e.defineType("hashcode",{ppObj:127},127,!0),e.defineType("try_hash",{ppObj:127},127,!0),e.defineType("hascsize",{ppObj:127},127,!0),e.defineType("hasflag",{klass:127,dest:127,sp1:127,sp2:127},64,!0),e.defineType("array_rank",{destination:127,source:127},127,!0),e.defineType("stfld_o",{locals:127,fieldOffsetBytes:127,targetLocalOffsetBytes:127,sourceLocalOffsetBytes:127},127,!0),e.defineType("notnull",{ptr:127,expected:127,traceIp:127,ip:127},64,!0),e.defineType("cmpxchg_i32",{dest:127,newVal:127,expected:127},127,!0),e.defineType("cmpxchg_i64",{dest:127,newVal:127,expected:127,oldVal:127},64,!0),e.defineType("transfer",{displacement:127,trace:127,frame:127,locals:127,cinfo:127},127,!0),e.defineType("stelem_ref",{o:127,aindex:127,ref:127},127,!0),e.defineType("simd_p_p",{arg0:127,arg1:127},64,!0),e.defineType("simd_p_pp",{arg0:127,arg1:127,arg2:127},64,!0),e.defineType("simd_p_ppp",{arg0:127,arg1:127,arg2:127,arg3:127},64,!0);const t=Bi();for(let n=0;na.indexOf(e)>=0))>=0;h&&!a&&w(!1,"Expected methodFullName if trace is instrumented");const b=h?Ei++:0;h&&(ut(`instrumenting: ${a}`),vi[b]=new Si(a)),i.compressImportNames=!h;try{i.appendU32(1836278016),i.appendU32(1),i.generateTypeSection();const t={disp:127,cknull_ptr:127,dest_ptr:127,src_ptr:127,memop_dest:127,memop_src:127,index:127,count:127,math_lhs32:127,math_rhs32:127,math_lhs64:126,math_rhs64:126,temp_f32:125,temp_f64:124,backbranched:127};i.options.enableSimd&&(t.v128_zero=123,t.math_lhs128=123,t.math_rhs128=123);let o=!0,a=0;if(i.defineFunction({type:"trace",name:u,export:!0,locals:t},(()=>{if(i.base=n,i.frame=e,662!==se(n))throw new Error(`Expected *ip to be MINT_TIER_PREPARE_JITERPRETER but was ${se(n)}`);return i.cfg.initialize(r,s,h?1:0),a=function(e,t,n,r,o,a,s,i){let c=!0,l=!1,u=!0,p=!1,d=!1,_=!1,f=0,m=0,h=0;const b=n;Ms();let g=n+=2*St.mono_jiterp_get_opcode_info(664,1);for(a.cfg.entry(n);n&&n;){if(a.cfg.ip=n,n>=o){Fi(b,0,0,"end-of-body"),s&&ut(`instrumented trace ${t} exited at end of body @${n.toString(16)}`);break}const y=3840-a.bytesGeneratedSoFar-a.cfg.overheadBytes;if(a.size>=y){Fi(b,0,0,"trace-too-big"),s&&ut(`instrumented trace ${t} exited because of size limit at @${n.toString(16)} (spaceLeft=${y}b)`);break}let S=se(n);const k=St.mono_jiterp_get_opcode_info(S,2),v=St.mono_jiterp_get_opcode_info(S,3),E=St.mono_jiterp_get_opcode_info(S,1),U=S>=645&&S<=647,I=U?S-645+2:0,x=U?Is(n,1+I):0;S>=0&&S<673||w(!1,`invalid opcode ${S}`);const T=U?cs[I][x]:Ea(S),j=n,A=a.options.noExitBackwardBranches&&Cs(n,r,i),R=a.branchTargets.has(n),L=A||R||c&&i,C=h+m+a.branchTargets.size;let $=!1,N=Qa(S);switch(A&&a.backBranchOffsets.push(n),L&&(d=!1,_=!1,zs(a,n,A),l=!0,u=!0,Ms(),h=0),N<-1&&l&&(N=-2===N?2:0),c=!1,279===S||(yi.indexOf(S)>=0?(Fa(a,n,23),S=666):d&&(S=666)),S){case 666:d&&(_||a.appendU8(0),_=!0);break;case 321:case 322:qs(a,Is(n,1),0,Is(n,2));break;case 320:Gs(a,Is(n,1)),Hs(a,Is(n,2),40),a.local("frame"),a.callImport("localloc");break;case 294:Hs(a,Is(n,1),40),Wa(a,0,Is(n,2));break;case 318:{const e=Is(n,3),t=Is(n,2),r=Is(n,1),o=Ns(a,e);0!==o&&("number"!=typeof o?(Hs(a,e,40),a.local("count",34),a.block(64,4)):(a.i32_const(o),a.local("count",33)),Hs(a,r,40),a.local("dest_ptr",34),a.appendU8(69),Hs(a,t,40),a.local("src_ptr",34),a.appendU8(69),a.appendU8(114),a.block(64,4),Fa(a,n,2),a.endBlock(),"number"==typeof o&&Ga(a,0,0,o,!1,"dest_ptr","src_ptr")||(a.local("dest_ptr"),a.local("src_ptr"),a.local("count"),a.appendU8(252),a.appendU8(10),a.appendU8(0),a.appendU8(0)),"number"!=typeof o&&a.endBlock());break}case 319:{const e=Is(n,3),t=Is(n,2);Xs(a,Is(n,1),n,!0),Hs(a,t,40),Hs(a,e,40),a.appendU8(252),a.appendU8(11),a.appendU8(0);break}case 151:case 153:case 235:case 237:case 152:case 154:case 137:case 140:case 141:oi(a,n,e,S)?l=!0:n=0;break;case 537:{const e=Is(n,2),t=Is(n,1);e!==t?(a.local("pLocals"),Xs(a,e,n,!0),Ws(a,t,54)):Xs(a,e,n,!1),a.allowNullCheckOptimization&&Ds.set(t,n),$=!0;break}case 626:case 627:{const t=ue(e+Xa(4));a.ptr_const(t),a.callImport("entry"),a.block(64,4),Fa(a,n,1),a.endBlock();break}case 664:if(N=0,f>=a.options.minimumTraceValue&&!a.options.noExitBackwardBranches&&(!l||u)){const e=js(n,1);a.ip_const(n),a.i32_const(e),a.local("frame"),a.local("pLocals"),a.local("cinfo"),a.callImport("transfer"),a.appendU8(15),n=0}break;case 146:Ma(a,n);break;case 94:{a.local("pLocals");const e=Is(n,2);Ys(a,e)||dt(`${t}: Expected local ${e} to have address taken flag`),Gs(a,e),Ws(a,Is(n,1),54);break}case 280:case 308:case 309:case 555:{a.local("pLocals");let t=Rs(e,Is(n,2));308===S&&(t=St.mono_jiterp_imethod_to_ftnptr(t)),a.ptr_const(t),Ws(a,Is(n,1),54);break}case 313:{const t=Rs(e,Is(n,3));Hs(a,Is(n,1),40),Hs(a,Is(n,2),40),a.ptr_const(t),a.callImport("value_copy");break}case 314:{const e=Is(n,3);Hs(a,Is(n,1),40),Hs(a,Is(n,2),40),qa(a,e);break}case 315:{const e=Is(n,3);Gs(a,Is(n,1),e),Xs(a,Is(n,2),n,!0),qa(a,e);break}case 316:{const t=Rs(e,Is(n,3));Hs(a,Is(n,1),40),Gs(a,Is(n,2),0),a.ptr_const(t),a.callImport("value_copy");break}case 317:{const e=Is(n,3);Hs(a,Is(n,1),40),Gs(a,Is(n,2),0),qa(a,e);break}case 539:a.local("pLocals"),Xs(a,Is(n,2),n,!0),a.appendU8(40),a.appendMemarg(Xa(2),2),Ws(a,Is(n,1),54);break;case 538:{a.block(),Hs(a,Is(n,3),40),a.local("index",34);let e="cknull_ptr";a.options.zeroPageOptimization&&ns()?(Ba.nullChecksFused++,Hs(a,Is(n,2),40),e="src_ptr",a.local(e,34)):Xs(a,Is(n,2),n,!0),a.appendU8(40),a.appendMemarg(Xa(2),2),a.appendU8(72),a.local("index"),a.i32_const(0),a.appendU8(78),a.appendU8(113),a.appendU8(13),a.appendULeb(0),Fa(a,n,11),a.endBlock(),a.local("pLocals"),a.local("index"),a.i32_const(2),a.appendU8(108),a.local(e),a.appendU8(106),a.appendU8(47),a.appendMemarg(Xa(3),1),Ws(a,Is(n,1),54);break}case 349:case 350:{const e=xs(n,4);a.block(),Hs(a,Is(n,3),40),a.local("index",34);let t="cknull_ptr";349===S?Xs(a,Is(n,2),n,!0):(Gs(a,Is(n,2),0),t="src_ptr",a.local(t,34)),a.appendU8(40),a.appendMemarg(Xa(7),2),a.appendU8(73),a.local("index"),a.i32_const(0),a.appendU8(78),a.appendU8(113),a.appendU8(13),a.appendULeb(0),Fa(a,n,18),a.endBlock(),a.local("pLocals"),a.local(t),a.appendU8(40),a.appendMemarg(Xa(8),2),a.local("index"),a.i32_const(e),a.appendU8(108),a.appendU8(106),Ws(a,Is(n,1),54);break}case 652:a.block(),Hs(a,Is(n,3),40),a.local("count",34),a.i32_const(0),a.appendU8(78),a.appendU8(13),a.appendULeb(0),Fa(a,n,18),a.endBlock(),Gs(a,Is(n,1),16),a.local("dest_ptr",34),Hs(a,Is(n,2),40),a.appendU8(54),a.appendMemarg(0,0),a.local("dest_ptr"),a.local("count"),a.appendU8(54),a.appendMemarg(4,0);break;case 567:Gs(a,Is(n,1),8),Gs(a,Is(n,2),8),a.callImport("ld_del_ptr");break;case 81:Gs(a,Is(n,1),4),a.ptr_const(Ts(n,2)),a.callImport("ldtsflda");break;case 651:a.block(),Gs(a,Is(n,1),4),Gs(a,Is(n,2),0),a.callImport("gettype"),a.appendU8(13),a.appendULeb(0),Fa(a,n,2),a.endBlock();break;case 648:{const t=Rs(e,Is(n,4));a.ptr_const(t),Gs(a,Is(n,1),4),Gs(a,Is(n,2),0),Gs(a,Is(n,3),0),a.callImport("hasflag");break}case 657:{const e=Xa(1);a.local("pLocals"),Xs(a,Is(n,2),n,!0),a.i32_const(e),a.appendU8(106),Ws(a,Is(n,1),54);break}case 649:a.local("pLocals"),Gs(a,Is(n,2),0),a.callImport("hashcode"),Ws(a,Is(n,1),54);break;case 650:a.local("pLocals"),Gs(a,Is(n,2),0),a.callImport("try_hash"),Ws(a,Is(n,1),54);break;case 653:a.local("pLocals"),Gs(a,Is(n,2),0),a.callImport("hascsize"),Ws(a,Is(n,1),54);break;case 658:a.local("pLocals"),Hs(a,Is(n,2),40),a.local("math_lhs32",34),Hs(a,Is(n,3),40),a.appendU8(115),a.i32_const(2),a.appendU8(116),a.local("math_rhs32",33),a.local("math_lhs32"),a.i32_const(327685),a.appendU8(106),a.i32_const(10485920),a.appendU8(114),a.i32_const(1703962),a.appendU8(106),a.i32_const(-8388737),a.appendU8(114),a.local("math_rhs32"),a.appendU8(113),a.appendU8(69),Ws(a,Is(n,1),54);break;case 540:case 541:a.block(),Gs(a,Is(n,1),4),Gs(a,Is(n,2),0),a.callImport(540===S?"array_rank":"a_elesize"),a.appendU8(13),a.appendULeb(0),Fa(a,n,2),a.endBlock();break;case 297:case 298:{const t=Rs(e,Is(n,3)),r=St.mono_jiterp_is_special_interface(t),o=297===S,s=Is(n,1);if(!t){Fi(b,0,0,"null-klass"),n=0;continue}a.block(),a.options.zeroPageOptimization&&ns()?(Hs(a,Is(n,2),40),a.local("dest_ptr",34),Ba.nullChecksFused++):(a.block(),Hs(a,Is(n,2),40),a.local("dest_ptr",34),a.appendU8(13),a.appendULeb(0),a.local("pLocals"),a.i32_const(0),Ws(a,s,54),a.appendU8(12),a.appendULeb(1),a.endBlock(),a.local("dest_ptr")),r&&a.local("dest_ptr"),a.appendU8(40),a.appendMemarg(Xa(14),0),a.ptr_const(t),a.callImport(r?"imp_iface_s":"imp_iface"),o&&(a.local("dest_ptr"),a.appendU8(69),a.appendU8(114)),a.block(64,4),a.local("pLocals"),a.local("dest_ptr"),Ws(a,s,54),a.appendU8(5),o?Fa(a,n,19):(a.local("pLocals"),a.i32_const(0),Ws(a,s,54)),a.endBlock(),a.endBlock();break}case 299:case 300:case 295:case 296:{const t=Rs(e,Is(n,3)),r=299===S||300===S,o=295===S||299===S,s=Is(n,1);if(!t){Fi(b,0,0,"null-klass"),n=0;continue}a.block(),a.options.zeroPageOptimization&&ns()?(Hs(a,Is(n,2),40),a.local("dest_ptr",34),Ba.nullChecksFused++):(a.block(),Hs(a,Is(n,2),40),a.local("dest_ptr",34),a.appendU8(13),a.appendULeb(0),a.local("pLocals"),a.i32_const(0),Ws(a,s,54),a.appendU8(12),a.appendULeb(1),a.endBlock(),a.local("dest_ptr")),a.appendU8(40),a.appendMemarg(Xa(14),0),a.appendU8(40),a.appendMemarg(Xa(15),0),r&&a.local("src_ptr",34),a.i32_const(t),a.appendU8(70),a.block(64,4),a.local("pLocals"),a.local("dest_ptr"),Ws(a,s,54),a.appendU8(5),r?(a.local("src_ptr"),a.ptr_const(t),a.callImport("hasparent"),o&&(a.local("dest_ptr"),a.appendU8(69),a.appendU8(114)),a.block(64,4),a.local("pLocals"),a.local("dest_ptr"),Ws(a,s,54),a.appendU8(5),o?Fa(a,n,19):(a.local("pLocals"),a.i32_const(0),Ws(a,s,54)),a.endBlock()):(Gs(a,Is(n,1),4),a.local("dest_ptr"),a.ptr_const(t),a.i32_const(S),a.callImport("castv2"),a.appendU8(69),a.block(64,4),Fa(a,n,19),a.endBlock()),a.endBlock(),a.endBlock();break}case 303:case 304:a.ptr_const(Rs(e,Is(n,3))),Gs(a,Is(n,1),4),Gs(a,Is(n,2),0),a.i32_const(304===S?1:0),a.callImport("box");break;case 307:{const t=Rs(e,Is(n,3)),r=Xa(17),o=Is(n,1),s=ue(t+r);if(!t||!s){Fi(b,0,0,"null-klass"),n=0;continue}a.options.zeroPageOptimization&&ns()?(Hs(a,Is(n,2),40),a.local("dest_ptr",34),Ba.nullChecksFused++):(Xs(a,Is(n,2),n,!0),a.local("dest_ptr",34)),a.appendU8(40),a.appendMemarg(Xa(14),0),a.appendU8(40),a.appendMemarg(Xa(15),0),a.local("src_ptr",34),a.appendU8(40),a.appendMemarg(r,0),a.i32_const(s),a.appendU8(70),a.local("src_ptr"),a.appendU8(45),a.appendMemarg(Xa(16),0),a.appendU8(69),a.appendU8(113),a.block(64,4),a.local("pLocals"),a.local("dest_ptr"),a.i32_const(Xa(18)),a.appendU8(106),Ws(a,o,54),a.appendU8(5),Fa(a,n,21),a.endBlock();break}case 302:a.block(),Gs(a,Is(n,1),4),Hs(a,Is(n,2),40),a.callImport("newstr"),a.appendU8(13),a.appendULeb(0),Fa(a,n,17),a.endBlock();break;case 291:a.block(),Gs(a,Is(n,1),4),a.ptr_const(Rs(e,Is(n,2))),a.callImport("newobj_i"),a.appendU8(13),a.appendULeb(0),Fa(a,n,17),a.endBlock();break;case 293:{const e=Is(n,3);Gs(a,Is(n,2),e),Wa(a,0,e),a.local("pLocals"),Gs(a,Is(n,2),e),Ws(a,Is(n,1),54);break}case 290:case 292:case 543:case 542:l?(Pa(a,n,C,15),d=!0,N=0):n=0;break;case 545:case 546:case 547:case 548:case 544:l?(Pa(a,n,C,544==S?22:15),d=!0):n=0;break;case 145:case 142:Fa(a,n,16),d=!0;break;case 138:case 139:Fa(a,n,26),d=!0;break;case 144:if(a.callHandlerReturnAddresses.length>0&&a.callHandlerReturnAddresses.length<=3){const t=Ls(e,Is(n,1));a.local("pLocals"),a.appendU8(40),a.appendMemarg(t,0),a.local("index",33);for(let e=0;e=3&&S<=12||S>=516&&S<=517?l||a.options.countBailouts?(Fa(a,n,14),d=!0):n=0:S>=13&&S<=29?Zs(a,n,S)?$=!0:n=0:S>=82&&S<=93?Ks(a,n,S)||(n=0):S>=351&&S<=434?ti(a,n,S)||(n=0):ps[S]?ni(a,n,S)||(n=0):fs[S]?ai(a,n,e,S)?l=!0:n=0:S>=31&&S<=57?Qs(a,e,n,S)||(n=0):S>=58&&S<=81?ei(a,e,n,S)||(n=0):S>=95&&S<=135?ii(a,n,S)||(n=0):S>=568&&S<=621?si(a,n,S)||(n=0):S>=323&&S<=348?li(a,e,n,S)||(n=0):S>=235&&S<=278?a.branchTargets.size>0?(Pa(a,n,C,8),d=!0):n=0:S>=640&&S<=647?di(a,n,S,T,I,x)?(p=!0,$=!0):n=0:0===N||(n=0)}if(n){if(!$){const e=n+2;for(let t=0;t0&&(e+=" -> ");for(let n=0;n0&&(l?h++:m++,f+=N),(n+=2*E)<=o&&(g=n)}else s&&ut(`instrumented trace ${t} aborted for opcode ${T} @${j.toString(16)}`),Fi(b,0,0,S)}for(;a.activeBlocks>0;)a.endBlock();return a.cfg.exitIp=g,p&&(f+=10240),f}(e,u,n,r,c,i,b,s),o=a>=gi.minimumTraceValue,i.cfg.generate()})),i.emitImportsAndFunctions(!1),!o)return m&&"end-of-body"===m.abortReason&&(m.abortReason="trace-too-small"),0;d=Oa();const p=i.getArrayView();if(Ba.bytesGenerated+=p.length,p.length>=4080)return pt(`Jiterpreter generated too much code (${p.length} bytes) for trace ${u}. Please report this issue.`),0;const f=new WebAssembly.Module(p),g=i.getWasmImports(),y=new WebAssembly.Instance(f,g).exports[u];_=!1,l.storeMemorySnapshotPending&&w(!1,"Attempting to set function into table during creation of memory snapshot");const S=Va(y);if(!S)throw new Error("add_function_pointer returned a 0 index");return i.options.enableStats&&Ba.tracesCompiled&&Ba.tracesCompiled%500==0&&Pi(!1,!0),S}catch(e){return f=!0,_=!1,dt(`${a||u} code generation failed: ${e} ${e.stack}`),Ja(),0}finally{const e=Oa();if(d?(Da.generation+=d-p,Da.compilation+=e-d):Da.generation+=e-p,f||!_&&gi.dumpTraces||h){if(f||gi.dumpTraces||h)for(let e=0;e0;)i.endBlock();i.inSection&&i.endSection()}catch(e){}const n=i.getArrayView();for(let r=0;r=4?nc():Zi>0||"function"==typeof globalThis.setTimeout&&(Zi=globalThis.setTimeout((()=>{Zi=0,nc()}),10))}},function(e,t,n,r,o,a,s,i,c){if(n>16)return 0;const l=new class{constructor(e,t,n,r,o,a,s,i,c){this.imethod=e,this.method=t,this.argumentCount=n,this.unbox=o,this.hasThisReference=a,this.hasReturnValue=s,this.name=i,this.paramTypes=new Array(n);for(let e=0;ee&&(l=l.substring(l.length-e,l.length)),l=`${this.imethod.toString(16)}_${l}`}else l=`${this.imethod.toString(16)}_${this.hasThisReference?"i":"s"}${this.hasReturnValue?"_r":""}_${this.argumentCount}`;this.traceName=l,this.hitCount=0}}(e,t,n,r,o,a,s,Qe(i),c);Xi||(Xi=za());const u=Xi.get(c);return l.result=Va(u),Qi[e]=l,l.result},function(e,t,n,r,o){const a=ue(n+0),s=dc[a];if(s)return void(s.result>0?St.mono_jiterp_register_jit_call_thunk(n,s.result):(s.queue.push(n),s.queue.length>12&&gc()));const i=new fc(e,t,n,r,0!==o);dc[a]=i,_c.push(i),_c.length>=6&&gc()},function(e,t,n,r,o){const a=mc(e);try{a(t,n,r,o)}catch(e){G(o,1)}},gc,function(e,n,r){l.storeMemorySnapshotPending&&w(!1,"Attempting to set function into table during creation of memory snapshot");const o=za().get(e),a=function(e,t,n){try{o(t)}catch(e){G(n,1)}};let s=!bc();if(!s)try{const e=new WebAssembly.Instance(hc,{i:{jit_call_cb:o},m:{h:t.getMemory()}}).exports.do_jit_call_indirect;if("function"!=typeof e)throw new Error("Did not find exported do_jit_call handler");const n=Va(e);St.mono_jiterp_update_jit_call_dispatcher(n),s=!1}catch(e){dt("failed to compile do_jit_call handler",e),s=!0}if(s)try{const e=t.addFunction(a,"viii");St.mono_jiterp_update_jit_call_dispatcher(e)}catch(e){St.mono_jiterp_update_jit_call_dispatcher(0)}a(0,n,r)},function(){l.enablePerfMeasure&&Xt.push(globalThis.performance.now())},function(e){if(l.enablePerfMeasure){const t=Xt.pop(),n=a?{start:t}:{startTime:t};let r=Zt.get(e);r||(r=Qe(vt.mono_wasm_method_get_name(e)),Zt.set(e,r)),globalThis.performance.measure(r,n)}},function(e,t,r,o,a){const s=Qe(r),i=!!o,c=Qe(e),l=a,u=Qe(t),p=`[MONO] ${s}`;if(n.logging&&"function"==typeof n.logging.trace)n.logging.trace(c,u,p,i,l);else switch(u){case"critical":case"error":console.error(ht(p));break;case"warning":console.warn(p);break;case"message":default:console.log(p);break;case"info":console.info(p);break;case"debug":console.debug(p)}},function(e,t){At=Qe(e).concat(".dll"),Rt=t,console.assert(!0,`Adding an entrypoint breakpoint ${At} at method token ${Rt}`);debugger},function(){},Br,function(e,r,o,a,s,i){fr();const c=De(e),l=De(r),u=De(i);try{const e=fn(o);1!==e&&w(!1,`Signature version ${e} mismatch.`);const t=rt(c),r=Jt(),i=rt(l);lt(`Binding [JSImport] ${t} from ${i} module`);const p=function(e,t){e&&"string"==typeof e||w(!1,"function_name must be string");let r={};const o=e.split(".");t?(r=ur.get(t),r||w(!1,`ES6 module ${t} was not imported yet, please call JSHost.ImportAsync() first.`)):"INTERNAL"===o[0]?(r=n,o.shift()):"globalThis"===o[0]&&(r=globalThis,o.shift());for(let t=0;t{e&&e.dispose()},m=!0):R.Task}const h=sn(o,1),b=cn(h);R.Task;const g=Yr(h,b,1),y={fn:p,fqn:i+":"+t,args_count:d,arg_marshalers:_,res_converter:g,has_cleanup:m,arg_cleanup:f,isDisposed:!1};let S;S=0!=d||g?1!=d||m||g?1==d&&!m&&g?function(e){const t=e.fn,n=e.arg_marshalers[0],r=e.res_converter,o=e.fqn;return e=null,function(a){const s=Jt();try{L&&e.isDisposed;const o=n(a),s=t(o);r(a,s)}catch(e){ho(a,e)}finally{Yt(s,"mono.callCsFunction:",o)}}}(y):2==d&&!m&&g?function(e){const t=e.fn,n=e.arg_marshalers[0],r=e.arg_marshalers[1],o=e.res_converter,a=e.fqn;return e=null,function(s){const i=Jt();try{L&&e.isDisposed;const a=n(s),i=r(s),c=t(a,i);o(s,c)}catch(e){ho(s,e)}finally{Yt(i,"mono.callCsFunction:",a)}}}(y):function(e){const t=e.args_count,n=e.arg_marshalers,r=e.res_converter,o=e.arg_cleanup,a=e.has_cleanup,s=e.fn,i=e.fqn;return e=null,function(c){const l=Jt();try{L&&e.isDisposed;const i=new Array(t);for(let e=0;e2?t:r,e)}else{u=1;const t=s[e].toUpperCase();W(l,n+2*e,(t.length>1?s[e]:t).charCodeAt(0))}else for(let e=0;e2?t:r,e)}else{u=1;const t=s[e].toLowerCase();W(l,n+2*e,(t.length>1?s[e]:t).charCodeAt(0))}}catch(e){dr(a,e,i)}finally{i.release()}},function(e,t,n,r,o,a,s,i){const c=De(e),l=De(i);try{const e=rt(c);if(!e)throw new Error("Cannot change case, the culture name is null.");const i=tt(t,t+2*n),u=a?i.toLocaleUpperCase(e):i.toLocaleLowerCase(e);if(u.length<=i.length)return nt(r,r+2*o,u),void _r(s,l);const p=Ue();let d=1;if(a)for(let t=0;t2?n:o,t)}else{d=1;const n=i[t].toLocaleUpperCase(e);W(p,r+2*t,(n.length>1?i[t]:n).charCodeAt(0))}else for(let t=0;t2?n:o,t)}else{d=1;const n=i[t].toLocaleLowerCase(e);W(p,r+2*t,(n.length>1?i[t]:n).charCodeAt(0))}_r(s,l)}catch(e){dr(s,e,l)}finally{c.release(),l.release()}},function(e,t,n,r,o,a,s,i){const c=De(e),l=De(i);try{const e=rt(c),i=et(t,t+2*n),u=et(r,r+2*o),p=31&a,d=e||void 0;return _r(s,l),Tc(i,u,d,p)}catch(e){return dr(s,e,l),-2}finally{c.release(),l.release()}},function(e,t,n,r,o,a,s,i){const c=De(e),l=De(i);try{const e=rt(c),i=jc(r,o);if(0==i.length)return 1;const u=jc(t,n);if(u.lengthe.segment));let h=0,b=!1,g=-1,y=0,w=0,S=0;for(;!b;){const e=f.segment(c.slice(h,c.length))[Symbol.iterator]();let t=e.next();if(t.done)break;let n=p(t.value.segment,m[0],d,_);if(w=S,t=e.next(),t.done){g=n?w:g;break}if(y=t.value.index,S=w+y,n){for(let r=1;r1&&e<15||22==e||23==e}(n))return{eraNames:"",abbreviatedEraNames:""};const r=e.toLocaleDateString(t,{year:"numeric"}),o=e.toLocaleDateString(t,{day:"numeric"}),a=e.toLocaleDateString(t,{era:"short"}),s=e.toLocaleDateString(t,{era:"narrow"}),i=a.includes(r)?l(r):l(e.getFullYear().toString());return{eraNames:c(i.eraDateParts,i.ignoredPart),abbreviatedEraNames:c(i.abbrEraDateParts,i.ignoredPart)};function c(e,n){const r=new RegExp(`^((?!${n}|[0-9]).)*$`),o=e.filter((e=>r.test(e)));if(0==o.length)throw new Error(`Internal error, era for locale ${t} was in non-standard format.`);return o[0].trim()}function l(e){return a.startsWith(e)||a.endsWith(e)?{eraDateParts:a.split(o),abbrEraDateParts:s.split(o),ignoredPart:e}:{eraDateParts:a.split(e),abbrEraDateParts:s.split(e),ignoredPart:o}}}(c,e,t);a.EraNames=p.eraNames,a.AbbreviatedEraNames=p.abbreviatedEraNames;const d=Object.values(a).join("##");if(d.length>r)throw new Error(`Calendar info exceeds length of ${r}.`);return nt(n,n+2*d.length,d),_r(o,i),d.length}catch(e){return dr(o,e,i),-1}finally{s.release(),i.release()}},function(e,t,n,r,o){const a=De(e),s=De(o);try{const e=rt(a),o={AmDesignator:"",PmDesignator:"",LongTimePattern:"",ShortTimePattern:""},i=Lc(e),c=function(e){const t=new Date("August 19, 1975 12:15:33"),n=new Date("August 19, 1975 11:15:33"),r=Il(t,e);return{am:Il(n,e),pm:r}}(i);o.AmDesignator=c.am,o.PmDesignator=c.pm,o.LongTimePattern=function(e,t){const n=18..toLocaleString(e),r=6..toLocaleString(e),o=new Date("August 19, 1975 18:15:30"),a=new Intl.DateTimeFormat(e,{timeStyle:"medium"}),s=a.format(o),i=o.toLocaleTimeString(e,{minute:"numeric"}),c=o.toLocaleTimeString(e,{second:"numeric"});let l=s.replace(t.pm,"tt").replace(i,"mm").replace(c,"ss");const u=l.includes(n),p=`${(0).toLocaleString(e)}${r}`,d=new Date("August 19, 1975 6:15:30"),_=a.format(d);let f;if(u)f=_.includes(p)?"HH":"H",l=l.replace(n,f);else{const e=_.includes(p);f=e?"hh":"h",l=l.replace(e?p:r,f)}return l}(i,c),o.ShortTimePattern=function(e){const t=e.indexOf("ss");if(t>0){const n=`${e[t-1]}ss`,r=e.replace(n,"");e=r.length>t&&"t"!=r[r.length-1]?e.split(n)[0]:r}return e}(o.LongTimePattern);const l=Object.values(o).join("##");if(l.length>n)throw new Error(`Culture info exceeds length of ${n}.`);return nt(t,t+2*l.length,l),_r(r,s),l.length}catch(e){return dr(r,e,s),-1}finally{a.release(),s.release()}},function(e,t,n){const r=De(e),o=De(n);try{return function(e){const t=xl(e);if(t)return 7==t.firstDay?0:t.firstDay;if(["en-AE","en-SD","fa-IR"].includes(e))return 6;const n=e.split("-")[0];return["zh","th","pt","mr","ml","ko","kn","ja","id","hi","he","gu","fil","bn","am","ar"].includes(n)||["ta-SG","ta-IN","sw-KE","ms-SG","fr-CA","es-MX","en-US","en-ZW","en-ZA","en-WS","en-VI","en-UM","en-TT","en-SG","en-PR","en-PK","en-PH","en-MT","en-MO","en-MH","en-KE","en-JM","en-IN","en-IL","en-HK","en-GU","en-DM","en-CA","en-BZ","en-BW","en-BS","en-AU","en-AS","en-AG"].includes(e)?0:1}(Lc(rt(r)))}catch(e){return dr(t,e,o),-1}finally{r.release(),o.release()}},function(e,t,n){const r=De(e),o=De(n);try{return function(e){const t=xl(e);if(t)return 7==t.minimalDays?1:t.minimalDays<4?0:2;const n=e.split("-")[0];return["pt-PT","fr-CH","fr-FR","fr-BE","es-ES","en-SE","en-NL","en-JE","en-IM","en-IE","en-GI","en-GG","en-GB","en-FJ","en-FI","en-DK","en-DE","en-CH","en-BE","en-AT","el-GR"].includes(e)||["sv","sk","ru","pl","nl","no","lt","it","hu","fi","et","de","da","cs","ca","bg"].includes(n)?2:0}(Lc(rt(r)))}catch(e){return dr(t,e,o),-1}finally{r.release(),o.release()}}],jl=[...Tl,function(e,t,n,r,o){il();const a=De(n),s=De(t),i=De(o);try{const t=rt(s);if(!t||"string"!=typeof t)return void dr(r,"ERR12: Invalid method name object @"+s.value,i);const n=function(e){return e!==x&&e!==I?Nr(e):null}(e);if(A(n))return void dr(r,"ERR13: Invalid JS object handle '"+e+"' while invoking '"+t+"'",i);const o=yl(a);try{const e=n[t];if(void 0===e)throw new Error("Method: '"+t+"' not found for: '"+Object.prototype.toString.call(n)+"'");qc(e.apply(n,o),i,!0),_r(r)}catch(e){dr(r,e,i)}}finally{a.release(),s.release(),i.release()}},function(e,t,n,r){il();const o=De(t),a=De(r);try{const t=rt(o);if(!t)return void dr(n,"Invalid property name object '"+o.value+"'",a);const r=Nr(e);if(A(r))return void dr(n,"ERR01: Invalid JS object handle '"+e+"' while geting '"+t+"'",a);qc(r[t],a,!0),_r(n)}catch(e){dr(n,e,a)}finally{a.release(),o.release()}},function(e,t,n,r,o,a,s){il();const i=De(n),c=De(t),l=De(s);try{const n=rt(c);if(!n)return void dr(a,"Invalid property name object '"+t+"'",l);const s=Nr(e);if(A(s))return void dr(a,"ERR02: Invalid JS object handle '"+e+"' while setting '"+n+"'",l);const u=bl(i);if(r)s[n]=u;else{if(!r&&!Object.prototype.hasOwnProperty.call(s,n))return;!0===o?Object.prototype.hasOwnProperty.call(s,n)&&(s[n]=u):s[n]=u}_r(a,l)}catch(e){dr(a,e,l)}finally{l.release(),c.release(),i.release()}},function(e,t,n,r){il();const o=De(r);try{const r=Nr(e);if(A(r))return void dr(n,"ERR03: Invalid JS object handle '"+e+"' while getting ["+t+"]",o);qc(r[t],o,!0),_r(n)}catch(e){dr(n,e,o)}finally{o.release()}},function(e,t,n,r,o){il();const a=De(n),s=De(o);try{const n=Nr(e);if(A(n))return void dr(r,"ERR04: Invalid JS object handle '"+e+"' while setting ["+t+"]",s);const o=bl(a);n[t]=o,_r(r,s)}catch(e){dr(r,e,s)}finally{s.release(),a.release()}},function(e,r,o){il();const a=De(e),s=De(o);try{const e=rt(a);let o;if(o=e?"Module"==e?t:"INTERNAL"==e?n:globalThis[e]:globalThis,null===o||void 0===typeof o)return void dr(r,"Global object '"+e+"' not found.",s);qc(o,s,!0),_r(r)}catch(e){dr(r,e,s)}finally{s.release(),a.release()}},function(e,t,n,r){const o=De(t),a=De(e),s=De(r);try{const e=rt(a);if(!e)return void dr(n,"Invalid name @"+a.value,s);const t=globalThis[e];if(null==t)return void dr(n,"JavaScript host object '"+e+"' not found.",s);try{const e=yl(o),r=function(e,t){let n=[];return n[0]=e,t&&(n=n.concat(t)),new(e.bind.apply(e,n))};qc(Dr(r(t,e)),s,!1),_r(n)}catch(e){return void dr(n,e,s)}}finally{s.release(),o.release(),a.release()}},function(e,t,n){const r=De(n);try{const n=Nr(e);if(A(n))return void dr(t,"ERR06: Invalid JS object handle '"+e+"'",r);Yc(n,r),_r(t)}catch(e){dr(t,String(e),r)}finally{r.release()}},function(e,t,n,r,o,a,s){const i=De(s);try{const s=function(e,t,n,r,o){let a=null;switch(o){case 5:a=new Int8Array(n-t);break;case 6:a=new Uint8Array(n-t);break;case 7:a=new Int16Array(n-t);break;case 8:a=new Uint16Array(n-t);break;case 9:a=new Int32Array(n-t);break;case 10:a=new Uint32Array(n-t);break;case 13:a=new Float32Array(n-t);break;case 14:a=new Float64Array(n-t);break;case 15:a=new Uint8ClampedArray(n-t);break;default:throw new Error("Unknown array type "+o)}return function(e,t,n,r,o){if(Hc(e)&&e.BYTES_PER_ELEMENT){if(o!==e.BYTES_PER_ELEMENT)throw new Error("Inconsistent element sizes: TypedArray.BYTES_PER_ELEMENT '"+e.BYTES_PER_ELEMENT+"' sizeof managed element: '"+o+"'");let a=(r-n)*o;const s=e.length*e.BYTES_PER_ELEMENT;a>s&&(a=s);const i=n*o;return new Uint8Array(e.buffer,0,a).set(Ee().subarray(t+i,t+i+a)),a}throw new Error("Object '"+e+"' is not a typed array")}(a,e,t,n,r),a}(e,t,n,r,o);qc(s,i,!0),_r(a)}catch(e){dr(a,String(e),i)}finally{i.release()}},function(e,t,n,r,o){try{il();const e=globalThis.Blazor;if(!e)throw new Error("The blazor.webassembly.js library is not loaded.");return e._internal.invokeJSFromDotNet(t,n,r,o)}catch(t){const n=t.message+"\n"+t.stack,r=Be();return ot(n,r),r.copy_to_address(e),r.release(),0}}];function Al(e){const t=e.env||e.a;if(!t)return void pt("WARNING: Neither imports.env or imports.a were present when instantiating the wasm module. This likely indicates an emscripten configuration issue.");const n=new Array(jl.length);for(const e in t){const r=t[e];if("function"==typeof r&&-1!==r.toString().indexOf("runtime_idx"))try{const{runtime_idx:t}=r();if(void 0!==n[t])throw new Error(`Duplicate runtime_idx ${t}`);n[t]=e}catch(e){}}for(const[e,r]of jl.entries()){const o=n[e];if(void 0!==o){const e=t[o];if("function"!=typeof e)throw new Error(`Expected ${o} to be a function`);t[o]=r,lt(`Replaced WASM import ${o} stub ${e.name} with ${r.name||"minified implementation"}`)}}}const Rl="https://dotnet.generated.invalid/wasm-memory";async function Ll(){if(void 0===globalThis.caches)return null;if(a&&!1===globalThis.window.isSecureContext)return null;const e=`dotnet-resources${document.baseURI.substring(document.location.origin.length)}`;try{return await globalThis.caches.open(e)||null}catch(e){return pt("Failed to open cache"),null}}async function Cl(){if(l.memorySnapshotCacheKey)return l.memorySnapshotCacheKey;if(!l.subtle)return null;const t=Object.assign({},l.config);t.resourcesHash=t.resources.hash,delete t.assets,delete t.resources,t.preferredIcuAsset=u.preferredIcuAsset,delete t.forwardConsoleLogsToWS,delete t.diagnosticTracing,delete t.appendElementOnExit,delete t.assertAfterExit,delete t.interopCleanupOnExit,delete t.logExitCode,delete t.pthreadPoolSize,delete t.asyncFlushOnExit,delete t.remoteSources,delete t.ignorePdbLoadErrors,delete t.maxParallelDownloads,delete t.enableDownloadRetry,delete t.exitAfterSnapshot,delete t.extensions,t.GitHash=u.gitHash,t.ProductVersion=e;const n=JSON.stringify(t),r=await l.subtle.digest("SHA-256",(new TextEncoder).encode(n)),o=new Uint8Array(r),a=Array.from(o).map((e=>e.toString(16).padStart(2,"0"))).join("");return l.memorySnapshotCacheKey=`${Rl}-${a}`,l.memorySnapshotCacheKey}async function $l(e){e.out||(e.out=console.log.bind(console)),e.err||(e.err=console.error.bind(console)),e.print||(e.print=e.out),e.printErr||(e.printErr=e.err),u.out=e.print,u.err=e.printErr,await Io(),await async function(){try{if(!l.config.startupMemoryCache)return;const e=await Cl();if(!e)return;const t=await Ll();if(!t)return;const n=await t.match(e),r=null==n?void 0:n.headers.get("content-length"),o=r?parseInt(r):void 0;l.loadedMemorySnapshotSize=o,l.storeMemorySnapshotPending=!o}catch(e){pt("Failed find memory snapshot in the cache",e)}finally{l.loadedMemorySnapshotSize||u.memorySnapshotSkippedOrDone.promise_control.resolve()}}()}function Nl(e){const n=Jt();e.locateFile||(e.locateFile=e.__locateFile=e=>u.scriptDirectory+e),e.mainScriptUrlOrBlob=u.scriptUrl;const h=e.instantiateWasm,b=e.preInit?"function"==typeof e.preInit?[e.preInit]:e.preInit:[],g=e.preRun?"function"==typeof e.preRun?[e.preRun]:e.preRun:[],y=e.postRun?"function"==typeof e.postRun?[e.postRun]:e.postRun:[],S=e.onRuntimeInitialized?e.onRuntimeInitialized:()=>{};e.instantiateWasm=(e,n)=>function(e,n,r){const o=Jt();if(r){const t=r(e,((e,t)=>{Yt(o,"mono.instantiateWasm"),l.afterInstantiateWasm.promise_control.resolve(),n(e,t)}));return t}return async function(e,n){var r;try{await u.afterConfigLoaded,lt("instantiate_wasm_module"),await l.beforePreInit.promise,t.addRunDependency("instantiate_wasm_module");const o=async function(){d&&(await u.simd()||w(!1,"This browser/engine doesn't support WASM SIMD. Please use a modern version. See also https://aka.ms/dotnet-wasm-features")),_&&(await u.exceptions()||w(!1,"This browser/engine doesn't support WASM exception handling. Please use a modern version. See also https://aka.ms/dotnet-wasm-features"))}();Al(e);const i=await u.wasmDownloadPromise.promise;if(await o,await async function(e,t,n){e&&e.pendingDownloadInternal&&e.pendingDownloadInternal.response||w(!1,"Can't load dotnet.native.wasm");const r=await e.pendingDownloadInternal.response,o=r.headers&&r.headers.get?r.headers.get("Content-Type"):void 0;let i,c;if("function"==typeof WebAssembly.instantiateStreaming&&"application/wasm"===o){lt("instantiate_wasm_module streaming");const e=await WebAssembly.instantiateStreaming(r,t);i=e.instance,c=e.module}else{a&&"application/wasm"!==o&&pt('WebAssembly resource does not have the expected content type "application/wasm", so falling back to slower ArrayBuffer instantiation.');const e=await r.arrayBuffer();if(lt("instantiate_wasm_module buffered"),s)c=new WebAssembly.Module(e),i=new WebAssembly.Instance(c,t);else{const n=await WebAssembly.instantiate(e,t);i=n.instance,c=n.module}}n(i,c)}(i,e,n),i.pendingDownloadInternal=null,i.pendingDownload=null,i.buffer=null,i.moduleExports=null,lt("instantiate_wasm_module done"),l.loadedMemorySnapshotSize){try{const e=(null===(r=t.asm)||void 0===r?void 0:r.memory)||t.wasmMemory;e.grow(l.loadedMemorySnapshotSize-e.buffer.byteLength+65535>>>16),l.updateMemoryViews()}catch(e){pt("failed to resize memory for the snapshot",e),l.loadedMemorySnapshotSize=void 0}u.memorySnapshotSkippedOrDone.promise_control.resolve()}l.afterInstantiateWasm.promise_control.resolve()}catch(e){throw dt("instantiate_wasm_module() failed",e),u.mono_exit(1,e),e}t.removeRunDependency("instantiate_wasm_module")}(e,n),[]}(e,n,h),e.preInit=[()=>function(e){t.addRunDependency("mono_pre_init");const n=Jt();try{Bl(!1),lt("preInit"),l.beforePreInit.promise_control.resolve(),e.forEach((e=>e()))}catch(e){throw dt("user preInint() failed",e),u.mono_exit(1,e),e}(async()=>{try{await async function(){lt("mono_wasm_pre_init_essential_async"),t.addRunDependency("mono_wasm_pre_init_essential_async"),t.removeRunDependency("mono_wasm_pre_init_essential_async")}(),Yt(n,"mono.preInit")}catch(e){throw u.mono_exit(1,e),e}l.afterPreInit.promise_control.resolve(),t.removeRunDependency("mono_pre_init")})()}(b)],e.preRun=[()=>async function(e){t.addRunDependency("mono_pre_run_async");try{await l.afterInstantiateWasm.promise,await l.afterPreInit.promise,lt("preRunAsync");const t=Jt();e.map((e=>e())),Yt(t,"mono.preRun")}catch(e){throw dt("user callback preRun() failed",e),u.mono_exit(1,e),e}l.afterPreRun.promise_control.resolve(),t.removeRunDependency("mono_pre_run_async")}(g)],e.onRuntimeInitialized=()=>async function(e){try{await l.afterPreRun.promise,lt("onRuntimeInitialized"),l.mono_wasm_exit=St.mono_wasm_exit,l.abort=e=>{throw u.is_exited()||St.mono_wasm_abort(),e};const n=Jt();if(l.beforeOnRuntimeInitialized.promise_control.resolve(),await async function(){await l.allAssetsInMemory.promise,l.config.assets&&(u.actual_downloaded_assets_count!=u.expected_downloaded_assets_count&&w(!1,`Expected ${u.expected_downloaded_assets_count} assets to be downloaded, but only finished ${u.actual_downloaded_assets_count}`),u.actual_instantiated_assets_count!=u.expected_instantiated_assets_count&&w(!1,`Expected ${u.expected_instantiated_assets_count} assets to be in memory, but only instantiated ${u.actual_instantiated_assets_count}`),u._loaded_files.forEach((e=>u.loadedFiles.push(e.url))),lt("all assets are loaded in wasm memory"))}(),L&&l.config.startupMemoryCache,await async function(){const e=Jt();if(l.loadedMemorySnapshotSize){const e=await async function(){try{const e=await Cl();if(!e)return;const t=await Ll();if(!t)return;const n=await t.match(e);if(!n)return;return n.arrayBuffer()}catch(e){return void pt("Failed load memory snapshot from the cache",e)}}(),t=Ee();return e.byteLength!==t.byteLength&&w(!1,"Loaded memory is not the expected size"),t.set(new Uint8Array(e),0),void lt("Loaded WASM linear memory from browser cache")}for(const e in l.config.environmentVariables){const t=l.config.environmentVariables[e];if("string"!=typeof t)throw new Error(`Expected environment variable '${e}' to be a string but it was ${typeof t}: '${t}'`);Ol(e,t)}l.config.startupMemoryCache&&St.mono_jiterp_update_jit_call_dispatcher(0),l.config.runtimeOptions&&function(e){if(!Array.isArray(e))throw new Error("Expected runtimeOptions to be an array of strings");const n=t._malloc(4*e.length);let r=0;for(let o=0;oaot; in your project file."),null==e&&(e={}),"writeAt"in e||(e.writeAt="System.Runtime.InteropServices.JavaScript.JavaScriptExports::StopProfile"),"sendTo"in e||(e.sendTo="Interop/Runtime::DumpAotProfileData");const t="aot:write-at-method="+e.writeAt+",send-to-method="+e.sendTo;vt.mono_wasm_profiler_init_aot(t)}(l.config.aotProfilerOptions),l.config.browserProfilerOptions&&(l.config.browserProfilerOptions,m||w(!1,"Browser profiler is not enabled, please use browser; in your project file."),vt.mono_wasm_profiler_init_browser("browser:")),Ml("unused",l.config.debugLevel),l.config.startupMemoryCache&&(St.mono_jiterp_update_jit_call_dispatcher(-1),await async function(e){try{const t=await Cl();if(!t)return;const n=await Ll();if(!n)return;const r=L?new Uint8Array(e).slice(0):e,o=new Response(r,{headers:{"content-type":"wasm-memory","content-length":e.byteLength.toString()}});await n.put(t,o),async function(e){try{const t=await Ll();if(!t)return;const n=await t.keys();for(const r of n)r.url&&r.url!==e&&r.url.startsWith(Rl)&&await t.delete(r)}catch(e){return}}(t)}catch(e){return void pt("Failed to store memory snapshot in the cache",e)}}(Ee().buffer),l.storeMemorySnapshotPending=!1),Yt(e,"mono.memorySnapshot")}(),l.config.exitAfterSnapshot){const e=l.ExitStatus?new l.ExitStatus(0):new Error("Snapshot taken, exiting because exitAfterSnapshot was set.");return e.silent=!0,void u.mono_exit(0,e)}L&&l.config.startupMemoryCache,function(){if(!l.mono_wasm_bindings_is_ready){lt("bindings_init"),l.mono_wasm_bindings_is_ready=!0;try{const e=Jt();Ve||("undefined"!=typeof TextDecoder&&(We=new TextDecoder("utf-16le"),Ge=new TextDecoder("utf-8",{fatal:!1}),qe=new TextDecoder("utf-8"),Je=new TextEncoder),Ve=t._malloc(12)),function(){const e="System.Runtime.InteropServices.JavaScript";if(l.runtime_interop_module=St.mono_wasm_assembly_load(e),!l.runtime_interop_module)throw"Can't find bindings module assembly: "+e;if(l.runtime_interop_namespace="System.Runtime.InteropServices.JavaScript",l.runtime_interop_exports_classname="JavaScriptExports",l.runtime_interop_exports_class=St.mono_wasm_assembly_find_class(l.runtime_interop_module,l.runtime_interop_namespace,l.runtime_interop_exports_classname),!l.runtime_interop_exports_class)throw"Can't find "+l.runtime_interop_namespace+"."+l.runtime_interop_exports_classname+" class";const n=xo("CallEntrypoint");n||w(!1,"Can't find CallEntrypoint method");const r=xo("ReleaseJSOwnedObjectByGCHandle");r||w(!1,"Can't find ReleaseJSOwnedObjectByGCHandle method");const o=xo("CreateTaskCallback");o||w(!1,"Can't find CreateTaskCallback method");const a=xo("CompleteTask");a||w(!1,"Can't find CompleteTask method");const s=xo("CallDelegate");s||w(!1,"Can't find CallDelegate method");const i=xo("GetManagedStackTrace");i||w(!1,"Can't find GetManagedStackTrace method");const c=xo("LoadSatelliteAssembly");c||w(!1,"Can't find LoadSatelliteAssembly method");const p=xo("LoadLazyAssembly");p||w(!1,"Can't find LoadLazyAssembly method"),l.javaScriptExports.call_entry_point=async(e,r)=>{u.assert_runtime_running();const o=t.stackSave();try{t.runtimeKeepalivePush();const o=on(4),a=an(o,1),s=an(o,2),i=an(o,3);so(s,e),r&&0==r.length&&(r=void 0),wo(i,r,R.String),kr(n,o);let c=Gn(a,0,Bn);return null==c&&(c=Promise.resolve(0)),c[$r]=!0,await c}finally{t.runtimeKeepalivePop(),t.stackRestore(o)}},l.javaScriptExports.load_satellite_assembly=e=>{const n=t.stackSave();try{const t=on(3),n=an(t,2);hn(n,R.Array),yo(n,e,R.Byte),kr(c,t)}finally{t.stackRestore(n)}},l.javaScriptExports.load_lazy_assembly=(e,n)=>{const r=t.stackSave();try{const t=on(4),r=an(t,2),o=an(t,3);hn(r,R.Array),hn(o,R.Array),yo(r,e,R.Byte),yo(o,n,R.Byte),kr(p,t)}finally{t.stackRestore(r)}},l.javaScriptExports.release_js_owned_object_by_gc_handle=e=>{e||w(!1,"Must be valid gc_handle"),u.assert_runtime_running();const n=t.stackSave();try{const t=on(3),n=an(t,2);hn(n,R.Object),Un(n,e),kr(r,t)}finally{t.stackRestore(n)}},l.javaScriptExports.create_task_callback=()=>{const e=t.stackSave();u.assert_runtime_running();try{const e=on(2);return kr(o,e),En(an(e,1))}finally{t.stackRestore(e)}},l.javaScriptExports.complete_task=(e,n,r,o)=>{u.assert_runtime_running();const s=t.stackSave();try{const t=on(5),s=an(t,2);hn(s,R.Object),Un(s,e);const i=an(t,3);if(n)ho(i,n);else{hn(i,R.None);const e=an(t,4);o||w(!1,"res_converter missing"),o(e,r)}kr(a,t)}finally{t.stackRestore(s)}},l.javaScriptExports.call_delegate=(e,n,r,o,a,i,c,l)=>{u.assert_runtime_running();const p=t.stackSave();try{const t=on(6),u=an(t,2);if(hn(u,R.Object),Un(u,e),i&&i(an(t,3),n),c&&c(an(t,4),r),l&&l(an(t,5),o),kr(s,t),a)return a(an(t,1))}finally{t.stackRestore(p)}},l.javaScriptExports.get_managed_stack_trace=e=>{u.assert_runtime_running();const n=t.stackSave();try{const t=on(3),n=an(t,2);return hn(n,R.Exception),Un(n,e),kr(i,t),qn(an(t,1))}finally{t.stackRestore(n)}}}(),p||i||function(){if(Object.prototype[Vc]=0,Array.prototype[Vc]=1,ArrayBuffer.prototype[Vc]=2,DataView.prototype[Vc]=3,Function.prototype[Vc]=4,Uint8Array.prototype[Vc]=11,zc._unbox_buffer_size=65536,zc._box_buffer=t._malloc(65536),zc._unbox_buffer=t._malloc(zc._unbox_buffer_size),zc._class_int32=Sr("System","Int32"),zc._class_uint32=Sr("System","UInt32"),zc._class_double=Sr("System","Double"),zc._class_boolean=Sr("System","Boolean"),zc._null_root=Be(),function(){const e=Qc;e.set("m",{steps:[{}],size:0}),e.set("s",{steps:[{convert_root:ot.bind(t)}],size:0,needs_root:!0}),e.set("S",{steps:[{convert_root:at.bind(t)}],size:0,needs_root:!0}),e.set("o",{steps:[{convert_root:qc.bind(t)}],size:0,needs_root:!0}),e.set("u",{steps:[{convert_root:Wc.bind(t,!1)}],size:0,needs_root:!0}),e.set("R",{steps:[{convert_root:qc.bind(t),byref:!0}],size:0,needs_root:!0}),e.set("j",{steps:[{convert:Zc.bind(t),indirect:"i32"}],size:8}),e.set("b",{steps:[{indirect:"bool"}],size:8}),e.set("i",{steps:[{indirect:"i32"}],size:8}),e.set("I",{steps:[{indirect:"u32"}],size:8}),e.set("l",{steps:[{indirect:"i52"}],size:8}),e.set("L",{steps:[{indirect:"u52"}],size:8}),e.set("f",{steps:[{indirect:"float"}],size:8}),e.set("d",{steps:[{indirect:"double"}],size:8})}(),zc.runtime_legacy_exports_classname="LegacyExports",zc.runtime_legacy_exports_class=St.mono_wasm_assembly_find_class(l.runtime_interop_module,l.runtime_interop_namespace,zc.runtime_legacy_exports_classname),!zc.runtime_legacy_exports_class)throw"Can't find "+l.runtime_interop_namespace+"."+zc.runtime_legacy_exports_classname+" class";for(const e of cl){const t=ll,[n,r,o,a]=e;if(n)t[r]=function(...e){const n=ul(o,a);return t[r]=n,n(...e)};else{const e=ul(o,a);t[r]=e}}}(),0==Kt.size&&(Kt.set(R.Array,Zn),Kt.set(R.Span,Qn),Kt.set(R.ArraySegment,er),Kt.set(R.Boolean,Cn),Kt.set(R.Byte,$n),Kt.set(R.Char,Nn),Kt.set(R.Int16,Dn),Kt.set(R.Int32,Bn),Kt.set(R.Int52,On),Kt.set(R.BigInt64,Mn),Kt.set(R.Single,Fn),Kt.set(R.IntPtr,zn),Kt.set(R.Double,Pn),Kt.set(R.String,qn),Kt.set(R.Exception,Jn),Kt.set(R.JSException,Jn),Kt.set(R.JSObject,Yn),Kt.set(R.Object,Xn),Kt.set(R.DateTime,Hn),Kt.set(R.DateTimeOffset,Hn),Kt.set(R.Task,Gn),Kt.set(R.Action,Wn),Kt.set(R.Function,Wn),Kt.set(R.None,Vn),Kt.set(R.Void,Vn),Kt.set(R.Discard,Vn)),0==Qt.size&&(Qt.set(R.Array,yo),Qt.set(R.Span,So),Qt.set(R.ArraySegment,ko),Qt.set(R.Boolean,Zr),Qt.set(R.Byte,Kr),Qt.set(R.Char,Qr),Qt.set(R.Int16,eo),Qt.set(R.Int32,to),Qt.set(R.Int52,no),Qt.set(R.BigInt64,ro),Qt.set(R.Double,oo),Qt.set(R.Single,ao),Qt.set(R.IntPtr,so),Qt.set(R.DateTime,io),Qt.set(R.DateTimeOffset,co),Qt.set(R.String,lo),Qt.set(R.Exception,ho),Qt.set(R.JSException,ho),Qt.set(R.JSObject,bo),Qt.set(R.Object,go),Qt.set(R.Task,mo),Qt.set(R.Action,_o),Qt.set(R.Function,_o),Qt.set(R.None,po),Qt.set(R.Discard,po),Qt.set(R.Void,po)),l._i52_error_scratch_buffer=t._malloc(4),Yt(e,"mono.bindingsInit")}catch(e){throw dt("Error in bindings_init",e),e}}}(),l.runtimeReady=!0,r&&!o&&t.runtimeKeepalivePush(),l.mono_wasm_runtime_is_ready||mono_wasm_runtime_ready(),0!==u.config.debugLevel&&u.config.cacheBootResources&&u.logDownloadStatsToConsole(),setTimeout((()=>{u.purgeUnusedCacheEntriesAsync()}),u.config.cachedResourcesPurgeDelay);try{e()}catch(e){throw dt("user callback onRuntimeInitialized() failed",e),e}await async function(){lt("mono_wasm_after_user_runtime_initialized");try{if(!t.disableDotnet6Compatibility&&t.exports){const e=globalThis;for(let n=0;nasync function(e){try{await l.afterOnRuntimeInitialized.promise,lt("postRunAsync");const n=Jt();t.FS_createPath("/","usr",!0,!0),t.FS_createPath("/","usr/share",!0,!0),e.map((e=>e())),Yt(n,"mono.postRun")}catch(e){throw dt("user callback posRun() failed",e),u.mono_exit(1,e),e}l.afterPostRun.promise_control.resolve()}(y)],e.ready.then((async()=>{await l.afterPostRun.promise,Yt(n,"mono.emscriptenStartup"),l.dotnetReady.promise_control.resolve(c)})).catch((e=>{l.dotnetReady.promise_control.reject(e)})),e.ready=l.dotnetReady.promise,e.onAbort||(e.onAbort=e=>{u.mono_exit(1,e)}),e.onExit||(e.onExit=e=>{u.mono_exit(e,null)})}async function Dl(e,n){await u.afterConfigLoaded.promise,Al(e),n(new WebAssembly.Instance(t.wasmModule,e),void 0),t.wasmModule=null}function Bl(e){var r,o,a;e||t.addRunDependency("mono_wasm_pre_init_essential"),lt("mono_wasm_pre_init_essential"),u.gitHash!==l.gitHash&&pt("The version of dotnet.runtime.js is different from the version of dotnet.js!"),u.gitHash!==l.moduleGitHash&&pt("The version of dotnet.native.js is different from the version of dotnet.js!"),function(){const e=[...yt,...p?[]:gt];for(const t of e){const e=wt,[n,r,o,a,s]=t,i="function"==typeof n;if(!0===n||i)e[r]=function(...t){!i||!n()||w(!1,`cwrap ${r} should not be called when binding was skipped`);const c=Ut(r,o,a,s);return e[r]=c,c(...t)};else{const t=Ut(r,o,a,s);e[r]=t}}}(),r=n,Object.assign(r,{mono_wasm_exit:St.mono_wasm_exit,mono_wasm_enable_on_demand_gc:St.mono_wasm_enable_on_demand_gc,mono_wasm_profiler_init_aot:vt.mono_wasm_profiler_init_aot,mono_wasm_profiler_init_browser:vt.mono_wasm_profiler_init_browser,mono_wasm_exec_regression:St.mono_wasm_exec_regression}),p||(a=Fc,Object.assign(a,{mono_wasm_add_assembly:kt.mono_wasm_add_assembly}),o=Pc,Object.assign(o,{mono_obj_array_new:kt.mono_wasm_obj_array_new,mono_obj_array_set:kt.mono_wasm_obj_array_set,mono_obj_array_new_ref:kt.mono_wasm_obj_array_new_ref,mono_obj_array_set_ref:kt.mono_wasm_obj_array_set_ref})),e||t.removeRunDependency("mono_wasm_pre_init_essential")}function Ol(e,t){St.mono_wasm_setenv(e,t)}function Ml(e,t){lt("mono_wasm_load_runtime");try{const n=Jt();null==t&&(t=0,l.config.debugLevel&&(t=0+t)),St.mono_wasm_load_runtime(e||"unused",t),Yt(n,"mono.loadRuntime")}catch(e){throw dt("mono_wasm_load_runtime () failed",e),u.mono_exit(1,e),e}}async function Fl(e){tr=null,null.addEventListener("dotnet:pthread:created",(e=>{lt("pthread created 0x"+e.pthread_self.pthreadId.toString(16))})),e.preInit=[()=>async function(){lt("worker initializing essential C exports and APIs");const e=Jt();try{lt("preInitWorker"),l.beforePreInit.promise_control.resolve(),Bl(!0),await Io(),l.afterPreInit.promise_control.resolve(),Yt(e,"mono.preInitWorker")}catch(e){throw dt("user preInitWorker() failed",e),u.mono_exit(1,e),e}}()],e.instantiateWasm=Dl,await l.afterPreInit.promise}function Pl(n){const r=t,o=n,a=globalThis;p||function(e){Fc=e.mono,Pc=e.binding}(o),p||(Object.assign(o.mono,{mono_wasm_setenv:Ol,mono_wasm_load_bytes_into_heap:ye,mono_wasm_load_icu_data:ya,mono_wasm_runtime_ready:mono_wasm_runtime_ready,mono_wasm_new_root_buffer:Ne,mono_wasm_new_root:Be,mono_wasm_new_external_root:De,mono_wasm_release_roots:Oe,mono_run_main:Oc,mono_run_main_and_exit:Bc,mono_wasm_add_assembly:null,mono_wasm_load_runtime:Ml,config:l.config,loaded_files:[],setB32:z,setI8:J,setI16:Y,setI32:Z,setI52:Q,setU52:ee,setI64Big:te,setU8:V,setU16:H,setU32:q,setF32:ne,setF64:re,getB32:oe,getI8:pe,getI16:de,getI32:_e,getI52:fe,getU52:me,getI64Big:he,getU8:ae,getU16:se,getU32:ie,getF32:be,getF64:ge}),Object.assign(o.binding,{bind_static_method:El,call_assembly_entry_point:Ul,mono_obj_array_new:null,mono_obj_array_set:null,js_string_to_mono_string:dl,js_typed_array_to_array:Xc,mono_array_to_js_array:gl,js_to_mono_obj:Gc,conv_string:Sl,unbox_mono_obj:ml,mono_obj_array_new_ref:null,mono_obj_array_set_ref:null,js_string_to_mono_string_root:ot,js_typed_array_to_array_root:Yc,js_to_mono_obj_root:qc,conv_string_root:rt,unbox_mono_obj_root:bl,mono_array_root_to_js_array:yl}),Object.assign(o.internal,{stringToMonoStringIntern:_l,mono_method_resolve:al})),Object.assign(o.internal,{mono_wasm_exit:e=>{t.err("early exit "+e)},forceDisposeProxies:Vr,logging:void 0,mono_wasm_stringify_as_error_with_stack:ht,mono_wasm_get_loaded_files:ka,mono_wasm_send_dbg_command_with_parms:Dt,mono_wasm_send_dbg_command:Bt,mono_wasm_get_dbg_command_info:Ot,mono_wasm_get_details:Wt,mono_wasm_release_object:qt,mono_wasm_call_function_on:Ht,mono_wasm_debugger_resume:Mt,mono_wasm_detach_debugger:Ft,mono_wasm_raise_debug_event:zt,mono_wasm_change_debugger_log_level:Pt,mono_wasm_debugger_attached:Vt,mono_wasm_runtime_is_ready:l.mono_wasm_runtime_is_ready,mono_wasm_get_func_id_to_name_mappings:bt,get_property:ar,set_property:or,has_property:sr,get_typeof_property:ir,get_global_this:cr,get_dotnet_instance:()=>c,dynamic_import:pr,mono_wasm_cancel_promise:qr,ws_wasm_create:pa,ws_wasm_open:da,ws_wasm_send:_a,ws_wasm_receive:fa,ws_wasm_close:ma,ws_wasm_abort:ha,ws_get_state:ua,http_wasm_supports_streaming_response:jo,http_wasm_create_abort_controler:Ao,http_wasm_abort_request:Ro,http_wasm_abort_response:Lo,http_wasm_fetch:$o,http_wasm_fetch_bytes:Co,http_wasm_get_response_header_names:Do,http_wasm_get_response_header_values:Bo,http_wasm_get_response_bytes:Mo,http_wasm_get_response_length:Oo,http_wasm_get_streamed_response_bytes:Fo,jiterpreter_dump_stats:Pi,jiterpreter_apply_options:ss,jiterpreter_get_options:is,mono_wasm_gc_lock:Vi,mono_wasm_gc_unlock:Hi,loadLazyAssembly:Wi,loadSatelliteAssemblies:Gi}),Object.assign(l,{stringify_as_error_with_stack:ht,instantiate_symbols_asset:Sa,instantiate_asset:wa,jiterpreter_dump_stats:Pi,forceDisposeProxies:Vr});const s={runMain:Oc,runMainAndExit:Bc,setEnvironmentVariable:Ol,getAssemblyExports:Er,setModuleImports:rr,getConfig:()=>l.config,invokeLibraryInitializers:u.invokeLibraryInitializers,setHeapB32:z,setHeapU8:V,setHeapU16:H,setHeapU32:q,setHeapI8:J,setHeapI16:Y,setHeapI32:Z,setHeapI52:Q,setHeapU52:ee,setHeapI64Big:te,setHeapF32:ne,setHeapF64:re,getHeapB32:oe,getHeapU8:ae,getHeapU16:se,getHeapU32:ie,getHeapI8:pe,getHeapI16:de,getHeapI32:_e,getHeapI52:fe,getHeapU52:me,getHeapI64Big:he,getHeapF32:be,getHeapF64:ge,localHeapViewU8:Ee,localHeapViewU16:Ue,localHeapViewU32:Ie,localHeapViewI8:we,localHeapViewI16:Se,localHeapViewI32:ke,localHeapViewI64Big:ve,localHeapViewF32:xe,localHeapViewF64:Te};if(Object.assign(c,{INTERNAL:o.internal,Module:r,runtimeBuildInfo:{productVersion:e,gitHash:l.gitHash,buildConfiguration:"Release"},...s}),p||Object.assign(c,{MONO:o.mono,BINDING:o.binding}),void 0===r.disableDotnet6Compatibility&&(r.disableDotnet6Compatibility=!0),!r.disableDotnet6Compatibility){Object.assign(r,c),p||(r.mono_bind_static_method=(e,t)=>(pt("Module.mono_bind_static_method is obsolete, please use [JSExportAttribute] interop instead"),El(e,t)));const e=(e,t)=>{if(void 0!==a[e])return;let n;Object.defineProperty(globalThis,e,{get:()=>{if(A(n)){const r=(new Error).stack,o=r?r.substr(r.indexOf("\n",8)+1):"";pt(`global ${e} is obsolete, please use Module.${e} instead ${o}`),n=t()}return n}})};a.MONO=o.mono,a.BINDING=o.binding,a.INTERNAL=o.internal,a.Module=r,e("cwrap",(()=>r.cwrap)),e("addRunDependency",(()=>r.addRunDependency)),e("removeRunDependency",(()=>r.removeRunDependency))}let i;return a.getDotnetRuntime?i=a.getDotnetRuntime.__list:(a.getDotnetRuntime=e=>a.getDotnetRuntime.__list.getRuntime(e),a.getDotnetRuntime.__list=i=new zl),i.registerRuntime(c),c}class zl{constructor(){this.list={}}registerRuntime(e){return e.runtimeId=Object.keys(this.list).length,this.list[e.runtimeId]=hr(e),e.runtimeId}getRuntime(e){const t=this.list[e];return t?t.deref():void 0}}export{Nl as configureEmscriptenStartup,$l as configureRuntimeStartup,Fl as configureWorkerStartup,Pl as initializeExports,Uo as initializeReplacements,b as passEmscriptenInternals,g as setRuntimeGlobals}; +//# sourceMappingURL=dotnet.runtime.js.map diff --git a/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.br b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.br new file mode 100644 index 00000000..a124aa8a Binary files /dev/null and b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.br differ diff --git a/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.gz b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.gz new file mode 100644 index 00000000..7ed1f280 Binary files /dev/null and b/docs/VNext/_framework/dotnet.runtime.8.0.7.7eo3kimvgq.js.gz differ diff --git a/docs/VNext/_framework/icudt_CJK.dat b/docs/VNext/_framework/icudt_CJK.dat new file mode 100644 index 00000000..118a60d5 Binary files /dev/null and b/docs/VNext/_framework/icudt_CJK.dat differ diff --git a/docs/VNext/_framework/icudt_CJK.dat.br b/docs/VNext/_framework/icudt_CJK.dat.br new file mode 100644 index 00000000..8c765172 Binary files /dev/null and b/docs/VNext/_framework/icudt_CJK.dat.br differ diff --git a/docs/VNext/_framework/icudt_CJK.dat.gz b/docs/VNext/_framework/icudt_CJK.dat.gz new file mode 100644 index 00000000..97a8d5a6 Binary files /dev/null and b/docs/VNext/_framework/icudt_CJK.dat.gz differ diff --git a/docs/VNext/_framework/icudt_EFIGS.dat b/docs/VNext/_framework/icudt_EFIGS.dat new file mode 100644 index 00000000..e4c1c910 Binary files /dev/null and b/docs/VNext/_framework/icudt_EFIGS.dat differ diff --git a/docs/VNext/_framework/icudt_EFIGS.dat.br b/docs/VNext/_framework/icudt_EFIGS.dat.br new file mode 100644 index 00000000..d8755b47 Binary files /dev/null and b/docs/VNext/_framework/icudt_EFIGS.dat.br differ diff --git a/docs/VNext/_framework/icudt_EFIGS.dat.gz b/docs/VNext/_framework/icudt_EFIGS.dat.gz new file mode 100644 index 00000000..2ee26421 Binary files /dev/null and b/docs/VNext/_framework/icudt_EFIGS.dat.gz differ diff --git a/docs/VNext/_framework/icudt_no_CJK.dat b/docs/VNext/_framework/icudt_no_CJK.dat new file mode 100644 index 00000000..87b08e08 Binary files /dev/null and b/docs/VNext/_framework/icudt_no_CJK.dat differ diff --git a/docs/VNext/_framework/icudt_no_CJK.dat.br b/docs/VNext/_framework/icudt_no_CJK.dat.br new file mode 100644 index 00000000..3acc4ee2 Binary files /dev/null and b/docs/VNext/_framework/icudt_no_CJK.dat.br differ diff --git a/docs/VNext/_framework/icudt_no_CJK.dat.gz b/docs/VNext/_framework/icudt_no_CJK.dat.gz new file mode 100644 index 00000000..4c6dd461 Binary files /dev/null and b/docs/VNext/_framework/icudt_no_CJK.dat.gz differ diff --git a/docs/VNext/_framework/netstandard.wasm b/docs/VNext/_framework/netstandard.wasm new file mode 100644 index 00000000..337d150c Binary files /dev/null and b/docs/VNext/_framework/netstandard.wasm differ diff --git a/docs/VNext/_framework/netstandard.wasm.br b/docs/VNext/_framework/netstandard.wasm.br new file mode 100644 index 00000000..be0a5c1c Binary files /dev/null and b/docs/VNext/_framework/netstandard.wasm.br differ diff --git a/docs/VNext/_framework/netstandard.wasm.gz b/docs/VNext/_framework/netstandard.wasm.gz new file mode 100644 index 00000000..0c034ed7 Binary files /dev/null and b/docs/VNext/_framework/netstandard.wasm.gz differ diff --git a/docs/VNext/css/docs.css b/docs/VNext/css/docs.css index b0e59d05..a17a3e33 100644 --- a/docs/VNext/css/docs.css +++ b/docs/VNext/css/docs.css @@ -819,7 +819,7 @@ text#svg-text { } .bd-content > ul li, .bd-content > ol li { - margin-bottom: .25rem + margin-bottom: 0; } .bd-content > ul li > p ~ ul, .bd-content > ol li > p ~ ul { @@ -1187,7 +1187,10 @@ text#svg-text { padding: 1rem; margin: 1rem -.75rem 0; border: solid #dee2e6; - border-width: 1px 0 0 + border-width: 1px 0 0; + border-top: 0; + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; } .bd-example::after { diff --git a/docs/VNext/docs/BlazorStrap.Docs.bundle.scp.css b/docs/VNext/docs/BlazorStrap.Docs.bundle.scp.css new file mode 100644 index 00000000..d49af549 --- /dev/null +++ b/docs/VNext/docs/BlazorStrap.Docs.bundle.scp.css @@ -0,0 +1,428 @@ +/* docs/Samples/V4/Components/DataGrid/DataGrid1.razor.rz.scp.css */ +[b-h9mmfd69xr] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-h9mmfd69xr] .bs-datagrid table{ + min-width: 100%; +} +[b-h9mmfd69xr] .bs-datagrid tr { + height: 30px; +} + +.grid-header-button[b-h9mmfd69xr] { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +[b-h9mmfd69xr] .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by[b-h9mmfd69xr] { + padding-right: 18px; + position: relative; +} + +button.sort-by[b-h9mmfd69xr]:before, +button.sort-by[b-h9mmfd69xr]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by[b-h9mmfd69xr]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by[b-h9mmfd69xr]:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort[b-h9mmfd69xr] { + padding-right: 18px; + position: relative; +} + +button.sort[b-h9mmfd69xr]:before, +button.sort[b-h9mmfd69xr]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort[b-h9mmfd69xr]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc[b-h9mmfd69xr] { + padding-right: 18px; + position: relative; +} + +button.sort-desc[b-h9mmfd69xr]:before, +button.sort-desc[b-h9mmfd69xr]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc[b-h9mmfd69xr]:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter[b-h9mmfd69xr] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty[b-h9mmfd69xr] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu[b-h9mmfd69xr] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + +/* docs/Samples/V4/Components/DataGrid/DataGrid3.razor.rz.scp.css */ +[b-o8zzl55tgr] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-o8zzl55tgr] .bs-datagrid table{ + min-width: 100%; +} +[b-o8zzl55tgr] .bs-datagrid tr { + height: 30px; +} +[b-o8zzl55tgr] .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} +/* docs/Samples/V4/Components/DataGrid/DataGrid4.razor.rz.scp.css */ +[b-59rmqrbmxm] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-59rmqrbmxm] .bs-datagrid table{ + min-width: 100%; +} +[b-59rmqrbmxm] .bs-datagrid tr { + height: 30px; +} +[b-59rmqrbmxm] .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} +/* docs/Samples/V4/Content/Images/Images6.razor.rz.scp.css */ +text#svg-text[b-crzaczs78q] { + animation-name: animateSvg-b-crzaczs78q; + transform-origin: 50% 50%; + animation-duration: 5s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +@keyframes animateSvg-b-crzaczs78q { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} +/* docs/Samples/V4/Forms/Validation/ValidationMain.razor.rz.scp.css */ +[b-1639599w6h] .custom-file-button input[type=file] { + margin-left: -2px !important; +} + + [b-1639599w6h] .custom-file-button input[type=file]::-webkit-file-upload-button { + display: none; + } + + [b-1639599w6h].custom-file-button input[type=file]::file-selector-button { + display: none; + } + +[b-1639599w6h] .custom-file-button:hover label { + background-color: #dde0e3; + cursor: pointer; +} +/* docs/Samples/V5/Components/DataGrid/DataGrid1.razor.rz.scp.css */ +[b-3czks3x8ga] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-3czks3x8ga] .bs-datagrid table{ + min-width: 100%; +} +[b-3czks3x8ga] .bs-datagrid tr { + height: 30px; +} + +.grid-header-button[b-3czks3x8ga] { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +[b-3czks3x8ga] .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by[b-3czks3x8ga] { + padding-right: 18px; + position: relative; +} + +button.sort-by[b-3czks3x8ga]:before, +button.sort-by[b-3czks3x8ga]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by[b-3czks3x8ga]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by[b-3czks3x8ga]:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort[b-3czks3x8ga] { + padding-right: 18px; + position: relative; +} + +button.sort[b-3czks3x8ga]:before, +button.sort[b-3czks3x8ga]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort[b-3czks3x8ga]:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc[b-3czks3x8ga] { + padding-right: 18px; + position: relative; +} + +button.sort-desc[b-3czks3x8ga]:before, +button.sort-desc[b-3czks3x8ga]:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc[b-3czks3x8ga]:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter[b-3czks3x8ga] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty[b-3czks3x8ga] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu[b-3czks3x8ga] { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + +/* docs/Samples/V5/Components/DataGrid/DataGrid3.razor.rz.scp.css */ +[b-q3ibg8uyar] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-q3ibg8uyar] .bs-datagrid table{ + min-width: 100%; +} +[b-q3ibg8uyar] .bs-datagrid tr { + height: 30px; +} +[b-q3ibg8uyar] .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} +/* docs/Samples/V5/Components/DataGrid/DataGrid4.razor.rz.scp.css */ +[b-jfossvb2sh] .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +[b-jfossvb2sh] .bs-datagrid table{ + min-width: 100%; +} +[b-jfossvb2sh] .bs-datagrid tr { + height: 30px; +} +[b-jfossvb2sh] .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} +/* docs/Samples/V5/Content/Images/Images6.razor.rz.scp.css */ +text#svg-text[b-98h21irtwy] { + animation-name: animateSvg-b-98h21irtwy; + transform-origin: 50% 50%; + animation-duration: 5s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +@keyframes animateSvg-b-98h21irtwy { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} +/* docs/Samples/V5/Forms/Validation/ValidationMain.razor.rz.scp.css */ +[b-0m5ch4ut38] .custom-file-button input[type=file] { + margin-left: -2px !important; +} + + [b-0m5ch4ut38] .custom-file-button input[type=file]::-webkit-file-upload-button { + display: none; + } + + [b-0m5ch4ut38].custom-file-button input[type=file]::file-selector-button { + display: none; + } + +[b-0m5ch4ut38] .custom-file-button:hover label { + background-color: #dde0e3; + cursor: pointer; +} diff --git a/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion1.md b/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Accordion/Accordion1.md rename to docs/VNext/docs/Samples/V4/Components/Accordion/Accordion1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion2.md b/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Accordion/Accordion2.md rename to docs/VNext/docs/Samples/V4/Components/Accordion/Accordion2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion3.md b/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Accordion/Accordion3.md rename to docs/VNext/docs/Samples/V4/Components/Accordion/Accordion3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion4.md b/docs/VNext/docs/Samples/V4/Components/Accordion/Accordion4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Accordion/Accordion4.md rename to docs/VNext/docs/Samples/V4/Components/Accordion/Accordion4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Accordion/index.txt b/docs/VNext/docs/Samples/V4/Components/Accordion/index.txt new file mode 100644 index 00000000..3e05b0ef --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Accordion/index.txt @@ -0,0 +1,5 @@ +Accordion1.razor.md +Accordion2.razor.md +Accordion3.razor.md +Accordion4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts1.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts1.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts2.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts2.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts3.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts3.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts4.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts4.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts5.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts5.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts6.md b/docs/VNext/docs/Samples/V4/Components/Alerts/Alerts6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Alerts/Alerts6.md rename to docs/VNext/docs/Samples/V4/Components/Alerts/Alerts6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Alerts/index.txt b/docs/VNext/docs/Samples/V4/Components/Alerts/index.txt new file mode 100644 index 00000000..81e3d023 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Alerts/index.txt @@ -0,0 +1,7 @@ +Alerts1.razor.md +Alerts2.razor.md +Alerts3.razor.md +Alerts4.razor.md +Alerts5.razor.md +Alerts6.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/Badge1.md b/docs/VNext/docs/Samples/V4/Components/Badge/Badge1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Badge/Badge1.md rename to docs/VNext/docs/Samples/V4/Components/Badge/Badge1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/Badge2.md b/docs/VNext/docs/Samples/V4/Components/Badge/Badge2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Badge/Badge2.md rename to docs/VNext/docs/Samples/V4/Components/Badge/Badge2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/Badge3.md b/docs/VNext/docs/Samples/V4/Components/Badge/Badge3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Badge/Badge3.md rename to docs/VNext/docs/Samples/V4/Components/Badge/Badge3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/Badge4.md b/docs/VNext/docs/Samples/V4/Components/Badge/Badge4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Badge/Badge4.md rename to docs/VNext/docs/Samples/V4/Components/Badge/Badge4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/Badge5.md b/docs/VNext/docs/Samples/V4/Components/Badge/Badge5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Badge/Badge5.md rename to docs/VNext/docs/Samples/V4/Components/Badge/Badge5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Badge/index.txt b/docs/VNext/docs/Samples/V4/Components/Badge/index.txt new file mode 100644 index 00000000..55f6b510 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Badge/index.txt @@ -0,0 +1,6 @@ +Badge1.razor.md +Badge2.razor.md +Badge3.razor.md +Badge4.razor.md +Badge5.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb0.md b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb0.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb0.md rename to docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb0.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb1.md b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb1.md rename to docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb2.md b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb2.md rename to docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb3.md b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb3.md rename to docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb4.md b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb4.md rename to docs/VNext/docs/Samples/V4/Components/Breadcrumb/Breadcrumb4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Breadcrumb/index.txt b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/index.txt new file mode 100644 index 00000000..55486ee9 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Breadcrumb/index.txt @@ -0,0 +1,6 @@ +Breadcrumb0.razor.md +Breadcrumb1.razor.md +Breadcrumb2.razor.md +Breadcrumb3.razor.md +Breadcrumb4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/ButtonGroup/ButtonGroup1.md b/docs/VNext/docs/Samples/V4/Components/ButtonGroup/ButtonGroup1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/ButtonGroup/ButtonGroup1.md rename to docs/VNext/docs/Samples/V4/Components/ButtonGroup/ButtonGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/ButtonGroup/index.txt b/docs/VNext/docs/Samples/V4/Components/ButtonGroup/index.txt new file mode 100644 index 00000000..3e89233a --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/ButtonGroup/index.txt @@ -0,0 +1,2 @@ +ButtonGroup1.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Buttons/Buttons1.md b/docs/VNext/docs/Samples/V4/Components/Buttons/Buttons1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Buttons/Buttons1.md rename to docs/VNext/docs/Samples/V4/Components/Buttons/Buttons1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Buttons/Buttons2.md b/docs/VNext/docs/Samples/V4/Components/Buttons/Buttons2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Buttons/Buttons2.md rename to docs/VNext/docs/Samples/V4/Components/Buttons/Buttons2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Buttons/index.txt b/docs/VNext/docs/Samples/V4/Components/Buttons/index.txt new file mode 100644 index 00000000..229c892a --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Buttons/index.txt @@ -0,0 +1,3 @@ +Buttons1.razor.md +Buttons2.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Card/Card1.md b/docs/VNext/docs/Samples/V4/Components/Card/Card1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Card/Card1.md rename to docs/VNext/docs/Samples/V4/Components/Card/Card1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Card/index.txt b/docs/VNext/docs/Samples/V4/Components/Card/index.txt new file mode 100644 index 00000000..78b18201 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Card/index.txt @@ -0,0 +1,2 @@ +Card1.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel1.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel1.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel2.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel2.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel3.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel3.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel4.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel4.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel5.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel5.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel6.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel6.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel7.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel7.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel8.md b/docs/VNext/docs/Samples/V4/Components/Carousel/Carousel8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Carousel/Carousel8.md rename to docs/VNext/docs/Samples/V4/Components/Carousel/Carousel8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Carousel/index.txt b/docs/VNext/docs/Samples/V4/Components/Carousel/index.txt new file mode 100644 index 00000000..b166a432 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Carousel/index.txt @@ -0,0 +1,9 @@ +Carousel1.razor.md +Carousel2.razor.md +Carousel3.razor.md +Carousel4.razor.md +Carousel5.razor.md +Carousel6.razor.md +Carousel7.razor.md +Carousel8.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton1.md b/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton1.md rename to docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton2.md b/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton2.md rename to docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton3.md b/docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton3.md rename to docs/VNext/docs/Samples/V4/Components/CloseButton/CloseButton3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/CloseButton/index.txt b/docs/VNext/docs/Samples/V4/Components/CloseButton/index.txt new file mode 100644 index 00000000..04acd183 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/CloseButton/index.txt @@ -0,0 +1,4 @@ +CloseButton1.razor.md +CloseButton2.razor.md +CloseButton3.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse1.md b/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Collapse/Collapse1.md rename to docs/VNext/docs/Samples/V4/Components/Collapse/Collapse1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse2.md b/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Collapse/Collapse2.md rename to docs/VNext/docs/Samples/V4/Components/Collapse/Collapse2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse3.md b/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Collapse/Collapse3.md rename to docs/VNext/docs/Samples/V4/Components/Collapse/Collapse3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse4.md b/docs/VNext/docs/Samples/V4/Components/Collapse/Collapse4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Collapse/Collapse4.md rename to docs/VNext/docs/Samples/V4/Components/Collapse/Collapse4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Collapse/index.txt b/docs/VNext/docs/Samples/V4/Components/Collapse/index.txt new file mode 100644 index 00000000..66159938 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Collapse/index.txt @@ -0,0 +1,5 @@ +Collapse1.razor.md +Collapse2.razor.md +Collapse3.razor.md +Collapse4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.cs.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.cs.md new file mode 100644 index 00000000..34506c5f --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.cs.md @@ -0,0 +1,34 @@ +using BlazorComponentUtilities; +using BlazorStrap_Docs.SamplesHelpers.Content.Tables; +using BlazorStrap; +using BlazorStrap.Extensions; +using BlazorStrap.V4; + +namespace BlazorStrap_Docs.Samples.V4.Components.DataGrid; + +public partial class DataGrid1 +{ + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private BSDataGrid _dataGrid; + private readonly Table2Model _sampleData = new Table2Model(); + private ICollection _employees; + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + protected override void OnInitialized() + { + _employees = _sampleData.DataSet; + } + + private string? _filterClass => new CssBuilder() + .AddClass("system-uicons--filter") + .Build().ToNullString(); + + private string? _menuClass => new CssBuilder() + .AddClass("system-uicons--menu") + .Build().ToNullString(); +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.css.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.css.md new file mode 100644 index 00000000..f8d39c19 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.css.md @@ -0,0 +1,142 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} + +.grid-header-button { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +::deep .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by { + padding-right: 18px; + position: relative; +} + +button.sort-by:before, +button.sort-by:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort { + padding-right: 18px; + position: relative; +} + +button.sort:before, +button.sort:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc { + padding-right: 18px; + position: relative; +} + +button.sort-desc:before, +button.sort-desc:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.md new file mode 100644 index 00000000..545a70d5 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid1.razor.md @@ -0,0 +1,39 @@ +@using BlazorComponentUtilities +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using BlazorStrap.Extensions +@using BlazorStrap.V4 +
+ Items per page + + Pagination Placement + + +
+
+ + + +
+ +
+ @context.Id +
+ + + +
+
+
\ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid2.razor.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid2.razor.md new file mode 100644 index 00000000..70ebce20 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid2.razor.md @@ -0,0 +1,77 @@ +@implements IDisposable +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using Microsoft.EntityFrameworkCore +@inject IDbContextFactory dbFactory + +
+ Items per page + + Pagination Placement + + +
+ + + + +
+ +
+
+
+ + +
+ +
+
+
+ + +
+
+ +@code { + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private string _filter = string.Empty; + + //This is just a auto fill class for the table for sample data. + private readonly Table2Model _sampleData = new Table2Model(); + private bool _isLoaded; + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + protected override void OnInitialized() + { + _db = dbFactory.CreateDbContext(); + if (!_db.Employees.Any() && !_isLoaded) + { + _db.Employees.AddRange(_sampleData.DataSet); + _db.SaveChanges(); + _isLoaded = true; + } + } + + public void Dispose() + { + _db?.Dispose(); + } +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.css.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.css.md new file mode 100644 index 00000000..988a8faf --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.css.md @@ -0,0 +1,17 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} +::deep .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.md new file mode 100644 index 00000000..3e850af6 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid3.razor.md @@ -0,0 +1,130 @@ +@using System.Net.Http.Json +@using BlazorStrap_Docs.Models +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@inject NavigationManager NavigationManager +
+ Items per page + + Pagination Placement + +
+
+ Search Product Name + +
+
+ + + + + + + + +
+@code { + private GridItemsProvider _itemsProvider; + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private BSDataGrid _dataGrid; + private string? _productName; + + protected override void OnInitialized() + { + _itemsProvider = async request => + { + var sort = request.SortColumns.FirstOrDefault(x => x.Sorted); + var filterList = request.FilterColumns; + var filterQuery = ""; + if(!string.IsNullOrEmpty(_productName)) + { + filterQuery += " AND proprietary_name:[\"" + _productName + "\" TO \"" + GetNextChar(_productName) + "\"]"; + } + + if(filterList.Count > 0) + { + foreach (var filter in filterList) + { + if (!string.IsNullOrEmpty(filter.Value)) + { + filterQuery += " AND " + GetJsonName(filter.Property) + ":[\"" + filter.Value + "\" TO \"" + GetNextChar(filter.Value) + "\"]"; + } + } + } + var sortQuery = ""; + if (sort != null) + { + var order = sort.Descending ? "des" : "asc"; + var sortProperty = GetJsonName(sort.PropertyPath); + sortQuery = $"{sortProperty}:{order}"; + } + + var url = NavigationManager.GetUriWithQueryParameters("https://api.fda.gov/other/nsde.json", new Dictionary + { + {"skip", request.StartIndex}, + {"limit", request.Count}, + {"sort", sortQuery}, + {"search", "marketing_start_date:[20210401 TO 20220101]" + filterQuery } + + }); + var httpClient = new HttpClient(); + var httpRequest = await httpClient.GetAsync(url); + if(!httpRequest.IsSuccessStatusCode) + { + return DataGridResponce.Create(new List(), 0); + } + var data = await httpRequest.Content.ReadFromJsonAsync(); + return DataGridResponce.Create(data.Results, data.Meta.Results.Total); + }; + } + + private static string GetJsonName(string property) + { + return property switch + { + "ProprietaryName" => "proprietary_name", + "ProductType" => "product_type", + "MarketingStartDate" => "marketing_start_date", + "ApplicationNumberOrCitation" => "application_number_or_citation", + _ => "" + }; + } + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + private static string GetNextChar(string value) + { + if (string.IsNullOrEmpty(value)) + { + return "A"; + } + var lastChar = value[^1]; + if (lastChar == 'Z') + { + return value + "A"; + } + return value[..^1] + (char)(lastChar + 1); + } + private Task UpdateGridItemsAsync() + { + return _dataGrid.RefreshItemsAsync(); + } + +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.css.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.css.md new file mode 100644 index 00000000..988a8faf --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.css.md @@ -0,0 +1,17 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} +::deep .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.md b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.md new file mode 100644 index 00000000..05ede2fb --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/DataGrid4.razor.md @@ -0,0 +1,111 @@ +@using System.Net.Http.Json +@using BlazorStrap_Docs.Models +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@inject NavigationManager NavigationManager +
+ Search Product Name + +
+
+ + + + + + + + +
+@code { + private GridItemsProvider _itemsProvider; + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private BSDataGrid _dataGrid; + private string? _productName; + + protected override void OnInitialized() + { + _itemsProvider = async request => + { + var sort = request.SortColumns.FirstOrDefault(x => x.Sorted); + var filterList = request.FilterColumns; + var filterQuery = ""; + if(!string.IsNullOrEmpty(_productName)) + { + filterQuery += " AND proprietary_name:[\"" + _productName + "\" TO \"" + GetNextChar(_productName) + "\"]"; + } + + if(filterList.Count > 0) + { + foreach (var filter in filterList) + { + if (!string.IsNullOrEmpty(filter.Value)) + { + filterQuery += " AND " + GetJsonName(filter.Property) + ":[\"" + filter.Value + "\" TO \"" + GetNextChar(filter.Value) + "\"]"; + } + } + } + var sortQuery = ""; + if (sort != null) + { + var order = sort.Descending ? "des" : "asc"; + var sortProperty = GetJsonName(sort.PropertyPath); + sortQuery = $"{sortProperty}:{order}"; + } + + var url = NavigationManager.GetUriWithQueryParameters("https://api.fda.gov/other/nsde.json", new Dictionary + { + {"skip", request.StartIndex}, + {"limit", request.Count}, + {"sort", sortQuery}, + {"search", "marketing_start_date:[20210401 TO 20220101]" + filterQuery } + + }); + var httpClient = new HttpClient(); + var httpRequest = await httpClient.GetAsync(url); + if(!httpRequest.IsSuccessStatusCode) + { + return DataGridResponce.Create(new List(), 0); + } + var data = await httpRequest.Content.ReadFromJsonAsync(); + return DataGridResponce.Create(data.Results, data.Meta.Results.Total); + }; + } + + private static string GetJsonName(string property) + { + return property switch + { + "ProprietaryName" => "proprietary_name", + "ProductType" => "product_type", + "MarketingStartDate" => "marketing_start_date", + "ApplicationNumberOrCitation" => "application_number_or_citation", + _ => "" + }; + } + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + private static string GetNextChar(string value) + { + if (string.IsNullOrEmpty(value)) + { + return "A"; + } + var lastChar = value[^1]; + if (lastChar == 'Z') + { + return value + "A"; + } + return value[..^1] + (char)(lastChar + 1); + } + private Task UpdateGridItemsAsync() + { + return _dataGrid.RefreshItemsAsync(); + } + +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/DataGrid/index.txt b/docs/VNext/docs/Samples/V4/Components/DataGrid/index.txt new file mode 100644 index 00000000..9eb80ad7 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/DataGrid/index.txt @@ -0,0 +1,9 @@ +DataGrid1.razor.cs.md +DataGrid1.razor.css.md +DataGrid1.razor.md +DataGrid2.razor.md +DataGrid3.razor.css.md +DataGrid3.razor.md +DataGrid4.razor.css.md +DataGrid4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns10.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns10.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns10.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns11.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns11.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns11.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns11.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns12.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns12.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns12.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns12.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns13.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns13.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns13.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns13.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns14.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns14.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns14.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns14.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns15.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns15.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns15.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns15.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns16.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns16.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns16.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns16.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns17.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns17.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns17.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns17.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns18.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns18.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns18.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns18.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns19.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns19.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns19.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns19.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1a.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1a.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1a.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns1a.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns2.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns2.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns20.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns20.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns20.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns20.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns21.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns21.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns21.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns21.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns22.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns22.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns22.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns22.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns23.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns23.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns23.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns23.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns24.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns24.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns24.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns24.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns25.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns25.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns25.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns25.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns3.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns3.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns4.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns4.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns5.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns5.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns6.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns6.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns7.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns7.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns8.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns8.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns9.md b/docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns9.md rename to docs/VNext/docs/Samples/V4/Components/Dropdowns/Dropdowns9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Dropdowns/index.txt b/docs/VNext/docs/Samples/V4/Components/Dropdowns/index.txt new file mode 100644 index 00000000..54abf95b --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Dropdowns/index.txt @@ -0,0 +1,27 @@ +Dropdowns1.razor.md +Dropdowns10.razor.md +Dropdowns11.razor.md +Dropdowns12.razor.md +Dropdowns13.razor.md +Dropdowns14.razor.md +Dropdowns15.razor.md +Dropdowns16.razor.md +Dropdowns17.razor.md +Dropdowns18.razor.md +Dropdowns19.razor.md +Dropdowns1a.razor.md +Dropdowns2.razor.md +Dropdowns20.razor.md +Dropdowns21.razor.md +Dropdowns22.razor.md +Dropdowns23.razor.md +Dropdowns24.razor.md +Dropdowns25.razor.md +Dropdowns3.razor.md +Dropdowns4.razor.md +Dropdowns5.razor.md +Dropdowns6.razor.md +Dropdowns7.razor.md +Dropdowns8.razor.md +Dropdowns9.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Components/Link/Link1.md b/docs/VNext/docs/Samples/V4/Components/Link/Link1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Link/Link1.md rename to docs/VNext/docs/Samples/V4/Components/Link/Link1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Link/Link2.md b/docs/VNext/docs/Samples/V4/Components/Link/Link2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Link/Link2.md rename to docs/VNext/docs/Samples/V4/Components/Link/Link2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Link/index.txt b/docs/VNext/docs/Samples/V4/Components/Link/index.txt new file mode 100644 index 00000000..04f7e5a4 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Link/index.txt @@ -0,0 +1,3 @@ +index.txt +Link1.razor.md +Link2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/ListGroup/ListGroup1.md b/docs/VNext/docs/Samples/V4/Components/ListGroup/ListGroup1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/ListGroup/ListGroup1.md rename to docs/VNext/docs/Samples/V4/Components/ListGroup/ListGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/ListGroup/index.txt b/docs/VNext/docs/Samples/V4/Components/ListGroup/index.txt new file mode 100644 index 00000000..46ff688b --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/ListGroup/index.txt @@ -0,0 +1,2 @@ +index.txt +ListGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal1.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal1.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal10.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal10.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal10.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal11.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal11.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal11.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal11.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal1b.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal1b.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal1b.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal1b.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal2.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal2.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal3.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal3.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal4.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal4.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal5.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal5.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal6.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal6.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal7.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal7.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal8.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal8.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/Modal9.md b/docs/VNext/docs/Samples/V4/Components/Modal/Modal9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Modal/Modal9.md rename to docs/VNext/docs/Samples/V4/Components/Modal/Modal9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Modal/index.txt b/docs/VNext/docs/Samples/V4/Components/Modal/index.txt new file mode 100644 index 00000000..c7a913bc --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Modal/index.txt @@ -0,0 +1,13 @@ +index.txt +Modal1.razor.md +Modal10.razor.md +Modal11.razor.md +Modal1b.razor.md +Modal2.razor.md +Modal3.razor.md +Modal4.razor.md +Modal5.razor.md +Modal6.razor.md +Modal7.razor.md +Modal8.razor.md +Modal9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav1.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav1.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav10.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav10.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav10.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav11.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav11.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav11.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav11.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav12.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav12.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav12.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav12.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav13.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav13.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav13.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav13.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav14.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav14.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav14.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav14.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav17.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav17.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav17.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav17.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav2.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav2.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav3.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav3.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav4.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav4.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav5.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav5.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav6.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav6.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav7.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav7.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav8.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav8.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/Nav9.md b/docs/VNext/docs/Samples/V4/Components/Nav/Nav9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Nav/Nav9.md rename to docs/VNext/docs/Samples/V4/Components/Nav/Nav9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Nav/index.txt b/docs/VNext/docs/Samples/V4/Components/Nav/index.txt new file mode 100644 index 00000000..3c0bbe18 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Nav/index.txt @@ -0,0 +1,16 @@ +index.txt +Nav1.razor.md +Nav10.razor.md +Nav11.razor.md +Nav12.razor.md +Nav13.razor.md +Nav14.razor.md +Nav17.razor.md +Nav2.razor.md +Nav3.razor.md +Nav4.razor.md +Nav5.razor.md +Nav6.razor.md +Nav7.razor.md +Nav8.razor.md +Nav9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1-1.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1-1.md deleted file mode 100644 index e34f24dd..00000000 --- a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1-1.md +++ /dev/null @@ -1,32 +0,0 @@ - - - Navbar - - - - - - - Home - Link - - - Dropdown - - Action - Another action - - Something else here - - - - Disabled - - - -
- - Search -
-
-
\ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar10.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar10.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar10.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar2.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar2.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar3.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar3.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar4.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar4.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar5.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar5.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar6.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar6.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar7.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar7.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar8.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar8.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar9.md b/docs/VNext/docs/Samples/V4/Components/Navbar/Navbar9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Navbar/Navbar9.md rename to docs/VNext/docs/Samples/V4/Components/Navbar/Navbar9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Navbar/index.txt b/docs/VNext/docs/Samples/V4/Components/Navbar/index.txt new file mode 100644 index 00000000..d6641a44 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Navbar/index.txt @@ -0,0 +1,11 @@ +index.txt +Navbar1.razor.md +Navbar10.razor.md +Navbar2.razor.md +Navbar3.razor.md +Navbar4.razor.md +Navbar5.razor.md +Navbar6.razor.md +Navbar7.razor.md +Navbar8.razor.md +Navbar9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas1.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas1.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas2.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas2.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas3.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas3.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas4.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas4.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas5.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas5.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas6.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas6.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas7.md b/docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas7.md rename to docs/VNext/docs/Samples/V4/Components/OffCanvas/OffCanvas7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/OffCanvas/index.txt b/docs/VNext/docs/Samples/V4/Components/OffCanvas/index.txt new file mode 100644 index 00000000..413aab79 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/OffCanvas/index.txt @@ -0,0 +1,8 @@ +index.txt +OffCanvas1.razor.md +OffCanvas2.razor.md +OffCanvas3.razor.md +OffCanvas4.razor.md +OffCanvas5.razor.md +OffCanvas6.razor.md +OffCanvas7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Pagination/Pagination1.md b/docs/VNext/docs/Samples/V4/Components/Pagination/Pagination1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Pagination/Pagination1.md rename to docs/VNext/docs/Samples/V4/Components/Pagination/Pagination1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Pagination/Pagination2.md b/docs/VNext/docs/Samples/V4/Components/Pagination/Pagination2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Pagination/Pagination2.md rename to docs/VNext/docs/Samples/V4/Components/Pagination/Pagination2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Pagination/index.txt b/docs/VNext/docs/Samples/V4/Components/Pagination/index.txt new file mode 100644 index 00000000..a8f948b3 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Pagination/index.txt @@ -0,0 +1,3 @@ +index.txt +Pagination1.razor.md +Pagination2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Popover/Popover1.md b/docs/VNext/docs/Samples/V4/Components/Popover/Popover1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Popover/Popover1.md rename to docs/VNext/docs/Samples/V4/Components/Popover/Popover1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Popover/Popover2.md b/docs/VNext/docs/Samples/V4/Components/Popover/Popover2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Popover/Popover2.md rename to docs/VNext/docs/Samples/V4/Components/Popover/Popover2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Popover/Popover3.md b/docs/VNext/docs/Samples/V4/Components/Popover/Popover3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Popover/Popover3.md rename to docs/VNext/docs/Samples/V4/Components/Popover/Popover3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Popover/Popover4.md b/docs/VNext/docs/Samples/V4/Components/Popover/Popover4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Popover/Popover4.md rename to docs/VNext/docs/Samples/V4/Components/Popover/Popover4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Popover/index.txt b/docs/VNext/docs/Samples/V4/Components/Popover/index.txt new file mode 100644 index 00000000..dfd963d6 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Popover/index.txt @@ -0,0 +1,5 @@ +index.txt +Popover1.razor.md +Popover2.razor.md +Popover3.razor.md +Popover4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Progress/Progress1.md b/docs/VNext/docs/Samples/V4/Components/Progress/Progress1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Progress/Progress1.md rename to docs/VNext/docs/Samples/V4/Components/Progress/Progress1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Progress/Progress2.md b/docs/VNext/docs/Samples/V4/Components/Progress/Progress2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Progress/Progress2.md rename to docs/VNext/docs/Samples/V4/Components/Progress/Progress2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Progress/index.txt b/docs/VNext/docs/Samples/V4/Components/Progress/index.txt new file mode 100644 index 00000000..88c13413 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Progress/index.txt @@ -0,0 +1,3 @@ +index.txt +Progress1.razor.md +Progress2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner1.md b/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Spinner/Spinner1.md rename to docs/VNext/docs/Samples/V4/Components/Spinner/Spinner1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner2.md b/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Spinner/Spinner2.md rename to docs/VNext/docs/Samples/V4/Components/Spinner/Spinner2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner3.md b/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Spinner/Spinner3.md rename to docs/VNext/docs/Samples/V4/Components/Spinner/Spinner3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner4.md b/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Spinner/Spinner4.md rename to docs/VNext/docs/Samples/V4/Components/Spinner/Spinner4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner5.md b/docs/VNext/docs/Samples/V4/Components/Spinner/Spinner5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Spinner/Spinner5.md rename to docs/VNext/docs/Samples/V4/Components/Spinner/Spinner5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Spinner/index.txt b/docs/VNext/docs/Samples/V4/Components/Spinner/index.txt new file mode 100644 index 00000000..7513cb5b --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Spinner/index.txt @@ -0,0 +1,6 @@ +index.txt +Spinner1.razor.md +Spinner2.razor.md +Spinner3.razor.md +Spinner4.razor.md +Spinner5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Toast/Toast1.md b/docs/VNext/docs/Samples/V4/Components/Toast/Toast1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Toast/Toast1.md rename to docs/VNext/docs/Samples/V4/Components/Toast/Toast1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Toast/Toast2.md b/docs/VNext/docs/Samples/V4/Components/Toast/Toast2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Toast/Toast2.md rename to docs/VNext/docs/Samples/V4/Components/Toast/Toast2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Toast/Toast3.md b/docs/VNext/docs/Samples/V4/Components/Toast/Toast3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Toast/Toast3.md rename to docs/VNext/docs/Samples/V4/Components/Toast/Toast3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Toast/index.txt b/docs/VNext/docs/Samples/V4/Components/Toast/index.txt new file mode 100644 index 00000000..a4c463d4 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Toast/index.txt @@ -0,0 +1,4 @@ +index.txt +Toast1.razor.md +Toast2.razor.md +Toast3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips1.md b/docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips1.md rename to docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips2.md b/docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips2.md rename to docs/VNext/docs/Samples/V4/Components/Tooltips/Tooltips2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Components/Tooltips/index.txt b/docs/VNext/docs/Samples/V4/Components/Tooltips/index.txt new file mode 100644 index 00000000..c9a082b5 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Components/Tooltips/index.txt @@ -0,0 +1,3 @@ +index.txt +Tooltips1.razor.md +Tooltips2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Figures/Figures1.md b/docs/VNext/docs/Samples/V4/Content/Figures/Figures1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Figures/Figures1.md rename to docs/VNext/docs/Samples/V4/Content/Figures/Figures1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Figures/Figures2.md b/docs/VNext/docs/Samples/V4/Content/Figures/Figures2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Figures/Figures2.md rename to docs/VNext/docs/Samples/V4/Content/Figures/Figures2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Figures/Figures3.md b/docs/VNext/docs/Samples/V4/Content/Figures/Figures3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Figures/Figures3.md rename to docs/VNext/docs/Samples/V4/Content/Figures/Figures3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Figures/index.txt b/docs/VNext/docs/Samples/V4/Content/Figures/index.txt new file mode 100644 index 00000000..c429a9f2 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Content/Figures/index.txt @@ -0,0 +1,4 @@ +Figures1.razor.md +Figures2.razor.md +Figures3.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images1.md b/docs/VNext/docs/Samples/V4/Content/Images/Images1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Images/Images1.md rename to docs/VNext/docs/Samples/V4/Content/Images/Images1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images2.md b/docs/VNext/docs/Samples/V4/Content/Images/Images2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Images/Images2.md rename to docs/VNext/docs/Samples/V4/Content/Images/Images2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images3.md b/docs/VNext/docs/Samples/V4/Content/Images/Images3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Images/Images3.md rename to docs/VNext/docs/Samples/V4/Content/Images/Images3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images4.md b/docs/VNext/docs/Samples/V4/Content/Images/Images4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Images/Images4.md rename to docs/VNext/docs/Samples/V4/Content/Images/Images4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images5.md b/docs/VNext/docs/Samples/V4/Content/Images/Images5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Images/Images5.md rename to docs/VNext/docs/Samples/V4/Content/Images/Images5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images6.md b/docs/VNext/docs/Samples/V4/Content/Images/Images6.md deleted file mode 100644 index 276dd842..00000000 --- a/docs/VNext/docs/Samples/V4/Content/Images/Images6.md +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.css.md b/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.css.md new file mode 100644 index 00000000..21de53d4 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.css.md @@ -0,0 +1,17 @@ +text#svg-text { + animation-name: animateSvg; + transform-origin: 50% 50%; + animation-duration: 5s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +@keyframes animateSvg { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.md b/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.md index 21de53d4..276dd842 100644 --- a/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.md +++ b/docs/VNext/docs/Samples/V4/Content/Images/Images6.razor.md @@ -1,17 +1 @@ -text#svg-text { - animation-name: animateSvg; - transform-origin: 50% 50%; - animation-duration: 5s; - animation-timing-function: linear; - animation-iteration-count: infinite; -} - -@keyframes animateSvg { - from { - transform: rotate(0deg); - } - - to { - transform: rotate(360deg); - } -} \ No newline at end of file + \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Content/Images/index.txt b/docs/VNext/docs/Samples/V4/Content/Images/index.txt new file mode 100644 index 00000000..c016a097 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Content/Images/index.txt @@ -0,0 +1,8 @@ +Images1.razor.md +Images2.razor.md +Images3.razor.md +Images4.razor.md +Images5.razor.md +Images6.razor.css.md +Images6.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Content/Tables/Tables1.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables1.razor.md similarity index 97% rename from docs/VNext/docs/Samples/V5/Content/Tables/Tables1.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables1.razor.md index a4e14896..5ae10f89 100644 --- a/docs/VNext/docs/Samples/V5/Content/Tables/Tables1.md +++ b/docs/VNext/docs/Samples/V4/Content/Tables/Tables1.razor.md @@ -93,7 +93,7 @@ TRIsActive - @code { // BSTable Parameters private BSColor OTableColor { get; set; } = BSColor.Default; // Not Set diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/Tables1b.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables1b.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Tables/Tables1b.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables1b.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/Tables2.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Tables/Tables2.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/Tables3.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Tables/Tables3.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/Tables4.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Tables/Tables4.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/Tables5.md b/docs/VNext/docs/Samples/V4/Content/Tables/Tables5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Content/Tables/Tables5.md rename to docs/VNext/docs/Samples/V4/Content/Tables/Tables5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Content/Tables/index.txt b/docs/VNext/docs/Samples/V4/Content/Tables/index.txt new file mode 100644 index 00000000..fb13d351 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Content/Tables/index.txt @@ -0,0 +1,7 @@ +index.txt +Tables1.razor.md +Tables1b.razor.md +Tables2.razor.md +Tables3.razor.md +Tables4.razor.md +Tables5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/FluentValidation.md b/docs/VNext/docs/Samples/V4/Extensions/FluentValidation.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Extensions/FluentValidation.md rename to docs/VNext/docs/Samples/V4/Extensions/FluentValidation.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/FluentValidationInjectable.md b/docs/VNext/docs/Samples/V4/Extensions/FluentValidationInjectable.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Extensions/FluentValidationInjectable.md rename to docs/VNext/docs/Samples/V4/Extensions/FluentValidationInjectable.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.md b/docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.razor.md similarity index 96% rename from docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.md rename to docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.razor.md index 929b1af9..56414daa 100644 --- a/docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.md +++ b/docs/VNext/docs/Samples/V4/Extensions/FluentValidationRuleSets.razor.md @@ -30,7 +30,7 @@ @code { - + // private Customer customer = new Customer(); void SaveCustomer() @@ -53,7 +53,7 @@ public string Postcode { get; set; } } - + // public class CustomerValidator : AbstractValidator { public CustomerValidator() diff --git a/docs/VNext/docs/Samples/V4/Extensions/TreeView - Copy.md b/docs/VNext/docs/Samples/V4/Extensions/TreeView - Copy.md deleted file mode 100644 index c821a3b4..00000000 --- a/docs/VNext/docs/Samples/V4/Extensions/TreeView - Copy.md +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - With Action links - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Extensions/TreeView.md b/docs/VNext/docs/Samples/V4/Extensions/TreeView.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Extensions/TreeView.md rename to docs/VNext/docs/Samples/V4/Extensions/TreeView.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/TreeView2.md b/docs/VNext/docs/Samples/V4/Extensions/TreeView2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Extensions/TreeView2.md rename to docs/VNext/docs/Samples/V4/Extensions/TreeView2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/_Imports.md b/docs/VNext/docs/Samples/V4/Extensions/_Imports.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Extensions/_Imports.md rename to docs/VNext/docs/Samples/V4/Extensions/_Imports.razor.md diff --git a/docs/VNext/docs/Samples/V4/Extensions/index.txt b/docs/VNext/docs/Samples/V4/Extensions/index.txt new file mode 100644 index 00000000..e8474a3f --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Extensions/index.txt @@ -0,0 +1,7 @@ +FluentValidation.razor.md +FluentValidationInjectable.razor.md +FluentValidationRuleSets.razor.md +index.txt +TreeView.razor.md +TreeView2.razor.md +_Imports.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox1.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox1.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox3.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox3.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox4.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox4.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox5.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox5.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox6.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox6.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox7.md b/docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox7.md rename to docs/VNext/docs/Samples/V4/Forms/Checkbox/Checkbox7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Checkbox/index.txt b/docs/VNext/docs/Samples/V4/Forms/Checkbox/index.txt new file mode 100644 index 00000000..35329f6a --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/Checkbox/index.txt @@ -0,0 +1,7 @@ +Checkbox1.razor.md +Checkbox3.razor.md +Checkbox4.razor.md +Checkbox5.razor.md +Checkbox6.razor.md +Checkbox7.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls1.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls1.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls10.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls10.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls10.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls2.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls2.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls3.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls3.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls4.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls4.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls5.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls5.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls6.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls6.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls6.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls7.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls7.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls8.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls8.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls9.md b/docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls9.md rename to docs/VNext/docs/Samples/V4/Forms/FormControls/FormControls9.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/FormControls/index.txt b/docs/VNext/docs/Samples/V4/Forms/FormControls/index.txt new file mode 100644 index 00000000..ca0e5a45 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/FormControls/index.txt @@ -0,0 +1,11 @@ +FormControls1.razor.md +FormControls10.razor.md +FormControls2.razor.md +FormControls3.razor.md +FormControls4.razor.md +FormControls5.razor.md +FormControls6.razor.md +FormControls7.razor.md +FormControls8.razor.md +FormControls9.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V4/Forms/InputFile/InputFile1.md b/docs/VNext/docs/Samples/V4/Forms/InputFile/InputFile1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/InputFile/InputFile1.md rename to docs/VNext/docs/Samples/V4/Forms/InputFile/InputFile1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputFile/index.txt b/docs/VNext/docs/Samples/V4/Forms/InputFile/index.txt new file mode 100644 index 00000000..53b7981c --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/InputFile/index.txt @@ -0,0 +1,2 @@ +index.txt +InputFile1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup1.md b/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup1.md rename to docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup3.md b/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup3.md rename to docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup7.md b/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup7.md rename to docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup7.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup8.md b/docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup8.md rename to docs/VNext/docs/Samples/V4/Forms/InputGroup/InputGroup8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/InputGroup/index.txt b/docs/VNext/docs/Samples/V4/Forms/InputGroup/index.txt new file mode 100644 index 00000000..7d4955d4 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/InputGroup/index.txt @@ -0,0 +1,5 @@ +index.txt +InputGroup1.razor.md +InputGroup3.razor.md +InputGroup7.razor.md +InputGroup8.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Range/Range1.md b/docs/VNext/docs/Samples/V4/Forms/Range/Range1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Range/Range1.md rename to docs/VNext/docs/Samples/V4/Forms/Range/Range1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Range/Range2.md b/docs/VNext/docs/Samples/V4/Forms/Range/Range2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Range/Range2.md rename to docs/VNext/docs/Samples/V4/Forms/Range/Range2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Range/Range3.md b/docs/VNext/docs/Samples/V4/Forms/Range/Range3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Range/Range3.md rename to docs/VNext/docs/Samples/V4/Forms/Range/Range3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Range/Range4.md b/docs/VNext/docs/Samples/V4/Forms/Range/Range4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Range/Range4.md rename to docs/VNext/docs/Samples/V4/Forms/Range/Range4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Range/index.txt b/docs/VNext/docs/Samples/V4/Forms/Range/index.txt new file mode 100644 index 00000000..6a60445d --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/Range/index.txt @@ -0,0 +1,5 @@ +index.txt +Range1.razor.md +Range2.razor.md +Range3.razor.md +Range4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/Select1.md b/docs/VNext/docs/Samples/V4/Forms/Select/Select1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Select/Select1.md rename to docs/VNext/docs/Samples/V4/Forms/Select/Select1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/Select2.md b/docs/VNext/docs/Samples/V4/Forms/Select/Select2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Select/Select2.md rename to docs/VNext/docs/Samples/V4/Forms/Select/Select2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/Select3.md b/docs/VNext/docs/Samples/V4/Forms/Select/Select3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Select/Select3.md rename to docs/VNext/docs/Samples/V4/Forms/Select/Select3.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/Select4.md b/docs/VNext/docs/Samples/V4/Forms/Select/Select4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Select/Select4.md rename to docs/VNext/docs/Samples/V4/Forms/Select/Select4.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/Select5.md b/docs/VNext/docs/Samples/V4/Forms/Select/Select5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Forms/Select/Select5.md rename to docs/VNext/docs/Samples/V4/Forms/Select/Select5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Select/index.txt b/docs/VNext/docs/Samples/V4/Forms/Select/index.txt new file mode 100644 index 00000000..4d4ee863 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/Select/index.txt @@ -0,0 +1,6 @@ +index.txt +Select1.razor.md +Select2.razor.md +Select3.razor.md +Select4.razor.md +Select5.razor.md diff --git a/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.md b/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.md deleted file mode 100644 index 8122eaf9..00000000 --- a/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.md +++ /dev/null @@ -1,80 +0,0 @@ -@using System.ComponentModel.DataAnnotations - - - - - @_message - - - - First name - - - - - Middle name - - - - - Last name - - - - - Email Address - - - - - Photo - - - - - Submit - Reset - - -@code { - private EmployeeModal Modal { get; set; } = new EmployeeModal(); - private string _message = ""; - private void OnFileChange(InputFileChangeEventArgs e) - { - Modal.HasPendingPhoto = null; - if (e.FileCount > 0) - { - Modal.HasPendingPhoto = true; - Modal.PhotoName = e.File.Name; - } - } - private void OnSubmit(EditContext e) - { - if (e.Validate()) - { - _message = "Submitted to database"; - } - } - public class EmployeeModal - { - [Required(ErrorMessage = "Employee's First name must be provided.")] - public string? FirstName { get; set; } - - public string? MiddleName { get; set; } - - [Required(ErrorMessage = "Employee's Last name must be provided.")] - public string? LastName { get; set; } - - [Required(ErrorMessage = "Employee's Email address must be provided.")] - [EmailAddress(ErrorMessage = "Employee's Email address must be valid.")] - public string? Email { get; set; } - - [Required(ErrorMessage = "Employee must have a photo")] - public bool? HasPendingPhoto { get; set; } - public string? PhotoName { get; set; } - } - public void Reset() - { - Modal = new EmployeeModal(); - } -} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.css.md b/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.css.md new file mode 100644 index 00000000..eee93fcd --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.css.md @@ -0,0 +1,16 @@ +::deep .custom-file-button input[type=file] { + margin-left: -2px !important; +} + + ::deep .custom-file-button input[type=file]::-webkit-file-upload-button { + display: none; + } + + ::deep.custom-file-button input[type=file]::file-selector-button { + display: none; + } + +::deep .custom-file-button:hover label { + background-color: #dde0e3; + cursor: pointer; +} diff --git a/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.md b/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.md index eee93fcd..8122eaf9 100644 --- a/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.md +++ b/docs/VNext/docs/Samples/V4/Forms/Validation/ValidationMain.razor.md @@ -1,16 +1,80 @@ -::deep .custom-file-button input[type=file] { - margin-left: -2px !important; -} +@using System.ComponentModel.DataAnnotations + - ::deep .custom-file-button input[type=file]::-webkit-file-upload-button { - display: none; + + + @_message + + + + First name + + + + + Middle name + + + + + Last name + + + + + Email Address + + + + + Photo + + + + + Submit + Reset + + +@code { + private EmployeeModal Modal { get; set; } = new EmployeeModal(); + private string _message = ""; + private void OnFileChange(InputFileChangeEventArgs e) + { + Modal.HasPendingPhoto = null; + if (e.FileCount > 0) + { + Modal.HasPendingPhoto = true; + Modal.PhotoName = e.File.Name; + } } - - ::deep.custom-file-button input[type=file]::file-selector-button { - display: none; + private void OnSubmit(EditContext e) + { + if (e.Validate()) + { + _message = "Submitted to database"; + } } + public class EmployeeModal + { + [Required(ErrorMessage = "Employee's First name must be provided.")] + public string? FirstName { get; set; } + + public string? MiddleName { get; set; } + + [Required(ErrorMessage = "Employee's Last name must be provided.")] + public string? LastName { get; set; } -::deep .custom-file-button:hover label { - background-color: #dde0e3; - cursor: pointer; -} + [Required(ErrorMessage = "Employee's Email address must be provided.")] + [EmailAddress(ErrorMessage = "Employee's Email address must be valid.")] + public string? Email { get; set; } + + [Required(ErrorMessage = "Employee must have a photo")] + public bool? HasPendingPhoto { get; set; } + public string? PhotoName { get; set; } + } + public void Reset() + { + Modal = new EmployeeModal(); + } +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V4/Forms/Validation/index.txt b/docs/VNext/docs/Samples/V4/Forms/Validation/index.txt new file mode 100644 index 00000000..57d2fcc8 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Forms/Validation/index.txt @@ -0,0 +1,3 @@ +index.txt +ValidationMain.razor.css.md +ValidationMain.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Alignment.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Alignment.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Alignment.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Alignment.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Alignment2.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Alignment2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Alignment2.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Alignment2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks.md b/docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks2.md b/docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks2.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/ColBreaks2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/ColMargin.md b/docs/VNext/docs/Samples/V4/Layout/Columns/ColMargin.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/ColMargin.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/ColMargin.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/ColStandalone.md b/docs/VNext/docs/Samples/V4/Layout/Columns/ColStandalone.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/ColStandalone.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/ColStandalone.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Horizontal.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Horizontal.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Horizontal.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Horizontal.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting1.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting1.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting2.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting2.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Offsetting2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Order1.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Order1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Order1.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Order1.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Order2.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Order2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Order2.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Order2.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/Wrapping.md b/docs/VNext/docs/Samples/V4/Layout/Columns/Wrapping.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Columns/Wrapping.md rename to docs/VNext/docs/Samples/V4/Layout/Columns/Wrapping.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Columns/index.txt b/docs/VNext/docs/Samples/V4/Layout/Columns/index.txt new file mode 100644 index 00000000..bab32ea0 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Layout/Columns/index.txt @@ -0,0 +1,13 @@ +Alignment.razor.md +Alignment2.razor.md +ColBreaks.razor.md +ColBreaks2.razor.md +ColMargin.razor.md +ColStandalone.razor.md +Horizontal.razor.md +index.txt +Offsetting1.razor.md +Offsetting2.razor.md +Order1.razor.md +Order2.razor.md +Wrapping.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Containers/DefaultContainer.md b/docs/VNext/docs/Samples/V4/Layout/Containers/DefaultContainer.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Containers/DefaultContainer.md rename to docs/VNext/docs/Samples/V4/Layout/Containers/DefaultContainer.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Containers/FluidContainer.md b/docs/VNext/docs/Samples/V4/Layout/Containers/FluidContainer.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Containers/FluidContainer.md rename to docs/VNext/docs/Samples/V4/Layout/Containers/FluidContainer.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Containers/ResponsiveContainers.md b/docs/VNext/docs/Samples/V4/Layout/Containers/ResponsiveContainers.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/Layout/Containers/ResponsiveContainers.md rename to docs/VNext/docs/Samples/V4/Layout/Containers/ResponsiveContainers.razor.md diff --git a/docs/VNext/docs/Samples/V4/Layout/Containers/index.txt b/docs/VNext/docs/Samples/V4/Layout/Containers/index.txt new file mode 100644 index 00000000..510659e3 --- /dev/null +++ b/docs/VNext/docs/Samples/V4/Layout/Containers/index.txt @@ -0,0 +1,4 @@ +DefaultContainer.razor.md +FluidContainer.razor.md +index.txt +ResponsiveContainers.razor.md diff --git a/docs/VNext/docs/Samples/V4/_Imports.md b/docs/VNext/docs/Samples/V4/_Imports.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V4/_Imports.md rename to docs/VNext/docs/Samples/V4/_Imports.razor.md diff --git a/docs/VNext/docs/Samples/V4/index.txt b/docs/VNext/docs/Samples/V4/index.txt new file mode 100644 index 00000000..8aeb95fa --- /dev/null +++ b/docs/VNext/docs/Samples/V4/index.txt @@ -0,0 +1,2 @@ +index.txt +_Imports.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion1.md b/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Accordion/Accordion1.md rename to docs/VNext/docs/Samples/V5/Components/Accordion/Accordion1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion2.md b/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Accordion/Accordion2.md rename to docs/VNext/docs/Samples/V5/Components/Accordion/Accordion2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion3.md b/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Accordion/Accordion3.md rename to docs/VNext/docs/Samples/V5/Components/Accordion/Accordion3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion4.md b/docs/VNext/docs/Samples/V5/Components/Accordion/Accordion4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Accordion/Accordion4.md rename to docs/VNext/docs/Samples/V5/Components/Accordion/Accordion4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Accordion/index.txt b/docs/VNext/docs/Samples/V5/Components/Accordion/index.txt new file mode 100644 index 00000000..3e05b0ef --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Accordion/index.txt @@ -0,0 +1,5 @@ +Accordion1.razor.md +Accordion2.razor.md +Accordion3.razor.md +Accordion4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts1.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts1.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts2.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts2.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts3.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts3.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts4.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts4.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts5.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts5.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts5.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts6.md b/docs/VNext/docs/Samples/V5/Components/Alerts/Alerts6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Alerts/Alerts6.md rename to docs/VNext/docs/Samples/V5/Components/Alerts/Alerts6.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Alerts/index.txt b/docs/VNext/docs/Samples/V5/Components/Alerts/index.txt new file mode 100644 index 00000000..81e3d023 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Alerts/index.txt @@ -0,0 +1,7 @@ +Alerts1.razor.md +Alerts2.razor.md +Alerts3.razor.md +Alerts4.razor.md +Alerts5.razor.md +Alerts6.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/Badge1.md b/docs/VNext/docs/Samples/V5/Components/Badge/Badge1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Badge/Badge1.md rename to docs/VNext/docs/Samples/V5/Components/Badge/Badge1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/Badge2.md b/docs/VNext/docs/Samples/V5/Components/Badge/Badge2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Badge/Badge2.md rename to docs/VNext/docs/Samples/V5/Components/Badge/Badge2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/Badge3.md b/docs/VNext/docs/Samples/V5/Components/Badge/Badge3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Badge/Badge3.md rename to docs/VNext/docs/Samples/V5/Components/Badge/Badge3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/Badge4.md b/docs/VNext/docs/Samples/V5/Components/Badge/Badge4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Badge/Badge4.md rename to docs/VNext/docs/Samples/V5/Components/Badge/Badge4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/Badge5.md b/docs/VNext/docs/Samples/V5/Components/Badge/Badge5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Badge/Badge5.md rename to docs/VNext/docs/Samples/V5/Components/Badge/Badge5.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Badge/index.txt b/docs/VNext/docs/Samples/V5/Components/Badge/index.txt new file mode 100644 index 00000000..55f6b510 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Badge/index.txt @@ -0,0 +1,6 @@ +Badge1.razor.md +Badge2.razor.md +Badge3.razor.md +Badge4.razor.md +Badge5.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb0.md b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb0.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb0.md rename to docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb0.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb1.md b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb1.md rename to docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb2.md b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb2.md rename to docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb3.md b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb3.md rename to docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb4.md b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb4.md rename to docs/VNext/docs/Samples/V5/Components/Breadcrumb/Breadcrumb4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Breadcrumb/index.txt b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/index.txt new file mode 100644 index 00000000..55486ee9 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Breadcrumb/index.txt @@ -0,0 +1,6 @@ +Breadcrumb0.razor.md +Breadcrumb1.razor.md +Breadcrumb2.razor.md +Breadcrumb3.razor.md +Breadcrumb4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/ButtonGroup/ButtonGroup1.md b/docs/VNext/docs/Samples/V5/Components/ButtonGroup/ButtonGroup1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/ButtonGroup/ButtonGroup1.md rename to docs/VNext/docs/Samples/V5/Components/ButtonGroup/ButtonGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/ButtonGroup/index.txt b/docs/VNext/docs/Samples/V5/Components/ButtonGroup/index.txt new file mode 100644 index 00000000..3e89233a --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/ButtonGroup/index.txt @@ -0,0 +1,2 @@ +ButtonGroup1.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Buttons/Buttons1.md b/docs/VNext/docs/Samples/V5/Components/Buttons/Buttons1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Buttons/Buttons1.md rename to docs/VNext/docs/Samples/V5/Components/Buttons/Buttons1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Buttons/Buttons2.md b/docs/VNext/docs/Samples/V5/Components/Buttons/Buttons2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Buttons/Buttons2.md rename to docs/VNext/docs/Samples/V5/Components/Buttons/Buttons2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Buttons/index.txt b/docs/VNext/docs/Samples/V5/Components/Buttons/index.txt new file mode 100644 index 00000000..229c892a --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Buttons/index.txt @@ -0,0 +1,3 @@ +Buttons1.razor.md +Buttons2.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Card/Card1.md b/docs/VNext/docs/Samples/V5/Components/Card/Card1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Card/Card1.md rename to docs/VNext/docs/Samples/V5/Components/Card/Card1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Card/index.txt b/docs/VNext/docs/Samples/V5/Components/Card/index.txt new file mode 100644 index 00000000..78b18201 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Card/index.txt @@ -0,0 +1,2 @@ +Card1.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel1.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel1.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel2.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel2.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel3.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel3.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel4.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel4.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel5.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel5.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel5.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel6.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel6.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel6.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel7.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel7.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel7.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel8.md b/docs/VNext/docs/Samples/V5/Components/Carousel/Carousel8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Carousel/Carousel8.md rename to docs/VNext/docs/Samples/V5/Components/Carousel/Carousel8.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Carousel/index.txt b/docs/VNext/docs/Samples/V5/Components/Carousel/index.txt new file mode 100644 index 00000000..b166a432 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Carousel/index.txt @@ -0,0 +1,9 @@ +Carousel1.razor.md +Carousel2.razor.md +Carousel3.razor.md +Carousel4.razor.md +Carousel5.razor.md +Carousel6.razor.md +Carousel7.razor.md +Carousel8.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton1.md b/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton1.md rename to docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton2.md b/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton2.md rename to docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton3.md b/docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton3.md rename to docs/VNext/docs/Samples/V5/Components/CloseButton/CloseButton3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/CloseButton/index.txt b/docs/VNext/docs/Samples/V5/Components/CloseButton/index.txt new file mode 100644 index 00000000..04acd183 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/CloseButton/index.txt @@ -0,0 +1,4 @@ +CloseButton1.razor.md +CloseButton2.razor.md +CloseButton3.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse1.md b/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Collapse/Collapse1.md rename to docs/VNext/docs/Samples/V5/Components/Collapse/Collapse1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse2.md b/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Collapse/Collapse2.md rename to docs/VNext/docs/Samples/V5/Components/Collapse/Collapse2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse3.md b/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Collapse/Collapse3.md rename to docs/VNext/docs/Samples/V5/Components/Collapse/Collapse3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse4.md b/docs/VNext/docs/Samples/V5/Components/Collapse/Collapse4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Collapse/Collapse4.md rename to docs/VNext/docs/Samples/V5/Components/Collapse/Collapse4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Collapse/index.txt b/docs/VNext/docs/Samples/V5/Components/Collapse/index.txt new file mode 100644 index 00000000..66159938 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Collapse/index.txt @@ -0,0 +1,5 @@ +Collapse1.razor.md +Collapse2.razor.md +Collapse3.razor.md +Collapse4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.cs.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.cs.md new file mode 100644 index 00000000..d4ee0663 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.cs.md @@ -0,0 +1,34 @@ +using BlazorComponentUtilities; +using BlazorStrap_Docs.SamplesHelpers.Content.Tables; +using BlazorStrap; +using BlazorStrap.Extensions; +using BlazorStrap.V5; + +namespace BlazorStrap_Docs.Samples.V5.Components.DataGrid; + +public partial class DataGrid1 +{ + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private BSDataGrid _dataGrid; + private readonly Table2Model _sampleData = new Table2Model(); + private ICollection _employees; + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + protected override void OnInitialized() + { + _employees = _sampleData.DataSet; + } + + private string? _filterClass => new CssBuilder() + .AddClass("system-uicons--filter") + .Build().ToNullString(); + + private string? _menuClass => new CssBuilder() + .AddClass("system-uicons--menu") + .Build().ToNullString(); +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.css.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.css.md new file mode 100644 index 00000000..f8d39c19 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.css.md @@ -0,0 +1,142 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} + +.grid-header-button { + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0; + padding: 0; +} +::deep .grid-header-link{ + font-weight: inherit; + background: none; + color: inherit; + border: none; + text-align: inherit; + margin: 0 .25rem 0 0; + padding: 0; +} +th button.sort-by { + padding-right: 18px; + position: relative; +} + +button.sort-by:before, +button.sort-by:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-by:before { + border-bottom-color: #666; + margin-top: -9px; +} + +button.sort-by:after { + border-top-color: #666; + margin-top: 1px; +} + +th button.sort { + padding-right: 18px; + position: relative; +} + +button.sort:before, +button.sort:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort:before { + border-bottom-color: #666; + margin-top: -9px; +} + +th button.sort-desc { + padding-right: 18px; + position: relative; +} + +button.sort-desc:before, +button.sort-desc:after { + border: 4px solid transparent; + content: ""; + display: block; + height: 0; + right: 5px; + top: 50%; + position: absolute; + width: 0; +} + +button.sort-desc:after { + border-top-color: #666; + margin-top: 1px; +} + + +.system-uicons--filter { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='currentColor' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--filter-empty { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m.5.5h12l-4 7v3l-3 3v-6z' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' transform='translate(4 4)'/%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} +.system-uicons--menu { + display: inline-block; + width: 1em; + height: 1em; + --svg: url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5h12'/%3E%3Cpath d='m4.498 10.5h11.997'/%3E%3Cpath d='m4.5 14.5h11.995'/%3E%3C/g%3E%3C/svg%3E"); + background-color: currentColor; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.md new file mode 100644 index 00000000..078d6338 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid1.razor.md @@ -0,0 +1,39 @@ +@using BlazorComponentUtilities +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using BlazorStrap.Extensions +@using BlazorStrap.V5 +
+ Items per page + + Pagination Placement + + +
+
+ + + +
+ +
+ @context.Id +
+ + + +
+
+
\ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid2.razor.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid2.razor.md new file mode 100644 index 00000000..70ebce20 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid2.razor.md @@ -0,0 +1,77 @@ +@implements IDisposable +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using Microsoft.EntityFrameworkCore +@inject IDbContextFactory dbFactory + +
+ Items per page + + Pagination Placement + + +
+ + + + +
+ +
+
+
+ + +
+ +
+
+
+ + +
+
+ +@code { + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private string _filter = string.Empty; + + //This is just a auto fill class for the table for sample data. + private readonly Table2Model _sampleData = new Table2Model(); + private bool _isLoaded; + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + protected override void OnInitialized() + { + _db = dbFactory.CreateDbContext(); + if (!_db.Employees.Any() && !_isLoaded) + { + _db.Employees.AddRange(_sampleData.DataSet); + _db.SaveChanges(); + _isLoaded = true; + } + } + + public void Dispose() + { + _db?.Dispose(); + } +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.css.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.css.md new file mode 100644 index 00000000..988a8faf --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.css.md @@ -0,0 +1,17 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} +::deep .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.md new file mode 100644 index 00000000..de0d2368 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid3.razor.md @@ -0,0 +1,133 @@ +@using System.Net.Http.Json +@using System.Text.Json +@using System.Text.Json.Serialization +@using BlazorStrap_Docs.Models +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using Microsoft.EntityFrameworkCore +@inject NavigationManager NavigationManager +
+ Items per page + + Pagination Placement + +
+
+ Search Product Name + +
+
+ + + + + + + + +
+@code { + private GridItemsProvider _itemsProvider; + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private BSDataGrid _dataGrid; + private string? _productName; + + protected override void OnInitialized() + { + _itemsProvider = async request => + { + var sort = request.SortColumns.FirstOrDefault(x => x.Sorted); + var filterList = request.FilterColumns; + var filterQuery = ""; + if(!string.IsNullOrEmpty(_productName)) + { + filterQuery += " AND proprietary_name:[\"" + _productName + "\" TO \"" + GetNextChar(_productName) + "\"]"; + } + + if(filterList.Count > 0) + { + foreach (var filter in filterList) + { + if (!string.IsNullOrEmpty(filter.Value)) + { + filterQuery += " AND " + GetJsonName(filter.Property) + ":[\"" + filter.Value + "\" TO \"" + GetNextChar(filter.Value) + "\"]"; + } + } + } + var sortQuery = ""; + if (sort != null) + { + var order = sort.Descending ? "des" : "asc"; + var sortProperty = GetJsonName(sort.PropertyPath); + sortQuery = $"{sortProperty}:{order}"; + } + + var url = NavigationManager.GetUriWithQueryParameters("https://api.fda.gov/other/nsde.json", new Dictionary + { + {"skip", request.StartIndex}, + {"limit", request.Count}, + {"sort", sortQuery}, + {"search", "marketing_start_date:[20210401 TO 20220101]" + filterQuery } + + }); + var httpClient = new HttpClient(); + var httpRequest = await httpClient.GetAsync(url); + if(!httpRequest.IsSuccessStatusCode) + { + return DataGridResponce.Create(new List(), 0); + } + var data = await httpRequest.Content.ReadFromJsonAsync(); + return DataGridResponce.Create(data.Results, data.Meta.Results.Total); + }; + } + + private static string GetJsonName(string property) + { + return property switch + { + "ProprietaryName" => "proprietary_name", + "ProductType" => "product_type", + "MarketingStartDate" => "marketing_start_date", + "ApplicationNumberOrCitation" => "application_number_or_citation", + _ => "" + }; + } + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + private static string GetNextChar(string value) + { + if (string.IsNullOrEmpty(value)) + { + return "A"; + } + var lastChar = value[^1]; + if (lastChar == 'Z') + { + return value + "A"; + } + return value[..^1] + (char)(lastChar + 1); + } + private Task UpdateGridItemsAsync() + { + return _dataGrid.RefreshItemsAsync(); + } + +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.css.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.css.md new file mode 100644 index 00000000..988a8faf --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.css.md @@ -0,0 +1,17 @@ +::deep .bs-datagrid { + height: 20rem; + overflow-y: auto; +} + +::deep .bs-datagrid table{ + min-width: 100%; +} +::deep .bs-datagrid tr { + height: 30px; +} +::deep .bs-datagrid td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 50px !important; +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.md b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.md new file mode 100644 index 00000000..7b1cb921 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/DataGrid4.razor.md @@ -0,0 +1,114 @@ +@using System.Net.Http.Json +@using System.Text.Json +@using System.Text.Json.Serialization +@using BlazorStrap_Docs.Models +@using BlazorStrap_Docs.SamplesHelpers.Content.Tables +@using Microsoft.EntityFrameworkCore +@inject NavigationManager NavigationManager +
+ Search Product Name + +
+
+ + + + + + + + +
+@code { + private GridItemsProvider _itemsProvider; + private PaginationState _pagination = new PaginationState() { ItemsPerPage = 10 }; + private AppDbContext? _db; + private BSDataGrid _dataGrid; + private string? _productName; + + protected override void OnInitialized() + { + _itemsProvider = async request => + { + var sort = request.SortColumns.FirstOrDefault(x => x.Sorted); + var filterList = request.FilterColumns; + var filterQuery = ""; + if(!string.IsNullOrEmpty(_productName)) + { + filterQuery += " AND proprietary_name:[\"" + _productName + "\" TO \"" + GetNextChar(_productName) + "\"]"; + } + + if(filterList.Count > 0) + { + foreach (var filter in filterList) + { + if (!string.IsNullOrEmpty(filter.Value)) + { + filterQuery += " AND " + GetJsonName(filter.Property) + ":[\"" + filter.Value + "\" TO \"" + GetNextChar(filter.Value) + "\"]"; + } + } + } + var sortQuery = ""; + if (sort != null) + { + var order = sort.Descending ? "des" : "asc"; + var sortProperty = GetJsonName(sort.PropertyPath); + sortQuery = $"{sortProperty}:{order}"; + } + + var url = NavigationManager.GetUriWithQueryParameters("https://api.fda.gov/other/nsde.json", new Dictionary + { + {"skip", request.StartIndex}, + {"limit", request.Count}, + {"sort", sortQuery}, + {"search", "marketing_start_date:[20210401 TO 20220101]" + filterQuery } + + }); + var httpClient = new HttpClient(); + var httpRequest = await httpClient.GetAsync(url); + if(!httpRequest.IsSuccessStatusCode) + { + return DataGridResponce.Create(new List(), 0); + } + var data = await httpRequest.Content.ReadFromJsonAsync(); + return DataGridResponce.Create(data.Results, data.Meta.Results.Total); + }; + } + + private static string GetJsonName(string property) + { + return property switch + { + "ProprietaryName" => "proprietary_name", + "ProductType" => "product_type", + "MarketingStartDate" => "marketing_start_date", + "ApplicationNumberOrCitation" => "application_number_or_citation", + _ => "" + }; + } + + private Func, SortData> _nameSort = data => + { + data.Ordered = data.Descending ? data.Query.OrderByDescending(q => q.Name) : data.Query.OrderBy(q => q.Name); + return data; + }; + + private static string GetNextChar(string value) + { + if (string.IsNullOrEmpty(value)) + { + return "A"; + } + var lastChar = value[^1]; + if (lastChar == 'Z') + { + return value + "A"; + } + return value[..^1] + (char)(lastChar + 1); + } + private Task UpdateGridItemsAsync() + { + return _dataGrid.RefreshItemsAsync(); + } + +} \ No newline at end of file diff --git a/docs/VNext/docs/Samples/V5/Components/DataGrid/index.txt b/docs/VNext/docs/Samples/V5/Components/DataGrid/index.txt new file mode 100644 index 00000000..9eb80ad7 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/DataGrid/index.txt @@ -0,0 +1,9 @@ +DataGrid1.razor.cs.md +DataGrid1.razor.css.md +DataGrid1.razor.md +DataGrid2.razor.md +DataGrid3.razor.css.md +DataGrid3.razor.md +DataGrid4.razor.css.md +DataGrid4.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns10.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns10.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns10.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns11.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns11.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns11.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns11.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns12.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns12.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns12.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns12.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns13.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns13.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns13.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns13.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns14.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns14.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns14.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns14.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns15.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns15.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns15.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns15.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns16.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns16.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns16.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns16.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns17.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns17.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns17.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns17.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns18.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns18.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns18.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns18.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns19.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns19.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns19.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns19.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1a.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1a.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1a.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns1a.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns2.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns2.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns20.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns20.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns20.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns20.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns21.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns21.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns21.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns21.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns22.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns22.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns22.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns22.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns23.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns23.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns23.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns23.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns24.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns24.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns24.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns24.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns25.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns25.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns25.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns25.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns3.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns3.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns3.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns3.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns4.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns4.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns4.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns4.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns5.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns5.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns5.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns5.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns6.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns6.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns6.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns6.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns7.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns7.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns7.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns7.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns8.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns8.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns8.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns8.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns9.md b/docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns9.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns9.md rename to docs/VNext/docs/Samples/V5/Components/Dropdowns/Dropdowns9.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Dropdowns/index.txt b/docs/VNext/docs/Samples/V5/Components/Dropdowns/index.txt new file mode 100644 index 00000000..54abf95b --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Dropdowns/index.txt @@ -0,0 +1,27 @@ +Dropdowns1.razor.md +Dropdowns10.razor.md +Dropdowns11.razor.md +Dropdowns12.razor.md +Dropdowns13.razor.md +Dropdowns14.razor.md +Dropdowns15.razor.md +Dropdowns16.razor.md +Dropdowns17.razor.md +Dropdowns18.razor.md +Dropdowns19.razor.md +Dropdowns1a.razor.md +Dropdowns2.razor.md +Dropdowns20.razor.md +Dropdowns21.razor.md +Dropdowns22.razor.md +Dropdowns23.razor.md +Dropdowns24.razor.md +Dropdowns25.razor.md +Dropdowns3.razor.md +Dropdowns4.razor.md +Dropdowns5.razor.md +Dropdowns6.razor.md +Dropdowns7.razor.md +Dropdowns8.razor.md +Dropdowns9.razor.md +index.txt diff --git a/docs/VNext/docs/Samples/V5/Components/Link/Link1.md b/docs/VNext/docs/Samples/V5/Components/Link/Link1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Link/Link1.md rename to docs/VNext/docs/Samples/V5/Components/Link/Link1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Link/Link2.md b/docs/VNext/docs/Samples/V5/Components/Link/Link2.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Link/Link2.md rename to docs/VNext/docs/Samples/V5/Components/Link/Link2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Link/index.txt b/docs/VNext/docs/Samples/V5/Components/Link/index.txt new file mode 100644 index 00000000..04f7e5a4 --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/Link/index.txt @@ -0,0 +1,3 @@ +index.txt +Link1.razor.md +Link2.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/ListGroup/ListGroup1.md b/docs/VNext/docs/Samples/V5/Components/ListGroup/ListGroup1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/ListGroup/ListGroup1.md rename to docs/VNext/docs/Samples/V5/Components/ListGroup/ListGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/ListGroup/index.txt b/docs/VNext/docs/Samples/V5/Components/ListGroup/index.txt new file mode 100644 index 00000000..46ff688b --- /dev/null +++ b/docs/VNext/docs/Samples/V5/Components/ListGroup/index.txt @@ -0,0 +1,2 @@ +index.txt +ListGroup1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Modal/Modal1.md b/docs/VNext/docs/Samples/V5/Components/Modal/Modal1.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Modal/Modal1.md rename to docs/VNext/docs/Samples/V5/Components/Modal/Modal1.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Modal/Modal10.md b/docs/VNext/docs/Samples/V5/Components/Modal/Modal10.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Modal/Modal10.md rename to docs/VNext/docs/Samples/V5/Components/Modal/Modal10.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Modal/Modal11.md b/docs/VNext/docs/Samples/V5/Components/Modal/Modal11.razor.md similarity index 100% rename from docs/VNext/docs/Samples/V5/Components/Modal/Modal11.md rename to docs/VNext/docs/Samples/V5/Components/Modal/Modal11.razor.md diff --git a/docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.md b/docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.razor.md similarity index 93% rename from docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.md rename to docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.razor.md index 874d83ff..e15f9e7d 100644 --- a/docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.md +++ b/docs/VNext/docs/Samples/V5/Components/Modal/Modal1b.razor.md @@ -1,6 +1,6 @@ @inject IBlazorStrap _blazorStrap - +
You are about to do something
Are you sure you want to do something?