diff --git a/src/edi/jsonforms/static/css/vue-json-form.css b/src/edi/jsonforms/static/css/vue-json-form.css index d34e1fd..99dc89c 100644 --- a/src/edi/jsonforms/static/css/vue-json-form.css +++ b/src/edi/jsonforms/static/css/vue-json-form.css @@ -1 +1 @@ -.vjf_fieldset-content{border-left:3px solid gray!important;padding-left:10px!important;margin-left:5px!important}.vjf_group{margin-bottom:15px}.vjf_arrayItem>*>*>*>.vjf_object,.vjf_arrayItem>*>*>* .vjf_array{flex:1 1 auto;border-top:var(--bs-border-width) solid var(--bs-border-color);border-bottom:var(--bs-border-width) solid var(--bs-border-color)}.vjf_arrayItem>*>*>.input-group>*:nth-child(2){flex-grow:1}.vjf_arrayItem>*>*>.input-group>*:nth-child(2)>.vjf_array{padding:0 5px 5px}.vjf_arrayItem>*>*>.input-group>*:nth-child(2)>.vjf_array>*>*>*>*{margin-bottom:4px!important}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group{margin-top:4px;margin-bottom:2px;width:100%;height:min-content}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group>.vjf_fieldset-content{border:none!important;margin-right:5px;padding-right:10px}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group>.vjf_fieldset-content>*:last-child .vjf_control{margin-bottom:8px!important}.b-avatar{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:2.5rem;height:2.5rem;font-size:inherit;font-weight:400;line-height:1;max-width:100%;max-height:auto;text-align:center;overflow:visible;position:relative;transition:color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out}.b-avatar:focus{outline:0}.b-avatar.btn,.b-avatar[href]{padding:0;border:0}.b-avatar.btn .b-avatar-img img,.b-avatar[href] .b-avatar-img img{transition:transform .15s ease-in-out}.b-avatar.btn:not(:disabled):not(.disabled),.b-avatar[href]:not(:disabled):not(.disabled){cursor:pointer}.b-avatar.btn:not(:disabled):not(.disabled):hover .b-avatar-img img,.b-avatar[href]:not(:disabled):not(.disabled):hover .b-avatar-img img{transform:scale(1.15)}.b-avatar.disabled,.b-avatar:disabled,.b-avatar[disabled]{opacity:.65;pointer-events:none}.b-avatar .b-avatar-custom,.b-avatar .b-avatar-text,.b-avatar .b-avatar-img{border-radius:inherit;width:100%;height:100%;overflow:hidden;display:flex;justify-content:center;align-items:center;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.b-avatar .b-avatar-text{text-transform:uppercase;white-space:nowrap}.b-avatar[href]{text-decoration:none}.b-avatar>.bootstrap-icon{width:60%;height:auto;max-width:100%}.b-avatar .b-avatar-img img{width:100%;height:100%;max-height:auto;border-radius:inherit;object-fit:cover}.b-avatar .b-avatar-badge{position:absolute;min-height:1.5em;min-width:1.5em;padding:.25em;line-height:1;border-radius:10em;font-size:70%;font-weight:700;z-index:1}.b-avatar-sm{width:1.5rem;height:1.5rem}.b-avatar-sm .b-avatar-text{font-size:.6rem}.b-avatar-sm .b-avatar-badge{font-size:.42rem}.b-avatar-lg{width:3.5rem;height:3.5rem}.b-avatar-lg .b-avatar-text{font-size:1.4rem}.b-avatar-lg .b-avatar-badge{font-size:.98rem}.b-avatar-group .b-avatar-group-inner{display:flex;flex-wrap:wrap}.b-avatar-group .b-avatar{border:1px solid #dee2e6}.b-avatar-group a.b-avatar:hover:not(.disabled):not(disabled),.b-avatar-group .btn.b-avatar:hover:not(.disabled):not(disabled){z-index:1}.card-deck{gap:1.5rem}@media (min-width: 576px){.card-deck{display:flex;flex-flow:row wrap}}.card-deck>.card{flex:1 0 0%;margin-bottom:0}.card-columns .card{margin-bottom:.75rem}@media (min-width: 576px){.card-columns{column-count:3;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.b-form-rating{display:flex;justify-content:space-between;padding:.375rem .75rem;margin:.5rem;border-radius:.375rem;border:1px solid var(--bs-secondary-border-subtle, #dee2e6);background-color:var(--bs-body-bg);gap:.25rem}.b-form-rating.no-border{border:none}.b-form-rating.is-disabled{color:var(--bs-secondary);background-color:var(--bs-secondary-bg)}.b-form-rating .clear-icon{width:1em;height:1em;transition:transform var(--bs-transition-duration) ease;color:var(--bs-body-color);fill:currentColor}.b-form-rating:not(.is-readonly):not(.is-disabled) .clear-icon:hover{transform:scale(1.5)}.star{cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 .25em}.is-readonly .star,.is-disabled .star{cursor:default}.clear-button-spacing{cursor:pointer;margin-left:.5rem}.star-spacing{margin:0 .5rem}.rating-value-text{color:var(--bs-body-color);margin:0 .6}.b-form-rating-star svg{transition:transform .2s ease}.b-form-rating:not(.is-readonly):not(.is-disabled) .star:hover .b-form-rating-star svg{transform:scale(1.5)}.b-form-tags.focus{background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.b-form-tags.disabled{background-color:var(--bs-secondary-bg)}.b-form-tag.disabled{opacity:.75}.b-form-tags.focus.is-valid{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.b-form-tags.focus.is-invalid{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.b-form-tags .b-form-tags-list{margin-top:-.25rem}.b-form-tags .b-form-tags-list .b-form-tag,.b-form-tags .b-form-tags-list .b-from-tags-field{margin-top:.25rem}.b-form-tags .b-form-tags-list .b-form-tag{padding:.25em .65em}.b-form-tag{font-size:75%!important;font-weight:400!important;line-height:1.5!important;margin-right:.25rem}.b-form-tags .b-form-tag+.b-form-tag{margin-left:0}.b-form-tag>button.b-form-tag-remove{color:inherit;font-size:75%;line-height:1;float:none;margin-left:.25rem}.input-group .btn-group:not(:last-child)>:not(:first-child){border-start-end-radius:0px;border-end-end-radius:0px}.input-group .btn-group:not(:last-child)>:not(:last-child){border-start-start-radius:0px;border-end-start-radius:0px}.input-group .btn-group:not(:first-child)>:not(:last-child){border-end-start-radius:0px;border-start-start-radius:0px}.b-pagination-pills .page-item .page-link{border-radius:50rem!important;margin-left:.25rem!important;line-height:1}.b-pagination-pills .page-item:first-child .page-link{margin-left:0!important}.b-table-stacked-label{display:none;font-weight:700}.table.b-table.b-table-stacked{display:block;width:100%}.table.b-table.b-table-stacked>tfoot,.table.b-table.b-table-stacked>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked>thead,.table.b-table.b-table-stacked>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked>caption,.table.b-table.b-table-stacked>tbody,.table.b-table.b-table-stacked>tbody>tr,.table.b-table.b-table-stacked>tbody>tr>td,.table.b-table.b-table-stacked>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked>tbody>tr>th{display:block}.table.b-table.b-table-stacked>tbody>tr>:first-child,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}@media (max-width: 575.98px){.table.b-table.b-table-stacked-sm{display:block;width:100%}.table.b-table.b-table-stacked-sm>tfoot,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-sm>thead,.table.b-table.b-table-stacked-sm>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-sm>caption,.table.b-table.b-table-stacked-sm>tbody,.table.b-table.b-table-stacked-sm>tbody>tr,.table.b-table.b-table-stacked-sm>tbody>tr>td,.table.b-table.b-table-stacked-sm>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-sm>tbody>tr>th{display:block}.table.b-table.b-table-stacked-sm>tbody>tr>:first-child,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 767.98px){.table.b-table.b-table-stacked-md{display:block;width:100%}.table.b-table.b-table-stacked-md>tfoot,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-md>thead,.table.b-table.b-table-stacked-md>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-md>caption,.table.b-table.b-table-stacked-md>tbody,.table.b-table.b-table-stacked-md>tbody>tr,.table.b-table.b-table-stacked-md>tbody>tr>td,.table.b-table.b-table-stacked-md>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-md>tbody>tr>th{display:block}.table.b-table.b-table-stacked-md>tbody>tr>:first-child,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 991.98px){.table.b-table.b-table-stacked-lg{display:block;width:100%}.table.b-table.b-table-stacked-lg>tfoot,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-lg>thead,.table.b-table.b-table-stacked-lg>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-lg>caption,.table.b-table.b-table-stacked-lg>tbody,.table.b-table.b-table-stacked-lg>tbody>tr,.table.b-table.b-table-stacked-lg>tbody>tr>td,.table.b-table.b-table-stacked-lg>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-lg>tbody>tr>th{display:block}.table.b-table.b-table-stacked-lg>tbody>tr>:first-child,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 1199.98px){.table.b-table.b-table-stacked-xl{display:block;width:100%}.table.b-table.b-table-stacked-xl>tfoot,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-xl>thead,.table.b-table.b-table-stacked-xl>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-xl>caption,.table.b-table.b-table-stacked-xl>tbody,.table.b-table.b-table-stacked-xl>tbody>tr,.table.b-table.b-table-stacked-xl>tbody>tr>td,.table.b-table.b-table-stacked-xl>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-xl>tbody>tr>th{display:block}.table.b-table.b-table-stacked-xl>tbody>tr>:first-child,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 1399.98px){.table.b-table.b-table-stacked-xxl{display:block;width:100%}.table.b-table.b-table-stacked-xxl>tfoot,.table.b-table.b-table-stacked-xxl>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xxl>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-xxl>thead,.table.b-table.b-table-stacked-xxl>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xxl>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-xxl>caption,.table.b-table.b-table-stacked-xxl>tbody,.table.b-table.b-table-stacked-xxl>tbody>tr,.table.b-table.b-table-stacked-xxl>tbody>tr>td,.table.b-table.b-table-stacked-xxl>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-xxl>tbody>tr>th{display:block}.table.b-table.b-table-stacked-xxl>tbody>tr>:first-child,.table.b-table.b-table-stacked-xxl>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-xxl>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}.b-table-sticky-header,.table-responsive,[class*=table-responsive-]{margin-bottom:1rem}.b-table-sticky-header>.table,.table-responsive>.table,[class*=table-responsive-]>.table{margin-bottom:0}.b-table-sticky-header{overflow-y:auto}@media print{.b-table-sticky-header{overflow-y:visible!important;max-height:none!important}}.table.b-table[aria-busy=true]{opacity:.55}@supports (position: sticky){.b-table-sticky-header>.table.b-table>thead>tr>th{position:sticky;top:0;z-index:2}.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column{position:sticky;left:0}.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column{z-index:5}.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column{z-index:2}}.table.b-table>tbody>tr>.table-b-table-default,.table.b-table>tfoot>tr>.table-b-table-default,.table.b-table>thead>tr>.table-b-table-default{color:#212529;background-color:#fff}.table th.b-table-sortable-column,.b-table.b-table-selectable td{cursor:pointer}.b-table.b-table-busy .b-table-busy-slot>td{border:none;padding:0}.b-table.b-table-fixed{table-layout:fixed}.b-table.b-table-no-border-collapse{border-collapse:separate;border-spacing:0}input[type=range].is-valid::-webkit-slider-thumb{background-color:#198754}input[type=range].is-valid::-moz-range-thumb{background-color:#198754}input[type=range].is-valid::-ms-thumb{background-color:#198754}input[type=range].is-invalid::-webkit-slider-thumb{background-color:#dc3545}input[type=range].is-invalid::-moz-range-thumb{background-color:#dc3545}input[type=range].is-invalid::-ms-thumb{background-color:#dc3545}input[type=range].is-valid::-webkit-slider-runnable-track{background-color:#84e8ba}input[type=range].is-valid::-moz-range-track{background-color:#84e8ba}input[type=range].is-valid::-ms-track{background-color:#84e8ba}input[type=range].is-invalid::-webkit-slider-runnable-track{background-color:#fae3e5}input[type=range].is-invalid::-moz-range-track{background-color:#fae3e5}input[type=range].is-invalid::-ms-track{background-color:#fae3e5}input[type=file].form-control-input-file-hide-button::-webkit-file-upload-button{display:none}input[type=file].form-control-input-file-hide-button::file-selector-button{display:none}.b-form-spinbutton{text-align:center;overflow:hidden;background-image:none;padding:0}[dir=rtl] .b-form-spinbutton:not(.flex-column),.b-form-spinbutton[dir=rtl]:not(.flex-column){flex-direction:row-reverse}.b-form-spinbutton output{font-size:inherit;outline:0;border:0;background-color:transparent;width:auto;margin:0;padding:0 .25rem}.b-form-spinbutton output>div,.b-form-spinbutton output>bdi{display:block;min-width:2.25em;height:1.5em}.b-form-spinbutton.flex-column{height:auto;width:auto}.b-form-spinbutton.flex-column output{margin:0 .25rem;padding:.25rem 0}.b-form-spinbutton:not(.d-inline-flex):not(.flex-column){output-width:100%}.b-form-spinbutton.d-inline-flex:not(.flex-column){width:auto}.b-form-spinbutton .btn{line-height:1;box-shadow:none!important}.b-form-spinbutton .btn:disabled{pointer-events:none}.b-form-spinbutton .btn:hover:not(:disabled)>div>.b-icon{transform:scale(1.25)}.b-form-spinbutton.disabled,.b-form-spinbutton.readonly{background-color:var(--bs-secondary-bg)}.b-form-spinbutton.disabled{pointer-events:none}.b-form-spinbutton:not(.form-control-sm):not(.form-control-lg):not(.flex-column){height:calc(1.5em + .5rem + var(--bs-border-width) * 2)}.alert .progress .progress-bar{--bs-progress-bar-transition: none}.alert .btn-close-custom{margin-bottom:auto;position:relative}.bs-popover-auto[data-popper-placement^=bottom] .popover-arrow:has(+div>.popover-header):after,.bs-popover-bottom .popover-arrow:has(+div>.popover-header):after{--bs-popover-bg: var(--bs-popover-header-bg)}.toast .progress .progress-bar{--bs-progress-bar-transition: none}.toast:not(.show){opacity:unset}.toast.fade:not(.show){opacity:0}.toast .btn-close-custom{margin:var(--bs-toast-padding-x) var(--bs-toast-padding-x) auto}.b-list-move,.b-list-enter-active,.b-list-leave-active{transition:all .5s cubic-bezier(.55,0,.1,1)}.b-list-enter-from,.b-list-leave-to{opacity:0}.b-list-leave-active{position:fixed}.container,.container-fluid{display:block}.input-group>.form-floating:not(:first-child)>:not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group:not(.has-validation)>.form-floating:not(:last-child)>:not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-toggle.dropdown-toggle-no-caret:before,.dropdown-toggle.dropdown-toggle-no-caret:after{display:none!important}.dropdown-menu.fade.showing{display:block!important}.bv-no-focus-ring:focus{outline:none}@media (max-width: 575.98px){.bv-d-sm-down-none{display:none!important}}@media (max-width: 767.98px){.bv-d-md-down-none{display:none!important}}@media (max-width: 991.98px){.bv-d-lg-down-none{display:none!important}}@media (max-width: 1199.98px){.bv-d-xl-down-none{display:none!important}}@media (max-width: 1399.98px){.bv-d-xxl-down-none{display:none!important}}.fade-enter-active,.fade-leave-active{transition:opacity .25s linear}.fade-enter-from,.fade-leave-to{opacity:0}.no-transition{transition:none!important}:root{--bs-modal-zindex: 1055;--bs-toast-max-width: 350px}.wrappers-parent[data-v-bc1e4033]{position:relative;margin-left:40px;margin-right:40px}.stepWrapper[data-v-bc1e4033]{position:relative;z-index:5}.custom-wizard-progress[data-v-bc1e4033]{--progress: 0%;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--bs-primary);mix-blend-mode:lighten}.custom-wizard-progress[data-v-bc1e4033]:after{content:"";position:absolute;top:0;left:var(--progress);width:calc(100% - var(--progress));height:100%;background:var(--bs-secondary-bg);transition:all .4s ease-in-out}.stepWrapperBg[data-v-bc1e4033]{background:var(--bs-body-bg);position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.stepWrapperBg .stepNumber[data-v-bc1e4033]{background:#000;border:none}.stepWrapperBg[data-v-bc1e4033]:before{content:"";position:absolute;top:50%;width:100%;border-radius:8px;height:13px;background:#000;transform:translateY(-50%)}.stepProgress[data-v-bc1e4033]{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);z-index:-2}@property --fadePercent{syntax: ""; initial-value: 100%; inherits: false;}.stepNumber[data-v-bc1e4033]{text-align:center;background:var(--bs-body-bg);position:relative;width:40px;height:40px;border-radius:50%;border:4px solid transparent;background-clip:content-box}.stepNumber>button[data-v-bc1e4033]{background:transparent;border:none!important}.stepNumber>button[disabled][data-v-bc1e4033]{color:unset}svg[data-v-8898cb0d]{width:1.5rem;height:auto}svg[data-v-451bf0ec]{width:1.5rem;height:auto}.handle[data-v-d5110738]{border:var(--bs-border-width) solid var(--bs-border-color);cursor:move;border-top-left-radius:var(--bs-border-radius);border-bottom-left-radius:var(--bs-border-radius);display:flex;justify-content:center;width:40px}.vjf_arrayItem[data-v-d5110738]>*{background:var(--bs-body-bg)}svg[data-v-9a59b4f7]{width:1.5rem;height:auto}.large-label{font-size:calc(1.275rem + .3vw)}.vjf_array-help-icon-wrapper{padding-left:.25rem}.vjf_label_wrapper{display:flex;align-items:center}.flip-list-move{transition:transform .5s}.no-move{transition:transform 0s}.ghost{opacity:.9}.list-group .input-group{border-radius:var(--bs-border-radius)}.ghost>*>*>*>*>.input-group{box-shadow:5px 5px 5px #1e2024;transform:scale(1.005);transition:all .1s ease-in-out}.hiddenControl{display:none}legend[data-v-50b45175]{display:flex;align-items:center}.vjf_horizontalLayout{display:flex;flex-direction:row;align-items:start;justify-content:space-around}.vjf_horizontalLayout>*{flex:2 1 auto;margin-left:10px;margin-right:10px}.vjf_horizontalLayout>*:first-child{margin-left:0}.vjf_horizontalLayout>*:last-child{margin-right:0}.pages-wrapper[data-v-68b30c87]{display:flex;flex-direction:column}.vjf_group>legend>span{padding-left:.25rem}.b-form-tags .b-form-tag{margin-left:4px;margin-right:4px} +.b-avatar{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:2.5rem;height:2.5rem;font-size:inherit;font-weight:400;line-height:1;max-width:100%;max-height:auto;text-align:center;overflow:visible;position:relative;transition:color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out}.b-avatar:focus{outline:0}.b-avatar.btn,.b-avatar[href]{padding:0;border:0}.b-avatar.btn .b-avatar-img img,.b-avatar[href] .b-avatar-img img{transition:transform .15s ease-in-out}.b-avatar.btn:not(:disabled):not(.disabled),.b-avatar[href]:not(:disabled):not(.disabled){cursor:pointer}.b-avatar.btn:not(:disabled):not(.disabled):hover .b-avatar-img img,.b-avatar[href]:not(:disabled):not(.disabled):hover .b-avatar-img img{transform:scale(1.15)}.b-avatar.disabled,.b-avatar:disabled,.b-avatar[disabled]{opacity:.65;pointer-events:none}.b-avatar .b-avatar-custom,.b-avatar .b-avatar-text,.b-avatar .b-avatar-img{border-radius:inherit;width:100%;height:100%;overflow:hidden;display:flex;justify-content:center;align-items:center;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.b-avatar .b-avatar-text{text-transform:uppercase;white-space:nowrap}.b-avatar[href]{text-decoration:none}.b-avatar>.bootstrap-icon{width:60%;height:auto;max-width:100%}.b-avatar .b-avatar-img img{width:100%;height:100%;max-height:auto;border-radius:inherit;object-fit:cover}.b-avatar .b-avatar-badge{position:absolute;min-height:1.5em;min-width:1.5em;padding:.25em;line-height:1;border-radius:10em;font-size:70%;font-weight:700;z-index:1}.b-avatar-sm{width:1.5rem;height:1.5rem}.b-avatar-sm .b-avatar-text{font-size:.6rem}.b-avatar-sm .b-avatar-badge{font-size:.42rem}.b-avatar-lg{width:3.5rem;height:3.5rem}.b-avatar-lg .b-avatar-text{font-size:1.4rem}.b-avatar-lg .b-avatar-badge{font-size:.98rem}.b-avatar-group .b-avatar-group-inner{display:flex;flex-wrap:wrap}.b-avatar-group .b-avatar{border:1px solid #dee2e6}.b-avatar-group a.b-avatar:hover:not(.disabled):not(disabled),.b-avatar-group .btn.b-avatar:hover:not(.disabled):not(disabled){z-index:1}.card-deck{gap:1.5rem}@media (min-width: 576px){.card-deck{display:flex;flex-flow:row wrap}}.card-deck>.card{flex:1 0 0%;margin-bottom:0}.card-columns .card{margin-bottom:.75rem}@media (min-width: 576px){.card-columns{column-count:3;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.b-form-rating{display:flex;justify-content:space-between;padding:.375rem .75rem;margin:.5rem;border-radius:.375rem;border:1px solid var(--bs-secondary-border-subtle, #dee2e6);background-color:var(--bs-body-bg);gap:.25rem}.b-form-rating.no-border{border:none}.b-form-rating.is-disabled{color:var(--bs-secondary);background-color:var(--bs-secondary-bg)}.b-form-rating .clear-icon{width:1em;height:1em;transition:transform var(--bs-transition-duration) ease;color:var(--bs-body-color);fill:currentColor}.b-form-rating:not(.is-readonly):not(.is-disabled) .clear-icon:hover{transform:scale(1.5)}.star{cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 .25em}.is-readonly .star,.is-disabled .star{cursor:default}.clear-button-spacing{cursor:pointer;margin-left:.5rem}.star-spacing{margin:0 .5rem}.rating-value-text{color:var(--bs-body-color);margin:0 .6}.b-form-rating-star svg{transition:transform .2s ease}.b-form-rating:not(.is-readonly):not(.is-disabled) .star:hover .b-form-rating-star svg{transform:scale(1.5)}.b-form-tags.focus{background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.b-form-tags.disabled{background-color:var(--bs-secondary-bg)}.b-form-tag.disabled{opacity:.75}.b-form-tags.focus.is-valid{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.b-form-tags.focus.is-invalid{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.b-form-tags .b-form-tags-list{margin-top:-.25rem}.b-form-tags .b-form-tags-list .b-form-tag,.b-form-tags .b-form-tags-list .b-from-tags-field{margin-top:.25rem}.b-form-tags .b-form-tags-list .b-form-tag{padding:.25em .65em}.b-form-tag{font-size:75%!important;font-weight:400!important;line-height:1.5!important;margin-right:.25rem}.b-form-tags .b-form-tag+.b-form-tag{margin-left:0}.b-form-tag>button.b-form-tag-remove{color:inherit;font-size:75%;line-height:1;float:none;margin-left:.25rem}.input-group .btn-group:not(:last-child)>:not(:first-child){border-start-end-radius:0px;border-end-end-radius:0px}.input-group .btn-group:not(:last-child)>:not(:last-child){border-start-start-radius:0px;border-end-start-radius:0px}.input-group .btn-group:not(:first-child)>:not(:last-child){border-end-start-radius:0px;border-start-start-radius:0px}.b-pagination-pills .page-item .page-link{border-radius:50rem!important;margin-left:.25rem!important;line-height:1}.b-pagination-pills .page-item:first-child .page-link{margin-left:0!important}.b-table-stacked-label{display:none;font-weight:700}.table.b-table.b-table-stacked{display:block;width:100%}.table.b-table.b-table-stacked>tfoot,.table.b-table.b-table-stacked>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked>thead,.table.b-table.b-table-stacked>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked>caption,.table.b-table.b-table-stacked>tbody,.table.b-table.b-table-stacked>tbody>tr,.table.b-table.b-table-stacked>tbody>tr>td,.table.b-table.b-table-stacked>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked>tbody>tr>th{display:block}.table.b-table.b-table-stacked>tbody>tr>:first-child,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}@media (max-width: 575.98px){.table.b-table.b-table-stacked-sm{display:block;width:100%}.table.b-table.b-table-stacked-sm>tfoot,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-sm>thead,.table.b-table.b-table-stacked-sm>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-sm>caption,.table.b-table.b-table-stacked-sm>tbody,.table.b-table.b-table-stacked-sm>tbody>tr,.table.b-table.b-table-stacked-sm>tbody>tr>td,.table.b-table.b-table-stacked-sm>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-sm>tbody>tr>th{display:block}.table.b-table.b-table-stacked-sm>tbody>tr>:first-child,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 767.98px){.table.b-table.b-table-stacked-md{display:block;width:100%}.table.b-table.b-table-stacked-md>tfoot,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-md>thead,.table.b-table.b-table-stacked-md>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-md>caption,.table.b-table.b-table-stacked-md>tbody,.table.b-table.b-table-stacked-md>tbody>tr,.table.b-table.b-table-stacked-md>tbody>tr>td,.table.b-table.b-table-stacked-md>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-md>tbody>tr>th{display:block}.table.b-table.b-table-stacked-md>tbody>tr>:first-child,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 991.98px){.table.b-table.b-table-stacked-lg{display:block;width:100%}.table.b-table.b-table-stacked-lg>tfoot,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-lg>thead,.table.b-table.b-table-stacked-lg>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-lg>caption,.table.b-table.b-table-stacked-lg>tbody,.table.b-table.b-table-stacked-lg>tbody>tr,.table.b-table.b-table-stacked-lg>tbody>tr>td,.table.b-table.b-table-stacked-lg>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-lg>tbody>tr>th{display:block}.table.b-table.b-table-stacked-lg>tbody>tr>:first-child,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 1199.98px){.table.b-table.b-table-stacked-xl{display:block;width:100%}.table.b-table.b-table-stacked-xl>tfoot,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-xl>thead,.table.b-table.b-table-stacked-xl>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-xl>caption,.table.b-table.b-table-stacked-xl>tbody,.table.b-table.b-table-stacked-xl>tbody>tr,.table.b-table.b-table-stacked-xl>tbody>tr>td,.table.b-table.b-table-stacked-xl>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-xl>tbody>tr>th{display:block}.table.b-table.b-table-stacked-xl>tbody>tr>:first-child,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}@media (max-width: 1399.98px){.table.b-table.b-table-stacked-xxl{display:block;width:100%}.table.b-table.b-table-stacked-xxl>tfoot,.table.b-table.b-table-stacked-xxl>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xxl>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-xxl>thead,.table.b-table.b-table-stacked-xxl>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xxl>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-xxl>caption,.table.b-table.b-table-stacked-xxl>tbody,.table.b-table.b-table-stacked-xxl>tbody>tr,.table.b-table.b-table-stacked-xxl>tbody>tr>td,.table.b-table.b-table-stacked-xxl>tbody>tr>td>.b-table-stacked-label,.table.b-table.b-table-stacked-xxl>tbody>tr>th{display:block}.table.b-table.b-table-stacked-xxl>tbody>tr>:first-child,.table.b-table.b-table-stacked-xxl>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-xxl>tbody>tr>[rowspan]+th{border-top-width:3px}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;word-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]:after{display:block;clear:both;content:""}.table.b-table.b-table-stacked-xxl>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}}.b-table-sticky-header,.table-responsive,[class*=table-responsive-]{margin-bottom:1rem}.b-table-sticky-header>.table,.table-responsive>.table,[class*=table-responsive-]>.table{margin-bottom:0}.b-table-sticky-header{overflow-y:auto}@media print{.b-table-sticky-header{overflow-y:visible!important;max-height:none!important}}.table.b-table[aria-busy=true]{opacity:.55}@supports (position: sticky){.b-table-sticky-header>.table.b-table>thead>tr>th{position:sticky;top:0;z-index:2}.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column{position:sticky;left:0}.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column{z-index:5}.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column{z-index:2}}.table.b-table>tbody>tr>.table-b-table-default,.table.b-table>tfoot>tr>.table-b-table-default,.table.b-table>thead>tr>.table-b-table-default{color:#212529;background-color:#fff}.table th.b-table-sortable-column,.b-table.b-table-selectable td{cursor:pointer}.b-table.b-table-busy .b-table-busy-slot>td{border:none;padding:0}.b-table.b-table-fixed{table-layout:fixed}.b-table.b-table-no-border-collapse{border-collapse:separate;border-spacing:0}input[type=range].is-valid::-webkit-slider-thumb{background-color:#198754}input[type=range].is-valid::-moz-range-thumb{background-color:#198754}input[type=range].is-valid::-ms-thumb{background-color:#198754}input[type=range].is-invalid::-webkit-slider-thumb{background-color:#dc3545}input[type=range].is-invalid::-moz-range-thumb{background-color:#dc3545}input[type=range].is-invalid::-ms-thumb{background-color:#dc3545}input[type=range].is-valid::-webkit-slider-runnable-track{background-color:#84e8ba}input[type=range].is-valid::-moz-range-track{background-color:#84e8ba}input[type=range].is-valid::-ms-track{background-color:#84e8ba}input[type=range].is-invalid::-webkit-slider-runnable-track{background-color:#fae3e5}input[type=range].is-invalid::-moz-range-track{background-color:#fae3e5}input[type=range].is-invalid::-ms-track{background-color:#fae3e5}input[type=file].form-control-input-file-hide-button::-webkit-file-upload-button{display:none}input[type=file].form-control-input-file-hide-button::file-selector-button{display:none}.b-form-spinbutton{text-align:center;overflow:hidden;background-image:none;padding:0}[dir=rtl] .b-form-spinbutton:not(.flex-column),.b-form-spinbutton[dir=rtl]:not(.flex-column){flex-direction:row-reverse}.b-form-spinbutton output{font-size:inherit;outline:0;border:0;background-color:transparent;width:auto;margin:0;padding:0 .25rem}.b-form-spinbutton output>div,.b-form-spinbutton output>bdi{display:block;min-width:2.25em;height:1.5em}.b-form-spinbutton.flex-column{height:auto;width:auto}.b-form-spinbutton.flex-column output{margin:0 .25rem;padding:.25rem 0}.b-form-spinbutton:not(.d-inline-flex):not(.flex-column){output-width:100%}.b-form-spinbutton.d-inline-flex:not(.flex-column){width:auto}.b-form-spinbutton .btn{line-height:1;box-shadow:none!important}.b-form-spinbutton .btn:disabled{pointer-events:none}.b-form-spinbutton .btn:hover:not(:disabled)>div>.b-icon{transform:scale(1.25)}.b-form-spinbutton.disabled,.b-form-spinbutton.readonly{background-color:var(--bs-secondary-bg)}.b-form-spinbutton.disabled{pointer-events:none}.b-form-spinbutton:not(.form-control-sm):not(.form-control-lg):not(.flex-column){height:calc(1.5em + .5rem + var(--bs-border-width) * 2)}.alert .progress .progress-bar{--bs-progress-bar-transition: none}.alert .btn-close-custom{margin-bottom:auto;position:relative}.bs-popover-auto[data-popper-placement^=bottom] .popover-arrow:has(+div>.popover-header):after,.bs-popover-bottom .popover-arrow:has(+div>.popover-header):after{--bs-popover-bg: var(--bs-popover-header-bg)}.toast .progress .progress-bar{--bs-progress-bar-transition: none}.toast:not(.show){opacity:unset}.toast.fade:not(.show){opacity:0}.toast .btn-close-custom{margin:var(--bs-toast-padding-x) var(--bs-toast-padding-x) auto}.b-list-move,.b-list-enter-active,.b-list-leave-active{transition:all .5s cubic-bezier(.55,0,.1,1)}.b-list-enter-from,.b-list-leave-to{opacity:0}.b-list-leave-active{position:fixed}.container,.container-fluid{display:block}.input-group>.form-floating:not(:first-child)>:not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group:not(.has-validation)>.form-floating:not(:last-child)>:not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-toggle.dropdown-toggle-no-caret:before,.dropdown-toggle.dropdown-toggle-no-caret:after{display:none!important}.dropdown-menu.fade.showing{display:block!important}.bv-no-focus-ring:focus{outline:none}@media (max-width: 575.98px){.bv-d-sm-down-none{display:none!important}}@media (max-width: 767.98px){.bv-d-md-down-none{display:none!important}}@media (max-width: 991.98px){.bv-d-lg-down-none{display:none!important}}@media (max-width: 1199.98px){.bv-d-xl-down-none{display:none!important}}@media (max-width: 1399.98px){.bv-d-xxl-down-none{display:none!important}}.fade-enter-active,.fade-leave-active{transition:opacity .25s linear}.fade-enter-from,.fade-leave-to{opacity:0}.no-transition{transition:none!important}:root{--bs-modal-zindex: 1055;--bs-toast-max-width: 350px}.vjf_fieldset-content{border-left:3px solid gray!important;padding-left:10px!important;margin-left:5px!important}.vjf_group{margin-bottom:15px}.vjf_arrayItem>*>*>*>.vjf_object,.vjf_arrayItem>*>*>* .vjf_array{flex:1 1 auto;border-top:var(--bs-border-width) solid var(--bs-border-color);border-bottom:var(--bs-border-width) solid var(--bs-border-color)}.vjf_arrayItem>*>*>.input-group>*:nth-child(2){flex-grow:1}.vjf_arrayItem>*>*>.input-group>*:nth-child(2)>.vjf_array{padding:0 5px 5px}.vjf_arrayItem>*>*>.input-group>*:nth-child(2)>.vjf_array>*>*>*>*{margin-bottom:4px!important}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group{margin-top:4px;margin-bottom:2px;width:100%;height:min-content}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group>.vjf_fieldset-content{border:none!important;margin-right:5px;padding-right:10px}.vjf_arrayItem>*>*>*>*>fieldset.vjf_group>.vjf_fieldset-content>*:last-child .vjf_control{margin-bottom:8px!important}.wrappers-parent[data-v-bc1e4033]{position:relative;margin-left:40px;margin-right:40px}.stepWrapper[data-v-bc1e4033]{position:relative;z-index:5}.custom-wizard-progress[data-v-bc1e4033]{--progress: 0%;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--bs-primary);mix-blend-mode:lighten}.custom-wizard-progress[data-v-bc1e4033]:after{content:"";position:absolute;top:0;left:var(--progress);width:calc(100% - var(--progress));height:100%;background:var(--bs-secondary-bg);transition:all .4s ease-in-out}.stepWrapperBg[data-v-bc1e4033]{background:var(--bs-body-bg);position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.stepWrapperBg .stepNumber[data-v-bc1e4033]{background:#000;border:none}.stepWrapperBg[data-v-bc1e4033]:before{content:"";position:absolute;top:50%;width:100%;border-radius:8px;height:13px;background:#000;transform:translateY(-50%)}.stepProgress[data-v-bc1e4033]{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);z-index:-2}@property --fadePercent{syntax: ""; initial-value: 100%; inherits: false;}.stepNumber[data-v-bc1e4033]{text-align:center;background:var(--bs-body-bg);position:relative;width:40px;height:40px;border-radius:50%;border:4px solid transparent;background-clip:content-box}.stepNumber>button[data-v-bc1e4033]{background:transparent;border:none!important}.stepNumber>button[disabled][data-v-bc1e4033]{color:unset}svg[data-v-8898cb0d]{width:1.5rem;height:auto}svg[data-v-451bf0ec]{width:1.5rem;height:auto}.handle[data-v-d5110738]{border:var(--bs-border-width) solid var(--bs-border-color);cursor:move;border-top-left-radius:var(--bs-border-radius);border-bottom-left-radius:var(--bs-border-radius);display:flex;justify-content:center;width:40px}.vjf_arrayItem[data-v-d5110738]>*{background:var(--bs-body-bg)}svg[data-v-9a59b4f7]{width:1.5rem;height:auto}.large-label{font-size:calc(1.275rem + .3vw)}.vjf_array-help-icon-wrapper{padding-left:.25rem}.vjf_label_wrapper{display:flex;align-items:center}.flip-list-move{transition:transform .5s}.no-move{transition:transform 0s}.ghost{opacity:.9}.list-group .input-group{border-radius:var(--bs-border-radius)}.ghost>*>*>*>*>.input-group{box-shadow:5px 5px 5px #1e2024;transform:scale(1.005);transition:all .1s ease-in-out}.hiddenControl{display:none}legend[data-v-50b45175]{display:flex;align-items:center}.vjf_horizontalLayout{display:flex;flex-direction:row;align-items:start;justify-content:space-around}.vjf_horizontalLayout>*{flex:2 1 auto;margin-left:10px;margin-right:10px}.vjf_horizontalLayout>*:first-child{margin-left:0}.vjf_horizontalLayout>*:last-child{margin-right:0}.pages-wrapper[data-v-68b30c87]{display:flex;flex-direction:column}.vjf_group>legend>span{padding-left:.25rem}.b-form-tags .b-form-tag{margin-left:4px;margin-right:4px} diff --git a/src/edi/jsonforms/static/js/vue-json-form.umd.js b/src/edi/jsonforms/static/js/vue-json-form.umd.js index f7a9cad..f846de8 100644 --- a/src/edi/jsonforms/static/js/vue-json-form.umd.js +++ b/src/edi/jsonforms/static/js/vue-json-form.umd.js @@ -1,87 +1,87 @@ -(function(rs){typeof define=="function"&&define.amd?define(rs):rs()})(function(){"use strict";/** +(function(Ui){typeof define=="function"&&define.amd?define(Ui):Ui()})(function(){"use strict";/** * @vue/shared v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function rs(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ut={},ns=[],hn=()=>{},jh=()=>!1,Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fc=e=>e.startsWith("onUpdate:"),xt=Object.assign,Uc=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Fx=Object.prototype.hasOwnProperty,ct=(e,t)=>Fx.call(e,t),Pe=Array.isArray,os=e=>ui(e)==="[object Map]",ss=e=>ui(e)==="[object Set]",Rh=e=>ui(e)==="[object Date]",Ve=e=>typeof e=="function",St=e=>typeof e=="string",Hr=e=>typeof e=="symbol",gt=e=>e!==null&&typeof e=="object",Mh=e=>(gt(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch),Bh=Object.prototype.toString,ui=e=>Bh.call(e),Ux=e=>ui(e).slice(8,-1),ja=e=>ui(e)==="[object Object]",qc=e=>St(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ci=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ra=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},qx=/-\w/g,Qt=Ra(e=>e.replace(qx,t=>t.slice(1).toUpperCase())),zx=/\B([A-Z])/g,Cr=Ra(e=>e.replace(zx,"-$1").toLowerCase()),Ma=Ra(e=>e.charAt(0).toUpperCase()+e.slice(1)),zc=Ra(e=>e?`on${Ma(e)}`:""),yr=(e,t)=>!Object.is(e,t),Ba=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Lh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hc=e=>{const t=St(e)?Number(e):NaN;return isNaN(t)?e:t};let Fh;const Va=()=>Fh||(Fh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function so(e){if(Pe(e)){const t={};for(let r=0;r{if(r){const n=r.split(Gx);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function He(e){let t="";if(St(e))t=e;else if(Pe(e))for(let r=0;rAo(r,t))}const qh=e=>!!(e&&e.__v_isRef===!0),Ae=e=>St(e)?e:e==null?"":Pe(e)||gt(e)&&(e.toString===Bh||!Ve(e.toString))?qh(e)?Ae(e.value):JSON.stringify(e,zh,2):String(e),zh=(e,t)=>qh(t)?zh(e,t.value):os(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],s)=>(r[Wc(n,s)+" =>"]=o,r),{})}:ss(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Wc(r))}:Hr(t)?Wc(t):gt(t)&&!Pe(t)&&!ja(t)?String(t):t,Wc=(e,t="")=>{var r;return Hr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** +**/function Ui(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Ge={},zi=[],Zr=()=>{},Xh=()=>!1,to=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cc=e=>e.startsWith("onUpdate:"),ot=Object.assign,fc=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},z_=Object.prototype.hasOwnProperty,Ke=(e,t)=>z_.call(e,t),ve=Array.isArray,Hi=e=>Fs(e)==="[object Map]",Wi=e=>Fs(e)==="[object Set]",Qh=e=>Fs(e)==="[object Date]",Te=e=>typeof e=="function",at=e=>typeof e=="string",Tr=e=>typeof e=="symbol",rt=e=>e!==null&&typeof e=="object",e0=e=>(rt(e)||Te(e))&&Te(e.then)&&Te(e.catch),t0=Object.prototype.toString,Fs=e=>t0.call(e),H_=e=>Fs(e).slice(8,-1),ro=e=>Fs(e)==="[object Object]",dc=e=>at(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qs=Ui(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),no=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},W_=/-\w/g,Rt=no(e=>e.replace(W_,t=>t.slice(1).toUpperCase())),G_=/\B([A-Z])/g,or=no(e=>e.replace(G_,"-$1").toLowerCase()),io=no(e=>e.charAt(0).toUpperCase()+e.slice(1)),hc=no(e=>e?`on${io(e)}`:""),Qt=(e,t)=>!Object.is(e,t),so=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},n0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pc=e=>{const t=at(e)?Number(e):NaN;return isNaN(t)?e:t};let i0;const ao=()=>i0||(i0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Un(e){if(ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(K_);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pe(e){let t="";if(at(e))t=e;else if(ve(e))for(let r=0;rpi(r,t))}const a0=e=>!!(e&&e.__v_isRef===!0),ge=e=>at(e)?e:e==null?"":ve(e)||rt(e)&&(e.toString===t0||!Te(e.toString))?a0(e)?ge(e.value):JSON.stringify(e,o0,2):String(e),o0=(e,t)=>a0(t)?o0(e,t.value):Hi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],s)=>(r[gc(n,s)+" =>"]=i,r),{})}:Wi(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>gc(r))}:Tr(t)?gc(t):rt(t)&&!ve(t)&&!ro(t)?String(t):t,gc=(e,t="")=>{var r;return Tr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** * @vue/reactivity v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let er;class Hh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=er,!t&&er&&(this.index=(er.scopes||(er.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0&&--this._on===0&&(er=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r0)return;if(fi){let t=fi;for(fi=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;di;){let t=di;for(di=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function Jh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zh(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),ed(n),Yx(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function Qc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pi)||(e.globalVersion=pi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qc(e))))return;e.flags|=2;const t=e.dep,r=bt,n=Gr;bt=e,Gr=!0;try{Jh(e);const o=e.fn(e._value);(t.version===0||yr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{bt=r,Gr=n,Zh(e),e.flags&=-3}}function ed(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let s=r.computed.deps;s;s=s.nextDep)ed(s,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function Yx(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Gr=!0;const Xh=[];function mn(){Xh.push(Gr),Gr=!1}function gn(){const e=Xh.pop();Gr=e===void 0?!0:e}function Qh(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=bt;bt=void 0;try{t()}finally{bt=r}}}let pi=0;class Xx{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Fa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!bt||!Gr||bt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==bt)r=this.activeLink=new Xx(bt,this),bt.deps?(r.prevDep=bt.depsTail,bt.depsTail.nextDep=r,bt.depsTail=r):bt.deps=bt.depsTail=r,em(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=bt.depsTail,r.nextDep=void 0,bt.depsTail.nextDep=r,bt.depsTail=r,bt.deps===r&&(bt.deps=n)}return r}trigger(t){this.version++,pi++,this.notify(t)}notify(t){Yc();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Xc()}}}function em(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)em(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Ua=new WeakMap,Po=Symbol(""),td=Symbol(""),hi=Symbol("");function tr(e,t,r){if(Gr&&bt){let n=Ua.get(e);n||Ua.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Fa),o.map=n,o.key=r),o.track()}}function Dn(e,t,r,n,o,s){const i=Ua.get(e);if(!i){pi++;return}const a=l=>{l&&l.trigger()};if(Yc(),t==="clear")i.forEach(a);else{const l=Pe(e),u=l&&qc(r);if(l&&r==="length"){const c=Number(n);i.forEach((h,f)=>{(f==="length"||f===hi||!Hr(f)&&f>=c)&&a(h)})}else switch((r!==void 0||i.has(void 0))&&a(i.get(r)),u&&a(i.get(hi)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Po)),os(e)&&a(i.get(td)));break;case"delete":l||(a(i.get(Po)),os(e)&&a(i.get(td)));break;case"set":os(e)&&a(i.get(Po));break}}Xc()}function Qx(e,t){const r=Ua.get(e);return r&&r.get(t)}function is(e){const t=tt(e);return t===e?t:(tr(t,"iterate",hi),Mr(e)?t:t.map(zt))}function qa(e){return tr(e=tt(e),"iterate",hi),e}const eO={__proto__:null,[Symbol.iterator](){return rd(this,Symbol.iterator,zt)},concat(...e){return is(this).concat(...e.map(t=>Pe(t)?is(t):t))},entries(){return rd(this,"entries",e=>(e[1]=zt(e[1]),e))},every(e,t){return jn(this,"every",e,t,void 0,arguments)},filter(e,t){return jn(this,"filter",e,t,r=>r.map(zt),arguments)},find(e,t){return jn(this,"find",e,t,zt,arguments)},findIndex(e,t){return jn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return jn(this,"findLast",e,t,zt,arguments)},findLastIndex(e,t){return jn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return jn(this,"forEach",e,t,void 0,arguments)},includes(...e){return nd(this,"includes",e)},indexOf(...e){return nd(this,"indexOf",e)},join(e){return is(this).join(e)},lastIndexOf(...e){return nd(this,"lastIndexOf",e)},map(e,t){return jn(this,"map",e,t,void 0,arguments)},pop(){return mi(this,"pop")},push(...e){return mi(this,"push",e)},reduce(e,...t){return tm(this,"reduce",e,t)},reduceRight(e,...t){return tm(this,"reduceRight",e,t)},shift(){return mi(this,"shift")},some(e,t){return jn(this,"some",e,t,void 0,arguments)},splice(...e){return mi(this,"splice",e)},toReversed(){return is(this).toReversed()},toSorted(e){return is(this).toSorted(e)},toSpliced(...e){return is(this).toSpliced(...e)},unshift(...e){return mi(this,"unshift",e)},values(){return rd(this,"values",zt)}};function rd(e,t,r){const n=qa(e),o=n[t]();return n!==e&&!Mr(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=r(s.value)),s}),o}const tO=Array.prototype;function jn(e,t,r,n,o,s){const i=qa(e),a=i!==e&&!Mr(e),l=i[t];if(l!==tO[t]){const h=l.apply(e,s);return a?zt(h):h}let u=r;i!==e&&(a?u=function(h,f){return r.call(this,zt(h),f,e)}:r.length>2&&(u=function(h,f){return r.call(this,h,f,e)}));const c=l.call(i,u,n);return a&&o?o(c):c}function tm(e,t,r,n){const o=qa(e);let s=r;return o!==e&&(Mr(e)?r.length>3&&(s=function(i,a,l){return r.call(this,i,a,l,e)}):s=function(i,a,l){return r.call(this,i,zt(a),l,e)}),o[t](s,...n)}function nd(e,t,r){const n=tt(e);tr(n,"iterate",hi);const o=n[t](...r);return(o===-1||o===!1)&&Ja(r[0])?(r[0]=tt(r[0]),n[t](...r)):o}function mi(e,t,r=[]){mn(),Yc();const n=tt(e)[t].apply(e,r);return Xc(),gn(),n}const rO=rs("__proto__,__v_isRef,__isVue"),rm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Hr));function nO(e){Hr(e)||(e=String(e));const t=tt(this);return tr(t,"has",e),t.hasOwnProperty(e)}class nm{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(o?s?um:lm:s?am:im).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=Pe(t);if(!o){let l;if(i&&(l=eO[r]))return l;if(r==="hasOwnProperty")return nO}const a=Reflect.get(t,r,wt(t)?t:n);if((Hr(r)?rm.has(r):rO(r))||(o||tr(t,"get",r),s))return a;if(wt(a)){const l=i&&qc(r)?a:a.value;return o&>(l)?vr(l):l}return gt(a)?o?vr(a):Wa(a):a}}class om extends nm{constructor(t=!1){super(!1,t)}set(t,r,n,o){let s=t[r];if(!this._isShallow){const l=ao(s);if(!Mr(n)&&!ao(n)&&(s=tt(s),n=tt(n)),!Pe(t)&&wt(s)&&!wt(n))return l||(s.value=n),!0}const i=Pe(t)&&qc(r)?Number(r)e,za=e=>Reflect.getPrototypeOf(e);function lO(e,t,r){return function(...n){const o=this.__v_raw,s=tt(o),i=os(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?od:t?Za:zt;return!t&&tr(s,"iterate",l?td:Po),{next(){const{value:h,done:f}=u.next();return f?{value:h,done:f}:{value:a?[c(h[0]),c(h[1])]:c(h),done:f}},[Symbol.iterator](){return this}}}}function Ha(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function uO(e,t){const r={get(o){const s=this.__v_raw,i=tt(s),a=tt(o);e||(yr(o,a)&&tr(i,"get",o),tr(i,"get",a));const{has:l}=za(i),u=t?od:e?Za:zt;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&tr(tt(o),"iterate",Po),o.size},has(o){const s=this.__v_raw,i=tt(s),a=tt(o);return e||(yr(o,a)&&tr(i,"has",o),tr(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=tt(a),u=t?od:e?Za:zt;return!e&&tr(l,"iterate",Po),a.forEach((c,h)=>o.call(s,u(c),u(h),i))}};return xt(r,e?{add:Ha("add"),set:Ha("set"),delete:Ha("delete"),clear:Ha("clear")}:{add(o){!t&&!Mr(o)&&!ao(o)&&(o=tt(o));const s=tt(this);return za(s).has.call(s,o)||(s.add(o),Dn(s,"add",o,o)),this},set(o,s){!t&&!Mr(s)&&!ao(s)&&(s=tt(s));const i=tt(this),{has:a,get:l}=za(i);let u=a.call(i,o);u||(o=tt(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?yr(s,c)&&Dn(i,"set",o,s):Dn(i,"add",o,s),this},delete(o){const s=tt(this),{has:i,get:a}=za(s);let l=i.call(s,o);l||(o=tt(o),l=i.call(s,o)),a&&a.call(s,o);const u=s.delete(o);return l&&Dn(s,"delete",o,void 0),u},clear(){const o=tt(this),s=o.size!==0,i=o.clear();return s&&Dn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=lO(o,e,t)}),r}function Ga(e,t){const r=uO(e,t);return(n,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ct(r,o)&&o in n?r:n,o,s)}const cO={get:Ga(!1,!1)},dO={get:Ga(!1,!0)},fO={get:Ga(!0,!1)},pO={get:Ga(!0,!0)},im=new WeakMap,am=new WeakMap,lm=new WeakMap,um=new WeakMap;function hO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mO(e){return e.__v_skip||!Object.isExtensible(e)?0:hO(Ux(e))}function Wa(e){return ao(e)?e:Ka(e,!1,oO,cO,im)}function gO(e){return Ka(e,!1,iO,dO,am)}function vr(e){return Ka(e,!0,sO,fO,lm)}function as(e){return Ka(e,!0,aO,pO,um)}function Ka(e,t,r,n,o){if(!gt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=mO(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?n:r);return o.set(e,a),a}function Rn(e){return ao(e)?Rn(e.__v_raw):!!(e&&e.__v_isReactive)}function ao(e){return!!(e&&e.__v_isReadonly)}function Mr(e){return!!(e&&e.__v_isShallow)}function Ja(e){return e?!!e.__v_raw:!1}function tt(e){const t=e&&e.__v_raw;return t?tt(t):e}function gi(e){return!ct(e,"__v_skip")&&Object.isExtensible(e)&&Vh(e,"__v_skip",!0),e}const zt=e=>gt(e)?Wa(e):e,Za=e=>gt(e)?vr(e):e;function wt(e){return e?e.__v_isRef===!0:!1}function Me(e){return cm(e,!1)}function lo(e){return cm(e,!0)}function cm(e,t){return wt(e)?e:new yO(e,t)}class yO{constructor(t,r){this.dep=new Fa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:tt(t),this._value=r?t:zt(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Mr(t)||ao(t);t=n?t:tt(t),yr(t,r)&&(this._rawValue=t,this._value=n?t:zt(t),this.dep.trigger())}}function C(e){return wt(e)?e.value:e}function st(e){return Ve(e)?e():C(e)}const vO={get:(e,t,r)=>t==="__v_raw"?e:C(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return wt(o)&&!wt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function dm(e){return Rn(e)?e:new Proxy(e,vO)}class bO{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Fa,{get:n,set:o}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function sd(e){return new bO(e)}function wO(e){const t=Pe(e)?new Array(e.length):{};for(const r in e)t[r]=fm(e,r);return t}class _O{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Qx(tt(this._object),this._key)}}class SO{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function at(e,t,r){return wt(e)?e:Ve(e)?new SO(e):gt(e)&&arguments.length>1?fm(e,t,r):Me(e)}function fm(e,t,r){const n=e[t];return wt(n)?n:new _O(e,t,r)}class EO{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Fa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&bt!==this)return Kh(this,!0),!0}get value(){const t=this.dep.track();return Yh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function xO(e,t,r=!1){let n,o;return Ve(e)?n=e:(n=e.get,o=e.set),new EO(n,o,r)}const Ya={},Xa=new WeakMap;let No;function OO(e,t=!1,r=No){if(r){let n=Xa.get(r);n||Xa.set(r,n=[]),n.push(e)}}function $O(e,t,r=ut){const{immediate:n,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=r,u=S=>o?S:Mr(S)||o===!1||o===0?Mn(S,1):Mn(S);let c,h,f,d,g=!1,v=!1;if(wt(e)?(h=()=>e.value,g=Mr(e)):Rn(e)?(h=()=>u(e),g=!0):Pe(e)?(v=!0,g=e.some(S=>Rn(S)||Mr(S)),h=()=>e.map(S=>{if(wt(S))return S.value;if(Rn(S))return u(S);if(Ve(S))return l?l(S,2):S()})):Ve(e)?t?h=l?()=>l(e,2):e:h=()=>{if(f){mn();try{f()}finally{gn()}}const S=No;No=c;try{return l?l(e,3,[d]):e(d)}finally{No=S}}:h=hn,t&&o){const S=h,_=o===!0?1/0:o;h=()=>Mn(S(),_)}const p=La(),m=()=>{c.stop(),p&&p.active&&Uc(p.effects,c)};if(s&&t){const S=t;t=(..._)=>{S(..._),m()}}let b=v?new Array(e.length).fill(Ya):Ya;const w=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const _=c.run();if(o||g||(v?_.some((E,O)=>yr(E,b[O])):yr(_,b))){f&&f();const E=No;No=c;try{const O=[_,b===Ya?void 0:v&&b[0]===Ya?[]:b,d];b=_,l?l(t,3,O):t(...O)}finally{No=E}}}else c.run()};return a&&a(w),c=new Gh(h),c.scheduler=i?()=>i(w,!1):w,d=S=>OO(S,!1,c),f=c.onStop=()=>{const S=Xa.get(c);if(S){if(l)l(S,4);else for(const _ of S)_();Xa.delete(c)}},t?n?w(!0):b=c.run():i?i(w.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function Mn(e,t=1/0,r){if(t<=0||!gt(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,wt(e))Mn(e.value,t,r);else if(Pe(e))for(let n=0;n{Mn(n,t,r)});else if(ja(e)){for(const n in e)Mn(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Mn(e[n],t,r)}return e}/** +**/let It;class u0{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=It,!t&&It&&(this.index=(It.scopes||(It.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0&&--this._on===0&&(It=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r0)return;if(Us){let t=Us;for(Us=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Vs;){let t=Vs;for(Vs=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function d0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function h0(e){let t,r=e.depsTail,n=r;for(;n;){const i=n.prevDep;n.version===-1?(n===r&&(r=i),Ec(n),eS(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=r}function Sc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(p0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function p0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===zs)||(e.globalVersion=zs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Sc(e))))return;e.flags|=2;const t=e.dep,r=it,n=$r;it=e,$r=!0;try{d0(e);const i=e.fn(e._value);(t.version===0||Qt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{it=r,$r=n,h0(e),e.flags&=-3}}function Ec(e,t=!1){const{dep:r,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let s=r.computed.deps;s;s=s.nextDep)Ec(s,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function eS(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let $r=!0;const m0=[];function Yr(){m0.push($r),$r=!1}function Xr(){const e=m0.pop();$r=e===void 0?!0:e}function g0(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=it;it=void 0;try{t()}finally{it=r}}}let zs=0;class tS{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class uo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!it||!$r||it===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==it)r=this.activeLink=new tS(it,this),it.deps?(r.prevDep=it.depsTail,it.depsTail.nextDep=r,it.depsTail=r):it.deps=it.depsTail=r,v0(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=it.depsTail,r.nextDep=void 0,it.depsTail.nextDep=r,it.depsTail=r,it.deps===r&&(it.deps=n)}return r}trigger(t){this.version++,zs++,this.notify(t)}notify(t){wc();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{_c()}}}function v0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)v0(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const lo=new WeakMap,mi=Symbol(""),xc=Symbol(""),Hs=Symbol("");function Dt(e,t,r){if($r&&it){let n=lo.get(e);n||lo.set(e,n=new Map);let i=n.get(r);i||(n.set(r,i=new uo),i.map=n,i.key=r),i.track()}}function vn(e,t,r,n,i,s){const a=lo.get(e);if(!a){zs++;return}const o=u=>{u&&u.trigger()};if(wc(),t==="clear")a.forEach(o);else{const u=ve(e),l=u&&dc(r);if(u&&r==="length"){const c=Number(n);a.forEach((h,d)=>{(d==="length"||d===Hs||!Tr(d)&&d>=c)&&o(h)})}else switch((r!==void 0||a.has(void 0))&&o(a.get(r)),l&&o(a.get(Hs)),t){case"add":u?l&&o(a.get("length")):(o(a.get(mi)),Hi(e)&&o(a.get(xc)));break;case"delete":u||(o(a.get(mi)),Hi(e)&&o(a.get(xc)));break;case"set":Hi(e)&&o(a.get(mi));break}}_c()}function rS(e,t){const r=lo.get(e);return r&&r.get(t)}function Gi(e){const t=je(e);return t===e?t:(Dt(t,"iterate",Hs),yr(e)?t:t.map(Et))}function co(e){return Dt(e=je(e),"iterate",Hs),e}const nS={__proto__:null,[Symbol.iterator](){return Tc(this,Symbol.iterator,Et)},concat(...e){return Gi(this).concat(...e.map(t=>ve(t)?Gi(t):t))},entries(){return Tc(this,"entries",e=>(e[1]=Et(e[1]),e))},every(e,t){return yn(this,"every",e,t,void 0,arguments)},filter(e,t){return yn(this,"filter",e,t,r=>r.map(Et),arguments)},find(e,t){return yn(this,"find",e,t,Et,arguments)},findIndex(e,t){return yn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yn(this,"findLast",e,t,Et,arguments)},findLastIndex(e,t){return yn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yn(this,"forEach",e,t,void 0,arguments)},includes(...e){return $c(this,"includes",e)},indexOf(...e){return $c(this,"indexOf",e)},join(e){return Gi(this).join(e)},lastIndexOf(...e){return $c(this,"lastIndexOf",e)},map(e,t){return yn(this,"map",e,t,void 0,arguments)},pop(){return Ws(this,"pop")},push(...e){return Ws(this,"push",e)},reduce(e,...t){return y0(this,"reduce",e,t)},reduceRight(e,...t){return y0(this,"reduceRight",e,t)},shift(){return Ws(this,"shift")},some(e,t){return yn(this,"some",e,t,void 0,arguments)},splice(...e){return Ws(this,"splice",e)},toReversed(){return Gi(this).toReversed()},toSorted(e){return Gi(this).toSorted(e)},toSpliced(...e){return Gi(this).toSpliced(...e)},unshift(...e){return Ws(this,"unshift",e)},values(){return Tc(this,"values",Et)}};function Tc(e,t,r){const n=co(e),i=n[t]();return n!==e&&!yr(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=r(s.value)),s}),i}const iS=Array.prototype;function yn(e,t,r,n,i,s){const a=co(e),o=a!==e&&!yr(e),u=a[t];if(u!==iS[t]){const h=u.apply(e,s);return o?Et(h):h}let l=r;a!==e&&(o?l=function(h,d){return r.call(this,Et(h),d,e)}:r.length>2&&(l=function(h,d){return r.call(this,h,d,e)}));const c=u.call(a,l,n);return o&&i?i(c):c}function y0(e,t,r,n){const i=co(e);let s=r;return i!==e&&(yr(e)?r.length>3&&(s=function(a,o,u){return r.call(this,a,o,u,e)}):s=function(a,o,u){return r.call(this,a,Et(o),u,e)}),i[t](s,...n)}function $c(e,t,r){const n=je(e);Dt(n,"iterate",Hs);const i=n[t](...r);return(i===-1||i===!1)&&vo(r[0])?(r[0]=je(r[0]),n[t](...r)):i}function Ws(e,t,r=[]){Yr(),wc();const n=je(e)[t].apply(e,r);return _c(),Xr(),n}const sS=Ui("__proto__,__v_isRef,__isVue"),b0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tr));function aS(e){Tr(e)||(e=String(e));const t=je(this);return Dt(t,"has",e),t.hasOwnProperty(e)}class w0{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(i?s?$0:T0:s?x0:E0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=ve(t);if(!i){let u;if(a&&(u=nS[r]))return u;if(r==="hasOwnProperty")return aS}const o=Reflect.get(t,r,st(t)?t:n);if((Tr(r)?b0.has(r):sS(r))||(i||Dt(t,"get",r),s))return o;if(st(o)){const u=a&&dc(r)?o:o.value;return i&&rt(u)?er(u):u}return rt(o)?i?er(o):mo(o):o}}class _0 extends w0{constructor(t=!1){super(!1,t)}set(t,r,n,i){let s=t[r];if(!this._isShallow){const u=Hn(s);if(!yr(n)&&!Hn(n)&&(s=je(s),n=je(n)),!ve(t)&&st(s)&&!st(n))return u||(s.value=n),!0}const a=ve(t)&&dc(r)?Number(r)e,fo=e=>Reflect.getPrototypeOf(e);function fS(e,t,r){return function(...n){const i=this.__v_raw,s=je(i),a=Hi(s),o=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,l=i[e](...n),c=r?Oc:t?yo:Et;return!t&&Dt(s,"iterate",u?xc:mi),{next(){const{value:h,done:d}=l.next();return d?{value:h,done:d}:{value:o?[c(h[0]),c(h[1])]:c(h),done:d}},[Symbol.iterator](){return this}}}}function ho(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dS(e,t){const r={get(i){const s=this.__v_raw,a=je(s),o=je(i);e||(Qt(i,o)&&Dt(a,"get",i),Dt(a,"get",o));const{has:u}=fo(a),l=t?Oc:e?yo:Et;if(u.call(a,i))return l(s.get(i));if(u.call(a,o))return l(s.get(o));s!==a&&s.get(i)},get size(){const i=this.__v_raw;return!e&&Dt(je(i),"iterate",mi),i.size},has(i){const s=this.__v_raw,a=je(s),o=je(i);return e||(Qt(i,o)&&Dt(a,"has",i),Dt(a,"has",o)),i===o?s.has(i):s.has(i)||s.has(o)},forEach(i,s){const a=this,o=a.__v_raw,u=je(o),l=t?Oc:e?yo:Et;return!e&&Dt(u,"iterate",mi),o.forEach((c,h)=>i.call(s,l(c),l(h),a))}};return ot(r,e?{add:ho("add"),set:ho("set"),delete:ho("delete"),clear:ho("clear")}:{add(i){!t&&!yr(i)&&!Hn(i)&&(i=je(i));const s=je(this);return fo(s).has.call(s,i)||(s.add(i),vn(s,"add",i,i)),this},set(i,s){!t&&!yr(s)&&!Hn(s)&&(s=je(s));const a=je(this),{has:o,get:u}=fo(a);let l=o.call(a,i);l||(i=je(i),l=o.call(a,i));const c=u.call(a,i);return a.set(i,s),l?Qt(s,c)&&vn(a,"set",i,s):vn(a,"add",i,s),this},delete(i){const s=je(this),{has:a,get:o}=fo(s);let u=a.call(s,i);u||(i=je(i),u=a.call(s,i)),o&&o.call(s,i);const l=s.delete(i);return u&&vn(s,"delete",i,void 0),l},clear(){const i=je(this),s=i.size!==0,a=i.clear();return s&&vn(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{r[i]=fS(i,e,t)}),r}function po(e,t){const r=dS(e,t);return(n,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Ke(r,i)&&i in n?r:n,i,s)}const hS={get:po(!1,!1)},pS={get:po(!1,!0)},mS={get:po(!0,!1)},gS={get:po(!0,!0)},E0=new WeakMap,x0=new WeakMap,T0=new WeakMap,$0=new WeakMap;function vS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yS(e){return e.__v_skip||!Object.isExtensible(e)?0:vS(H_(e))}function mo(e){return Hn(e)?e:go(e,!1,oS,hS,E0)}function bS(e){return go(e,!1,lS,pS,x0)}function er(e){return go(e,!0,uS,mS,T0)}function Ji(e){return go(e,!0,cS,gS,$0)}function go(e,t,r,n,i){if(!rt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=yS(e);if(s===0)return e;const a=i.get(e);if(a)return a;const o=new Proxy(e,s===2?n:r);return i.set(e,o),o}function bn(e){return Hn(e)?bn(e.__v_raw):!!(e&&e.__v_isReactive)}function Hn(e){return!!(e&&e.__v_isReadonly)}function yr(e){return!!(e&&e.__v_isShallow)}function vo(e){return e?!!e.__v_raw:!1}function je(e){const t=e&&e.__v_raw;return t?je(t):e}function Gs(e){return!Ke(e,"__v_skip")&&Object.isExtensible(e)&&r0(e,"__v_skip",!0),e}const Et=e=>rt(e)?mo(e):e,yo=e=>rt(e)?er(e):e;function st(e){return e?e.__v_isRef===!0:!1}function Se(e){return O0(e,!1)}function Wn(e){return O0(e,!0)}function O0(e,t){return st(e)?e:new wS(e,t)}class wS{constructor(t,r){this.dep=new uo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:je(t),this._value=r?t:Et(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||yr(t)||Hn(t);t=n?t:je(t),Qt(t,r)&&(this._rawValue=t,this._value=n?t:Et(t),this.dep.trigger())}}function x(e){return st(e)?e.value:e}function ze(e){return Te(e)?e():x(e)}const _S={get:(e,t,r)=>t==="__v_raw"?e:x(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return st(i)&&!st(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function C0(e){return bn(e)?e:new Proxy(e,_S)}class SS{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new uo,{get:n,set:i}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function A0(e){return new SS(e)}function ES(e){const t=ve(e)?new Array(e.length):{};for(const r in e)t[r]=P0(e,r);return t}class xS{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rS(je(this._object),this._key)}}class TS{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function He(e,t,r){return st(e)?e:Te(e)?new TS(e):rt(e)&&arguments.length>1?P0(e,t,r):Se(e)}function P0(e,t,r){const n=e[t];return st(n)?n:new xS(e,t,r)}class $S{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new uo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=zs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&it!==this)return f0(this,!0),!0}get value(){const t=this.dep.track();return p0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function OS(e,t,r=!1){let n,i;return Te(e)?n=e:(n=e.get,i=e.set),new $S(n,i,r)}const bo={},wo=new WeakMap;let gi;function CS(e,t=!1,r=gi){if(r){let n=wo.get(r);n||wo.set(r,n=[]),n.push(e)}}function AS(e,t,r=Ge){const{immediate:n,deep:i,once:s,scheduler:a,augmentJob:o,call:u}=r,l=_=>i?_:yr(_)||i===!1||i===0?wn(_,1):wn(_);let c,h,d,f,m=!1,y=!1;if(st(e)?(h=()=>e.value,m=yr(e)):bn(e)?(h=()=>l(e),m=!0):ve(e)?(y=!0,m=e.some(_=>bn(_)||yr(_)),h=()=>e.map(_=>{if(st(_))return _.value;if(bn(_))return l(_);if(Te(_))return u?u(_,2):_()})):Te(e)?t?h=u?()=>u(e,2):e:h=()=>{if(d){Yr();try{d()}finally{Xr()}}const _=gi;gi=c;try{return u?u(e,3,[f]):e(f)}finally{gi=_}}:h=Zr,t&&i){const _=h,w=i===!0?1/0:i;h=()=>wn(_(),w)}const p=oo(),v=()=>{c.stop(),p&&p.active&&fc(p.effects,c)};if(s&&t){const _=t;t=(...w)=>{_(...w),v()}}let g=y?new Array(e.length).fill(bo):bo;const b=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const w=c.run();if(i||m||(y?w.some((S,E)=>Qt(S,g[E])):Qt(w,g))){d&&d();const S=gi;gi=c;try{const E=[w,g===bo?void 0:y&&g[0]===bo?[]:g,f];g=w,u?u(t,3,E):t(...E)}finally{gi=S}}}else c.run()};return o&&o(b),c=new l0(h),c.scheduler=a?()=>a(b,!1):b,f=_=>CS(_,!1,c),d=c.onStop=()=>{const _=wo.get(c);if(_){if(u)u(_,4);else for(const w of _)w();wo.delete(c)}},t?n?b(!0):g=c.run():a?a(b.bind(null,!0),!0):c.run(),v.pause=c.pause.bind(c),v.resume=c.resume.bind(c),v.stop=v,v}function wn(e,t=1/0,r){if(t<=0||!rt(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,st(e))wn(e.value,t,r);else if(ve(e))for(let n=0;n{wn(n,t,r)});else if(ro(e)){for(const n in e)wn(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&wn(e[n],t,r)}return e}/** * @vue/runtime-core v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const yi=[];let id=!1;function OF(e,...t){if(id)return;id=!0,mn();const r=yi.length?yi[yi.length-1].component:null,n=r&&r.appContext.config.warnHandler,o=CO();if(n)ls(n,r,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),r&&r.proxy,o.map(({vnode:s})=>`at <${Sg(r,s.type)}>`).join(` -`),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(` -`,...TO(o)),console.warn(...s)}gn(),id=!1}function CO(){let e=yi[yi.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function TO(e){const t=[];return e.forEach((r,n)=>{t.push(...n===0?[]:[` -`],...kO(r))}),t}function kO({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,o=` at <${Sg(e.component,e.type,n)}`,s=">"+r;return e.props?[o,...AO(e.props),s]:[o+s]}function AO(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(n=>{t.push(...pm(n,e[n]))}),r.length>3&&t.push(" ..."),t}function pm(e,t,r){return St(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:wt(t)?(t=pm(e,tt(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):Ve(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=tt(t),r?t:[`${e}=`,t])}function ls(e,t,r,n){try{return n?e(...n):e()}catch(o){vi(o,t,r)}}function Wr(e,t,r,n){if(Ve(e)){const o=ls(e,t,r,n);return o&&Mh(o)&&o.catch(s=>{vi(s,t,r)}),o}if(Pe(e)){const o=[];for(let s=0;s>>1,o=ur[n],s=bi(o);s=bi(r)?ur.push(e):ur.splice(NO(t),0,e),e.flags|=1,mm()}}function mm(){Qa||(Qa=hm.then(vm))}function IO(e){Pe(e)?us.push(...e):uo&&e.id===-1?uo.splice(cs+1,0,e):e.flags&1||(us.push(e),e.flags|=1),mm()}function gm(e,t,r=yn+1){for(;rbi(r)-bi(n));if(us.length=0,uo){uo.push(...t);return}for(uo=t,cs=0;cse.id==null?e.flags&2?-1:1/0:e.id;function vm(e){try{for(yn=0;yn{n._d&&fl(-1);const s=el(t);let i;try{i=e(...o)}finally{el(s),n._d&&fl(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Bn(e,t){if(Ht===null)return e;const r=ml(Ht),n=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,wi=e=>e&&(e.disabled||e.disabled===""),Sm=e=>e&&(e.defer||e.defer===""),Em=e=>typeof SVGElement<"u"&&e instanceof SVGElement,xm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ld=(e,t)=>{const r=e&&e.to;return St(r)?t?t(r):null:r},Om={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,s,i,a,l,u){const{mc:c,pc:h,pbc:f,o:{insert:d,querySelector:g,createText:v,createComment:p}}=u,m=wi(t.props);let{shapeFlag:b,children:w,dynamicChildren:S}=t;if(e==null){const _=t.el=v(""),E=t.anchor=v("");d(_,r,n),d(E,r,n);const O=(A,V)=>{b&16&&c(w,A,V,o,s,i,a,l)},P=()=>{const A=t.target=ld(t.props,g),V=$m(A,t,v,d);A&&(i!=="svg"&&Em(A)?i="svg":i!=="mathml"&&xm(A)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(A),m||(O(A,V),rl(t,!1)))};m&&(O(r,E),rl(t,!0)),Sm(t.props)?(t.el.__isMounted=!1,fr(()=>{P(),delete t.el.__isMounted},s)):P()}else{if(Sm(t.props)&&e.el.__isMounted===!1){fr(()=>{Om.process(e,t,r,n,o,s,i,a,l,u)},s);return}t.el=e.el,t.targetStart=e.targetStart;const _=t.anchor=e.anchor,E=t.target=e.target,O=t.targetAnchor=e.targetAnchor,P=wi(e.props),A=P?r:E,V=P?_:O;if(i==="svg"||Em(E)?i="svg":(i==="mathml"||xm(E))&&(i="mathml"),S?(f(e.dynamicChildren,S,A,o,s,i,a),Ed(e,t,!0)):l||h(e,t,A,V,o,s,i,a,!1),m)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):tl(t,r,_,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=ld(t.props,g);D&&tl(t,D,null,u,0)}else P&&tl(t,E,O,u,1);rl(t,m)}},remove(e,t,r,{um:n,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:h,props:f}=e;if(h&&(o(u),o(c)),s&&o(l),i&16){const d=s||!wi(f);for(let g=0;g{e.isMounted=!0}),xi(()=>{e.isUnmounting=!0}),e}const Br=[Function,Array],Tm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Br,onEnter:Br,onAfterEnter:Br,onEnterCancelled:Br,onBeforeLeave:Br,onLeave:Br,onAfterLeave:Br,onLeaveCancelled:Br,onBeforeAppear:Br,onAppear:Br,onAfterAppear:Br,onAppearCancelled:Br},km=e=>{const t=e.subTree;return t.component?km(t.component):t},RO={name:"BaseTransition",props:Tm,setup(e,{slots:t}){const r=Kr(),n=Cm();return()=>{const o=t.default&&cd(t.default(),!0);if(!o||!o.length)return;const s=Am(o),i=tt(e),{mode:a}=i;if(n.isLeaving)return ud(s);const l=Nm(s);if(!l)return ud(s);let u=_i(l,i,n,r,h=>u=h);l.type!==or&&Do(l,u);let c=r.subTree&&Nm(r.subTree);if(c&&c.type!==or&&!Mo(c,l)&&km(r).type!==or){let h=_i(c,i,n,r);if(Do(c,h),a==="out-in"&&l.type!==or)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete h.afterLeave,c=void 0},ud(s);a==="in-out"&&l.type!==or?h.delayLeave=(f,d,g)=>{const v=Pm(n,c);v[String(c.key)]=c,f[Vn]=()=>{d(),f[Vn]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function Am(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==or){t=r;break}}return t}const MO=RO;function Pm(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function _i(e,t,r,n,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:p,onAppear:m,onAfterAppear:b,onAppearCancelled:w}=t,S=String(e.key),_=Pm(r,e),E=(A,V)=>{A&&Wr(A,n,9,V)},O=(A,V)=>{const D=V[1];E(A,V),Pe(A)?A.every(M=>M.length<=1)&&D():A.length<=1&&D()},P={mode:i,persisted:a,beforeEnter(A){let V=l;if(!r.isMounted)if(s)V=p||l;else return;A[Vn]&&A[Vn](!0);const D=_[S];D&&Mo(e,D)&&D.el[Vn]&&D.el[Vn](),E(V,[A])},enter(A){let V=u,D=c,M=h;if(!r.isMounted)if(s)V=m||u,D=b||c,M=w||h;else return;let z=!1;const F=A[nl]=ue=>{z||(z=!0,ue?E(M,[A]):E(D,[A]),P.delayedLeave&&P.delayedLeave(),A[nl]=void 0)};V?O(V,[A,F]):F()},leave(A,V){const D=String(e.key);if(A[nl]&&A[nl](!0),r.isUnmounting)return V();E(f,[A]);let M=!1;const z=A[Vn]=F=>{M||(M=!0,V(),F?E(v,[A]):E(g,[A]),A[Vn]=void 0,_[D]===e&&delete _[D])};_[D]=e,d?O(d,[A,z]):z()},clone(A){const V=_i(A,t,r,n,o);return o&&o(V),V}};return P}function ud(e){if(Ei(e))return e=co(e),e.children=null,e}function Nm(e){if(!Ei(e))return _m(e.type)&&e.children?Am(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Ve(r.default))return r.default()}}function Do(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Do(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cd(e,t=!1,r){let n=[],o=0;for(let s=0;s1)for(let s=0;sr.value,set:s=>r.value=s})}return r}const ol=new WeakMap;function Si(e,t,r,n,o=!1){if(Pe(e)){e.forEach((g,v)=>Si(g,t&&(Pe(t)?t[v]:t),r,n,o));return}if(ds(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Si(e,t,r,n.component.subTree);return}const s=n.shapeFlag&4?ml(n.component):n.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ut?a.refs={}:a.refs,h=a.setupState,f=tt(h),d=h===ut?jh:g=>ct(f,g);if(u!=null&&u!==l){if(Im(t),St(u))c[u]=null,d(u)&&(h[u]=null);else if(wt(u)){u.value=null;const g=t;g.k&&(c[g.k]=null)}}if(Ve(l))ls(l,a,12,[i,c]);else{const g=St(l),v=wt(l);if(g||v){const p=()=>{if(e.f){const m=g?d(l)?h[l]:c[l]:l.value;if(o)Pe(m)&&Uc(m,s);else if(Pe(m))m.includes(s)||m.push(s);else if(g)c[l]=[s],d(l)&&(h[l]=c[l]);else{const b=[s];l.value=b,e.k&&(c[e.k]=b)}}else g?(c[l]=i,d(l)&&(h[l]=i)):v&&(l.value=i,e.k&&(c[e.k]=i))};if(i){const m=()=>{p(),ol.delete(e)};m.id=-1,ol.set(e,m),fr(m,r)}else Im(e),p()}}}function Im(e){const t=ol.get(e);t&&(t.flags|=8,ol.delete(e))}const Dm=e=>e.nodeType===8;Va().requestIdleCallback,Va().cancelIdleCallback;function VO(e,t){if(Dm(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Dm(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const ds=e=>!!e.type.__asyncLoader;function cr(e){Ve(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,h=0;const f=()=>(h++,u=null,d()),d=()=>{let g;return u||(g=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((p,m)=>{l(v,()=>p(f()),()=>m(v),h+1)});throw v}).then(v=>g!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return Oe({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(g,v,p){let m=!1;(v.bu||(v.bu=[])).push(()=>m=!0);const b=()=>{m||p()},w=s?()=>{const S=s(b,_=>VO(g,_));S&&(v.bum||(v.bum=[])).push(S)}:b;c?w():d().then(()=>!v.isUnmounted&&w())},get __asyncResolved(){return c},setup(){const g=Kt;if(dd(g),c)return()=>fd(c,g);const v=w=>{u=null,vi(w,g,13,!n)};if(a&&g.suspense||ps)return d().then(w=>()=>fd(w,g)).catch(w=>(v(w),()=>n?je(n,{error:w}):null));const p=Me(!1),m=Me(),b=Me(!!o);return o&&setTimeout(()=>{b.value=!1},o),i!=null&&setTimeout(()=>{if(!p.value&&!m.value){const w=new Error(`Async component timed out after ${i}ms.`);v(w),m.value=w}},i),d().then(()=>{p.value=!0,g.parent&&Ei(g.parent.vnode)&&g.parent.update()}).catch(w=>{v(w),m.value=w}),()=>{if(p.value&&c)return fd(c,g);if(m.value&&n)return je(n,{error:m.value});if(r&&!b.value)return je(r)}}})}function fd(e,t){const{ref:r,props:n,children:o,ce:s}=t.vnode,i=je(e,n,o);return i.ref=r,i.ce=s,delete t.vnode.ce,i}const Ei=e=>e.type.__isKeepAlive;function jm(e,t){Rm(e,"a",t)}function LO(e,t){Rm(e,"da",t)}function Rm(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(sl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Ei(o.parent.vnode)&&FO(n,t,r,o),o=o.parent}}function FO(e,t,r,n){const o=sl(t,e,n,!0);il(()=>{Uc(n[t],o)},r)}function sl(e,t,r=Kt,n=!1){if(r){const o=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...i)=>{mn();const a=Ai(r),l=Wr(t,r,e,i);return a(),gn(),l});return n?o.unshift(s):o.push(s),s}}const Ln=e=>(t,r=Kt)=>{(!ps||e==="sp")&&sl(e,(...n)=>t(...n),r)},pd=Ln("bm"),Fn=Ln("m"),UO=Ln("bu"),Mm=Ln("u"),xi=Ln("bum"),il=Ln("um"),qO=Ln("sp"),zO=Ln("rtg"),HO=Ln("rtc");function GO(e,t=Kt){sl("ec",e,t)}const Bm="components";function WO(e,t){return Lm(Bm,e,!0,t)||e}const Vm=Symbol.for("v-ndc");function dt(e){return St(e)?Lm(Bm,e,!1)||e:e||Vm}function Lm(e,t,r=!0,n=!1){const o=Ht||Kt;if(o){const s=o.type;{const a=_g(s,!1);if(a&&(a===t||a===Qt(t)||a===Ma(Qt(t))))return s}const i=Fm(o[e]||s[e],t)||Fm(o.appContext[e],t);return!i&&n?s:i}}function Fm(e,t){return e&&(e[t]||e[Qt(t)]||e[Ma(Qt(t))])}function Gt(e,t,r,n){let o;const s=r,i=Pe(e);if(i||St(e)){const a=i&&Rn(e);let l=!1,u=!1;a&&(l=!Mr(e),u=ao(e),e=qa(e)),o=new Array(e.length);for(let c=0,h=e.length;ct(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l{const s=n.fn(...o);return s&&(s.key=n.key),s}:n.fn)}return e}function $e(e,t,r={},n,o){if(Ht.ce||Ht.parent&&ds(Ht.parent)&&Ht.parent.ce){const u=Object.keys(r).length>0;return t!=="default"&&(r.name=t),ee(),ye(Je,null,[je("slot",r,n&&n())],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ee();const i=s&&Um(s(r)),a=r.key||i&&i.key,l=ye(Je,{key:(a&&!Hr(a)?a:`_${t}`)+(!i&&n?"_fb":"")},i||(n?n():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Um(e){return e.some(t=>ki(t)?!(t.type===or||t.type===Je&&!Um(t.children)):!0)?e:null}const hd=e=>e?yg(e)?ml(e):hd(e.parent):null,Oi=xt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hd(e.parent),$root:e=>hd(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Gm(e),$forceUpdate:e=>e.f||(e.f=()=>{ad(e.update)}),$nextTick:e=>e.n||(e.n=Ft.bind(e.proxy)),$watch:e=>y$.bind(e)}),md=(e,t)=>e!==ut&&!e.__isScriptSetup&&ct(e,t),JO={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return s[t]}else{if(md(n,t))return i[t]=1,n[t];if(o!==ut&&ct(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ct(u,t))return i[t]=3,s[t];if(r!==ut&&ct(r,t))return i[t]=4,r[t];yd&&(i[t]=0)}}const c=Oi[t];let h,f;if(c)return t==="$attrs"&&tr(e.attrs,"get",""),c(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(r!==ut&&ct(r,t))return i[t]=4,r[t];if(f=l.config.globalProperties,ct(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:s}=e;return md(o,t)?(o[t]=r,!0):n!==ut&&ct(n,t)?(n[t]=r,!0):ct(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:s,type:i}},a){let l,u;return!!(r[a]||e!==ut&&a[0]!=="$"&&ct(e,a)||md(t,a)||(l=s[0])&&ct(l,a)||ct(n,a)||ct(Oi,a)||ct(o.config.globalProperties,a)||(u=i.__cssModules)&&u[a])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ct(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function vn(){return qm().slots}function gd(){return qm().attrs}function qm(e){const t=Kr();return t.setupContext||(t.setupContext=wg(t))}function al(e){return Pe(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function nr(e,t){return!e||!t?e||t:Pe(e)&&Pe(t)?e.concat(t):xt({},al(e),al(t))}let yd=!0;function ZO(e){const t=Gm(e),r=e.proxy,n=e.ctx;yd=!1,t.beforeCreate&&zm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:h,mounted:f,beforeUpdate:d,updated:g,activated:v,deactivated:p,beforeDestroy:m,beforeUnmount:b,destroyed:w,unmounted:S,render:_,renderTracked:E,renderTriggered:O,errorCaptured:P,serverPrefetch:A,expose:V,inheritAttrs:D,components:M,directives:z,filters:F}=t;if(u&&YO(u,n,null),i)for(const he in i){const ie=i[he];Ve(ie)&&(n[he]=ie.bind(r))}if(o){const he=o.call(r,r);gt(he)&&(e.data=Wa(he))}if(yd=!0,s)for(const he in s){const ie=s[he],ve=Ve(ie)?ie.bind(r,r):Ve(ie.get)?ie.get.bind(r,r):hn,ce=!Ve(ie)&&Ve(ie.set)?ie.set.bind(r):hn,W=J({get:ve,set:ce});Object.defineProperty(n,he,{enumerable:!0,configurable:!0,get:()=>W.value,set:Y=>W.value=Y})}if(a)for(const he in a)Hm(a[he],n,r,he);if(l){const he=Ve(l)?l.call(r):l;Reflect.ownKeys(he).forEach(ie=>{Wt(ie,he[ie])})}c&&zm(c,e,"c");function K(he,ie){Pe(ie)?ie.forEach(ve=>he(ve.bind(r))):ie&&he(ie.bind(r))}if(K(pd,h),K(Fn,f),K(UO,d),K(Mm,g),K(jm,v),K(LO,p),K(GO,P),K(HO,E),K(zO,O),K(xi,b),K(il,S),K(qO,A),Pe(V))if(V.length){const he=e.exposed||(e.exposed={});V.forEach(ie=>{Object.defineProperty(he,ie,{get:()=>r[ie],set:ve=>r[ie]=ve,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===hn&&(e.render=_),D!=null&&(e.inheritAttrs=D),M&&(e.components=M),z&&(e.directives=z),A&&dd(e)}function YO(e,t,r=hn){Pe(e)&&(e=vd(e));for(const n in e){const o=e[n];let s;gt(o)?"default"in o?s=Tt(o.from||n,o.default,!0):s=Tt(o.from||n):s=Tt(o),wt(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[n]=s}}function zm(e,t,r){Wr(Pe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Hm(e,t,r,n){let o=n.includes(".")?lg(r,n):()=>r[n];if(St(e)){const s=t[e];Ve(s)&&mt(o,s)}else if(Ve(e))mt(o,e.bind(r));else if(gt(e))if(Pe(e))e.forEach(s=>Hm(s,t,r,n));else{const s=Ve(e.handler)?e.handler.bind(r):t[e.handler];Ve(s)&&mt(o,s,e)}}function Gm(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>ll(l,u,i,!0)),ll(l,t,i)),gt(t)&&s.set(t,l),l}function ll(e,t,r,n=!1){const{mixins:o,extends:s}=t;s&&ll(e,s,r,!0),o&&o.forEach(i=>ll(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const a=XO[i]||r&&r[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const XO={data:Wm,props:Km,emits:Km,methods:$i,computed:$i,beforeCreate:dr,created:dr,beforeMount:dr,mounted:dr,beforeUpdate:dr,updated:dr,beforeDestroy:dr,beforeUnmount:dr,destroyed:dr,unmounted:dr,activated:dr,deactivated:dr,errorCaptured:dr,serverPrefetch:dr,components:$i,directives:$i,watch:e$,provide:Wm,inject:QO};function Wm(e,t){return t?e?function(){return xt(Ve(e)?e.call(this,this):e,Ve(t)?t.call(this,this):t)}:t:e}function QO(e,t){return $i(vd(e),vd(t))}function vd(e){if(Pe(e)){const t={};for(let r=0;r1)return r&&Ve(t)?t.call(n&&n.proxy):t}}function Zm(){return!!(Kr()||jo)}const Ym={},Xm=()=>Object.create(Ym),Qm=e=>Object.getPrototypeOf(e)===Ym;function n$(e,t,r,n=!1){const o={},s=Xm();e.propsDefaults=Object.create(null),eg(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:gO(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function o$(e,t,r,n){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=tt(o),[l]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,d]=tg(h,t,!0);xt(i,f),d&&a.push(...d)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return gt(e)&&n.set(e,ns),ns;if(Pe(s))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",_d=e=>Pe(e)?e.map(bn):[bn(e)],i$=(e,t,r)=>{if(t._n)return t;const n=xe((...o)=>_d(t(...o)),r);return n._c=!1,n},ng=(e,t,r)=>{const n=e._ctx;for(const o in e){if(wd(o))continue;const s=e[o];if(Ve(s))t[o]=i$(o,s,n);else if(s!=null){const i=_d(s);t[o]=()=>i}}},og=(e,t)=>{const r=_d(t);e.slots.default=()=>r},sg=(e,t,r)=>{for(const n in t)(r||!wd(n))&&(e[n]=t[n])},a$=(e,t,r)=>{const n=e.slots=Xm();if(e.vnode.shapeFlag&32){const o=t._;o?(sg(n,t,r),r&&Vh(n,"_",o,!0)):ng(t,n)}else t&&og(e,t)},l$=(e,t,r)=>{const{vnode:n,slots:o}=e;let s=!0,i=ut;if(n.shapeFlag&32){const a=t._;a?r&&a===1?s=!1:sg(o,t,r):(s=!t.$stable,ng(t,o)),i=t}else t&&(og(e,t),i={default:1});if(s)for(const a in o)!wd(a)&&i[a]==null&&delete o[a]},fr=x$;function u$(e){return c$(e)}function c$(e,t){const r=Va();r.__VUE__=!0;const{insert:n,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:h,nextSibling:f,setScopeId:d=hn,insertStaticContent:g}=e,v=(k,N,j,Z=null,ne=null,Q=null,oe=void 0,pe=null,fe=!!N.dynamicChildren)=>{if(k===N)return;k&&!Mo(k,N)&&(Z=Ee(k),Y(k,ne,Q,!0),k=null),N.patchFlag===-2&&(fe=!1,N.dynamicChildren=null);const{type:G,ref:L,shapeFlag:U}=N;switch(G){case dl:p(k,N,j,Z);break;case or:m(k,N,j,Z);break;case xd:k==null&&b(N,j,Z,oe);break;case Je:M(k,N,j,Z,ne,Q,oe,pe,fe);break;default:U&1?_(k,N,j,Z,ne,Q,oe,pe,fe):U&6?z(k,N,j,Z,ne,Q,oe,pe,fe):(U&64||U&128)&&G.process(k,N,j,Z,ne,Q,oe,pe,fe,Te)}L!=null&&ne?Si(L,k&&k.ref,Q,N||k,!N):L==null&&k&&k.ref!=null&&Si(k.ref,null,Q,k,!0)},p=(k,N,j,Z)=>{if(k==null)n(N.el=a(N.children),j,Z);else{const ne=N.el=k.el;N.children!==k.children&&u(ne,N.children)}},m=(k,N,j,Z)=>{k==null?n(N.el=l(N.children||""),j,Z):N.el=k.el},b=(k,N,j,Z)=>{[k.el,k.anchor]=g(k.children,N,j,Z,k.el,k.anchor)},w=({el:k,anchor:N},j,Z)=>{let ne;for(;k&&k!==N;)ne=f(k),n(k,j,Z),k=ne;n(N,j,Z)},S=({el:k,anchor:N})=>{let j;for(;k&&k!==N;)j=f(k),o(k),k=j;o(N)},_=(k,N,j,Z,ne,Q,oe,pe,fe)=>{N.type==="svg"?oe="svg":N.type==="math"&&(oe="mathml"),k==null?E(N,j,Z,ne,Q,oe,pe,fe):A(k,N,ne,Q,oe,pe,fe)},E=(k,N,j,Z,ne,Q,oe,pe)=>{let fe,G;const{props:L,shapeFlag:U,transition:le,dirs:me}=k;if(fe=k.el=i(k.type,Q,L&&L.is,L),U&8?c(fe,k.children):U&16&&P(k.children,fe,null,Z,ne,Sd(k,Q),oe,pe),me&&Io(k,null,Z,"created"),O(fe,k,k.scopeId,oe,Z),L){for(const Ie in L)Ie!=="value"&&!ci(Ie)&&s(fe,Ie,null,L[Ie],Q,Z);"value"in L&&s(fe,"value",null,L.value,Q),(G=L.onVnodeBeforeMount)&&wn(G,Z,k)}me&&Io(k,null,Z,"beforeMount");const be=d$(ne,le);be&&le.beforeEnter(fe),n(fe,N,j),((G=L&&L.onVnodeMounted)||be||me)&&fr(()=>{G&&wn(G,Z,k),be&&le.enter(fe),me&&Io(k,null,Z,"mounted")},ne)},O=(k,N,j,Z,ne)=>{if(j&&d(k,j),Z)for(let Q=0;Q{for(let G=fe;G{const pe=N.el=k.el;let{patchFlag:fe,dynamicChildren:G,dirs:L}=N;fe|=k.patchFlag&16;const U=k.props||ut,le=N.props||ut;let me;if(j&&Ro(j,!1),(me=le.onVnodeBeforeUpdate)&&wn(me,j,N,k),L&&Io(N,k,j,"beforeUpdate"),j&&Ro(j,!0),(U.innerHTML&&le.innerHTML==null||U.textContent&&le.textContent==null)&&c(pe,""),G?V(k.dynamicChildren,G,pe,j,Z,Sd(N,ne),Q):oe||ie(k,N,pe,null,j,Z,Sd(N,ne),Q,!1),fe>0){if(fe&16)D(pe,U,le,j,ne);else if(fe&2&&U.class!==le.class&&s(pe,"class",null,le.class,ne),fe&4&&s(pe,"style",U.style,le.style,ne),fe&8){const be=N.dynamicProps;for(let Ie=0;Ie{me&&wn(me,j,N,k),L&&Io(N,k,j,"updated")},Z)},V=(k,N,j,Z,ne,Q,oe)=>{for(let pe=0;pe{if(N!==j){if(N!==ut)for(const Q in N)!ci(Q)&&!(Q in j)&&s(k,Q,N[Q],null,ne,Z);for(const Q in j){if(ci(Q))continue;const oe=j[Q],pe=N[Q];oe!==pe&&Q!=="value"&&s(k,Q,pe,oe,ne,Z)}"value"in j&&s(k,"value",N.value,j.value,ne)}},M=(k,N,j,Z,ne,Q,oe,pe,fe)=>{const G=N.el=k?k.el:a(""),L=N.anchor=k?k.anchor:a("");let{patchFlag:U,dynamicChildren:le,slotScopeIds:me}=N;me&&(pe=pe?pe.concat(me):me),k==null?(n(G,j,Z),n(L,j,Z),P(N.children||[],j,L,ne,Q,oe,pe,fe)):U>0&&U&64&&le&&k.dynamicChildren?(V(k.dynamicChildren,le,j,ne,Q,oe,pe),(N.key!=null||ne&&N===ne.subTree)&&Ed(k,N,!0)):ie(k,N,j,L,ne,Q,oe,pe,fe)},z=(k,N,j,Z,ne,Q,oe,pe,fe)=>{N.slotScopeIds=pe,k==null?N.shapeFlag&512?ne.ctx.activate(N,j,Z,oe,fe):F(N,j,Z,ne,Q,oe,fe):ue(k,N,fe)},F=(k,N,j,Z,ne,Q,oe)=>{const pe=k.component=k$(k,Z,ne);if(Ei(k)&&(pe.ctx.renderer=Te),A$(pe,!1,oe),pe.asyncDep){if(ne&&ne.registerDep(pe,K,oe),!k.el){const fe=pe.subTree=je(or);m(null,fe,N,j),k.placeholder=fe.el}}else K(pe,k,N,j,ne,Q,oe)},ue=(k,N,j)=>{const Z=N.component=k.component;if(S$(k,N,j))if(Z.asyncDep&&!Z.asyncResolved){he(Z,N,j);return}else Z.next=N,Z.update();else N.el=k.el,Z.vnode=N},K=(k,N,j,Z,ne,Q,oe)=>{const pe=()=>{if(k.isMounted){let{next:U,bu:le,u:me,parent:be,vnode:Ie}=k;{const xr=ig(k);if(xr){U&&(U.el=Ie.el,he(k,U,oe)),xr.asyncDep.then(()=>{k.isUnmounted||pe()});return}}let Ke=U,Et;Ro(k,!1),U?(U.el=Ie.el,he(k,U,oe)):U=Ie,le&&Ba(le),(Et=U.props&&U.props.onVnodeBeforeUpdate)&&wn(Et,be,U,Ie),Ro(k,!0);const Lt=dg(k),et=k.subTree;k.subTree=Lt,v(et,Lt,h(et.el),Ee(et),k,ne,Q),U.el=Lt.el,Ke===null&&E$(k,Lt.el),me&&fr(me,ne),(Et=U.props&&U.props.onVnodeUpdated)&&fr(()=>wn(Et,be,U,Ie),ne)}else{let U;const{el:le,props:me}=N,{bm:be,m:Ie,parent:Ke,root:Et,type:Lt}=k,et=ds(N);Ro(k,!1),be&&Ba(be),!et&&(U=me&&me.onVnodeBeforeMount)&&wn(U,Ke,N),Ro(k,!0);{Et.ce&&Et.ce._def.shadowRoot!==!1&&Et.ce._injectChildStyle(Lt);const xr=k.subTree=dg(k);v(null,xr,j,Z,k,ne,Q),N.el=xr.el}if(Ie&&fr(Ie,ne),!et&&(U=me&&me.onVnodeMounted)){const xr=N;fr(()=>wn(U,Ke,xr),ne)}(N.shapeFlag&256||Ke&&ds(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&k.a&&fr(k.a,ne),k.isMounted=!0,N=j=Z=null}};k.scope.on();const fe=k.effect=new Gh(pe);k.scope.off();const G=k.update=fe.run.bind(fe),L=k.job=fe.runIfDirty.bind(fe);L.i=k,L.id=k.uid,fe.scheduler=()=>ad(L),Ro(k,!0),G()},he=(k,N,j)=>{N.component=k;const Z=k.vnode.props;k.vnode=N,k.next=null,o$(k,N.props,Z,j),l$(k,N.children,j),mn(),gm(k),gn()},ie=(k,N,j,Z,ne,Q,oe,pe,fe=!1)=>{const G=k&&k.children,L=k?k.shapeFlag:0,U=N.children,{patchFlag:le,shapeFlag:me}=N;if(le>0){if(le&128){ce(G,U,j,Z,ne,Q,oe,pe,fe);return}else if(le&256){ve(G,U,j,Z,ne,Q,oe,pe,fe);return}}me&8?(L&16&&ae(G,ne,Q),U!==G&&c(j,U)):L&16?me&16?ce(G,U,j,Z,ne,Q,oe,pe,fe):ae(G,ne,Q,!0):(L&8&&c(j,""),me&16&&P(U,j,Z,ne,Q,oe,pe,fe))},ve=(k,N,j,Z,ne,Q,oe,pe,fe)=>{k=k||ns,N=N||ns;const G=k.length,L=N.length,U=Math.min(G,L);let le;for(le=0;leL?ae(k,ne,Q,!0,!1,U):P(N,j,Z,ne,Q,oe,pe,fe,U)},ce=(k,N,j,Z,ne,Q,oe,pe,fe)=>{let G=0;const L=N.length;let U=k.length-1,le=L-1;for(;G<=U&&G<=le;){const me=k[G],be=N[G]=fe?fo(N[G]):bn(N[G]);if(Mo(me,be))v(me,be,j,null,ne,Q,oe,pe,fe);else break;G++}for(;G<=U&&G<=le;){const me=k[U],be=N[le]=fe?fo(N[le]):bn(N[le]);if(Mo(me,be))v(me,be,j,null,ne,Q,oe,pe,fe);else break;U--,le--}if(G>U){if(G<=le){const me=le+1,be=mele)for(;G<=U;)Y(k[G],ne,Q,!0),G++;else{const me=G,be=G,Ie=new Map;for(G=be;G<=le;G++){const It=N[G]=fe?fo(N[G]):bn(N[G]);It.key!=null&&Ie.set(It.key,G)}let Ke,Et=0;const Lt=le-be+1;let et=!1,xr=0;const Nt=new Array(Lt);for(G=0;G=Lt){Y(It,ne,Q,!0);continue}let Or;if(It.key!=null)Or=Ie.get(It.key);else for(Ke=be;Ke<=le;Ke++)if(Nt[Ke-be]===0&&Mo(It,N[Ke])){Or=Ke;break}Or===void 0?Y(It,ne,Q,!0):(Nt[Or-be]=G+1,Or>=xr?xr=Or:et=!0,v(It,N[Or],j,null,ne,Q,oe,pe,fe),Et++)}const wa=et?f$(Nt):ns;for(Ke=wa.length-1,G=Lt-1;G>=0;G--){const It=be+G,Or=N[It],_a=N[It+1],$c=It+1{const{el:Q,type:oe,transition:pe,children:fe,shapeFlag:G}=k;if(G&6){W(k.component.subTree,N,j,Z);return}if(G&128){k.suspense.move(N,j,Z);return}if(G&64){oe.move(k,N,j,Te);return}if(oe===Je){n(Q,N,j);for(let U=0;Upe.enter(Q),ne);else{const{leave:U,delayLeave:le,afterLeave:me}=pe,be=()=>{k.ctx.isUnmounted?o(Q):n(Q,N,j)},Ie=()=>{Q._isLeaving&&Q[Vn](!0),U(Q,()=>{be(),me&&me()})};le?le(Q,be,Ie):Ie()}else n(Q,N,j)},Y=(k,N,j,Z=!1,ne=!1)=>{const{type:Q,props:oe,ref:pe,children:fe,dynamicChildren:G,shapeFlag:L,patchFlag:U,dirs:le,cacheIndex:me}=k;if(U===-2&&(ne=!1),pe!=null&&(mn(),Si(pe,null,j,k,!0),gn()),me!=null&&(N.renderCache[me]=void 0),L&256){N.ctx.deactivate(k);return}const be=L&1&&le,Ie=!ds(k);let Ke;if(Ie&&(Ke=oe&&oe.onVnodeBeforeUnmount)&&wn(Ke,N,k),L&6)H(k.component,j,Z);else{if(L&128){k.suspense.unmount(j,Z);return}be&&Io(k,null,N,"beforeUnmount"),L&64?k.type.remove(k,N,j,Te,Z):G&&!G.hasOnce&&(Q!==Je||U>0&&U&64)?ae(G,N,j,!1,!0):(Q===Je&&U&384||!ne&&L&16)&&ae(fe,N,j),Z&&re(k)}(Ie&&(Ke=oe&&oe.onVnodeUnmounted)||be)&&fr(()=>{Ke&&wn(Ke,N,k),be&&Io(k,null,N,"unmounted")},j)},re=k=>{const{type:N,el:j,anchor:Z,transition:ne}=k;if(N===Je){R(j,Z);return}if(N===xd){S(k);return}const Q=()=>{o(j),ne&&!ne.persisted&&ne.afterLeave&&ne.afterLeave()};if(k.shapeFlag&1&&ne&&!ne.persisted){const{leave:oe,delayLeave:pe}=ne,fe=()=>oe(j,Q);pe?pe(k.el,Q,fe):fe()}else Q()},R=(k,N)=>{let j;for(;k!==N;)j=f(k),o(k),k=j;o(N)},H=(k,N,j)=>{const{bum:Z,scope:ne,job:Q,subTree:oe,um:pe,m:fe,a:G}=k;ag(fe),ag(G),Z&&Ba(Z),ne.stop(),Q&&(Q.flags|=8,Y(oe,k,N,j)),pe&&fr(pe,N),fr(()=>{k.isUnmounted=!0},N)},ae=(k,N,j,Z=!1,ne=!1,Q=0)=>{for(let oe=Q;oe{if(k.shapeFlag&6)return Ee(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const N=f(k.anchor||k.el),j=N&&N[wm];return j?f(j):N};let Ce=!1;const Re=(k,N,j)=>{k==null?N._vnode&&Y(N._vnode,null,null,!0):v(N._vnode||null,k,N,null,null,null,j),N._vnode=k,Ce||(Ce=!0,gm(),ym(),Ce=!1)},Te={p:v,um:Y,m:W,r:re,mt:F,mc:P,pc:ie,pbc:V,n:Ee,o:e};return{render:Re,hydrate:void 0,createApp:r$(Re)}}function Sd({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Ro({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function d$(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ed(e,t,r=!1){const n=e.children,o=t.children;if(Pe(n)&&Pe(o))for(let s=0;s>1,e[r[a]]0&&(t[n]=r[s-1]),r[s]=n)}}for(s=r.length,i=r[s-1];s-- >0;)r[s]=i,i=t[i];return r}function ig(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ig(t)}function ag(e){if(e)for(let t=0;tTt(p$);function m$(e,t){return ul(e,null,t)}function g$(e,t){return ul(e,null,{flush:"sync"})}function mt(e,t,r){return ul(e,t,r)}function ul(e,t,r=ut){const{immediate:n,deep:o,flush:s,once:i}=r,a=xt({},r),l=t&&n||!t&&s!=="post";let u;if(ps){if(s==="sync"){const d=h$();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=hn,d.resume=hn,d.pause=hn,d}}const c=Kt;a.call=(d,g,v)=>Wr(d,c,g,v);let h=!1;s==="post"?a.scheduler=d=>{fr(d,c&&c.suspense)}:s!=="sync"&&(h=!0,a.scheduler=(d,g)=>{g?d():ad(d)}),a.augmentJob=d=>{t&&(d.flags|=4),h&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=$O(e,t,a);return ps&&(u?u.push(f):l&&f()),f}function y$(e,t,r){const n=this.proxy,o=St(e)?e.includes(".")?lg(n,e):()=>n[e]:e.bind(n,n);let s;Ve(t)?s=t:(s=t.handler,r=t);const i=Ai(this),a=ul(o,s.bind(n),r);return i(),a}function lg(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{let c,h=ut,f;return g$(()=>{const d=e[o];yr(c,d)&&(c=d,u())}),{get(){return l(),r.get?r.get(c):c},set(d){const g=r.set?r.set(d):d;if(!yr(g,c)&&!(h!==ut&&yr(d,h)))return;const v=n.vnode.props;v&&(t in v||o in v||s in v)&&(`onUpdate:${t}`in v||`onUpdate:${o}`in v||`onUpdate:${s}`in v)||(c=d,u()),n.emit(`update:${t}`,g),yr(d,g)&&yr(d,h)&&!yr(g,f)&&u(),h=d,f=g}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||ut:a,done:!1}:{done:!0}}}},a}const ug=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qt(t)}Modifiers`]||e[`${Cr(t)}Modifiers`];function v$(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ut;let o=r;const s=t.startsWith("update:"),i=s&&ug(n,t.slice(7));i&&(i.trim&&(o=r.map(c=>St(c)?c.trim():c)),i.number&&(o=r.map(Lh)));let a,l=n[a=zc(t)]||n[a=zc(Qt(t))];!l&&s&&(l=n[a=zc(Cr(t))]),l&&Wr(l,e,6,o);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Wr(u,e,6,o)}}const b$=new WeakMap;function cg(e,t,r=!1){const n=r?b$:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Ve(e)){const l=u=>{const c=cg(u,t,!0);c&&(a=!0,xt(i,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(gt(e)&&n.set(e,null),null):(Pe(s)?s.forEach(l=>i[l]=null):xt(i,s),gt(e)&&n.set(e,i),i)}function cl(e,t){return!e||!Da(t)?!1:(t=t.slice(2).replace(/Once$/,""),ct(e,t[0].toLowerCase()+t.slice(1))||ct(e,Cr(t))||ct(e,t))}function $F(){}function dg(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:h,data:f,setupState:d,ctx:g,inheritAttrs:v}=e,p=el(e);let m,b;try{if(r.shapeFlag&4){const S=o||n,_=S;m=bn(u.call(_,S,c,h,d,f,g)),b=a}else{const S=t;m=bn(S.length>1?S(h,{attrs:a,slots:i,emit:l}):S(h,null)),b=t.props?a:w$(a)}}catch(S){Ci.length=0,vi(S,e,1),m=je(or)}let w=m;if(b&&v!==!1){const S=Object.keys(b),{shapeFlag:_}=w;S.length&&_&7&&(s&&S.some(Fc)&&(b=_$(b,s)),w=co(w,b,!1,!0))}return r.dirs&&(w=co(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(r.dirs):r.dirs),r.transition&&Do(w,r.transition),m=w,el(p),m}const w$=e=>{let t;for(const r in e)(r==="class"||r==="style"||Da(r))&&((t||(t={}))[r]=e[r]);return t},_$=(e,t)=>{const r={};for(const n in e)(!Fc(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function S$(e,t,r){const{props:n,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?fg(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let h=0;he.__isSuspense;function x$(e,t){t&&t.pendingBranch?Pe(e)?t.effects.push(...e):t.effects.push(e):IO(e)}const Je=Symbol.for("v-fgt"),dl=Symbol.for("v-txt"),or=Symbol.for("v-cmt"),xd=Symbol.for("v-stc"),Ci=[];let kr=null;function ee(e=!1){Ci.push(kr=e?null:[])}function O$(){Ci.pop(),kr=Ci[Ci.length-1]||null}let Ti=1;function fl(e,t=!1){Ti+=e,e<0&&kr&&t&&(kr.hasOnce=!0)}function hg(e){return e.dynamicChildren=Ti>0?kr||ns:null,O$(),Ti>0&&kr&&kr.push(e),e}function _e(e,t,r,n,o,s){return hg(Ne(e,t,r,n,o,s,!0))}function ye(e,t,r,n,o){return hg(je(e,t,r,n,o,!0))}function ki(e){return e?e.__v_isVNode===!0:!1}function Mo(e,t){return e.type===t.type&&e.key===t.key}const mg=({key:e})=>e??null,pl=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?St(e)||wt(e)||Ve(e)?{i:Ht,r:e,k:t,f:!!r}:e:null);function Ne(e,t=null,r=null,n=0,o=null,s=e===Je?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mg(t),ref:t&&pl(t),scopeId:bm,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ht};return a?(Od(l,r),s&128&&e.normalize(l)):r&&(l.shapeFlag|=St(r)?8:16),Ti>0&&!i&&kr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&kr.push(l),l}const je=$$;function $$(e,t=null,r=null,n=0,o=null,s=!1){if((!e||e===Vm)&&(e=or),ki(e)){const a=co(e,t,!0);return r&&Od(a,r),Ti>0&&!s&&kr&&(a.shapeFlag&6?kr[kr.indexOf(e)]=a:kr.push(a)),a.patchFlag=-2,a}if(j$(e)&&(e=e.__vccOpts),t){t=fs(t);let{class:a,style:l}=t;a&&!St(a)&&(t.class=He(a)),gt(l)&&(Ja(l)&&!Pe(l)&&(l=xt({},l)),t.style=so(l))}const i=St(e)?1:pg(e)?128:_m(e)?64:gt(e)?4:Ve(e)?2:0;return Ne(e,t,r,n,o,i,s,!0)}function fs(e){return e?Ja(e)||Qm(e)?xt({},e):e:null}function co(e,t,r=!1,n=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?ft(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&mg(u),ref:t&&t.ref?r&&s?Pe(s)?s.concat(pl(t)):[s,pl(t)]:pl(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&co(e.ssContent),ssFallback:e.ssFallback&&co(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Do(c,l.clone(c)),c}function We(e=" ",t=0){return je(dl,null,e,t)}function Le(e="",t=!1){return t?(ee(),ye(or,null,e)):je(or,null,e)}function bn(e){return e==null||typeof e=="boolean"?je(or):Pe(e)?je(Je,null,e.slice()):ki(e)?fo(e):je(dl,null,String(e))}function fo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:co(e)}function Od(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Pe(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Od(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!Qm(t)?t._ctx=Ht:o===3&&Ht&&(Ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ve(t)?(t={default:t,_ctx:Ht},r=32):(t=String(t),n&64?(r=16,t=[We(t)]):r=8);e.children=t,e.shapeFlag|=r}function ft(...e){const t={};for(let r=0;rKt||Ht;let hl,$d;{const e=Va(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};hl=t("__VUE_INSTANCE_SETTERS__",r=>Kt=r),$d=t("__VUE_SSR_SETTERS__",r=>ps=r)}const Ai=e=>{const t=Kt;return hl(e),e.scope.on(),()=>{e.scope.off(),hl(t)}},gg=()=>{Kt&&Kt.scope.off(),hl(null)};function yg(e){return e.vnode.shapeFlag&4}let ps=!1;function A$(e,t=!1,r=!1){t&&$d(t);const{props:n,children:o}=e.vnode,s=yg(e);n$(e,n,s,t),a$(e,o,r||t);const i=s?P$(e,t):void 0;return t&&$d(!1),i}function P$(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,JO);const{setup:n}=r;if(n){mn();const o=e.setupContext=n.length>1?wg(e):null,s=Ai(e),i=ls(n,e,0,[e.props,o]),a=Mh(i);if(gn(),s(),(a||e.sp)&&!ds(e)&&dd(e),a){if(i.then(gg,gg),t)return i.then(l=>{vg(e,l)}).catch(l=>{vi(l,e,0)});e.asyncDep=i}else vg(e,i)}else bg(e)}function vg(e,t,r){Ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:gt(t)&&(e.setupState=dm(t)),bg(e)}function bg(e,t,r){const n=e.type;e.render||(e.render=n.render||hn);{const o=Ai(e);mn();try{ZO(e)}finally{gn(),o()}}}const N$={get(e,t){return tr(e,"get",""),e[t]}};function wg(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,N$),slots:e.slots,emit:e.emit,expose:t}}function ml(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(dm(gi(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Oi)return Oi[r](e)},has(t,r){return r in t||r in Oi}})):e.proxy}const I$=/(?:^|[-_])\w/g,D$=e=>e.replace(I$,t=>t.toUpperCase()).replace(/[-_]/g,"");function _g(e,t=!0){return Ve(e)?e.displayName||e.name:e.name||t&&e.__name}function Sg(e,t,r=!1){let n=_g(t);if(!n&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(n=o[1])}if(!n&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};n=o(e.components||e.parent.type.components)||o(e.appContext.components)}return n?D$(n):r?"App":"Anonymous"}function j$(e){return Ve(e)&&"__vccOpts"in e}const J=(e,t)=>xO(e,t,ps);function Pi(e,t,r){try{fl(-1);const n=arguments.length;return n===2?gt(t)&&!Pe(t)?ki(t)?je(e,null,[t]):je(e,t):je(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&ki(r)&&(r=[r]),je(e,t,r))}finally{fl(1)}}const R$="3.5.22";/** +**/const Js=[];let Cc=!1;function yI(e,...t){if(Cc)return;Cc=!0,Yr();const r=Js.length?Js[Js.length-1].component:null,n=r&&r.appContext.config.warnHandler,i=PS();if(n)Ki(n,r,11,[e+t.map(s=>{var a,o;return(o=(a=s.toString)==null?void 0:a.call(s))!=null?o:JSON.stringify(s)}).join(""),r&&r.proxy,i.map(({vnode:s})=>`at <${Fp(r,s.type)}>`).join(` +`),i]);else{const s=[`[Vue warn]: ${e}`,...t];i.length&&s.push(` +`,...NS(i)),console.warn(...s)}Xr(),Cc=!1}function PS(){let e=Js[Js.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function NS(e){const t=[];return e.forEach((r,n)=>{t.push(...n===0?[]:[` +`],...kS(r))}),t}function kS({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Fp(e.component,e.type,n)}`,s=">"+r;return e.props?[i,...RS(e.props),s]:[i+s]}function RS(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(n=>{t.push(...N0(n,e[n]))}),r.length>3&&t.push(" ..."),t}function N0(e,t,r){return at(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:st(t)?(t=N0(e,je(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):Te(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=je(t),r?t:[`${e}=`,t])}function Ki(e,t,r,n){try{return n?e(...n):e()}catch(i){Ks(i,t,r)}}function Or(e,t,r,n){if(Te(e)){const i=Ki(e,t,r,n);return i&&e0(i)&&i.catch(s=>{Ks(s,t,r)}),i}if(ve(e)){const i=[];for(let s=0;s>>1,i=Wt[n],s=Zs(i);s=Zs(r)?Wt.push(e):Wt.splice(DS(t),0,e),e.flags|=1,R0()}}function R0(){_o||(_o=k0.then(M0))}function MS(e){ve(e)?Zi.push(...e):Gn&&e.id===-1?Gn.splice(Yi+1,0,e):e.flags&1||(Zi.push(e),e.flags|=1),R0()}function I0(e,t,r=Qr+1){for(;rZs(r)-Zs(n));if(Zi.length=0,Gn){Gn.push(...t);return}for(Gn=t,Yi=0;Yie.id==null?e.flags&2?-1:1/0:e.id;function M0(e){try{for(Qr=0;Qr{n._d&&Io(-1);const s=So(t);let a;try{a=e(...i)}finally{So(s),n._d&&Io(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function _n(e,t){if(xt===null)return e;const r=Bo(xt),n=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,Ys=e=>e&&(e.disabled||e.disabled===""),F0=e=>e&&(e.defer||e.defer===""),q0=e=>typeof SVGElement<"u"&&e instanceof SVGElement,V0=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Pc=(e,t)=>{const r=e&&e.to;return at(r)?t?t(r):null:r},U0={name:"Teleport",__isTeleport:!0,process(e,t,r,n,i,s,a,o,u,l){const{mc:c,pc:h,pbc:d,o:{insert:f,querySelector:m,createText:y,createComment:p}}=l,v=Ys(t.props);let{shapeFlag:g,children:b,dynamicChildren:_}=t;if(e==null){const w=t.el=y(""),S=t.anchor=y("");f(w,r,n),f(S,r,n);const E=(C,P)=>{g&16&&c(b,C,P,i,s,a,o,u)},$=()=>{const C=t.target=Pc(t.props,m),P=z0(C,t,y,f);C&&(a!=="svg"&&q0(C)?a="svg":a!=="mathml"&&V0(C)&&(a="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(C),v||(E(C,P),xo(t,!1)))};v&&(E(r,S),xo(t,!0)),F0(t.props)?(t.el.__isMounted=!1,Kt(()=>{$(),delete t.el.__isMounted},s)):$()}else{if(F0(t.props)&&e.el.__isMounted===!1){Kt(()=>{U0.process(e,t,r,n,i,s,a,o,u,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor,$=Ys(e.props),C=$?r:S,P=$?w:E;if(a==="svg"||q0(S)?a="svg":(a==="mathml"||V0(S))&&(a="mathml"),_?(d(e.dynamicChildren,_,C,i,s,a,o),Hc(e,t,!0)):u||h(e,t,C,P,i,s,a,o,!1),v)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Eo(t,r,w,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Pc(t.props,m);A&&Eo(t,A,null,l,0)}else $&&Eo(t,S,E,l,1);xo(t,v)}},remove(e,t,r,{um:n,o:{remove:i}},s){const{shapeFlag:a,children:o,anchor:u,targetStart:l,targetAnchor:c,target:h,props:d}=e;if(h&&(i(l),i(c)),s&&i(u),a&16){const f=s||!Ys(d);for(let m=0;m{e.isMounted=!0}),ta(()=>{e.isUnmounting=!0}),e}const br=[Function,Array],W0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:br,onEnter:br,onAfterEnter:br,onEnterCancelled:br,onBeforeLeave:br,onLeave:br,onAfterLeave:br,onLeaveCancelled:br,onBeforeAppear:br,onAppear:br,onAfterAppear:br,onAppearCancelled:br},G0=e=>{const t=e.subTree;return t.component?G0(t.component):t},LS={name:"BaseTransition",props:W0,setup(e,{slots:t}){const r=Cr(),n=H0();return()=>{const i=t.default&&kc(t.default(),!0);if(!i||!i.length)return;const s=J0(i),a=je(e),{mode:o}=a;if(n.isLeaving)return Nc(s);const u=Z0(s);if(!u)return Nc(s);let l=Xs(u,a,n,r,h=>l=h);u.type!==jt&&yi(u,l);let c=r.subTree&&Z0(r.subTree);if(c&&c.type!==jt&&!_i(c,u)&&G0(r).type!==jt){let h=Xs(c,a,n,r);if(yi(c,h),o==="out-in"&&u.type!==jt)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete h.afterLeave,c=void 0},Nc(s);o==="in-out"&&u.type!==jt?h.delayLeave=(d,f,m)=>{const y=K0(n,c);y[String(c.key)]=c,d[Sn]=()=>{f(),d[Sn]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{m(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function J0(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==jt){t=r;break}}return t}const FS=LS;function K0(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Xs(e,t,r,n,i){const{appear:s,mode:a,persisted:o=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:d,onLeave:f,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:p,onAppear:v,onAfterAppear:g,onAppearCancelled:b}=t,_=String(e.key),w=K0(r,e),S=(C,P)=>{C&&Or(C,n,9,P)},E=(C,P)=>{const A=P[1];S(C,P),ve(C)?C.every(k=>k.length<=1)&&A():C.length<=1&&A()},$={mode:a,persisted:o,beforeEnter(C){let P=u;if(!r.isMounted)if(s)P=p||u;else return;C[Sn]&&C[Sn](!0);const A=w[_];A&&_i(e,A)&&A.el[Sn]&&A.el[Sn](),S(P,[C])},enter(C){let P=l,A=c,k=h;if(!r.isMounted)if(s)P=v||l,A=g||c,k=b||h;else return;let D=!1;const U=C[To]=q=>{D||(D=!0,q?S(k,[C]):S(A,[C]),$.delayedLeave&&$.delayedLeave(),C[To]=void 0)};P?E(P,[C,U]):U()},leave(C,P){const A=String(e.key);if(C[To]&&C[To](!0),r.isUnmounting)return P();S(d,[C]);let k=!1;const D=C[Sn]=U=>{k||(k=!0,P(),U?S(y,[C]):S(m,[C]),C[Sn]=void 0,w[A]===e&&delete w[A])};w[A]=e,f?E(f,[C,D]):D()},clone(C){const P=Xs(C,t,r,n,i);return i&&i(P),P}};return $}function Nc(e){if(ea(e))return e=Jn(e),e.children=null,e}function Z0(e){if(!ea(e))return L0(e.type)&&e.children?J0(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Te(r.default))return r.default()}}function yi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,yi(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function kc(e,t=!1,r){let n=[],i=0;for(let s=0;s1)for(let s=0;sr.value,set:s=>r.value=s})}return r}const $o=new WeakMap;function Qs(e,t,r,n,i=!1){if(ve(e)){e.forEach((m,y)=>Qs(m,t&&(ve(t)?t[y]:t),r,n,i));return}if(Xi(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Qs(e,t,r,n.component.subTree);return}const s=n.shapeFlag&4?Bo(n.component):n.el,a=i?null:s,{i:o,r:u}=e,l=t&&t.r,c=o.refs===Ge?o.refs={}:o.refs,h=o.setupState,d=je(h),f=h===Ge?Xh:m=>Ke(d,m);if(l!=null&&l!==u){if(Y0(t),at(l))c[l]=null,f(l)&&(h[l]=null);else if(st(l)){l.value=null;const m=t;m.k&&(c[m.k]=null)}}if(Te(u))Ki(u,o,12,[a,c]);else{const m=at(u),y=st(u);if(m||y){const p=()=>{if(e.f){const v=m?f(u)?h[u]:c[u]:u.value;if(i)ve(v)&&fc(v,s);else if(ve(v))v.includes(s)||v.push(s);else if(m)c[u]=[s],f(u)&&(h[u]=c[u]);else{const g=[s];u.value=g,e.k&&(c[e.k]=g)}}else m?(c[u]=a,f(u)&&(h[u]=a)):y&&(u.value=a,e.k&&(c[e.k]=a))};if(a){const v=()=>{p(),$o.delete(e)};v.id=-1,$o.set(e,v),Kt(v,r)}else Y0(e),p()}}}function Y0(e){const t=$o.get(e);t&&(t.flags|=8,$o.delete(e))}const X0=e=>e.nodeType===8;ao().requestIdleCallback,ao().cancelIdleCallback;function VS(e,t){if(X0(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(X0(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Xi=e=>!!e.type.__asyncLoader;function Gt(e){Te(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,hydrate:s,timeout:a,suspensible:o=!0,onError:u}=e;let l=null,c,h=0;const d=()=>(h++,l=null,f()),f=()=>{let m;return l||(m=l=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),u)return new Promise((p,v)=>{u(y,()=>p(d()),()=>v(y),h+1)});throw y}).then(y=>m!==l&&l?l:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return ce({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(m,y,p){let v=!1;(y.bu||(y.bu=[])).push(()=>v=!0);const g=()=>{v||p()},b=s?()=>{const _=s(g,w=>VS(m,w));_&&(y.bum||(y.bum=[])).push(_)}:g;c?b():f().then(()=>!y.isUnmounted&&b())},get __asyncResolved(){return c},setup(){const m=Ot;if(Rc(m),c)return()=>Ic(c,m);const y=b=>{l=null,Ks(b,m,13,!n)};if(o&&m.suspense||es)return f().then(b=>()=>Ic(b,m)).catch(b=>(y(b),()=>n?Ee(n,{error:b}):null));const p=Se(!1),v=Se(),g=Se(!!i);return i&&setTimeout(()=>{g.value=!1},i),a!=null&&setTimeout(()=>{if(!p.value&&!v.value){const b=new Error(`Async component timed out after ${a}ms.`);y(b),v.value=b}},a),f().then(()=>{p.value=!0,m.parent&&ea(m.parent.vnode)&&m.parent.update()}).catch(b=>{y(b),v.value=b}),()=>{if(p.value&&c)return Ic(c,m);if(v.value&&n)return Ee(n,{error:v.value});if(r&&!g.value)return Ee(r)}}})}function Ic(e,t){const{ref:r,props:n,children:i,ce:s}=t.vnode,a=Ee(e,n,i);return a.ref=r,a.ce=s,delete t.vnode.ce,a}const ea=e=>e.type.__isKeepAlive;function Q0(e,t){ep(e,"a",t)}function US(e,t){ep(e,"da",t)}function ep(e,t,r=Ot){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Oo(t,n,r),r){let i=r.parent;for(;i&&i.parent;)ea(i.parent.vnode)&&zS(n,t,r,i),i=i.parent}}function zS(e,t,r,n){const i=Oo(t,e,n,!0);Co(()=>{fc(n[t],i)},r)}function Oo(e,t,r=Ot,n=!1){if(r){const i=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Yr();const o=oa(r),u=Or(t,r,e,a);return o(),Xr(),u});return n?i.unshift(s):i.push(s),s}}const En=e=>(t,r=Ot)=>{(!es||e==="sp")&&Oo(e,(...n)=>t(...n),r)},Dc=En("bm"),xn=En("m"),HS=En("bu"),tp=En("u"),ta=En("bum"),Co=En("um"),WS=En("sp"),GS=En("rtg"),JS=En("rtc");function KS(e,t=Ot){Oo("ec",e,t)}const rp="components";function ZS(e,t){return ip(rp,e,!0,t)||e}const np=Symbol.for("v-ndc");function Ze(e){return at(e)?ip(rp,e,!1)||e:e||np}function ip(e,t,r=!0,n=!1){const i=xt||Ot;if(i){const s=i.type;{const o=Lp(s,!1);if(o&&(o===t||o===Rt(t)||o===io(Rt(t))))return s}const a=sp(i[e]||s[e],t)||sp(i.appContext[e],t);return!a&&n?s:a}}function sp(e,t){return e&&(e[t]||e[Rt(t)]||e[io(Rt(t))])}function Tt(e,t,r,n){let i;const s=r,a=ve(e);if(a||at(e)){const o=a&&bn(e);let u=!1,l=!1;o&&(u=!yr(e),l=Hn(e),e=co(e)),i=new Array(e.length);for(let c=0,h=e.length;ct(o,u,void 0,s));else{const o=Object.keys(e);i=new Array(o.length);for(let u=0,l=o.length;u{const s=n.fn(...i);return s&&(s.key=n.key),s}:n.fn)}return e}function he(e,t,r={},n,i){if(xt.ce||xt.parent&&Xi(xt.parent)&&xt.parent.ce){const l=Object.keys(r).length>0;return t!=="default"&&(r.name=t),V(),ie(Re,null,[Ee("slot",r,n&&n())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),V();const a=s&&ap(s(r)),o=r.key||a&&a.key,u=ie(Re,{key:(o&&!Tr(o)?o:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),s&&s._c&&(s._d=!0),u}function ap(e){return e.some(t=>aa(t)?!(t.type===jt||t.type===Re&&!ap(t.children)):!0)?e:null}const Mc=e=>e?Dp(e)?Bo(e):Mc(e.parent):null,ra=ot(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Mc(e.parent),$root:e=>Mc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>cp(e),$forceUpdate:e=>e.f||(e.f=()=>{Ac(e.update)}),$nextTick:e=>e.n||(e.n=_t.bind(e.proxy)),$watch:e=>w3.bind(e)}),Bc=(e,t)=>e!==Ge&&!e.__isScriptSetup&&Ke(e,t),XS={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:i,props:s,accessCache:a,type:o,appContext:u}=e;let l;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return s[t]}else{if(Bc(n,t))return a[t]=1,n[t];if(i!==Ge&&Ke(i,t))return a[t]=2,i[t];if((l=e.propsOptions[0])&&Ke(l,t))return a[t]=3,s[t];if(r!==Ge&&Ke(r,t))return a[t]=4,r[t];Lc&&(a[t]=0)}}const c=ra[t];let h,d;if(c)return t==="$attrs"&&Dt(e.attrs,"get",""),c(e);if((h=o.__cssModules)&&(h=h[t]))return h;if(r!==Ge&&Ke(r,t))return a[t]=4,r[t];if(d=u.config.globalProperties,Ke(d,t))return d[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:s}=e;return Bc(i,t)?(i[t]=r,!0):n!==Ge&&Ke(n,t)?(n[t]=r,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:s,type:a}},o){let u,l;return!!(r[o]||e!==Ge&&o[0]!=="$"&&Ke(e,o)||Bc(t,o)||(u=s[0])&&Ke(u,o)||Ke(n,o)||Ke(ra,o)||Ke(i.config.globalProperties,o)||(l=a.__cssModules)&&l[o])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Ke(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function en(){return op().slots}function jc(){return op().attrs}function op(e){const t=Cr();return t.setupContext||(t.setupContext=jp(t))}function Ao(e){return ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function Bt(e,t){return!e||!t?e||t:ve(e)&&ve(t)?e.concat(t):ot({},Ao(e),Ao(t))}let Lc=!0;function QS(e){const t=cp(e),r=e.proxy,n=e.ctx;Lc=!1,t.beforeCreate&&up(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:o,provide:u,inject:l,created:c,beforeMount:h,mounted:d,beforeUpdate:f,updated:m,activated:y,deactivated:p,beforeDestroy:v,beforeUnmount:g,destroyed:b,unmounted:_,render:w,renderTracked:S,renderTriggered:E,errorCaptured:$,serverPrefetch:C,expose:P,inheritAttrs:A,components:k,directives:D,filters:U}=t;if(l&&e3(l,n,null),a)for(const Z in a){const Q=a[Z];Te(Q)&&(n[Z]=Q.bind(r))}if(i){const Z=i.call(r,r);rt(Z)&&(e.data=mo(Z))}if(Lc=!0,s)for(const Z in s){const Q=s[Z],ae=Te(Q)?Q.bind(r,r):Te(Q.get)?Q.get.bind(r,r):Zr,W=!Te(Q)&&Te(Q.set)?Q.set.bind(r):Zr,j=L({get:ae,set:W});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>j.value,set:K=>j.value=K})}if(o)for(const Z in o)lp(o[Z],n,r,Z);if(u){const Z=Te(u)?u.call(r):u;Reflect.ownKeys(Z).forEach(Q=>{$t(Q,Z[Q])})}c&&up(c,e,"c");function ee(Z,Q){ve(Q)?Q.forEach(ae=>Z(ae.bind(r))):Q&&Z(Q.bind(r))}if(ee(Dc,h),ee(xn,d),ee(HS,f),ee(tp,m),ee(Q0,y),ee(US,p),ee(KS,$),ee(JS,S),ee(GS,E),ee(ta,g),ee(Co,_),ee(WS,C),ve(P))if(P.length){const Z=e.exposed||(e.exposed={});P.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>r[Q],set:ae=>r[Q]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===Zr&&(e.render=w),A!=null&&(e.inheritAttrs=A),k&&(e.components=k),D&&(e.directives=D),C&&Rc(e)}function e3(e,t,r=Zr){ve(e)&&(e=Fc(e));for(const n in e){const i=e[n];let s;rt(i)?"default"in i?s=lt(i.from||n,i.default,!0):s=lt(i.from||n):s=lt(i),st(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[n]=s}}function up(e,t,r){Or(ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function lp(e,t,r,n){let i=n.includes(".")?$p(r,n):()=>r[n];if(at(e)){const s=t[e];Te(s)&&et(i,s)}else if(Te(e))et(i,e.bind(r));else if(rt(e))if(ve(e))e.forEach(s=>lp(s,t,r,n));else{const s=Te(e.handler)?e.handler.bind(r):t[e.handler];Te(s)&&et(i,s,e)}}function cp(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(t);let u;return o?u=o:!i.length&&!r&&!n?u=t:(u={},i.length&&i.forEach(l=>Po(u,l,a,!0)),Po(u,t,a)),rt(t)&&s.set(t,u),u}function Po(e,t,r,n=!1){const{mixins:i,extends:s}=t;s&&Po(e,s,r,!0),i&&i.forEach(a=>Po(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const o=t3[a]||r&&r[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const t3={data:fp,props:dp,emits:dp,methods:na,computed:na,beforeCreate:Jt,created:Jt,beforeMount:Jt,mounted:Jt,beforeUpdate:Jt,updated:Jt,beforeDestroy:Jt,beforeUnmount:Jt,destroyed:Jt,unmounted:Jt,activated:Jt,deactivated:Jt,errorCaptured:Jt,serverPrefetch:Jt,components:na,directives:na,watch:n3,provide:fp,inject:r3};function fp(e,t){return t?e?function(){return ot(Te(e)?e.call(this,this):e,Te(t)?t.call(this,this):t)}:t:e}function r3(e,t){return na(Fc(e),Fc(t))}function Fc(e){if(ve(e)){const t={};for(let r=0;r1)return r&&Te(t)?t.call(n&&n.proxy):t}}function pp(){return!!(Cr()||bi)}const mp={},gp=()=>Object.create(mp),vp=e=>Object.getPrototypeOf(e)===mp;function a3(e,t,r,n=!1){const i={},s=gp();e.propsDefaults=Object.create(null),yp(e,t,i,s);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);r?e.props=n?i:bS(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function o3(e,t,r,n){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,o=je(i),[u]=e.propsOptions;let l=!1;if((n||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let h=0;h{u=!0;const[d,f]=bp(h,t,!0);ot(a,d),f&&o.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!u)return rt(e)&&n.set(e,zi),zi;if(ve(s))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Uc=e=>ve(e)?e.map(tn):[tn(e)],l3=(e,t,r)=>{if(t._n)return t;const n=le((...i)=>Uc(t(...i)),r);return n._c=!1,n},_p=(e,t,r)=>{const n=e._ctx;for(const i in e){if(Vc(i))continue;const s=e[i];if(Te(s))t[i]=l3(i,s,n);else if(s!=null){const a=Uc(s);t[i]=()=>a}}},Sp=(e,t)=>{const r=Uc(t);e.slots.default=()=>r},Ep=(e,t,r)=>{for(const n in t)(r||!Vc(n))&&(e[n]=t[n])},c3=(e,t,r)=>{const n=e.slots=gp();if(e.vnode.shapeFlag&32){const i=t._;i?(Ep(n,t,r),r&&r0(n,"_",i,!0)):_p(t,n)}else t&&Sp(e,t)},f3=(e,t,r)=>{const{vnode:n,slots:i}=e;let s=!0,a=Ge;if(n.shapeFlag&32){const o=t._;o?r&&o===1?s=!1:Ep(i,t,r):(s=!t.$stable,_p(t,i)),a=t}else t&&(Sp(e,t),a={default:1});if(s)for(const o in i)!Vc(o)&&a[o]==null&&delete i[o]},Kt=O3;function d3(e){return h3(e)}function h3(e,t){const r=ao();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:a,createText:o,createComment:u,setText:l,setElementText:c,parentNode:h,nextSibling:d,setScopeId:f=Zr,insertStaticContent:m}=e,y=(T,O,N,F=null,z=null,X=null,re=void 0,H=null,G=!!O.dynamicChildren)=>{if(T===O)return;T&&!_i(T,O)&&(F=fe(T),K(T,z,X,!0),T=null),O.patchFlag===-2&&(G=!1,O.dynamicChildren=null);const{type:te,ref:se,shapeFlag:ne}=O;switch(te){case Ro:p(T,O,N,F);break;case jt:v(T,O,N,F);break;case Wc:T==null&&g(O,N,F,re);break;case Re:k(T,O,N,F,z,X,re,H,G);break;default:ne&1?w(T,O,N,F,z,X,re,H,G):ne&6?D(T,O,N,F,z,X,re,H,G):(ne&64||ne&128)&&te.process(T,O,N,F,z,X,re,H,G,be)}se!=null&&z?Qs(se,T&&T.ref,X,O||T,!O):se==null&&T&&T.ref!=null&&Qs(T.ref,null,X,T,!0)},p=(T,O,N,F)=>{if(T==null)n(O.el=o(O.children),N,F);else{const z=O.el=T.el;O.children!==T.children&&l(z,O.children)}},v=(T,O,N,F)=>{T==null?n(O.el=u(O.children||""),N,F):O.el=T.el},g=(T,O,N,F)=>{[T.el,T.anchor]=m(T.children,O,N,F,T.el,T.anchor)},b=({el:T,anchor:O},N,F)=>{let z;for(;T&&T!==O;)z=d(T),n(T,N,F),T=z;n(O,N,F)},_=({el:T,anchor:O})=>{let N;for(;T&&T!==O;)N=d(T),i(T),T=N;i(O)},w=(T,O,N,F,z,X,re,H,G)=>{O.type==="svg"?re="svg":O.type==="math"&&(re="mathml"),T==null?S(O,N,F,z,X,re,H,G):C(T,O,z,X,re,H,G)},S=(T,O,N,F,z,X,re,H)=>{let G,te;const{props:se,shapeFlag:ne,transition:me,dirs:ye}=T;if(G=T.el=a(T.type,X,se&&se.is,se),ne&8?c(G,T.children):ne&16&&$(T.children,G,null,F,z,zc(T,X),re,H),ye&&vi(T,null,F,"created"),E(G,T,T.scopeId,re,F),se){for(const Je in se)Je!=="value"&&!qs(Je)&&s(G,Je,null,se[Je],X,F);"value"in se&&s(G,"value",null,se.value,X),(te=se.onVnodeBeforeMount)&&rn(te,F,T)}ye&&vi(T,null,F,"beforeMount");const _e=p3(z,me);_e&&me.beforeEnter(G),n(G,O,N),((te=se&&se.onVnodeMounted)||_e||ye)&&Kt(()=>{te&&rn(te,F,T),_e&&me.enter(G),ye&&vi(T,null,F,"mounted")},z)},E=(T,O,N,F,z)=>{if(N&&f(T,N),F)for(let X=0;X{for(let te=G;te{const H=O.el=T.el;let{patchFlag:G,dynamicChildren:te,dirs:se}=O;G|=T.patchFlag&16;const ne=T.props||Ge,me=O.props||Ge;let ye;if(N&&wi(N,!1),(ye=me.onVnodeBeforeUpdate)&&rn(ye,N,O,T),se&&vi(O,T,N,"beforeUpdate"),N&&wi(N,!0),(ne.innerHTML&&me.innerHTML==null||ne.textContent&&me.textContent==null)&&c(H,""),te?P(T.dynamicChildren,te,H,N,F,zc(O,z),X):re||Q(T,O,H,null,N,F,zc(O,z),X,!1),G>0){if(G&16)A(H,ne,me,N,z);else if(G&2&&ne.class!==me.class&&s(H,"class",null,me.class,z),G&4&&s(H,"style",ne.style,me.style,z),G&8){const _e=O.dynamicProps;for(let Je=0;Je<_e.length;Je++){const Ue=_e[Je],wt=ne[Ue],Ht=me[Ue];(Ht!==wt||Ue==="value")&&s(H,Ue,wt,Ht,z,N)}}G&1&&T.children!==O.children&&c(H,O.children)}else!re&&te==null&&A(H,ne,me,N,z);((ye=me.onVnodeUpdated)||se)&&Kt(()=>{ye&&rn(ye,N,O,T),se&&vi(O,T,N,"updated")},F)},P=(T,O,N,F,z,X,re)=>{for(let H=0;H{if(O!==N){if(O!==Ge)for(const X in O)!qs(X)&&!(X in N)&&s(T,X,O[X],null,z,F);for(const X in N){if(qs(X))continue;const re=N[X],H=O[X];re!==H&&X!=="value"&&s(T,X,H,re,z,F)}"value"in N&&s(T,"value",O.value,N.value,z)}},k=(T,O,N,F,z,X,re,H,G)=>{const te=O.el=T?T.el:o(""),se=O.anchor=T?T.anchor:o("");let{patchFlag:ne,dynamicChildren:me,slotScopeIds:ye}=O;ye&&(H=H?H.concat(ye):ye),T==null?(n(te,N,F),n(se,N,F),$(O.children||[],N,se,z,X,re,H,G)):ne>0&&ne&64&&me&&T.dynamicChildren?(P(T.dynamicChildren,me,N,z,X,re,H),(O.key!=null||z&&O===z.subTree)&&Hc(T,O,!0)):Q(T,O,N,se,z,X,re,H,G)},D=(T,O,N,F,z,X,re,H,G)=>{O.slotScopeIds=H,T==null?O.shapeFlag&512?z.ctx.activate(O,N,F,re,G):U(O,N,F,z,X,re,G):q(T,O,G)},U=(T,O,N,F,z,X,re)=>{const H=T.component=k3(T,F,z);if(ea(T)&&(H.ctx.renderer=be),R3(H,!1,re),H.asyncDep){if(z&&z.registerDep(H,ee,re),!T.el){const G=H.subTree=Ee(jt);v(null,G,O,N),T.placeholder=G.el}}else ee(H,T,O,N,z,X,re)},q=(T,O,N)=>{const F=O.component=T.component;if(T3(T,O,N))if(F.asyncDep&&!F.asyncResolved){Z(F,O,N);return}else F.next=O,F.update();else O.el=T.el,F.vnode=O},ee=(T,O,N,F,z,X,re)=>{const H=()=>{if(T.isMounted){let{next:ne,bu:me,u:ye,parent:_e,vnode:Je}=T;{const mn=xp(T);if(mn){ne&&(ne.el=Je.el,Z(T,ne,re)),mn.asyncDep.then(()=>{T.isUnmounted||H()});return}}let Ue=ne,wt;wi(T,!1),ne?(ne.el=Je.el,Z(T,ne,re)):ne=Je,me&&so(me),(wt=ne.props&&ne.props.onVnodeBeforeUpdate)&&rn(wt,_e,ne,Je),wi(T,!0);const Ht=Ap(T),pn=T.subTree;T.subTree=Ht,y(pn,Ht,h(pn.el),fe(pn),T,z,X),ne.el=Ht.el,Ue===null&&$3(T,Ht.el),ye&&Kt(ye,z),(wt=ne.props&&ne.props.onVnodeUpdated)&&Kt(()=>rn(wt,_e,ne,Je),z)}else{let ne;const{el:me,props:ye}=O,{bm:_e,m:Je,parent:Ue,root:wt,type:Ht}=T,pn=Xi(O);wi(T,!1),_e&&so(_e),!pn&&(ne=ye&&ye.onVnodeBeforeMount)&&rn(ne,Ue,O),wi(T,!0);{wt.ce&&wt.ce._def.shadowRoot!==!1&&wt.ce._injectChildStyle(Ht);const mn=T.subTree=Ap(T);y(null,mn,N,F,T,z,X),O.el=mn.el}if(Je&&Kt(Je,z),!pn&&(ne=ye&&ye.onVnodeMounted)){const mn=O;Kt(()=>rn(ne,Ue,mn),z)}(O.shapeFlag&256||Ue&&Xi(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&T.a&&Kt(T.a,z),T.isMounted=!0,O=N=F=null}};T.scope.on();const G=T.effect=new l0(H);T.scope.off();const te=T.update=G.run.bind(G),se=T.job=G.runIfDirty.bind(G);se.i=T,se.id=T.uid,G.scheduler=()=>Ac(se),wi(T,!0),te()},Z=(T,O,N)=>{O.component=T;const F=T.vnode.props;T.vnode=O,T.next=null,o3(T,O.props,F,N),f3(T,O.children,N),Yr(),I0(T),Xr()},Q=(T,O,N,F,z,X,re,H,G=!1)=>{const te=T&&T.children,se=T?T.shapeFlag:0,ne=O.children,{patchFlag:me,shapeFlag:ye}=O;if(me>0){if(me&128){W(te,ne,N,F,z,X,re,H,G);return}else if(me&256){ae(te,ne,N,F,z,X,re,H,G);return}}ye&8?(se&16&&Y(te,z,X),ne!==te&&c(N,ne)):se&16?ye&16?W(te,ne,N,F,z,X,re,H,G):Y(te,z,X,!0):(se&8&&c(N,""),ye&16&&$(ne,N,F,z,X,re,H,G))},ae=(T,O,N,F,z,X,re,H,G)=>{T=T||zi,O=O||zi;const te=T.length,se=O.length,ne=Math.min(te,se);let me;for(me=0;mese?Y(T,z,X,!0,!1,ne):$(O,N,F,z,X,re,H,G,ne)},W=(T,O,N,F,z,X,re,H,G)=>{let te=0;const se=O.length;let ne=T.length-1,me=se-1;for(;te<=ne&&te<=me;){const ye=T[te],_e=O[te]=G?Kn(O[te]):tn(O[te]);if(_i(ye,_e))y(ye,_e,N,null,z,X,re,H,G);else break;te++}for(;te<=ne&&te<=me;){const ye=T[ne],_e=O[me]=G?Kn(O[me]):tn(O[me]);if(_i(ye,_e))y(ye,_e,N,null,z,X,re,H,G);else break;ne--,me--}if(te>ne){if(te<=me){const ye=me+1,_e=yeme)for(;te<=ne;)K(T[te],z,X,!0),te++;else{const ye=te,_e=te,Je=new Map;for(te=_e;te<=me;te++){const vr=O[te]=G?Kn(O[te]):tn(O[te]);vr.key!=null&&Je.set(vr.key,te)}let Ue,wt=0;const Ht=me-_e+1;let pn=!1,mn=0;const eo=new Array(Ht);for(te=0;te=Ht){K(vr,z,X,!0);continue}let gn;if(vr.key!=null)gn=Je.get(vr.key);else for(Ue=_e;Ue<=me;Ue++)if(eo[Ue-_e]===0&&_i(vr,O[Ue])){gn=Ue;break}gn===void 0?K(vr,z,X,!0):(eo[gn-_e]=te+1,gn>=mn?mn=gn:pn=!0,y(vr,O[gn],N,null,z,X,re,H,G),wt++)}const j_=pn?m3(eo):zi;for(Ue=j_.length-1,te=Ht-1;te>=0;te--){const vr=_e+te,gn=O[vr],L_=O[vr+1],F_=vr+1{const{el:X,type:re,transition:H,children:G,shapeFlag:te}=T;if(te&6){j(T.component.subTree,O,N,F);return}if(te&128){T.suspense.move(O,N,F);return}if(te&64){re.move(T,O,N,be);return}if(re===Re){n(X,O,N);for(let ne=0;neH.enter(X),z);else{const{leave:ne,delayLeave:me,afterLeave:ye}=H,_e=()=>{T.ctx.isUnmounted?i(X):n(X,O,N)},Je=()=>{X._isLeaving&&X[Sn](!0),ne(X,()=>{_e(),ye&&ye()})};me?me(X,_e,Je):Je()}else n(X,O,N)},K=(T,O,N,F=!1,z=!1)=>{const{type:X,props:re,ref:H,children:G,dynamicChildren:te,shapeFlag:se,patchFlag:ne,dirs:me,cacheIndex:ye}=T;if(ne===-2&&(z=!1),H!=null&&(Yr(),Qs(H,null,N,T,!0),Xr()),ye!=null&&(O.renderCache[ye]=void 0),se&256){O.ctx.deactivate(T);return}const _e=se&1&&me,Je=!Xi(T);let Ue;if(Je&&(Ue=re&&re.onVnodeBeforeUnmount)&&rn(Ue,O,T),se&6)M(T.component,N,F);else{if(se&128){T.suspense.unmount(N,F);return}_e&&vi(T,null,O,"beforeUnmount"),se&64?T.type.remove(T,O,N,be,F):te&&!te.hasOnce&&(X!==Re||ne>0&&ne&64)?Y(te,O,N,!1,!0):(X===Re&&ne&384||!z&&se&16)&&Y(G,O,N),F&&B(T)}(Je&&(Ue=re&&re.onVnodeUnmounted)||_e)&&Kt(()=>{Ue&&rn(Ue,O,T),_e&&vi(T,null,O,"unmounted")},N)},B=T=>{const{type:O,el:N,anchor:F,transition:z}=T;if(O===Re){R(N,F);return}if(O===Wc){_(T);return}const X=()=>{i(N),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(T.shapeFlag&1&&z&&!z.persisted){const{leave:re,delayLeave:H}=z,G=()=>re(N,X);H?H(T.el,X,G):G()}else X()},R=(T,O)=>{let N;for(;T!==O;)N=d(T),i(T),T=N;i(O)},M=(T,O,N)=>{const{bum:F,scope:z,job:X,subTree:re,um:H,m:G,a:te}=T;Tp(G),Tp(te),F&&so(F),z.stop(),X&&(X.flags|=8,K(re,T,O,N)),H&&Kt(H,O),Kt(()=>{T.isUnmounted=!0},O)},Y=(T,O,N,F=!1,z=!1,X=0)=>{for(let re=X;re{if(T.shapeFlag&6)return fe(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const O=d(T.anchor||T.el),N=O&&O[j0];return N?d(N):O};let pe=!1;const Me=(T,O,N)=>{T==null?O._vnode&&K(O._vnode,null,null,!0):y(O._vnode||null,T,O,null,null,null,N),O._vnode=T,pe||(pe=!0,I0(),D0(),pe=!1)},be={p:y,um:K,m:j,r:B,mt:U,mc:$,pc:Q,pbc:P,n:fe,o:e};return{render:Me,hydrate:void 0,createApp:s3(Me)}}function zc({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function wi({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function p3(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hc(e,t,r=!1){const n=e.children,i=t.children;if(ve(n)&&ve(i))for(let s=0;s>1,e[r[o]]0&&(t[n]=r[s-1]),r[s]=n)}}for(s=r.length,a=r[s-1];s-- >0;)r[s]=a,a=t[a];return r}function xp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xp(t)}function Tp(e){if(e)for(let t=0;tlt(g3);function y3(e,t){return No(e,null,t)}function b3(e,t){return No(e,null,{flush:"sync"})}function et(e,t,r){return No(e,t,r)}function No(e,t,r=Ge){const{immediate:n,deep:i,flush:s,once:a}=r,o=ot({},r),u=t&&n||!t&&s!=="post";let l;if(es){if(s==="sync"){const f=v3();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=Zr,f.resume=Zr,f.pause=Zr,f}}const c=Ot;o.call=(f,m,y)=>Or(f,c,m,y);let h=!1;s==="post"?o.scheduler=f=>{Kt(f,c&&c.suspense)}:s!=="sync"&&(h=!0,o.scheduler=(f,m)=>{m?f():Ac(f)}),o.augmentJob=f=>{t&&(f.flags|=4),h&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const d=AS(e,t,o);return es&&(l?l.push(d):u&&d()),d}function w3(e,t,r){const n=this.proxy,i=at(e)?e.includes(".")?$p(n,e):()=>n[e]:e.bind(n,n);let s;Te(t)?s=t:(s=t.handler,r=t);const a=oa(this),o=No(i,s.bind(n),r);return a(),o}function $p(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i{let c,h=Ge,d;return b3(()=>{const f=e[i];Qt(c,f)&&(c=f,l())}),{get(){return u(),r.get?r.get(c):c},set(f){const m=r.set?r.set(f):f;if(!Qt(m,c)&&!(h!==Ge&&Qt(f,h)))return;const y=n.vnode.props;y&&(t in y||i in y||s in y)&&(`onUpdate:${t}`in y||`onUpdate:${i}`in y||`onUpdate:${s}`in y)||(c=f,l()),n.emit(`update:${t}`,m),Qt(f,m)&&Qt(f,h)&&!Qt(m,d)&&l(),h=f,d=m}}});return o[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||Ge:o,done:!1}:{done:!0}}}},o}const Op=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${or(t)}Modifiers`];function _3(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Ge;let i=r;const s=t.startsWith("update:"),a=s&&Op(n,t.slice(7));a&&(a.trim&&(i=r.map(c=>at(c)?c.trim():c)),a.number&&(i=r.map(n0)));let o,u=n[o=hc(t)]||n[o=hc(Rt(t))];!u&&s&&(u=n[o=hc(or(t))]),u&&Or(u,e,6,i);const l=n[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Or(l,e,6,i)}}const S3=new WeakMap;function Cp(e,t,r=!1){const n=r?S3:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const s=e.emits;let a={},o=!1;if(!Te(e)){const u=l=>{const c=Cp(l,t,!0);c&&(o=!0,ot(a,c))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!o?(rt(e)&&n.set(e,null),null):(ve(s)?s.forEach(u=>a[u]=null):ot(a,s),rt(e)&&n.set(e,a),a)}function ko(e,t){return!e||!to(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,or(t))||Ke(e,t))}function bI(){}function Ap(e){const{type:t,vnode:r,proxy:n,withProxy:i,propsOptions:[s],slots:a,attrs:o,emit:u,render:l,renderCache:c,props:h,data:d,setupState:f,ctx:m,inheritAttrs:y}=e,p=So(e);let v,g;try{if(r.shapeFlag&4){const _=i||n,w=_;v=tn(l.call(w,_,c,h,f,d,m)),g=o}else{const _=t;v=tn(_.length>1?_(h,{attrs:o,slots:a,emit:u}):_(h,null)),g=t.props?o:E3(o)}}catch(_){ia.length=0,Ks(_,e,1),v=Ee(jt)}let b=v;if(g&&y!==!1){const _=Object.keys(g),{shapeFlag:w}=b;_.length&&w&7&&(s&&_.some(cc)&&(g=x3(g,s)),b=Jn(b,g,!1,!0))}return r.dirs&&(b=Jn(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&yi(b,r.transition),v=b,So(p),v}const E3=e=>{let t;for(const r in e)(r==="class"||r==="style"||to(r))&&((t||(t={}))[r]=e[r]);return t},x3=(e,t)=>{const r={};for(const n in e)(!cc(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function T3(e,t,r){const{props:n,children:i,component:s}=e,{props:a,children:o,patchFlag:u}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?Pp(n,a,l):!!a;if(u&8){const c=t.dynamicProps;for(let h=0;he.__isSuspense;function O3(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):MS(e)}const Re=Symbol.for("v-fgt"),Ro=Symbol.for("v-txt"),jt=Symbol.for("v-cmt"),Wc=Symbol.for("v-stc"),ia=[];let lr=null;function V(e=!1){ia.push(lr=e?null:[])}function C3(){ia.pop(),lr=ia[ia.length-1]||null}let sa=1;function Io(e,t=!1){sa+=e,e<0&&lr&&t&&(lr.hasOnce=!0)}function kp(e){return e.dynamicChildren=sa>0?lr||zi:null,C3(),sa>0&&lr&&lr.push(e),e}function oe(e,t,r,n,i,s){return kp(we(e,t,r,n,i,s,!0))}function ie(e,t,r,n,i){return kp(Ee(e,t,r,n,i,!0))}function aa(e){return e?e.__v_isVNode===!0:!1}function _i(e,t){return e.type===t.type&&e.key===t.key}const Rp=({key:e})=>e??null,Do=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?at(e)||st(e)||Te(e)?{i:xt,r:e,k:t,f:!!r}:e:null);function we(e,t=null,r=null,n=0,i=null,s=e===Re?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rp(t),ref:t&&Do(t),scopeId:B0,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xt};return o?(Gc(u,r),s&128&&e.normalize(u)):r&&(u.shapeFlag|=at(r)?8:16),sa>0&&!a&&lr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&lr.push(u),u}const Ee=A3;function A3(e,t=null,r=null,n=0,i=null,s=!1){if((!e||e===np)&&(e=jt),aa(e)){const o=Jn(e,t,!0);return r&&Gc(o,r),sa>0&&!s&&lr&&(o.shapeFlag&6?lr[lr.indexOf(e)]=o:lr.push(o)),o.patchFlag=-2,o}if(j3(e)&&(e=e.__vccOpts),t){t=Qi(t);let{class:o,style:u}=t;o&&!at(o)&&(t.class=Pe(o)),rt(u)&&(vo(u)&&!ve(u)&&(u=ot({},u)),t.style=Un(u))}const a=at(e)?1:Np(e)?128:L0(e)?64:rt(e)?4:Te(e)?2:0;return we(e,t,r,n,i,a,s,!0)}function Qi(e){return e?vo(e)||vp(e)?ot({},e):e:null}function Jn(e,t,r=!1,n=!1){const{props:i,ref:s,patchFlag:a,children:o,transition:u}=e,l=t?Ye(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Rp(l),ref:t&&t.ref?r&&s?ve(s)?s.concat(Do(t)):[s,Do(t)]:Do(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&yi(c,u.clone(c)),c}function ke(e=" ",t=0){return Ee(Ro,null,e,t)}function xe(e="",t=!1){return t?(V(),ie(jt,null,e)):Ee(jt,null,e)}function tn(e){return e==null||typeof e=="boolean"?Ee(jt):ve(e)?Ee(Re,null,e.slice()):aa(e)?Kn(e):Ee(Ro,null,String(e))}function Kn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function Gc(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ve(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Gc(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!vp(t)?t._ctx=xt:i===3&&xt&&(xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Te(t)?(t={default:t,_ctx:xt},r=32):(t=String(t),n&64?(r=16,t=[ke(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ye(...e){const t={};for(let r=0;rOt||xt;let Mo,Jc;{const e=ao(),t=(r,n)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(n),s=>{i.length>1?i.forEach(a=>a(s)):i[0](s)}};Mo=t("__VUE_INSTANCE_SETTERS__",r=>Ot=r),Jc=t("__VUE_SSR_SETTERS__",r=>es=r)}const oa=e=>{const t=Ot;return Mo(e),e.scope.on(),()=>{e.scope.off(),Mo(t)}},Ip=()=>{Ot&&Ot.scope.off(),Mo(null)};function Dp(e){return e.vnode.shapeFlag&4}let es=!1;function R3(e,t=!1,r=!1){t&&Jc(t);const{props:n,children:i}=e.vnode,s=Dp(e);a3(e,n,s,t),c3(e,i,r||t);const a=s?I3(e,t):void 0;return t&&Jc(!1),a}function I3(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,XS);const{setup:n}=r;if(n){Yr();const i=e.setupContext=n.length>1?jp(e):null,s=oa(e),a=Ki(n,e,0,[e.props,i]),o=e0(a);if(Xr(),s(),(o||e.sp)&&!Xi(e)&&Rc(e),o){if(a.then(Ip,Ip),t)return a.then(u=>{Mp(e,u)}).catch(u=>{Ks(u,e,0)});e.asyncDep=a}else Mp(e,a)}else Bp(e)}function Mp(e,t,r){Te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:rt(t)&&(e.setupState=C0(t)),Bp(e)}function Bp(e,t,r){const n=e.type;e.render||(e.render=n.render||Zr);{const i=oa(e);Yr();try{QS(e)}finally{Xr(),i()}}}const D3={get(e,t){return Dt(e,"get",""),e[t]}};function jp(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,D3),slots:e.slots,emit:e.emit,expose:t}}function Bo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(C0(Gs(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in ra)return ra[r](e)},has(t,r){return r in t||r in ra}})):e.proxy}const M3=/(?:^|[-_])\w/g,B3=e=>e.replace(M3,t=>t.toUpperCase()).replace(/[-_]/g,"");function Lp(e,t=!0){return Te(e)?e.displayName||e.name:e.name||t&&e.__name}function Fp(e,t,r=!1){let n=Lp(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e&&e.parent){const i=s=>{for(const a in s)if(s[a]===t)return a};n=i(e.components||e.parent.type.components)||i(e.appContext.components)}return n?B3(n):r?"App":"Anonymous"}function j3(e){return Te(e)&&"__vccOpts"in e}const L=(e,t)=>OS(e,t,es);function ua(e,t,r){try{Io(-1);const n=arguments.length;return n===2?rt(t)&&!ve(t)?aa(t)?Ee(e,null,[t]):Ee(e,t):Ee(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&aa(r)&&(r=[r]),Ee(e,t,r))}finally{Io(1)}}const L3="3.5.22";/** * @vue/runtime-dom v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Cd;const Eg=typeof window<"u"&&window.trustedTypes;if(Eg)try{Cd=Eg.createPolicy("vue",{createHTML:e=>e})}catch{}const xg=Cd?e=>Cd.createHTML(e):e=>e,M$="http://www.w3.org/2000/svg",B$="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,Og=Un&&Un.createElement("template"),V$={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Un.createElementNS(M$,e):t==="mathml"?Un.createElementNS(B$,e):r?Un.createElement(e,{is:r}):Un.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,s){const i=r?r.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===s||!(o=o.nextSibling)););else{Og.innerHTML=xg(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const a=Og.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},po="transition",Ni="animation",hs=Symbol("_vtc"),$g={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Cg=xt({},Tm,$g),Tg=(e=>(e.displayName="Transition",e.props=Cg,e))((e,{slots:t})=>Pi(MO,Ag(e),t)),Bo=(e,t=[])=>{Pe(e)?e.forEach(r=>r(...t)):e&&e(...t)},kg=e=>e?Pe(e)?e.some(t=>t.length>1):e.length>1:!1;function Ag(e){const t={};for(const M in e)M in $g||(t[M]=e[M]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:s=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:h=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=e,g=L$(o),v=g&&g[0],p=g&&g[1],{onBeforeEnter:m,onEnter:b,onEnterCancelled:w,onLeave:S,onLeaveCancelled:_,onBeforeAppear:E=m,onAppear:O=b,onAppearCancelled:P=w}=t,A=(M,z,F,ue)=>{M._enterCancelled=ue,ho(M,z?c:a),ho(M,z?u:i),F&&F()},V=(M,z)=>{M._isLeaving=!1,ho(M,h),ho(M,d),ho(M,f),z&&z()},D=M=>(z,F)=>{const ue=M?O:b,K=()=>A(z,M,F);Bo(ue,[z,K]),Pg(()=>{ho(z,M?l:s),_n(z,M?c:a),kg(ue)||Ng(z,n,v,K)})};return xt(t,{onBeforeEnter(M){Bo(m,[M]),_n(M,s),_n(M,i)},onBeforeAppear(M){Bo(E,[M]),_n(M,l),_n(M,u)},onEnter:D(!1),onAppear:D(!0),onLeave(M,z){M._isLeaving=!0;const F=()=>V(M,z);_n(M,h),M._enterCancelled?(_n(M,f),kd(M)):(kd(M),_n(M,f)),Pg(()=>{M._isLeaving&&(ho(M,h),_n(M,d),kg(S)||Ng(M,n,p,F))}),Bo(S,[M,F])},onEnterCancelled(M){A(M,!1,void 0,!0),Bo(w,[M])},onAppearCancelled(M){A(M,!0,void 0,!0),Bo(P,[M])},onLeaveCancelled(M){V(M),Bo(_,[M])}})}function L$(e){if(e==null)return null;if(gt(e))return[Td(e.enter),Td(e.leave)];{const t=Td(e);return[t,t]}}function Td(e){return Hc(e)}function _n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[hs]||(e[hs]=new Set)).add(t)}function ho(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[hs];r&&(r.delete(t),r.size||(e[hs]=void 0))}function Pg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let F$=0;function Ng(e,t,r,n){const o=e._endId=++F$,s=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(s,r);const{type:i,timeout:a,propCount:l}=Ig(e,t);if(!i)return n();const u=i+"end";let c=0;const h=()=>{e.removeEventListener(u,f),s()},f=d=>{d.target===e&&++c>=l&&h()};setTimeout(()=>{c(r[g]||"").split(", "),o=n(`${po}Delay`),s=n(`${po}Duration`),i=Dg(o,s),a=n(`${Ni}Delay`),l=n(`${Ni}Duration`),u=Dg(a,l);let c=null,h=0,f=0;t===po?i>0&&(c=po,h=i,f=s.length):t===Ni?u>0&&(c=Ni,h=u,f=l.length):(h=Math.max(i,u),c=h>0?i>u?po:Ni:null,f=c?c===po?s.length:l.length:0);const d=c===po&&/\b(?:transform|all)(?:,|$)/.test(n(`${po}Property`).toString());return{type:c,timeout:h,propCount:f,hasTransform:d}}function Dg(e,t){for(;e.lengthjg(r)+jg(e[n])))}function jg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function kd(e){return(e?e.ownerDocument:document).body.offsetHeight}function U$(e,t,r){const n=e[hs];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const gl=Symbol("_vod"),Rg=Symbol("_vsh"),ms={name:"show",beforeMount(e,{value:t},{transition:r}){e[gl]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ii(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Ii(e,!0),n.enter(e)):n.leave(e,()=>{Ii(e,!1)}):Ii(e,t))},beforeUnmount(e,{value:t}){Ii(e,t)}};function Ii(e,t){e.style.display=t?e[gl]:"none",e[Rg]=!t}const q$=Symbol(""),z$=/(?:^|;)\s*display\s*:/;function H$(e,t,r){const n=e.style,o=St(r);let s=!1;if(r&&!o){if(t)if(St(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();r[a]==null&&yl(n,a,"")}else for(const i in t)r[i]==null&&yl(n,i,"");for(const i in r)i==="display"&&(s=!0),yl(n,i,r[i])}else if(o){if(t!==r){const i=n[q$];i&&(r+=";"+i),n.cssText=r,s=z$.test(r)}}else t&&e.removeAttribute("style");gl in e&&(e[gl]=s?n.display:"",e[Rg]&&(n.display="none"))}const Mg=/\s*!important$/;function yl(e,t,r){if(Pe(r))r.forEach(n=>yl(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=G$(e,t);Mg.test(r)?e.setProperty(Cr(n),r.replace(Mg,""),"important"):e[n]=r}}const Bg=["Webkit","Moz","ms"],Ad={};function G$(e,t){const r=Ad[t];if(r)return r;let n=Qt(t);if(n!=="filter"&&n in e)return Ad[t]=n;n=Ma(n);for(let o=0;oPd||(Z$.then(()=>Pd=0),Pd=Date.now());function X$(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Wr(Q$(n,r.value),t,5,[n])};return r.value=e,r.attached=Y$(),r}function Q$(e,t){if(Pe(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const zg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,eC=(e,t,r,n,o,s)=>{const i=o==="svg";t==="class"?U$(e,n,i):t==="style"?H$(e,r,n):Da(t)?Fc(t)||K$(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):tC(e,t,n,i))?(Fg(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lg(e,t,n,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!St(n))?Fg(e,Qt(t),n,s,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Lg(e,t,n,i))};function tC(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&zg(t)&&Ve(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return zg(t)&&St(r)?!1:t in e}const Hg={};function rC(e,t,r){let n=Oe(e,t);ja(n)&&(n=xt({},n,t));class o extends Nd{constructor(i){super(n,i,r)}}return o.def=n,o}const nC=typeof HTMLElement<"u"?HTMLElement:class{};class Nd extends nC{constructor(t,r={},n=ey){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==ey?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(xt({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Nd){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Ft(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=n;let a;if(s&&!Pe(s))for(const l in s){const u=s[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Hc(this._props[l])),(a||(a=Object.create(null)))[Qt(l)]=!0)}this._numberProps=a,this._resolveProps(n),this.shadowRoot&&this._applyStyles(i),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)ct(this,n)||Object.defineProperty(this,n,{get:()=>C(r[n])})}_resolveProps(t){const{props:r}=t,n=Pe(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(Qt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):Hg;const o=Qt(t);r&&this._numberProps&&this._numberProps[o]&&(n=Hc(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,o=!1){if(r!==this._props[t]&&(r===Hg?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),o&&this._instance&&this._update(),n)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),r===!0?this.setAttribute(Cr(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Cr(t),r+""):r||this.removeAttribute(Cr(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),pC(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=je(this._def,xt(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(s,i)=>{this.dispatchEvent(new CustomEvent(s,ja(i[0])?xt({detail:i},i[0]):{detail:i}))};n.emit=(s,...i)=>{o(s,i),Cr(s)!==s&&o(Cr(s),i)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const s=document.createElement("style");n&&s.setAttribute("nonce",n),s.textContent=t[o],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let n=0;n(r.push(...Array.from(n.querySelectorAll("slot"))),r),[])}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const Gg=new WeakMap,Wg=new WeakMap,bl=Symbol("_moveCb"),Kg=Symbol("_enterCb"),oC=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:xt({},Cg,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Kr(),n=Cm();let o,s;return Mm(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!lC(o[0].el,r.vnode.el,i)){o=[];return}o.forEach(sC),o.forEach(iC);const a=o.filter(aC);kd(r.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;_n(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const h=u[bl]=f=>{f&&f.target!==u||(!f||f.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[bl]=null,ho(u,i))};u.addEventListener("transitionend",h)}),o=[]}),()=>{const i=tt(e),a=Ag(i);let l=i.tag||Je;if(o=[],s)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(n);const{hasTransform:i}=Ig(n);return s.removeChild(n),i}const gs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Pe(t)?r=>Ba(t,r):t},qn=Symbol("_assign"),uC={deep:!0,created(e,t,r){e[qn]=gs(r),vl(e,"change",()=>{const n=e._modelValue,o=ys(e),s=e.checked,i=e[qn];if(Pe(n)){const a=Gc(n,o),l=a!==-1;if(s&&!l)i(n.concat(o));else if(!s&&l){const u=[...n];u.splice(a,1),i(u)}}else if(ss(n)){const a=new Set(n);s?a.add(o):a.delete(o),i(a)}else i(Yg(e,s))})},mounted:Jg,beforeUpdate(e,t,r){e[qn]=gs(r),Jg(e,t,r)}};function Jg(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(Pe(t))o=Gc(t,n.props.value)>-1;else if(ss(t))o=t.has(n.props.value);else{if(t===r)return;o=Ao(t,Yg(e,!0))}e.checked!==o&&(e.checked=o)}const cC={created(e,{value:t},r){e.checked=Ao(t,r.props.value),e[qn]=gs(r),vl(e,"change",()=>{e[qn](ys(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[qn]=gs(n),t!==r&&(e.checked=Ao(t,n.props.value))}},dC={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=ss(t);vl(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>r?Lh(ys(i)):ys(i));e[qn](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Ft(()=>{e._assigning=!1})}),e[qn]=gs(n)},mounted(e,{value:t}){Zg(e,t)},beforeUpdate(e,t,r){e[qn]=gs(r)},updated(e,{value:t}){e._assigning||Zg(e,t)}};function Zg(e,t){const r=e.multiple,n=Pe(t);if(!(r&&!n&&!ss(t))){for(let o=0,s=e.options.length;oString(u)===String(a)):i.selected=Gc(t,a)>-1}else i.selected=t.has(a);else if(Ao(ys(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ys(e){return"_value"in e?e._value:e.value}function Yg(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const fC=xt({patchProp:eC},V$);let Xg;function Qg(){return Xg||(Xg=u$(fC))}const pC=(...e)=>{Qg().render(...e)},ey=(...e)=>{const t=Qg().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=mC(n);if(!o)return;const s=t._component;!Ve(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=r(o,!1,hC(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function hC(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mC(e){return St(e)?document.querySelector(e):e}const gC="BootstrapVueNext__",Id=(e,t="")=>{const r=`${t}___`;return`${gC}ID__${e}__${t?r:""}`},mo=e=>Id(e),ty=e=>Id(`${e}__registry`),ry=mo("checkboxGroup"),ny=mo("radioGroup"),oy=mo("collapse"),yC=ty("showHide"),vC=mo("navbar"),Dd=ty("defaults"),bC=mo("inputGroup"),wC=mo("buttonGroup"),sy=mo("formGroupPlugin"),iy=mo("formSelect");function ay(e){return La()?(Jc(e),!0):!1}function _C(e){let t=0,r,n;const o=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...s)=>(t+=1,n||(n=Kc(!0),r=n.run(()=>e(...s))),ay(o),r)}function SC(e,t){if(typeof Symbol<"u"){const r={...e};return Object.defineProperty(r,Symbol.iterator,{enumerable:!1,value(){let n=0;return{next:()=>({value:t[n++],done:n>t.length})}}}),r}else return Object.assign([...t],e)}const ly=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const EC=Object.prototype.toString,xC=e=>EC.call(e)==="[object Object]",zn=()=>{},OC=$C();function $C(){var e,t;return ly&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function CC(...e){if(e.length!==1)return at(...e);const t=e[0];return typeof t=="function"?vr(sd(()=>({get:t,set:zn}))):Me(t)}function uy(e,t){function r(...n){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(s)})}return r}const cy=e=>e();function TC(...e){let t=0,r,n=!0,o=zn,s,i,a,l,u;!wt(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[i,a=!0,l=!0,u=!1]=e;const c=()=>{r&&(clearTimeout(r),r=void 0,o(),o=zn)};return h=>{const f=st(i),d=Date.now()-t,g=()=>s=h();return c(),f<=0?(t=Date.now(),g()):(d>f&&(l||!n)?(t=Date.now(),g()):a&&(s=new Promise((v,p)=>{o=u?p:v,r=setTimeout(()=>{t=Date.now(),n=!0,v(g()),c()},Math.max(0,f-d))})),!l&&!r&&(r=setTimeout(()=>n=!0,f)),n=!1,s)}}function kC(e=cy,t={}){const{initialState:r="active"}=t,n=CC(r==="active");function o(){n.value=!1}function s(){n.value=!0}const i=(...a)=>{n.value&&e(...a)};return{isActive:vr(n),pause:o,resume:s,eventFilter:i}}function jd(e){return Array.isArray(e)?e:[e]}function AC(e){const t=Object.create(null);return r=>t[r]||(t[r]=e(r))}const PC=/-(\w)/g,NC=AC(e=>e.replace(PC,(t,r)=>r?r.toUpperCase():""));function dy(e,t=200,r=!1,n=!0,o=!1){return uy(TC(t,r,n,o),e)}function IC(e,t,r={}){const{eventFilter:n=cy,...o}=r;return mt(e,uy(n,t),o)}function fy(e,t,r={}){const{eventFilter:n,initialState:o="active",...s}=r,{eventFilter:i,pause:a,resume:l,isActive:u}=kC(n,{initialState:o});return{stop:IC(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:u}}function DC(e,t,...[r]){const{flush:n="sync",deep:o=!1,immediate:s=!0,direction:i="both",transform:a={}}=r||{},l=[],u="ltr"in a&&a.ltr||(h=>h),c="rtl"in a&&a.rtl||(h=>h);return(i==="both"||i==="ltr")&&l.push(fy(e,h=>{l.forEach(f=>f.pause()),t.value=u(h),l.forEach(f=>f.resume())},{flush:n,deep:o,immediate:s})),(i==="both"||i==="rtl")&&l.push(fy(t,h=>{l.forEach(f=>f.pause()),e.value=c(h),l.forEach(f=>f.resume())},{flush:n,deep:o,immediate:s})),()=>{l.forEach(h=>h.stop())}}function Hn(e,t={}){const{method:r="parseFloat",radix:n,nanToZero:o}=t;return J(()=>{let s=st(e);return typeof r=="function"?s=r(s):typeof s=="string"&&(s=Number[r](s,n)),o&&Number.isNaN(s)&&(s=0),s})}function jC(e,t,r){return mt(e,t,{...r,immediate:!0})}function Rd(e={}){const{inheritAttrs:t=!0}=e,r=lo(),n=Oe({setup(s,{slots:i}){return()=>{r.value=i.default}}}),o=Oe({inheritAttrs:t,props:e.props,setup(s,{attrs:i,slots:a}){return()=>{var l;r.value;const u=(l=r.value)==null?void 0:l.call(r,{...e.props==null?RC(i):s,$slots:a});return t&&u?.length===1?u[0]:u}}});return SC({define:n,reuse:o},[n,o])}function RC(e){const t={};for(const r in e)t[NC(r)]=e[r];return t}const wl=ly?window:void 0;function vs(e){var t;const r=st(e);return(t=r?.$el)!=null?t:r}function Jr(...e){const t=[],r=()=>{t.forEach(a=>a()),t.length=0},n=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=J(()=>{const a=jd(st(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=jC(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>vs(u)))!=null?l:[wl].filter(u=>u!=null),jd(st(o.value?e[1]:e[0])),jd(C(o.value?e[2]:e[1])),st(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(r(),!a?.length||!l?.length||!u?.length)return;const h=xC(c)?{...c}:c;t.push(...a.flatMap(f=>l.flatMap(d=>u.map(g=>n(f,d,g,h)))))},{flush:"post"}),i=()=>{s(),r()};return ay(r),i}let py=!1;function MC(e,t,r={}){const{window:n=wl,ignore:o=[],capture:s=!0,detectIframe:i=!1,controls:a=!1}=r;if(!n)return a?{stop:zn,cancel:zn,trigger:zn}:zn;if(OC&&!py){py=!0;const p={passive:!0};Array.from(n.document.body.children).forEach(m=>m.addEventListener("click",zn,p)),n.document.documentElement.addEventListener("click",zn,p)}let l=!0;const u=p=>st(o).some(m=>{if(typeof m=="string")return Array.from(n.document.querySelectorAll(m)).some(b=>b===p.target||p.composedPath().includes(b));{const b=vs(m);return b&&(p.target===b||p.composedPath().includes(b))}});function c(p){const m=st(p);return m&&m.$.subTree.shapeFlag===16}function h(p,m){const b=st(p),w=b.$.subTree&&b.$.subTree.children;return w==null||!Array.isArray(w)?!1:w.some(S=>S.el===m.target||m.composedPath().includes(S.el))}const f=p=>{const m=vs(e);if(p.target!=null&&!(!(m instanceof Element)&&c(e)&&h(e,p))&&!(!m||m===p.target||p.composedPath().includes(m))){if("detail"in p&&p.detail===0&&(l=!u(p)),!l){l=!0;return}t(p)}};let d=!1;const g=[Jr(n,"click",p=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(p))},{passive:!0,capture:s}),Jr(n,"pointerdown",p=>{const m=vs(e);l=!u(p)&&!!(m&&!p.composedPath().includes(m))},{passive:!0}),i&&Jr(n,"blur",p=>{setTimeout(()=>{var m;const b=vs(e);((m=n.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!b?.contains(n.document.activeElement)&&t(p)},0)},{passive:!0})].filter(Boolean),v=()=>g.forEach(p=>p());return a?{stop:v,cancel:()=>{l=!1},trigger:p=>{l=!0,f(p),l=!1}}:v}function BC(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function hy(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:o=wl,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=n,l=BC(t);return Jr(o,s,u=>{u.repeat&&st(a)||l(u)&&r(u)},i)}function go(e,t={}){const{initialValue:r=!1,focusVisible:n=!1,preventScroll:o=!1}=t,s=lo(!1),i=J(()=>vs(e)),a={passive:!0};Jr(i,"focus",u=>{var c,h;(!n||(h=(c=u.target).matches)!=null&&h.call(c,":focus-visible"))&&(s.value=!0)},a),Jr(i,"blur",()=>s.value=!1,a);const l=J({get:()=>s.value,set(u){var c,h;!u&&s.value?(c=i.value)==null||c.blur():u&&!s.value&&((h=i.value)==null||h.focus({preventScroll:o}))}});return mt(i,()=>{l.value=r},{immediate:!0,flush:"post"}),{focused:l}}const VC={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function LC(e={}){const{type:t="page",touch:r=!0,resetOnTouchEnds:n=!1,initialValue:o={x:0,y:0},window:s=wl,target:i=s,scroll:a=!0,eventFilter:l}=e;let u=null,c=0,h=0;const f=lo(o.x),d=lo(o.y),g=lo(null),v=typeof t=="function"?t:VC[t],p=O=>{const P=v(O);u=O,P&&([f.value,d.value]=P,g.value="mouse"),s&&(c=s.scrollX,h=s.scrollY)},m=O=>{if(O.touches.length>0){const P=v(O.touches[0]);P&&([f.value,d.value]=P,g.value="touch")}},b=()=>{if(!u||!s)return;const O=v(u);u instanceof MouseEvent&&O&&(f.value=O[0]+s.scrollX-c,d.value=O[1]+s.scrollY-h)},w=()=>{f.value=o.x,d.value=o.y},S=l?O=>l(()=>p(O),{}):O=>p(O),_=l?O=>l(()=>m(O),{}):O=>m(O),E=l?()=>l(()=>b(),{}):()=>b();if(i){const O={passive:!0};Jr(i,["mousemove","dragover"],S,O),r&&t!=="movement"&&(Jr(i,["touchstart","touchmove"],_,O),n&&Jr(i,"touchend",w,O)),a&&t==="page"&&Jr(s,"scroll",E,O)}return{x:f,y:d,sourceType:g}}const my={BAccordion:"/components/BAccordion",BAccordionItem:"/components/BAccordion",BAlert:"/components/BAlert",BApp:"/components/BApp",BAvatar:"/components/BAvatar",BAvatarGroup:"/components/BAvatar",BBadge:"/components/BBadge",BBreadcrumb:"/components/BBreadcrumb",BBreadcrumbItem:"/components/BBreadcrumb",BButton:"/components/BButton",BButtonGroup:"/components/BButton",BButtonToolbar:"/components/BButton",BCloseButton:"/components/BButton",BCard:"/components/BCard",BCardBody:"/components/BCard",BCardFooter:"/components/BCard",BCardGroup:"/components/BCard",BCardHeader:"/components/BCard",BCardImg:"/components/BCard",BCardSubtitle:"/components/BCard",BCardText:"/components/BCard",BCardTitle:"/components/BCard",BCarousel:"/components/BCarousel",BCarouselSlide:"/components/BCarousel",BCol:"/components/BContainer",BCollapse:"/components/BCollapse",BContainer:"/components/BContainer",BDropdown:"/components/BDropdown",BDropdownDivider:"/components/BDropdown",BDropdownForm:"/components/BDropdown",BDropdownGroup:"/components/BDropdown",BDropdownHeader:"/components/BDropdown",BDropdownItem:"/components/BDropdown",BDropdownItemButton:"/components/BDropdown",BDropdownText:"/components/BDropdown",BForm:"/components/BForm",BFormCheckbox:"/components/BFormCheckbox",BFormCheckboxGroup:"/components/BFormCheckbox",BFormDatalist:"/components/BForm",BFormFile:"/components/BFormFile",BFormFloatingLabel:"/components/BForm",BFormGroup:"/components/BFormGroup",BFormInput:"/components/BFormInput",BFormInvalidFeedback:"/components/BForm",BFormRadio:"/components/BFormRadio",BFormRadioGroup:"/components/BFormRadio",BFormRating:"/components/BFormRating",BFormRow:"/components/BForm",BFormSelect:"/components/BFormSelect",BFormSelectOption:"/components/BFormSelect",BFormSelectOptionGroup:"/components/BFormSelect",BFormSpinbutton:"/components/BFormSpinbutton",BFormTag:"/components/BFormTags",BFormTags:"/components/BFormTags",BFormText:"/components/BForm",BFormTextarea:"/components/BFormTextarea",BFormValidFeedback:"/components/BForm",BImg:"/components/BImg",BInput:"/components/BFormInput",BInputGroup:"/components/BInputGroup",BInputGroupText:"/components/BInputGroup",BListGroup:"/components/BListGroup",BListGroupItem:"/components/BListGroup",BModal:"/components/BModal",BModalOrchestrator:"/components/BModal",BNav:"/components/BNav",BNavForm:"/components/BNav",BNavItem:"/components/BNav",BNavItemDropdown:"/components/BNav",BNavText:"/components/BNav",BNavbar:"/components/BNavbar",BNavbarBrand:"/components/BNavbar",BNavbarNav:"/components/BNavbar",BNavbarToggle:"/components/BNavbar",BOffcanvas:"/components/BOffcanvas",BOverlay:"/components/BOverlay",BOrchestrator:"/components/BApp",BPagination:"/components/BPagination",BPlaceholder:"/components/BPlaceholder",BPlaceholderButton:"/components/BPlaceholder",BPlaceholderCard:"/components/BPlaceholder",BPlaceholderTable:"/components/BPlaceholder",BPlaceholderWrapper:"/components/BPlaceholder",BPopover:"/components/BPopover",BProgress:"/components/BProgress",BRow:"/components/BContainer",BSpinner:"/components/BSpinner",BTab:"/components/BTabs",BTabs:"/components/BTabs",BToast:"/components/BToast",BToastOrchestrator:"/components/BToast",BTooltip:"/components/BTooltip",BLink:"/components/BLink",BProgressBar:"/components/BProgress",BTableSimple:"/components/BTable",BTableLite:"/components/BTable",BTable:"/components/BTable",BTbody:"/components/BTable",BTd:"/components/BTable",BTh:"/components/BTable",BThead:"/components/BTable",BTfoot:"/components/BTable",BTr:"/components/BTable",BPopoverOrchestrator:"/components/BPopover"},FC=Object.freeze(Object.keys(my)),gy={vBColorMode:"/directives/BColorMode",vBModal:"/directives/BModal",vBPopover:"/directives/BPopover",vBScrollspy:"/directives/BScrollspy",vBToggle:"/directives/BToggle",vBTooltip:"/directives/BTooltip"},UC=Object.freeze(Object.keys(gy));Object.freeze(Object.keys({useBreadcrumb:"/composables/useBreadcrumb",useColorMode:"/composables/useColorMode",useModal:"/composables/useModal",useModalController:"/composables/useModal",useScrollLock:"/composables/useScrollLock",useScrollspy:"/composables/useScrollspy",useToast:"/composables/useToast",useToastController:"/composables/useToast",useToggle:"/composables/useToggle",usePopover:"/composables/usePopover",usePopoverController:"/composables/usePopover",useRegistry:"/composables/useRegistry",useProvideDefaults:"/composables/useProvideDefaults",useOrchestratorRegistry:"/composables/orchestratorShared"}));const qC=Oe({name:"ConditionalTeleport",inheritAttrs:!1,props:{to:{type:[String,Object],default:null},disabled:{type:Boolean,required:!0}},slots:Object,setup(e,{slots:t}){return()=>e.to?Pi(jO,{to:e.to,disabled:e.disabled||!e.to},[t.default?.({})]):t.default?.({})}}),Md=Oe({name:"ConditionalWrapper",inheritAttrs:!1,props:{tag:{type:String,default:"div"},skip:{type:Boolean,required:!0}},slots:Object,setup(e,{slots:t,attrs:r}){return()=>e.skip?t.default?.({}):Pi(e.tag,{...r},[t.default?.({})])}}),zC=(e=[])=>{const{activeElement:t}=document;return t&&!e?.some(r=>r===t)?t:null},HC=(e,t={})=>{const r=n=>n===zC();try{e.focus(t)}catch(n){console.error(n)}return r(e)},yo=e=>(e?.()??[]).length===0,yy=e=>{if(e.getAttribute("display")==="none")return!1;const t=e.getBoundingClientRect();return!!(t&&t.height>0&&t.width>0)};function GC(e,t=vy("injectSelf")){const{provides:r}=t;if(r&&e in r)return r[e]}function vy(e,t){const r=Kr();if(!r)throw new Error(`[Bvn] ${e} must be called from inside a setup function`);return r}const WC=(e="")=>e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase(),by=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);function wy(e={},t={},r){const n={};for(const o in e)n[o]=e[o];for(const o in t){const s=e[o],i=t[o];if(by(s)&&by(i)){n[o]=wy(s,i);continue}n[o]=i}return n}const KC=(e,t)=>typeof e.props?.[t]<"u"||typeof e.props?.[WC(t)]<"u";function JC(e={},t){const r=Tt(Dd,Me({})),n=vy("useDefaults");if(t=t??n.type.name??n.type.__name,!t)throw new Error("[Bvn] Could not determine component name");const o=J(()=>r.value?.[e._as??t]),s=new Proxy(e,{get(l,u){const c=Reflect.get(l,u);return u==="class"||u==="style"?[o.value?.[u],c].filter(h=>h!=null):typeof u=="string"&&!KC(n.vnode,u)?o.value?.[u]??r.value?.global?.[u]??c:c}}),i=lo();m$(()=>{if(o.value){const l=Object.entries(o.value).filter(([u])=>u.startsWith(u[0].toUpperCase()));i.value=l.length?Object.fromEntries(l):void 0}else i.value=void 0});function a(){const l=GC(Dd,n);Wt(Dd,J(()=>i.value?wy(l?.value??{},i.value):l?.value))}return{props:s,provideSubDefaults:a}}function nt(e,t){const{props:r,provideSubDefaults:n}=JC(e,t);return n(),r}const vo=e=>J(()=>{let t=st(e);return t={variant:t.variant??null,bgVariant:t.bgVariant??null,textVariant:t.textVariant??null,borderVariant:t.borderVariant??null},{[`text-bg-${t.variant}`]:t.variant!==null,[`text-${t.textVariant}`]:t.textVariant!==null,[`bg-${t.bgVariant}`]:t.bgVariant!==null,[`border-${t.borderVariant}`]:t.borderVariant!==null}}),ZC={key:0,class:"visually-hidden"},_y=Oe({__name:"BSpinner",props:{label:{default:void 0},role:{default:"status"},small:{type:Boolean,default:!1},tag:{default:"span"},type:{default:"border"},variant:{default:null}},setup(e){const t=nt(e,"BSpinner"),r=vn(),n=vo(J(()=>({textVariant:t.variant}))),o=J(()=>[`spinner-${t.type}`,n.value,{[`spinner-${t.type}-sm`]:t.small}]),s=J(()=>!yo(r.label));return(i,a)=>(ee(),ye(dt(C(t).tag),{class:He(o.value),role:C(t).label||s.value?C(t).role:null,"aria-hidden":C(t).label||s.value?null:!0},{default:xe(()=>[C(t).label||s.value?(ee(),_e("span",ZC,[$e(i.$slots,"label",{},()=>[We(Ae(C(t).label),1)])])):Le("",!0)]),_:3},8,["class","role","aria-hidden"]))}}),YC=(e,t)=>Object.keys(e).filter(r=>!t.map(n=>n.toString()).includes(r)).reduce((r,n)=>({...r,[n]:e[n]}),{}),XC=(e,t)=>[...t].reduce((r,n)=>(r[n]=e[n],r),{}),Di=(e,t,r)=>{const n=t.split(/[.[\]]/g);let o=e;for(const s of n){if(o==null)return r;s.trim()!==""&&(o=o[s])}return o===void 0?r:o},QC=/[-/\\^$*+?.()|[\]{}]/g,eT=/[\s\uFEFF\xA0]+/g,tT=e=>{const t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)},rT=e=>e.replace(QC,"\\$&"),nT=e=>rT(e).replace(eT,"\\s"),oT=e=>e.replace(/-./g,t=>t.charAt(1).toUpperCase()).replace(/\b\w/g,t=>t.toUpperCase()).replace(/\s+/g,""),sT=e=>!!(e.href||e.to),Sy=(e,t)=>{const r=vr(at(t)),n=vr(at(e)),o=J(()=>sT(n.value)),s=J(()=>o.value?XC(n.value,r.value??["active","activeClass","append","exactActiveClass","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover"]):{});return{computedLink:o,computedLinkProps:s}},iT=({to:e,disabled:t,href:r,replace:n,routerComponentName:o})=>{const s=Kr(),i=s?.appContext?.app?.config?.globalProperties?.$router,a=s?.appContext?.app?.config?.globalProperties?.$route,l=dt("RouterLink"),u=l&&typeof l!="string"&&"useLink"in l?l.useLink:null,c=J(()=>st(e)||""),h=vr(at(n)),f=J(()=>oT(st(o))),d=J(()=>s?.appContext?.app?.component(f.value)===void 0||st(t)||!c.value?"a":f.value),g=J(()=>d.value==="RouterLink"),v=J(()=>g.value&&typeof s?.appContext?.app?.$nuxt<"u"),p=J(()=>d.value!=="a"&&!g.value&&!v.value),m=J(()=>g.value||v.value),b=J(()=>({to:c.value,replace:h.value})),w=u?.({to:c,replace:h}),S=J(()=>m.value?w:null),_=J(()=>{if(S.value?.href.value)return S.value.href.value;const E="#",O=st(r);if(O)return O;if(typeof c.value=="string")return c.value||E;const P=c.value;if(P!==void 0&&"path"in P){const A=P.path||"",V=P.query?`?${Object.keys(P.query).map(M=>`${M}=${P.query?.[M]}`).join("=")}`:"",D=!P.hash||P.hash.charAt(0)==="#"?P.hash||"":`#${P.hash}`;return`${A}${V}${D}`||E}return E});return{isNonStandardTag:p,tag:d,isRouterLink:g,isNuxtLink:v,computedHref:_,routerName:f,router:i,route:a,link:S,linkProps:b}},Ey=e=>J(()=>{const t=st(e);return{[`link-${t.variant}`]:t.variant!==null,[`link-opacity-${t.opacity}`]:t.opacity!==void 0,[`link-opacity-${t.opacityHover}-hover`]:t.opacityHover!==void 0,[`link-underline-${t.underlineVariant}`]:t.underlineVariant!==null,[`link-offset-${t.underlineOffset}`]:t.underlineOffset!==void 0,[`link-offset-${t.underlineOffsetHover}-hover`]:t.underlineOffsetHover!==void 0,"link-underline":t.underlineVariant===null&&(t.underlineOpacity!==void 0||t.underlineOpacityHover!==void 0),[`link-underline-opacity-${t.underlineOpacity}`]:t.underlineOpacity!==void 0,[`link-underline-opacity-${t.underlineOpacityHover}-hover`]:t.underlineOpacityHover!==void 0,"icon-link":t.icon===!0}}),xy="active",Oy=Oe({__name:"BLink",props:{active:{type:Boolean,default:void 0},activeClass:{default:"router-link-active"},disabled:{type:Boolean,default:!1},exactActiveClass:{default:"router-link-exact-active"},href:{default:void 0},icon:{type:Boolean,default:!1},noRel:{type:Boolean,default:!1},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{default:void 0},noPrefetch:{type:Boolean,default:void 0},prefetchedClass:{default:void 0},rel:{default:void 0},replace:{type:Boolean,default:!1},routerComponentName:{default:"router-link"},routerTag:{default:"a"},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null},variant:{default:null}},emits:["click"],setup(e,{emit:t}){const r=nt(e,"BLink"),n=t,o=gd(),{computedHref:s,tag:i,link:a,isNuxtLink:l,isRouterLink:u,linkProps:c,isNonStandardTag:h}=iT({routerComponentName:()=>r.routerComponentName,disabled:()=>r.disabled,to:()=>r.to,replace:()=>r.replace,href:()=>r.href}),f=Tt(oy,null),d=Tt(vC,null),g=Ey(r),v=J(()=>[g.value,o.class,p.value,{[xy]:r.active,[r.activeClass]:a.value?.isActive.value||!1,[r.exactActiveClass]:a.value?.isExactActive.value||!1,"stretched-link":r.stretched===!0}]),p=J(()=>({[xy]:r.active,disabled:r.disabled})),m=E=>{if(r.disabled){E.preventDefault(),E.stopImmediatePropagation();return}(f?.isNav?.value===!0&&d===null||d!==null&&d.noAutoClose?.value!==!0)&&f?.hide?.(),n("click",E)},b=J(()=>r.target==="_blank"?!r.rel&&r.noRel?"noopener":r.rel:void 0),w=J(()=>r.disabled?"-1":typeof o.tabindex>"u"?null:o.tabindex),S=J(()=>({prefetch:r.prefetch,noPrefetch:r.noPrefetch,prefetchOn:r.prefetchOn,prefetchedClass:r.prefetchedClass,...c.value})),_=J(()=>({...u.value?c.value:void 0,...l.value||h.value?S.value:void 0}));return(E,O)=>(ee(),ye(dt(C(i)),ft({class:v.value,target:C(r).target,href:C(s),rel:b.value,tabindex:w.value,"aria-disabled":C(r).disabled?!0:null},_.value,{onClick:O[0]||(O[0]=P=>{m(P),C(a)?.navigate(P)})}),{default:xe(()=>[$e(E.$slots,"default")]),_:3},16,["class","target","href","rel","tabindex","aria-disabled"]))}}),$y=Oe({__name:"BButton",props:nr({loading:{type:Boolean,default:!1},loadingFill:{type:Boolean,default:!1},loadingText:{default:"Loading..."},pill:{type:Boolean,default:!1},size:{default:"md"},squared:{type:Boolean,default:!1},tag:{default:"button"},type:{default:"button"},variant:{default:"secondary"},active:{type:Boolean,default:!1},activeClass:{default:void 0},disabled:{type:Boolean,default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:Boolean,default:!1},noRel:{type:Boolean},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},prefetchedClass:{},rel:{default:void 0},replace:{type:Boolean,default:void 0},routerComponentName:{default:void 0},routerTag:{default:void 0},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null}},{pressed:{type:Boolean,default:void 0},pressedModifiers:{}}),emits:nr(["click"],["update:pressed"]),setup(e,{emit:t}){const r=nt(e,"BButton"),n=t,o=rr("_element"),s=Tr(e,"pressed"),{computedLink:i,computedLinkProps:a}=Sy(r,["active-class","exact-active-class","replace","routerComponentName","routerTag"]),l=J(()=>typeof s.value=="boolean"),u=J(()=>r.tag==="button"&&r.href===void 0&&r.to===void 0),c=J(()=>r.to!==void 0),h=J(()=>r.href!==void 0?!1:!u.value),f=J(()=>c.value?a.value:[]),d=J(()=>r.href==="#"&&r.disabled?!0:h.value?r.disabled:null),g=J(()=>r.variant?.startsWith("link")||!1),v=J(()=>r.variant?.startsWith("link-")||!1),p=Ey(J(()=>({...g.value?{icon:r.icon,opacity:r.opacity,opacityHover:r.opacityHover,underlineOffset:r.underlineOffset,underlineOffsetHover:r.underlineOffsetHover,underlineOpacity:r.underlineOpacity,underlineOpacityHover:r.underlineOpacityHover,underlineVariant:r.underlineVariant,variant:v.value===!0?r.variant?.slice(5):null}:void 0}))),m=J(()=>[g.value===!0&&i.value===!1?p.value:void 0,[`btn-${r.size}`],{[`btn-${r.variant}`]:r.variant!==null&&v.value===!1,active:r.active||s.value,"rounded-pill":r.pill,"rounded-0":r.squared,disabled:r.disabled}]),b=J(()=>c.value?Oy:r.href?"a":r.tag),w=S=>{if(r.disabled){S.preventDefault(),S.stopPropagation();return}n("click",S),l.value&&(s.value=!s.value)};return hy([" ","enter"],S=>{r.href==="#"&&(S.preventDefault(),o.value?.click())},{target:o}),(S,_)=>(ee(),ye(dt(b.value),ft({ref:"_element",class:"btn"},f.value,{class:m.value,"aria-disabled":d.value,"aria-pressed":l.value?s.value:null,autocomplete:l.value?"off":null,disabled:u.value?C(r).disabled:null,href:C(r).href,rel:C(i)?C(r).rel:null,role:h.value||C(i)?"button":null,target:C(i)?C(r).target:null,type:u.value?C(r).type:null,to:u.value?null:C(r).to,onClick:w}),{default:xe(()=>[C(r).loading?$e(S.$slots,"loading",{key:0},()=>[C(r).loadingFill?Le("",!0):(ee(),_e(Je,{key:0},[We(Ae(C(r).loadingText),1)],64)),$e(S.$slots,"loading-spinner",{},()=>[je(_y,{small:C(r).size!=="lg",label:C(r).loadingFill?C(r).loadingText:void 0},null,8,["small","label"])])]):$e(S.$slots,"default",{key:1})]),_:3},16,["class","aria-disabled","aria-pressed","autocomplete","disabled","href","rel","role","target","type","to"]))}}),Ut=(e,t)=>{const r=BO();return J(()=>st(e)||Id(r||"",t))};class _l{cancelable=!0;componentId=null;_defaultPrevented=!1;eventType="";nativeEvent=null;_preventDefault;relatedTarget=null;target=null;get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(t){this._defaultPrevented=t}get preventDefault(){return this._preventDefault}set preventDefault(t){this._preventDefault=t}constructor(t,r={}){if(!t)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,_l.Defaults,r,{eventType:t}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class aT extends _l{trigger=null;ok=void 0;constructor(t,r={}){super(t,r),Object.assign(this,_l.Defaults,r,{eventType:t})}static get Defaults(){return{...super.Defaults,trigger:null,ok:void 0}}}const Cy={name:"fade",enterActiveClass:"",enterFromClass:"showing",enterToClass:"",leaveActiveClass:"",leaveFromClass:"",leaveToClass:"showing",css:!0},Ty=(e,t,r,n,o,s={transitionProps:{},showFn:()=>{},hideFn:()=>{}})=>{let i=!1;const a=!!e.value&&!t.initialAnimation||t.visible||!1,l=Me(a),u=Me(a),c=Me(a);let h=typeof e.value!="boolean";mt(e,()=>{if(h=typeof e.value!="boolean",i){i=!1;return}e.value?E():P("modelValue",!0)});const f=Me(a),d=Me(!1),g=J(()=>t.noAnimation||t.noFade||f.value||!1);let v=!1;Fn(()=>{if(v=!0,!t.show&&a){const j=p("show",{cancelable:!0});if(r("show",j),j.defaultPrevented){r("show-prevented",p("show-prevented"));return}f.value=!0,e.value||(i=!0,e.value=!0),u.value=!0,c.value=!0,Y.value=!0,B.value=!0,k.value=!0,l.value=!0,s.showFn?.()}else(t.show||e.value&&t.initialAnimation)&&E()}),mt(()=>t.visible,j=>{f.value=!0,Ft(()=>{j&&(Y.value=!0),j?E():P("visible-prop",!0)})}),mt(()=>t.show,j=>{j?E():P("show-prop",!0)}),Jr(n,"bv-toggle",()=>{e.value=!e.value});const p=(j,Z={})=>new aT(j,{cancelable:!1,target:n?.value||null,relatedTarget:null,trigger:null,...Z,componentId:o?.value});let m,b,w,S,_;const E=(j=!1)=>{if(l.value&&!b&&!S)return Promise.resolve(!0);if(_=j,l.value&&!b&&S)return S;S=new Promise(ne=>{w=ne});const Z=p("show",{cancelable:!0});return r("show",Z),Z.defaultPrevented?(r("show-prevented",p("show-prevented")),Y.value&&(Y.value=!1),e.value&&!h&&(i=!0,Ft(()=>{e.value=!1})),w?.("show-prevented"),S):(b&&(clearTimeout(b),b=void 0),u.value=!0,c.value=!0,requestAnimationFrame(()=>{if(f.value||t.delay===void 0){if(!v)return;m=void 0,l.value=!0,s.showFn?.(),e.value||(i=!0,Ft(()=>{e.value=!0}));return}m=setTimeout(()=>{v&&(m=void 0,l.value=!0,s.showFn?.(),e.value||(i=!0,Ft(()=>{e.value=!0})))},typeof t.delay=="number"?t.delay:t.delay?.show||0)}),S)};let O;const P=(j,Z)=>{if(!l.value&&!m)return Promise.resolve("");S||(S=new Promise(oe=>{w=oe})),typeof j!="string"&&(j=void 0),O=j;const ne=p("hide",{cancelable:!0,trigger:j}),Q=p(j||"ignore",{cancelable:!0,trigger:j});return j==="backdrop"&&t.noCloseOnBackdrop||j==="esc"&&t.noCloseOnEsc?(r("hide-prevented",p("hide-prevented",{trigger:j})),w?.("hide-prevented"),S):(m&&(clearTimeout(m),m=void 0),j&&!Z&&r(j,Q),r("hide",ne),ne.defaultPrevented||Q.defaultPrevented?(r("hide-prevented",p("hide-prevented",{trigger:j})),e.value||Ft(()=>{i=!0,e.value=!0}),w?.("hide-prevented"),S):(Te.value=!1,m&&(clearTimeout(m),m=void 0,d.value||(u.value=!1),c.value=!1),b=setTimeout(()=>{v&&(b=void 0,ce.value=!0,l.value=!1,s.hideFn?.(),e.value&&(i=!0,e.value=h?0:!1))},f.value?0:typeof t.delay=="number"?t.delay:t.delay?.hide||0),S))},A=dy(j=>P(j),500),V=dy(()=>E(),500),D=(j=!1)=>{const Z=p("toggle",{cancelable:!0});return r("toggle",Z),Z.defaultPrevented?(r("toggle-prevented",p("toggle-prevented")),Promise.resolve("toggle-prevented")):l.value?P("toggle-function",!0):E(j)},M=()=>{const j=p("toggle",{cancelable:!0});if(r("toggle",j),j.defaultPrevented){r("toggle-prevented",p("toggle-prevented"));return}l.value?P("toggle-trigger",!0):E()},z=[],F=(j,Z)=>{z.push({trigger:j,el:Z}),Z.addEventListener(j,M),he(Z)},ue=(j,Z,ne=!0)=>{const Q=z.findIndex(oe=>oe?.trigger===j&&oe.el===Z);Q>-1&&(z.splice(Q,1),Z.removeEventListener(j,M),ne&&(Z.removeAttribute("aria-expanded"),Z.classList.remove("collapsed"),Z.classList.remove("not-collapsed")))},K=Tt(yC,void 0)?.register({id:o.value,toggle:D,show:E,hide:P,value:vr(l),registerTrigger:F,unregisterTrigger:ue,component:Kr()}),he=j=>{j.setAttribute("aria-expanded",e.value?"true":"false"),j.classList.toggle("collapsed",!e.value),j.classList.toggle("not-collapsed",!!e.value)};mt(e,()=>{z.forEach(j=>{he(j.el)})}),mt(o,(j,Z)=>{K?.updateId(j,Z)}),xi(()=>{K?.unregister(),z.forEach(j=>{j.el.removeEventListener(j.trigger,M)})}),il(()=>{v=!1,clearTimeout(m),clearTimeout(b),m=void 0,b=void 0});const ie=Me(!1),ve=()=>{t.lazy===!0&&(ie.value=!0)},ce=Me(!1),W=Me(a),Y=Me(a),re=j=>{s.transitionProps?.onBeforeEnter?.(j),t.transitionProps?.onBeforeEnter?.(j),W.value=!0},R=j=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{Y.value=!0})}),s.transitionProps?.onEnter?.(j),t.transitionProps?.onEnter?.(j)},H=j=>{ve(),s.transitionProps?.onAfterEnter?.(j),t.transitionProps?.onAfterEnter?.(j),f.value&&requestAnimationFrame(()=>{f.value=!1}),d.value&&(d.value=!1),requestAnimationFrame(()=>{Te.value=!0,Ft(()=>{r("shown",p("shown",{cancelable:!1}))})}),_||(w?.(!0),S=void 0,w=void 0)},ae=j=>{ce.value||(ce.value=!0),s.transitionProps?.onBeforeLeave?.(j),t.transitionProps?.onBeforeLeave?.(j),Te.value=!1},Ee=j=>{Y.value=!1,s.transitionProps?.onLeave?.(j),t.transitionProps?.onLeave?.(j)},Ce=j=>{r("hidden",p("hidden",{trigger:O,cancelable:!1})),s.transitionProps?.onAfterLeave?.(j),t.transitionProps?.onAfterLeave?.(j),ce.value=!1,W.value=!1,f.value&&requestAnimationFrame(()=>{f.value=!1}),requestAnimationFrame(()=>{d.value||(u.value=!1)}),w?.(O||""),S=void 0,w=void 0,O=void 0},Re=J(()=>d.value===!0||W.value===!0||t.lazy===!1||t.lazy===!0&&ie.value===!0&&t.unmountLazy===!1),Te=Me(!1),B=Me(!1),k=Me(!1),N={...s.transitionProps,onBeforeEnter:re,onEnter:R,onAfterEnter:H,onBeforeLeave:ae,onLeave:Ee,onAfterLeave:Ce};return{showRef:l,renderRef:u,renderBackdropRef:c,isVisible:Y,isActive:W,trapActive:Te,show:E,hide:P,toggle:D,throttleHide:A,throttleShow:V,buildTriggerableEvent:p,computedNoAnimation:g,localNoAnimation:f,localTemporaryHide:d,isLeaving:ce,transitionProps:{...Cy,...t.transitionProps,...N},lazyLoadCompleted:ie,markLazyLoadCompleted:ve,contentShowing:Re,backdropReady:k,backdropVisible:B,backdropTransitionProps:{...Cy,onBeforeEnter:()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{B.value=!0})}),k.value=!1},onAfterEnter:()=>{k.value=!0},onBeforeLeave:()=>{B.value=!1},onAfterLeave:()=>{k.value=!1,requestAnimationFrame(()=>{c.value=!1})}}}};Object.freeze(Object.keys({bordered:0,borderless:0,borderVariant:0,captionTop:0,dark:0,fixed:0,hover:0,id:0,noBorderCollapse:0,outlined:0,responsive:0,small:0,stacked:0,stickyHeader:0,striped:0,stripedColumns:0,variant:0,tableAttrs:0,tableClass:0})),Object.freeze(Object.keys({align:0,caption:0,detailsTdClass:0,fieldColumnClass:0,fields:0,footClone:0,footRowVariant:0,footVariant:0,headRowVariant:0,headVariant:0,items:0,labelStacked:0,modelValue:0,primaryKey:0,tbodyClass:0,tbodyTrAttrs:0,tbodyTrClass:0,tfootClass:0,tfootTrClass:0,theadClass:0,theadTrClass:0}));const lT=Oe({inheritAttrs:!1,__name:"BCollapse",props:nr({horizontal:{type:Boolean,default:!1},id:{default:void 0},isNav:{type:Boolean,default:!1},tag:{default:"div"},initialAnimation:{type:Boolean,default:!1},noAnimation:{type:Boolean,default:!1},noFade:{type:Boolean},lazy:{type:Boolean,default:!1},unmountLazy:{type:Boolean,default:!1},show:{type:Boolean,default:!1},transProps:{},visible:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:nr(["hide","hide-prevented","hidden","show","show-prevented","shown","toggle","toggle-prevented","cancel","ok"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=nt(e,"BCollapse"),o=r,s=Tr(e,"modelValue"),i=Ut(()=>n.id,"collapse"),a=rr("_element");let l=!1;const u=A=>{l=!0,requestAnimationFrame(()=>{n.horizontal?A.style.width=`${A.scrollWidth}px`:A.style.height=`${A.scrollHeight}px`})},c=A=>{l||(n.horizontal?A.style.width=`${A.scrollWidth}px`:A.style.height=`${A.scrollHeight}px`,A.offsetHeight)},h=A=>{requestAnimationFrame(()=>{n.horizontal?A.style.width="":A.style.height=""})},f=A=>{A.style.height="",A.style.width="",l=!1},d=A=>{A.style.height="",A.style.width="",l=!1},{showRef:g,renderRef:v,hide:p,show:m,toggle:b,isActive:w,computedNoAnimation:S,contentShowing:_,transitionProps:E}=Ty(s,n,o,a,i,{transitionProps:{onBeforeLeave:c,onEnter:u,onLeave:h,onAfterEnter:f,onAfterLeave:d,enterToClass:"",leaveToClass:"",enterFromClass:"",leaveFromClass:"",enterActiveClass:"",leaveActiveClass:""}}),O=J(()=>({show:w.value,"navbar-collapse":n.isNav,"collapse-horizontal":n.horizontal})),P=J(()=>({toggle:b,show:m,hide:p,id:i.value,visible:g.value,active:w.value}));return t({hide:p,isNav:n.isNav,show:m,toggle:b,visible:vr(g)}),Wt(oy,{id:i,hide:p,show:m,toggle:b,visible:vr(g),isNav:at(()=>n.isNav)}),(A,V)=>(ee(),_e(Je,null,[$e(A.$slots,"header",io(fs(P.value))),C(v)||C(_)?(ee(),ye(Tg,ft({key:0},C(E),{"enter-active-class":C(S)?"":"collapsing","leave-active-class":C(S)?"":"collapsing",appear:s.value||C(n).visible}),{default:xe(()=>[Bn((ee(),ye(dt(C(n).tag),ft({id:C(i),ref:"_element",class:["collapse",O.value],"is-nav":C(n).isNav},A.$attrs),{default:xe(()=>[C(_)?$e(A.$slots,"default",io(ft({key:0},P.value))):Le("",!0)]),_:3},16,["id","class","is-nav"])),[[ms,C(g)]])]),_:3},16,["enter-active-class","leave-active-class","appear"])):Le("",!0),$e(A.$slots,"footer",io(fs(P.value)))],64))}}),ky="bootstrap-vue-next",Ay=(e,t)=>{const{all:r,...n}=e,o={};r&&t.forEach(i=>{o[i]=r});const s={...o,...n};return Object.entries(s).filter(([i,a])=>!!a&&t.includes(i)).map(([i])=>i)},Bd=new Set,Py=new Set;Object.assign(({aliases:e={},directives:t=!0,components:r=!0}={})=>{const n=Ay(typeof r=="boolean"?{all:r}:r,FC).reduce((s,i)=>(s.set(i,`${ky}${my[i]}`),s),new Map),o=Ay(typeof t=="boolean"?{all:t}:t,UC).reduce((s,i)=>{const a=i.toLowerCase().startsWith("v")?i:`v${i}`;return s.set(a,`${ky}${gy[a]}`),s},new Map);return[{type:"component",resolve(s){const i=n.get(s),a=n.get(e[s]);if(a){const l=e[s];return Bd.add(l),{name:l,from:a}}if(i)return Bd.add(s),{name:s,from:i}}},{type:"directive",resolve(s){const i=`v${s}`,a=o.get(i);if(a)return Py.add(i),{name:i,from:a}}}]},{__usedComponents:Bd,__usedDirectives:Py});const uT=Oe({__name:"ArrayButton",props:{disabled:{type:Boolean},ariaLabel:{},variant:{}},emits:["click"],setup(e,{emit:t}){const r=e,n=t;return(o,s)=>(ee(),ye(C($y),{variant:r.variant,onClick:s[0]||(s[0]=i=>n("click")),disabled:r.disabled,"aria-label":r.ariaLabel},{default:xe(()=>[$e(o.$slots,"default")]),_:3},8,["variant","disabled","aria-label"]))}}),cT=Oe({__name:"showOnWrapper",props:{visible:{type:Boolean}},setup(e){return(t,r)=>(ee(),ye(C(lT),{class:"vjf_showOnWrapper",visible:e.visible},{default:xe(()=>[$e(t.$slots,"default")]),_:3},8,["visible"]))}}),dT={class:"wrappers-parent"},fT={class:"stepWrapper"},pT={class:"d-flex justify-content-between"},hT=["disabled","onClick"],mT={class:"stepWrapperBg"},gT={class:"d-flex justify-content-between"},yT=Oe({__name:"WizardProgress",props:{numberOfPages:{},pageNames:{},currentStep:{}},emits:["update:currentStep"],setup(e,{emit:t}){const r=e,n=t;function o(s){const i=s-1;ir.currentStep,()=>{document.querySelectorAll(".wrappers-parent").forEach(s=>{const i=s.querySelector(".custom-wizard-progress"),a=s.querySelectorAll(".stepWrapper .stepNumber");if(!i||a.length<2)return;const l=a[0],u=a[a.length-1];if(!l||!u)return;const c=l.offsetLeft+l.offsetWidth/2,h=u.offsetLeft+u.offsetWidth/2-c,f=r.currentStep/(a.length-1),d=(c+f*h)/i.offsetWidth*100;i.style.setProperty("--progress",`${d}%`)})},{immediate:!0}),(s,i)=>(ee(),_e("div",dT,[Ne("div",fT,[Ne("div",pT,[(ee(!0),_e(Je,null,Gt(Array.from({length:r.numberOfPages},(a,l)=>l+1),a=>(ee(),_e("div",{class:He({"stepNumber d-flex justify-content-center align-items-center":!0,active:a-1===e.currentStep,filled:a-1e.currentStep,class:"fs-4",onClick:()=>o(a)},Ae(a),9,hT)],2))),256))])]),i[0]||(i[0]=Ne("div",{class:"custom-wizard-progress"},null,-1)),Ne("div",mT,[Ne("div",gT,[(ee(!0),_e(Je,null,Gt(Array.from({length:r.numberOfPages},(a,l)=>l+1),a=>(ee(),_e("div",{class:He({"stepNumber d-flex justify-content-center align-items-center":!0,active:a-1===e.currentStep,filled:a-1{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},vT=Gn(yT,[["__scopeId","data-v-bc1e4033"]]),bT={showOnWrapper:cT,CheckboxControl:cr(()=>Promise.resolve().then(()=>_V)),CheckboxGroupControl:cr(()=>Promise.resolve().then(()=>SV)),FileControl:cr(()=>Promise.resolve().then(()=>$V)),NumberControl:cr(()=>Promise.resolve().then(()=>PV)),ObjectControl:cr(()=>Promise.resolve().then(()=>NV)),RadiobuttonControl:cr(()=>Promise.resolve().then(()=>BV)),SelectControl:cr(()=>Promise.resolve().then(()=>zV)),StringControl:cr(()=>Promise.resolve().then(()=>KV)),TagsControl:cr(()=>Promise.resolve().then(()=>pL)),FormFieldWrapper:cr(()=>Promise.resolve().then(()=>$L)),ErrorViewer:cr(()=>Promise.resolve().then(()=>RL)),Button:cr(()=>Promise.resolve().then(()=>VL)),Buttongroup:cr(()=>Promise.resolve().then(()=>FL)),HelpPopover:cr(()=>Promise.resolve().then(()=>UL)),DefaultControl:cr(()=>Promise.resolve().then(()=>zL)),ArrayButton:uT,WizardProgress:vT};var wT=Object.create,Ny=Object.defineProperty,_T=Object.getOwnPropertyDescriptor,Vd=Object.getOwnPropertyNames,ST=Object.getPrototypeOf,ET=Object.prototype.hasOwnProperty,xT=(e,t)=>function(){return e&&(t=(0,e[Vd(e)[0]])(e=0)),t},OT=(e,t)=>function(){return t||(0,e[Vd(e)[0]])((t={exports:{}}).exports,t),t.exports},$T=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Vd(t))!ET.call(e,o)&&o!==r&&Ny(e,o,{get:()=>t[o],enumerable:!(n=_T(t,o))||n.enumerable});return e},CT=(e,t,r)=>(r=e!=null?wT(ST(e)):{},$T(Ny(r,"default",{value:e,enumerable:!0}),e)),ji=xT({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),TT=OT({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){ji(),t.exports=n;function r(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function n(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,h=>new Date(h)),i.set(Map,(h,f)=>new Map(l(Array.from(h),f))),i.set(Set,(h,f)=>new Set(l(Array.from(h),f))),s.constructorHandlers)for(const h of s.constructorHandlers)i.set(h[0],h[1]);let a=null;return s.proto?c:u;function l(h,f){const d=Object.keys(h),g=new Array(d.length);for(let v=0;vnew Date(d)),l.set(Map,(d,g)=>new Map(c(Array.from(d),g))),l.set(Set,(d,g)=>new Set(c(Array.from(d),g))),s.constructorHandlers)for(const d of s.constructorHandlers)l.set(d[0],d[1]);let u=null;return s.proto?f:h;function c(d,g){const v=Object.keys(d),p=new Array(v.length);for(let m=0;m(i=jT(e,u,c),i.finally(()=>{if(i=null,r.trailing&&a&&!o){const h=l(u,a);return a=null,h}}),i);return function(...u){return i?(r.trailing&&(a=u),i):new Promise(c=>{const h=!o&&r.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const f=r.leading?n:l(this,u);for(const d of s)d(f);s=[]},t),h?(n=l(this,u),c(n)):s.push(c)})}}async function jT(e,t,r){return await e.apply(t,r)}function Ld(e,t={},r){for(const n in e){const o=e[n],s=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?Ld(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const RT={run:e=>e()},MT=()=>RT,Ry=typeof console.createTask<"u"?console.createTask:MT;function BT(e,t){const r=t.shift(),n=Ry(r);return e.reduce((o,s)=>o.then(()=>n.run(()=>s(...t))),Promise.resolve())}function VT(e,t){const r=t.shift(),n=Ry(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Fd(e,t){for(const r of[...e])r(t)}class LT{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!n.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...s)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...s));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=Ld(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=Ld(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(BT,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(VT,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Fd(this._before,o);const s=t(r in this._hooks?[...this._hooks[r]]:[],n);return s instanceof Promise?s.finally(()=>{this._after&&o&&Fd(this._after,o)}):(this._after&&o&&Fd(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function My(){return new LT}var FT=Object.create,By=Object.defineProperty,UT=Object.getOwnPropertyDescriptor,Ud=Object.getOwnPropertyNames,qT=Object.getPrototypeOf,zT=Object.prototype.hasOwnProperty,HT=(e,t)=>function(){return e&&(t=(0,e[Ud(e)[0]])(e=0)),t},Vy=(e,t)=>function(){return t||(0,e[Ud(e)[0]])((t={exports:{}}).exports,t),t.exports},GT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ud(t))!zT.call(e,o)&&o!==r&&By(e,o,{get:()=>t[o],enumerable:!(n=UT(t,o))||n.enumerable});return e},WT=(e,t,r)=>(r=e!=null?FT(qT(e)):{},GT(By(r,"default",{value:e,enumerable:!0}),e)),ge=HT({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),KT=Vy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){ge(),function(r){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"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","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),h=function(v,p){var m="-",b="",w="",S=!0,_={},E,O,P,A,V,D,M,z,F,ue,K,he,ie,ve,ce="";if(typeof v!="string")return"";if(typeof p=="string"&&(m=p),M=a.en,z=i.en,typeof p=="object"){E=p.maintainCase||!1,_=p.custom&&typeof p.custom=="object"?p.custom:_,P=+p.truncate>1&&p.truncate||!1,A=p.uric||!1,V=p.uricNoSlash||!1,D=p.mark||!1,S=!(p.symbols===!1||p.lang===!1),m=p.separator||m,A&&(ce+=l),V&&(ce+=u),D&&(ce+=c),M=p.lang&&a[p.lang]&&S?a[p.lang]:S?a.en:{},z=p.lang&&i[p.lang]?i[p.lang]:p.lang===!1||p.lang===!0?{}:i.en,p.titleCase&&typeof p.titleCase.length=="number"&&Array.prototype.toString.call(p.titleCase)?(p.titleCase.forEach(function(W){_[W+""]=W+""}),O=!0):O=!!p.titleCase,p.custom&&typeof p.custom.length=="number"&&Array.prototype.toString.call(p.custom)&&p.custom.forEach(function(W){_[W+""]=W+""}),Object.keys(_).forEach(function(W){var Y;W.length>1?Y=new RegExp("\\b"+d(W)+"\\b","gi"):Y=new RegExp(d(W),"gi"),v=v.replace(Y,_[W])});for(K in _)ce+=K}for(ce+=m,ce=d(ce),v=v.replace(/(^\s+|\s+$)/g,""),ie=!1,ve=!1,ue=0,he=v.length;ue=0?(w+=K,K=""):ve===!0?(K=s[w]+n[K],w=""):K=ie&&n[K].match(/[A-Za-z0-9]/)?" "+n[K]:n[K],ie=!1,ve=!1):K in s?(w+=K,K="",ue===he-1&&(K=s[w]),ve=!0):M[K]&&!(A&&l.indexOf(K)!==-1)&&!(V&&u.indexOf(K)!==-1)?(K=ie||b.substr(-1).match(/[A-Za-z0-9]/)?m+M[K]:M[K],K+=v[ue+1]!==void 0&&v[ue+1].match(/[A-Za-z0-9]/)?m:"",ie=!0):(ve===!0?(K=s[w]+K,w="",ve=!1):ie&&(/[A-Za-z0-9]/.test(K)||b.substr(-1).match(/A-Za-z0-9]/))&&(K=" "+K),ie=!1),b+=K.replace(new RegExp("[^\\w\\s"+ce+"_-]","g"),m);return O&&(b=b.replace(/(\w)(\S*)/g,function(W,Y,re){var R=Y.toUpperCase()+(re!==null?re:"");return Object.keys(_).indexOf(R.toLowerCase())<0?R:R.toLowerCase()})),b=b.replace(/\s+/g,m).replace(new RegExp("\\"+m+"+","g"),m).replace(new RegExp("(^\\"+m+"+|\\"+m+"+$)","g"),""),P&&b.length>P&&(F=b.charAt(P)===m,b=b.slice(0,P),F||(b=b.slice(0,b.lastIndexOf(m)))),!E&&!O&&(b=b.toLowerCase()),b},f=function(v){return function(p){return h(p,v)}},d=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},g=function(v,p){for(var m in p)if(p[m]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=h,t.exports.createSlug=f;else if(typeof define<"u"&&define.amd)define([],function(){return h});else try{if(r.getSlug||r.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";r.getSlug=h,r.createSlug=f}catch{}}(e)}}),JT=Vy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){ge(),t.exports=KT()}});ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge();function ZT(e){var t;const r=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return r==="index"&&(t=e.__file)!=null&&t.endsWith("index.vue")?"":r}function YT(e){const t=e.__file;if(t)return NT(IT(t,".vue"))}function Ly(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function qd(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Fy(e){var t,r;const n=(t=e.subTree)==null?void 0:t.type,o=qd(e);return o?((r=o?.types)==null?void 0:r.Fragment)===n:!1}function Sl(e){var t,r,n;const o=ZT(e?.type||{});if(o)return o;if(e?.root===e)return"Root";for(const i in(r=(t=e.parent)==null?void 0:t.type)==null?void 0:r.components)if(e.parent.type.components[i]===e?.type)return Ly(e,i);for(const i in(n=e.appContext)==null?void 0:n.components)if(e.appContext.components[i]===e?.type)return Ly(e,i);return YT(e?.type||{})||"Anonymous Component"}function XT(e){var t,r,n;const o=(n=(r=(t=e?.appContext)==null?void 0:t.app)==null?void 0:r.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?n:0,s=e===e?.root?"root":e.uid;return`${o}:${s}`}function zd(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function QT(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var El;function ek(e){return El||(El=document.createRange()),El.selectNode(e),El.getBoundingClientRect()}function tk(e){const t=QT();if(!e.children)return t;for(let r=0,n=e.children.length;re.bottom)&&(e.bottom=t.bottom),(!e.left||t.lefte.right)&&(e.right=t.right),e}var Uy={top:0,left:0,right:0,bottom:0,width:0,height:0};function Vo(e){const t=e.subTree.el;return typeof window>"u"?Uy:Fy(e)?tk(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?Vo(e.subTree.component):Uy}ge();function Hd(e){return Fy(e)?nk(e.subTree):e.subTree?[e.subTree.el]:[]}function nk(e){if(!e.children)return[];const t=[];return e.children.forEach(r=>{r.component?t.push(...Hd(r.component)):r?.el&&t.push(r.el)}),t}var qy="__vue-devtools-component-inspector__",zy="__vue-devtools-component-inspector__card__",Hy="__vue-devtools-component-inspector__name__",Gy="__vue-devtools-component-inspector__indicator__",Wy={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},ok={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},sk={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function ws(){return document.getElementById(qy)}function ik(){return document.getElementById(zy)}function ak(){return document.getElementById(Gy)}function lk(){return document.getElementById(Hy)}function Gd(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Wd(e){var t;const r=document.createElement("div");r.id=(t=e.elementId)!=null?t:qy,Object.assign(r.style,{...Wy,...Gd(e.bounds),...e.style});const n=document.createElement("span");n.id=zy,Object.assign(n.style,{...ok,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Hy,o.innerHTML=`<${e.name}>  `;const s=document.createElement("i");return s.id=Gy,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,sk),n.appendChild(o),n.appendChild(s),r.appendChild(n),document.body.appendChild(r),r}function Kd(e){const t=ws(),r=ik(),n=lk(),o=ak();t&&(Object.assign(t.style,{...Wy,...Gd(e.bounds)}),Object.assign(r.style,{top:e.bounds.top<35?0:"-35px"}),n.innerHTML=`<${e.name}>  `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function uk(e){const t=Vo(e);if(!t.width&&!t.height)return;const r=Sl(e);ws()?Kd({bounds:t,name:r}):Wd({bounds:t,name:r})}function Ky(){const e=ws();e&&(e.style.display="none")}var Jd=null;function Zd(e){const t=e.target;if(t){const r=t.__vueParentComponent;if(r&&(Jd=r,r.vnode.el)){const n=Vo(r),o=Sl(r);ws()?Kd({bounds:n,name:o}):Wd({bounds:n,name:o})}}}function ck(e,t){if(e.preventDefault(),e.stopPropagation(),Jd){const r=XT(Jd);t(r)}}var xl=null;function dk(){Ky(),window.removeEventListener("mouseover",Zd),window.removeEventListener("click",xl,!0),xl=null}function fk(){return window.addEventListener("mouseover",Zd),new Promise(e=>{function t(r){r.preventDefault(),r.stopPropagation(),ck(r,n=>{window.removeEventListener("click",t,!0),xl=null,window.removeEventListener("mouseover",Zd);const o=ws();o&&(o.style.display="none"),e(JSON.stringify({id:n}))})}xl=t,window.addEventListener("click",t,!0)})}function pk(e){const t=zd(pr.value,e.id);if(t){const[r]=Hd(t);if(typeof r.scrollIntoView=="function")r.scrollIntoView({behavior:"smooth"});else{const n=Vo(t),o=document.createElement("div"),s={...Gd(n),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const n=Vo(t);if(n.width||n.height){const o=Sl(t),s=ws();s?Kd({...e,name:o,bounds:n}):Wd({...e,name:o,bounds:n}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}ge();var Jy;(Jy=ke).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(Jy.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function hk(e){let t=0;const r=setInterval(()=>{ke.__VUE_INSPECTOR__&&(clearInterval(r),t+=30,e()),t>=5e3&&clearInterval(r)},30)}function mk(){const e=ke.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...r)=>{e.disable(),t(...r)}}function gk(){return new Promise(e=>{function t(){mk(),e(ke.__VUE_INSPECTOR__)}ke.__VUE_INSPECTOR__?t():hk(()=>{t()})})}ge(),ge();function yk(e){return!!(e&&e.__v_isReadonly)}function Zy(e){return yk(e)?Zy(e.__v_raw):!!(e&&e.__v_isReactive)}function Yd(e){return!!(e&&e.__v_isRef===!0)}function Ri(e){const t=e&&e.__v_raw;return t?Ri(t):e}var vk=class{constructor(){this.refEditor=new bk}set(e,t,r,n){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map?e=e.get(a):e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];n?n(e,s,r):this.refEditor.isRef(i)?this.refEditor.set(i,r):e[s]=r}get(e,t){const r=Array.isArray(t)?t:t.split(".");for(let n=0;n"u")return!1;const n=Array.isArray(t)?t.slice():t.split("."),o=r?2:1;for(;e&&n.length>o;){const s=n.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,n[0])}createDefaultSetCallback(e){return(t,r,n)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(r,1):Ri(t)instanceof Map?t.delete(r):Ri(t)instanceof Set?t.delete(Array.from(t.values())[r]):Reflect.deleteProperty(t,r)),!e.remove){const o=t[e.newKey||r];this.refEditor.isRef(o)?this.refEditor.set(o,n):Ri(t)instanceof Map?t.set(e.newKey||r,n):Ri(t)instanceof Set?t.add(n):t[e.newKey||r]=n}}}},bk=class{set(e,t){if(Yd(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const r=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());r.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const n=new Set(Object.keys(e));r.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),n.delete(o)}),n.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Yd(e)?e.value:e}isRef(e){return Yd(e)||Zy(e)}};ge(),ge(),ge();var wk="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function _k(){if(!Iy||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(wk);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}ge(),ge(),ge();var Yy;(Yy=ke).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS!=null||(Yy.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Sk=new Proxy(ke.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,r){return Reflect.get(e,t,r)}});function Ek(e,t){Bt.timelineLayersState[t.id]=!1,Sk.push({...e,descriptorId:t.id,appRecord:qd(t.app)})}var Xy;(Xy=ke).__VUE_DEVTOOLS_KIT_INSPECTOR__!=null||(Xy.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Xd=new Proxy(ke.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,r){return Reflect.get(e,t,r)}}),Qy=bs(()=>{Ss.hooks.callHook("sendInspectorToClient",ev())});function xk(e,t){var r,n;Xd.push({options:e,descriptor:t,treeFilterPlaceholder:(r=e.treeFilterPlaceholder)!=null?r:"Search tree...",stateFilterPlaceholder:(n=e.stateFilterPlaceholder)!=null?n:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:qd(t.app)}),Qy()}function ev(){return Xd.filter(e=>e.descriptor.app===pr.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const r=e.descriptor,n=e.options;return{id:n.id,label:n.label,logo:r.logo,icon:`custom-ic-baseline-${(t=n?.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:r.packageName,homepage:r.homepage,pluginId:r.id}})}function Ol(e,t){return Xd.find(r=>r.options.id===e&&(t?r.descriptor.app===t:!0))}function Ok(){const e=My();e.hook("addInspector",({inspector:n,plugin:o})=>{xk(n,o.descriptor)});const t=bs(async({inspectorId:n,plugin:o})=>{var s;if(!n||!((s=o?.descriptor)!=null&&s.app)||Bt.highPerfModeEnabled)return;const i=Ol(n,o.descriptor.app),a={app:o.descriptor.app,inspectorId:n,filter:i?.treeFilter||"",rootNodes:[]};await new Promise(l=>{e.callHookWith(async u=>{await Promise.all(u.map(c=>c(a))),l()},"getInspectorTree")}),e.callHookWith(async l=>{await Promise.all(l.map(u=>u({inspectorId:n,rootNodes:a.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const r=bs(async({inspectorId:n,plugin:o})=>{var s;if(!n||!((s=o?.descriptor)!=null&&s.app)||Bt.highPerfModeEnabled)return;const i=Ol(n,o.descriptor.app),a={app:o.descriptor.app,inspectorId:n,nodeId:i?.selectedNodeId||"",state:null},l={currentTab:`custom-inspector:${n}`};a.nodeId&&await new Promise(u=>{e.callHookWith(async c=>{await Promise.all(c.map(h=>h(a,l))),u()},"getInspectorState")}),e.callHookWith(async u=>{await Promise.all(u.map(c=>c({inspectorId:n,nodeId:a.nodeId,state:a.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",r),e.hook("customInspectorSelectNode",({inspectorId:n,nodeId:o,plugin:s})=>{const i=Ol(n,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:n,plugin:o})=>{Ek(n,o.descriptor)}),e.hook("timelineEventAdded",({options:n,plugin:o})=>{var s;const i=["performance","component-event","keyboard","mouse"];Bt.highPerfModeEnabled||!((s=Bt.timelineLayersState)!=null&&s[o.descriptor.id])&&!i.includes(n.layerId)||e.callHookWith(async a=>{await Promise.all(a.map(l=>l(n)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:n})=>{const o=n.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([i])=>i.split(":")[0]===s).map(([,i])=>i)}),e.hook("getComponentBounds",async({instance:n})=>Vo(n)),e.hook("getComponentName",({instance:n})=>Sl(n)),e.hook("componentHighlight",({uid:n})=>{const o=pr.value.instanceMap.get(n);o&&uk(o)}),e.hook("componentUnhighlight",()=>{Ky()}),e}var tv;(tv=ke).__VUE_DEVTOOLS_KIT_APP_RECORDS__!=null||(tv.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var rv;(rv=ke).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__!=null||(rv.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var nv;(nv=ke).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__!=null||(nv.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var ov;(ov=ke).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__!=null||(ov.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var sv;(sv=ke).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__!=null||(sv.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var Lo="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function $k(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:_k()}}var iv;(iv=ke)[Lo]!=null||(iv[Lo]=$k());var Ck=bs(e=>{Ss.hooks.callHook("devtoolsStateUpdated",{state:e})});bs((e,t)=>{Ss.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var $l=new Proxy(ke.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,r){return t==="value"?ke.__VUE_DEVTOOLS_KIT_APP_RECORDS__:ke.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),pr=new Proxy(ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,r){return t==="value"?ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function av(){Ck({...ke[Lo],appRecords:$l.value,activeAppRecordId:pr.id,tabs:ke.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:ke.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Tk(e){ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,av()}function kk(e){ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,av()}var Bt=new Proxy(ke[Lo],{get(e,t){return t==="appRecords"?$l:t==="activeAppRecordId"?pr.id:t==="tabs"?ke.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?ke.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:ke[Lo][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,r){return{...ke[Lo]},e[t]=r,ke[Lo][t]=r,!0}});function Ak(e={}){var t,r,n;const{file:o,host:s,baseUrl:i=window.location.origin,line:a=0,column:l=0}=e;if(o){if(s==="chrome-extension"){const u=o.replace(/\\/g,"\\\\"),c=(r=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?r:"/";fetch(`${c}__open-in-editor?file=${encodeURI(o)}`).then(h=>{if(!h.ok){const f=`Opening component ${u} failed`;console.log(`%c${f}`,"color:red")}})}else if(Bt.vitePluginDetected){const u=(n=ke.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?n:i;ke.__VUE_INSPECTOR__.openInEditor(u,o,a,l)}}}ge(),ge(),ge(),ge(),ge();var lv;(lv=ke).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__!=null||(lv.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Qd=new Proxy(ke.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,r){return Reflect.get(e,t,r)}});function ef(e){const t={};return Object.keys(e).forEach(r=>{t[r]=e[r].defaultValue}),t}function tf(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Pk(e){var t,r,n;return(n=((r=(t=Qd.find(s=>{var i;return s[0].id===e&&!!((i=s[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?r:null)?.settings)!=null?n:null}function uv(e,t){var r,n,o;const s=tf(e);if(s){const i=localStorage.getItem(s);if(i)return JSON.parse(i)}if(e){const i=(n=(r=Qd.find(a=>a[0].id===e))==null?void 0:r[0])!=null?n:null;return ef((o=i?.settings)!=null?o:{})}return ef(t)}function Nk(e,t){const r=tf(e);localStorage.getItem(r)||localStorage.setItem(r,JSON.stringify(ef(t)))}function Ik(e,t,r){const n=tf(e),o=localStorage.getItem(n),s=JSON.parse(o||"{}"),i={...s,[t]:r};localStorage.setItem(n,JSON.stringify(i)),Ss.hooks.callHookWith(a=>{a.forEach(l=>l({pluginId:e,key:t,oldValue:s[t],newValue:r,settings:i}))},"setPluginSettings")}ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge();var cv,dv,Vr=(dv=(cv=ke).__VUE_DEVTOOLS_HOOK)!=null?dv:cv.__VUE_DEVTOOLS_HOOK=My(),Dk={vueAppInit(e){Vr.hook("app:init",e)},vueAppUnmount(e){Vr.hook("app:unmount",e)},vueAppConnected(e){Vr.hook("app:connected",e)},componentAdded(e){return Vr.hook("component:added",e)},componentEmit(e){return Vr.hook("component:emit",e)},componentUpdated(e){return Vr.hook("component:updated",e)},componentRemoved(e){return Vr.hook("component:removed",e)},setupDevtoolsPlugin(e){Vr.hook("devtools-plugin:setup",e)},perfStart(e){return Vr.hook("perf:start",e)},perfEnd(e){return Vr.hook("perf:end",e)}},jk={on:Dk},Rk=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Bt.highPerfModeEnabled)return;const r=ev().find(n=>n.packageName===this.plugin.descriptor.packageName);if(r?.id){if(e){const n=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];Vr.callHook("component:updated",...n)}else Vr.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:r.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Nk(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Bt.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Bt.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Bt.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Bt.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return uv(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Mk=Rk;ge(),ge(),ge(),ge();var Bk="__vue_devtool_undefined__",Vk="__vue_devtool_infinity__",Lk="__vue_devtool_negative_infinity__",Fk="__vue_devtool_nan__";ge(),ge();var Uk={[Bk]:"undefined",[Fk]:"NaN",[Vk]:"Infinity",[Lk]:"-Infinity"};Object.entries(Uk).reduce((e,[t,r])=>(e[r]=t,e),{}),ge(),ge(),ge(),ge(),ge();var fv;(fv=ke).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__!=null||(fv.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function qk(e,t){const[r,n]=e;if(r.app!==t)return;const o=new Mk({plugin:{setupFn:n,descriptor:r},ctx:Ss});r.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),n(o)}function pv(e,t){ke.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Bt.highPerfModeEnabled&&!t?.inspectingComponent||(ke.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Qd.forEach(r=>{qk(r,e)}))}ge(),ge();var Mi="__VUE_DEVTOOLS_ROUTER__",_s="__VUE_DEVTOOLS_ROUTER_INFO__",hv;(hv=ke)[_s]!=null||(hv[_s]={currentRoute:null,routes:[]});var mv;(mv=ke)[Mi]!=null||(mv[Mi]={}),new Proxy(ke[_s],{get(e,t){return ke[_s][t]}}),new Proxy(ke[Mi],{get(e,t){if(t==="value")return ke[Mi]}});function zk(e){const t=new Map;return(e?.getRoutes()||[]).filter(r=>!t.has(r.path)&&t.set(r.path,1))}function rf(e){return e.map(t=>{let{path:r,name:n,children:o,meta:s}=t;return o?.length&&(o=rf(o)),{path:r,name:n,children:o,meta:s}})}function Hk(e){if(e){const{fullPath:t,hash:r,href:n,path:o,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:r,href:n,path:o,name:s,params:a,query:l,matched:rf(i)}}return e}function Gk(e,t){function r(){var n;const o=(n=e.app)==null?void 0:n.config.globalProperties.$router,s=Hk(o?.currentRoute.value),i=rf(zk(o)),a=console.warn;console.warn=()=>{},ke[_s]={currentRoute:s?jy(s):{},routes:jy(i)},ke[Mi]=o,console.warn=a}r(),jk.on.componentUpdated(bs(()=>{var n;((n=t.value)==null?void 0:n.app)===e.app&&(r(),!Bt.highPerfModeEnabled&&Ss.hooks.callHook("routerInfoUpdated",{state:ke[_s]}))},200))}function Wk(e){return{async getInspectorTree(t){const r={...t,app:pr.value.app,rootNodes:[]};return await new Promise(n=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(r))),n()},"getInspectorTree")}),r.rootNodes},async getInspectorState(t){const r={...t,app:pr.value.app,state:null},n={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(r,n))),o()},"getInspectorState")}),r.state},editInspectorState(t){const r=new vk,n={...t,app:pr.value.app,set:(o,s=t.path,i=t.state.value,a)=>{r.set(o,s,i,a||r.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(n))},"editInspectorState")},sendInspectorState(t){const r=Ol(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:r.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return fk()},cancelInspectComponentInspector(){return dk()},getComponentRenderCode(t){const r=zd(pr.value,t);if(r)return typeof r?.type!="function"?r.render.toString():r.type.toString()},scrollToComponent(t){return pk({id:t})},openInEditor:Ak,getVueInspector:gk,toggleApp(t,r){const n=$l.value.find(o=>o.id===t);n&&(kk(t),Tk(n),Gk(n,pr),Qy(),pv(n.app,r))},inspectDOM(t){const r=zd(pr.value,t);if(r){const[n]=Hd(r);n&&(ke.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=n)}},updatePluginSettings(t,r,n){Ik(t,r,n)},getPluginSettings(t){return{options:Pk(t),values:uv(t)}}}}ge();var gv;(gv=ke).__VUE_DEVTOOLS_ENV__!=null||(gv.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var yv=Ok(),vv;(vv=ke).__VUE_DEVTOOLS_KIT_CONTEXT__!=null||(vv.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:yv,get state(){return{...Bt,activeAppRecordId:pr.id,activeAppRecord:pr.value,appRecords:$l.value}},api:Wk(yv)});var Ss=ke.__VUE_DEVTOOLS_KIT_CONTEXT__;ge(),WT(JT());var bv;(bv=ke).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__!=null||(bv.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),ge(),ge();function Kk(e){Bt.highPerfModeEnabled=e??!Bt.highPerfModeEnabled,!e&&pr.value&&pv(pr.value.app)}ge(),ge(),ge();function Jk(e){Bt.devtoolsClientDetected={...Bt.devtoolsClientDetected,...e};const t=Object.values(Bt.devtoolsClientDetected).some(Boolean);Kk(!t)}var wv;(wv=ke).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__!=null||(wv.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Jk),ge(),ge(),ge(),ge(),ge(),ge(),ge();var Zk=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},_v=class{constructor(e){this.generateIdentifier=e,this.kv=new Zk}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Yk=class extends _v{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};ge(),ge();function Xk(e){if("values"in Object)return Object.values(e);const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}function Qk(e,t){const r=Xk(e);if("find"in r)return r.find(t);const n=r;for(let o=0;ot(n,r))}function Cl(e,t){return e.indexOf(t)!==-1}function Sv(e,t){for(let r=0;rt.isApplicable(e))}findByName(e){return this.transfomers[e]}};ge(),ge();var tA=e=>Object.prototype.toString.call(e).slice(8,-1),Ev=e=>typeof e>"u",rA=e=>e===null,Bi=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,nf=e=>Bi(e)&&Object.keys(e).length===0,bo=e=>Array.isArray(e),nA=e=>typeof e=="string",oA=e=>typeof e=="number"&&!isNaN(e),sA=e=>typeof e=="boolean",iA=e=>e instanceof RegExp,Vi=e=>e instanceof Map,Li=e=>e instanceof Set,xv=e=>tA(e)==="Symbol",aA=e=>e instanceof Date&&!isNaN(e.valueOf()),lA=e=>e instanceof Error,Ov=e=>typeof e=="number"&&isNaN(e),uA=e=>sA(e)||rA(e)||Ev(e)||oA(e)||nA(e)||xv(e),cA=e=>typeof e=="bigint",dA=e=>e===1/0||e===-1/0,fA=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),pA=e=>e instanceof URL;ge();var $v=e=>e.replace(/\./g,"\\."),of=e=>e.map(String).map($v).join("."),Fi=e=>{const t=[];let r="";for(let o=0;onull,()=>{}),Sn(cA,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Sn(aA,"Date",e=>e.toISOString(),e=>new Date(e)),Sn(lA,"Error",(e,t)=>{const r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(n=>{r[n]=e[n]}),r},(e,t)=>{const r=new Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(n=>{r[n]=e[n]}),r}),Sn(iA,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)}),Sn(Li,"set",e=>[...e.values()],e=>new Set(e)),Sn(Vi,"map",e=>[...e.entries()],e=>new Map(e)),Sn(e=>Ov(e)||dA(e),"number",e=>Ov(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Sn(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Sn(pA,"URL",e=>e.toString(),e=>new URL(e))];function Tl(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var Tv=Tl((e,t)=>xv(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,r)=>{const n=r.symbolRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),hA=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),kv=Tl(fA,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const r=hA[t[1]];if(!r)throw new Error("Trying to deserialize unknown typed array");return new r(e)});function Av(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var Pv=Tl(Av,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return{...e};const n={};return r.forEach(o=>{n[o]=e[o]}),n},(e,t,r)=>{const n=r.classRegistry.getValue(t[1]);if(!n)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(n.prototype),e)}),Nv=Tl((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,r)=>{const n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),mA=[Pv,Tv,Nv,kv],Iv=(e,t)=>{const r=Sv(mA,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};const n=Sv(Cv,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation}},Dv={};Cv.forEach(e=>{Dv[e.annotation]=e});var gA=(e,t,r)=>{if(bo(t))switch(t[0]){case"symbol":return Tv.untransform(e,t,r);case"class":return Pv.untransform(e,t,r);case"custom":return Nv.untransform(e,t,r);case"typed-array":return kv.untransform(e,t,r);default:throw new Error("Unknown transformation: "+t)}else{const n=Dv[t];if(!n)throw new Error("Unknown transformation: "+t);return n.untransform(e,r)}};ge();var xs=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const r=e.keys();for(;t>0;)r.next(),t--;return r.next().value};function jv(e){if(Cl(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Cl(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Cl(e,"constructor"))throw new Error("constructor is not allowed as a property")}var yA=(e,t)=>{jv(t);for(let r=0;r{if(jv(t),t.length===0)return r(e);let n=e;for(let s=0;saf(s,t,[...r,...Fi(i)]));return}const[n,o]=e;o&&Es(o,(s,i)=>{af(s,t,[...r,...Fi(i)])}),t(n,r)}function vA(e,t,r){return af(t,(n,o)=>{e=sf(e,o,s=>gA(s,n,r))}),e}function bA(e,t){function r(n,o){const s=yA(e,Fi(o));n.map(Fi).forEach(i=>{e=sf(e,i,()=>s)})}if(bo(t)){const[n,o]=t;n.forEach(s=>{e=sf(e,Fi(s),()=>e)}),o&&Es(o,r)}else Es(t,r);return e}var wA=(e,t)=>Bi(e)||bo(e)||Vi(e)||Li(e)||Av(e,t);function _A(e,t,r){const n=r.get(e);n?n.push(t):r.set(e,[t])}function SA(e,t){const r={};let n;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,l)=>a.length-l.length));const[s,...i]=o;s.length===0?n=i.map(of):r[of(s)]=i.map(of)}),n?nf(r)?[n]:[n,r]:nf(r)?void 0:r}var Rv=(e,t,r,n,o=[],s=[],i=new Map)=>{var a;const l=uA(e);if(!l){_A(e,o,t);const g=i.get(e);if(g)return n?{transformedValue:null}:g}if(!wA(e,r)){const g=Iv(e,r),v=g?{transformedValue:g.value,annotations:[g.type]}:{transformedValue:e};return l||i.set(e,v),v}if(Cl(s,e))return{transformedValue:null};const u=Iv(e,r),c=(a=u?.value)!=null?a:e,h=bo(c)?[]:{},f={};Es(c,(g,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const p=Rv(g,t,r,n,[...o,v],[...s,e],i);h[v]=p.transformedValue,bo(p.annotations)?f[v]=p.annotations:Bi(p.annotations)&&Es(p.annotations,(m,b)=>{f[$v(v)+"."+b]=m})});const d=nf(f)?{transformedValue:h,annotations:u?[u.type]:void 0}:{transformedValue:h,annotations:u?[u.type,f]:f};return l||i.set(e,d),d};ge(),ge();function Mv(e){return Object.prototype.toString.call(e).slice(8,-1)}function Bv(e){return Mv(e)==="Array"}function EA(e){if(Mv(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function xA(e,t,r,n,o){const s={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=r),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function lf(e,t={}){if(Bv(e))return e.map(o=>lf(o,t));if(!EA(e))return e;const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols(e);return[...r,...n].reduce((o,s)=>{if(Bv(t.props)&&!t.props.includes(s))return o;const i=e[s],a=lf(i,t);return xA(o,s,a,e,t.nonenumerable),o},{})}var _t=class{constructor({dedupe:t=!1}={}){this.classRegistry=new Yk,this.symbolRegistry=new _v(r=>{var n;return(n=r.description)!=null?n:""}),this.customTransformerRegistry=new eA,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const r=new Map,n=Rv(t,r,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const s=SA(r,this.dedupe);return s&&(o.meta={...o.meta,referentialEqualities:s}),o}deserialize(t){const{json:r,meta:n}=t;let o=lf(r);return n?.values&&(o=vA(o,n.values,this)),n?.referentialEqualities&&(o=bA(o,n.referentialEqualities)),o}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,r){this.classRegistry.register(t,r)}registerSymbol(t,r){this.symbolRegistry.register(t,r)}registerCustom(t,r){this.customTransformerRegistry.register({name:r,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};_t.defaultInstance=new _t,_t.serialize=_t.defaultInstance.serialize.bind(_t.defaultInstance),_t.deserialize=_t.defaultInstance.deserialize.bind(_t.defaultInstance),_t.stringify=_t.defaultInstance.stringify.bind(_t.defaultInstance),_t.parse=_t.defaultInstance.parse.bind(_t.defaultInstance),_t.registerClass=_t.defaultInstance.registerClass.bind(_t.defaultInstance),_t.registerSymbol=_t.defaultInstance.registerSymbol.bind(_t.defaultInstance),_t.registerCustom=_t.defaultInstance.registerCustom.bind(_t.defaultInstance),_t.allowErrorProps=_t.defaultInstance.allowErrorProps.bind(_t.defaultInstance),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge(),ge();var Vv;(Vv=ke).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__!=null||(Vv.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Lv;(Lv=ke).__VUE_DEVTOOLS_KIT_RPC_CLIENT__!=null||(Lv.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Fv;(Fv=ke).__VUE_DEVTOOLS_KIT_RPC_SERVER__!=null||(Fv.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Uv;(Uv=ke).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__!=null||(Uv.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var qv;(qv=ke).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__!=null||(qv.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var zv;(zv=ke).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__!=null||(zv.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),ge(),ge(),ge(),ge(),ge(),ge(),ge();/*! +**/let Kc;const qp=typeof window<"u"&&window.trustedTypes;if(qp)try{Kc=qp.createPolicy("vue",{createHTML:e=>e})}catch{}const Vp=Kc?e=>Kc.createHTML(e):e=>e,F3="http://www.w3.org/2000/svg",q3="http://www.w3.org/1998/Math/MathML",Tn=typeof document<"u"?document:null,Up=Tn&&Tn.createElement("template"),V3={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?Tn.createElementNS(F3,e):t==="mathml"?Tn.createElementNS(q3,e):r?Tn.createElement(e,{is:r}):Tn.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Tn.createTextNode(e),createComment:e=>Tn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Tn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,s){const a=r?r.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Up.innerHTML=Vp(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const o=Up.content;if(n==="svg"||n==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Zn="transition",la="animation",ts=Symbol("_vtc"),zp={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hp=ot({},W0,zp),Wp=(e=>(e.displayName="Transition",e.props=Hp,e))((e,{slots:t})=>ua(FS,Jp(e),t)),Si=(e,t=[])=>{ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},Gp=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Jp(e){const t={};for(const k in e)k in zp||(t[k]=e[k]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:u=s,appearActiveClass:l=a,appearToClass:c=o,leaveFromClass:h=`${r}-leave-from`,leaveActiveClass:d=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,m=U3(i),y=m&&m[0],p=m&&m[1],{onBeforeEnter:v,onEnter:g,onEnterCancelled:b,onLeave:_,onLeaveCancelled:w,onBeforeAppear:S=v,onAppear:E=g,onAppearCancelled:$=b}=t,C=(k,D,U,q)=>{k._enterCancelled=q,Yn(k,D?c:o),Yn(k,D?l:a),U&&U()},P=(k,D)=>{k._isLeaving=!1,Yn(k,h),Yn(k,f),Yn(k,d),D&&D()},A=k=>(D,U)=>{const q=k?E:g,ee=()=>C(D,k,U);Si(q,[D,ee]),Kp(()=>{Yn(D,k?u:s),nn(D,k?c:o),Gp(q)||Zp(D,n,y,ee)})};return ot(t,{onBeforeEnter(k){Si(v,[k]),nn(k,s),nn(k,a)},onBeforeAppear(k){Si(S,[k]),nn(k,u),nn(k,l)},onEnter:A(!1),onAppear:A(!0),onLeave(k,D){k._isLeaving=!0;const U=()=>P(k,D);nn(k,h),k._enterCancelled?(nn(k,d),Yc(k)):(Yc(k),nn(k,d)),Kp(()=>{k._isLeaving&&(Yn(k,h),nn(k,f),Gp(_)||Zp(k,n,p,U))}),Si(_,[k,U])},onEnterCancelled(k){C(k,!1,void 0,!0),Si(b,[k])},onAppearCancelled(k){C(k,!0,void 0,!0),Si($,[k])},onLeaveCancelled(k){P(k),Si(w,[k])}})}function U3(e){if(e==null)return null;if(rt(e))return[Zc(e.enter),Zc(e.leave)];{const t=Zc(e);return[t,t]}}function Zc(e){return pc(e)}function nn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[ts]||(e[ts]=new Set)).add(t)}function Yn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[ts];r&&(r.delete(t),r.size||(e[ts]=void 0))}function Kp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let z3=0;function Zp(e,t,r,n){const i=e._endId=++z3,s=()=>{i===e._endId&&n()};if(r!=null)return setTimeout(s,r);const{type:a,timeout:o,propCount:u}=Yp(e,t);if(!a)return n();const l=a+"end";let c=0;const h=()=>{e.removeEventListener(l,d),s()},d=f=>{f.target===e&&++c>=u&&h()};setTimeout(()=>{c(r[m]||"").split(", "),i=n(`${Zn}Delay`),s=n(`${Zn}Duration`),a=Xp(i,s),o=n(`${la}Delay`),u=n(`${la}Duration`),l=Xp(o,u);let c=null,h=0,d=0;t===Zn?a>0&&(c=Zn,h=a,d=s.length):t===la?l>0&&(c=la,h=l,d=u.length):(h=Math.max(a,l),c=h>0?a>l?Zn:la:null,d=c?c===Zn?s.length:u.length:0);const f=c===Zn&&/\b(?:transform|all)(?:,|$)/.test(n(`${Zn}Property`).toString());return{type:c,timeout:h,propCount:d,hasTransform:f}}function Xp(e,t){for(;e.lengthQp(r)+Qp(e[n])))}function Qp(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Yc(e){return(e?e.ownerDocument:document).body.offsetHeight}function H3(e,t,r){const n=e[ts];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const jo=Symbol("_vod"),em=Symbol("_vsh"),rs={name:"show",beforeMount(e,{value:t},{transition:r}){e[jo]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):ca(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),ca(e,!0),n.enter(e)):n.leave(e,()=>{ca(e,!1)}):ca(e,t))},beforeUnmount(e,{value:t}){ca(e,t)}};function ca(e,t){e.style.display=t?e[jo]:"none",e[em]=!t}const W3=Symbol(""),G3=/(?:^|;)\s*display\s*:/;function J3(e,t,r){const n=e.style,i=at(r);let s=!1;if(r&&!i){if(t)if(at(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();r[o]==null&&Lo(n,o,"")}else for(const a in t)r[a]==null&&Lo(n,a,"");for(const a in r)a==="display"&&(s=!0),Lo(n,a,r[a])}else if(i){if(t!==r){const a=n[W3];a&&(r+=";"+a),n.cssText=r,s=G3.test(r)}}else t&&e.removeAttribute("style");jo in e&&(e[jo]=s?n.display:"",e[em]&&(n.display="none"))}const tm=/\s*!important$/;function Lo(e,t,r){if(ve(r))r.forEach(n=>Lo(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=K3(e,t);tm.test(r)?e.setProperty(or(n),r.replace(tm,""),"important"):e[n]=r}}const rm=["Webkit","Moz","ms"],Xc={};function K3(e,t){const r=Xc[t];if(r)return r;let n=Rt(t);if(n!=="filter"&&n in e)return Xc[t]=n;n=io(n);for(let i=0;iQc||(Q3.then(()=>Qc=0),Qc=Date.now());function tE(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Or(rE(n,r.value),t,5,[n])};return r.value=e,r.attached=eE(),r}function rE(e,t){if(ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const um=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nE=(e,t,r,n,i,s)=>{const a=i==="svg";t==="class"?H3(e,n,a):t==="style"?J3(e,r,n):to(t)?cc(t)||Y3(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):iE(e,t,n,a))?(sm(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&im(e,t,n,a,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!at(n))?sm(e,Rt(t),n,s,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),im(e,t,n,a))};function iE(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&um(t)&&Te(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return um(t)&&at(r)?!1:t in e}const lm={};function sE(e,t,r){let n=ce(e,t);ro(n)&&(n=ot({},n,t));class i extends ef{constructor(a){super(n,a,r)}}return i.def=n,i}const aE=typeof HTMLElement<"u"?HTMLElement:class{};class ef extends aE{constructor(t,r={},n=ym){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==ym?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ot({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ef){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,_t(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:a}=n;let o;if(s&&!ve(s))for(const u in s){const l=s[u];(l===Number||l&&l.type===Number)&&(u in this._props&&(this._props[u]=pc(this._props[u])),(o||(o=Object.create(null)))[Rt(u)]=!0)}this._numberProps=o,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)Ke(this,n)||Object.defineProperty(this,n,{get:()=>x(r[n])})}_resolveProps(t){const{props:r}=t,n=ve(r)?r:Object.keys(r||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(Rt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):lm;const i=Rt(t);r&&this._numberProps&&this._numberProps[i]&&(n=pc(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,i=!1){if(r!==this._props[t]&&(r===lm?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),i&&this._instance&&this._update(),n)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),r===!0?this.setAttribute(or(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(or(t),r+""):r||this.removeAttribute(or(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),gE(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=Ee(this._def,ot(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(s,a)=>{this.dispatchEvent(new CustomEvent(s,ro(a[0])?ot({detail:a},a[0]):{detail:a}))};n.emit=(s,...a)=>{i(s,a),or(s)!==s&&i(or(s),a)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let i=t.length-1;i>=0;i--){const s=document.createElement("style");n&&s.setAttribute("nonce",n),s.textContent=t[i],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let n=0;n(r.push(...Array.from(n.querySelectorAll("slot"))),r),[])}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const cm=new WeakMap,fm=new WeakMap,qo=Symbol("_moveCb"),dm=Symbol("_enterCb"),oE=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:ot({},Hp,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Cr(),n=H0();let i,s;return tp(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!fE(i[0].el,r.vnode.el,a)){i=[];return}i.forEach(uE),i.forEach(lE);const o=i.filter(cE);Yc(r.vnode.el),o.forEach(u=>{const l=u.el,c=l.style;nn(l,a),c.transform=c.webkitTransform=c.transitionDuration="";const h=l[qo]=d=>{d&&d.target!==l||(!d||d.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",h),l[qo]=null,Yn(l,a))};l.addEventListener("transitionend",h)}),i=[]}),()=>{const a=je(e),o=Jp(a);let u=a.tag||Re;if(i=[],s)for(let l=0;l{o.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(n);const{hasTransform:a}=Yp(n);return s.removeChild(n),a}const ns=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?r=>so(t,r):t},$n=Symbol("_assign"),dE={deep:!0,created(e,t,r){e[$n]=ns(r),Fo(e,"change",()=>{const n=e._modelValue,i=is(e),s=e.checked,a=e[$n];if(ve(n)){const o=mc(n,i),u=o!==-1;if(s&&!u)a(n.concat(i));else if(!s&&u){const l=[...n];l.splice(o,1),a(l)}}else if(Wi(n)){const o=new Set(n);s?o.add(i):o.delete(i),a(o)}else a(mm(e,s))})},mounted:hm,beforeUpdate(e,t,r){e[$n]=ns(r),hm(e,t,r)}};function hm(e,{value:t,oldValue:r},n){e._modelValue=t;let i;if(ve(t))i=mc(t,n.props.value)>-1;else if(Wi(t))i=t.has(n.props.value);else{if(t===r)return;i=pi(t,mm(e,!0))}e.checked!==i&&(e.checked=i)}const hE={created(e,{value:t},r){e.checked=pi(t,r.props.value),e[$n]=ns(r),Fo(e,"change",()=>{e[$n](is(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[$n]=ns(n),t!==r&&(e.checked=pi(t,n.props.value))}},pE={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=Wi(t);Fo(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?n0(is(a)):is(a));e[$n](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,_t(()=>{e._assigning=!1})}),e[$n]=ns(n)},mounted(e,{value:t}){pm(e,t)},beforeUpdate(e,t,r){e[$n]=ns(r)},updated(e,{value:t}){e._assigning||pm(e,t)}};function pm(e,t){const r=e.multiple,n=ve(t);if(!(r&&!n&&!Wi(t))){for(let i=0,s=e.options.length;iString(l)===String(o)):a.selected=mc(t,o)>-1}else a.selected=t.has(o);else if(pi(is(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function is(e){return"_value"in e?e._value:e.value}function mm(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const mE=ot({patchProp:nE},V3);let gm;function vm(){return gm||(gm=d3(mE))}const gE=(...e)=>{vm().render(...e)},ym=(...e)=>{const t=vm().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=yE(n);if(!i)return;const s=t._component;!Te(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=r(i,!1,vE(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function vE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yE(e){return at(e)?document.querySelector(e):e}const bE="BootstrapVueNext__",tf=(e,t="")=>{const r=`${t}___`;return`${bE}ID__${e}__${t?r:""}`},Xn=e=>tf(e),bm=e=>tf(`${e}__registry`),wm=Xn("checkboxGroup"),_m=Xn("radioGroup"),Sm=Xn("collapse"),wE=bm("showHide"),_E=Xn("navbar"),rf=bm("defaults"),SE=Xn("inputGroup"),EE=Xn("buttonGroup"),Em=Xn("formGroupPlugin"),xm=Xn("formSelect");function Tm(e){return oo()?(yc(e),!0):!1}function xE(e){let t=0,r,n;const i=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...s)=>(t+=1,n||(n=vc(!0),r=n.run(()=>e(...s))),Tm(i),r)}function TE(e,t){if(typeof Symbol<"u"){const r={...e};return Object.defineProperty(r,Symbol.iterator,{enumerable:!1,value(){let n=0;return{next:()=>({value:t[n++],done:n>t.length})}}}),r}else return Object.assign([...t],e)}const $m=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $E=Object.prototype.toString,OE=e=>$E.call(e)==="[object Object]",On=()=>{},CE=AE();function AE(){var e,t;return $m&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function PE(...e){if(e.length!==1)return He(...e);const t=e[0];return typeof t=="function"?er(A0(()=>({get:t,set:On}))):Se(t)}function Om(e,t){function r(...n){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(s)})}return r}const Cm=e=>e();function NE(...e){let t=0,r,n=!0,i=On,s,a,o,u,l;!st(e[0])&&typeof e[0]=="object"?{delay:a,trailing:o=!0,leading:u=!0,rejectOnCancel:l=!1}=e[0]:[a,o=!0,u=!0,l=!1]=e;const c=()=>{r&&(clearTimeout(r),r=void 0,i(),i=On)};return d=>{const f=ze(a),m=Date.now()-t,y=()=>s=d();return c(),f<=0?(t=Date.now(),y()):(m>f&&(u||!n)?(t=Date.now(),y()):o&&(s=new Promise((p,v)=>{i=l?v:p,r=setTimeout(()=>{t=Date.now(),n=!0,p(y()),c()},Math.max(0,f-m))})),!u&&!r&&(r=setTimeout(()=>n=!0,f)),n=!1,s)}}function kE(e=Cm,t={}){const{initialState:r="active"}=t,n=PE(r==="active");function i(){n.value=!1}function s(){n.value=!0}const a=(...o)=>{n.value&&e(...o)};return{isActive:er(n),pause:i,resume:s,eventFilter:a}}function nf(e){return Array.isArray(e)?e:[e]}function RE(e){const t=Object.create(null);return r=>t[r]||(t[r]=e(r))}const IE=/-(\w)/g,DE=RE(e=>e.replace(IE,(t,r)=>r?r.toUpperCase():""));function Am(e,t=200,r=!1,n=!0,i=!1){return Om(NE(t,r,n,i),e)}function ME(e,t,r={}){const{eventFilter:n=Cm,...i}=r;return et(e,Om(n,t),i)}function Pm(e,t,r={}){const{eventFilter:n,initialState:i="active",...s}=r,{eventFilter:a,pause:o,resume:u,isActive:l}=kE(n,{initialState:i});return{stop:ME(e,t,{...s,eventFilter:a}),pause:o,resume:u,isActive:l}}function BE(e,t,...[r]){const{flush:n="sync",deep:i=!1,immediate:s=!0,direction:a="both",transform:o={}}=r||{},u=[],l="ltr"in o&&o.ltr||(d=>d),c="rtl"in o&&o.rtl||(d=>d);return(a==="both"||a==="ltr")&&u.push(Pm(e,d=>{u.forEach(f=>f.pause()),t.value=l(d),u.forEach(f=>f.resume())},{flush:n,deep:i,immediate:s})),(a==="both"||a==="rtl")&&u.push(Pm(t,d=>{u.forEach(f=>f.pause()),e.value=c(d),u.forEach(f=>f.resume())},{flush:n,deep:i,immediate:s})),()=>{u.forEach(d=>d.stop())}}function Cn(e,t={}){const{method:r="parseFloat",radix:n,nanToZero:i}=t;return L(()=>{let s=ze(e);return typeof r=="function"?s=r(s):typeof s=="string"&&(s=Number[r](s,n)),i&&Number.isNaN(s)&&(s=0),s})}function jE(e,t,r){return et(e,t,{...r,immediate:!0})}function sf(e={}){const{inheritAttrs:t=!0}=e,r=Wn(),n=ce({setup(s,{slots:a}){return()=>{r.value=a.default}}}),i=ce({inheritAttrs:t,props:e.props,setup(s,{attrs:a,slots:o}){return()=>{var u;r.value;const l=(u=r.value)==null?void 0:u.call(r,{...e.props==null?LE(a):s,$slots:o});return t&&l?.length===1?l[0]:l}}});return TE({define:n,reuse:i},[n,i])}function LE(e){const t={};for(const r in e)t[DE(r)]=e[r];return t}const Vo=$m?window:void 0;function ss(e){var t;const r=ze(e);return(t=r?.$el)!=null?t:r}function Ar(...e){const t=[],r=()=>{t.forEach(o=>o()),t.length=0},n=(o,u,l,c)=>(o.addEventListener(u,l,c),()=>o.removeEventListener(u,l,c)),i=L(()=>{const o=nf(ze(e[0])).filter(u=>u!=null);return o.every(u=>typeof u!="string")?o:void 0}),s=jE(()=>{var o,u;return[(u=(o=i.value)==null?void 0:o.map(l=>ss(l)))!=null?u:[Vo].filter(l=>l!=null),nf(ze(i.value?e[1]:e[0])),nf(x(i.value?e[2]:e[1])),ze(i.value?e[3]:e[2])]},([o,u,l,c])=>{if(r(),!o?.length||!u?.length||!l?.length)return;const h=OE(c)?{...c}:c;t.push(...o.flatMap(d=>u.flatMap(f=>l.map(m=>n(d,f,m,h)))))},{flush:"post"}),a=()=>{s(),r()};return Tm(r),a}let Nm=!1;function FE(e,t,r={}){const{window:n=Vo,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:o=!1}=r;if(!n)return o?{stop:On,cancel:On,trigger:On}:On;if(CE&&!Nm){Nm=!0;const p={passive:!0};Array.from(n.document.body.children).forEach(v=>v.addEventListener("click",On,p)),n.document.documentElement.addEventListener("click",On,p)}let u=!0;const l=p=>ze(i).some(v=>{if(typeof v=="string")return Array.from(n.document.querySelectorAll(v)).some(g=>g===p.target||p.composedPath().includes(g));{const g=ss(v);return g&&(p.target===g||p.composedPath().includes(g))}});function c(p){const v=ze(p);return v&&v.$.subTree.shapeFlag===16}function h(p,v){const g=ze(p),b=g.$.subTree&&g.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(_=>_.el===v.target||v.composedPath().includes(_.el))}const d=p=>{const v=ss(e);if(p.target!=null&&!(!(v instanceof Element)&&c(e)&&h(e,p))&&!(!v||v===p.target||p.composedPath().includes(v))){if("detail"in p&&p.detail===0&&(u=!l(p)),!u){u=!0;return}t(p)}};let f=!1;const m=[Ar(n,"click",p=>{f||(f=!0,setTimeout(()=>{f=!1},0),d(p))},{passive:!0,capture:s}),Ar(n,"pointerdown",p=>{const v=ss(e);u=!l(p)&&!!(v&&!p.composedPath().includes(v))},{passive:!0}),a&&Ar(n,"blur",p=>{setTimeout(()=>{var v;const g=ss(e);((v=n.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!g?.contains(n.document.activeElement)&&t(p)},0)},{passive:!0})].filter(Boolean),y=()=>m.forEach(p=>p());return o?{stop:y,cancel:()=>{u=!1},trigger:p=>{u=!0,d(p),u=!1}}:y}function qE(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function km(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Vo,eventName:s="keydown",passive:a=!1,dedupe:o=!1}=n,u=qE(t);return Ar(i,s,c=>{c.repeat&&ze(o)||u(c)&&r(c)},a)}function Qn(e,t={}){const{initialValue:r=!1,focusVisible:n=!1,preventScroll:i=!1}=t,s=Wn(!1),a=L(()=>ss(e)),o={passive:!0};Ar(a,"focus",l=>{var c,h;(!n||(h=(c=l.target).matches)!=null&&h.call(c,":focus-visible"))&&(s.value=!0)},o),Ar(a,"blur",()=>s.value=!1,o);const u=L({get:()=>s.value,set(l){var c,h;!l&&s.value?(c=a.value)==null||c.blur():l&&!s.value&&((h=a.value)==null||h.focus({preventScroll:i}))}});return et(a,()=>{u.value=r},{immediate:!0,flush:"post"}),{focused:u}}const VE={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function UE(e={}){const{type:t="page",touch:r=!0,resetOnTouchEnds:n=!1,initialValue:i={x:0,y:0},window:s=Vo,target:a=s,scroll:o=!0,eventFilter:u}=e;let l=null,c=0,h=0;const d=Wn(i.x),f=Wn(i.y),m=Wn(null),y=typeof t=="function"?t:VE[t],p=E=>{const $=y(E);l=E,$&&([d.value,f.value]=$,m.value="mouse"),s&&(c=s.scrollX,h=s.scrollY)},v=E=>{if(E.touches.length>0){const $=y(E.touches[0]);$&&([d.value,f.value]=$,m.value="touch")}},g=()=>{if(!l||!s)return;const E=y(l);l instanceof MouseEvent&&E&&(d.value=E[0]+s.scrollX-c,f.value=E[1]+s.scrollY-h)},b=()=>{d.value=i.x,f.value=i.y},_=u?E=>u(()=>p(E),{}):E=>p(E),w=u?E=>u(()=>v(E),{}):E=>v(E),S=u?()=>u(()=>g(),{}):()=>g();if(a){const E={passive:!0};Ar(a,["mousemove","dragover"],_,E),r&&t!=="movement"&&(Ar(a,["touchstart","touchmove"],w,E),n&&Ar(a,"touchend",b,E)),o&&t==="page"&&Ar(s,"scroll",S,E)}return{x:d,y:f,sourceType:m}}const Rm={BAccordion:"/components/BAccordion",BAccordionItem:"/components/BAccordion",BAlert:"/components/BAlert",BApp:"/components/BApp",BAvatar:"/components/BAvatar",BAvatarGroup:"/components/BAvatar",BBadge:"/components/BBadge",BBreadcrumb:"/components/BBreadcrumb",BBreadcrumbItem:"/components/BBreadcrumb",BButton:"/components/BButton",BButtonGroup:"/components/BButton",BButtonToolbar:"/components/BButton",BCloseButton:"/components/BButton",BCard:"/components/BCard",BCardBody:"/components/BCard",BCardFooter:"/components/BCard",BCardGroup:"/components/BCard",BCardHeader:"/components/BCard",BCardImg:"/components/BCard",BCardSubtitle:"/components/BCard",BCardText:"/components/BCard",BCardTitle:"/components/BCard",BCarousel:"/components/BCarousel",BCarouselSlide:"/components/BCarousel",BCol:"/components/BContainer",BCollapse:"/components/BCollapse",BContainer:"/components/BContainer",BDropdown:"/components/BDropdown",BDropdownDivider:"/components/BDropdown",BDropdownForm:"/components/BDropdown",BDropdownGroup:"/components/BDropdown",BDropdownHeader:"/components/BDropdown",BDropdownItem:"/components/BDropdown",BDropdownItemButton:"/components/BDropdown",BDropdownText:"/components/BDropdown",BForm:"/components/BForm",BFormCheckbox:"/components/BFormCheckbox",BFormCheckboxGroup:"/components/BFormCheckbox",BFormDatalist:"/components/BForm",BFormFile:"/components/BFormFile",BFormFloatingLabel:"/components/BForm",BFormGroup:"/components/BFormGroup",BFormInput:"/components/BFormInput",BFormInvalidFeedback:"/components/BForm",BFormRadio:"/components/BFormRadio",BFormRadioGroup:"/components/BFormRadio",BFormRating:"/components/BFormRating",BFormRow:"/components/BForm",BFormSelect:"/components/BFormSelect",BFormSelectOption:"/components/BFormSelect",BFormSelectOptionGroup:"/components/BFormSelect",BFormSpinbutton:"/components/BFormSpinbutton",BFormTag:"/components/BFormTags",BFormTags:"/components/BFormTags",BFormText:"/components/BForm",BFormTextarea:"/components/BFormTextarea",BFormValidFeedback:"/components/BForm",BImg:"/components/BImg",BInput:"/components/BFormInput",BInputGroup:"/components/BInputGroup",BInputGroupText:"/components/BInputGroup",BListGroup:"/components/BListGroup",BListGroupItem:"/components/BListGroup",BModal:"/components/BModal",BModalOrchestrator:"/components/BModal",BNav:"/components/BNav",BNavForm:"/components/BNav",BNavItem:"/components/BNav",BNavItemDropdown:"/components/BNav",BNavText:"/components/BNav",BNavbar:"/components/BNavbar",BNavbarBrand:"/components/BNavbar",BNavbarNav:"/components/BNavbar",BNavbarToggle:"/components/BNavbar",BOffcanvas:"/components/BOffcanvas",BOverlay:"/components/BOverlay",BOrchestrator:"/components/BApp",BPagination:"/components/BPagination",BPlaceholder:"/components/BPlaceholder",BPlaceholderButton:"/components/BPlaceholder",BPlaceholderCard:"/components/BPlaceholder",BPlaceholderTable:"/components/BPlaceholder",BPlaceholderWrapper:"/components/BPlaceholder",BPopover:"/components/BPopover",BProgress:"/components/BProgress",BRow:"/components/BContainer",BSpinner:"/components/BSpinner",BTab:"/components/BTabs",BTabs:"/components/BTabs",BToast:"/components/BToast",BToastOrchestrator:"/components/BToast",BTooltip:"/components/BTooltip",BLink:"/components/BLink",BProgressBar:"/components/BProgress",BTableSimple:"/components/BTable",BTableLite:"/components/BTable",BTable:"/components/BTable",BTbody:"/components/BTable",BTd:"/components/BTable",BTh:"/components/BTable",BThead:"/components/BTable",BTfoot:"/components/BTable",BTr:"/components/BTable",BPopoverOrchestrator:"/components/BPopover"},zE=Object.freeze(Object.keys(Rm)),Im={vBColorMode:"/directives/BColorMode",vBModal:"/directives/BModal",vBPopover:"/directives/BPopover",vBScrollspy:"/directives/BScrollspy",vBToggle:"/directives/BToggle",vBTooltip:"/directives/BTooltip"},HE=Object.freeze(Object.keys(Im));Object.freeze(Object.keys({useBreadcrumb:"/composables/useBreadcrumb",useColorMode:"/composables/useColorMode",useModal:"/composables/useModal",useModalController:"/composables/useModal",useScrollLock:"/composables/useScrollLock",useScrollspy:"/composables/useScrollspy",useToast:"/composables/useToast",useToastController:"/composables/useToast",useToggle:"/composables/useToggle",usePopover:"/composables/usePopover",usePopoverController:"/composables/usePopover",useRegistry:"/composables/useRegistry",useProvideDefaults:"/composables/useProvideDefaults",useOrchestratorRegistry:"/composables/orchestratorShared"}));const WE=ce({name:"ConditionalTeleport",inheritAttrs:!1,props:{to:{type:[String,Object],default:null},disabled:{type:Boolean,required:!0}},slots:Object,setup(e,{slots:t}){return()=>e.to?ua(jS,{to:e.to,disabled:e.disabled||!e.to},[t.default?.({})]):t.default?.({})}}),af=ce({name:"ConditionalWrapper",inheritAttrs:!1,props:{tag:{type:String,default:"div"},skip:{type:Boolean,required:!0}},slots:Object,setup(e,{slots:t,attrs:r}){return()=>e.skip?t.default?.({}):ua(e.tag,{...r},[t.default?.({})])}}),GE=(e=[])=>{const{activeElement:t}=document;return t&&!e?.some(r=>r===t)?t:null},JE=(e,t={})=>{const r=n=>n===GE();try{e.focus(t)}catch(n){console.error(n)}return r(e)},ei=e=>(e?.()??[]).length===0,Dm=e=>{if(e.getAttribute("display")==="none")return!1;const t=e.getBoundingClientRect();return!!(t&&t.height>0&&t.width>0)};function KE(e,t=Mm("injectSelf")){const{provides:r}=t;if(r&&e in r)return r[e]}function Mm(e,t){const r=Cr();if(!r)throw new Error(`[Bvn] ${e} must be called from inside a setup function`);return r}const ZE=(e="")=>e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase(),Bm=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);function jm(e={},t={},r){const n={};for(const i in e)n[i]=e[i];for(const i in t){const s=e[i],a=t[i];if(Bm(s)&&Bm(a)){n[i]=jm(s,a);continue}n[i]=a}return n}const YE=(e,t)=>typeof e.props?.[t]<"u"||typeof e.props?.[ZE(t)]<"u";function XE(e={},t){const r=lt(rf,Se({})),n=Mm("useDefaults");if(t=t??n.type.name??n.type.__name,!t)throw new Error("[Bvn] Could not determine component name");const i=L(()=>r.value?.[e._as??t]),s=new Proxy(e,{get(u,l){const c=Reflect.get(u,l);return l==="class"||l==="style"?[i.value?.[l],c].filter(h=>h!=null):typeof l=="string"&&!YE(n.vnode,l)?i.value?.[l]??r.value?.global?.[l]??c:c}}),a=Wn();y3(()=>{if(i.value){const u=Object.entries(i.value).filter(([l])=>l.startsWith(l[0].toUpperCase()));a.value=u.length?Object.fromEntries(u):void 0}else a.value=void 0});function o(){const u=KE(rf,n);$t(rf,L(()=>a.value?jm(u?.value??{},a.value):u?.value))}return{props:s,provideSubDefaults:o}}function Fe(e,t){const{props:r,provideSubDefaults:n}=XE(e,t);return n(),r}const ti=e=>L(()=>{let t=ze(e);return t={variant:t.variant??null,bgVariant:t.bgVariant??null,textVariant:t.textVariant??null,borderVariant:t.borderVariant??null},{[`text-bg-${t.variant}`]:t.variant!==null,[`text-${t.textVariant}`]:t.textVariant!==null,[`bg-${t.bgVariant}`]:t.bgVariant!==null,[`border-${t.borderVariant}`]:t.borderVariant!==null}}),QE={key:0,class:"visually-hidden"},Lm=ce({__name:"BSpinner",props:{label:{default:void 0},role:{default:"status"},small:{type:Boolean,default:!1},tag:{default:"span"},type:{default:"border"},variant:{default:null}},setup(e){const r=Fe(e,"BSpinner"),n=en(),i=ti(L(()=>({textVariant:r.variant}))),s=L(()=>[`spinner-${r.type}`,i.value,{[`spinner-${r.type}-sm`]:r.small}]),a=L(()=>!ei(n.label));return(o,u)=>(V(),ie(Ze(x(r).tag),{class:Pe(s.value),role:x(r).label||a.value?x(r).role:null,"aria-hidden":x(r).label||a.value?null:!0},{default:le(()=>[x(r).label||a.value?(V(),oe("span",QE,[he(o.$slots,"label",{},()=>[ke(ge(x(r).label),1)])])):xe("",!0)]),_:3},8,["class","role","aria-hidden"]))}}),ex=(e,t)=>Object.keys(e).filter(r=>!t.map(n=>n.toString()).includes(r)).reduce((r,n)=>({...r,[n]:e[n]}),{}),tx=(e,t)=>[...t].reduce((r,n)=>(r[n]=e[n],r),{}),fa=(e,t,r)=>{const n=t.split(/[.[\]]/g);let i=e;for(const s of n){if(i===null||i===void 0)return r;s.trim()!==""&&(i=i[s])}return i===void 0?r:i},rx=/[-/\\^$*+?.()|[\]{}]/g,nx=/[\s\uFEFF\xA0]+/g,ix=e=>{const t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)},sx=e=>e.replace(rx,"\\$&"),ax=e=>sx(e).replace(nx,"\\s"),ox=e=>e.replace(/-./g,t=>t.charAt(1).toUpperCase()).replace(/\b\w/g,t=>t.toUpperCase()).replace(/\s+/g,""),ux=e=>!!(e.href||e.to),Fm=(e,t)=>{const r=er(He(t)),n=er(He(e)),i=L(()=>ux(n.value)),s=L(()=>i.value?tx(n.value,r.value??["active","activeClass","append","exactActiveClass","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover"]):{});return{computedLink:i,computedLinkProps:s}},lx=({to:e,disabled:t,href:r,replace:n,routerComponentName:i})=>{const s=Cr(),a=s?.appContext?.app?.config?.globalProperties?.$router,o=s?.appContext?.app?.config?.globalProperties?.$route,u=Ze("RouterLink"),l=u&&typeof u!="string"&&"useLink"in u?u.useLink:null,c=L(()=>ze(e)||""),h=er(He(n)),d=L(()=>ox(ze(i))),f=L(()=>!(s?.appContext?.app?.component(d.value)!==void 0)||ze(t)||!c.value?"a":d.value),m=L(()=>f.value==="RouterLink"),y=L(()=>m.value&&typeof s?.appContext?.app?.$nuxt<"u"),p=L(()=>f.value!=="a"&&!m.value&&!y.value),v=L(()=>m.value||y.value),g=L(()=>({to:c.value,replace:h.value})),b=l?.({to:c,replace:h}),_=L(()=>v.value?b:null),w=L(()=>{if(_.value?.href.value)return _.value.href.value;const S="#",E=ze(r);if(E)return E;if(typeof c.value=="string")return c.value||S;const $=c.value;if($!==void 0&&"path"in $){const C=$.path||"",P=$.query?`?${Object.keys($.query).map(k=>`${k}=${$.query?.[k]}`).join("=")}`:"",A=!$.hash||$.hash.charAt(0)==="#"?$.hash||"":`#${$.hash}`;return`${C}${P}${A}`||S}return S});return{isNonStandardTag:p,tag:f,isRouterLink:m,isNuxtLink:y,computedHref:w,routerName:d,router:a,route:o,link:_,linkProps:g}},qm=e=>L(()=>{const t=ze(e);return{[`link-${t.variant}`]:t.variant!==null,[`link-opacity-${t.opacity}`]:t.opacity!==void 0,[`link-opacity-${t.opacityHover}-hover`]:t.opacityHover!==void 0,[`link-underline-${t.underlineVariant}`]:t.underlineVariant!==null,[`link-offset-${t.underlineOffset}`]:t.underlineOffset!==void 0,[`link-offset-${t.underlineOffsetHover}-hover`]:t.underlineOffsetHover!==void 0,"link-underline":t.underlineVariant===null&&(t.underlineOpacity!==void 0||t.underlineOpacityHover!==void 0),[`link-underline-opacity-${t.underlineOpacity}`]:t.underlineOpacity!==void 0,[`link-underline-opacity-${t.underlineOpacityHover}-hover`]:t.underlineOpacityHover!==void 0,"icon-link":t.icon===!0}}),Vm="active",Um=ce({__name:"BLink",props:{active:{type:Boolean,default:void 0},activeClass:{default:"router-link-active"},disabled:{type:Boolean,default:!1},exactActiveClass:{default:"router-link-exact-active"},href:{default:void 0},icon:{type:Boolean,default:!1},noRel:{type:Boolean,default:!1},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{default:void 0},noPrefetch:{type:Boolean,default:void 0},prefetchedClass:{default:void 0},rel:{default:void 0},replace:{type:Boolean,default:!1},routerComponentName:{default:"router-link"},routerTag:{default:"a"},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null},variant:{default:null}},emits:["click"],setup(e,{emit:t}){const n=Fe(e,"BLink"),i=t,s=jc(),{computedHref:a,tag:o,link:u,isNuxtLink:l,isRouterLink:c,linkProps:h,isNonStandardTag:d}=lx({routerComponentName:()=>n.routerComponentName,disabled:()=>n.disabled,to:()=>n.to,replace:()=>n.replace,href:()=>n.href}),f=lt(Sm,null),m=lt(_E,null),y=qm(n),p=L(()=>[y.value,s.class,v.value,{[Vm]:n.active,[n.activeClass]:u.value?.isActive.value||!1,[n.exactActiveClass]:u.value?.isExactActive.value||!1,"stretched-link":n.stretched===!0}]),v=L(()=>({[Vm]:n.active,disabled:n.disabled})),g=E=>{if(n.disabled){E.preventDefault(),E.stopImmediatePropagation();return}(f?.isNav?.value===!0&&m===null||m!==null&&m.noAutoClose?.value!==!0)&&f?.hide?.(),i("click",E)},b=L(()=>n.target==="_blank"?!n.rel&&n.noRel?"noopener":n.rel:void 0),_=L(()=>n.disabled?"-1":typeof s.tabindex>"u"?null:s.tabindex),w=L(()=>({prefetch:n.prefetch,noPrefetch:n.noPrefetch,prefetchOn:n.prefetchOn,prefetchedClass:n.prefetchedClass,...h.value})),S=L(()=>({...c.value?h.value:void 0,...l.value||d.value?w.value:void 0}));return(E,$)=>(V(),ie(Ze(x(o)),Ye({class:p.value,target:x(n).target,href:x(a),rel:b.value,tabindex:_.value,"aria-disabled":x(n).disabled?!0:null},S.value,{onClick:$[0]||($[0]=C=>{g(C),x(u)?.navigate(C)})}),{default:le(()=>[he(E.$slots,"default")]),_:3},16,["class","target","href","rel","tabindex","aria-disabled"]))}}),zm=ce({__name:"BButton",props:Bt({loading:{type:Boolean,default:!1},loadingFill:{type:Boolean,default:!1},loadingText:{default:"Loading..."},pill:{type:Boolean,default:!1},size:{default:"md"},squared:{type:Boolean,default:!1},tag:{default:"button"},type:{default:"button"},variant:{default:"secondary"},active:{type:Boolean,default:!1},activeClass:{default:void 0},disabled:{type:Boolean,default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:Boolean,default:!1},noRel:{type:Boolean},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},prefetchedClass:{},rel:{default:void 0},replace:{type:Boolean,default:void 0},routerComponentName:{default:void 0},routerTag:{default:void 0},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null}},{pressed:{type:Boolean,default:void 0},pressedModifiers:{}}),emits:Bt(["click"],["update:pressed"]),setup(e,{emit:t}){const n=Fe(e,"BButton"),i=t,s=Mt("_element"),a=ur(e,"pressed"),{computedLink:o,computedLinkProps:u}=Fm(n,["active-class","exact-active-class","replace","routerComponentName","routerTag"]),l=L(()=>typeof a.value=="boolean"),c=L(()=>n.tag==="button"&&n.href===void 0&&n.to===void 0),h=L(()=>n.to!==void 0),d=L(()=>n.href!==void 0?!1:!c.value),f=L(()=>h.value?u.value:[]),m=L(()=>n.href==="#"&&n.disabled?!0:d.value?n.disabled:null),y=L(()=>n.variant?.startsWith("link")||!1),p=L(()=>n.variant?.startsWith("link-")||!1),v=qm(L(()=>({...y.value?{icon:n.icon,opacity:n.opacity,opacityHover:n.opacityHover,underlineOffset:n.underlineOffset,underlineOffsetHover:n.underlineOffsetHover,underlineOpacity:n.underlineOpacity,underlineOpacityHover:n.underlineOpacityHover,underlineVariant:n.underlineVariant,variant:p.value===!0?n.variant?.slice(5):null}:void 0}))),g=L(()=>[y.value===!0&&o.value===!1?v.value:void 0,[`btn-${n.size}`],{[`btn-${n.variant}`]:n.variant!==null&&p.value===!1,active:n.active||a.value,"rounded-pill":n.pill,"rounded-0":n.squared,disabled:n.disabled}]),b=L(()=>h.value?Um:n.href?"a":n.tag),_=w=>{if(n.disabled){w.preventDefault(),w.stopPropagation();return}i("click",w),l.value&&(a.value=!a.value)};return km([" ","enter"],w=>{n.href==="#"&&(w.preventDefault(),s.value?.click())},{target:s}),(w,S)=>(V(),ie(Ze(b.value),Ye({ref:"_element",class:"btn"},f.value,{class:g.value,"aria-disabled":m.value,"aria-pressed":l.value?a.value:null,autocomplete:l.value?"off":null,disabled:c.value?x(n).disabled:null,href:x(n).href,rel:x(o)?x(n).rel:null,role:d.value||x(o)?"button":null,target:x(o)?x(n).target:null,type:c.value?x(n).type:null,to:c.value?null:x(n).to,onClick:_}),{default:le(()=>[x(n).loading?he(w.$slots,"loading",{key:0},()=>[x(n).loadingFill?xe("",!0):(V(),oe(Re,{key:0},[ke(ge(x(n).loadingText),1)],64)),he(w.$slots,"loading-spinner",{},()=>[Ee(Lm,{small:x(n).size!=="lg",label:x(n).loadingFill?x(n).loadingText:void 0},null,8,["small","label"])])]):he(w.$slots,"default",{key:1})]),_:3},16,["class","aria-disabled","aria-pressed","autocomplete","disabled","href","rel","role","target","type","to"]))}}),cx=["type","disabled","aria-label"],fx=ce({__name:"BCloseButton",props:{ariaLabel:{default:"Close"},disabled:{type:Boolean,default:!1},type:{default:"button"}},emits:["click"],setup(e,{emit:t}){const n=Fe(e,"BCloseButton"),i=t;return(s,a)=>(V(),oe("button",{type:x(n).type,class:"btn-close",disabled:x(n).disabled,"aria-label":x(n).ariaLabel,onClick:a[0]||(a[0]=o=>i("click",o))},null,8,cx))}}),St=(e,t)=>{const r=qS();return L(()=>ze(e)||tf(r||"",t))};class Uo{cancelable=!0;componentId=null;_defaultPrevented=!1;eventType="";nativeEvent=null;_preventDefault;relatedTarget=null;target=null;get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(t){this._defaultPrevented=t}get preventDefault(){return this._preventDefault}set preventDefault(t){this._preventDefault=t}constructor(t,r={}){if(!t)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,Uo.Defaults,r,{eventType:t}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class dx extends Uo{trigger=null;ok=void 0;constructor(t,r={}){super(t,r),Object.assign(this,Uo.Defaults,r,{eventType:t})}static get Defaults(){return{...super.Defaults,trigger:null,ok:void 0}}}const Hm={name:"fade",enterActiveClass:"",enterFromClass:"showing",enterToClass:"",leaveActiveClass:"",leaveFromClass:"",leaveToClass:"showing",css:!0},Wm=(e,t,r,n,i,s={transitionProps:{},showFn:()=>{},hideFn:()=>{}})=>{let a=!1;const o=!!e.value&&!t.initialAnimation||t.visible||!1,u=Se(o),l=Se(o),c=Se(o);let h=typeof e.value!="boolean";et(e,()=>{if(h=typeof e.value!="boolean",a){a=!1;return}e.value?S():$("modelValue",!0)});const d=Se(o),f=Se(!1),m=L(()=>t.noAnimation||t.noFade||d.value||!1);let y=!1;xn(()=>{if(y=!0,!t.show&&o){const N=p("show",{cancelable:!0});if(r("show",N),N.defaultPrevented){r("show-prevented",p("show-prevented"));return}d.value=!0,e.value||(a=!0,e.value=!0),l.value=!0,c.value=!0,K.value=!0,I.value=!0,T.value=!0,u.value=!0,s.showFn?.()}else(t.show||e.value&&t.initialAnimation)&&S()}),et(()=>t.visible,N=>{d.value=!0,_t(()=>{N&&(K.value=!0),N?S():$("visible-prop",!0)})}),et(()=>t.show,N=>{N?S():$("show-prop",!0)}),Ar(n,"bv-toggle",()=>{e.value=!e.value});const p=(N,F={})=>new dx(N,{cancelable:!1,target:n?.value||null,relatedTarget:null,trigger:null,...F,componentId:i?.value});let v,g,b,_,w;const S=(N=!1)=>{if(u.value&&!g&&!_)return Promise.resolve(!0);if(w=N,u.value&&!g&&_)return _;_=new Promise(z=>{b=z});const F=p("show",{cancelable:!0});return r("show",F),F.defaultPrevented?(r("show-prevented",p("show-prevented")),K.value&&(K.value=!1),e.value&&!h&&(a=!0,_t(()=>{e.value=!1})),b?.("show-prevented"),_):(g&&(clearTimeout(g),g=void 0),l.value=!0,c.value=!0,requestAnimationFrame(()=>{if(d.value||t.delay===void 0){if(!y)return;v=void 0,u.value=!0,s.showFn?.(),e.value||(a=!0,_t(()=>{e.value=!0}));return}v=setTimeout(()=>{y&&(v=void 0,u.value=!0,s.showFn?.(),e.value||(a=!0,_t(()=>{e.value=!0})))},typeof t.delay=="number"?t.delay:t.delay?.show||0)}),_)};let E;const $=(N,F)=>{if(!u.value&&!v)return Promise.resolve("");_||(_=new Promise(re=>{b=re})),typeof N!="string"&&(N=void 0),E=N;const z=p("hide",{cancelable:!0,trigger:N}),X=p(N||"ignore",{cancelable:!0,trigger:N});return N==="backdrop"&&t.noCloseOnBackdrop||N==="esc"&&t.noCloseOnEsc?(r("hide-prevented",p("hide-prevented",{trigger:N})),b?.("hide-prevented"),_):(v&&(clearTimeout(v),v=void 0),N&&!F&&r(N,X),r("hide",z),z.defaultPrevented||X.defaultPrevented?(r("hide-prevented",p("hide-prevented",{trigger:N})),e.value||_t(()=>{a=!0,e.value=!0}),b?.("hide-prevented"),_):(be.value=!1,v&&(clearTimeout(v),v=void 0,f.value||(l.value=!1),c.value=!1),g=setTimeout(()=>{y&&(g=void 0,W.value=!0,u.value=!1,s.hideFn?.(),e.value&&(a=!0,e.value=h?0:!1))},d.value?0:typeof t.delay=="number"?t.delay:t.delay?.hide||0),_))},C=Am(N=>$(N),500),P=Am(()=>S(),500),A=(N=!1)=>{const F=p("toggle",{cancelable:!0});return r("toggle",F),F.defaultPrevented?(r("toggle-prevented",p("toggle-prevented")),Promise.resolve("toggle-prevented")):u.value?$("toggle-function",!0):S(N)},k=()=>{const N=p("toggle",{cancelable:!0});if(r("toggle",N),N.defaultPrevented){r("toggle-prevented",p("toggle-prevented"));return}u.value?$("toggle-trigger",!0):S()},D=[],U=(N,F)=>{D.push({trigger:N,el:F}),F.addEventListener(N,k),Z(F)},q=(N,F,z=!0)=>{const X=D.findIndex(re=>re?.trigger===N&&re.el===F);X>-1&&(D.splice(X,1),F.removeEventListener(N,k),z&&(F.removeAttribute("aria-expanded"),F.classList.remove("collapsed"),F.classList.remove("not-collapsed")))},ee=lt(wE,void 0)?.register({id:i.value,toggle:A,show:S,hide:$,value:er(u),registerTrigger:U,unregisterTrigger:q,component:Cr()}),Z=N=>{N.setAttribute("aria-expanded",e.value?"true":"false"),N.classList.toggle("collapsed",!e.value),N.classList.toggle("not-collapsed",!!e.value)};et(e,()=>{D.forEach(N=>{Z(N.el)})}),et(i,(N,F)=>{ee?.updateId(N,F)}),ta(()=>{ee?.unregister(),D.forEach(N=>{N.el.removeEventListener(N.trigger,k)})}),Co(()=>{y=!1,clearTimeout(v),clearTimeout(g),v=void 0,g=void 0});const Q=Se(!1),ae=()=>{t.lazy===!0&&(Q.value=!0)},W=Se(!1),j=Se(o),K=Se(o),B=N=>{s.transitionProps?.onBeforeEnter?.(N),t.transitionProps?.onBeforeEnter?.(N),j.value=!0},R=N=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{K.value=!0})}),s.transitionProps?.onEnter?.(N),t.transitionProps?.onEnter?.(N)},M=N=>{ae(),s.transitionProps?.onAfterEnter?.(N),t.transitionProps?.onAfterEnter?.(N),d.value&&requestAnimationFrame(()=>{d.value=!1}),f.value&&(f.value=!1),requestAnimationFrame(()=>{be.value=!0,_t(()=>{r("shown",p("shown",{cancelable:!1}))})}),w||(b?.(!0),_=void 0,b=void 0)},Y=N=>{W.value||(W.value=!0),s.transitionProps?.onBeforeLeave?.(N),t.transitionProps?.onBeforeLeave?.(N),be.value=!1},fe=N=>{K.value=!1,s.transitionProps?.onLeave?.(N),t.transitionProps?.onLeave?.(N)},pe=N=>{r("hidden",p("hidden",{trigger:E,cancelable:!1})),s.transitionProps?.onAfterLeave?.(N),t.transitionProps?.onAfterLeave?.(N),W.value=!1,j.value=!1,d.value&&requestAnimationFrame(()=>{d.value=!1}),requestAnimationFrame(()=>{f.value||(l.value=!1)}),b?.(E||""),_=void 0,b=void 0,E=void 0},Me=L(()=>f.value===!0||j.value===!0||t.lazy===!1||t.lazy===!0&&Q.value===!0&&t.unmountLazy===!1),be=Se(!1),I=Se(!1),T=Se(!1),O={...s.transitionProps,onBeforeEnter:B,onEnter:R,onAfterEnter:M,onBeforeLeave:Y,onLeave:fe,onAfterLeave:pe};return{showRef:u,renderRef:l,renderBackdropRef:c,isVisible:K,isActive:j,trapActive:be,show:S,hide:$,toggle:A,throttleHide:C,throttleShow:P,buildTriggerableEvent:p,computedNoAnimation:m,localNoAnimation:d,localTemporaryHide:f,isLeaving:W,transitionProps:{...Hm,...t.transitionProps,...O},lazyLoadCompleted:Q,markLazyLoadCompleted:ae,contentShowing:Me,backdropReady:T,backdropVisible:I,backdropTransitionProps:{...Hm,onBeforeEnter:()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{I.value=!0})}),T.value=!1},onAfterEnter:()=>{T.value=!0},onBeforeLeave:()=>{I.value=!1},onAfterLeave:()=>{T.value=!1,requestAnimationFrame(()=>{c.value=!1})}}}},Gm=(e,t=typeof document<"u"?document:void 0)=>{if(e)return typeof e=="string"?typeof t>"u"||typeof document>"u"?void 0:document.getElementById(e)??t.querySelector(e)??void 0:e.$el??e};Object.freeze(Object.keys({bordered:0,borderless:0,borderVariant:0,captionTop:0,dark:0,fixed:0,hover:0,id:0,noBorderCollapse:0,outlined:0,responsive:0,small:0,stacked:0,stickyHeader:0,striped:0,stripedColumns:0,variant:0,tableAttrs:0,tableClass:0})),Object.freeze(Object.keys({align:0,caption:0,detailsTdClass:0,fieldColumnClass:0,fields:0,footClone:0,footRowVariant:0,footVariant:0,headRowVariant:0,headVariant:0,items:0,labelStacked:0,modelValue:0,primaryKey:0,tbodyClass:0,tbodyTrAttrs:0,tbodyTrClass:0,tfootClass:0,tfootTrClass:0,theadClass:0,theadTrClass:0}));const Jm=["top","right","bottom","left"],Km=["start","end"],Zm=Jm.reduce((e,t)=>e.concat(t,t+"-"+Km[0],t+"-"+Km[1]),[]),Pr=Math.min,Lt=Math.max,zo=Math.round,Ho=Math.floor,sn=e=>({x:e,y:e}),hx={left:"right",right:"left",bottom:"top",top:"bottom"},px={start:"end",end:"start"};function of(e,t,r){return Lt(e,Pr(t,r))}function An(e,t){return typeof e=="function"?e(t):e}function wr(e){return e.split("-")[0]}function Nr(e){return e.split("-")[1]}function Ym(e){return e==="x"?"y":"x"}function uf(e){return e==="y"?"height":"width"}const mx=new Set(["top","bottom"]);function an(e){return mx.has(wr(e))?"y":"x"}function lf(e){return Ym(an(e))}function Xm(e,t,r){r===void 0&&(r=!1);const n=Nr(e),i=lf(e),s=uf(i);let a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Go(a)),[a,Go(a)]}function gx(e){const t=Go(e);return[Wo(e),t,Wo(t)]}function Wo(e){return e.replace(/start|end/g,t=>px[t])}const Qm=["left","right"],eg=["right","left"],vx=["top","bottom"],yx=["bottom","top"];function bx(e,t,r){switch(e){case"top":case"bottom":return r?t?eg:Qm:t?Qm:eg;case"left":case"right":return t?vx:yx;default:return[]}}function wx(e,t,r,n){const i=Nr(e);let s=bx(wr(e),r==="start",n);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Wo)))),s}function Go(e){return e.replace(/left|right|bottom|top/g,t=>hx[t])}function _x(e){return{top:0,right:0,bottom:0,left:0,...e}}function cf(e){return typeof e!="number"?_x(e):{top:e,right:e,bottom:e,left:e}}function as(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function tg(e,t,r){let{reference:n,floating:i}=e;const s=an(t),a=lf(t),o=uf(a),u=wr(t),l=s==="y",c=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,d=n[o]/2-i[o]/2;let f;switch(u){case"top":f={x:c,y:n.y-i.height};break;case"bottom":f={x:c,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:h};break;case"left":f={x:n.x-i.width,y:h};break;default:f={x:n.x,y:n.y}}switch(Nr(t)){case"start":f[a]-=d*(r&&l?-1:1);break;case"end":f[a]+=d*(r&&l?-1:1);break}return f}const Sx=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,o=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=tg(l,n,u),d=n,f={},m=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:s,platform:a,elements:o,middlewareData:u}=t,{element:l,padding:c=0}=An(e,t)||{};if(l==null)return{};const h=cf(c),d={x:r,y:n},f=lf(i),m=uf(f),y=await a.getDimensions(l),p=f==="y",v=p?"top":"left",g=p?"bottom":"right",b=p?"clientHeight":"clientWidth",_=s.reference[m]+s.reference[f]-d[f]-s.floating[m],w=d[f]-s.reference[f],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=S?S[b]:0;(!E||!await(a.isElement==null?void 0:a.isElement(S)))&&(E=o.floating[b]||s.floating[m]);const $=_/2-w/2,C=E/2-y[m]/2-1,P=Pr(h[v],C),A=Pr(h[g],C),k=P,D=E-y[m]-A,U=E/2-y[m]/2+$,q=of(k,U,D),ee=!u.arrow&&Nr(i)!=null&&U!==q&&s.reference[m]/2-(UNr(i)===e),...r.filter(i=>Nr(i)!==e)]:r.filter(i=>wr(i)===i)).filter(i=>e?Nr(i)===e||(t?Wo(i)!==i:!1):!0)}const Tx=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;const{rects:s,middlewareData:a,placement:o,platform:u,elements:l}=t,{crossAxis:c=!1,alignment:h,allowedPlacements:d=Zm,autoAlignment:f=!0,...m}=An(e,t),y=h!==void 0||d===Zm?xx(h||null,f,d):d,p=await os(t,m),v=((r=a.autoPlacement)==null?void 0:r.index)||0,g=y[v];if(g==null)return{};const b=Xm(g,s,await(u.isRTL==null?void 0:u.isRTL(l.floating)));if(o!==g)return{reset:{placement:y[0]}};const _=[p[wr(g)],p[b[0]],p[b[1]]],w=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:g,overflows:_}],S=y[v+1];if(S)return{data:{index:v+1,overflows:w},reset:{placement:S}};const E=w.map(P=>{const A=Nr(P.placement);return[P.placement,A&&c?P.overflows.slice(0,2).reduce((k,D)=>k+D,0):P.overflows[0],P.overflows]}).sort((P,A)=>P[1]-A[1]),C=((i=E.filter(P=>P[2].slice(0,Nr(P[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||E[0][0];return C!==o?{data:{index:v+1,overflows:w},reset:{placement:C}}:{}}}},$x=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:s,rects:a,initialPlacement:o,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...p}=An(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const v=wr(i),g=an(o),b=wr(o)===o,_=await(u.isRTL==null?void 0:u.isRTL(l.floating)),w=d||(b||!y?[Go(o)]:gx(o)),S=m!=="none";!d&&S&&w.push(...wx(o,y,m,_));const E=[o,...w],$=await os(t,p),C=[];let P=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&C.push($[v]),h){const U=Xm(i,a,_);C.push($[U[0]],$[U[1]])}if(P=[...P,{placement:i,overflows:C}],!C.every(U=>U<=0)){var A,k;const U=(((A=s.flip)==null?void 0:A.index)||0)+1,q=E[U];if(q&&(!(h==="alignment"?g!==an(q):!1)||P.every(Q=>Q.overflows[0]>0&&an(Q.placement)===g)))return{data:{index:U,overflows:P},reset:{placement:q}};let ee=(k=P.filter(Z=>Z.overflows[0]<=0).sort((Z,Q)=>Z.overflows[1]-Q.overflows[1])[0])==null?void 0:k.placement;if(!ee)switch(f){case"bestFit":{var D;const Z=(D=P.filter(Q=>{if(S){const ae=an(Q.placement);return ae===g||ae==="y"}return!0}).map(Q=>[Q.placement,Q.overflows.filter(ae=>ae>0).reduce((ae,W)=>ae+W,0)]).sort((Q,ae)=>Q[1]-ae[1])[0])==null?void 0:D[0];Z&&(ee=Z);break}case"initialPlacement":ee=o;break}if(i!==ee)return{reset:{placement:ee}}}return{}}}};function rg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ng(e){return Jm.some(t=>e[t]>=0)}const Ox=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...i}=An(e,t);switch(n){case"referenceHidden":{const s=await os(t,{...i,elementContext:"reference"}),a=rg(s,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ng(a)}}}case"escaped":{const s=await os(t,{...i,altBoundary:!0}),a=rg(s,r.floating);return{data:{escapedOffsets:a,escaped:ng(a)}}}default:return{}}}}};function ig(e){const t=Pr(...e.map(s=>s.left)),r=Pr(...e.map(s=>s.top)),n=Lt(...e.map(s=>s.right)),i=Lt(...e.map(s=>s.bottom));return{x:t,y:r,width:n-t,height:i-r}}function Cx(e){const t=e.slice().sort((i,s)=>i.y-s.y),r=[];let n=null;for(let i=0;in.height/2?r.push([s]):r[r.length-1].push(s),n=s}return r.map(i=>as(ig(i)))}const Ax=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:i,platform:s,strategy:a}=t,{padding:o=2,x:u,y:l}=An(e,t),c=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),h=Cx(c),d=as(ig(c)),f=cf(o);function m(){if(h.length===2&&h[0].left>h[1].right&&u!=null&&l!=null)return h.find(p=>u>p.left-f.left&&up.top-f.top&&l=2){if(an(r)==="y"){const P=h[0],A=h[h.length-1],k=wr(r)==="top",D=P.top,U=A.bottom,q=k?P.left:A.left,ee=k?P.right:A.right,Z=ee-q,Q=U-D;return{top:D,bottom:U,left:q,right:ee,width:Z,height:Q,x:q,y:D}}const p=wr(r)==="left",v=Lt(...h.map(P=>P.right)),g=Pr(...h.map(P=>P.left)),b=h.filter(P=>p?P.left===g:P.right===v),_=b[0].top,w=b[b.length-1].bottom,S=g,E=v,$=E-S,C=w-_;return{top:_,bottom:w,left:S,right:E,width:$,height:C,x:S,y:_}}return d}const y=await s.getElementRects({reference:{getBoundingClientRect:m},floating:n.floating,strategy:a});return i.reference.x!==y.reference.x||i.reference.y!==y.reference.y||i.reference.width!==y.reference.width||i.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},Px=new Set(["left","top"]);async function Nx(e,t){const{placement:r,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=wr(r),o=Nr(r),u=an(r)==="y",l=Px.has(a)?-1:1,c=s&&u?-1:1,h=An(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&typeof m=="number"&&(f=o==="end"?m*-1:m),u?{x:f*c,y:d*l}:{x:d*l,y:f*c}}const kx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:s,placement:a,middlewareData:o}=t,u=await Nx(t,e);return a===((r=o.offset)==null?void 0:r.placement)&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:s+u.y,data:{...u,placement:a}}}}},Rx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:o={fn:p=>{let{x:v,y:g}=p;return{x:v,y:g}}},...u}=An(e,t),l={x:r,y:n},c=await os(t,u),h=an(wr(i)),d=Ym(h);let f=l[d],m=l[h];if(s){const p=d==="y"?"top":"left",v=d==="y"?"bottom":"right",g=f+c[p],b=f-c[v];f=of(g,f,b)}if(a){const p=h==="y"?"top":"left",v=h==="y"?"bottom":"right",g=m+c[p],b=m-c[v];m=of(g,m,b)}const y=o.fn({...t,[d]:f,[h]:m});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[d]:s,[h]:a}}}}}},Ix=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:s,platform:a,elements:o}=t,{apply:u=()=>{},...l}=An(e,t),c=await os(t,l),h=wr(i),d=Nr(i),f=an(i)==="y",{width:m,height:y}=s.floating;let p,v;h==="top"||h==="bottom"?(p=h,v=d===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(v=h,p=d==="end"?"top":"bottom");const g=y-c.top-c.bottom,b=m-c.left-c.right,_=Pr(y-c[p],g),w=Pr(m-c[v],b),S=!t.middlewareData.shift;let E=_,$=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&($=b),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(E=g),S&&!d){const P=Lt(c.left,0),A=Lt(c.right,0),k=Lt(c.top,0),D=Lt(c.bottom,0);f?$=m-2*(P!==0||A!==0?P+A:Lt(c.left,c.right)):E=y-2*(k!==0||D!==0?k+D:Lt(c.top,c.bottom))}await u({...t,availableWidth:$,availableHeight:E});const C=await a.getDimensions(o.floating);return m!==C.width||y!==C.height?{reset:{rects:!0}}:{}}}};function Jo(){return typeof window<"u"}function Ei(e){return ff(e)?(e.nodeName||"").toLowerCase():"#document"}function cr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function on(e){var t;return(t=(ff(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ff(e){return Jo()?e instanceof Node||e instanceof cr(e).Node:!1}function kr(e){return Jo()?e instanceof Element||e instanceof cr(e).Element:!1}function un(e){return Jo()?e instanceof HTMLElement||e instanceof cr(e).HTMLElement:!1}function sg(e){return!Jo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof cr(e).ShadowRoot}const Dx=new Set(["inline","contents"]);function da(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=Rr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Dx.has(i)}const Mx=new Set(["table","td","th"]);function Bx(e){return Mx.has(Ei(e))}const jx=[":popover-open",":modal"];function Ko(e){return jx.some(t=>{try{return e.matches(t)}catch{return!1}})}const Lx=["transform","translate","scale","rotate","perspective"],Fx=["transform","translate","scale","rotate","perspective","filter"],qx=["paint","layout","strict","content"];function df(e){const t=hf(),r=kr(e)?Rr(e):e;return Lx.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Fx.some(n=>(r.willChange||"").includes(n))||qx.some(n=>(r.contain||"").includes(n))}function Vx(e){let t=ri(e);for(;un(t)&&!us(t);){if(df(t))return t;if(Ko(t))return null;t=ri(t)}return null}function hf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ux=new Set(["html","body","#document"]);function us(e){return Ux.has(Ei(e))}function Rr(e){return cr(e).getComputedStyle(e)}function Zo(e){return kr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ri(e){if(Ei(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sg(e)&&e.host||on(e);return sg(t)?t.host:t}function ag(e){const t=ri(e);return us(t)?e.ownerDocument?e.ownerDocument.body:e.body:un(t)&&da(t)?t:ag(t)}function ha(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=ag(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),a=cr(i);if(s){const o=pf(a);return t.concat(a,a.visualViewport||[],da(i)?i:[],o&&r?ha(o):[])}return t.concat(i,ha(i,[],r))}function pf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function og(e){const t=Rr(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=un(e),s=i?e.offsetWidth:r,a=i?e.offsetHeight:n,o=zo(r)!==s||zo(n)!==a;return o&&(r=s,n=a),{width:r,height:n,$:o}}function mf(e){return kr(e)?e:e.contextElement}function ls(e){const t=mf(e);if(!un(t))return sn(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:s}=og(t);let a=(s?zo(r.width):r.width)/n,o=(s?zo(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}const zx=sn(0);function ug(e){const t=cr(e);return!hf()||!t.visualViewport?zx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hx(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==cr(e)?!1:t}function xi(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=mf(e);let a=sn(1);t&&(n?kr(n)&&(a=ls(n)):a=ls(e));const o=Hx(s,r,n)?ug(s):sn(0);let u=(i.left+o.x)/a.x,l=(i.top+o.y)/a.y,c=i.width/a.x,h=i.height/a.y;if(s){const d=cr(s),f=n&&kr(n)?cr(n):n;let m=d,y=pf(m);for(;y&&n&&f!==m;){const p=ls(y),v=y.getBoundingClientRect(),g=Rr(y),b=v.left+(y.clientLeft+parseFloat(g.paddingLeft))*p.x,_=v.top+(y.clientTop+parseFloat(g.paddingTop))*p.y;u*=p.x,l*=p.y,c*=p.x,h*=p.y,u+=b,l+=_,m=cr(y),y=pf(m)}}return as({width:c,height:h,x:u,y:l})}function gf(e,t){const r=Zo(e).scrollLeft;return t?t.left+r:xi(on(e)).left+r}function lg(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:gf(e,n)),s=n.top+t.scrollTop;return{x:i,y:s}}function Wx(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const s=i==="fixed",a=on(n),o=t?Ko(t.floating):!1;if(n===a||o&&s)return r;let u={scrollLeft:0,scrollTop:0},l=sn(1);const c=sn(0),h=un(n);if((h||!h&&!s)&&((Ei(n)!=="body"||da(a))&&(u=Zo(n)),un(n))){const f=xi(n);l=ls(n),c.x=f.x+n.clientLeft,c.y=f.y+n.clientTop}const d=a&&!h&&!s?lg(a,u,!0):sn(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+d.x,y:r.y*l.y-u.scrollTop*l.y+c.y+d.y}}function Gx(e){return Array.from(e.getClientRects())}function Jx(e){const t=on(e),r=Zo(e),n=e.ownerDocument.body,i=Lt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Lt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+gf(e);const o=-r.scrollTop;return Rr(n).direction==="rtl"&&(a+=Lt(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:a,y:o}}function Kx(e,t){const r=cr(e),n=on(e),i=r.visualViewport;let s=n.clientWidth,a=n.clientHeight,o=0,u=0;if(i){s=i.width,a=i.height;const l=hf();(!l||l&&t==="fixed")&&(o=i.offsetLeft,u=i.offsetTop)}return{width:s,height:a,x:o,y:u}}const Zx=new Set(["absolute","fixed"]);function Yx(e,t){const r=xi(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=un(e)?ls(e):sn(1),a=e.clientWidth*s.x,o=e.clientHeight*s.y,u=i*s.x,l=n*s.y;return{width:a,height:o,x:u,y:l}}function cg(e,t,r){let n;if(t==="viewport")n=Kx(e,r);else if(t==="document")n=Jx(on(e));else if(kr(t))n=Yx(t,r);else{const i=ug(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return as(n)}function fg(e,t){const r=ri(e);return r===t||!kr(r)||us(r)?!1:Rr(r).position==="fixed"||fg(r,t)}function Xx(e,t){const r=t.get(e);if(r)return r;let n=ha(e,[],!1).filter(o=>kr(o)&&Ei(o)!=="body"),i=null;const s=Rr(e).position==="fixed";let a=s?ri(e):e;for(;kr(a)&&!us(a);){const o=Rr(a),u=df(a);!u&&o.position==="fixed"&&(i=null),(s?!u&&!i:!u&&o.position==="static"&&!!i&&Zx.has(i.position)||da(a)&&!u&&fg(e,a))?n=n.filter(c=>c!==a):i=o,a=ri(a)}return t.set(e,n),n}function Qx(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const a=[...r==="clippingAncestors"?Ko(t)?[]:Xx(t,this._c):[].concat(r),n],o=a[0],u=a.reduce((l,c)=>{const h=cg(t,c,i);return l.top=Lt(h.top,l.top),l.right=Pr(h.right,l.right),l.bottom=Pr(h.bottom,l.bottom),l.left=Lt(h.left,l.left),l},cg(t,o,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function e6(e){const{width:t,height:r}=og(e);return{width:t,height:r}}function t6(e,t,r){const n=un(t),i=on(t),s=r==="fixed",a=xi(e,!0,s,t);let o={scrollLeft:0,scrollTop:0};const u=sn(0);function l(){u.x=gf(i)}if(n||!n&&!s)if((Ei(t)!=="body"||da(i))&&(o=Zo(t)),n){const f=xi(t,!0,s,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else i&&l();s&&!n&&i&&l();const c=i&&!n&&!s?lg(i,o):sn(0),h=a.left+o.scrollLeft-u.x-c.x,d=a.top+o.scrollTop-u.y-c.y;return{x:h,y:d,width:a.width,height:a.height}}function vf(e){return Rr(e).position==="static"}function dg(e,t){if(!un(e)||Rr(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return on(e)===r&&(r=r.ownerDocument.body),r}function hg(e,t){const r=cr(e);if(Ko(e))return r;if(!un(e)){let i=ri(e);for(;i&&!us(i);){if(kr(i)&&!vf(i))return i;i=ri(i)}return r}let n=dg(e,t);for(;n&&Bx(n)&&vf(n);)n=dg(n,t);return n&&us(n)&&vf(n)&&!df(n)?r:n||Vx(e)||r}const r6=async function(e){const t=this.getOffsetParent||hg,r=this.getDimensions,n=await r(e.floating);return{reference:t6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function n6(e){return Rr(e).direction==="rtl"}const i6={convertOffsetParentRelativeRectToViewportRelativeRect:Wx,getDocumentElement:on,getClippingRect:Qx,getOffsetParent:hg,getElementRects:r6,getClientRects:Gx,getDimensions:e6,getScale:ls,isElement:kr,isRTL:n6};function pg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function s6(e,t){let r=null,n;const i=on(e);function s(){var o;clearTimeout(n),(o=r)==null||o.disconnect(),r=null}function a(o,u){o===void 0&&(o=!1),u===void 0&&(u=1),s();const l=e.getBoundingClientRect(),{left:c,top:h,width:d,height:f}=l;if(o||t(),!d||!f)return;const m=Ho(h),y=Ho(i.clientWidth-(c+d)),p=Ho(i.clientHeight-(h+f)),v=Ho(c),b={rootMargin:-m+"px "+-y+"px "+-p+"px "+-v+"px",threshold:Lt(0,Pr(1,u))||1};let _=!0;function w(S){const E=S[0].intersectionRatio;if(E!==u){if(!_)return a();E?a(!1,E):n=setTimeout(()=>{a(!1,1e-7)},1e3)}E===1&&!pg(l,e.getBoundingClientRect())&&a(),_=!1}try{r=new IntersectionObserver(w,{...b,root:i.ownerDocument})}catch{r=new IntersectionObserver(w,b)}r.observe(e)}return a(!0),s}function a6(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,l=mf(e),c=i||s?[...l?ha(l):[],...ha(t)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",r,{passive:!0}),s&&v.addEventListener("resize",r)});const h=l&&o?s6(l,r):null;let d=-1,f=null;a&&(f=new ResizeObserver(v=>{let[g]=v;g&&g.target===l&&f&&(f.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(t)})),r()}),l&&!u&&f.observe(l),f.observe(t));let m,y=u?xi(e):null;u&&p();function p(){const v=xi(e);y&&!pg(y,v)&&r(),y=v,m=requestAnimationFrame(p)}return r(),()=>{var v;c.forEach(g=>{i&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),h?.(),(v=f)==null||v.disconnect(),f=null,u&&cancelAnimationFrame(m)}}const o6=kx,u6=Tx,l6=Rx,c6=$x,f6=Ix,d6=Ox,h6=Ex,p6=Ax,m6=(e,t,r)=>{const n=new Map,i={platform:i6,...r},s={...i.platform,_c:n};return Sx(e,t,{...i,platform:s})};function g6(e){return e!=null&&typeof e=="object"&&"$el"in e}function yf(e){if(g6(e)){const t=e.$el;return ff(t)&&Ei(t)==="#comment"?null:t}return e}function cs(e){return typeof e=="function"?e():x(e)}function v6(e){return{name:"arrow",options:e,fn(t){const r=yf(cs(e.element));return r==null?{}:h6({element:r,padding:e.padding}).fn(t)}}}function mg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function gg(e,t){const r=mg(e);return Math.round(t*r)/r}function y6(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,i=L(()=>{var E;return(E=cs(r.open))!=null?E:!0}),s=L(()=>cs(r.middleware)),a=L(()=>{var E;return(E=cs(r.placement))!=null?E:"bottom"}),o=L(()=>{var E;return(E=cs(r.strategy))!=null?E:"absolute"}),u=L(()=>{var E;return(E=cs(r.transform))!=null?E:!0}),l=L(()=>yf(e.value)),c=L(()=>yf(t.value)),h=Se(0),d=Se(0),f=Se(o.value),m=Se(a.value),y=Wn({}),p=Se(!1),v=L(()=>{const E={position:f.value,left:"0",top:"0"};if(!c.value)return E;const $=gg(c.value,h.value),C=gg(c.value,d.value);return u.value?{...E,transform:"translate("+$+"px, "+C+"px)",...mg(c.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:$+"px",top:C+"px"}});let g;function b(){if(l.value==null||c.value==null)return;const E=i.value;m6(l.value,c.value,{middleware:s.value,placement:a.value,strategy:o.value}).then($=>{h.value=$.x,d.value=$.y,f.value=$.strategy,m.value=$.placement,y.value=$.middlewareData,p.value=E!==!1})}function _(){typeof g=="function"&&(g(),g=void 0)}function w(){if(_(),n===void 0){b();return}if(l.value!=null&&c.value!=null){g=n(l.value,c.value,b);return}}function S(){i.value||(p.value=!1)}return et([s,a,o,i],b,{flush:"sync"}),et([l,c],w,{flush:"sync"}),et(i,S,{flush:"sync"}),oo()&&yc(_),{x:Ji(h),y:Ji(d),strategy:Ji(f),placement:Ji(m),middlewareData:Ji(y),isPositioned:Ji(p),floatingStyles:v,update:b}}const b6=xE(UE),w6=["id"],_6=["id"],S6=ce({inheritAttrs:!1,__name:"BPopover",props:Bt({body:{default:void 0},bodyClass:{default:void 0},boundary:{default:"clippingAncestors"},boundaryPadding:{default:void 0},click:{type:Boolean,default:void 0},closeOnHide:{type:Boolean,default:!1},focus:{type:Boolean,default:void 0},hover:{type:Boolean,default:void 0},delay:{default:()=>({show:100,hide:300})},floatingMiddleware:{default:void 0},hideMargin:{default:2},id:{default:void 0},inline:{type:Boolean,default:!1},manual:{type:Boolean,default:!1},noAutoClose:{type:Boolean,default:!1},noFlip:{type:Boolean,default:!1},noHide:{type:Boolean,default:!1},noShift:{type:Boolean,default:!1},noSize:{type:Boolean,default:!1},noninteractive:{type:Boolean,default:!1},offset:{default:null},placement:{default:"top"},realtime:{type:Boolean,default:!1},reference:{default:null},strategy:{default:"absolute"},target:{default:null},title:{default:void 0},titleClass:{default:void 0},tooltip:{type:Boolean,default:!1},teleportDisabled:{type:Boolean,default:!1},teleportTo:{default:void 0},initialAnimation:{type:Boolean,default:!1},noAnimation:{type:Boolean},noFade:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},unmountLazy:{type:Boolean,default:!1},show:{type:Boolean,default:!1},transProps:{},visible:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:Bt(["pointerleave","blur","click-outside","close-on-hide","hide","hide-prevented","hidden","show","show-prevented","shown","toggle","toggle-prevented","cancel","ok"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const i=Fe(e,"BPopover"),s=r,a=en(),o=jc(),u=ur(e,"modelValue"),l=St(()=>i.id,"popover"),c=Se(!1),h=Mt("_element"),d=Mt("_content"),f=Mt("_arrow"),m=Mt("_placeholder"),y=Se(null),p=Se(null),v=L(()=>i.placement.startsWith("auto")),g=Cn(()=>i.offset??NaN),b=L(()=>vg(i.boundary)?i.boundary:void 0),_=L(()=>x6(i.boundary)?i.boundary:void 0),w=Se({}),S=L(()=>{if(i.floatingMiddleware!==void 0)return i.floatingMiddleware;const re=i.offset!==null?g.value:i.tooltip?6:8,H=[o6(re)];return i.noFlip===!1&&!v.value&&H.push(c6({boundary:b.value,rootBoundary:_.value,padding:i.boundaryPadding})),v.value&&H.push(u6({alignment:i.placement.split("-")[1]||void 0,boundary:b.value,rootBoundary:_.value,padding:i.boundaryPadding})),i.noShift===!1&&H.push(l6({boundary:b.value,rootBoundary:_.value,padding:i.boundaryPadding})),i.noHide===!1&&H.push(d6({boundary:b.value,rootBoundary:_.value,padding:i.boundaryPadding})),i.inline===!0&&H.push(p6()),H.push(v6({element:f,padding:10})),i.noSize===!1&&H.push(f6({boundary:b.value,rootBoundary:_.value,padding:i.boundaryPadding,apply({availableWidth:G,availableHeight:te}){w.value={maxHeight:te>=(d.value?.scrollHeight??0)?void 0:te?`${Math.max(0,te)}px`:void 0,maxWidth:G>=(d.value?.scrollWidth??0)?void 0:G?`${Math.max(0,G)}px`:void 0}}})),H}),E=L(()=>v.value?void 0:i.placement),{floatingStyles:$,middlewareData:C,placement:P,update:A}=y6(y,h,{placement:E,middleware:S,strategy:He(()=>i.strategy)}),k=Se({position:"absolute"});et(C,re=>{if(i.noHide===!1&&(re.hide?.referenceHidden&&!c.value&&U.value?i.closeOnHide&&!i.noAutoClose&&!i.manual?Q("close-on-hide"):(M.value=!0,c.value=!0):M.value&&!re.hide?.referenceHidden&&(M.value=!1,c.value=!1)),re.arrow){const{x:H,y:G}=re.arrow;k.value={position:"absolute",top:G?`${G}px`:"",left:H?`${H}px`:""}}});let D;const{showRef:U,hide:q,show:ee,toggle:Z,throttleHide:Q,computedNoAnimation:ae,transitionProps:W,contentShowing:j,isVisible:K,isActive:B,renderRef:R,localTemporaryHide:M}=Wm(u,i,s,h,l,{showFn:()=>{A(),_t(()=>{D=a6(y.value,h.value,A,{animationFrame:i.realtime})})},hideFn:()=>{D&&(D(),D=void 0)}}),Y=L(()=>{const re=i.tooltip?"tooltip":"popover";return[re,`b-${re}`,{show:K.value&&!c.value,fade:!ae.value,[`bs-${re}-${E6(P.value)}`]:P.value!==void 0}]}),{x:fe,y:pe}=b6(),Me=()=>{const re=p.value?.getBoundingClientRect(),H=h.value?.getBoundingClientRect(),G=parseInt(i.hideMargin,10)||0,te=window?.scrollX||0,se=window?.scrollY||0,ne=!re||fe.valuere.right+te+G||pe.valuere.bottom+se+G,me=!H||fe.valueH.right+te+G||pe.valueH.bottom+se+G;return{triggerIsOutside:ne,isOutside:me}};let be;const I=re=>{const{triggerIsOutside:H,isOutside:G}=Me();!i.noninteractive&&G&&H&&!h.value?.contains(document?.activeElement)&&!p.value?.contains(document?.activeElement)||i.noninteractive&&H?q(re?.type):(be&&clearTimeout(be),be=setTimeout(()=>{I(re)},50))};et(K,()=>{A()}),t({hide:q,show:ee,toggle:Z});const T=re=>{U.value?q(re.type==="click"?"click":"toggle"):ee()},O=()=>{ee()},N=L(()=>i.manual?{hover:!1,focus:!1,click:!1}:i.hover!==void 0||i.focus!==void 0||i.click!==void 0?{hover:i.hover??!1,focus:i.focus??!1,click:i.click??!1}:{hover:!0,focus:!0,click:!1}),F=()=>{if(i.target){const H=Gm(ze(i.target));H?p.value=H:console.warn("Target element not found",i.target)}else p.value=m.value?.nextElementSibling;if(i.reference){const H=Gm(ze(i.reference));H?y.value=H:console.warn("Reference element not found",i.reference)}else y.value=p.value;if(!p.value||i.manual)return;const re=N.value;re.click&&p.value.addEventListener("click",T),re.hover&&(p.value.addEventListener("pointerenter",O),p.value.addEventListener("pointerleave",I)),re.focus&&(p.value.addEventListener("focus",O),p.value.addEventListener("blur",I))},z=()=>{p.value&&(p.value.removeEventListener("click",T),p.value.removeEventListener("pointerenter",O),p.value.removeEventListener("pointerleave",I),p.value.removeEventListener("focus",O),p.value.removeEventListener("blur",I))};FE(h,()=>{U.value&&N.value.click&&!i.noAutoClose&&!i.manual&&q("click-outside")},{ignore:[p]}),et([()=>i.click,()=>i.hover,()=>i.focus,()=>i.manual,()=>i.target,()=>i.reference],()=>{z(),F()});const X=L(()=>({toggle:Z,show:ee,hide:q,id:l.value,visible:K.value,active:B.value}));return xn(()=>{F(),_t(()=>{A()})}),ta(z),(re,H)=>(V(),oe(Re,null,[we("span",{id:x(l)+"_placeholder",ref:"_placeholder",style:{display:"none"}},null,8,w6),he(re.$slots,"target",zn(Qi(X.value))),Ee(WE,{to:x(i).teleportTo,disabled:!x(i).teleportTo||x(i).teleportDisabled},{default:le(()=>[x(R)||x(j)?(V(),ie(Wp,Ye({key:0},x(W),{appear:u.value||x(i).visible}),{default:le(()=>[_n(we("div",Ye({id:x(l)},x(o),{ref:"_element",class:Y.value,role:"tooltip",tabindex:"-1",style:x($)}),[we("div",{ref:"_arrow",class:Pe(`${x(i).tooltip?"tooltip":"popover"}-arrow`),style:Un(k.value),"data-popper-arrow":""},null,6),we("div",{ref:"_content",class:"overflow-auto",style:Un(w.value)},[x(i).title||a.title?(V(),oe("div",{key:0,class:Pe(["position-sticky top-0",[x(i).tooltip?"tooltip-inner":"popover-header",x(i).titleClass]])},[he(re.$slots,"title",zn(Qi(X.value)),()=>[ke(ge(x(i).title),1)])],2)):xe("",!0),x(i).tooltip&&!a.title&&!x(i).title||!x(i).tooltip?(V(),oe("div",{key:1,class:Pe([x(i).tooltip?"tooltip-inner":"popover-body",x(i).bodyClass])},[he(re.$slots,"default",zn(Qi(X.value)),()=>[ke(ge(x(i).body)+ge(x(o).content),1)])],2)):xe("",!0)],4)],16,_6),[[rs,x(U)&&!c.value]])]),_:3},16,["appear"])):xe("",!0)]),_:3},8,["to","disabled"])],64))}}),E6=e=>{const[t]=e.split("-");switch(t){case"left":return"start";case"right":return"end";default:return t}},vg=e=>e==="clippingAncestors"||e instanceof Element||Array.isArray(e),x6=e=>!vg(e),T6=ce({inheritAttrs:!1,__name:"BCollapse",props:Bt({horizontal:{type:Boolean,default:!1},id:{default:void 0},isNav:{type:Boolean,default:!1},tag:{default:"div"},initialAnimation:{type:Boolean,default:!1},noAnimation:{type:Boolean,default:!1},noFade:{type:Boolean},lazy:{type:Boolean,default:!1},unmountLazy:{type:Boolean,default:!1},show:{type:Boolean,default:!1},transProps:{},visible:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:Bt(["hide","hide-prevented","hidden","show","show-prevented","shown","toggle","toggle-prevented","cancel","ok"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const i=Fe(e,"BCollapse"),s=r,a=ur(e,"modelValue"),o=St(()=>i.id,"collapse"),u=Mt("_element");let l=!1;const c=P=>{l=!0,requestAnimationFrame(()=>{i.horizontal?P.style.width=`${P.scrollWidth}px`:P.style.height=`${P.scrollHeight}px`})},h=P=>{l||(i.horizontal?P.style.width=`${P.scrollWidth}px`:P.style.height=`${P.scrollHeight}px`,P.offsetHeight)},d=P=>{requestAnimationFrame(()=>{i.horizontal?P.style.width="":P.style.height=""})},f=P=>{P.style.height="",P.style.width="",l=!1},m=P=>{P.style.height="",P.style.width="",l=!1},{showRef:y,renderRef:p,hide:v,show:g,toggle:b,isActive:_,computedNoAnimation:w,contentShowing:S,transitionProps:E}=Wm(a,i,s,u,o,{transitionProps:{onBeforeLeave:h,onEnter:c,onLeave:d,onAfterEnter:f,onAfterLeave:m,enterToClass:"",leaveToClass:"",enterFromClass:"",leaveFromClass:"",enterActiveClass:"",leaveActiveClass:""}}),$=L(()=>({show:_.value,"navbar-collapse":i.isNav,"collapse-horizontal":i.horizontal})),C=L(()=>({toggle:b,show:g,hide:v,id:o.value,visible:y.value,active:_.value}));return t({hide:v,isNav:i.isNav,show:g,toggle:b,visible:er(y)}),$t(Sm,{id:o,hide:v,show:g,toggle:b,visible:er(y),isNav:He(()=>i.isNav)}),(P,A)=>(V(),oe(Re,null,[he(P.$slots,"header",zn(Qi(C.value))),x(p)||x(S)?(V(),ie(Wp,Ye({key:0},x(E),{"enter-active-class":x(w)?"":"collapsing","leave-active-class":x(w)?"":"collapsing",appear:a.value||x(i).visible}),{default:le(()=>[_n((V(),ie(Ze(x(i).tag),Ye({id:x(o),ref:"_element",class:["collapse",$.value],"is-nav":x(i).isNav},P.$attrs),{default:le(()=>[x(S)?he(P.$slots,"default",zn(Ye({key:0},C.value))):xe("",!0)]),_:3},16,["id","class","is-nav"])),[[rs,x(y)]])]),_:3},16,["enter-active-class","leave-active-class","appear"])):xe("",!0),he(P.$slots,"footer",zn(Qi(C.value)))],64))}}),$6=ce({__name:"BBadge",props:{dotIndicator:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},placement:{default:void 0},tag:{default:"span"},active:{type:Boolean,default:void 0},activeClass:{default:void 0},disabled:{type:Boolean,default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:Boolean,default:void 0},noRel:{type:Boolean},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},prefetchedClass:{},rel:{default:void 0},replace:{type:Boolean,default:void 0},routerComponentName:{default:void 0},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:"secondary"},bgVariant:{default:null},textVariant:{default:null}},setup(e){const r=Fe(e,"BBadge"),{computedLink:n,computedLinkProps:i}=Fm(r,["active","activeClass","append","disabled","href","rel","replace","routerComponentName","target","to","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","icon"]),s=L(()=>n.value?Um:r.tag),a=L(()=>{const l=r.placement??(r.dotIndicator?"top-end":void 0);return["position-absolute","translate-middle",{"start-0 top-0":l==="top-start","start-0 top-50":l==="start","start-0 top-100":l==="bottom-start","start-50 top-0":l==="top","start-50 top-100":l==="bottom","start-100 top-0":l==="top-end","start-100 top-50":l==="end","start-100 top-100":l==="bottom-end"}]}),o=ti(r),u=L(()=>[o.value,r.placement!==void 0||r.dotIndicator===!0?a.value:void 0,{active:r.active,disabled:r.disabled,"rounded-pill":r.pill,"p-2 border border-light rounded-circle":r.dotIndicator,"text-decoration-none":n.value}]);return(l,c)=>(V(),ie(Ze(s.value),Ye({class:["badge",u.value]},x(i)),{default:le(()=>[Ee(af,Ye({skip:x(r).dotIndicator!==!0,tag:"span"},x(r).dotIndicator?{class:"visually-hidden"}:{}),{default:le(()=>[he(l.$slots,"default")]),_:3},16,["skip"])]),_:3},16,["class"]))}}),O6=e=>{const t=(r,n)=>{const i=n===null?"":`-${n}`;return r==="circle"?`rounded${i}-circle`:r==="pill"?`rounded${i}-pill`:typeof r=="number"||r==="0"||r==="1"||r==="2"||r==="3"||r==="4"||r==="5"?`rounded${i}-${r}`:r==="none"?`rounded${i}-0`:r==="sm"?`rounded${i}-1`:r==="lg"?`rounded${i}-5`:`rounded${i}`};return L(()=>{const r=ze(e);return{[`${t(r.rounded,null)}`]:!!r.rounded,[`${t(r.roundedTop,"top")}`]:!!r.roundedTop,[`${t(r.roundedBottom,"bottom")}`]:!!r.roundedBottom,[`${t(r.roundedStart,"start")}`]:!!r.roundedStart,[`${t(r.roundedEnd,"end")}`]:!!r.roundedEnd}})},C6=ce({__name:"BButtonGroup",props:{ariaLabel:{default:"Group"},size:{default:"md"},tag:{default:"div"},vertical:{type:Boolean,default:!1}},setup(e){$t(EE,!0);const r=Fe(e,"BButtonGroup"),n=L(()=>({"btn-group":!r.vertical,[`btn-group-${r.size}`]:r.size!=="md","btn-group-vertical":r.vertical}));return(i,s)=>(V(),ie(Ze(x(r).tag),{class:Pe(n.value),role:"group","aria-label":x(r).ariaLabel},{default:le(()=>[he(i.$slots,"default")]),_:3},8,["class","aria-label"]))}}),A6=ce({__name:"BImg",props:{blank:{type:Boolean,default:!1},blankColor:{default:"transparent"},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},height:{default:void 0},tag:{default:"img"},lazy:{type:Boolean,default:!1},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},thumbnail:{type:Boolean,default:!1},width:{default:void 0},placement:{default:void 0},rounded:{type:[Boolean,String,Number],default:!1},roundedTop:{type:[Boolean,String,Number],default:void 0},roundedBottom:{type:[Boolean,String,Number],default:void 0},roundedStart:{type:[Boolean,String,Number],default:void 0},roundedEnd:{type:[Boolean,String,Number],default:void 0}},setup(e){const r=Fe(e,"BImg"),n=Cn(()=>r.height??NaN),i=Cn(()=>r.width??NaN),s=O6(()=>({rounded:r.rounded,roundedTop:r.roundedTop,roundedBottom:r.roundedBottom,roundedStart:r.roundedStart,roundedEnd:r.roundedEnd})),a=L(()=>typeof r.srcset=="string"?r.srcset.split(",").filter(f=>f).join(","):Array.isArray(r.srcset)?r.srcset.filter(f=>f).join(","):void 0),o=L(()=>typeof r.sizes=="string"?r.sizes.split(",").filter(f=>f).join(","):Array.isArray(r.sizes)?r.sizes.filter(f=>f).join(","):void 0),u=L(()=>{const f=Number.isNaN(i.value)?void 0:i.value,m=Number.isNaN(n.value)?void 0:n.value;if(r.blank){if(f!==void 0&&m===void 0)return{height:f,width:f};if(f===void 0&&m!==void 0)return{height:m,width:m};if(f===void 0&&m===void 0)return{height:1,width:1}}return{width:f,height:m}}),l=L(()=>d(u.value.width,u.value.height,r.blankColor)),c=L(()=>({"float-start":r.placement==="start","float-end":r.placement==="end","mx-auto":r.placement==="center"})),h=L(()=>[s.value,c.value,{"img-thumbnail":r.thumbnail,"img-fluid":r.fluid||r.fluidGrow,"w-100":r.fluidGrow,"d-block":r.block||r.placement==="center"}]),d=(f,m,y)=>`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(` + + `)}`;return(f,m)=>(V(),ie(Ze(x(r).tag),{class:Pe([h.value,"b-img"]),src:x(r).blank?l.value:x(r).src,width:u.value.width||void 0,height:u.value.height||void 0,srcset:x(r).blank?void 0:a.value,sizes:x(r).blank?void 0:o.value,loading:x(r).lazy?"lazy":"eager"},null,8,["class","src","width","height","srcset","sizes","loading"]))}}),P6=ce({__name:"BCardImg",props:{placement:{default:"top"},blank:{type:Boolean,default:void 0},blankColor:{default:void 0},block:{type:Boolean,default:void 0},fluid:{type:Boolean,default:void 0},fluidGrow:{type:Boolean,default:void 0},height:{default:void 0},tag:{},lazy:{type:Boolean,default:void 0},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},thumbnail:{type:Boolean,default:void 0},width:{default:void 0},rounded:{type:[Boolean,String,Number],default:void 0},roundedTop:{type:[Boolean,String,Number],default:void 0},roundedBottom:{type:[Boolean,String,Number],default:void 0},roundedStart:{type:[Boolean,String,Number],default:void 0},roundedEnd:{type:[Boolean,String,Number],default:void 0}},setup(e){const r=Fe(e,"BCardImg"),n=L(()=>({"card-img-top":r.placement==="top","card-img-end":r.placement==="end","card-img-bottom":r.placement==="bottom","card-img-start":r.placement==="start","card-img":r.placement==="overlay"})),i=L(()=>ex(r,["placement"]));return(s,a)=>(V(),ie(A6,Ye(i.value,{class:n.value}),null,16,["class"]))}}),yg=ce({__name:"BCardHeadFoot",props:{borderVariant:{default:null},tag:{default:"div"},text:{default:void 0},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const r=ti(e);return(n,i)=>(V(),ie(Ze(n.tag),{class:Pe(x(r))},{default:le(()=>[he(n.$slots,"default",{},()=>[ke(ge(n.text),1)])]),_:3},8,["class"]))}}),N6=ce({__name:"BCardHeader",props:{borderVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const r=Fe(e,"BCardHeader");return(n,i)=>(V(),ie(yg,Ye({class:"card-header"},x(r)),{default:le(()=>[he(n.$slots,"default")]),_:3},16))}}),k6=ce({__name:"BCardTitle",props:{tag:{default:"h4"},text:{default:void 0}},setup(e){const r=Fe(e,"BCardTitle");return(n,i)=>(V(),ie(Ze(x(r).tag),{class:"card-title"},{default:le(()=>[he(n.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3}))}}),R6=ce({__name:"BCardSubtitle",props:{text:{default:void 0},tag:{default:"h6"},textVariant:{default:"body-secondary"}},setup(e){const r=Fe(e,"BCardSubtitle"),n=ti(r);return(i,s)=>(V(),ie(Ze(x(r).tag),{class:Pe(["card-subtitle mb-2",x(n)])},{default:le(()=>[he(i.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},8,["class"]))}}),I6=ce({__name:"BCardBody",props:{overlay:{type:Boolean,default:!1},subtitle:{default:void 0},subtitleTag:{default:"h4"},subtitleTextVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const r=Fe(e,"BCardBody"),n=en(),i=L(()=>!ei(n.title)),s=L(()=>!ei(n.subtitle)),a=ti(r),o=L(()=>[a.value,r.overlay?"card-img-overlay":"card-body"]);return(u,l)=>(V(),ie(Ze(x(r).tag),{class:Pe(o.value)},{default:le(()=>[x(r).title||i.value?(V(),ie(k6,{key:0,tag:x(r).titleTag},{default:le(()=>[he(u.$slots,"title",{},()=>[ke(ge(x(r).title),1)])]),_:3},8,["tag"])):xe("",!0),x(r).subtitle||s.value?(V(),ie(R6,{key:1,tag:x(r).subtitleTag,"text-variant":x(r).subtitleTextVariant},{default:le(()=>[he(u.$slots,"subtitle",{},()=>[ke(ge(x(r).subtitle),1)])]),_:3},8,["tag","text-variant"])):xe("",!0),he(u.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},8,["class"]))}}),D6=ce({__name:"BCardFooter",props:{borderVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const r=Fe(e,"BCardFooter");return(n,i)=>(V(),ie(yg,Ye({class:"card-footer"},x(r)),{default:le(()=>[he(n.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},16))}}),M6=ce({__name:"BCard",props:{align:{default:void 0},bodyBgVariant:{default:void 0},bodyClass:{default:void 0},bodyTag:{default:"div"},bodyText:{default:""},bodyTextVariant:{default:void 0},borderVariant:{default:null},footer:{default:void 0},footerBgVariant:{default:void 0},footerBorderVariant:{default:void 0},footerClass:{default:void 0},footerTag:{default:"div"},footerTextVariant:{default:void 0},footerVariant:{default:null},header:{default:void 0},headerBgVariant:{default:void 0},headerBorderVariant:{default:void 0},headerClass:{default:void 0},headerTag:{default:"div"},headerTextVariant:{default:void 0},headerVariant:{default:null},imgAlt:{default:void 0},imgPlacement:{default:"top"},imgHeight:{default:void 0},imgSrc:{default:void 0},imgWidth:{default:void 0},noBody:{type:Boolean,default:!1},subtitle:{default:void 0},subtitleTag:{default:"h6"},subtitleTextVariant:{default:"body-secondary"},tag:{default:"div"},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const r=Fe(e,"BCard"),n=en(),i=L(()=>!ei(n.header)),s=L(()=>!ei(n.footer)),a=ti(r),o=L(()=>[a.value,{[`text-${r.align}`]:r.align!==void 0,"flex-row":r.imgPlacement==="start","flex-row-reverse":r.imgPlacement==="end"}]),u=L(()=>({src:r.imgSrc,alt:r.imgAlt,height:r.imgHeight,width:r.imgWidth,placement:r.imgPlacement})),l=sf();return(c,h)=>(V(),ie(Ze(x(r).tag),{class:Pe(["card",o.value])},{default:le(()=>[Ee(x(l).define,null,{default:le(()=>[he(c.$slots,"img",{},()=>[x(r).imgSrc?(V(),ie(P6,zn(Ye({key:0},u.value)),null,16)):xe("",!0)])]),_:3}),x(r).imgPlacement!=="bottom"?(V(),ie(x(l).reuse,{key:0})):xe("",!0),x(r).header||i.value?(V(),ie(N6,{key:1,"bg-variant":x(r).headerBgVariant,variant:x(r).headerVariant,"border-variant":x(r).headerBorderVariant,tag:x(r).headerTag,"text-variant":x(r).headerTextVariant,class:Pe(x(r).headerClass)},{default:le(()=>[he(c.$slots,"header",{},()=>[ke(ge(x(r).header),1)])]),_:3},8,["bg-variant","variant","border-variant","tag","text-variant","class"])):xe("",!0),x(r).noBody?he(c.$slots,"default",{key:3},()=>[ke(ge(x(r).bodyText),1)]):(V(),ie(I6,{key:2,overlay:x(r).imgPlacement==="overlay","bg-variant":x(r).bodyBgVariant,tag:x(r).bodyTag,"text-variant":x(r).bodyTextVariant,subtitle:x(r).subtitle,"subtitle-tag":x(r).subtitleTag,"subtitle-text-variant":x(r).subtitleTextVariant,title:x(r).title,"title-tag":x(r).titleTag,class:Pe(x(r).bodyClass)},{default:le(()=>[he(c.$slots,"default",{},()=>[ke(ge(x(r).bodyText),1)])]),_:3},8,["overlay","bg-variant","tag","text-variant","subtitle","subtitle-tag","subtitle-text-variant","title","title-tag","class"])),x(r).footer||s.value?(V(),ie(D6,{key:4,"bg-variant":x(r).footerBgVariant,"border-variant":x(r).footerBorderVariant,variant:x(r).footerVariant,tag:x(r).footerTag,"text-variant":x(r).footerTextVariant,class:Pe(x(r).footerClass)},{default:le(()=>[he(c.$slots,"footer",{},()=>[ke(ge(x(r).footer),1)])]),_:3},8,["bg-variant","border-variant","variant","tag","text-variant","class"])):xe("",!0),x(r).imgPlacement==="bottom"?(V(),ie(x(l).reuse,{key:5})):xe("",!0)]),_:3},8,["class"]))}}),bf=(e,t,r,n=r)=>t.reduce((i,s)=>(e[s]&&i.push([n,s.replace(r,""),e[s]].filter(a=>a&&typeof a!="boolean").join("-").toLowerCase()),i),[]),bg=ce({__name:"BCol",props:{alignSelf:{default:void 0},tag:{default:"div"},order:{default:void 0},offset:{default:void 0},cols:{default:void 0},col:{type:Boolean,default:!1},offsetSm:{default:void 0},offsetMd:{default:void 0},offsetLg:{default:void 0},offsetXl:{default:void 0},offsetXxl:{default:void 0},orderSm:{default:void 0},orderMd:{default:void 0},orderLg:{default:void 0},orderXl:{default:void 0},orderXxl:{default:void 0},sm:{type:[Boolean,Number,String],default:!1},md:{type:[Boolean,Number,String],default:!1},lg:{type:[Boolean,Number,String],default:!1},xl:{type:[Boolean,Number,String],default:!1},xxl:{type:[Boolean,Number,String],default:!1}},setup(e){const r=Fe(e,"BCol"),n=L(()=>[...bf({sm:r.sm,md:r.md,lg:r.lg,xl:r.xl,xxl:r.xxl},["sm","md","lg","xl","xxl"],"col"),...bf({order:r.order,orderLg:r.orderLg,orderMd:r.orderMd,orderSm:r.orderSm,orderXl:r.orderXl,orderXxl:r.orderXxl},["order","orderLg","orderMd","orderSm","orderXl","orderXxl"],"order"),...bf({offset:r.offset,offsetLg:r.offsetLg,offsetMd:r.offsetMd,offsetSm:r.offsetSm,offsetXl:r.offsetXl,offsetXxl:r.offsetXxl},["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXxl"],"offset")]),i=L(()=>[n.value,{col:r.col||!n.value.some(s=>s.startsWith("col-"))&&!r.cols,[`col-${r.cols}`]:r.cols!==void 0,[`offset-${r.offset}`]:r.offset!==void 0,[`order-${r.order}`]:r.order!==void 0,[`align-self-${r.alignSelf}`]:r.alignSelf!==void 0}]);return(s,a)=>(V(),ie(Ze(x(r).tag),{class:Pe(i.value)},{default:le(()=>[he(s.$slots,"default")]),_:3},8,["class"]))}}),B6=["value","disabled","selected"],wg=ce({__name:"BFormSelectOption",props:{disabled:{type:Boolean,default:!1},value:{default:void 0}},setup(e){const r=Fe(e,"BFormSelectOption"),n=lt(xm,null),i=L(()=>n?n.modelValue.value===r.value:!1);return(s,a)=>(V(),oe("option",{value:x(r).value,disabled:x(r).disabled,selected:i.value},[he(s.$slots,"default")],8,B6))}}),_g=(e,t)=>{const r=a=>typeof a=="object"&&a!==null&&"options"in a,n=a=>{const o=ze(t);if(typeof a=="string")return{value:a,text:a};if(typeof a=="number")return{value:a,text:`${a}`};if(a instanceof Date)return{value:a,text:a.toLocaleString()};const u=fa(a,o.valueField),l=fa(a,o.textField),c=fa(a,o.disabledField),h=o.optionsField?fa(a,o.optionsField):void 0;return h!==void 0?{label:fa(a,o.labelField)||l,options:h}:{...typeof a=="object"?a:void 0,value:u,text:l,disabled:c}},i=a=>a.map(o=>n(o));return{normalizedOptions:L(()=>i(ze(e))),isComplex:r}},j6=ce({__name:"BFormInvalidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(e){const r=Fe(e,"BFormInvalidFeedback"),n=L(()=>r.forceShow===!0||r.state===!1),i=L(()=>({"d-block":n.value,"invalid-feedback":!r.tooltip,"invalid-tooltip":r.tooltip}));return(s,a)=>(V(),ie(Ze(x(r).tag),{id:x(r).id,role:x(r).role,"aria-live":x(r).ariaLive,"aria-atomic":x(r).ariaLive?!0:void 0,class:Pe(i.value)},{default:le(()=>[he(s.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),L6=ce({__name:"BFormRow",props:{tag:{default:"div"}},setup(e){const r=Fe(e,"BFormRow");return(n,i)=>(V(),ie(Ze(x(r).tag),{class:"row d-flex flex-wrap"},{default:le(()=>[he(n.$slots,"default")]),_:3}))}}),F6=ce({__name:"BFormText",props:{id:{default:void 0},inline:{type:Boolean,default:!1},tag:{default:"small"},text:{default:void 0},textVariant:{default:"body-secondary"}},setup(e){const r=Fe(e,"BFormText"),n=ti(r),i=L(()=>[n.value,{"form-text":!r.inline}]);return(s,a)=>(V(),ie(Ze(x(r).tag),{id:x(r).id,class:Pe(i.value)},{default:le(()=>[he(s.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},8,["id","class"]))}}),q6=ce({__name:"BFormValidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(e){const r=Fe(e,"BFormInvalidFeedback"),n=L(()=>r.forceShow===!0||r.state===!0),i=L(()=>({"d-block":n.value,"valid-feedback":!r.tooltip,"valid-tooltip":r.tooltip}));return(s,a)=>(V(),ie(Ze(x(r).tag),{id:x(r).id,role:x(r).role,"aria-live":x(r).ariaLive,"aria-atomic":x(r).ariaLive?!0:void 0,class:Pe(i.value)},{default:le(()=>[he(s.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),Yo=(e,t)=>L(()=>{const r=ze(e),n=ze(t);return r===!0?"true":typeof r=="string"?r:n===!1?"true":r===!1?"false":void 0}),fs=e=>L(()=>{const t=ze(e);return t===!0?"is-valid":t===!1?"is-invalid":null}),Sg=e=>L(()=>{const t=ze(e);return{"form-check":t.plain===!1&&t.button===!1&&t.hasDefaultSlot,"form-check-reverse":t.reverse===!0,"form-check-inline":t.inline===!0,"form-switch":t.switch===!0,[`form-control-${t.size}`]:t.size!==void 0&&t.size!=="md"&&t.button===!1}}),Eg=e=>{const t=er(He(e)),r=fs(()=>t.value.state??null);return L(()=>[r.value,{"form-check-input":t.value.plain===!1&&t.value.button===!1,"btn-check":t.value.button===!0}])},xg=e=>L(()=>{const t=ze(e);return{"form-check-label":t.plain===!1&&t.button===!1,btn:t.button===!0,[`btn-${t.buttonVariant}`]:t.button===!0&&t.buttonVariant!==void 0&&t.buttonVariant!==null,[`btn-${t.size}`]:t.button&&t.size&&t.size!=="md"}}),Tg=e=>{const t=er(He(e)),r=Yo(()=>t.value.ariaInvalid,()=>t.value.state);return L(()=>({"aria-invalid":r.value,"aria-required":t.value.required===!0?!0:void 0}))},$g=e=>L(()=>{const t=ze(e);return{"was-validated":t.validated===!0,"btn-group":t.buttons===!0&&t.stacked===!1,"btn-group-vertical":t.stacked===!0&&t.buttons===!0,[`btn-group-${t.size}`]:t.size!==void 0}}),V6=["id","disabled","required","name","form","aria-label","aria-labelledby","aria-required","value","true-value","false-value","indeterminate"],U6=["for"],Og=ce({inheritAttrs:!1,__name:"BFormCheckbox",props:Bt({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonGroup:{type:Boolean,default:!1},buttonVariant:{default:null},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},inline:{type:Boolean,default:!1},name:{default:void 0},plain:{type:Boolean,default:!1},required:{type:Boolean,default:void 0},reverse:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null},switch:{type:Boolean,default:!1},uncheckedValue:{type:[Array,Set,String,Boolean,Object,Number,null],default:!1},wrapperAttrs:{default:void 0},inputClass:{default:void 0},value:{type:[String,Boolean,Array,Set,Object,Number,null],default:!0}},{modelValue:{type:[Array,Set,String,Boolean,Object,Number,null],default:void 0},modelModifiers:{},indeterminate:{type:Boolean,default:!1},indeterminateModifiers:{}}),emits:["update:modelValue","update:indeterminate"],setup(e,{expose:t}){const n=Fe(e,"BFormCheckbox"),i=en(),s=jc(),a=ur(e,"modelValue"),o=ur(e,"indeterminate"),u=L(()=>{const{class:E,...$}=s;return{wrapperClass:E,inputAttrs:$}}),l=St(()=>n.id,"form-check"),c=lt(wm,null),h=Mt("_input"),{focused:d}=Qn(h,{initialValue:n.autofocus}),f=L(()=>!ei(i.default)),m=L({get:()=>c?c.modelValue.value:a.value,set:E=>{if(E!==void 0){if(o.value=!1,c!==null&&Array.isArray(E)){c.modelValue.value=E;return}a.value=E}}}),y=L(()=>!!(n.name??c?.name.value)&&(n.required||c?.required.value)),p=L(()=>n.buttonGroup||(c?.buttons.value??!1)),v=L(()=>({plain:n.plain||(c?.plain.value??!1),button:n.button||(c?.buttons.value??!1),inline:n.inline||(c?.inline.value??!1),reverse:n.reverse||(c?.reverse.value??!1),switch:n.switch||(c?.switch.value??!1),state:n.state===!0||n.state===!1?n.state:c?.state.value??null,size:n.size??c?.size.value??"md",buttonVariant:n.buttonVariant??c?.buttonVariant.value??"secondary",hasDefaultSlot:f.value})),g=Sg(v),b=L(()=>[g.value,u.value.wrapperClass]),_=Eg(v),w=L(()=>[_.value,n.inputClass]),S=xg(v);return t({blur:()=>{d.value=!1},element:h,focus:()=>{d.value=!0}}),(E,$)=>(V(),ie(af,Ye({skip:p.value},x(n).wrapperAttrs,{class:b.value}),{default:le(()=>[_n(we("input",Ye({id:x(l),ref:"_input","onUpdate:modelValue":$[0]||($[0]=C=>m.value=C),class:w.value,type:"checkbox",disabled:x(n).disabled||x(c)?.disabled.value,required:y.value||void 0,name:x(n).name||x(c)?.name.value,form:x(n).form||x(c)?.form.value,"aria-label":x(n).ariaLabel,"aria-labelledby":x(n).ariaLabelledby,"aria-required":y.value||void 0,value:x(n).value,"true-value":x(n).value,"false-value":x(n).uncheckedValue,indeterminate:o.value||void 0},u.value.inputAttrs),null,16,V6),[[dE,m.value]]),f.value||x(n).plain===!1?(V(),oe("label",{key:0,for:x(l),class:Pe(x(S))},[he(E.$slots,"default")],10,U6)):xe("",!0)]),_:3},16,["skip","class"]))}}),z6=["id"],H6=ce({__name:"BFormCheckboxGroup",props:Bt({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},buttonVariant:{default:"secondary"},buttons:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},name:{default:void 0},options:{default:()=>[]},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:"md"},stacked:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},switches:{type:Boolean,default:!1},textField:{default:"text"},validated:{type:Boolean,default:!1},valueField:{default:"value"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormCheckboxGroup"),i=ur(e,"modelValue"),s=St(()=>n.id,"checkbox"),a=St(()=>n.name,"checkbox"),o=Mt("_element"),{focused:u}=Qn(o,{initialValue:n.autofocus});$t(wm,{modelValue:i,switch:He(()=>n.switches),buttonVariant:He(()=>n.buttonVariant),form:He(()=>n.form),name:a,state:He(()=>n.state),plain:He(()=>n.plain),size:He(()=>n.size),inline:He(()=>!n.stacked),reverse:He(()=>n.reverse),required:He(()=>n.required),buttons:He(()=>n.buttons),disabled:He(()=>n.disabled)});const l=L(()=>n.options.map(f=>typeof f=="string"||typeof f=="number"?{value:f,disabled:n.disabled,text:f.toString()}:{...f,value:f[n.valueField],disabled:f[n.disabledField],text:f[n.textField]})),c=L(()=>({required:n.required,ariaInvalid:n.ariaInvalid,state:n.state,validated:n.validated,buttons:n.buttons,stacked:n.stacked,size:n.size})),h=Tg(c),d=$g(c);return t({blur:()=>{u.value=!1},focus:()=>{u.value=!0}}),(f,m)=>(V(),oe("div",Ye(x(h),{id:x(s),ref:"_element",role:"group",class:[x(d),"bv-no-focus-ring"],tabindex:"-1"}),[he(f.$slots,"first"),(V(!0),oe(Re,null,Tt(l.value,(y,p)=>(V(),ie(Og,Ye({key:p},{ref_for:!0},y),{default:le(()=>[he(f.$slots,"option",Ye({ref_for:!0},y),()=>[ke(ge(y.text),1)])]),_:2},1040))),128)),he(f.$slots,"default")],16,z6))}}),W6=["for"],G6=["id","form","name","multiple","disabled","capture","accept","required","aria-label","aria-labelledby","aria-required","directory","webkitdirectory"],J6=ce({inheritAttrs:!1,__name:"BFormFile",props:Bt({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},accept:{default:""},autofocus:{type:Boolean,default:!1},capture:{type:[Boolean,String],default:void 0},directory:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},label:{default:""},labelClass:{default:void 0},multiple:{type:Boolean,default:!1},name:{default:void 0},noButton:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormFile"),i=en(),s=ur(e,"modelValue"),a=St(()=>n.id),o=fs(()=>n.state),u=Mt("_input"),{focused:l}=Qn(u,{initialValue:n.autofocus}),c=L(()=>!ei(i.label)),h=L(()=>typeof n.accept=="string"?n.accept:n.accept.join(",")),d=L(()=>[o.value,{[`form-control-${n.size}`]:n.size!==void 0,"form-control":!n.plain,"form-control-input-file-hide-button":n.noButton}]),f=()=>{const p=u.value?.files===null||u.value?.files===void 0?null:[...u.value.files];s.value=p===null?null:n.multiple===!0?p:p[0]},m=p=>{n.noDrop===!0&&p.preventDefault()},y=()=>{s.value=null};return et(s,p=>{p===null&&u.value!==null&&(u.value.value="")}),t({blur:()=>{l.value=!1},element:u,focus:()=>{l.value=!0},reset:y}),(p,v)=>(V(),oe(Re,null,[c.value||x(n).label?(V(),oe("label",{key:0,class:Pe(["form-label",x(n).labelClass]),for:x(a)},[he(p.$slots,"label",{},()=>[ke(ge(x(n).label),1)])],10,W6)):xe("",!0),we("input",Ye({id:x(a)},p.$attrs,{ref:"_input",type:"file",class:d.value,form:x(n).form,name:x(n).name,multiple:x(n).multiple,disabled:x(n).disabled,capture:x(n).capture,accept:h.value||void 0,required:x(n).required||void 0,"aria-label":x(n).ariaLabel,"aria-labelledby":x(n).ariaLabelledby,"aria-required":x(n).required||void 0,directory:x(n).directory,webkitdirectory:x(n).directory,onChange:f,onDrop:m}),null,16,G6)],64))}}),Cg=(e,t)=>t+(e?ix(e):""),K6={key:0,ref:"_content",class:"form-floating"},Z6=ce({__name:"BFormGroup",props:{contentCols:{type:[Boolean,String,Number],default:void 0},labelCols:{type:[Boolean,String,Number],default:void 0},labelAlign:{default:void 0},ariaInvalid:{type:[Boolean,String],default:void 0},description:{default:void 0},disabled:{type:Boolean,default:!1},feedbackAriaLive:{default:"assertive"},floating:{type:Boolean,default:!1},id:{default:void 0},invalidFeedback:{default:void 0},label:{default:void 0},labelClass:{default:void 0},labelFor:{default:void 0},labelSize:{default:void 0},labelVisuallyHidden:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},tooltip:{type:Boolean,default:!1},validFeedback:{default:void 0},validated:{type:Boolean,default:!1},contentColsSm:{type:[Boolean,String,Number],default:void 0},contentColsMd:{type:[Boolean,String,Number],default:void 0},contentColsLg:{type:[Boolean,String,Number],default:void 0},contentColsXl:{type:[Boolean,String,Number],default:void 0},labelColsSm:{type:[Boolean,String,Number],default:void 0},labelColsMd:{type:[Boolean,String,Number],default:void 0},labelColsLg:{type:[Boolean,String,Number],default:void 0},labelColsXl:{type:[Boolean,String,Number],default:void 0},labelAlignSm:{default:void 0},labelAlignMd:{default:void 0},labelAlignLg:{default:void 0},labelAlignXl:{default:void 0}},setup(e){const t=["input","select","textarea"],n=Fe(e,"BFormGroup"),i=en(),s=sf(),a=sf(),o=He(()=>n.state),u=Se([]);$t(Em,k=>(u.value=[k],{state:o}));const l=L(()=>n.labelFor!==void 0?n.labelFor:u.value[0]&&u.value[0].value?u.value[0].value:null),c=["xs","sm","md","lg","xl"],h=(k,D)=>c.reduce((U,q)=>{const ee=Cg(q==="xs"?"":q,`${D}Cols`);let Z=k[ee];if(Z=Z===""?!0:Z||!1,typeof Z!="boolean"&&Z!=="auto"){const Q=Number.parseInt(Z);Z=Number.isNaN(Q)?0:Q,Z=Z>0?Z:!1}return Z&&(q==="xs"?U[typeof Z=="boolean"?"col":"cols"]=Z:U[q||(typeof Z=="boolean"?"col":"cols")]=Z),U},{}),d=Mt("_content"),f=L(()=>h(n,"content")),m=L(()=>((k,D)=>c.reduce((U,q)=>{const ee=Cg(q==="xs"?"":q,`${D}Align`),Z=k[ee]||null;return Z&&(q==="xs"?U.push(`text-${Z}`):U.push(`text-${q}-${Z}`)),U},[]))(n,"label")),y=L(()=>h(n,"label")),p=L(()=>Object.keys(f.value).length>0||Object.keys(y.value).length>0),v=fs(o),g=Yo(()=>n.ariaInvalid,o),b=k=>{if(l.value||d.value===null)return;const{target:D}=k,U=D?D.tagName:"";if([...t,"a","button","label"].indexOf(U)!==-1)return;const q=[...d.value.querySelectorAll(t.map(Z=>`${Z}:not([disabled])`).join())].filter(Dm),[ee]=q;q.length===1&&ee instanceof HTMLElement&&JE(ee)},_=St(()=>n.id),w=St(void 0,"_BV_label_"),S=L(()=>l.value?"label":"legend"),E=L(()=>[p.value?"col-form-label":"form-label",{"bv-no-focus-ring":!l.value,"col-form-label":p.value||!l.value,"pt-0":!p.value&&!l.value,"d-block":!p.value&&l.value,[`col-form-label-${n.labelSize}`]:!!n.labelSize,"visually-hidden":n.labelVisuallyHidden},m.value,n.labelClass]),$=St(void 0,"_BV_feedback_invalid_"),C=St(void 0,"_BV_feedback_valid_"),P=St(void 0,"_BV_description_"),A=L(()=>!l.value);return(k,D)=>(V(),ie(Ze(A.value?"fieldset":"div"),{id:x(_),disabled:A.value?x(n).disabled:null,role:A.value?null:"group","aria-invalid":x(g),"aria-labelledby":A.value&&p.value?x(w):null,class:Pe([[x(v),{"was-validated":x(n).validated}],"b-form-group"])},{default:le(()=>[Ee(x(a).define,null,{default:le(()=>[i["invalid-feedback"]||x(n).invalidFeedback?(V(),ie(j6,{key:0,id:x($),"aria-live":x(n).feedbackAriaLive,state:o.value,tooltip:x(n).tooltip},{default:le(()=>[he(k.$slots,"invalid-feedback",{},()=>[ke(ge(x(n).invalidFeedback),1)])]),_:3},8,["id","aria-live","state","tooltip"])):xe("",!0),i["valid-feedback"]||x(n).validFeedback?(V(),ie(q6,{key:1,id:x(C),"aria-live":x(n).feedbackAriaLive,state:o.value,tooltip:x(n).tooltip},{default:le(()=>[he(k.$slots,"valid-feedback",{},()=>[ke(ge(x(n).validFeedback),1)])]),_:3},8,["id","aria-live","state","tooltip"])):xe("",!0),i.description||x(n).description?(V(),ie(F6,{key:2,id:x(P)},{default:le(()=>[he(k.$slots,"description",{},()=>[ke(ge(x(n).description),1)])]),_:3},8,["id"])):xe("",!0)]),_:3}),Ee(x(s).define,null,{default:le(()=>[i.label||x(n).label||p.value?(V(),oe(Re,{key:0},[p.value?(V(),ie(bg,zn(Ye({key:0},y.value)),{default:le(()=>[(V(),ie(Ze(S.value),{id:x(w),for:l.value||null,tabindex:A.value?"-1":null,class:Pe(E.value),onClick:D[0]||(D[0]=U=>A.value?b:null)},{default:le(()=>[he(k.$slots,"label",{},()=>[ke(ge(x(n).label),1)])]),_:3},8,["id","for","tabindex","class"]))]),_:3},16)):(V(),ie(Ze(S.value),{key:1,id:x(w),for:l.value||null,tabindex:A.value?"-1":null,class:Pe(E.value),onClick:D[1]||(D[1]=U=>A.value?b:null)},{default:le(()=>[he(k.$slots,"label",{},()=>[ke(ge(x(n).label),1)])]),_:3},8,["id","for","tabindex","class"]))],64)):xe("",!0)]),_:3}),p.value?(V(),ie(L6,{key:0},{default:le(()=>[Ee(x(s).reuse),Ee(bg,Ye(f.value,{ref:"_content"}),{default:le(()=>[he(k.$slots,"default",{id:x(_),ariaDescribedby:null,descriptionId:x(P),labelId:x(w)}),Ee(x(a).reuse)]),_:3},16)]),_:3})):(V(),oe(Re,{key:1},[x(n).floating&&!p.value?(V(),oe("div",K6,[he(k.$slots,"default",{id:x(_),ariaDescribedby:null,descriptionId:x(P),labelId:x(w)}),Ee(x(s).reuse),Ee(x(a).reuse)],512)):(V(),oe(Re,{key:1},[Ee(x(s).reuse),he(k.$slots,"default",{id:x(_),ariaDescribedby:null,descriptionId:x(P),labelId:x(w)}),Ee(x(a).reuse)],64))],64))]),_:3},8,["id","disabled","role","aria-invalid","aria-labelledby","class"]))}}),Ag=(e,t)=>{if(e===null)return;let r=e;if(t.number&&typeof r=="string"&&r!==""){const n=Number.parseFloat(r);r=Number.isNaN(n)?r:n}return r},Pg=()=>{};function Y6(e,t){function r(...n){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(s)})}return r.cancel=e.cancel,r}function X6(e,t={}){let r,n,i=Pg;const s=u=>{clearTimeout(u),i(),i=Pg};let a;const o=u=>{const l=ze(e),c=ze(t.maxWait);return r&&s(r),l<=0||c!==void 0&&c<=0?(n&&(s(n),n=null),Promise.resolve(u())):new Promise((h,d)=>{i=t.rejectOnCancel?d:h,a=u,c&&!n&&(n=setTimeout(()=>{r&&s(r),n=null,h(a())},c)),r=setTimeout(()=>{n&&s(n),n=null,h(u())},l)})};return o.cancel=()=>{r&&s(r),n&&s(n),n=null},o}function Q6(e,t=200,r={}){return Y6(X6(t,r),e)}const Ng=(e,t,r,n)=>{const i=Se(0),s=St(()=>e.id,"input"),a=Cn(()=>e.debounce??0,{nanToZero:!0}),o=Cn(()=>e.debounceMaxWait??NaN),u=lt(Em,null)?.(s),l=L(()=>e.state!==void 0?e.state:u?.state.value??null),c=Yo(()=>e.ariaInvalid,l),h=fs(l),d=Q6(w=>{r.value=w},()=>n.lazy===!0?0:a.value,{maxWait:()=>n.lazy===!0?NaN:o.value}),f=(w,S=!1,E=!1)=>{n.lazy===!0&&S===!1||(E?r.value=w:d(w))},{focused:m}=Qn(t,{initialValue:e.autofocus}),y=(w,S,E=!1)=>e.formatter!==void 0&&(!e.lazyFormatter||E)?e.formatter(w,S):w;return xn(()=>{t.value&&(t.value.value=r.value?.toString()??"")}),Q0(()=>{_t(()=>{e.autofocus&&(m.value=!0)})}),{input:t,computedId:s,computedAriaInvalid:c,onInput:w=>{const{value:S}=w.target,E=y(S,w);if(w.defaultPrevented){w.preventDefault();return}f(E)},onChange:w=>{const{value:S}=w.target,E=y(S,w);if(w.defaultPrevented){w.preventDefault();return}const $=E;r.value!==$&&f(E,!0)},onBlur:w=>{if(!n.lazy&&!e.lazyFormatter&&!n.trim&&a.value<=0)return;const{value:S}=w.target,E=y(S,w,!0),$=n.trim?E.trim():E,C=$.length!==E.length;d.cancel(),r.value!==$&&f(E,!0,!0),n.trim&&C&&(i.value=i.value+1)},focus:()=>{e.disabled||(m.value=!0)},blur:()=>{e.disabled||(m.value=!1)},forceUpdateKey:i,stateClass:h}},eT=["id","value","name","form","type","disabled","placeholder","required","autocomplete","readonly","min","max","step","list","aria-required","aria-invalid"],kg=ce({__name:"BFormInput",props:Bt({max:{default:void 0},min:{default:void 0},step:{default:void 0},type:{default:"text"},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazyFormatter:{type:Boolean,default:!1},list:{default:void 0},name:{default:void 0},placeholder:{default:void 0},plaintext:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:void 0},debounce:{default:0},debounceMaxWait:{default:NaN}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormInput"),[i,s]=ur(e,"modelValue",{set:v=>Ag(v,s)}),a=Mt("_input"),{computedId:o,computedAriaInvalid:u,onInput:l,onChange:c,onBlur:h,stateClass:d,focus:f,blur:m,forceUpdateKey:y}=Ng(n,a,i,s),p=L(()=>{const v=n.type==="range",g=n.type==="color";return[d.value,{"form-range":v,"form-control":g||!n.plaintext&&!v,"form-control-color":g,"form-control-plaintext":n.plaintext&&!v&&!g,[`form-control-${n.size}`]:!!n.size}]});return t({blur:m,element:a,focus:f}),(v,g)=>(V(),oe("input",{id:x(o),ref:"_input",key:x(y),value:x(i),class:Pe(p.value),name:x(n).name||void 0,form:x(n).form||void 0,type:x(n).type,disabled:x(n).disabled,placeholder:x(n).placeholder,required:x(n).required||void 0,autocomplete:x(n).autocomplete||void 0,readonly:x(n).readonly||x(n).plaintext,min:x(n).min,max:x(n).max,step:x(n).step,list:x(n).type!=="password"?x(n).list:void 0,"aria-required":x(n).required||void 0,"aria-invalid":x(u),onInput:g[0]||(g[0]=(...b)=>x(l)&&x(l)(...b)),onChange:g[1]||(g[1]=(...b)=>x(c)&&x(c)(...b)),onBlur:g[2]||(g[2]=(...b)=>x(h)&&x(h)(...b))},null,42,eT))}}),tT=["id","disabled","required","name","form","aria-label","aria-labelledby","value","aria-required"],rT=["for"],nT=ce({inheritAttrs:!1,__name:"BFormRadio",props:Bt({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonGroup:{type:Boolean,default:!1},buttonVariant:{default:null},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},inline:{type:Boolean,default:!1},name:{default:void 0},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null},value:{type:[Boolean,String,Array,Object,Number,null],default:!0}},{modelValue:{type:[Boolean,String,Array,Object,Number,null],default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormRadio"),i=en(),s=ur(e,"modelValue"),a=St(()=>n.id,"form-check"),o=lt(_m,null),u=Mt("_input"),{focused:l}=Qn(u,{initialValue:n.autofocus}),c=L(()=>!ei(i.default)),h=L({get:()=>o?o.modelValue.value:s.value,set:g=>{if(g!==void 0){if(o!==null){o.modelValue.value=g;return}s.value=g}}}),d=L(()=>!!(n.name??o?.name.value)&&(n.required||o?.required.value)),f=L(()=>n.buttonGroup||(o?.buttons.value??!1)),m=L(()=>({plain:n.plain||(o?.plain.value??!1),button:n.button||(o?.buttons.value??!1),inline:n.inline||(o?.inline.value??!1),state:n.state||o?.state.value,reverse:n.reverse||(o?.reverse.value??!1),size:n.size??o?.size.value??"md",buttonVariant:n.buttonVariant??o?.buttonVariant.value??"secondary",hasDefaultSlot:c.value})),y=Sg(m),p=Eg(m),v=xg(m);return t({blur:()=>{l.value=!1},element:u,focus:()=>{l.value=!0}}),(g,b)=>(V(),ie(af,{skip:f.value,class:Pe(x(y))},{default:le(()=>[_n(we("input",Ye({id:x(a)},g.$attrs,{ref:"_input","onUpdate:modelValue":b[0]||(b[0]=_=>h.value=_),class:x(p),type:"radio",disabled:x(n).disabled||x(o)?.disabled.value,required:d.value||void 0,name:x(n).name||x(o)?.name.value,form:x(n).form||x(o)?.form.value,"aria-label":x(n).ariaLabel,"aria-labelledby":x(n).ariaLabelledby,value:x(n).value,"aria-required":d.value||void 0}),null,16,tT),[[hE,h.value]]),c.value||x(n).plain===!1?(V(),oe("label",{key:0,for:x(a),class:Pe(x(v))},[he(g.$slots,"default")],10,rT)):xe("",!0)]),_:3},8,["skip","class"]))}}),iT=["id"],sT=ce({__name:"BFormRadioGroup",props:Bt({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},buttonVariant:{default:"secondary"},buttons:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},name:{default:void 0},options:{default:()=>[]},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:"md"},stacked:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},textField:{default:"text"},validated:{type:Boolean,default:!1},valueField:{default:"value"}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormRadioGroup"),i=ur(e,"modelValue"),s=St(()=>n.id,"radio"),a=St(()=>n.name,"checkbox"),o=Mt("_element"),{focused:u}=Qn(o,{initialValue:n.autofocus});$t(_m,{modelValue:i,buttonVariant:He(()=>n.buttonVariant),form:He(()=>n.form),name:a,buttons:He(()=>n.buttons),state:He(()=>n.state),plain:He(()=>n.plain),size:He(()=>n.size),inline:He(()=>!n.stacked),reverse:He(()=>n.reverse),required:He(()=>n.required),disabled:He(()=>n.disabled)});const l=L(()=>n.options.map(f=>typeof f=="string"||typeof f=="number"?{value:f,disabled:n.disabled,text:f.toString()}:{...f,value:f[n.valueField],disabled:f[n.disabledField],text:f[n.textField]})),c=L(()=>({required:n.required,ariaInvalid:n.ariaInvalid,state:n.state,validated:n.validated,buttons:n.buttons,stacked:n.stacked,size:n.size})),h=Tg(c),d=$g(c);return t({blur:()=>{u.value=!1},focus:()=>{u.value=!0}}),(f,m)=>(V(),oe("div",Ye(x(h),{id:x(s),ref:"_element",role:"radiogroup",class:[x(d),"bv-no-focus-ring"],tabindex:"-1"}),[he(f.$slots,"first"),(V(!0),oe(Re,null,Tt(l.value,(y,p)=>(V(),ie(nT,Ye({key:p},{ref_for:!0},y),{default:le(()=>[he(f.$slots,"option",Ye({ref_for:!0},y),()=>[ke(ge(y.text),1)])]),_:2},1040))),128)),he(f.$slots,"default")],16,iT))}}),aT=["label"],oT=ce({__name:"BFormSelectOptionGroup",props:{disabledField:{default:"disabled"},label:{default:void 0},options:{default:()=>[]},textField:{default:"text"},valueField:{default:"value"}},setup(e){const r=Fe(e,"BFormSelectOptionGroup"),{normalizedOptions:n}=_g(()=>r.options,r);return(i,s)=>(V(),oe("optgroup",{label:x(r).label},[he(i.$slots,"first"),(V(!0),oe(Re,null,Tt(x(n),(a,o)=>(V(),ie(wg,Ye({key:o,disabled:a.disabled,value:a.value},{ref_for:!0},i.$attrs),{default:le(()=>[he(i.$slots,"option",Ye({ref_for:!0},a),()=>[ke(ge(a.text),1)])]),_:2},1040,["disabled","value"]))),128)),he(i.$slots,"default")],8,aT))}}),uT=["id","name","form","multiple","size","disabled","required","aria-required","aria-invalid"],lT=ce({__name:"BFormSelect",props:Bt({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},labelField:{default:"label"},multiple:{type:Boolean,default:!1},name:{default:void 0},options:{default:()=>[]},optionsField:{default:"options"},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},selectSize:{default:0},size:{default:"md"},state:{type:[Boolean,null],default:null},textField:{default:"text"},valueField:{default:"value"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormSelect"),i=ur(e,"modelValue"),s=St(()=>n.id,"input"),a=Cn(()=>n.selectSize),o=fs(()=>n.state),u=Mt("_input"),{focused:l}=Qn(u,{initialValue:n.autofocus}),c=L(()=>[o.value,{"form-control":n.plain,[`form-control-${n.size}`]:n.size!=="md"&&n.plain,"form-select":!n.plain,[`form-select-${n.size}`]:n.size!=="md"&&!n.plain}]),h=L(()=>a.value||n.plain?a.value:void 0),d=Yo(()=>n.ariaInvalid,()=>n.state),{normalizedOptions:f,isComplex:m}=_g(()=>n.options,n),y=L(()=>f.value),p=L({get:()=>i.value,set:v=>{i.value=v}});return $t(xm,{modelValue:er(p)}),t({blur:()=>{l.value=!1},element:u,focus:()=>{l.value=!0}}),(v,g)=>_n((V(),oe("select",{id:x(s),ref:"_input","onUpdate:modelValue":g[0]||(g[0]=b=>p.value=b),class:Pe(c.value),name:x(n).name,form:x(n).form||void 0,multiple:x(n).multiple||void 0,size:h.value,disabled:x(n).disabled,required:x(n).required||void 0,"aria-required":x(n).required||void 0,"aria-invalid":x(d)},[he(v.$slots,"first"),(V(!0),oe(Re,null,Tt(y.value,(b,_)=>(V(),oe(Re,{key:_},[x(m)(b)?(V(),ie(oT,{key:0,label:b.label,options:b.options,"value-field":x(n).valueField,"text-field":x(n).textField,"disabled-field":x(n).disabledField},null,8,["label","options","value-field","text-field","disabled-field"])):(V(),ie(wg,{key:1,value:b.value,disabled:b.disabled},{default:le(()=>[he(v.$slots,"option",Ye({ref_for:!0},b),()=>[ke(ge(b.text),1)])]),_:2},1032,["value","disabled"]))],64))),128)),he(v.$slots,"default")],10,uT)),[[pE,p.value]])}}),cT=["id"],fT=ce({__name:"BFormTag",props:{disabled:{type:Boolean,default:!1},id:{default:void 0},noRemove:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},removeLabel:{default:"Remove tag"},tag:{default:"span"},title:{default:void 0},variant:{default:"secondary"}},emits:["remove"],setup(e,{emit:t}){const n=Fe(e,"BFormTag"),i=t,s=en(),a=St(()=>n.id),o=L(()=>((s.default?.({})[0].children??"").toString()||n.title)??""),u=L(()=>`${a.value}taglabel__`),l=ti(n),c=L(()=>[l.value,{"rounded-pill":n.pill,disabled:n.disabled}]);return(h,d)=>(V(),ie(Ze(x(n).tag),{id:x(a),title:o.value,class:Pe(["badge b-form-tag d-inline-flex align-items-center mw-100",c.value]),"aria-labelledby":u.value},{default:le(()=>[we("span",{id:u.value,class:"b-form-tag-content flex-grow-1 text-truncate"},[he(h.$slots,"default",{},()=>[ke(ge(o.value),1)])],8,cT),!x(n).disabled&&!x(n).noRemove?(V(),ie(fx,{key:0,"aria-keyshortcuts":"Delete","aria-label":x(n).removeLabel,class:"b-form-tag-remove","aria-describedby":u.value,"aria-controls":x(n).id,onClick:d[0]||(d[0]=f=>i("remove",o.value))},null,8,["aria-label","aria-describedby","aria-controls"])):xe("",!0)]),_:3},8,["id","title","class","aria-labelledby"]))}}),dT=["id"],hT=["id","for","aria-live"],pT=["id","aria-live"],mT=["id"],gT=["aria-controls"],vT={role:"group",class:"d-flex"},yT=["id","disabled","value","type","placeholder","form","required","aria-required"],bT=["disabled"],wT=["aria-live"],_T={key:0,class:"d-block invalid-feedback"},ST={key:1,class:"form-text text-body-secondary"},ET={key:2,class:"form-text text-body-secondary"},xT=["name","value"],TT=ce({__name:"BFormTags",props:Bt({addButtonText:{default:"Add"},addButtonVariant:{default:"outline-secondary"},addOnChange:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},duplicateTagText:{default:"Duplicate tag(s)"},feedbackAriaLive:{default:"assertive"},form:{default:void 0},inputAttrs:{default:void 0},inputClass:{default:void 0},inputId:{default:void 0},inputType:{default:"text"},invalidTagText:{default:"Invalid tag(s)"},limit:{default:void 0},limitTagsText:{default:"Tag limit reached"},name:{default:void 0},noAddOnEnter:{type:Boolean,default:!1},noOuterFocus:{type:Boolean,default:!1},noTagRemove:{type:Boolean,default:!1},placeholder:{default:"Add tag..."},removeOnDelete:{type:Boolean,default:!1},required:{type:Boolean,default:!1},separator:{default:void 0},size:{default:"md"},state:{type:[Boolean,null],default:null},tagClass:{default:void 0},tagPills:{type:Boolean,default:!1},tagRemoveLabel:{default:void 0},tagRemovedLabel:{default:"Tag removed"},tagValidator:{type:Function,default:()=>!0},tagVariant:{default:"secondary"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:Bt(["blur","focus","focusin","focusout","tag-state"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const i=Fe(e,"BFormTags"),s=r,a=ur(e,"modelValue"),o=St(),u=Cn(()=>i.limit??NaN),l=fs(()=>i.state),c=Mt("_input"),{focused:h}=Qn(c,{initialValue:i.autofocus}),d=L(()=>i.inputId||`${o.value}input__`),f=Se([...a.value]),m=Se(""),y=Se(a.value.length>0),p=Se(""),v=Se([]),g=Se([]),b=Se([]);BE(a,f,{direction:"ltr",transform:{ltr:ae=>[...ae]}});const _=L(()=>[l.value,{[`form-control-${i.size}`]:i.size!=="md",disabled:i.disabled,focus:h.value}]),w=L(()=>f.value.includes(m.value)),S=L(()=>m.value===""?!1:!i.tagValidator(m.value)),E=L(()=>f.value.length===u.value),$=L(()=>!S.value&&!w.value),C=ae=>{if(i.disabled){ae.target.blur();return}s("focusin",ae)},P=ae=>{i.disabled||i.noOuterFocus||(h.value=!0,s("focus",ae))},A=ae=>{h.value=!1,s("blur",ae)},k=ae=>{const W=typeof ae=="string"?ae:ae.target.value;if(y.value=!1,i.separator?.includes(W.charAt(0))&&W.length>0){c.value&&(c.value.value="");return}if(m.value=W,i.separator?.includes(W.charAt(W.length-1))){Z(W.slice(0,W.length-1));return}v.value=i.tagValidator(W)&&!w.value?[W]:[],g.value=i.tagValidator(W)?[]:[W],b.value=w.value?[W]:[],s("tag-state",v.value,g.value,b.value)},D=ae=>{i.addOnChange&&(k(ae),w.value||Z(m.value))},U=ae=>{if((ae.key==="Enter"||ae.code==="NumpadEnter")&&!i.noAddOnEnter){Z(m.value);return}(ae.key==="Backspace"||ae.key==="Delete")&&i.removeOnDelete&&m.value===""&&y.value&&f.value.length>0?Q(f.value[f.value.length-1]):y.value=!0};km(U,{target:c});const q=L(()=>{if(i.separator)return typeof i.separator=="string"?i.separator:i.separator.join("")}),ee=L(()=>{if(q.value)return new RegExp(`[${ax(q.value)}]+`)}),Z=ae=>{ae=(ae??m.value).trim();const W=ee.value?ae.split(ee.value).map(B=>B.trim()):[ae],j=[];for(const B of W)if(!(B===""||w.value||!i.tagValidator(B))){if(u.value&&E.value)break;j.push(B)}const K=[...a.value,...j];m.value="",y.value=!0,a.value=K,h.value=!0},Q=ae=>{const W=f.value.indexOf(ae?.toString()??"");W!==-1&&(p.value=f.value.splice(W,1).toString(),a.value=f.value)};return t({blur:()=>{h.value=!1},element:c,focus:()=>{h.value=!0},inputValue:m}),(ae,W)=>(V(),oe("div",{id:x(o),class:Pe(["b-form-tags form-control h-auto",_.value]),role:"group",tabindex:"-1",onFocusin:C,onFocusout:W[1]||(W[1]=j=>s("focusout",j))},[we("output",{id:`${x(o)}selected_tags__`,class:"visually-hidden",for:d.value,"aria-live":x(h)?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"},ge(f.value.join(", ")),9,hT),we("div",{id:`${x(o)}removed_tags__`,role:"status","aria-live":x(h)?"assertive":"off","aria-atomic":"true",class:"visually-hidden"}," ("+ge(x(i).tagRemovedLabel)+") "+ge(p.value),9,pT),he(ae.$slots,"default",{addButtonText:x(i).addButtonText,addButtonVariant:x(i).addButtonVariant,addTag:Z,disableAddButton:$.value,disabled:x(i).disabled,duplicateTagText:x(i).duplicateTagText,duplicateTags:b.value,form:x(i).form,inputAttrs:{...x(i).inputAttrs,disabled:x(i).disabled,form:x(i).form,id:d.value,value:m.value},inputClass:x(i).inputClass,inputHandlers:{input:k,keydown:U,change:D},inputId:d.value,inputType:x(i).inputType,invalidTagText:x(i).invalidTagText,invalidTags:g.value,isDuplicate:w.value,isInvalid:S.value,isLimitReached:E.value,limitTagsText:x(i).limitTagsText,limit:x(u),noTagRemove:x(i).noTagRemove,placeholder:x(i).placeholder,removeTag:Q,required:x(i).required,separator:x(i).separator,size:x(i).size,state:x(i).state,tagClass:x(i).tagClass,tagPills:x(i).tagPills,tagRemoveLabel:x(i).tagRemoveLabel,tagVariant:x(i).tagVariant,tags:f.value},()=>[we("ul",{id:`${x(o)}tag_list__`,class:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"},[(V(!0),oe(Re,null,Tt(f.value,(j,K)=>he(ae.$slots,"tag",{key:K,tag:j,tagClass:x(i).tagClass,tagVariant:x(i).tagVariant,tagPills:x(i).tagPills,removeTag:Q},()=>[(V(),ie(fT,{key:j,class:Pe(x(i).tagClass),tag:"li",variant:x(i).tagVariant,pill:x(i).tagPills,onRemove:Q},{default:le(()=>[ke(ge(j),1)]),_:2},1032,["class","variant","pill"]))])),128)),we("li",{role:"none","aria-live":"off",class:"b-from-tags-field flex-grow-1","aria-controls":`${x(o)}tag_list__`},[we("div",vT,[we("input",Ye({id:d.value,ref:"_input",disabled:x(i).disabled,value:m.value,type:x(i).inputType,placeholder:x(i).placeholder,class:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",style:{outline:"currentcolor none 0px","min-width":"5rem"}},x(i).inputAttrs,{form:x(i).form,required:x(i).required||void 0,"aria-required":x(i).required||void 0,onInput:k,onChange:D,onFocus:P,onBlur:A}),null,16,yT),$.value?(V(),oe("button",{key:0,type:"button",class:Pe(["btn b-form-tags-button py-0",[ae.inputClass,{[`btn-${x(i).addButtonVariant}`]:x(i).addButtonVariant!==null,"disabled invisible":m.value.length===0}]]),style:{"font-size":"90%"},disabled:x(i).disabled||m.value.length===0||E.value,onClick:W[0]||(W[0]=j=>Z(m.value))},[he(ae.$slots,"add-button-text",{},()=>[ke(ge(x(i).addButtonText),1)])],10,bT)):xe("",!0)])],8,gT)],8,mT),we("div",{"aria-live":x(i).feedbackAriaLive,"aria-atomic":"true"},[S.value?(V(),oe("div",_T,ge(x(i).invalidTagText)+": "+ge(m.value),1)):xe("",!0),w.value?(V(),oe("small",ST,ge(x(i).duplicateTagText)+": "+ge(m.value),1)):xe("",!0),f.value.length===x(i).limit?(V(),oe("small",ET,ge(x(i).limitTagsText),1)):xe("",!0)],8,wT)]),x(i).name?(V(!0),oe(Re,{key:0},Tt(f.value,(j,K)=>(V(),oe("input",{key:K,type:"hidden",name:x(i).name,value:j},null,8,xT))),128)):xe("",!0)],42,dT))}}),$T=(e,{maxRows:t,noAutoShrink:r,rows:n})=>{const i=Se(0),s=Cn(L(()=>ze(t)||NaN),{method:"parseInt",nanToZero:!0}),a=Cn(n,{method:"parseInt",nanToZero:!0}),o=L(()=>Math.max(a.value||2,2)),u=L(()=>Math.max(o.value,s.value||0)),l=L(()=>o.value===u.value?o.value:null),c=async()=>{if(!e.value||!Dm(e.value)){i.value=null;return}const d=getComputedStyle(e.value),f=Number.parseFloat(d.lineHeight)||1,m=(Number.parseFloat(d.borderTopWidth)||0)+(Number.parseFloat(d.borderBottomWidth)||0),y=(Number.parseFloat(d.paddingTop)||0)+(Number.parseFloat(d.paddingBottom)||0),p=m+y,v=f*o.value+p,g=e.value.style.height||d.height;i.value="auto",await _t();const{scrollHeight:b}=e.value;i.value=g,await _t();const _=Math.max((b-y)/f,2),w=Math.min(Math.max(_,o.value),u.value),S=Math.max(Math.ceil(w*f+p),v);if(ze(r)&&(Number.parseFloat(g.toString())||0)>S){i.value=g;return}i.value=`${S}px`};xn(c);const h=L(()=>({resize:"none",height:typeof i.value=="string"?i.value:i.value?`${i.value}px`:void 0}));return{onInput:c,computedStyles:h,computedRows:l}},OT=["id","name","form","value","disabled","placeholder","required","autocomplete","readonly","aria-required","aria-invalid","rows","wrap"],CT=ce({__name:"BFormTextarea",props:Bt({noResize:{type:Boolean,default:!1},rows:{default:2},wrap:{default:"soft"},noAutoShrink:{type:Boolean,default:!1},maxRows:{default:void 0},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazyFormatter:{type:Boolean,default:!1},list:{default:void 0},name:{default:void 0},placeholder:{default:void 0},plaintext:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:void 0},debounce:{default:0},debounceMaxWait:{default:NaN}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fe(e,"BFormTextarea"),[i,s]=ur(e,"modelValue",{set:w=>Ag(w,s)}),a=Mt("_input"),{computedId:o,forceUpdateKey:u,computedAriaInvalid:l,onInput:c,stateClass:h,onChange:d,onBlur:f,focus:m,blur:y}=Ng(n,a,i,s),p=L(()=>[h.value,n.plaintext?"form-control-plaintext":"form-control",{[`form-control-${n.size}`]:!!n.size}]),{computedStyles:v,onInput:g,computedRows:b}=$T(a,{maxRows:()=>n.maxRows,rows:()=>n.rows,noAutoShrink:()=>n.noAutoShrink}),_=L(()=>({resize:n.noResize?"none":void 0,...n.maxRows||n.noAutoShrink?v.value:void 0}));return t({blur:y,element:a,focus:m}),(w,S)=>(V(),oe("textarea",{id:x(o),ref:"_input",key:x(u),class:Pe(p.value),name:x(n).name||void 0,form:x(n).form||void 0,value:x(i)??void 0,disabled:x(n).disabled,placeholder:x(n).placeholder,required:x(n).required||void 0,autocomplete:x(n).autocomplete||void 0,readonly:x(n).readonly||x(n).plaintext,"aria-required":x(n).required||void 0,"aria-invalid":x(l),rows:x(b)||2,style:Un(_.value),wrap:x(n).wrap||void 0,onInput:S[0]||(S[0]=E=>{x(c)(E),x(g)()}),onChange:S[1]||(S[1]=(...E)=>x(d)&&x(d)(...E)),onBlur:S[2]||(S[2]=(...E)=>x(f)&&x(f)(...E))},null,46,OT))}}),AT={key:0,class:"input-group-text"},PT={key:0,class:"input-group-text"},NT=ce({__name:"BInputGroup",props:{append:{default:void 0},id:{default:void 0},prepend:{default:void 0},size:{default:"md"},tag:{default:"div"}},setup(e){$t(SE,!0);const r=Fe(e,"BInputGroup"),n=L(()=>({[`input-group-${r.size}`]:r.size!=="md"})),i=L(()=>!!r.append),s=L(()=>!!r.prepend);return(a,o)=>(V(),ie(Ze(x(r).tag),{id:x(r).id,class:Pe(["input-group",n.value]),role:"group"},{default:le(()=>[he(a.$slots,"prepend",{},()=>[s.value?(V(),oe("span",AT,[we("span",null,ge(x(r).prepend),1)])):xe("",!0)]),he(a.$slots,"default"),he(a.$slots,"append",{},()=>[i.value?(V(),oe("span",PT,[we("span",null,ge(x(r).append),1)])):xe("",!0)])]),_:3},8,["id","class"]))}}),Rg=ce({__name:"BInputGroupText",props:{tag:{default:"div"},text:{default:void 0}},setup(e){const r=Fe(e,"BInputGroupText");return(n,i)=>(V(),ie(Ze(x(r).tag),{class:"input-group-text"},{default:le(()=>[he(n.$slots,"default",{},()=>[ke(ge(x(r).text),1)])]),_:3}))}}),Ig="bootstrap-vue-next",Dg=(e,t)=>{const{all:r,...n}=e,i={};r&&t.forEach(a=>{i[a]=r});const s={...i,...n};return Object.entries(s).filter(([a,o])=>!!o&&t.includes(a)).map(([a])=>a)},wf=new Set,Mg=new Set;Object.assign(({aliases:e={},directives:t=!0,components:r=!0}={})=>{const i=Dg(typeof r=="boolean"?{all:r}:r,zE).reduce((u,l)=>(u.set(l,`${Ig}${Rm[l]}`),u),new Map),a=Dg(typeof t=="boolean"?{all:t}:t,HE).reduce((u,l)=>{const c=l.toLowerCase().startsWith("v")?l:`v${l}`;return u.set(c,`${Ig}${Im[c]}`),u},new Map);return[{type:"component",resolve(u){const l=i.get(u),c=i.get(e[u]);if(c){const h=e[u];return wf.add(h),{name:h,from:c}}if(l)return wf.add(u),{name:u,from:l}}},{type:"directive",resolve(u){const l=`v${u}`,c=a.get(l);if(c)return Mg.add(l),{name:l,from:c}}}]},{__usedComponents:wf,__usedDirectives:Mg});/*! * pinia v3.0.3 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let uf;const Ui=e=>uf=e,OA=()=>Zm()&&Tt(cf)||uf,cf=Symbol();function df(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qi||(qi={}));function $A(){const e=Kc(!0),t=e.run(()=>Me({}));let r=[],n=[];const o=gi({install(s){Ui(o),o._a=s,s.provide(cf,o),s.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(s){return this._a?r.push(s):n.push(s),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const Hv=()=>{};function Gv(e,t,r,n=Hv){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),n())};return!r&&La()&&Jc(o),o}function Os(e,...t){e.slice().forEach(r=>{r(...t)})}const CA=e=>e(),Wv=Symbol(),ff=Symbol();function pf(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];df(o)&&df(n)&&e.hasOwnProperty(r)&&!wt(n)&&!Rn(n)?e[r]=pf(o,n):e[r]=n}return e}const TA=Symbol();function kA(e){return!df(e)||!Object.prototype.hasOwnProperty.call(e,TA)}const{assign:wo}=Object;function AA(e){return!!(wt(e)&&e.effect)}function PA(e,t,r,n){const{state:o,actions:s,getters:i}=t,a=r.state.value[e];let l;function u(){!a&&(r.state.value[e]=o?o():{});const c=wO(r.state.value[e]);return wo(c,s,Object.keys(i||{}).reduce((h,f)=>(h[f]=gi(J(()=>{Ui(r);const d=r._s.get(e);return i[f].call(d,d)})),h),{}))}return l=Kv(e,u,t,r,n,!0),l}function Kv(e,t,r={},n,o,s){let i;const a=wo({actions:{}},r),l={deep:!0};let u,c,h=[],f=[],d;const g=n.state.value[e];!s&&!g&&(n.state.value[e]={}),Me({});let v;function p(O){let P;u=c=!1,typeof O=="function"?(O(n.state.value[e]),P={type:qi.patchFunction,storeId:e,events:d}):(pf(n.state.value[e],O),P={type:qi.patchObject,payload:O,storeId:e,events:d});const A=v=Symbol();Ft().then(()=>{v===A&&(u=!0)}),c=!0,Os(h,P,n.state.value[e])}const m=s?function(){const{state:O}=r,P=O?O():{};this.$patch(A=>{wo(A,P)})}:Hv;function b(){i.stop(),h=[],f=[],n._s.delete(e)}const w=(O,P="")=>{if(Wv in O)return O[ff]=P,O;const A=function(){Ui(n);const V=Array.from(arguments),D=[],M=[];function z(K){D.push(K)}function F(K){M.push(K)}Os(f,{args:V,name:A[ff],store:_,after:z,onError:F});let ue;try{ue=O.apply(this&&this.$id===e?this:_,V)}catch(K){throw Os(M,K),K}return ue instanceof Promise?ue.then(K=>(Os(D,K),K)).catch(K=>(Os(M,K),Promise.reject(K))):(Os(D,ue),ue)};return A[Wv]=!0,A[ff]=P,A},S={_p:n,$id:e,$onAction:Gv.bind(null,f),$patch:p,$reset:m,$subscribe(O,P={}){const A=Gv(h,O,P.detached,()=>V()),V=i.run(()=>mt(()=>n.state.value[e],D=>{(P.flush==="sync"?c:u)&&O({storeId:e,type:qi.direct,events:d},D)},wo({},l,P)));return A},$dispose:b},_=Wa(S);n._s.set(e,_);const E=(n._a&&n._a.runWithContext||CA)(()=>n._e.run(()=>(i=Kc()).run(()=>t({action:w}))));for(const O in E){const P=E[O];if(wt(P)&&!AA(P)||Rn(P))s||(g&&kA(P)&&(wt(P)?P.value=g[O]:pf(P,g[O])),n.state.value[e][O]=P);else if(typeof P=="function"){const A=w(P,O);E[O]=A,a.actions[O]=P}}return wo(_,E),wo(tt(_),E),Object.defineProperty(_,"$state",{get:()=>n.state.value[e],set:O=>{p(P=>{wo(P,O)})}}),n._p.forEach(O=>{wo(_,i.run(()=>O({store:_,app:n._a,pinia:n,options:a})))}),g&&s&&r.hydrate&&r.hydrate(_.$state,g),u=!0,c=!0,_}/*! #__NO_SIDE_EFFECTS__ */function Jv(e,t,r){let n;const o=typeof t=="function";n=o?r:t;function s(i,a){const l=Zm();return i=i||(l?Tt(cf,null):null),i&&Ui(i),i=uf,i._s.has(e)||(o?Kv(e,t,n,i):PA(e,n,i)),i._s.get(e)}return s.$id=e,s}function jt(e){const t=tt(e),r={};for(const n in t){const o=t[n];o.effect?r[n]=J({get:()=>e[n],set(s){e[n]=s}}):(wt(o)||Rn(o))&&(r[n]=at(e,n))}return r}const NA=bT;function Zv(e,t="/properties/"){let r={};for(const[n,o]of Object.entries(e.properties||{}))if(typeof o!="boolean"){if(o.type==="object")r={...r,...Zv(o,t+n+"/properties/")};else if(o.default!==void 0){let s=o.default;s==="$now"&&(s=new Date().toISOString()),r[t+n]=s}}return r}const Zr=Jv("formStructure",{state:()=>({jsonSchema:void 0,uiSchema:void 0,components:void 0,arrays:[],mappers:[],buttonWaiting:{},currentWizardPage:0,wizardValidateFunctions:[],formStateWasValidated:!1}),getters:{defaultData:e=>e.jsonSchema?Zv(e.jsonSchema):{}}});function kt(e){return Zr().components?.[e]||NA[e]}class IA{constructor(){this.initialized=!1}async initialize(){this.initialized||(await this.initializeInternal(),this.initialized=!0)}validateJsonSchema(t){if(!this.initialized)throw new Error("Validator not initialized");return this.validateJsonSchemaInternal(t)}validateUiSchema(t){if(!this.initialized)throw new Error("Validator not initialized");return this.validateUiSchemaInternal(t)}}class DA extends IA{async initializeInternal(){}validateJsonSchemaInternal(t){return!0}validateUiSchemaInternal(t){return!0}getJsonSchemaValidationErrors(){return[]}getUiSchemaValidationErrors(){return[]}}var Yv;(function(e){e["7bit"]="7bit",e["8bit"]="8bit",e.Base64="base64",e.Binary="binary",e.IETFToken="ietf-token",e.QuotedPrintable="quoted-printable",e.XToken="x-token"})(Yv||(Yv={}));var Xv;(function(e){e.Date="date",e.DateTime="date-time",e.Duration="duration",e.Email="email",e.Hostname="hostname",e.IDNEmail="idn-email",e.IDNHostname="idn-hostname",e.IPv4="ipv4",e.IPv6="ipv6",e.IRI="iri",e.IRIReference="iri-reference",e.JSONPointer="json-pointer",e.JSONPointerURIFragment="json-pointer-uri-fragment",e.RegEx="regex",e.RelativeJSONPointer="relative-json-pointer",e.Time="time",e.URI="uri",e.URIReference="uri-reference",e.URITemplate="uri-template",e.UUID="uuid"})(Xv||(Xv={}));var Qv;(function(e){e.Array="array",e.Boolean="boolean",e.Integer="integer",e.Null="null",e.Number="number",e.Object="object",e.String="string"})(Qv||(Qv={}));const jA=["$anchor","$comment","$defs","$id","$recursiveAnchor","$recursiveRef","$ref","$schema","$vocabulary","additionalItems","additionalProperties","allOf","anyOf","const","contains","contentEncoding","contentMediaType","contentSchema","default","definitions","dependencies","dependentRequired","dependentSchemas","deprecated","description","else","enum","examples","exclusiveMaximum","exclusiveMinimum","format","if","items","maxContains","maximum","maxItems","maxLength","maxProperties","minContains","minimum","minItems","minLength","minProperties","multipleOf","not","oneOf","pattern","patternProperties","properties","propertyNames","readOnly","required","then","title","type","unevaluatedItems","unevaluatedProperties","uniqueItems","writeOnly"];class e0{}class RA{jsonSchema;uiSchema;savePath;scope}function MA(e){return typeof e=="object"&&e.const!==void 0&&e.title!==void 0}class BA extends e0{map(t,r){if(Zt(t,"oneOf")){let n;const o={};for(const s of t.oneOf){if(!MA(s))return console.warn("oneOf element is not a custom oneOf element"),null;n?n.push(s.const):n=[s.const],o[s.const]=s.title}if((n?.length||0)<1)return console.warn("No values found in oneOf element"),null;t.enum=n,delete t.oneOf,r.options={enumTitles:o}}return{jsonElement:t,uiElement:r}}}function kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t0(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var hf,r0;function VA(){if(r0)return hf;r0=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return hf=function(r,n,o){if(t.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var i=0;i"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");bf=crypto.getRandomValues.bind(crypto)}return bf(JA)}const YA=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),f0={randomUUID:YA};function XA(e,t,r){e=e||{};const n=e.random??e.rng?.()??ZA();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,KA(n)}function QA(e,t,r){return f0.randomUUID&&!e?f0.randomUUID():XA(e)}function wf(){let e;try{e=crypto.randomUUID()}catch{e=QA()}return e}const Hi="vjf_array-item_";function Gi(e){return typeof e!="string"?!1:e.match(new RegExp(`^${Hi}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`))!==null}function _f(e,t){return e.split("/").slice(0,t).join("/")}function p0(e){return e.map(t=>({...t,uuid:wf()}))}const eP="2.0";function h0(e,t={}){const r={version:eP,layout:{type:t.layoutType??"VerticalLayout",options:{label:"groupLabel"in t?t.groupLabel:void 0,description:"groupDescription"in t?t.groupDescription:void 0},elements:[]}};for(const n in e.properties){const o={type:"Control",scope:`${t.scopeBase??""}/properties/${n}`};r.layout.elements.push(o)}return r}function tP(e,t,r){const n="!#index#!",o=new RegExp(`${n}\\w+${n}`);if(r===void 0)return;const s=t.split("/").filter(i=>i!=="").filter((i,a)=>!(a%2===0&&i==="properties")).join(".").replace(/\[(\w+)]/g,`.${n}$1${n}`).split(".");for(let i=0;i{Gi(s)&&t.set(s,i)}));return t}function m0(e,t){for(const[r,n]of e.entries())t=t.replace(`.${r}`,`[${n}]`);return t}function oP(e){const t={},r=new Map,n=new Set;for(const[s,i]of Object.entries(e))Ef(s)&&(n.add(s),Array.isArray(i)&&i.forEach((a,l)=>{Gi(a)&&r.set(a,l)}));for(const s of n){const i=e[s];Array.isArray(i)&&!i.filter(a=>Gi(a)).length&&i.length>0&&(t[m0(r,s)]=[...i])}for(const[s,i]of Object.entries(e))!Ef(s)&&i!==void 0&&(t[m0(r,s)]=i);const o=rP(t);return{scopes:t,json:o}}function g0(e,t={},r="/properties"){for(const[n,o]of Object.entries(e)){const s=`${r}/${n}`;Array.isArray(o)?t[s]=o:typeof o=="object"&&o!==null?g0(o,t,`${s}/properties`):t[s]=o}return t}function sP(e){return new Promise(t=>{const r=new FileReader;r.onload=()=>{t(r.result)},r.readAsDataURL(e)})}async function Sf(e){if(e instanceof File)return await sP(e);if(Ja(e))return await Sf(tt(e));if(typeof e=="object"||Array.isArray(e))for(const[t,r]of Object.entries(e))e[t]=await Sf(r);return e}const Ar=Jv("formData",{state:()=>({formData:{},defaultFormData:{}}),getters:{arrayAliasIndices:e=>nP(e.formData),cleanedFormData:e=>oP(e.formData)}});function Pr(){const e=Tt(l0),t=Tt(u0);if(!Of(e)||!Of(t))throw new Error("fs and savePath must be provided");const r=at(()=>e.value.jsonElement),n=at(()=>e.value.uiElement);return{jsonElement:r,layoutElement:n,savePath:t}}function y0(...e){return $s.has(...e)?$s.get(...e):null}function iP(e){return J(()=>{if(!e)throw new Error("No layout found");let t=$s.parse(e.value.scope);return t.length<2?null:(t=t.slice(0,-2),$s.compile(t))})}function v0(e){return J(()=>{if(e.value.options?.forceRequired)return!0;const t=iP(e);if(t.value===null)return!1;const r=e.value.scope.split("/").pop()||"";let n=Nl(t.value+"/required",!0);if(n.value!==void 0&&Array.isArray(n.value)&&n.value.includes(r))return!0;if(n=Nl(t.value+"/dependentRequired",!0),!n.value||typeof n!="object")return!1;for(const[o,s]of Object.entries(n.value))if(Array.isArray(s)&&s.includes(r)){const i=(Tt(Al,void 0)||e.value.scope).split("/").slice(0,-1).join("/")+"/"+o;if(Ar().formData[i])return!0}return!1})}function aP(e){const t=e.toLowerCase().split("_");return t.forEach((r,n)=>{r&&(t[n]=(r[0]?.toUpperCase()??"")+r.slice(1))}),t.join(" ")}function Pl(e,t="items",r=""){return e.replace(new RegExp(`(?<=${r})\\.${Hi}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`,"g"),"/"+t)}function Nl(e,t=!1){return J(()=>{let r=e;const{jsonSchema:n}=jt(Zr());return n.value?(r=r.replace(new RegExp(`\\.${Hi}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`,"g"),"/items"),y0(n.value||{},r)||(t||console.error("No data under scope "+e),null)):null})}function Ef(e){const{jsonSchema:t}=jt(Zr()),r=Pl(e);return y0(t.value||{},r)?.type==="array"}function lP(e){return e.reduce((t,r)=>{const n=!(typeof r=="string"&&Gi(r));return t||n},!1)}function Il(e){const{jsonSchema:t}=jt(Zr()),r=Nl(e.value.scope);return J(()=>t.value?(r.value?.title||aP(e.value.scope.split("/").pop()||"")).concat(v0(e).value?"*":""):"")}class uP extends RA{conditionsAndResults=[];dependencies=[];registerSchemata(t,r,n,o){this.jsonSchema=t,this.uiSchema=r,this.scope=n,this.savePath=o,this.conditionsAndResults=this.getConditionsAndResults(),this.setDependencies()}setDependencies(){if(!this.savePath)return;const t=new Set;for(const r of this.conditionsAndResults)for(const n of r.conditions){const o=_f(this.savePath,-1)+"/"+n.key;t.add(o)}this.dependencies=Array.from(t)}getDependencies(){return this.dependencies}getFieldName(){return this.scope?.split("/").pop()}parseCondition([t,r]){let n,o;if("const"in r)n="const",o=r.const;else if("enum"in r)n="enum",o=r.enum;else if("contains"in r)if("const"in r.contains)n="containsConst",o=r.contains.const;else if("enum"in r.contains)n="containsEnum",o=r.contains.enum;else throw new Error("Invalid contains condition");else throw new Error("Invalid condition");return{value:o,type:n,key:t}}parseConditions(t){return Object.entries(t).map(this.parseCondition)}getConditionsAndResults(){const t=this.getFieldName();if(!t||!this.scope||!this.jsonSchema||!this.uiSchema)return[];let r=_f(this.scope,-2)+"/allOf";r=Pl(r);let n;if($s.has(this.jsonSchema,r))n=$s.get(this.jsonSchema,r);else return[];return!n||!gP(n)?[]:n.map(o=>{if(x0(o)){const s=o.then.properties?.[t],i=o.else?.properties?.[t],a=o.then.required,l=o.else?.required;return!s&&!i&&!a&&!l?void 0:{conditions:this.parseConditions(o.if.properties),then:s,else:i,thenRequired:a,elseRequired:l}}}).filter(o=>o!==void 0)}checkConditionFulfilled(t,r){const n=this.savePath?r[_f(this.savePath,-1)+"/"+t.key]:void 0;if(n===void 0)return!1;switch(t.type){case"const":return HA(n,t.value);case"enum":return t.value.includes(n);case"containsConst":return Array.isArray(n)?n.includes(t.value):!1;case"containsEnum":return Array.isArray(n)?n.some(o=>t.value.includes(o)):!1}}map(t,r,n){const o=this.getFieldName();if(!this.jsonSchema||!this.uiSchema||!this.savePath||!o)return{jsonElement:t,uiElement:r};let s=JSON.parse(JSON.stringify(t)),i=JSON.parse(JSON.stringify(r)),a=!1,l=!1;for(const u of this.conditionsAndResults){const{then:c,else:h,elseRequired:f,thenRequired:d}=u;if(!c&&!h&&!d&&!f)continue;const g=u.conditions.every(p=>this.checkConditionFulfilled(p,n)),v=g?c||{}:h||{};for(let[p,m]of Object.entries(v))if(hP(p)){if(typeof m!="object")s[p]!==m&&(s[p]=m,a=!0);else if(m){const b=(S,_,E)=>_,w=qA(s[p]||{},m,{arrayMerge:b});JSON.parse(JSON.stringify(w))!==JSON.parse(JSON.stringify(s[p]||{}))&&(s[p]=w,a=!0)}}(g?d:f)?.includes(o)&&(i.options||(i.options={}),i.options.forceRequired=!0,l=!0)}return{jsonElement:a?s:t,uiElement:l?i:r}}}function cP(e,t){return e in t}function Zt(e,t){return!(typeof e=="object"&&e!==null&&e!==void 0)||!cP(t,e)?!1:e[t]!==void 0&&e[t]!==null}function dP(e){return Zt(e,"showOn")}function b0(e){return Array.isArray(e.elements)}function fP(e){return e?"displayAs"in e&&e?.displayAs==="buttons":!1}function pP(e){return Zt(e,"options")&&Zt(e.options,"cssClass")}function w0(e){return e&&"path"in e&&"type"in e&&"referenceValue"in e}function hP(e){return jA.find(t=>t===e)!==void 0}function Fo(e,t){return Zt(e,"options")&&Zt(e.options,t)}function xf(e){return Zt(e,"items")&&typeof e.items=="object"&&!Array.isArray(e.items)}function _0(e){return Zt(e,"items")&&Zt(e.items,"enum")}function mP(e){return["text","number","email","password","search","url","tel","date","time","range","color","datetime","datetime-local","month","week"].includes(e)}function S0(e){return e instanceof e0}function gP(e){return Array.isArray(e)&&e.every(x0)}function yP(e){return Zt(e,"properties")&&Object.values(e.properties).every(t=>Zt(t,"const")||Zt(t,"enum")||Zt(t,"contains")&&(Zt(t.contains,"const")||Zt(t.contains,"enum")))}function E0(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function x0(e){return Zt(e,"if")&&yP(e.if)&&"then"in e&&E0(e.then)&&("else"in e?E0(e.else):!0)}function Of(e){return e!==void 0}function O0(e){return e.type==="Wizard"}function vP(e){return!O0(e)}function hr(e,t,r){if(Fo(e,t)){const n=e.options[t];if(n!==void 0)return n}return r}function Yr(e){return J(()=>("vjf_control_for_"+e).replace(/\//g,"_"))}function bP(){return Math.random().toString(36).substring(7)}function Wi(e,...t){return J(()=>{const r=" "+t.join(" ");return pP(e)?e.options.cssClass.toString()+r:r})}var En={},Xr={},$0={},xn={},$f={},C0;function wP(){return C0||(C0=1,Object.defineProperty($f,"__esModule",{value:!0}),$f.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),$f}var Cf={},T0;function _P(){return T0||(T0=1,Object.defineProperty(Cf,"__esModule",{value:!0}),Cf.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Cf}var k0={},A0;function P0(){return A0||(A0=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(s){var i="";return s>65535&&(s-=65536,i+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),i+=String.fromCharCode(s),i};function n(s){var i;return s>=55296&&s<=57343||s>1114111?65533:(i=r.get(s))!==null&&i!==void 0?i:s}e.replaceCodePoint=n;function o(s){return(0,e.fromCodePoint)(n(s))}e.default=o}(k0)),k0}var N0;function Dl(){return N0||(N0=1,function(e){var t=xn&&xn.__createBinding||(Object.create?function(D,M,z,F){F===void 0&&(F=z);var ue=Object.getOwnPropertyDescriptor(M,z);(!ue||("get"in ue?!M.__esModule:ue.writable||ue.configurable))&&(ue={enumerable:!0,get:function(){return M[z]}}),Object.defineProperty(D,F,ue)}:function(D,M,z,F){F===void 0&&(F=z),D[F]=M[z]}),r=xn&&xn.__setModuleDefault||(Object.create?function(D,M){Object.defineProperty(D,"default",{enumerable:!0,value:M})}:function(D,M){D.default=M}),n=xn&&xn.__importStar||function(D){if(D&&D.__esModule)return D;var M={};if(D!=null)for(var z in D)z!=="default"&&Object.prototype.hasOwnProperty.call(D,z)&&t(M,D,z);return r(M,D),M},o=xn&&xn.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var s=o(wP());e.htmlDecodeTree=s.default;var i=o(_P());e.xmlDecodeTree=i.default;var a=n(P0());e.decodeCodePoint=a.default;var l=P0();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return l.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return l.fromCodePoint}});var u;(function(D){D[D.NUM=35]="NUM",D[D.SEMI=59]="SEMI",D[D.EQUALS=61]="EQUALS",D[D.ZERO=48]="ZERO",D[D.NINE=57]="NINE",D[D.LOWER_A=97]="LOWER_A",D[D.LOWER_F=102]="LOWER_F",D[D.LOWER_X=120]="LOWER_X",D[D.LOWER_Z=122]="LOWER_Z",D[D.UPPER_A=65]="UPPER_A",D[D.UPPER_F=70]="UPPER_F",D[D.UPPER_Z=90]="UPPER_Z"})(u||(u={}));var c=32,h;(function(D){D[D.VALUE_LENGTH=49152]="VALUE_LENGTH",D[D.BRANCH_LENGTH=16256]="BRANCH_LENGTH",D[D.JUMP_TABLE=127]="JUMP_TABLE"})(h=e.BinTrieFlags||(e.BinTrieFlags={}));function f(D){return D>=u.ZERO&&D<=u.NINE}function d(D){return D>=u.UPPER_A&&D<=u.UPPER_F||D>=u.LOWER_A&&D<=u.LOWER_F}function g(D){return D>=u.UPPER_A&&D<=u.UPPER_Z||D>=u.LOWER_A&&D<=u.LOWER_Z||f(D)}function v(D){return D===u.EQUALS||g(D)}var p;(function(D){D[D.EntityStart=0]="EntityStart",D[D.NumericStart=1]="NumericStart",D[D.NumericDecimal=2]="NumericDecimal",D[D.NumericHex=3]="NumericHex",D[D.NamedEntity=4]="NamedEntity"})(p||(p={}));var m;(function(D){D[D.Legacy=0]="Legacy",D[D.Strict=1]="Strict",D[D.Attribute=2]="Attribute"})(m=e.DecodingMode||(e.DecodingMode={}));var b=function(){function D(M,z,F){this.decodeTree=M,this.emitCodePoint=z,this.errors=F,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=m.Strict}return D.prototype.startEntity=function(M){this.decodeMode=M,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},D.prototype.write=function(M,z){switch(this.state){case p.EntityStart:return M.charCodeAt(z)===u.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(M,z+1)):(this.state=p.NamedEntity,this.stateNamedEntity(M,z));case p.NumericStart:return this.stateNumericStart(M,z);case p.NumericDecimal:return this.stateNumericDecimal(M,z);case p.NumericHex:return this.stateNumericHex(M,z);case p.NamedEntity:return this.stateNamedEntity(M,z)}},D.prototype.stateNumericStart=function(M,z){return z>=M.length?-1:(M.charCodeAt(z)|c)===u.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(M,z+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(M,z))},D.prototype.addToNumericResult=function(M,z,F,ue){if(z!==F){var K=F-z;this.result=this.result*Math.pow(ue,K)+parseInt(M.substr(z,K),ue),this.consumed+=K}},D.prototype.stateNumericHex=function(M,z){for(var F=z;z>14;z>14,K!==0){if(he===u.SEMI)return this.emitNamedEntityData(this.treeIndex,K,this.consumed+this.excess);this.decodeMode!==m.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},D.prototype.emitNotTerminatedNamedEntity=function(){var M,z=this,F=z.result,ue=z.decodeTree,K=(ue[F]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(F,K,this.consumed),(M=this.errors)===null||M===void 0||M.missingSemicolonAfterCharacterReference(),this.consumed},D.prototype.emitNamedEntityData=function(M,z,F){var ue=this.decodeTree;return this.emitCodePoint(z===1?ue[M]&~h.VALUE_LENGTH:ue[M+1],F),z===3&&this.emitCodePoint(ue[M+2],F),F},D.prototype.end=function(){var M;switch(this.state){case p.NamedEntity:return this.result!==0&&(this.decodeMode!==m.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return(M=this.errors)===null||M===void 0||M.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},D}();e.EntityDecoder=b;function w(D){var M="",z=new b(D,function(F){return M+=(0,a.fromCodePoint)(F)});return function(F,ue){for(var K=0,he=0;(he=F.indexOf("&",he))>=0;){M+=F.slice(K,he),z.startEntity(ue);var ie=z.write(F,he+1);if(ie<0){K=he+z.end();break}K=he+ie,he=ie===0?K+1:K}var ve=M+F.slice(K);return M="",ve}}function S(D,M,z,F){var ue=(M&h.BRANCH_LENGTH)>>7,K=M&h.JUMP_TABLE;if(ue===0)return K!==0&&F===K?z:-1;if(K){var he=F-K;return he<0||he>=ue?-1:D[z+he]-1}for(var ie=z,ve=ie+ue-1;ie<=ve;){var ce=ie+ve>>>1,W=D[ce];if(WF)ve=ce-1;else return D[ce+ue]}return-1}e.determineBranch=S;var _=w(s.default),E=w(i.default);function O(D,M){return M===void 0&&(M=m.Legacy),_(D,M)}e.decodeHTML=O;function P(D){return _(D,m.Attribute)}e.decodeHTMLAttribute=P;function A(D){return _(D,m.Strict)}e.decodeHTMLStrict=A;function V(D){return E(D,m.Strict)}e.decodeXML=V}(xn)),xn}var I0;function D0(){return I0||(I0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Dl(),r;(function(f){f[f.Tab=9]="Tab",f[f.NewLine=10]="NewLine",f[f.FormFeed=12]="FormFeed",f[f.CarriageReturn=13]="CarriageReturn",f[f.Space=32]="Space",f[f.ExclamationMark=33]="ExclamationMark",f[f.Number=35]="Number",f[f.Amp=38]="Amp",f[f.SingleQuote=39]="SingleQuote",f[f.DoubleQuote=34]="DoubleQuote",f[f.Dash=45]="Dash",f[f.Slash=47]="Slash",f[f.Zero=48]="Zero",f[f.Nine=57]="Nine",f[f.Semi=59]="Semi",f[f.Lt=60]="Lt",f[f.Eq=61]="Eq",f[f.Gt=62]="Gt",f[f.Questionmark=63]="Questionmark",f[f.UpperA=65]="UpperA",f[f.LowerA=97]="LowerA",f[f.UpperF=70]="UpperF",f[f.LowerF=102]="LowerF",f[f.UpperZ=90]="UpperZ",f[f.LowerZ=122]="LowerZ",f[f.LowerX=120]="LowerX",f[f.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(f){f[f.Text=1]="Text",f[f.BeforeTagName=2]="BeforeTagName",f[f.InTagName=3]="InTagName",f[f.InSelfClosingTag=4]="InSelfClosingTag",f[f.BeforeClosingTagName=5]="BeforeClosingTagName",f[f.InClosingTagName=6]="InClosingTagName",f[f.AfterClosingTagName=7]="AfterClosingTagName",f[f.BeforeAttributeName=8]="BeforeAttributeName",f[f.InAttributeName=9]="InAttributeName",f[f.AfterAttributeName=10]="AfterAttributeName",f[f.BeforeAttributeValue=11]="BeforeAttributeValue",f[f.InAttributeValueDq=12]="InAttributeValueDq",f[f.InAttributeValueSq=13]="InAttributeValueSq",f[f.InAttributeValueNq=14]="InAttributeValueNq",f[f.BeforeDeclaration=15]="BeforeDeclaration",f[f.InDeclaration=16]="InDeclaration",f[f.InProcessingInstruction=17]="InProcessingInstruction",f[f.BeforeComment=18]="BeforeComment",f[f.CDATASequence=19]="CDATASequence",f[f.InSpecialComment=20]="InSpecialComment",f[f.InCommentLike=21]="InCommentLike",f[f.BeforeSpecialS=22]="BeforeSpecialS",f[f.SpecialStartSequence=23]="SpecialStartSequence",f[f.InSpecialTag=24]="InSpecialTag",f[f.BeforeEntity=25]="BeforeEntity",f[f.BeforeNumericEntity=26]="BeforeNumericEntity",f[f.InNamedEntity=27]="InNamedEntity",f[f.InNumericEntity=28]="InNumericEntity",f[f.InHexEntity=29]="InHexEntity"})(n||(n={}));function o(f){return f===r.Space||f===r.NewLine||f===r.Tab||f===r.FormFeed||f===r.CarriageReturn}function s(f){return f===r.Slash||f===r.Gt||o(f)}function i(f){return f>=r.Zero&&f<=r.Nine}function a(f){return f>=r.LowerA&&f<=r.LowerZ||f>=r.UpperA&&f<=r.UpperZ}function l(f){return f>=r.UpperA&&f<=r.UpperF||f>=r.LowerA&&f<=r.LowerF}var u;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(u=e.QuoteType||(e.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function f(d,g){var v=d.xmlMode,p=v===void 0?!1:v,m=d.decodeEntities,b=m===void 0?!0:m;this.cbs=g,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=p,this.decodeEntities=b,this.entityTrie=p?t.xmlDecodeTree:t.htmlDecodeTree}return f.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},f.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},f.prototype.end=function(){this.running&&this.finish()},f.prototype.pause=function(){this.running=!1},f.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity)},f.prototype.stateSpecialStartSequence=function(d){var g=this.sequenceIndex===this.currentSequence.length,v=g?s(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!v)this.isSpecial=!1;else if(!g){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},f.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===r.Gt||o(d)){var g=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&d!==r.Semi)this.trieIndex+=v;else{var p=this.index-this.entityExcess+1;p>this.sectionStart&&this.emitPartial(this.sectionStart,p),this.entityResult=this.trieIndex,this.trieIndex+=v,this.entityExcess=0,this.sectionStart=this.index+1,v===0&&this.emitNamedEntity()}}},f.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},f.prototype.stateBeforeNumericEntity=function(d){(d|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},f.prototype.emitNumericEntity=function(d){var g=this.index-this.entityExcess-1,v=g+2+ +(this.state===n.InHexEntity);v!==this.index&&(g>this.sectionStart&&this.emitPartial(this.sectionStart,g),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},f.prototype.stateInNumericEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*10+(d-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.stateInHexEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*16+(d-r.Zero),this.entityExcess++):l(d)?(this.entityResult=this.entityResult*16+((d|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},f.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},f.prototype.shouldContinue=function(){return this.index0&&E.has(this.stack[this.stack.length-1]);){var O=this.stack.pop();(w=(b=this.cbs).onclosetag)===null||w===void 0||w.call(b,O,!0)}this.isVoidElement(m)||(this.stack.push(m),f.has(m)?this.foreignContext.push(!0):d.has(m)&&this.foreignContext.push(!1)),(_=(S=this.cbs).onopentagname)===null||_===void 0||_.call(S,m),this.cbs.onopentag&&(this.attribs={})},p.prototype.endOpenTag=function(m){var b,w;this.startIndex=this.openTagStart,this.attribs&&((w=(b=this.cbs).onopentag)===null||w===void 0||w.call(b,this.tagname,this.attribs,m),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},p.prototype.onopentagend=function(m){this.endIndex=m,this.endOpenTag(!1),this.startIndex=m+1},p.prototype.onclosetag=function(m,b){var w,S,_,E,O,P;this.endIndex=b;var A=this.getSlice(m,b);if(this.lowerCaseTagNames&&(A=A.toLowerCase()),(f.has(A)||d.has(A))&&this.foreignContext.pop(),this.isVoidElement(A))!this.options.xmlMode&&A==="br"&&((S=(w=this.cbs).onopentagname)===null||S===void 0||S.call(w,"br"),(E=(_=this.cbs).onopentag)===null||E===void 0||E.call(_,"br",{},!0),(P=(O=this.cbs).onclosetag)===null||P===void 0||P.call(O,"br",!1));else{var V=this.stack.lastIndexOf(A);if(V!==-1)if(this.cbs.onclosetag)for(var D=this.stack.length-V;D--;)this.cbs.onclosetag(this.stack.pop(),D!==0);else this.stack.length=V;else!this.options.xmlMode&&A==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=b+1},p.prototype.onselfclosingtag=function(m){this.endIndex=m,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=m+1):this.onopentagend(m)},p.prototype.closeCurrentTag=function(m){var b,w,S=this.tagname;this.endOpenTag(m),this.stack[this.stack.length-1]===S&&((w=(b=this.cbs).onclosetag)===null||w===void 0||w.call(b,S,!m),this.stack.pop())},p.prototype.onattribname=function(m,b){this.startIndex=m;var w=this.getSlice(m,b);this.attribname=this.lowerCaseAttributeNames?w.toLowerCase():w},p.prototype.onattribdata=function(m,b){this.attribvalue+=this.getSlice(m,b)},p.prototype.onattribentity=function(m){this.attribvalue+=(0,o.fromCodePoint)(m)},p.prototype.onattribend=function(m,b){var w,S;this.endIndex=b,(S=(w=this.cbs).onattribute)===null||S===void 0||S.call(w,this.attribname,this.attribvalue,m===n.QuoteType.Double?'"':m===n.QuoteType.Single?"'":m===n.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},p.prototype.getInstructionName=function(m){var b=m.search(g),w=b<0?m:m.substr(0,b);return this.lowerCaseTagNames&&(w=w.toLowerCase()),w},p.prototype.ondeclaration=function(m,b){this.endIndex=b;var w=this.getSlice(m,b);if(this.cbs.onprocessinginstruction){var S=this.getInstructionName(w);this.cbs.onprocessinginstruction("!".concat(S),"!".concat(w))}this.startIndex=b+1},p.prototype.onprocessinginstruction=function(m,b){this.endIndex=b;var w=this.getSlice(m,b);if(this.cbs.onprocessinginstruction){var S=this.getInstructionName(w);this.cbs.onprocessinginstruction("?".concat(S),"?".concat(w))}this.startIndex=b+1},p.prototype.oncomment=function(m,b,w){var S,_,E,O;this.endIndex=b,(_=(S=this.cbs).oncomment)===null||_===void 0||_.call(S,this.getSlice(m,b-w)),(O=(E=this.cbs).oncommentend)===null||O===void 0||O.call(E),this.startIndex=b+1},p.prototype.oncdata=function(m,b,w){var S,_,E,O,P,A,V,D,M,z;this.endIndex=b;var F=this.getSlice(m,b-w);this.options.xmlMode||this.options.recognizeCDATA?((_=(S=this.cbs).oncdatastart)===null||_===void 0||_.call(S),(O=(E=this.cbs).ontext)===null||O===void 0||O.call(E,F),(A=(P=this.cbs).oncdataend)===null||A===void 0||A.call(P)):((D=(V=this.cbs).oncomment)===null||D===void 0||D.call(V,"[CDATA[".concat(F,"]]")),(z=(M=this.cbs).oncommentend)===null||z===void 0||z.call(M)),this.startIndex=b+1},p.prototype.onend=function(){var m,b;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var w=this.stack.length;w>0;this.cbs.onclosetag(this.stack[--w],!0));}(b=(m=this.cbs).onend)===null||b===void 0||b.call(m)},p.prototype.reset=function(){var m,b,w,S;(b=(m=this.cbs).onreset)===null||b===void 0||b.call(m),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(S=(w=this.cbs).onparserinit)===null||S===void 0||S.call(w,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},p.prototype.parseComplete=function(m){this.reset(),this.end(m)},p.prototype.getSlice=function(m,b){for(;m-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var w=this.buffers[0].slice(m-this.bufferOffset,b-this.bufferOffset);b-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),w+=this.buffers[0].slice(0,b-this.bufferOffset);return w},p.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},p.prototype.write=function(m){var b,w;if(this.ended){(w=(b=this.cbs).onerror)===null||w===void 0||w.call(b,new Error(".write() after done!"));return}this.buffers.push(m),this.tokenizer.running&&(this.tokenizer.write(m),this.writeIndex++)},p.prototype.end=function(m){var b,w;if(this.ended){(w=(b=this.cbs).onerror)===null||w===void 0||w.call(b,new Error(".end() after done!"));return}m&&this.write(m),this.ended=!0,this.tokenizer.end()},p.prototype.pause=function(){this.tokenizer.pause()},p.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return this.children},set:function(O){this.children=O},enumerable:!1,configurable:!0}),E}(n);Qe.NodeWithChildren=l;var u=function(_){e(E,_);function E(){var O=_!==null&&_.apply(this,arguments)||this;return O.type=r.ElementType.CDATA,O}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),E}(l);Qe.CDATA=u;var c=function(_){e(E,_);function E(){var O=_!==null&&_.apply(this,arguments)||this;return O.type=r.ElementType.Root,O}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),E}(l);Qe.Document=c;var h=function(_){e(E,_);function E(O,P,A,V){A===void 0&&(A=[]),V===void 0&&(V=O==="script"?r.ElementType.Script:O==="style"?r.ElementType.Style:r.ElementType.Tag);var D=_.call(this,A)||this;return D.name=O,D.attribs=P,D.type=V,D}return Object.defineProperty(E.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"tagName",{get:function(){return this.name},set:function(O){this.name=O},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"attributes",{get:function(){var O=this;return Object.keys(this.attribs).map(function(P){var A,V;return{name:P,value:O.attribs[P],namespace:(A=O["x-attribsNamespace"])===null||A===void 0?void 0:A[P],prefix:(V=O["x-attribsPrefix"])===null||V===void 0?void 0:V[P]}})},enumerable:!1,configurable:!0}),E}(l);Qe.Element=h;function f(_){return(0,r.isTag)(_)}Qe.isTag=f;function d(_){return _.type===r.ElementType.CDATA}Qe.isCDATA=d;function g(_){return _.type===r.ElementType.Text}Qe.isText=g;function v(_){return _.type===r.ElementType.Comment}Qe.isComment=v;function p(_){return _.type===r.ElementType.Directive}Qe.isDirective=p;function m(_){return _.type===r.ElementType.Root}Qe.isDocument=m;function b(_){return Object.prototype.hasOwnProperty.call(_,"children")}Qe.hasChildren=b;function w(_,E){E===void 0&&(E=!1);var O;if(g(_))O=new s(_.data);else if(v(_))O=new i(_.data);else if(f(_)){var P=E?S(_.children):[],A=new h(_.name,t({},_.attribs),P);P.forEach(function(z){return z.parent=A}),_.namespace!=null&&(A.namespace=_.namespace),_["x-attribsNamespace"]&&(A["x-attribsNamespace"]=t({},_["x-attribsNamespace"])),_["x-attribsPrefix"]&&(A["x-attribsPrefix"]=t({},_["x-attribsPrefix"])),O=A}else if(d(_)){var P=E?S(_.children):[],V=new u(P);P.forEach(function(F){return F.parent=V}),O=V}else if(m(_)){var P=E?S(_.children):[],D=new c(P);P.forEach(function(F){return F.parent=D}),_["x-mode"]&&(D["x-mode"]=_["x-mode"]),O=D}else if(p(_)){var M=new a(_.name,_.data);_["x-name"]!=null&&(M["x-name"]=_["x-name"],M["x-publicId"]=_["x-publicId"],M["x-systemId"]=_["x-systemId"]),O=M}else throw new Error("Not implemented yet: ".concat(_.type));return O.startIndex=_.startIndex,O.endIndex=_.endIndex,_.sourceCodeLocation!=null&&(O.sourceCodeLocation=_.sourceCodeLocation),O}Qe.cloneNode=w;function S(_){for(var E=_.map(function(P){return w(P,!0)}),O=1;O$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(o,s){return o.codePointAt(s)}:function(o,s){return(o.charCodeAt(s)&64512)===55296?(o.charCodeAt(s)-55296)*1024+o.charCodeAt(s+1)-56320+65536:o.charCodeAt(s)};function r(o){for(var s="",i=0,a;(a=e.xmlReplacer.exec(o))!==null;){var l=a.index,u=o.charCodeAt(l),c=t.get(u);c!==void 0?(s+=o.substring(i,l)+c,i=l+1):(s+="".concat(o.substring(i,l),"&#x").concat((0,e.getCodePoint)(o,l).toString(16),";"),i=e.xmlReplacer.lastIndex+=+((u&64512)===55296))}return s+o.substr(i)}e.encodeXML=r,e.escape=r;function n(o,s){return function(i){for(var a,l=0,u="";a=o.exec(i);)l!==a.index&&(u+=i.substring(l,a.index)),u+=s.get(a[0].charCodeAt(0)),l=a.index+1;return u+i.substring(l)}}e.escapeUTF8=n(/[&<>'"]/g,t),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}(z0)),z0}var G0;function W0(){if(G0)return Wn;G0=1;var e=Wn&&Wn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.encodeNonAsciiHTML=Wn.encodeHTML=void 0;var t=e(SP()),r=Tf(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function o(a){return i(n,a)}Wn.encodeHTML=o;function s(a){return i(r.xmlReplacer,a)}Wn.encodeNonAsciiHTML=s;function i(a,l){for(var u="",c=0,h;(h=a.exec(l))!==null;){var f=h.index;u+=l.substring(c,f);var d=l.charCodeAt(f),g=t.default.get(d);if(typeof g=="object"){if(f+10&&(O+=h(S.children,_)),(_.xmlMode||!c.has(S.name))&&(O+=""))),O}function p(S){return"<".concat(S.data,">")}function m(S,_){var E,O=S.data||"";return((E=_.encodeEntities)!==null&&E!==void 0?E:_.decodeEntities)!==!1&&!(!_.xmlMode&&S.parent&&a.has(S.parent.name))&&(O=_.xmlMode||_.encodeEntities!=="utf8"?(0,s.encodeXML)(O):(0,s.escapeText)(O)),O}function b(S){return"")}function w(S){return"")}return br}var Y0;function X0(){if(Y0)return On;Y0=1;var e=On&&On.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(On,"__esModule",{value:!0}),On.getOuterHTML=o,On.getInnerHTML=s,On.getText=i,On.textContent=a,On.innerText=l;var t=_o(),r=e(OP()),n=Ki();function o(u,c){return(0,r.default)(u,c)}function s(u,c){return(0,t.hasChildren)(u)?u.children.map(function(h){return o(h,c)}).join(""):""}function i(u){return Array.isArray(u)?u.map(i).join(""):(0,t.isTag)(u)?u.name==="br"?` -`:i(u.children):(0,t.isCDATA)(u)?i(u.children):(0,t.isText)(u)?u.data:""}function a(u){return Array.isArray(u)?u.map(a).join(""):(0,t.hasChildren)(u)&&!(0,t.isComment)(u)?a(u.children):(0,t.isText)(u)?u.data:""}function l(u){return Array.isArray(u)?u.map(l).join(""):(0,t.hasChildren)(u)&&(u.type===n.ElementType.Tag||(0,t.isCDATA)(u))?l(u.children):(0,t.isText)(u)?u.data:""}return On}var Qr={},Q0;function $P(){if(Q0)return Qr;Q0=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.getChildren=t,Qr.getParent=r,Qr.getSiblings=n,Qr.getAttributeValue=o,Qr.hasAttrib=s,Qr.getName=i,Qr.nextElementSibling=a,Qr.prevElementSibling=l;var e=_o();function t(u){return(0,e.hasChildren)(u)?u.children:[]}function r(u){return u.parent||null}function n(u){var c,h,f=r(u);if(f!=null)return t(f);for(var d=[u],g=u.prev,v=u.next;g!=null;)d.unshift(g),c=g,g=c.prev;for(;v!=null;)d.push(v),h=v,v=h.next;return d}function o(u,c){var h;return(h=u.attribs)===null||h===void 0?void 0:h[c]}function s(u,c){return u.attribs!=null&&Object.prototype.hasOwnProperty.call(u.attribs,c)&&u.attribs[c]!=null}function i(u){return u.name}function a(u){for(var c,h=u.next;h!==null&&!(0,e.isTag)(h);)c=h,h=c.next;return h}function l(u){for(var c,h=u.prev;h!==null&&!(0,e.isTag)(h);)c=h,h=c.prev;return h}return Qr}var Kn={},eb;function CP(){if(eb)return Kn;eb=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.removeElement=e,Kn.replaceElement=t,Kn.appendChild=r,Kn.append=n,Kn.prependChild=o,Kn.prepend=s;function e(i){if(i.prev&&(i.prev.next=i.next),i.next&&(i.next.prev=i.prev),i.parent){var a=i.parent.children,l=a.lastIndexOf(i);l>=0&&a.splice(l,1)}i.next=null,i.prev=null,i.parent=null}function t(i,a){var l=a.prev=i.prev;l&&(l.next=a);var u=a.next=i.next;u&&(u.prev=a);var c=a.parent=i.parent;if(c){var h=c.children;h[h.lastIndexOf(i)]=a,i.parent=null}}function r(i,a){if(e(a),a.next=null,a.parent=i,i.children.push(a)>1){var l=i.children[i.children.length-2];l.next=a,a.prev=l}else a.prev=null}function n(i,a){e(a);var l=i.parent,u=i.next;if(a.next=u,a.prev=i,i.next=a,a.parent=l,u){if(u.prev=a,l){var c=l.children;c.splice(c.lastIndexOf(u),0,a)}}else l&&l.children.push(a)}function o(i,a){if(e(a),a.parent=i,a.prev=null,i.children.unshift(a)!==1){var l=i.children[1];l.prev=a,a.next=l}else a.next=null}function s(i,a){e(a);var l=i.parent;if(l){var u=l.children;u.splice(u.indexOf(i),0,a)}i.prev&&(i.prev.next=a),a.parent=l,a.prev=i.prev,a.next=i,i.prev=a}return Kn}var Jn={},tb;function rb(){if(tb)return Jn;tb=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.filter=t,Jn.find=r,Jn.findOneChild=n,Jn.findOne=o,Jn.existsOne=s,Jn.findAll=i;var e=_o();function t(a,l,u,c){return u===void 0&&(u=!0),c===void 0&&(c=1/0),r(a,Array.isArray(l)?l:[l],u,c)}function r(a,l,u,c){for(var h=[],f=[Array.isArray(l)?l:[l]],d=[0];;){if(d[0]>=f[0].length){if(d.length===1)return h;f.shift(),d.shift();continue}var g=f[0][d[0]++];if(a(g)&&(h.push(g),--c<=0))return h;u&&(0,e.hasChildren)(g)&&g.children.length>0&&(d.unshift(0),f.unshift(g.children))}}function n(a,l){return l.find(a)}function o(a,l,u){u===void 0&&(u=!0);for(var c=Array.isArray(l)?l:[l],h=0;h0){var d=o(a,f.children,!0);if(d)return d}}return null}function s(a,l){return(Array.isArray(l)?l:[l]).some(function(u){return(0,e.isTag)(u)&&a(u)||(0,e.hasChildren)(u)&&s(a,u.children)})}function i(a,l){for(var u=[],c=[Array.isArray(l)?l:[l]],h=[0];;){if(h[0]>=c[0].length){if(c.length===1)return u;c.shift(),h.shift();continue}var f=c[0][h[0]++];(0,e.isTag)(f)&&a(f)&&u.push(f),(0,e.hasChildren)(f)&&f.children.length>0&&(h.unshift(0),c.unshift(f.children))}}return Jn}var Zn={},nb;function ob(){if(nb)return Zn;nb=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.testElement=i,Zn.getElements=a,Zn.getElementById=l,Zn.getElementsByTagName=u,Zn.getElementsByClassName=c,Zn.getElementsByTagType=h;var e=_o(),t=rb(),r={tag_name:function(f){return typeof f=="function"?function(d){return(0,e.isTag)(d)&&f(d.name)}:f==="*"?e.isTag:function(d){return(0,e.isTag)(d)&&d.name===f}},tag_type:function(f){return typeof f=="function"?function(d){return f(d.type)}:function(d){return d.type===f}},tag_contains:function(f){return typeof f=="function"?function(d){return(0,e.isText)(d)&&f(d.data)}:function(d){return(0,e.isText)(d)&&d.data===f}}};function n(f,d){return typeof d=="function"?function(g){return(0,e.isTag)(g)&&d(g.attribs[f])}:function(g){return(0,e.isTag)(g)&&g.attribs[f]===d}}function o(f,d){return function(g){return f(g)||d(g)}}function s(f){var d=Object.keys(f).map(function(g){var v=f[g];return Object.prototype.hasOwnProperty.call(r,g)?r[g](v):n(g,v)});return d.length===0?null:d.reduce(o)}function i(f,d){var g=s(f);return g?g(d):!0}function a(f,d,g,v){v===void 0&&(v=1/0);var p=s(f);return p?(0,t.filter)(p,d,g,v):[]}function l(f,d,g){return g===void 0&&(g=!0),Array.isArray(d)||(d=[d]),(0,t.findOne)(n("id",f),d,g)}function u(f,d,g,v){return g===void 0&&(g=!0),v===void 0&&(v=1/0),(0,t.filter)(r.tag_name(f),d,g,v)}function c(f,d,g,v){return g===void 0&&(g=!0),v===void 0&&(v=1/0),(0,t.filter)(n("class",f),d,g,v)}function h(f,d,g,v){return g===void 0&&(g=!0),v===void 0&&(v=1/0),(0,t.filter)(r.tag_type(f),d,g,v)}return Zn}var So={},sb;function TP(){if(sb)return So;sb=1,Object.defineProperty(So,"__esModule",{value:!0}),So.DocumentPosition=void 0,So.removeSubsets=t,So.compareDocumentPosition=n,So.uniqueSort=o;var e=_o();function t(s){for(var i=s.length;--i>=0;){var a=s[i];if(i>0&&s.lastIndexOf(a,i-1)>=0){s.splice(i,1);continue}for(var l=a.parent;l;l=l.parent)if(s.includes(l)){s.splice(i,1);break}}return s}var r;(function(s){s[s.DISCONNECTED=1]="DISCONNECTED",s[s.PRECEDING=2]="PRECEDING",s[s.FOLLOWING=4]="FOLLOWING",s[s.CONTAINS=8]="CONTAINS",s[s.CONTAINED_BY=16]="CONTAINED_BY"})(r||(So.DocumentPosition=r={}));function n(s,i){var a=[],l=[];if(s===i)return 0;for(var u=(0,e.hasChildren)(s)?s:s.parent;u;)a.unshift(u),u=u.parent;for(u=(0,e.hasChildren)(i)?i:i.parent;u;)l.unshift(u),u=u.parent;for(var c=Math.min(a.length,l.length),h=0;hd.indexOf(v)?f===i?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:f===s?r.PRECEDING|r.CONTAINS:r.PRECEDING}function o(s){return s=s.filter(function(i,a,l){return!l.includes(i,a+1)}),s.sort(function(i,a){var l=n(i,a);return l&r.PRECEDING?-1:l&r.FOLLOWING?1:0}),s}return So}var Rl={},ib;function kP(){if(ib)return Rl;ib=1,Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.getFeed=r;var e=X0(),t=ob();function r(f){var d=l(h,f);return d?d.name==="feed"?n(d):o(d):null}function n(f){var d,g=f.children,v={type:"atom",items:(0,t.getElementsByTagName)("entry",g).map(function(b){var w,S=b.children,_={media:a(S)};c(_,"id","id",S),c(_,"title","title",S);var E=(w=l("link",S))===null||w===void 0?void 0:w.attribs.href;E&&(_.link=E);var O=u("summary",S)||u("content",S);O&&(_.description=O);var P=u("updated",S);return P&&(_.pubDate=new Date(P)),_})};c(v,"id","id",g),c(v,"title","title",g);var p=(d=l("link",g))===null||d===void 0?void 0:d.attribs.href;p&&(v.link=p),c(v,"description","subtitle",g);var m=u("updated",g);return m&&(v.updated=new Date(m)),c(v,"author","email",g,!0),v}function o(f){var d,g,v=(g=(d=l("channel",f.children))===null||d===void 0?void 0:d.children)!==null&&g!==void 0?g:[],p={type:f.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",f.children).map(function(b){var w=b.children,S={media:a(w)};c(S,"id","guid",w),c(S,"title","title",w),c(S,"link","link",w),c(S,"description","description",w);var _=u("pubDate",w)||u("dc:date",w);return _&&(S.pubDate=new Date(_)),S})};c(p,"title","title",v),c(p,"link","link",v),c(p,"description","description",v);var m=u("lastBuildDate",v);return m&&(p.updated=new Date(m)),c(p,"author","managingEditor",v,!0),p}var s=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(f){return(0,t.getElementsByTagName)("media:content",f).map(function(d){for(var g=d.attribs,v={medium:g.medium,isDefault:!!g.isDefault},p=0,m=s;p{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),ub}var Ml={},db;function NP(){if(db)return Ml;db=1,Object.defineProperty(Ml,"__esModule",{value:!0});/*! + */let _f;const pa=e=>_f=e,kT=()=>pp()&<(Sf)||_f,Sf=Symbol();function Ef(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ma;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ma||(ma={}));function RT(){const e=vc(!0),t=e.run(()=>Se({}));let r=[],n=[];const i=Gs({install(s){pa(i),i._a=s,s.provide(Sf,i),s.config.globalProperties.$pinia=i,n.forEach(a=>r.push(a)),n=[]},use(s){return this._a?r.push(s):n.push(s),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const Bg=()=>{};function jg(e,t,r,n=Bg){e.push(t);const i=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),n())};return!r&&oo()&&yc(i),i}function ds(e,...t){e.slice().forEach(r=>{r(...t)})}const IT=e=>e(),Lg=Symbol(),xf=Symbol();function Tf(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],i=e[r];Ef(i)&&Ef(n)&&e.hasOwnProperty(r)&&!st(n)&&!bn(n)?e[r]=Tf(i,n):e[r]=n}return e}const DT=Symbol();function MT(e){return!Ef(e)||!Object.prototype.hasOwnProperty.call(e,DT)}const{assign:ni}=Object;function BT(e){return!!(st(e)&&e.effect)}function jT(e,t,r,n){const{state:i,actions:s,getters:a}=t,o=r.state.value[e];let u;function l(){o||(r.state.value[e]=i?i():{});const c=ES(r.state.value[e]);return ni(c,s,Object.keys(a||{}).reduce((h,d)=>(h[d]=Gs(L(()=>{pa(r);const f=r._s.get(e);return a[d].call(f,f)})),h),{}))}return u=Fg(e,l,t,r,n,!0),u}function Fg(e,t,r={},n,i,s){let a;const o=ni({actions:{}},r),u={deep:!0};let l,c,h=[],d=[],f;const m=n.state.value[e];!s&&!m&&(n.state.value[e]={}),Se({});let y;function p($){let C;l=c=!1,typeof $=="function"?($(n.state.value[e]),C={type:ma.patchFunction,storeId:e,events:f}):(Tf(n.state.value[e],$),C={type:ma.patchObject,payload:$,storeId:e,events:f});const P=y=Symbol();_t().then(()=>{y===P&&(l=!0)}),c=!0,ds(h,C,n.state.value[e])}const v=s?function(){const{state:C}=r,P=C?C():{};this.$patch(A=>{ni(A,P)})}:Bg;function g(){a.stop(),h=[],d=[],n._s.delete(e)}const b=($,C="")=>{if(Lg in $)return $[xf]=C,$;const P=function(){pa(n);const A=Array.from(arguments),k=[],D=[];function U(Z){k.push(Z)}function q(Z){D.push(Z)}ds(d,{args:A,name:P[xf],store:w,after:U,onError:q});let ee;try{ee=$.apply(this&&this.$id===e?this:w,A)}catch(Z){throw ds(D,Z),Z}return ee instanceof Promise?ee.then(Z=>(ds(k,Z),Z)).catch(Z=>(ds(D,Z),Promise.reject(Z))):(ds(k,ee),ee)};return P[Lg]=!0,P[xf]=C,P},_={_p:n,$id:e,$onAction:jg.bind(null,d),$patch:p,$reset:v,$subscribe($,C={}){const P=jg(h,$,C.detached,()=>A()),A=a.run(()=>et(()=>n.state.value[e],k=>{(C.flush==="sync"?c:l)&&$({storeId:e,type:ma.direct,events:f},k)},ni({},u,C)));return P},$dispose:g},w=mo(_);n._s.set(e,w);const E=(n._a&&n._a.runWithContext||IT)(()=>n._e.run(()=>(a=vc()).run(()=>t({action:b}))));for(const $ in E){const C=E[$];if(st(C)&&!BT(C)||bn(C))s||(m&&MT(C)&&(st(C)?C.value=m[$]:Tf(C,m[$])),n.state.value[e][$]=C);else if(typeof C=="function"){const P=b(C,$);E[$]=P,o.actions[$]=C}}return ni(w,E),ni(je(w),E),Object.defineProperty(w,"$state",{get:()=>n.state.value[e],set:$=>{p(C=>{ni(C,$)})}}),n._p.forEach($=>{ni(w,a.run(()=>$({store:w,app:n._a,pinia:n,options:o})))}),m&&s&&r.hydrate&&r.hydrate(w.$state,m),l=!0,c=!0,w}/*! #__NO_SIDE_EFFECTS__ */function qg(e,t,r){let n;const i=typeof t=="function";n=i?r:t;function s(a,o){const u=pp();return a=a||(u?lt(Sf,null):null),a&&pa(a),a=_f,a._s.has(e)||(i?Fg(e,t,n,a):jT(e,n,a)),a._s.get(e)}return s.$id=e,s}function gt(e){const t=je(e),r={};for(const n in t){const i=t[n];i.effect?r[n]=L({get:()=>e[n],set(s){e[n]=s}}):(st(i)||bn(i))&&(r[n]=He(e,n))}return r}var Vg;(function(e){e["7bit"]="7bit",e["8bit"]="8bit",e.Base64="base64",e.Binary="binary",e.IETFToken="ietf-token",e.QuotedPrintable="quoted-printable",e.XToken="x-token"})(Vg||(Vg={}));var Ug;(function(e){e.Date="date",e.DateTime="date-time",e.Duration="duration",e.Email="email",e.Hostname="hostname",e.IDNEmail="idn-email",e.IDNHostname="idn-hostname",e.IPv4="ipv4",e.IPv6="ipv6",e.IRI="iri",e.IRIReference="iri-reference",e.JSONPointer="json-pointer",e.JSONPointerURIFragment="json-pointer-uri-fragment",e.RegEx="regex",e.RelativeJSONPointer="relative-json-pointer",e.Time="time",e.URI="uri",e.URIReference="uri-reference",e.URITemplate="uri-template",e.UUID="uuid"})(Ug||(Ug={}));var zg;(function(e){e.Array="array",e.Boolean="boolean",e.Integer="integer",e.Null="null",e.Number="number",e.Object="object",e.String="string"})(zg||(zg={}));const LT=["$anchor","$comment","$defs","$id","$recursiveAnchor","$recursiveRef","$ref","$schema","$vocabulary","additionalItems","additionalProperties","allOf","anyOf","const","contains","contentEncoding","contentMediaType","contentSchema","default","definitions","dependencies","dependentRequired","dependentSchemas","deprecated","description","else","enum","examples","exclusiveMaximum","exclusiveMinimum","format","if","items","maxContains","maximum","maxItems","maxLength","maxProperties","minContains","minimum","minItems","minLength","minProperties","multipleOf","not","oneOf","pattern","patternProperties","properties","propertyNames","readOnly","required","then","title","type","unevaluatedItems","unevaluatedProperties","uniqueItems","writeOnly"];class FT{constructor(){this.initialized=!1}async initialize(){this.initialized||(await this.initializeInternal(),this.initialized=!0)}validateJsonSchema(t){if(!this.initialized)throw new Error("Validator not initialized");return this.validateJsonSchemaInternal(t)}validateUiSchema(t){if(!this.initialized)throw new Error("Validator not initialized");return this.validateUiSchemaInternal(t)}}class qT extends FT{async initializeInternal(){}validateJsonSchemaInternal(t){return!0}validateUiSchemaInternal(t){return!0}getJsonSchemaValidationErrors(){return[]}getUiSchemaValidationErrors(){return[]}}function hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function VT(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var $f,Hg;function UT(){if(Hg)return $f;Hg=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return $f=function(n,i,s){if(t.call(i)!=="[object Function]")throw new TypeError("iterator must be a function");var a=n.length;if(a===+a)for(var o=0;o"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Nf=crypto.getRandomValues.bind(crypto)}return Nf(YT)}const Zg={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function QT(e,t,r){e=e||{};const n=e.random??e.rng?.()??XT();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,ZT(n)}function e$(e,t,r){return Zg.randomUUID&&!e?Zg.randomUUID():QT(e)}class Ti extends Error{}class t$ extends Ti{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class r$ extends Ti{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class n$ extends Ti{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ms extends Ti{}class Yg extends Ti{constructor(t){super(`Invalid unit ${t}`)}}class Ft extends Ti{}class ii extends Ti{constructor(){super("Zone is an abstract class")}}const de="numeric",Ir="short",fr="long",Xo={year:de,month:de,day:de},Xg={year:de,month:Ir,day:de},i$={year:de,month:Ir,day:de,weekday:Ir},Qg={year:de,month:fr,day:de},ev={year:de,month:fr,day:de,weekday:fr},tv={hour:de,minute:de},rv={hour:de,minute:de,second:de},nv={hour:de,minute:de,second:de,timeZoneName:Ir},iv={hour:de,minute:de,second:de,timeZoneName:fr},sv={hour:de,minute:de,hourCycle:"h23"},av={hour:de,minute:de,second:de,hourCycle:"h23"},ov={hour:de,minute:de,second:de,hourCycle:"h23",timeZoneName:Ir},uv={hour:de,minute:de,second:de,hourCycle:"h23",timeZoneName:fr},lv={year:de,month:de,day:de,hour:de,minute:de},cv={year:de,month:de,day:de,hour:de,minute:de,second:de},fv={year:de,month:Ir,day:de,hour:de,minute:de},dv={year:de,month:Ir,day:de,hour:de,minute:de,second:de},s$={year:de,month:Ir,day:de,weekday:Ir,hour:de,minute:de},hv={year:de,month:fr,day:de,hour:de,minute:de,timeZoneName:Ir},pv={year:de,month:fr,day:de,hour:de,minute:de,second:de,timeZoneName:Ir},mv={year:de,month:fr,day:de,weekday:fr,hour:de,minute:de,timeZoneName:fr},gv={year:de,month:fr,day:de,weekday:fr,hour:de,minute:de,second:de,timeZoneName:fr};class ga{get type(){throw new ii}get name(){throw new ii}get ianaName(){return this.name}get isUniversal(){throw new ii}offsetName(t,r){throw new ii}formatOffset(t,r){throw new ii}offset(t){throw new ii}equals(t){throw new ii}get isValid(){throw new ii}}let kf=null;class Qo extends ga{static get instance(){return kf===null&&(kf=new Qo),kf}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return Vv(t,r,n)}formatOffset(t,r){return wa(this.offset(t),r)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}const Rf=new Map;function a$(e){let t=Rf.get(e);return t===void 0&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Rf.set(e,t)),t}const o$={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function u$(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,s,a,o,u,l,c]=n;return[a,i,s,o,u,l,c]}function l$(e,t){const r=e.formatToParts(t),n=[];for(let i=0;i=0?m:1e3+m,(d-f)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let vv={};function c$(e,t={}){const r=JSON.stringify([e,t]);let n=vv[r];return n||(n=new Intl.ListFormat(e,t),vv[r]=n),n}const Df=new Map;function Mf(e,t={}){const r=JSON.stringify([e,t]);let n=Df.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(e,t),Df.set(r,n)),n}const Bf=new Map;function f$(e,t={}){const r=JSON.stringify([e,t]);let n=Bf.get(r);return n===void 0&&(n=new Intl.NumberFormat(e,t),Bf.set(r,n)),n}const jf=new Map;function d$(e,t={}){const{base:r,...n}=t,i=JSON.stringify([e,n]);let s=jf.get(i);return s===void 0&&(s=new Intl.RelativeTimeFormat(e,t),jf.set(i,s)),s}let va=null;function h$(){return va||(va=new Intl.DateTimeFormat().resolvedOptions().locale,va)}const Lf=new Map;function yv(e){let t=Lf.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Lf.set(e,t)),t}const Ff=new Map;function p$(e){let t=Ff.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...bv,...t}),Ff.set(e,t)}return t}function m$(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(r===-1)return[e];{let n,i;try{n=Mf(e).resolvedOptions(),i=e}catch{const u=e.substring(0,r);n=Mf(u).resolvedOptions(),i=u}const{numberingSystem:s,calendar:a}=n;return[i,s,a]}}function g$(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function v$(e){const t=[];for(let r=1;r<=12;r++){const n=$e.utc(2009,r,1);t.push(e(n))}return t}function y$(e){const t=[];for(let r=1;r<=7;r++){const n=$e.utc(2016,11,13+r);t.push(e(n))}return t}function eu(e,t,r,n){const i=e.listingMode();return i==="error"?null:i==="en"?r(t):n(t)}function b$(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||yv(e.locale).numberingSystem==="latn"}class w${constructor(t,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:i,floor:s,...a}=n;if(!r||Object.keys(a).length>0){const o={useGrouping:!1,...n};n.padTo>0&&(o.minimumIntegerDigits=n.padTo),this.inf=f$(t,o)}}format(t){if(this.inf){const r=this.floor?Math.floor(t):t;return this.inf.format(r)}else{const r=this.floor?Math.floor(t):Kf(t,3);return vt(r,this.padTo)}}}class _${constructor(t,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const a=-1*(t.offset/60),o=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&Pn.create(o).valid?(i=o,this.dt=t):(i="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,i=t.zone.name):(i="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||i,this.dtf=Mf(r,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(r=>{if(r.type==="timeZoneName"){const n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class S${constructor(t,r,n){this.opts={style:"long",...n},!r&&jv()&&(this.rtf=d$(t,n))}format(t,r){return this.rtf?this.rtf.format(t,r):z$(r,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,r){return this.rtf?this.rtf.formatToParts(t,r):[]}}const bv={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,r,n,i,s=!1){const a=t||ct.defaultLocale,o=a||(s?"en-US":h$()),u=r||ct.defaultNumberingSystem,l=n||ct.defaultOutputCalendar,c=Gf(i)||ct.defaultWeekSettings;return new tt(o,u,l,c,a)}static resetCache(){va=null,Df.clear(),Bf.clear(),jf.clear(),Lf.clear(),Ff.clear()}static fromObject({locale:t,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return tt.create(t,r,n,i)}constructor(t,r,n,i,s){const[a,o,u]=m$(t);this.locale=a,this.numberingSystem=r||o||null,this.outputCalendar=n||u||null,this.weekSettings=i,this.intl=g$(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=b$(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Gf(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,r=!1){return eu(this,t,Hv,()=>{const n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;const i=r?{month:t,day:"numeric"}:{month:t},s=r?"format":"standalone";if(!this.monthsCache[s][t]){const a=n?o=>this.dtFormatter(o,i).format():o=>this.extract(o,i,"month");this.monthsCache[s][t]=v$(a)}return this.monthsCache[s][t]})}weekdays(t,r=!1){return eu(this,t,Jv,()=>{const n=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=r?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=y$(s=>this.extract(s,n,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return eu(this,void 0,()=>Kv,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$e.utc(2016,11,13,9),$e.utc(2016,11,13,19)].map(r=>this.extract(r,t,"dayperiod"))}return this.meridiemCache})}eras(t){return eu(this,t,Zv,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[$e.utc(-40,1,1),$e.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[t]})}extract(t,r,n){const i=this.dtFormatter(t,r),s=i.formatToParts(),a=s.find(o=>o.type.toLowerCase()===n);return a?a.value:null}numberFormatter(t={}){return new w$(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,r={}){return new _$(t,this.intl,r)}relFormatter(t={}){return new S$(this.intl,this.isEnglish(),t)}listFormatter(t={}){return c$(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||yv(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Lv()?p$(this.locale):bv}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let qf=null;class Zt extends ga{static get utcInstance(){return qf===null&&(qf=new Zt(0)),qf}static instance(t){return t===0?Zt.utcInstance:new Zt(t)}static parseSpecifier(t){if(t){const r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new Zt(su(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${wa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${wa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return wa(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class E$ extends ga{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function si(e,t){if(Ae(e)||e===null)return t;if(e instanceof ga)return e;if(A$(e)){const r=e.toLowerCase();return r==="default"?t:r==="local"||r==="system"?Qo.instance:r==="utc"||r==="gmt"?Zt.utcInstance:Zt.parseSpecifier(r)||Pn.create(e)}else return ai(e)?Zt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new E$(e)}const Vf={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},wv={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},x$=Vf.hanidec.replace(/[\[|\]]/g,"").split("");function T$(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=s&&n<=a&&(t+=n-s)}}return parseInt(t,10)}else return t}const Uf=new Map;function $$(){Uf.clear()}function Dr({numberingSystem:e},t=""){const r=e||"latn";let n=Uf.get(r);n===void 0&&(n=new Map,Uf.set(r,n));let i=n.get(t);return i===void 0&&(i=new RegExp(`${Vf[r]}${t}`),n.set(t,i)),i}let _v=()=>Date.now(),Sv="system",Ev=null,xv=null,Tv=null,$v=60,Ov,Cv=null;class ct{static get now(){return _v}static set now(t){_v=t}static set defaultZone(t){Sv=t}static get defaultZone(){return si(Sv,Qo.instance)}static get defaultLocale(){return Ev}static set defaultLocale(t){Ev=t}static get defaultNumberingSystem(){return xv}static set defaultNumberingSystem(t){xv=t}static get defaultOutputCalendar(){return Tv}static set defaultOutputCalendar(t){Tv=t}static get defaultWeekSettings(){return Cv}static set defaultWeekSettings(t){Cv=Gf(t)}static get twoDigitCutoffYear(){return $v}static set twoDigitCutoffYear(t){$v=t%100}static get throwOnInvalid(){return Ov}static set throwOnInvalid(t){Ov=t}static resetCaches(){tt.resetCache(),Pn.resetCache(),$e.resetCache(),$$()}}class Mr{constructor(t,r){this.reason=t,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Av=[0,31,59,90,120,151,181,212,243,273,304,334],Pv=[0,31,60,91,121,152,182,213,244,274,305,335];function _r(e,t){return new Mr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function zf(e,t,r){const n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const i=n.getUTCDay();return i===0?7:i}function Nv(e,t,r){return r+(ya(e)?Pv:Av)[t-1]}function kv(e,t){const r=ya(e)?Pv:Av,n=r.findIndex(s=>sba(n,t,r)?(l=n+1,u=1):l=n,{weekYear:l,weekNumber:u,weekday:o,...ou(e)}}function Rv(e,t=4,r=1){const{weekYear:n,weekNumber:i,weekday:s}=e,a=Hf(zf(n,1,t),r),o=vs(n);let u=i*7+s-a-7+t,l;u<1?(l=n-1,u+=vs(l)):u>o?(l=n+1,u-=vs(n)):l=n;const{month:c,day:h}=kv(l,u);return{year:l,month:c,day:h,...ou(e)}}function Wf(e){const{year:t,month:r,day:n}=e,i=Nv(t,r,n);return{year:t,ordinal:i,...ou(e)}}function Iv(e){const{year:t,ordinal:r}=e,{month:n,day:i}=kv(t,r);return{year:t,month:n,day:i,...ou(e)}}function Dv(e,t){if(!Ae(e.localWeekday)||!Ae(e.localWeekNumber)||!Ae(e.localWeekYear)){if(!Ae(e.weekday)||!Ae(e.weekNumber)||!Ae(e.weekYear))throw new ms("Cannot mix locale-based week fields with ISO-based week fields");return Ae(e.localWeekday)||(e.weekday=e.localWeekday),Ae(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Ae(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function O$(e,t=4,r=1){const n=ru(e.weekYear),i=Sr(e.weekNumber,1,ba(e.weekYear,t,r)),s=Sr(e.weekday,1,7);return n?i?s?!1:_r("weekday",e.weekday):_r("week",e.weekNumber):_r("weekYear",e.weekYear)}function C$(e){const t=ru(e.year),r=Sr(e.ordinal,1,vs(e.year));return t?r?!1:_r("ordinal",e.ordinal):_r("year",e.year)}function Mv(e){const t=ru(e.year),r=Sr(e.month,1,12),n=Sr(e.day,1,nu(e.year,e.month));return t?r?n?!1:_r("day",e.day):_r("month",e.month):_r("year",e.year)}function Bv(e){const{hour:t,minute:r,second:n,millisecond:i}=e,s=Sr(t,0,23)||t===24&&r===0&&n===0&&i===0,a=Sr(r,0,59),o=Sr(n,0,59),u=Sr(i,0,999);return s?a?o?u?!1:_r("millisecond",i):_r("second",n):_r("minute",r):_r("hour",t)}function Ae(e){return typeof e>"u"}function ai(e){return typeof e=="number"}function ru(e){return typeof e=="number"&&e%1===0}function A$(e){return typeof e=="string"}function P$(e){return Object.prototype.toString.call(e)==="[object Date]"}function jv(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Lv(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function N$(e){return Array.isArray(e)?e:[e]}function Fv(e,t,r){if(e.length!==0)return e.reduce((n,i)=>{const s=[t(i),i];return n&&r(n[0],s[0])===n[0]?n:s},null)[1]}function k$(e,t){return t.reduce((r,n)=>(r[n]=e[n],r),{})}function gs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Gf(e){if(e==null)return null;if(typeof e!="object")throw new Ft("Week settings must be an object");if(!Sr(e.firstDay,1,7)||!Sr(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Sr(t,1,7)))throw new Ft("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Sr(e,t,r){return ru(e)&&e>=t&&e<=r}function R$(e,t){return e-t*Math.floor(e/t)}function vt(e,t=2){const r=e<0;let n;return r?n="-"+(""+-e).padStart(t,"0"):n=(""+e).padStart(t,"0"),n}function oi(e){if(!(Ae(e)||e===null||e===""))return parseInt(e,10)}function $i(e){if(!(Ae(e)||e===null||e===""))return parseFloat(e)}function Jf(e){if(!(Ae(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Kf(e,t,r="round"){const n=10**t;switch(r){case"expand":return e>0?Math.ceil(e*n)/n:Math.floor(e*n)/n;case"trunc":return Math.trunc(e*n)/n;case"round":return Math.round(e*n)/n;case"floor":return Math.floor(e*n)/n;case"ceil":return Math.ceil(e*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function ya(e){return e%4===0&&(e%100!==0||e%400===0)}function vs(e){return ya(e)?366:365}function nu(e,t){const r=R$(t-1,12)+1,n=e+(t-r)/12;return r===2?ya(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function iu(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function qv(e,t,r){return-Hf(zf(e,1,t),r)+t-1}function ba(e,t=4,r=1){const n=qv(e,t,r),i=qv(e+1,t,r);return(vs(e)-n+i)/7}function Zf(e){return e>99?e:e>ct.twoDigitCutoffYear?1900+e:2e3+e}function Vv(e,t,r,n=null){const i=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const a={timeZoneName:t,...s},o=new Intl.DateTimeFormat(r,a).formatToParts(i).find(u=>u.type.toLowerCase()==="timezonename");return o?o.value:null}function su(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const n=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function Uv(e){const t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new Ft(`Invalid unit value ${e}`);return t}function au(e,t){const r={};for(const n in e)if(gs(e,n)){const i=e[n];if(i==null)continue;r[t(n)]=Uv(i)}return r}function wa(e,t){const r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${vt(r,2)}:${vt(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${vt(r,2)}${vt(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function ou(e){return k$(e,["hour","minute","second","millisecond"])}const I$=["January","February","March","April","May","June","July","August","September","October","November","December"],zv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],D$=["J","F","M","A","M","J","J","A","S","O","N","D"];function Hv(e){switch(e){case"narrow":return[...D$];case"short":return[...zv];case"long":return[...I$];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Wv=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Gv=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],M$=["M","T","W","T","F","S","S"];function Jv(e){switch(e){case"narrow":return[...M$];case"short":return[...Gv];case"long":return[...Wv];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Kv=["AM","PM"],B$=["Before Christ","Anno Domini"],j$=["BC","AD"],L$=["B","A"];function Zv(e){switch(e){case"narrow":return[...L$];case"short":return[...j$];case"long":return[...B$];default:return null}}function F$(e){return Kv[e.hour<12?0:1]}function q$(e,t){return Jv(t)[e.weekday-1]}function V$(e,t){return Hv(t)[e.month-1]}function U$(e,t){return Zv(t)[e.year<0?0:1]}function z$(e,t,r="always",n=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&s){const h=e==="days";switch(t){case 1:return h?"tomorrow":`next ${i[e][0]}`;case-1:return h?"yesterday":`last ${i[e][0]}`;case 0:return h?"today":`this ${i[e][0]}`}}const a=Object.is(t,-0)||t<0,o=Math.abs(t),u=o===1,l=i[e],c=n?u?l[1]:l[2]||l[1]:u?i[e][0]:e;return a?`${o} ${c} ago`:`in ${o} ${c}`}function Yv(e,t){let r="";for(const n of e)n.literal?r+=n.val:r+=t(n.val);return r}const H$={D:Xo,DD:Xg,DDD:Qg,DDDD:ev,t:tv,tt:rv,ttt:nv,tttt:iv,T:sv,TT:av,TTT:ov,TTTT:uv,f:lv,ff:fv,fff:hv,ffff:mv,F:cv,FF:dv,FFF:pv,FFFF:gv};class qt{static create(t,r={}){return new qt(t,r)}static parseFormat(t){let r=null,n="",i=!1;const s=[];for(let a=0;a0||i)&&s.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||o===r?n+=o:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=o,r=o)}return n.length>0&&s.push({literal:i||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return H$[t]}constructor(t,r){this.opts=r,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...r}).format()}dtFormatter(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r})}formatDateTime(t,r){return this.dtFormatter(t,r).format()}formatDateTimeParts(t,r){return this.dtFormatter(t,r).formatToParts()}formatInterval(t,r){return this.dtFormatter(t.start,r).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,r){return this.dtFormatter(t,r).resolvedOptions()}num(t,r=0,n=void 0){if(this.opts.forceSimple)return vt(t,r);const i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,r){const n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(f,m)=>this.loc.extract(t,f,m),a=f=>t.isOffsetFixed&&t.offset===0&&f.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,f.format):"",o=()=>n?F$(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(f,m)=>n?V$(t,f):s(m?{month:f}:{month:f,day:"numeric"},"month"),l=(f,m)=>n?q$(t,f):s(m?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),c=f=>{const m=qt.macroTokenToFormatOpts(f);return m?this.formatWithSystemDefault(t,m):f},h=f=>n?U$(t,f):s({era:f},"era"),d=f=>{switch(f){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return i?s({day:"numeric"},"day"):this.num(t.day);case"dd":return i?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return i?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return i?s({month:"numeric"},"month"):this.num(t.month);case"MM":return i?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return i?s({year:"numeric"},"year"):this.num(t.year);case"yy":return i?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return c(f)}};return Yv(qt.parseFormat(r),d)}formatDurationFromString(t,r){const n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=c=>{switch(c[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},s=(c,h)=>d=>{const f=i(d);if(f){const m=h.isNegativeDuration&&f!==h.largestUnit?n:1;let y;return this.opts.signMode==="negativeLargestOnly"&&f!==h.largestUnit?y="never":this.opts.signMode==="all"?y="always":y="auto",this.num(c.get(f)*m,d.length,y)}else return d},a=qt.parseFormat(r),o=a.reduce((c,{literal:h,val:d})=>h?c:c.concat(d),[]),u=t.shiftTo(...o.map(i).filter(c=>c)),l={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return Yv(a,s(u,l))}}const Xv=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ys(...e){const t=e.reduce((r,n)=>r+n.source,"");return RegExp(`^${t}$`)}function bs(...e){return t=>e.reduce(([r,n,i],s)=>{const[a,o,u]=s(t,i);return[{...r,...a},o||n,u]},[{},null,1]).slice(0,2)}function ws(e,...t){if(e==null)return[null,null];for(const[r,n]of t){const i=r.exec(e);if(i)return n(i)}return[null,null]}function Qv(...e){return(t,r)=>{const n={};let i;for(i=0;if!==void 0&&(m||f&&c)?-f:f;return[{years:d($i(r)),months:d($i(n)),weeks:d($i(i)),days:d($i(s)),hours:d($i(a)),minutes:d($i(o)),seconds:d($i(u),u==="-0"),milliseconds:d(Jf(l),h)}]}const i4={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Qf(e,t,r,n,i,s,a){const o={year:t.length===2?Zf(oi(t)):oi(t),month:zv.indexOf(r)+1,day:oi(n),hour:oi(i),minute:oi(s)};return a&&(o.second=oi(a)),e&&(o.weekday=e.length>3?Wv.indexOf(e)+1:Gv.indexOf(e)+1),o}const s4=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function a4(e){const[,t,r,n,i,s,a,o,u,l,c,h]=e,d=Qf(t,i,n,r,s,a,o);let f;return u?f=i4[u]:l?f=0:f=su(c,h),[d,new Zt(f)]}function o4(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const u4=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,l4=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,c4=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function ny(e){const[,t,r,n,i,s,a,o]=e;return[Qf(t,i,n,r,s,a,o),Zt.utcInstance]}function f4(e){const[,t,r,n,i,s,a,o]=e;return[Qf(t,o,r,n,i,s,a),Zt.utcInstance]}const d4=ys(G$,Xf),h4=ys(J$,Xf),p4=ys(K$,Xf),m4=ys(ty),iy=bs(e4,Ss,_a,Sa),g4=bs(Z$,Ss,_a,Sa),v4=bs(Y$,Ss,_a,Sa),y4=bs(Ss,_a,Sa);function b4(e){return ws(e,[d4,iy],[h4,g4],[p4,v4],[m4,y4])}function w4(e){return ws(o4(e),[s4,a4])}function _4(e){return ws(e,[u4,ny],[l4,ny],[c4,f4])}function S4(e){return ws(e,[r4,n4])}const E4=bs(Ss);function x4(e){return ws(e,[t4,E4])}const T4=ys(X$,Q$),$4=ys(ry),O4=bs(Ss,_a,Sa);function C4(e){return ws(e,[T4,iy],[$4,O4])}const sy="Invalid Duration",ay={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},A4={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...ay},Er=146097/400,Es=146097/4800,P4={years:{quarters:4,months:12,weeks:Er/7,days:Er,hours:Er*24,minutes:Er*24*60,seconds:Er*24*60*60,milliseconds:Er*24*60*60*1e3},quarters:{months:3,weeks:Er/28,days:Er/4,hours:Er*24/4,minutes:Er*24*60/4,seconds:Er*24*60*60/4,milliseconds:Er*24*60*60*1e3/4},months:{weeks:Es/7,days:Es,hours:Es*24,minutes:Es*24*60,seconds:Es*24*60*60,milliseconds:Es*24*60*60*1e3},...ay},Oi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],N4=Oi.slice(0).reverse();function Nn(e,t,r=!1){const n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new qe(n)}function oy(e,t){let r=t.milliseconds??0;for(const n of N4.slice(1))t[n]&&(r+=t[n]*e[n].milliseconds);return r}function uy(e,t){const r=oy(e,t)<0?-1:1;Oi.reduceRight((n,i)=>{if(Ae(t[i]))return n;if(n){const s=t[n]*r,a=e[i][n],o=Math.floor(s/a);t[i]+=o*r,t[n]-=o*a*r}return i},null),Oi.reduce((n,i)=>{if(Ae(t[i]))return n;if(n){const s=t[n]%1;t[n]-=s,t[i]+=s*e[n][i]}return i},null)}function ly(e){const t={};for(const[r,n]of Object.entries(e))n!==0&&(t[r]=n);return t}class qe{constructor(t){const r=t.conversionAccuracy==="longterm"||!1;let n=r?P4:A4;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,r){return qe.fromObject({milliseconds:t},r)}static fromObject(t,r={}){if(t==null||typeof t!="object")throw new Ft(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new qe({values:au(t,qe.normalizeUnit),loc:tt.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if(ai(t))return qe.fromMillis(t);if(qe.isDuration(t))return t;if(typeof t=="object")return qe.fromObject(t);throw new Ft(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,r){const[n]=S4(t);return n?qe.fromObject(n,r):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){const[n]=x4(t);return n?qe.fromObject(n,r):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,r=null){if(!t)throw new Ft("need to specify a reason the Duration is invalid");const n=t instanceof Mr?t:new Mr(t,r);if(ct.throwOnInvalid)throw new n$(n);return new qe({invalid:n})}static normalizeUnit(t){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!r)throw new Yg(t);return r}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,r={}){const n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?qt.create(this.loc,n).formatDurationFromString(this,t):sy}toHuman(t={}){if(!this.isValid)return sy;const r=t.showZeros!==!1,n=Oi.map(i=>{const s=this.values[i];return Ae(s)||s===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(s)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Kf(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},$e.fromMillis(r,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?oy(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const r=qe.fromDurationLike(t),n={};for(const i of Oi)(gs(r.values,i)||gs(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Nn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const r=qe.fromDurationLike(t);return this.plus(r.negate())}mapUnits(t){if(!this.isValid)return this;const r={};for(const n of Object.keys(this.values))r[n]=Uv(t(this.values[n],n));return Nn(this,{values:r},!0)}get(t){return this[qe.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const r={...this.values,...au(t,qe.normalizeUnit)};return Nn(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Nn(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return uy(this.matrix,t),Nn(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=ly(this.normalize().shiftToAll().toObject());return Nn(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>qe.normalizeUnit(a));const r={},n={},i=this.toObject();let s;for(const a of Oi)if(t.indexOf(a)>=0){s=a;let o=0;for(const l in n)o+=this.matrix[l][a]*n[l],n[l]=0;ai(i[a])&&(o+=i[a]);const u=Math.trunc(o);r[a]=u,n[a]=(o*1e3-u*1e3)/1e3}else ai(i[a])&&(n[a]=i[a]);for(const a in n)n[a]!==0&&(r[s]+=a===s?n[a]:n[a]/this.matrix[s][a]);return uy(this.matrix,r),Nn(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=this.values[r]===0?0:-this.values[r];return Nn(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;const t=ly(this.values);return Nn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(const n of Oi)if(!r(this.values[n],t.values[n]))return!1;return!0}}const xs="Invalid Interval";function k4(e,t){return!e||!e.isValid?ft.invalid("missing or invalid start"):!t||!t.isValid?ft.invalid("missing or invalid end"):tt:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:r}={}){return this.isValid?ft.fromDateTimes(t||this.s,r||this.e):this}splitAt(...t){if(!this.isValid)return[];const r=t.map(Ta).filter(a=>this.contains(a)).sort((a,o)=>a.toMillis()-o.toMillis()),n=[];let{s:i}=this,s=0;for(;i+this.e?this.e:a;n.push(ft.fromDateTimes(i,o)),i=o,s+=1}return n}splitBy(t){const r=qe.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,s;const a=[];for(;nu*i));s=+o>+this.e?this.e:o,a.push(ft.fromDateTimes(n,s)),n=s,i+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const r=this.s>t.s?this.s:t.s,n=this.e=n?null:ft.fromDateTimes(r,n)}union(t){if(!this.isValid)return this;const r=this.st.e?this.e:t.e;return ft.fromDateTimes(r,n)}static merge(t){const[r,n]=t.sort((i,s)=>i.s-s.s).reduce(([i,s],a)=>s?s.overlaps(a)||s.abutsStart(a)?[i,s.union(a)]:[i.concat([s]),a]:[i,a],[[],null]);return n&&r.push(n),r}static xor(t){let r=null,n=0;const i=[],s=t.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),a=Array.prototype.concat(...s),o=a.sort((u,l)=>u.time-l.time);for(const u of o)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&i.push(ft.fromDateTimes(r,u.time)),r=null);return ft.merge(i)}difference(...t){return ft.xor([this].concat(t)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:xs}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Xo,r={}){return this.isValid?qt.create(this.s.loc.clone(r),t).formatInterval(this):xs}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:xs}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:xs}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:xs}toFormat(t,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${r}${this.e.toFormat(t)}`:xs}toDuration(t,r){return this.isValid?this.e.diff(this.s,t,r):qe.invalid(this.invalidReason)}mapEndpoints(t){return ft.fromDateTimes(t(this.s),t(this.e))}}class uu{static hasDST(t=ct.defaultZone){const r=$e.now().setZone(t).set({month:12});return!t.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(t){return Pn.isValidZone(t)}static normalizeZone(t){return si(t,ct.defaultZone)}static getStartOfWeek({locale:t=null,locObj:r=null}={}){return(r||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:r=null}={}){return(r||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:r=null}={}){return(r||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||tt.create(r,n,s)).months(t)}static monthsFormat(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||tt.create(r,n,s)).months(t,!0)}static weekdays(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||tt.create(r,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||tt.create(r,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:r=null}={}){return tt.create(r,null,"gregory").eras(t)}static features(){return{relative:jv(),localeWeek:Lv()}}}function cy(e,t){const r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(qe.fromMillis(n).as("days"))}function R4(e,t,r){const n=[["years",(u,l)=>l.year-u.year],["quarters",(u,l)=>l.quarter-u.quarter+(l.year-u.year)*4],["months",(u,l)=>l.month-u.month+(l.year-u.year)*12],["weeks",(u,l)=>{const c=cy(u,l);return(c-c%7)/7}],["days",cy]],i={},s=e;let a,o;for(const[u,l]of n)r.indexOf(u)>=0&&(a=u,i[u]=l(e,t),o=s.plus(i),o>t?(i[u]--,e=s.plus(i),e>t&&(o=e,i[u]--,e=s.plus(i))):e=o);return[e,i,o,a]}function I4(e,t,r,n){let[i,s,a,o]=R4(e,t,r);const u=t-i,l=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);l.length===0&&(a0?qe.fromMillis(u,n).shiftTo(...l).plus(c):c}const D4="missing Intl.DateTimeFormat.formatToParts support";function Xe(e,t=r=>r){return{regex:e,deser:([r])=>t(T$(r))}}const fy="[  ]",dy=new RegExp(fy,"g");function M4(e){return e.replace(/\./g,"\\.?").replace(dy,fy)}function hy(e){return e.replace(/\./g,"").replace(dy," ").toLowerCase()}function Br(e,t){return e===null?null:{regex:RegExp(e.map(M4).join("|")),deser:([r])=>e.findIndex(n=>hy(r)===hy(n))+t}}function py(e,t){return{regex:e,deser:([,r,n])=>su(r,n),groups:t}}function lu(e){return{regex:e,deser:([t])=>t}}function B4(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function j4(e,t){const r=Dr(t),n=Dr(t,"{2}"),i=Dr(t,"{3}"),s=Dr(t,"{4}"),a=Dr(t,"{6}"),o=Dr(t,"{1,2}"),u=Dr(t,"{1,3}"),l=Dr(t,"{1,6}"),c=Dr(t,"{1,9}"),h=Dr(t,"{2,4}"),d=Dr(t,"{4,6}"),f=p=>({regex:RegExp(B4(p.val)),deser:([v])=>v,literal:!0}),y=(p=>{if(e.literal)return f(p);switch(p.val){case"G":return Br(t.eras("short"),0);case"GG":return Br(t.eras("long"),0);case"y":return Xe(l);case"yy":return Xe(h,Zf);case"yyyy":return Xe(s);case"yyyyy":return Xe(d);case"yyyyyy":return Xe(a);case"M":return Xe(o);case"MM":return Xe(n);case"MMM":return Br(t.months("short",!0),1);case"MMMM":return Br(t.months("long",!0),1);case"L":return Xe(o);case"LL":return Xe(n);case"LLL":return Br(t.months("short",!1),1);case"LLLL":return Br(t.months("long",!1),1);case"d":return Xe(o);case"dd":return Xe(n);case"o":return Xe(u);case"ooo":return Xe(i);case"HH":return Xe(n);case"H":return Xe(o);case"hh":return Xe(n);case"h":return Xe(o);case"mm":return Xe(n);case"m":return Xe(o);case"q":return Xe(o);case"qq":return Xe(n);case"s":return Xe(o);case"ss":return Xe(n);case"S":return Xe(u);case"SSS":return Xe(i);case"u":return lu(c);case"uu":return lu(o);case"uuu":return Xe(r);case"a":return Br(t.meridiems(),0);case"kkkk":return Xe(s);case"kk":return Xe(h,Zf);case"W":return Xe(o);case"WW":return Xe(n);case"E":case"c":return Xe(r);case"EEE":return Br(t.weekdays("short",!1),1);case"EEEE":return Br(t.weekdays("long",!1),1);case"ccc":return Br(t.weekdays("short",!0),1);case"cccc":return Br(t.weekdays("long",!0),1);case"Z":case"ZZ":return py(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return py(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return lu(/[a-z_+-/]{1,256}?/i);case" ":return lu(/[^\S\n\r]/);default:return f(p)}})(e)||{invalidReason:D4};return y.token=e,y}const L4={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function F4(e,t,r){const{type:n,value:i}=e;if(n==="literal"){const u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}const s=t[n];let a=n;n==="hour"&&(t.hour12!=null?a=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?a="hour12":a="hour24":a=r.hour12?"hour12":"hour24");let o=L4[a];if(typeof o=="object"&&(o=o[s]),o)return{literal:!1,val:o}}function q4(e){return[`^${e.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,e]}function V4(e,t,r){const n=e.match(t);if(n){const i={};let s=1;for(const a in r)if(gs(r,a)){const o=r[a],u=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(n.slice(s,s+u))),s+=u}return[n,i]}else return[n,{}]}function U4(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,n;return Ae(e.z)||(r=Pn.create(e.z)),Ae(e.Z)||(r||(r=new Zt(e.Z)),n=e.Z),Ae(e.q)||(e.M=(e.q-1)*3+1),Ae(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Ae(e.u)||(e.S=Jf(e.u)),[Object.keys(e).reduce((s,a)=>{const o=t(a);return o&&(s[o]=e[a]),s},{}),r,n]}let ed=null;function z4(){return ed||(ed=$e.fromMillis(1555555555555)),ed}function H4(e,t){if(e.literal)return e;const r=qt.macroTokenToFormatOpts(e.val),n=yy(r,t);return n==null||n.includes(void 0)?e:n}function my(e,t){return Array.prototype.concat(...e.map(r=>H4(r,t)))}class gy{constructor(t,r){if(this.locale=t,this.format=r,this.tokens=my(qt.parseFormat(r),t),this.units=this.tokens.map(n=>j4(n,t)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){const[n,i]=q4(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(t){if(this.isValid){const[r,n]=V4(t,this.regex,this.handlers),[i,s,a]=n?U4(n):[null,null,void 0];if(gs(n,"a")&&gs(n,"H"))throw new ms("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:s,specificOffset:a}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function vy(e,t,r){return new gy(e,r).explainFromTokens(t)}function W4(e,t,r){const{result:n,zone:i,specificOffset:s,invalidReason:a}=vy(e,t,r);return[n,i,s,a]}function yy(e,t){if(!e)return null;const n=qt.create(t,e).dtFormatter(z4()),i=n.formatToParts(),s=n.resolvedOptions();return i.map(a=>F4(a,e,s))}const td="Invalid DateTime",by=864e13;function Ea(e){return new Mr("unsupported zone",`the zone "${e.name}" is not supported`)}function rd(e){return e.weekData===null&&(e.weekData=tu(e.c)),e.weekData}function nd(e){return e.localWeekData===null&&(e.localWeekData=tu(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Ci(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new $e({...r,...t,old:r})}function wy(e,t,r){let n=e-t*60*1e3;const i=r.offset(n);if(t===i)return[n,t];n-=(i-t)*60*1e3;const s=r.offset(n);return i===s?[n,i]:[e-Math.min(i,s)*60*1e3,Math.max(i,s)]}function cu(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fu(e,t,r){return wy(iu(e),t,r)}function _y(e,t){const r=e.o,n=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:n,month:i,day:Math.min(e.c.day,nu(n,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=qe.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=iu(s);let[u,l]=wy(o,r,e.zone);return a!==0&&(u+=a,l=e.zone.offset(u)),{ts:u,o:l}}function Ts(e,t,r,n,i,s){const{setZone:a,zone:o}=r;if(e&&Object.keys(e).length!==0||t){const u=t||o,l=$e.fromObject(e,{...r,zone:u,specificOffset:s});return a?l:l.setZone(o)}else return $e.invalid(new Mr("unparsable",`the input "${i}" can't be parsed as ${n}`))}function du(e,t,r=!0){return e.isValid?qt.create(tt.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function id(e,t,r){const n=e.c.year>9999||e.c.year<0;let i="";if(n&&e.c.year>=0&&(i+="+"),i+=vt(e.c.year,n?6:4),r==="year")return i;if(t){if(i+="-",i+=vt(e.c.month),r==="month")return i;i+="-"}else if(i+=vt(e.c.month),r==="month")return i;return i+=vt(e.c.day),i}function Sy(e,t,r,n,i,s,a){let o=!r||e.c.millisecond!==0||e.c.second!==0,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=vt(e.c.hour),a==="hour")break;if(t){if(u+=":",u+=vt(e.c.minute),a==="minute")break;o&&(u+=":",u+=vt(e.c.second))}else{if(u+=vt(e.c.minute),a==="minute")break;o&&(u+=vt(e.c.second))}if(a==="second")break;o&&(!n||e.c.millisecond!==0)&&(u+=".",u+=vt(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!s?u+="Z":e.o<0?(u+="-",u+=vt(Math.trunc(-e.o/60)),u+=":",u+=vt(Math.trunc(-e.o%60))):(u+="+",u+=vt(Math.trunc(e.o/60)),u+=":",u+=vt(Math.trunc(e.o%60)))),s&&(u+="["+e.zone.ianaName+"]"),u}const Ey={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},G4={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},J4={ordinal:1,hour:0,minute:0,second:0,millisecond:0},hu=["year","month","day","hour","minute","second","millisecond"],K4=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Z4=["year","ordinal","hour","minute","second","millisecond"];function pu(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new Yg(e);return t}function xy(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return pu(e)}}function Y4(e){if(xa===void 0&&(xa=ct.now()),e.type!=="iana")return e.offset(xa);const t=e.name;let r=sd.get(t);return r===void 0&&(r=e.offset(xa),sd.set(t,r)),r}function Ty(e,t){const r=si(t.zone,ct.defaultZone);if(!r.isValid)return $e.invalid(Ea(r));const n=tt.fromObject(t);let i,s;if(Ae(e.year))i=ct.now();else{for(const u of hu)Ae(e[u])&&(e[u]=Ey[u]);const a=Mv(e)||Bv(e);if(a)return $e.invalid(a);const o=Y4(r);[i,s]=fu(e,o,r)}return new $e({ts:i,zone:r,loc:n,o:s})}function $y(e,t,r){const n=Ae(r.round)?!0:r.round,i=Ae(r.rounding)?"trunc":r.rounding,s=(o,u)=>(o=Kf(o,n||r.calendary?0:2,r.calendary?"round":i),t.loc.clone(r).relFormatter(r).format(o,u)),a=o=>r.calendary?t.hasSame(e,o)?0:t.startOf(o).diff(e.startOf(o),o).get(o):t.diff(e,o).get(o);if(r.unit)return s(a(r.unit),r.unit);for(const o of r.units){const u=a(o);if(Math.abs(u)>=1)return s(u,o)}return s(e>t?-0:0,r.units[r.units.length-1])}function Oy(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let xa;const sd=new Map;class $e{constructor(t){const r=t.zone||ct.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new Mr("invalid input"):null)||(r.isValid?null:Ea(r));this.ts=Ae(t.ts)?ct.now():t.ts;let i=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[i,s]=[t.old.c,t.old.o];else{const o=ai(t.o)&&!t.old?t.o:r.offset(this.ts);i=cu(this.ts,o),n=Number.isNaN(i.year)?new Mr("invalid input"):null,i=n?null:i,s=n?null:o}this._zone=r,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=s,this.isLuxonDateTime=!0}static now(){return new $e({})}static local(){const[t,r]=Oy(arguments),[n,i,s,a,o,u,l]=r;return Ty({year:n,month:i,day:s,hour:a,minute:o,second:u,millisecond:l},t)}static utc(){const[t,r]=Oy(arguments),[n,i,s,a,o,u,l]=r;return t.zone=Zt.utcInstance,Ty({year:n,month:i,day:s,hour:a,minute:o,second:u,millisecond:l},t)}static fromJSDate(t,r={}){const n=P$(t)?t.valueOf():NaN;if(Number.isNaN(n))return $e.invalid("invalid input");const i=si(r.zone,ct.defaultZone);return i.isValid?new $e({ts:n,zone:i,loc:tt.fromObject(r)}):$e.invalid(Ea(i))}static fromMillis(t,r={}){if(ai(t))return t<-by||t>by?$e.invalid("Timestamp out of range"):new $e({ts:t,zone:si(r.zone,ct.defaultZone),loc:tt.fromObject(r)});throw new Ft(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,r={}){if(ai(t))return new $e({ts:t*1e3,zone:si(r.zone,ct.defaultZone),loc:tt.fromObject(r)});throw new Ft("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};const n=si(r.zone,ct.defaultZone);if(!n.isValid)return $e.invalid(Ea(n));const i=tt.fromObject(r),s=au(t,xy),{minDaysInFirstWeek:a,startOfWeek:o}=Dv(s,i),u=ct.now(),l=Ae(r.specificOffset)?n.offset(u):r.specificOffset,c=!Ae(s.ordinal),h=!Ae(s.year),d=!Ae(s.month)||!Ae(s.day),f=h||d,m=s.weekYear||s.weekNumber;if((f||c)&&m)throw new ms("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new ms("Can't mix ordinal dates with month/day");const y=m||s.weekday&&!f;let p,v,g=cu(u,l);y?(p=K4,v=G4,g=tu(g,a,o)):c?(p=Z4,v=J4,g=Wf(g)):(p=hu,v=Ey);let b=!1;for(const P of p){const A=s[P];Ae(A)?b?s[P]=v[P]:s[P]=g[P]:b=!0}const _=y?O$(s,a,o):c?C$(s):Mv(s),w=_||Bv(s);if(w)return $e.invalid(w);const S=y?Rv(s,a,o):c?Iv(s):s,[E,$]=fu(S,l,n),C=new $e({ts:E,zone:n,o:$,loc:i});return s.weekday&&f&&t.weekday!==C.weekday?$e.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${C.toISO()}`):C.isValid?C:$e.invalid(C.invalid)}static fromISO(t,r={}){const[n,i]=b4(t);return Ts(n,i,r,"ISO 8601",t)}static fromRFC2822(t,r={}){const[n,i]=w4(t);return Ts(n,i,r,"RFC 2822",t)}static fromHTTP(t,r={}){const[n,i]=_4(t);return Ts(n,i,r,"HTTP",r)}static fromFormat(t,r,n={}){if(Ae(t)||Ae(r))throw new Ft("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:s=null}=n,a=tt.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0}),[o,u,l,c]=W4(a,t,r);return c?$e.invalid(c):Ts(o,u,n,`format ${r}`,t,l)}static fromString(t,r,n={}){return $e.fromFormat(t,r,n)}static fromSQL(t,r={}){const[n,i]=C4(t);return Ts(n,i,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new Ft("need to specify a reason the DateTime is invalid");const n=t instanceof Mr?t:new Mr(t,r);if(ct.throwOnInvalid)throw new t$(n);return new $e({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){const n=yy(t,tt.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(t,r={}){return my(qt.parseFormat(t),tt.fromObject(r)).map(i=>i.val).join("")}static resetCache(){xa=void 0,sd.clear()}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?rd(this).weekYear:NaN}get weekNumber(){return this.isValid?rd(this).weekNumber:NaN}get weekday(){return this.isValid?rd(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?nd(this).weekday:NaN}get localWeekNumber(){return this.isValid?nd(this).weekNumber:NaN}get localWeekYear(){return this.isValid?nd(this).weekYear:NaN}get ordinal(){return this.isValid?Wf(this.c).ordinal:NaN}get monthShort(){return this.isValid?uu.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?uu.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?uu.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?uu.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,r=6e4,n=iu(this.c),i=this.zone.offset(n-t),s=this.zone.offset(n+t),a=this.zone.offset(n-i*r),o=this.zone.offset(n-s*r);if(a===o)return[this];const u=n-a*r,l=n-o*r,c=cu(u,a),h=cu(l,o);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Ci(this,{ts:u}),Ci(this,{ts:l})]:[this]}get isInLeapYear(){return ya(this.year)}get daysInMonth(){return nu(this.year,this.month)}get daysInYear(){return this.isValid?vs(this.year):NaN}get weeksInWeekYear(){return this.isValid?ba(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ba(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:r,numberingSystem:n,calendar:i}=qt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(t=0,r={}){return this.setZone(Zt.instance(t),r)}toLocal(){return this.setZone(ct.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(t=si(t,ct.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(r||n){const s=t.offset(this.ts),a=this.toObject();[i]=fu(a,s,t)}return Ci(this,{ts:i,zone:t})}else return $e.invalid(Ea(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:n}={}){const i=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:n});return Ci(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const r=au(t,xy),{minDaysInFirstWeek:n,startOfWeek:i}=Dv(r,this.loc),s=!Ae(r.weekYear)||!Ae(r.weekNumber)||!Ae(r.weekday),a=!Ae(r.ordinal),o=!Ae(r.year),u=!Ae(r.month)||!Ae(r.day),l=o||u,c=r.weekYear||r.weekNumber;if((l||a)&&c)throw new ms("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new ms("Can't mix ordinal dates with month/day");let h;s?h=Rv({...tu(this.c,n,i),...r},n,i):Ae(r.ordinal)?(h={...this.toObject(),...r},Ae(r.day)&&(h.day=Math.min(nu(h.year,h.month),h.day))):h=Iv({...Wf(this.c),...r});const[d,f]=fu(h,this.o,this.zone);return Ci(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const r=qe.fromDurationLike(t);return Ci(this,_y(this,r))}minus(t){if(!this.isValid)return this;const r=qe.fromDurationLike(t).negate();return Ci(this,_y(this,r))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const n={},i=qe.normalizeUnit(t);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){const s=this.loc.getStartOfWeek(),{weekday:a}=this;a=3&&(u+="T"),u+=Sy(this,o,r,n,i,s,a),u}toISODate({format:t="extended",precision:r="day"}={}){return this.isValid?id(this,t==="extended",pu(r)):null}toISOWeekDate(){return du(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:s=!1,format:a="extended",precision:o="milliseconds"}={}){return this.isValid?(o=pu(o),(i&&hu.indexOf(o)>=3?"T":"")+Sy(this,a==="extended",r,t,n,s,o)):null}toRFC2822(){return du(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return du(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?id(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||t)&&(n&&(i+=" "),r?i+="z":t&&(i+="ZZ")),du(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():td}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const r={...this.c};return t.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",n={}){if(!this.isValid||!t.isValid)return qe.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=N$(r).map(qe.normalizeUnit),a=t.valueOf()>this.valueOf(),o=a?this:t,u=a?t:this,l=I4(o,u,s,i);return a?l.negate():l}diffNow(t="milliseconds",r={}){return this.diff($e.now(),t,r)}until(t){return this.isValid?ft.fromDateTimes(this,t):this}hasSame(t,r,n){if(!this.isValid)return!1;const i=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(r,n)<=i&&i<=s.endOf(r,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const r=t.base||$e.fromObject({},{zone:this.zone}),n=t.padding?thisr.valueOf(),Math.min)}static max(...t){if(!t.every($e.isDateTime))throw new Ft("max requires all arguments be DateTimes");return Fv(t,r=>r.valueOf(),Math.max)}static fromFormatExplain(t,r,n={}){const{locale:i=null,numberingSystem:s=null}=n,a=tt.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return vy(a,t,r)}static fromStringExplain(t,r,n={}){return $e.fromFormatExplain(t,r,n)}static buildFormatParser(t,r={}){const{locale:n=null,numberingSystem:i=null}=r,s=tt.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new gy(s,t)}static fromFormatParser(t,r,n={}){if(Ae(t)||Ae(r))throw new Ft("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:s=null}=n,a=tt.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});if(!a.equals(r.locale))throw new Ft(`fromFormatParser called with a locale of ${a}, but the format parser was created for ${r.locale}`);const{result:o,zone:u,specificOffset:l,invalidReason:c}=r.explainFromTokens(t);return c?$e.invalid(c):Ts(o,u,n,`format ${r.format}`,t,l)}static get DATE_SHORT(){return Xo}static get DATE_MED(){return Xg}static get DATE_MED_WITH_WEEKDAY(){return i$}static get DATE_FULL(){return Qg}static get DATE_HUGE(){return ev}static get TIME_SIMPLE(){return tv}static get TIME_WITH_SECONDS(){return rv}static get TIME_WITH_SHORT_OFFSET(){return nv}static get TIME_WITH_LONG_OFFSET(){return iv}static get TIME_24_SIMPLE(){return sv}static get TIME_24_WITH_SECONDS(){return av}static get TIME_24_WITH_SHORT_OFFSET(){return ov}static get TIME_24_WITH_LONG_OFFSET(){return uv}static get DATETIME_SHORT(){return lv}static get DATETIME_SHORT_WITH_SECONDS(){return cv}static get DATETIME_MED(){return fv}static get DATETIME_MED_WITH_SECONDS(){return dv}static get DATETIME_MED_WITH_WEEKDAY(){return s$}static get DATETIME_FULL(){return hv}static get DATETIME_FULL_WITH_SECONDS(){return pv}static get DATETIME_HUGE(){return mv}static get DATETIME_HUGE_WITH_SECONDS(){return gv}}function Ta(e){if($e.isDateTime(e))return e;if(e&&e.valueOf&&ai(e.valueOf()))return $e.fromJSDate(e);if(e&&typeof e=="object")return $e.fromObject(e);throw new Ft(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var mu={exports:{}},ad={},kn={},Ai={},od={},ud={},ld={},Cy;function gu(){return Cy||(Cy=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(g){if(super(),!e.IDENTIFIER.test(g))throw new Error("CodeGen: name must be a valid identifier");this.str=g}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(g){super(),this._items=typeof g=="string"?[g]:g}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((b,_)=>`${b}${_}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((b,_)=>(_ instanceof r&&(b[_.str]=(b[_.str]||0)+1),b),{})}}e._Code=n,e.nil=new n("");function i(v,...g){const b=[v[0]];let _=0;for(;_{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${l}${h.scopePath}`})}scopeCode(l=this._values,c,h){return this._reduceValues(l,d=>{if(d.value===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return d.value.code},c,h)}_reduceValues(l,c,h={},d){let f=t.nil;for(const m in l){const y=l[m];if(!y)continue;const p=h[m]=h[m]||new Map;y.forEach(v=>{if(p.has(v))return;p.set(v,n.Started);let g=c(v);if(g){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${b} ${v} = ${g};${this.opts._n}`}else if(g=d?.(v))f=(0,t._)`${f}${g}${this.opts._n}`;else throw new r(v);p.set(v,n.Completed)})}return f}}e.ValueScope=o}(cd)),cd}var Ny;function Ne(){return Ny||(Ny=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=gu(),r=Py();var n=gu();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=Py();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(R,M){return this}}class a extends s{constructor(R,M,Y){super(),this.varKind=R,this.name=M,this.rhs=Y}render({es5:R,_n:M}){const Y=R?r.varKinds.var:this.varKind,fe=this.rhs===void 0?"":` = ${this.rhs}`;return`${Y} ${this.name}${fe};`+M}optimizeNames(R,M){if(R[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,R,M)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class o extends s{constructor(R,M,Y){super(),this.lhs=R,this.rhs=M,this.sideEffects=Y}render({_n:R}){return`${this.lhs} = ${this.rhs};`+R}optimizeNames(R,M){if(!(this.lhs instanceof t.Name&&!R[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,R,M),this}get names(){const R=this.lhs instanceof t.Name?{}:{...this.lhs.names};return D(R,this.rhs)}}class u extends o{constructor(R,M,Y,fe){super(R,Y,fe),this.op=M}render({_n:R}){return`${this.lhs} ${this.op}= ${this.rhs};`+R}}class l extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`${this.label}:`+R}}class c extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`break${this.label?` ${this.label}`:""};`+R}}class h extends s{constructor(R){super(),this.error=R}render({_n:R}){return`throw ${this.error};`+R}get names(){return this.error.names}}class d extends s{constructor(R){super(),this.code=R}render({_n:R}){return`${this.code};`+R}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(R,M){return this.code=U(this.code,R,M),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends s{constructor(R=[]){super(),this.nodes=R}render(R){return this.nodes.reduce((M,Y)=>M+Y.render(R),"")}optimizeNodes(){const{nodes:R}=this;let M=R.length;for(;M--;){const Y=R[M].optimizeNodes();Array.isArray(Y)?R.splice(M,1,...Y):Y?R[M]=Y:R.splice(M,1)}return R.length>0?this:void 0}optimizeNames(R,M){const{nodes:Y}=this;let fe=Y.length;for(;fe--;){const pe=Y[fe];pe.optimizeNames(R,M)||(q(R,pe.names),Y.splice(fe,1))}return Y.length>0?this:void 0}get names(){return this.nodes.reduce((R,M)=>k(R,M.names),{})}}class m extends f{render(R){return"{"+R._n+super.render(R)+"}"+R._n}}class y extends f{}class p extends m{}p.kind="else";class v extends m{constructor(R,M){super(M),this.condition=R}render(R){let M=`if(${this.condition})`+super.render(R);return this.else&&(M+="else "+this.else.render(R)),M}optimizeNodes(){super.optimizeNodes();const R=this.condition;if(R===!0)return this.nodes;let M=this.else;if(M){const Y=M.optimizeNodes();M=this.else=Array.isArray(Y)?new p(Y):Y}if(M)return R===!1?M instanceof v?M:M.nodes:this.nodes.length?this:new v(ee(R),M instanceof v?[M]:M.nodes);if(!(R===!1||!this.nodes.length))return this}optimizeNames(R,M){var Y;if(this.else=(Y=this.else)===null||Y===void 0?void 0:Y.optimizeNames(R,M),!!(super.optimizeNames(R,M)||this.else))return this.condition=U(this.condition,R,M),this}get names(){const R=super.names;return D(R,this.condition),this.else&&k(R,this.else.names),R}}v.kind="if";class g extends m{}g.kind="for";class b extends g{constructor(R){super(),this.iteration=R}render(R){return`for(${this.iteration})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iteration=U(this.iteration,R,M),this}get names(){return k(super.names,this.iteration.names)}}class _ extends g{constructor(R,M,Y,fe){super(),this.varKind=R,this.name=M,this.from=Y,this.to=fe}render(R){const M=R.es5?r.varKinds.var:this.varKind,{name:Y,from:fe,to:pe}=this;return`for(${M} ${Y}=${fe}; ${Y}<${pe}; ${Y}++)`+super.render(R)}get names(){const R=D(super.names,this.from);return D(R,this.to)}}class w extends g{constructor(R,M,Y,fe){super(),this.loop=R,this.varKind=M,this.name=Y,this.iterable=fe}render(R){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iterable=U(this.iterable,R,M),this}get names(){return k(super.names,this.iterable.names)}}class S extends m{constructor(R,M,Y){super(),this.name=R,this.args=M,this.async=Y}render(R){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(R)}}S.kind="func";class E extends f{render(R){return"return "+super.render(R)}}E.kind="return";class $ extends m{render(R){let M="try"+super.render(R);return this.catch&&(M+=this.catch.render(R)),this.finally&&(M+=this.finally.render(R)),M}optimizeNodes(){var R,M;return super.optimizeNodes(),(R=this.catch)===null||R===void 0||R.optimizeNodes(),(M=this.finally)===null||M===void 0||M.optimizeNodes(),this}optimizeNames(R,M){var Y,fe;return super.optimizeNames(R,M),(Y=this.catch)===null||Y===void 0||Y.optimizeNames(R,M),(fe=this.finally)===null||fe===void 0||fe.optimizeNames(R,M),this}get names(){const R=super.names;return this.catch&&k(R,this.catch.names),this.finally&&k(R,this.finally.names),R}}class C extends m{constructor(R){super(),this.error=R}render(R){return`catch(${this.error})`+super.render(R)}}C.kind="catch";class P extends m{render(R){return"finally"+super.render(R)}}P.kind="finally";class A{constructor(R,M={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...M,_n:M.lines?` +`:""},this._extScope=R,this._scope=new r.Scope({parent:R}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(R){return this._scope.name(R)}scopeName(R){return this._extScope.name(R)}scopeValue(R,M){const Y=this._extScope.value(R,M);return(this._values[Y.prefix]||(this._values[Y.prefix]=new Set)).add(Y),Y}getScopeValue(R,M){return this._extScope.getValue(R,M)}scopeRefs(R){return this._extScope.scopeRefs(R,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(R,M,Y,fe){const pe=this._scope.toName(M);return Y!==void 0&&fe&&(this._constants[pe.str]=Y),this._leafNode(new a(R,pe,Y)),pe}const(R,M,Y){return this._def(r.varKinds.const,R,M,Y)}let(R,M,Y){return this._def(r.varKinds.let,R,M,Y)}var(R,M,Y){return this._def(r.varKinds.var,R,M,Y)}assign(R,M,Y){return this._leafNode(new o(R,M,Y))}add(R,M){return this._leafNode(new u(R,e.operators.ADD,M))}code(R){return typeof R=="function"?R():R!==t.nil&&this._leafNode(new d(R)),this}object(...R){const M=["{"];for(const[Y,fe]of R)M.length>1&&M.push(","),M.push(Y),(Y!==fe||this.opts.es5)&&(M.push(":"),(0,t.addCodeArg)(M,fe));return M.push("}"),new t._Code(M)}if(R,M,Y){if(this._blockNode(new v(R)),M&&Y)this.code(M).else().code(Y).endIf();else if(M)this.code(M).endIf();else if(Y)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(R){return this._elseNode(new v(R))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(v,p)}_for(R,M){return this._blockNode(R),M&&this.code(M).endFor(),this}for(R,M){return this._for(new b(R),M)}forRange(R,M,Y,fe,pe=this.opts.es5?r.varKinds.var:r.varKinds.let){const Me=this._scope.toName(R);return this._for(new _(pe,Me,M,Y),()=>fe(Me))}forOf(R,M,Y,fe=r.varKinds.const){const pe=this._scope.toName(R);if(this.opts.es5){const Me=M instanceof t.Name?M:this.var("_arr",M);return this.forRange("_i",0,(0,t._)`${Me}.length`,be=>{this.var(pe,(0,t._)`${Me}[${be}]`),Y(pe)})}return this._for(new w("of",fe,pe,M),()=>Y(pe))}forIn(R,M,Y,fe=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(R,(0,t._)`Object.keys(${M})`,Y);const pe=this._scope.toName(R);return this._for(new w("in",fe,pe,M),()=>Y(pe))}endFor(){return this._endBlockNode(g)}label(R){return this._leafNode(new l(R))}break(R){return this._leafNode(new c(R))}return(R){const M=new E;if(this._blockNode(M),this.code(R),M.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(R,M,Y){if(!M&&!Y)throw new Error('CodeGen: "try" without "catch" and "finally"');const fe=new $;if(this._blockNode(fe),this.code(R),M){const pe=this.name("e");this._currNode=fe.catch=new C(pe),M(pe)}return Y&&(this._currNode=fe.finally=new P,this.code(Y)),this._endBlockNode(C,P)}throw(R){return this._leafNode(new h(R))}block(R,M){return this._blockStarts.push(this._nodes.length),R&&this.code(R).endBlock(M),this}endBlock(R){const M=this._blockStarts.pop();if(M===void 0)throw new Error("CodeGen: not in self-balancing block");const Y=this._nodes.length-M;if(Y<0||R!==void 0&&Y!==R)throw new Error(`CodeGen: wrong number of nodes: ${Y} vs ${R} expected`);return this._nodes.length=M,this}func(R,M=t.nil,Y,fe){return this._blockNode(new S(R,M,Y)),fe&&this.code(fe).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(R=1){for(;R-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(R){return this._currNode.nodes.push(R),this}_blockNode(R){this._currNode.nodes.push(R),this._nodes.push(R)}_endBlockNode(R,M){const Y=this._currNode;if(Y instanceof R||M&&Y instanceof M)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${M?`${R.kind}/${M.kind}`:R.kind}"`)}_elseNode(R){const M=this._currNode;if(!(M instanceof v))throw new Error('CodeGen: "else" without "if"');return this._currNode=M.else=R,this}get _root(){return this._nodes[0]}get _currNode(){const R=this._nodes;return R[R.length-1]}set _currNode(R){const M=this._nodes;M[M.length-1]=R}}e.CodeGen=A;function k(B,R){for(const M in R)B[M]=(B[M]||0)+(R[M]||0);return B}function D(B,R){return R instanceof t._CodeOrName?k(B,R.names):B}function U(B,R,M){if(B instanceof t.Name)return Y(B);if(!fe(B))return B;return new t._Code(B._items.reduce((pe,Me)=>(Me instanceof t.Name&&(Me=Y(Me)),Me instanceof t._Code?pe.push(...Me._items):pe.push(Me),pe),[]));function Y(pe){const Me=M[pe.str];return Me===void 0||R[pe.str]!==1?pe:(delete R[pe.str],Me)}function fe(pe){return pe instanceof t._Code&&pe._items.some(Me=>Me instanceof t.Name&&R[Me.str]===1&&M[Me.str]!==void 0)}}function q(B,R){for(const M in R)B[M]=(B[M]||0)-(R[M]||0)}function ee(B){return typeof B=="boolean"||typeof B=="number"||B===null?!B:(0,t._)`!${K(B)}`}e.not=ee;const Z=j(e.operators.AND);function Q(...B){return B.reduce(Z)}e.and=Q;const ae=j(e.operators.OR);function W(...B){return B.reduce(ae)}e.or=W;function j(B){return(R,M)=>R===t.nil?M:M===t.nil?R:(0,t._)`${K(R)} ${B} ${K(M)}`}function K(B){return B instanceof t.Name?B:(0,t._)`(${B})`}}(ud)),ud}var Le={},ky;function Ve(){if(ky)return Le;ky=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.checkStrictMode=Le.getErrorPath=Le.Type=Le.useFunc=Le.setEvaluated=Le.evaluatedPropsToName=Le.mergeEvaluated=Le.eachItem=Le.unescapeJsonPointer=Le.escapeJsonPointer=Le.escapeFragment=Le.unescapeFragment=Le.schemaRefOrVal=Le.schemaHasRulesButRef=Le.schemaHasRules=Le.checkUnknownRules=Le.alwaysValidSchema=Le.toHash=void 0;const e=Ne(),t=gu();function r(w){const S={};for(const E of w)S[E]=!0;return S}Le.toHash=r;function n(w,S){return typeof S=="boolean"?S:Object.keys(S).length===0?!0:(i(w,S),!s(S,w.self.RULES.all))}Le.alwaysValidSchema=n;function i(w,S=w.schema){const{opts:E,self:$}=w;if(!E.strictSchema||typeof S=="boolean")return;const C=$.RULES.keywords;for(const P in S)C[P]||_(w,`unknown keyword: "${P}"`)}Le.checkUnknownRules=i;function s(w,S){if(typeof w=="boolean")return!w;for(const E in w)if(S[E])return!0;return!1}Le.schemaHasRules=s;function a(w,S){if(typeof w=="boolean")return!w;for(const E in w)if(E!=="$ref"&&S.all[E])return!0;return!1}Le.schemaHasRulesButRef=a;function o({topSchemaRef:w,schemaPath:S},E,$,C){if(!C){if(typeof E=="number"||typeof E=="boolean")return E;if(typeof E=="string")return(0,e._)`${E}`}return(0,e._)`${w}${S}${(0,e.getProperty)($)}`}Le.schemaRefOrVal=o;function u(w){return h(decodeURIComponent(w))}Le.unescapeFragment=u;function l(w){return encodeURIComponent(c(w))}Le.escapeFragment=l;function c(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}Le.escapeJsonPointer=c;function h(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}Le.unescapeJsonPointer=h;function d(w,S){if(Array.isArray(w))for(const E of w)S(E);else S(w)}Le.eachItem=d;function f({mergeNames:w,mergeToName:S,mergeValues:E,resultToName:$}){return(C,P,A,k)=>{const D=A===void 0?P:A instanceof e.Name?(P instanceof e.Name?w(C,P,A):S(C,P,A),A):P instanceof e.Name?(S(C,A,P),P):E(P,A);return k===e.Name&&!(D instanceof e.Name)?$(C,D):D}}Le.mergeEvaluated={props:f({mergeNames:(w,S,E)=>w.if((0,e._)`${E} !== true && ${S} !== undefined`,()=>{w.if((0,e._)`${S} === true`,()=>w.assign(E,!0),()=>w.assign(E,(0,e._)`${E} || {}`).code((0,e._)`Object.assign(${E}, ${S})`))}),mergeToName:(w,S,E)=>w.if((0,e._)`${E} !== true`,()=>{S===!0?w.assign(E,!0):(w.assign(E,(0,e._)`${E} || {}`),y(w,E,S))}),mergeValues:(w,S)=>w===!0?!0:{...w,...S},resultToName:m}),items:f({mergeNames:(w,S,E)=>w.if((0,e._)`${E} !== true && ${S} !== undefined`,()=>w.assign(E,(0,e._)`${S} === true ? true : ${E} > ${S} ? ${E} : ${S}`)),mergeToName:(w,S,E)=>w.if((0,e._)`${E} !== true`,()=>w.assign(E,S===!0?!0:(0,e._)`${E} > ${S} ? ${E} : ${S}`)),mergeValues:(w,S)=>w===!0?!0:Math.max(w,S),resultToName:(w,S)=>w.var("items",S)})};function m(w,S){if(S===!0)return w.var("props",!0);const E=w.var("props",(0,e._)`{}`);return S!==void 0&&y(w,E,S),E}Le.evaluatedPropsToName=m;function y(w,S,E){Object.keys(E).forEach($=>w.assign((0,e._)`${S}${(0,e.getProperty)($)}`,!0))}Le.setEvaluated=y;const p={};function v(w,S){return w.scopeValue("func",{ref:S,code:p[S.code]||(p[S.code]=new t._Code(S.code))})}Le.useFunc=v;var g;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(g||(Le.Type=g={}));function b(w,S,E){if(w instanceof e.Name){const $=S===g.Num;return E?$?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:$?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return E?(0,e.getProperty)(w).toString():"/"+c(w)}Le.getErrorPath=b;function _(w,S,E=w.opts.strictSchema){if(E){if(S=`strict mode: ${S}`,E===!0)throw new Error(S);w.self.logger.warn(S)}}return Le.checkStrictMode=_,Le}var vu={},Ry;function jr(){if(Ry)return vu;Ry=1,Object.defineProperty(vu,"__esModule",{value:!0});const e=Ne(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return vu.default=t,vu}var Iy;function yu(){return Iy||(Iy=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Ne(),r=Ve(),n=jr();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:v})=>v?(0,t.str)`"${p}" keyword must be ${v} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function i(p,v=e.keywordError,g,b){const{it:_}=p,{gen:w,compositeRule:S,allErrors:E}=_,$=h(p,v,g);b??(S||E)?u(w,$):l(_,(0,t._)`[${$}]`)}e.reportError=i;function s(p,v=e.keywordError,g){const{it:b}=p,{gen:_,compositeRule:w,allErrors:S}=b,E=h(p,v,g);u(_,E),w||S||l(b,n.default.vErrors)}e.reportExtraError=s;function a(p,v){p.assign(n.default.errors,v),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(v,()=>p.assign((0,t._)`${n.default.vErrors}.length`,v),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=a;function o({gen:p,keyword:v,schemaValue:g,data:b,errsCount:_,it:w}){if(_===void 0)throw new Error("ajv implementation error");const S=p.name("err");p.forRange("i",_,n.default.errors,E=>{p.const(S,(0,t._)`${n.default.vErrors}[${E}]`),p.if((0,t._)`${S}.instancePath === undefined`,()=>p.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),p.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${v}`),w.opts.verbose&&(p.assign((0,t._)`${S}.schema`,g),p.assign((0,t._)`${S}.data`,b))})}e.extendErrors=o;function u(p,v){const g=p.const("err",v);p.if((0,t._)`${n.default.vErrors} === null`,()=>p.assign(n.default.vErrors,(0,t._)`[${g}]`),(0,t._)`${n.default.vErrors}.push(${g})`),p.code((0,t._)`${n.default.errors}++`)}function l(p,v){const{gen:g,validateName:b,schemaEnv:_}=p;_.$async?g.throw((0,t._)`new ${p.ValidationError}(${v})`):(g.assign((0,t._)`${b}.errors`,v),g.return(!1))}const c={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function h(p,v,g){const{createErrors:b}=p.it;return b===!1?(0,t._)`{}`:d(p,v,g)}function d(p,v,g={}){const{gen:b,it:_}=p,w=[f(_,g),m(p,g)];return y(p,v,w),b.object(...w)}function f({errorPath:p},{instancePath:v}){const g=v?(0,t.str)`${p}${(0,r.getErrorPath)(v,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,g)]}function m({keyword:p,it:{errSchemaPath:v}},{schemaPath:g,parentSchema:b}){let _=b?v:(0,t.str)`${v}/${p}`;return g&&(_=(0,t.str)`${_}${(0,r.getErrorPath)(g,r.Type.Str)}`),[c.schemaPath,_]}function y(p,{params:v,message:g},b){const{keyword:_,data:w,schemaValue:S,it:E}=p,{opts:$,propertyName:C,topSchemaRef:P,schemaPath:A}=E;b.push([c.keyword,_],[c.params,typeof v=="function"?v(p):v||(0,t._)`{}`]),$.messages&&b.push([c.message,typeof g=="function"?g(p):g]),$.verbose&&b.push([c.schema,S],[c.parentSchema,(0,t._)`${P}${A}`],[n.default.data,w]),C&&b.push([c.propertyName,C])}}(od)),od}var Dy;function X4(){if(Dy)return Ai;Dy=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.boolOrEmptySchema=Ai.topBoolOrEmptySchema=void 0;const e=yu(),t=Ne(),r=jr(),n={message:"boolean schema is false"};function i(o){const{gen:u,schema:l,validateName:c}=o;l===!1?a(o,!1):typeof l=="object"&&l.$async===!0?u.return(r.default.data):(u.assign((0,t._)`${c}.errors`,null),u.return(!0))}Ai.topBoolOrEmptySchema=i;function s(o,u){const{gen:l,schema:c}=o;c===!1?(l.var(u,!1),a(o)):l.var(u,!0)}Ai.boolOrEmptySchema=s;function a(o,u){const{gen:l,data:c}=o,h={gen:l,keyword:"false schema",data:c,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:o};(0,e.reportError)(h,n,void 0,u)}return Ai}var At={},Pi={},My;function By(){if(My)return Pi;My=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.getRules=Pi.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(i){return typeof i=="string"&&t.has(i)}Pi.isJSONType=r;function n(){const i={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...i,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},i.number,i.string,i.array,i.object],post:{rules:[]},all:{},keywords:{}}}return Pi.getRules=n,Pi}var Rn={},jy;function Ly(){if(jy)return Rn;jy=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.shouldUseRule=Rn.shouldUseGroup=Rn.schemaHasRulesForType=void 0;function e({schema:n,self:i},s){const a=i.RULES.types[s];return a&&a!==!0&&t(n,a)}Rn.schemaHasRulesForType=e;function t(n,i){return i.rules.some(s=>r(n,s))}Rn.shouldUseGroup=t;function r(n,i){var s;return n[i.keyword]!==void 0||((s=i.definition.implements)===null||s===void 0?void 0:s.some(a=>n[a]!==void 0))}return Rn.shouldUseRule=r,Rn}var Fy;function bu(){if(Fy)return At;Fy=1,Object.defineProperty(At,"__esModule",{value:!0}),At.reportTypeError=At.checkDataTypes=At.checkDataType=At.coerceAndCheckDataType=At.getJSONTypes=At.getSchemaTypes=At.DataType=void 0;const e=By(),t=Ly(),r=yu(),n=Ne(),i=Ve();var s;(function(g){g[g.Correct=0]="Correct",g[g.Wrong=1]="Wrong"})(s||(At.DataType=s={}));function a(g){const b=o(g.type);if(b.includes("null")){if(g.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&g.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');g.nullable===!0&&b.push("null")}return b}At.getSchemaTypes=a;function o(g){const b=Array.isArray(g)?g:g?[g]:[];if(b.every(e.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}At.getJSONTypes=o;function u(g,b){const{gen:_,data:w,opts:S}=g,E=c(b,S.coerceTypes),$=b.length>0&&!(E.length===0&&b.length===1&&(0,t.schemaHasRulesForType)(g,b[0]));if($){const C=m(b,w,S.strictNumbers,s.Wrong);_.if(C,()=>{E.length?h(g,b,E):p(g)})}return $}At.coerceAndCheckDataType=u;const l=new Set(["string","number","integer","boolean","null"]);function c(g,b){return b?g.filter(_=>l.has(_)||b==="array"&&_==="array"):[]}function h(g,b,_){const{gen:w,data:S,opts:E}=g,$=w.let("dataType",(0,n._)`typeof ${S}`),C=w.let("coerced",(0,n._)`undefined`);E.coerceTypes==="array"&&w.if((0,n._)`${$} == 'object' && Array.isArray(${S}) && ${S}.length == 1`,()=>w.assign(S,(0,n._)`${S}[0]`).assign($,(0,n._)`typeof ${S}`).if(m(b,S,E.strictNumbers),()=>w.assign(C,S))),w.if((0,n._)`${C} !== undefined`);for(const A of _)(l.has(A)||A==="array"&&E.coerceTypes==="array")&&P(A);w.else(),p(g),w.endIf(),w.if((0,n._)`${C} !== undefined`,()=>{w.assign(S,C),d(g,C)});function P(A){switch(A){case"string":w.elseIf((0,n._)`${$} == "number" || ${$} == "boolean"`).assign(C,(0,n._)`"" + ${S}`).elseIf((0,n._)`${S} === null`).assign(C,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${$} == "boolean" || ${S} === null + || (${$} == "string" && ${S} && ${S} == +${S})`).assign(C,(0,n._)`+${S}`);return;case"integer":w.elseIf((0,n._)`${$} === "boolean" || ${S} === null + || (${$} === "string" && ${S} && ${S} == +${S} && !(${S} % 1))`).assign(C,(0,n._)`+${S}`);return;case"boolean":w.elseIf((0,n._)`${S} === "false" || ${S} === 0 || ${S} === null`).assign(C,!1).elseIf((0,n._)`${S} === "true" || ${S} === 1`).assign(C,!0);return;case"null":w.elseIf((0,n._)`${S} === "" || ${S} === 0 || ${S} === false`),w.assign(C,null);return;case"array":w.elseIf((0,n._)`${$} === "string" || ${$} === "number" + || ${$} === "boolean" || ${S} === null`).assign(C,(0,n._)`[${S}]`)}}}function d({gen:g,parentData:b,parentDataProperty:_},w){g.if((0,n._)`${b} !== undefined`,()=>g.assign((0,n._)`${b}[${_}]`,w))}function f(g,b,_,w=s.Correct){const S=w===s.Correct?n.operators.EQ:n.operators.NEQ;let E;switch(g){case"null":return(0,n._)`${b} ${S} null`;case"array":E=(0,n._)`Array.isArray(${b})`;break;case"object":E=(0,n._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":E=$((0,n._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":E=$();break;default:return(0,n._)`typeof ${b} ${S} ${g}`}return w===s.Correct?E:(0,n.not)(E);function $(C=n.nil){return(0,n.and)((0,n._)`typeof ${b} == "number"`,C,_?(0,n._)`isFinite(${b})`:n.nil)}}At.checkDataType=f;function m(g,b,_,w){if(g.length===1)return f(g[0],b,_,w);let S;const E=(0,i.toHash)(g);if(E.array&&E.object){const $=(0,n._)`typeof ${b} != "object"`;S=E.null?$:(0,n._)`!${b} || ${$}`,delete E.null,delete E.array,delete E.object}else S=n.nil;E.number&&delete E.integer;for(const $ in E)S=(0,n.and)(S,f($,b,_,w));return S}At.checkDataTypes=m;const y={message:({schema:g})=>`must be ${g}`,params:({schema:g,schemaValue:b})=>typeof g=="string"?(0,n._)`{type: ${g}}`:(0,n._)`{type: ${b}}`};function p(g){const b=v(g);(0,r.reportError)(b,y)}At.reportTypeError=p;function v(g){const{gen:b,data:_,schema:w}=g,S=(0,i.schemaRefOrVal)(g,w,"type");return{gen:b,keyword:"type",data:_,schema:w.type,schemaCode:S,schemaValue:S,parentSchema:w,params:{},it:g}}return At}var $a={},qy;function Q4(){if(qy)return $a;qy=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.assignDefaults=void 0;const e=Ne(),t=Ve();function r(i,s){const{properties:a,items:o}=i.schema;if(s==="object"&&a)for(const u in a)n(i,u,a[u].default);else s==="array"&&Array.isArray(o)&&o.forEach((u,l)=>n(i,l,u.default))}$a.assignDefaults=r;function n(i,s,a){const{gen:o,compositeRule:u,data:l,opts:c}=i;if(a===void 0)return;const h=(0,e._)`${l}${(0,e.getProperty)(s)}`;if(u){(0,t.checkStrictMode)(i,`default is ignored for: ${h}`);return}let d=(0,e._)`${h} === undefined`;c.useDefaults==="empty"&&(d=(0,e._)`${d} || ${h} === null || ${h} === ""`),o.if(d,(0,e._)`${h} = ${(0,e.stringify)(a)}`)}return $a}var Lr={},nt={},Vy;function Fr(){if(Vy)return nt;Vy=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.validateUnion=nt.validateArray=nt.usePattern=nt.callValidateCode=nt.schemaProperties=nt.allSchemaProperties=nt.noPropertyInData=nt.propertyInData=nt.isOwnProperty=nt.hasPropFunc=nt.reportMissingProp=nt.checkMissingProp=nt.checkReportMissingProp=void 0;const e=Ne(),t=Ve(),r=jr(),n=Ve();function i(g,b){const{gen:_,data:w,it:S}=g;_.if(c(_,w,b,S.opts.ownProperties),()=>{g.setParams({missingProperty:(0,e._)`${b}`},!0),g.error()})}nt.checkReportMissingProp=i;function s({gen:g,data:b,it:{opts:_}},w,S){return(0,e.or)(...w.map(E=>(0,e.and)(c(g,b,E,_.ownProperties),(0,e._)`${S} = ${E}`)))}nt.checkMissingProp=s;function a(g,b){g.setParams({missingProperty:b},!0),g.error()}nt.reportMissingProp=a;function o(g){return g.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}nt.hasPropFunc=o;function u(g,b,_){return(0,e._)`${o(g)}.call(${b}, ${_})`}nt.isOwnProperty=u;function l(g,b,_,w){const S=(0,e._)`${b}${(0,e.getProperty)(_)} !== undefined`;return w?(0,e._)`${S} && ${u(g,b,_)}`:S}nt.propertyInData=l;function c(g,b,_,w){const S=(0,e._)`${b}${(0,e.getProperty)(_)} === undefined`;return w?(0,e.or)(S,(0,e.not)(u(g,b,_))):S}nt.noPropertyInData=c;function h(g){return g?Object.keys(g).filter(b=>b!=="__proto__"):[]}nt.allSchemaProperties=h;function d(g,b){return h(b).filter(_=>!(0,t.alwaysValidSchema)(g,b[_]))}nt.schemaProperties=d;function f({schemaCode:g,data:b,it:{gen:_,topSchemaRef:w,schemaPath:S,errorPath:E},it:$},C,P,A){const k=A?(0,e._)`${g}, ${b}, ${w}${S}`:b,D=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,E)],[r.default.parentData,$.parentData],[r.default.parentDataProperty,$.parentDataProperty],[r.default.rootData,r.default.rootData]];$.opts.dynamicRef&&D.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const U=(0,e._)`${k}, ${_.object(...D)}`;return P!==e.nil?(0,e._)`${C}.call(${P}, ${U})`:(0,e._)`${C}(${U})`}nt.callValidateCode=f;const m=(0,e._)`new RegExp`;function y({gen:g,it:{opts:b}},_){const w=b.unicodeRegExp?"u":"",{regExp:S}=b.code,E=S(_,w);return g.scopeValue("pattern",{key:E.toString(),ref:E,code:(0,e._)`${S.code==="new RegExp"?m:(0,n.useFunc)(g,S)}(${_}, ${w})`})}nt.usePattern=y;function p(g){const{gen:b,data:_,keyword:w,it:S}=g,E=b.name("valid");if(S.allErrors){const C=b.let("valid",!0);return $(()=>b.assign(C,!1)),C}return b.var(E,!0),$(()=>b.break()),E;function $(C){const P=b.const("len",(0,e._)`${_}.length`);b.forRange("i",0,P,A=>{g.subschema({keyword:w,dataProp:A,dataPropType:t.Type.Num},E),b.if((0,e.not)(E),C)})}}nt.validateArray=p;function v(g){const{gen:b,schema:_,keyword:w,it:S}=g;if(!Array.isArray(_))throw new Error("ajv implementation error");if(_.some(P=>(0,t.alwaysValidSchema)(S,P))&&!S.opts.unevaluated)return;const $=b.let("valid",!1),C=b.name("_valid");b.block(()=>_.forEach((P,A)=>{const k=g.subschema({keyword:w,schemaProp:A,compositeRule:!0},C);b.assign($,(0,e._)`${$} || ${C}`),g.mergeValidEvaluated(k,C)||b.if((0,e.not)($))})),g.result($,()=>g.reset(),()=>g.error(!0))}return nt.validateUnion=v,nt}var Uy;function eO(){if(Uy)return Lr;Uy=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.validateKeywordUsage=Lr.validSchemaType=Lr.funcKeywordCode=Lr.macroKeywordCode=void 0;const e=Ne(),t=jr(),r=Fr(),n=yu();function i(d,f){const{gen:m,keyword:y,schema:p,parentSchema:v,it:g}=d,b=f.macro.call(g.self,p,v,g),_=l(m,y,b);g.opts.validateSchema!==!1&&g.self.validateSchema(b,!0);const w=m.name("valid");d.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${g.errSchemaPath}/${y}`,topSchemaRef:_,compositeRule:!0},w),d.pass(w,()=>d.error(!0))}Lr.macroKeywordCode=i;function s(d,f){var m;const{gen:y,keyword:p,schema:v,parentSchema:g,$data:b,it:_}=d;u(_,f);const w=!b&&f.compile?f.compile.call(_.self,v,g,_):f.validate,S=l(y,p,w),E=y.let("valid");d.block$data(E,$),d.ok((m=f.valid)!==null&&m!==void 0?m:E);function $(){if(f.errors===!1)A(),f.modifying&&a(d),k(()=>d.error());else{const D=f.async?C():P();f.modifying&&a(d),k(()=>o(d,D))}}function C(){const D=y.let("ruleErrs",null);return y.try(()=>A((0,e._)`await `),U=>y.assign(E,!1).if((0,e._)`${U} instanceof ${_.ValidationError}`,()=>y.assign(D,(0,e._)`${U}.errors`),()=>y.throw(U))),D}function P(){const D=(0,e._)`${S}.errors`;return y.assign(D,null),A(e.nil),D}function A(D=f.async?(0,e._)`await `:e.nil){const U=_.opts.passContext?t.default.this:t.default.self,q=!("compile"in f&&!b||f.schema===!1);y.assign(E,(0,e._)`${D}${(0,r.callValidateCode)(d,S,U,q)}`,f.modifying)}function k(D){var U;y.if((0,e.not)((U=f.valid)!==null&&U!==void 0?U:E),D)}}Lr.funcKeywordCode=s;function a(d){const{gen:f,data:m,it:y}=d;f.if(y.parentData,()=>f.assign(m,(0,e._)`${y.parentData}[${y.parentDataProperty}]`))}function o(d,f){const{gen:m}=d;m.if((0,e._)`Array.isArray(${f})`,()=>{m.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${f} : ${t.default.vErrors}.concat(${f})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(d)},()=>d.error())}function u({schemaEnv:d},f){if(f.async&&!d.$async)throw new Error("async keyword in sync schema")}function l(d,f,m){if(m===void 0)throw new Error(`keyword "${f}" failed to compile`);return d.scopeValue("keyword",typeof m=="function"?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}function c(d,f,m=!1){return!f.length||f.some(y=>y==="array"?Array.isArray(d):y==="object"?d&&typeof d=="object"&&!Array.isArray(d):typeof d==y||m&&typeof d>"u")}Lr.validSchemaType=c;function h({schema:d,opts:f,self:m,errSchemaPath:y},p,v){if(Array.isArray(p.keyword)?!p.keyword.includes(v):p.keyword!==v)throw new Error("ajv implementation error");const g=p.dependencies;if(g?.some(b=>!Object.prototype.hasOwnProperty.call(d,b)))throw new Error(`parent schema must have dependencies of ${v}: ${g.join(",")}`);if(p.validateSchema&&!p.validateSchema(d[v])){const _=`keyword "${v}" value is invalid at path "${y}": `+m.errorsText(p.validateSchema.errors);if(f.validateSchema==="log")m.logger.error(_);else throw new Error(_)}}return Lr.validateKeywordUsage=h,Lr}var In={},zy;function tO(){if(zy)return In;zy=1,Object.defineProperty(In,"__esModule",{value:!0}),In.extendSubschemaMode=In.extendSubschemaData=In.getSubschema=void 0;const e=Ne(),t=Ve();function r(s,{keyword:a,schemaProp:o,schema:u,schemaPath:l,errSchemaPath:c,topSchemaRef:h}){if(a!==void 0&&u!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(a!==void 0){const d=s.schema[a];return o===void 0?{schema:d,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(a)}`,errSchemaPath:`${s.errSchemaPath}/${a}`}:{schema:d[o],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(a)}${(0,e.getProperty)(o)}`,errSchemaPath:`${s.errSchemaPath}/${a}/${(0,t.escapeFragment)(o)}`}}if(u!==void 0){if(l===void 0||c===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:u,schemaPath:l,topSchemaRef:h,errSchemaPath:c}}throw new Error('either "keyword" or "schema" must be passed')}In.getSubschema=r;function n(s,a,{dataProp:o,dataPropType:u,data:l,dataTypes:c,propertyName:h}){if(l!==void 0&&o!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:d}=a;if(o!==void 0){const{errorPath:m,dataPathArr:y,opts:p}=a,v=d.let("data",(0,e._)`${a.data}${(0,e.getProperty)(o)}`,!0);f(v),s.errorPath=(0,e.str)`${m}${(0,t.getErrorPath)(o,u,p.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${o}`,s.dataPathArr=[...y,s.parentDataProperty]}if(l!==void 0){const m=l instanceof e.Name?l:d.let("data",l,!0);f(m),h!==void 0&&(s.propertyName=h)}c&&(s.dataTypes=c);function f(m){s.data=m,s.dataLevel=a.dataLevel+1,s.dataTypes=[],a.definedProperties=new Set,s.parentData=a.data,s.dataNames=[...a.dataNames,m]}}In.extendSubschemaData=n;function i(s,{jtdDiscriminator:a,jtdMetadata:o,compositeRule:u,createErrors:l,allErrors:c}){u!==void 0&&(s.compositeRule=u),l!==void 0&&(s.createErrors=l),c!==void 0&&(s.allErrors=c),s.jtdDiscriminator=a,s.jtdMetadata=o}return In.extendSubschemaMode=i,In}var Yt={},fd={exports:{}},Hy;function rO(){if(Hy)return fd.exports;Hy=1;var e=fd.exports=function(n,i,s){typeof i=="function"&&(s=i,i={}),s=i.cb||s;var a=typeof s=="function"?s:s.pre||function(){},o=s.post||function(){};t(i,a,o,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,i,s,a,o,u,l,c,h,d){if(a&&typeof a=="object"&&!Array.isArray(a)){i(a,o,u,l,c,h,d);for(var f in a){var m=a[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;yp+=o(g)),p===1/0))return 1/0}return p}function u(y,p="",v){v!==!1&&(p=h(p));const g=y.parse(p);return l(y,g)}Yt.getFullPath=u;function l(y,p){return y.serialize(p).split("#")[0]+"#"}Yt._getFullPath=l;const c=/#\/?$/;function h(y){return y?y.replace(c,""):""}Yt.normalizeId=h;function d(y,p,v){return v=h(v),y.resolve(p,v)}Yt.resolveUrl=d;const f=/^[a-z_][-a-z0-9._]*$/i;function m(y,p){if(typeof y=="boolean")return{};const{schemaId:v,uriResolver:g}=this.opts,b=h(y[v]||p),_={"":b},w=u(g,b,!1),S={},E=new Set;return r(y,{allKeys:!0},(P,A,k,D)=>{if(D===void 0)return;const U=w+A;let q=_[D];typeof P[v]=="string"&&(q=ee.call(this,P[v])),Z.call(this,P.$anchor),Z.call(this,P.$dynamicAnchor),_[A]=q;function ee(Q){const ae=this.opts.uriResolver.resolve;if(Q=h(q?ae(q,Q):Q),E.has(Q))throw C(Q);E.add(Q);let W=this.refs[Q];return typeof W=="string"&&(W=this.refs[W]),typeof W=="object"?$(P,W.schema,Q):Q!==h(U)&&(Q[0]==="#"?($(P,S[Q],Q),S[Q]=P):this.refs[Q]=U),Q}function Z(Q){if(typeof Q=="string"){if(!f.test(Q))throw new Error(`invalid anchor "${Q}"`);ee.call(this,`#${Q}`)}}}),S;function $(P,A,k){if(A!==void 0&&!t(P,A))throw C(k)}function C(P){return new Error(`reference "${P}" resolves to more than one schema`)}}return Yt.getSchemaRefs=m,Yt}var Gy;function Oa(){if(Gy)return kn;Gy=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.getData=kn.KeywordCxt=kn.validateFunctionCode=void 0;const e=X4(),t=bu(),r=Ly(),n=bu(),i=Q4(),s=eO(),a=tO(),o=Ne(),u=jr(),l=wu(),c=Ve(),h=yu();function d(I){if(w(I)&&(E(I),_(I))){p(I);return}f(I,()=>(0,e.topBoolOrEmptySchema)(I))}kn.validateFunctionCode=d;function f({gen:I,validateName:T,schema:O,schemaEnv:N,opts:F},z){F.code.es5?I.func(T,(0,o._)`${u.default.data}, ${u.default.valCxt}`,N.$async,()=>{I.code((0,o._)`"use strict"; ${g(O,F)}`),y(I,F),I.code(z)}):I.func(T,(0,o._)`${u.default.data}, ${m(F)}`,N.$async,()=>I.code(g(O,F)).code(z))}function m(I){return(0,o._)`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${I.dynamicRef?(0,o._)`, ${u.default.dynamicAnchors}={}`:o.nil}}={}`}function y(I,T){I.if(u.default.valCxt,()=>{I.var(u.default.instancePath,(0,o._)`${u.default.valCxt}.${u.default.instancePath}`),I.var(u.default.parentData,(0,o._)`${u.default.valCxt}.${u.default.parentData}`),I.var(u.default.parentDataProperty,(0,o._)`${u.default.valCxt}.${u.default.parentDataProperty}`),I.var(u.default.rootData,(0,o._)`${u.default.valCxt}.${u.default.rootData}`),T.dynamicRef&&I.var(u.default.dynamicAnchors,(0,o._)`${u.default.valCxt}.${u.default.dynamicAnchors}`)},()=>{I.var(u.default.instancePath,(0,o._)`""`),I.var(u.default.parentData,(0,o._)`undefined`),I.var(u.default.parentDataProperty,(0,o._)`undefined`),I.var(u.default.rootData,u.default.data),T.dynamicRef&&I.var(u.default.dynamicAnchors,(0,o._)`{}`)})}function p(I){const{schema:T,opts:O,gen:N}=I;f(I,()=>{O.$comment&&T.$comment&&D(I),P(I),N.let(u.default.vErrors,null),N.let(u.default.errors,0),O.unevaluated&&v(I),$(I),U(I)})}function v(I){const{gen:T,validateName:O}=I;I.evaluated=T.const("evaluated",(0,o._)`${O}.evaluated`),T.if((0,o._)`${I.evaluated}.dynamicProps`,()=>T.assign((0,o._)`${I.evaluated}.props`,(0,o._)`undefined`)),T.if((0,o._)`${I.evaluated}.dynamicItems`,()=>T.assign((0,o._)`${I.evaluated}.items`,(0,o._)`undefined`))}function g(I,T){const O=typeof I=="object"&&I[T.schemaId];return O&&(T.code.source||T.code.process)?(0,o._)`/*# sourceURL=${O} */`:o.nil}function b(I,T){if(w(I)&&(E(I),_(I))){S(I,T);return}(0,e.boolOrEmptySchema)(I,T)}function _({schema:I,self:T}){if(typeof I=="boolean")return!I;for(const O in I)if(T.RULES.all[O])return!0;return!1}function w(I){return typeof I.schema!="boolean"}function S(I,T){const{schema:O,gen:N,opts:F}=I;F.$comment&&O.$comment&&D(I),A(I),k(I);const z=N.const("_errs",u.default.errors);$(I,z),N.var(T,(0,o._)`${z} === ${u.default.errors}`)}function E(I){(0,c.checkUnknownRules)(I),C(I)}function $(I,T){if(I.opts.jtd)return ee(I,[],!1,T);const O=(0,t.getSchemaTypes)(I.schema),N=(0,t.coerceAndCheckDataType)(I,O);ee(I,O,!N,T)}function C(I){const{schema:T,errSchemaPath:O,opts:N,self:F}=I;T.$ref&&N.ignoreKeywordsWithRef&&(0,c.schemaHasRulesButRef)(T,F.RULES)&&F.logger.warn(`$ref: keywords ignored in schema at path "${O}"`)}function P(I){const{schema:T,opts:O}=I;T.default!==void 0&&O.useDefaults&&O.strictSchema&&(0,c.checkStrictMode)(I,"default is ignored in the schema root")}function A(I){const T=I.schema[I.opts.schemaId];T&&(I.baseId=(0,l.resolveUrl)(I.opts.uriResolver,I.baseId,T))}function k(I){if(I.schema.$async&&!I.schemaEnv.$async)throw new Error("async schema in sync schema")}function D({gen:I,schemaEnv:T,schema:O,errSchemaPath:N,opts:F}){const z=O.$comment;if(F.$comment===!0)I.code((0,o._)`${u.default.self}.logger.log(${z})`);else if(typeof F.$comment=="function"){const X=(0,o.str)`${N}/$comment`,re=I.scopeValue("root",{ref:T.root});I.code((0,o._)`${u.default.self}.opts.$comment(${z}, ${X}, ${re}.schema)`)}}function U(I){const{gen:T,schemaEnv:O,validateName:N,ValidationError:F,opts:z}=I;O.$async?T.if((0,o._)`${u.default.errors} === 0`,()=>T.return(u.default.data),()=>T.throw((0,o._)`new ${F}(${u.default.vErrors})`)):(T.assign((0,o._)`${N}.errors`,u.default.vErrors),z.unevaluated&&q(I),T.return((0,o._)`${u.default.errors} === 0`))}function q({gen:I,evaluated:T,props:O,items:N}){O instanceof o.Name&&I.assign((0,o._)`${T}.props`,O),N instanceof o.Name&&I.assign((0,o._)`${T}.items`,N)}function ee(I,T,O,N){const{gen:F,schema:z,data:X,allErrors:re,opts:H,self:G}=I,{RULES:te}=G;if(z.$ref&&(H.ignoreKeywordsWithRef||!(0,c.schemaHasRulesButRef)(z,te))){F.block(()=>fe(I,"$ref",te.all.$ref.definition));return}H.jtd||Q(I,T),F.block(()=>{for(const ne of te.rules)se(ne);se(te.post)});function se(ne){(0,r.shouldUseGroup)(z,ne)&&(ne.type?(F.if((0,n.checkDataType)(ne.type,X,H.strictNumbers)),Z(I,ne),T.length===1&&T[0]===ne.type&&O&&(F.else(),(0,n.reportTypeError)(I)),F.endIf()):Z(I,ne),re||F.if((0,o._)`${u.default.errors} === ${N||0}`))}}function Z(I,T){const{gen:O,schema:N,opts:{useDefaults:F}}=I;F&&(0,i.assignDefaults)(I,T.type),O.block(()=>{for(const z of T.rules)(0,r.shouldUseRule)(N,z)&&fe(I,z.keyword,z.definition,T.type)})}function Q(I,T){I.schemaEnv.meta||!I.opts.strictTypes||(ae(I,T),I.opts.allowUnionTypes||W(I,T),j(I,I.dataTypes))}function ae(I,T){if(T.length){if(!I.dataTypes.length){I.dataTypes=T;return}T.forEach(O=>{B(I.dataTypes,O)||M(I,`type "${O}" not allowed by context "${I.dataTypes.join(",")}"`)}),R(I,T)}}function W(I,T){T.length>1&&!(T.length===2&&T.includes("null"))&&M(I,"use allowUnionTypes to allow union type keyword")}function j(I,T){const O=I.self.RULES.all;for(const N in O){const F=O[N];if(typeof F=="object"&&(0,r.shouldUseRule)(I.schema,F)){const{type:z}=F.definition;z.length&&!z.some(X=>K(T,X))&&M(I,`missing type "${z.join(",")}" for keyword "${N}"`)}}}function K(I,T){return I.includes(T)||T==="number"&&I.includes("integer")}function B(I,T){return I.includes(T)||T==="integer"&&I.includes("number")}function R(I,T){const O=[];for(const N of I.dataTypes)B(T,N)?O.push(N):T.includes("integer")&&N==="number"&&O.push("integer");I.dataTypes=O}function M(I,T){const O=I.schemaEnv.baseId+I.errSchemaPath;T+=` at "${O}" (strictTypes)`,(0,c.checkStrictMode)(I,T,I.opts.strictTypes)}class Y{constructor(T,O,N){if((0,s.validateKeywordUsage)(T,O,N),this.gen=T.gen,this.allErrors=T.allErrors,this.keyword=N,this.data=T.data,this.schema=T.schema[N],this.$data=O.$data&&T.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,c.schemaRefOrVal)(T,this.schema,N,this.$data),this.schemaType=O.schemaType,this.parentSchema=T.schema,this.params={},this.it=T,this.def=O,this.$data)this.schemaCode=T.gen.const("vSchema",be(this.$data,T));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,O.schemaType,O.allowUndefined))throw new Error(`${N} value must be ${JSON.stringify(O.schemaType)}`);("code"in O?O.trackErrors:O.errors!==!1)&&(this.errsCount=T.gen.const("_errs",u.default.errors))}result(T,O,N){this.failResult((0,o.not)(T),O,N)}failResult(T,O,N){this.gen.if(T),N?N():this.error(),O?(this.gen.else(),O(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(T,O){this.failResult((0,o.not)(T),void 0,O)}fail(T){if(T===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(T),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(T){if(!this.$data)return this.fail(T);const{schemaCode:O}=this;this.fail((0,o._)`${O} !== undefined && (${(0,o.or)(this.invalid$data(),T)})`)}error(T,O,N){if(O){this.setParams(O),this._error(T,N),this.setParams({});return}this._error(T,N)}_error(T,O){(T?h.reportExtraError:h.reportError)(this,this.def.error,O)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(T){this.allErrors||this.gen.if(T)}setParams(T,O){O?Object.assign(this.params,T):this.params=T}block$data(T,O,N=o.nil){this.gen.block(()=>{this.check$data(T,N),O()})}check$data(T=o.nil,O=o.nil){if(!this.$data)return;const{gen:N,schemaCode:F,schemaType:z,def:X}=this;N.if((0,o.or)((0,o._)`${F} === undefined`,O)),T!==o.nil&&N.assign(T,!0),(z.length||X.validateSchema)&&(N.elseIf(this.invalid$data()),this.$dataError(),T!==o.nil&&N.assign(T,!1)),N.else()}invalid$data(){const{gen:T,schemaCode:O,schemaType:N,def:F,it:z}=this;return(0,o.or)(X(),re());function X(){if(N.length){if(!(O instanceof o.Name))throw new Error("ajv implementation error");const H=Array.isArray(N)?N:[N];return(0,o._)`${(0,n.checkDataTypes)(H,O,z.opts.strictNumbers,n.DataType.Wrong)}`}return o.nil}function re(){if(F.validateSchema){const H=T.scopeValue("validate$data",{ref:F.validateSchema});return(0,o._)`!${H}(${O})`}return o.nil}}subschema(T,O){const N=(0,a.getSubschema)(this.it,T);(0,a.extendSubschemaData)(N,this.it,T),(0,a.extendSubschemaMode)(N,T);const F={...this.it,...N,items:void 0,props:void 0};return b(F,O),F}mergeEvaluated(T,O){const{it:N,gen:F}=this;N.opts.unevaluated&&(N.props!==!0&&T.props!==void 0&&(N.props=c.mergeEvaluated.props(F,T.props,N.props,O)),N.items!==!0&&T.items!==void 0&&(N.items=c.mergeEvaluated.items(F,T.items,N.items,O)))}mergeValidEvaluated(T,O){const{it:N,gen:F}=this;if(N.opts.unevaluated&&(N.props!==!0||N.items!==!0))return F.if(O,()=>this.mergeEvaluated(T,o.Name)),!0}}kn.KeywordCxt=Y;function fe(I,T,O,N){const F=new Y(I,O,T);"code"in O?O.code(F,N):F.$data&&O.validate?(0,s.funcKeywordCode)(F,O):"macro"in O?(0,s.macroKeywordCode)(F,O):(O.compile||O.validate)&&(0,s.funcKeywordCode)(F,O)}const pe=/^\/(?:[^~]|~0|~1)*$/,Me=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function be(I,{dataLevel:T,dataNames:O,dataPathArr:N}){let F,z;if(I==="")return u.default.rootData;if(I[0]==="/"){if(!pe.test(I))throw new Error(`Invalid JSON-pointer: ${I}`);F=I,z=u.default.rootData}else{const G=Me.exec(I);if(!G)throw new Error(`Invalid JSON-pointer: ${I}`);const te=+G[1];if(F=G[2],F==="#"){if(te>=T)throw new Error(H("property/index",te));return N[T-te]}if(te>T)throw new Error(H("data",te));if(z=O[T-te],!F)return z}let X=z;const re=F.split("/");for(const G of re)G&&(z=(0,o._)`${z}${(0,o.getProperty)((0,c.unescapeJsonPointer)(G))}`,X=(0,o._)`${X} && ${z}`);return X;function H(G,te){return`Cannot access ${G} ${te} levels up, current level is ${T}`}}return kn.getData=be,kn}var _u={},Jy;function Su(){if(Jy)return _u;Jy=1,Object.defineProperty(_u,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return _u.default=e,_u}var Eu={},Ky;function Ca(){if(Ky)return Eu;Ky=1,Object.defineProperty(Eu,"__esModule",{value:!0});const e=wu();class t extends Error{constructor(n,i,s,a){super(a||`can't resolve reference ${s} from id ${i}`),this.missingRef=(0,e.resolveUrl)(n,i,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return Eu.default=t,Eu}var dr={},Zy;function xu(){if(Zy)return dr;Zy=1,Object.defineProperty(dr,"__esModule",{value:!0}),dr.resolveSchema=dr.getCompilingSchema=dr.resolveRef=dr.compileSchema=dr.SchemaEnv=void 0;const e=Ne(),t=Su(),r=jr(),n=wu(),i=Ve(),s=Oa();class a{constructor(v){var g;this.refs={},this.dynamicAnchors={};let b;typeof v.schema=="object"&&(b=v.schema),this.schema=v.schema,this.schemaId=v.schemaId,this.root=v.root||this,this.baseId=(g=v.baseId)!==null&&g!==void 0?g:(0,n.normalizeId)(b?.[v.schemaId||"$id"]),this.schemaPath=v.schemaPath,this.localRefs=v.localRefs,this.meta=v.meta,this.$async=b?.$async,this.refs={}}}dr.SchemaEnv=a;function o(p){const v=c.call(this,p);if(v)return v;const g=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:b,lines:_}=this.opts.code,{ownProperties:w}=this.opts,S=new e.CodeGen(this.scope,{es5:b,lines:_,ownProperties:w});let E;p.$async&&(E=S.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const $=S.scopeName("validate");p.validateName=$;const C={gen:S,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:S.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:$,ValidationError:E,schema:p.schema,schemaEnv:p,rootId:g,baseId:p.baseId||g,schemaPath:e.nil,errSchemaPath:p.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let P;try{this._compilations.add(p),(0,s.validateFunctionCode)(C),S.optimize(this.opts.code.optimize);const A=S.toString();P=`${S.scopeRefs(r.default.scope)}return ${A}`,this.opts.code.process&&(P=this.opts.code.process(P,p));const D=new Function(`${r.default.self}`,`${r.default.scope}`,P)(this,this.scope.get());if(this.scope.value($,{ref:D}),D.errors=null,D.schema=p.schema,D.schemaEnv=p,p.$async&&(D.$async=!0),this.opts.code.source===!0&&(D.source={validateName:$,validateCode:A,scopeValues:S._values}),this.opts.unevaluated){const{props:U,items:q}=C;D.evaluated={props:U instanceof e.Name?void 0:U,items:q instanceof e.Name?void 0:q,dynamicProps:U instanceof e.Name,dynamicItems:q instanceof e.Name},D.source&&(D.source.evaluated=(0,e.stringify)(D.evaluated))}return p.validate=D,p}catch(A){throw delete p.validate,delete p.validateName,P&&this.logger.error("Error compiling schema, function code:",P),A}finally{this._compilations.delete(p)}}dr.compileSchema=o;function u(p,v,g){var b;g=(0,n.resolveUrl)(this.opts.uriResolver,v,g);const _=p.refs[g];if(_)return _;let w=d.call(this,p,g);if(w===void 0){const S=(b=p.localRefs)===null||b===void 0?void 0:b[g],{schemaId:E}=this.opts;S&&(w=new a({schema:S,schemaId:E,root:p,baseId:v}))}if(w!==void 0)return p.refs[g]=l.call(this,w)}dr.resolveRef=u;function l(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:o.call(this,p)}function c(p){for(const v of this._compilations)if(h(v,p))return v}dr.getCompilingSchema=c;function h(p,v){return p.schema===v.schema&&p.root===v.root&&p.baseId===v.baseId}function d(p,v){let g;for(;typeof(g=this.refs[v])=="string";)v=g;return g||this.schemas[v]||f.call(this,p,v)}function f(p,v){const g=this.opts.uriResolver.parse(v),b=(0,n._getFullPath)(this.opts.uriResolver,g);let _=(0,n.getFullPath)(this.opts.uriResolver,p.baseId,void 0);if(Object.keys(p.schema).length>0&&b===_)return y.call(this,g,p);const w=(0,n.normalizeId)(b),S=this.refs[w]||this.schemas[w];if(typeof S=="string"){const E=f.call(this,p,S);return typeof E?.schema!="object"?void 0:y.call(this,g,E)}if(typeof S?.schema=="object"){if(S.validate||o.call(this,S),w===(0,n.normalizeId)(v)){const{schema:E}=S,{schemaId:$}=this.opts,C=E[$];return C&&(_=(0,n.resolveUrl)(this.opts.uriResolver,_,C)),new a({schema:E,schemaId:$,root:p,baseId:_})}return y.call(this,g,S)}}dr.resolveSchema=f;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y(p,{baseId:v,schema:g,root:b}){var _;if(((_=p.fragment)===null||_===void 0?void 0:_[0])!=="/")return;for(const E of p.fragment.slice(1).split("/")){if(typeof g=="boolean")return;const $=g[(0,i.unescapeFragment)(E)];if($===void 0)return;g=$;const C=typeof g=="object"&&g[this.opts.schemaId];!m.has(E)&&C&&(v=(0,n.resolveUrl)(this.opts.uriResolver,v,C))}let w;if(typeof g!="boolean"&&g.$ref&&!(0,i.schemaHasRulesButRef)(g,this.RULES)){const E=(0,n.resolveUrl)(this.opts.uriResolver,v,g.$ref);w=f.call(this,b,E)}const{schemaId:S}=this.opts;if(w=w||new a({schema:g,schemaId:S,root:b,baseId:v}),w.schema!==w.root.schema)return w}return dr}const nO={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};var Tu={},Aa={exports:{}},dd,Yy;function iO(){return Yy||(Yy=1,dd={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),dd}var hd,Xy;function sO(){if(Xy)return hd;Xy=1;const{HEX:e}=iO();function t(m){if(a(m,".")<3)return{host:m,isIPV4:!1};const y=m.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[p]=y;return p?{host:s(p,"."),isIPV4:!0}:{host:m,isIPV4:!1}}function r(m,y=!1){let p="",v=!0;for(const g of m){if(e[g]===void 0)return;g!=="0"&&v===!0&&(v=!1),v||(p+=g)}return y&&p.length===0&&(p="0"),p}function n(m){let y=0;const p={error:!1,address:"",zone:""},v=[],g=[];let b=!1,_=!1,w=!1;function S(){if(g.length){if(b===!1){const E=r(g);if(E!==void 0)v.push(E);else return p.error=!0,!1}g.length=0}return!0}for(let E=0;E7){p.error=!0;break}E-1>=0&&m[E-1]===":"&&(_=!0);continue}else if($==="%"){if(!S())break;b=!0}else{g.push($);continue}}return g.length&&(b?p.zone=g.join(""):w?v.push(g.join("")):v.push(r(g))),p.address=v.join(""),p}function i(m,y={}){if(a(m,":")<2)return{host:m,isIPV6:!1};const p=n(m);if(p.error)return{host:m,isIPV6:!1};{let v=p.address,g=p.address;return p.zone&&(v+="%"+p.zone,g+="%25"+p.zone),{host:v,escapedHost:g,isIPV6:!0}}}function s(m,y){let p="",v=!0;const g=m.length;for(let b=0;b/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(v)));function d(p){let v=0;for(let g=0,b=p.length;g126||h[v])return!0;return!1}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(p,v){const g=Object.assign({},v),b={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},_=p.indexOf("%")!==-1;let w=!1;g.reference==="suffix"&&(p=(g.scheme?g.scheme+":":"")+"//"+p);const S=p.match(f);if(S){if(b.scheme=S[1],b.userinfo=S[3],b.host=S[4],b.port=parseInt(S[5],10),b.path=S[6]||"",b.query=S[7],b.fragment=S[8],isNaN(b.port)&&(b.port=S[5]),b.host){const $=t(b.host);if($.isIPV4===!1){const C=e($.host,{isIPV4:!1});b.host=C.host.toLowerCase(),w=C.isIPV6}else b.host=$.host,w=!0}b.scheme===void 0&&b.userinfo===void 0&&b.host===void 0&&b.port===void 0&&!b.path&&b.query===void 0?b.reference="same-document":b.scheme===void 0?b.reference="relative":b.fragment===void 0?b.reference="absolute":b.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==b.reference&&(b.error=b.error||"URI is not a "+g.reference+" reference.");const E=s[(g.scheme||b.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!E||!E.unicodeSupport)&&b.host&&(g.domainHost||E&&E.domainHost)&&w===!1&&d(b.host))try{b.host=URL.domainToASCII(b.host.toLowerCase())}catch($){b.error=b.error||"Host's domain name can not be converted to ASCII: "+$}(!E||E&&!E.skipNormalize)&&(_&&b.scheme!==void 0&&(b.scheme=unescape(b.scheme)),_&&b.host!==void 0&&(b.host=unescape(b.host)),b.path!==void 0&&b.path.length&&(b.path=escape(unescape(b.path))),b.fragment!==void 0&&b.fragment.length&&(b.fragment=encodeURI(decodeURIComponent(b.fragment)))),E&&E.parse&&E.parse(b,g)}else b.error=b.error||"URI can not be parsed.";return b}const y={SCHEMES:s,normalize:a,resolve:o,resolveComponents:u,equal:l,serialize:c,parse:m};return Aa.exports=y,Aa.exports.default=y,Aa.exports.fastUri=y,Aa.exports}var tb;function uO(){if(tb)return Tu;tb=1,Object.defineProperty(Tu,"__esModule",{value:!0});const e=oO();return e.code='require("ajv/dist/runtime/uri").default',Tu.default=e,Tu}var rb;function nb(){return rb||(rb=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Oa();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=Ne();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=Su(),i=Ca(),s=By(),a=xu(),o=Ne(),u=wu(),l=bu(),c=Ve(),h=nO,d=uO(),f=(W,j)=>new RegExp(W,j);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),p={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},g=200;function b(W){var j,K,B,R,M,Y,fe,pe,Me,be,I,T,O,N,F,z,X,re,H,G,te,se,ne,me,ye;const _e=W.strict,Je=(j=W.code)===null||j===void 0?void 0:j.optimize,Ue=Je===!0||Je===void 0?1:Je||0,wt=(B=(K=W.code)===null||K===void 0?void 0:K.regExp)!==null&&B!==void 0?B:f,Ht=(R=W.uriResolver)!==null&&R!==void 0?R:d.default;return{strictSchema:(Y=(M=W.strictSchema)!==null&&M!==void 0?M:_e)!==null&&Y!==void 0?Y:!0,strictNumbers:(pe=(fe=W.strictNumbers)!==null&&fe!==void 0?fe:_e)!==null&&pe!==void 0?pe:!0,strictTypes:(be=(Me=W.strictTypes)!==null&&Me!==void 0?Me:_e)!==null&&be!==void 0?be:"log",strictTuples:(T=(I=W.strictTuples)!==null&&I!==void 0?I:_e)!==null&&T!==void 0?T:"log",strictRequired:(N=(O=W.strictRequired)!==null&&O!==void 0?O:_e)!==null&&N!==void 0?N:!1,code:W.code?{...W.code,optimize:Ue,regExp:wt}:{optimize:Ue,regExp:wt},loopRequired:(F=W.loopRequired)!==null&&F!==void 0?F:g,loopEnum:(z=W.loopEnum)!==null&&z!==void 0?z:g,meta:(X=W.meta)!==null&&X!==void 0?X:!0,messages:(re=W.messages)!==null&&re!==void 0?re:!0,inlineRefs:(H=W.inlineRefs)!==null&&H!==void 0?H:!0,schemaId:(G=W.schemaId)!==null&&G!==void 0?G:"$id",addUsedSchema:(te=W.addUsedSchema)!==null&&te!==void 0?te:!0,validateSchema:(se=W.validateSchema)!==null&&se!==void 0?se:!0,validateFormats:(ne=W.validateFormats)!==null&&ne!==void 0?ne:!0,unicodeRegExp:(me=W.unicodeRegExp)!==null&&me!==void 0?me:!0,int32range:(ye=W.int32range)!==null&&ye!==void 0?ye:!0,uriResolver:Ht}}class _{constructor(j={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,j=this.opts={...j,...b(j)};const{es5:K,lines:B}=this.opts.code;this.scope=new o.ValueScope({scope:{},prefixes:y,es5:K,lines:B}),this.logger=k(j.logger);const R=j.validateFormats;j.validateFormats=!1,this.RULES=(0,s.getRules)(),w.call(this,p,j,"NOT SUPPORTED"),w.call(this,v,j,"DEPRECATED","warn"),this._metaOpts=P.call(this),j.formats&&$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),j.keywords&&C.call(this,j.keywords),typeof j.meta=="object"&&this.addMetaSchema(j.meta),E.call(this),j.validateFormats=R}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:j,meta:K,schemaId:B}=this.opts;let R=h;B==="id"&&(R={...h},R.id=R.$id,delete R.$id),K&&j&&this.addMetaSchema(R,R[B],!1)}defaultMeta(){const{meta:j,schemaId:K}=this.opts;return this.opts.defaultMeta=typeof j=="object"?j[K]||j:void 0}validate(j,K){let B;if(typeof j=="string"){if(B=this.getSchema(j),!B)throw new Error(`no schema with key or ref "${j}"`)}else B=this.compile(j);const R=B(K);return"$async"in B||(this.errors=B.errors),R}compile(j,K){const B=this._addSchema(j,K);return B.validate||this._compileSchemaEnv(B)}compileAsync(j,K){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:B}=this.opts;return R.call(this,j,K);async function R(be,I){await M.call(this,be.$schema);const T=this._addSchema(be,I);return T.validate||Y.call(this,T)}async function M(be){be&&!this.getSchema(be)&&await R.call(this,{$ref:be},!0)}async function Y(be){try{return this._compileSchemaEnv(be)}catch(I){if(!(I instanceof i.default))throw I;return fe.call(this,I),await pe.call(this,I.missingSchema),Y.call(this,be)}}function fe({missingSchema:be,missingRef:I}){if(this.refs[be])throw new Error(`AnySchema ${be} is loaded but ${I} cannot be resolved`)}async function pe(be){const I=await Me.call(this,be);this.refs[be]||await M.call(this,I.$schema),this.refs[be]||this.addSchema(I,be,K)}async function Me(be){const I=this._loading[be];if(I)return I;try{return await(this._loading[be]=B(be))}finally{delete this._loading[be]}}}addSchema(j,K,B,R=this.opts.validateSchema){if(Array.isArray(j)){for(const Y of j)this.addSchema(Y,void 0,B,R);return this}let M;if(typeof j=="object"){const{schemaId:Y}=this.opts;if(M=j[Y],M!==void 0&&typeof M!="string")throw new Error(`schema ${Y} must be string`)}return K=(0,u.normalizeId)(K||M),this._checkUnique(K),this.schemas[K]=this._addSchema(j,B,K,R,!0),this}addMetaSchema(j,K,B=this.opts.validateSchema){return this.addSchema(j,K,!0,B),this}validateSchema(j,K){if(typeof j=="boolean")return!0;let B;if(B=j.$schema,B!==void 0&&typeof B!="string")throw new Error("$schema must be a string");if(B=B||this.opts.defaultMeta||this.defaultMeta(),!B)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const R=this.validate(B,j);if(!R&&K){const M="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(M);else throw new Error(M)}return R}getSchema(j){let K;for(;typeof(K=S.call(this,j))=="string";)j=K;if(K===void 0){const{schemaId:B}=this.opts,R=new a.SchemaEnv({schema:{},schemaId:B});if(K=a.resolveSchema.call(this,R,j),!K)return;this.refs[j]=K}return K.validate||this._compileSchemaEnv(K)}removeSchema(j){if(j instanceof RegExp)return this._removeAllSchemas(this.schemas,j),this._removeAllSchemas(this.refs,j),this;switch(typeof j){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const K=S.call(this,j);return typeof K=="object"&&this._cache.delete(K.schema),delete this.schemas[j],delete this.refs[j],this}case"object":{const K=j;this._cache.delete(K);let B=j[this.opts.schemaId];return B&&(B=(0,u.normalizeId)(B),delete this.schemas[B],delete this.refs[B]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(j){for(const K of j)this.addKeyword(K);return this}addKeyword(j,K){let B;if(typeof j=="string")B=j,typeof K=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),K.keyword=B);else if(typeof j=="object"&&K===void 0){if(K=j,B=K.keyword,Array.isArray(B)&&!B.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(U.call(this,B,K),!K)return(0,c.eachItem)(B,M=>q.call(this,M)),this;Z.call(this,K);const R={...K,type:(0,l.getJSONTypes)(K.type),schemaType:(0,l.getJSONTypes)(K.schemaType)};return(0,c.eachItem)(B,R.type.length===0?M=>q.call(this,M,R):M=>R.type.forEach(Y=>q.call(this,M,R,Y))),this}getKeyword(j){const K=this.RULES.all[j];return typeof K=="object"?K.definition:!!K}removeKeyword(j){const{RULES:K}=this;delete K.keywords[j],delete K.all[j];for(const B of K.rules){const R=B.rules.findIndex(M=>M.keyword===j);R>=0&&B.rules.splice(R,1)}return this}addFormat(j,K){return typeof K=="string"&&(K=new RegExp(K)),this.formats[j]=K,this}errorsText(j=this.errors,{separator:K=", ",dataVar:B="data"}={}){return!j||j.length===0?"No errors":j.map(R=>`${B}${R.instancePath} ${R.message}`).reduce((R,M)=>R+K+M)}$dataMetaSchema(j,K){const B=this.RULES.all;j=JSON.parse(JSON.stringify(j));for(const R of K){const M=R.split("/").slice(1);let Y=j;for(const fe of M)Y=Y[fe];for(const fe in B){const pe=B[fe];if(typeof pe!="object")continue;const{$data:Me}=pe.definition,be=Y[fe];Me&&be&&(Y[fe]=ae(be))}}return j}_removeAllSchemas(j,K){for(const B in j){const R=j[B];(!K||K.test(B))&&(typeof R=="string"?delete j[B]:R&&!R.meta&&(this._cache.delete(R.schema),delete j[B]))}}_addSchema(j,K,B,R=this.opts.validateSchema,M=this.opts.addUsedSchema){let Y;const{schemaId:fe}=this.opts;if(typeof j=="object")Y=j[fe];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof j!="boolean")throw new Error("schema must be object or boolean")}let pe=this._cache.get(j);if(pe!==void 0)return pe;B=(0,u.normalizeId)(Y||B);const Me=u.getSchemaRefs.call(this,j,B);return pe=new a.SchemaEnv({schema:j,schemaId:fe,meta:K,baseId:B,localRefs:Me}),this._cache.set(pe.schema,pe),M&&!B.startsWith("#")&&(B&&this._checkUnique(B),this.refs[B]=pe),R&&this.validateSchema(j,!0),pe}_checkUnique(j){if(this.schemas[j]||this.refs[j])throw new Error(`schema with key or id "${j}" already exists`)}_compileSchemaEnv(j){if(j.meta?this._compileMetaSchema(j):a.compileSchema.call(this,j),!j.validate)throw new Error("ajv implementation error");return j.validate}_compileMetaSchema(j){const K=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,j)}finally{this.opts=K}}}_.ValidationError=n.default,_.MissingRefError=i.default,e.default=_;function w(W,j,K,B="error"){for(const R in W){const M=R;M in j&&this.logger[B](`${K}: option ${R}. ${W[M]}`)}}function S(W){return W=(0,u.normalizeId)(W),this.schemas[W]||this.refs[W]}function E(){const W=this.opts.schemas;if(W)if(Array.isArray(W))this.addSchema(W);else for(const j in W)this.addSchema(W[j],j)}function $(){for(const W in this.opts.formats){const j=this.opts.formats[W];j&&this.addFormat(W,j)}}function C(W){if(Array.isArray(W)){this.addVocabulary(W);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const j in W){const K=W[j];K.keyword||(K.keyword=j),this.addKeyword(K)}}function P(){const W={...this.opts};for(const j of m)delete W[j];return W}const A={log(){},warn(){},error(){}};function k(W){if(W===!1)return A;if(W===void 0)return console;if(W.log&&W.warn&&W.error)return W;throw new Error("logger must implement log, warn and error methods")}const D=/^[a-z_$][a-z0-9_$:-]*$/i;function U(W,j){const{RULES:K}=this;if((0,c.eachItem)(W,B=>{if(K.keywords[B])throw new Error(`Keyword ${B} is already defined`);if(!D.test(B))throw new Error(`Keyword ${B} has invalid name`)}),!!j&&j.$data&&!("code"in j||"validate"in j))throw new Error('$data keyword must have "code" or "validate" function')}function q(W,j,K){var B;const R=j?.post;if(K&&R)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:M}=this;let Y=R?M.post:M.rules.find(({type:pe})=>pe===K);if(Y||(Y={type:K,rules:[]},M.rules.push(Y)),M.keywords[W]=!0,!j)return;const fe={keyword:W,definition:{...j,type:(0,l.getJSONTypes)(j.type),schemaType:(0,l.getJSONTypes)(j.schemaType)}};j.before?ee.call(this,Y,fe,j.before):Y.rules.push(fe),M.all[W]=fe,(B=j.implements)===null||B===void 0||B.forEach(pe=>this.addKeyword(pe))}function ee(W,j,K){const B=W.rules.findIndex(R=>R.keyword===K);B>=0?W.rules.splice(B,0,j):(W.rules.push(j),this.logger.warn(`rule ${K} is not defined`))}function Z(W){let{metaSchema:j}=W;j!==void 0&&(W.$data&&this.opts.$data&&(j=ae(j)),W.validateSchema=this.compile(j,!0))}const Q={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ae(W){return{anyOf:[W,Q]}}}(ad)),ad}var $u={},Ou={},Cu={},ib;function lO(){if(ib)return Cu;ib=1,Object.defineProperty(Cu,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Cu.default=e,Cu}var ui={},sb;function md(){if(sb)return ui;sb=1,Object.defineProperty(ui,"__esModule",{value:!0}),ui.callRef=ui.getValidate=void 0;const e=Ca(),t=Fr(),r=Ne(),n=jr(),i=xu(),s=Ve(),a={keyword:"$ref",schemaType:"string",code(l){const{gen:c,schema:h,it:d}=l,{baseId:f,schemaEnv:m,validateName:y,opts:p,self:v}=d,{root:g}=m;if((h==="#"||h==="#/")&&f===g.baseId)return _();const b=i.resolveRef.call(v,g,f,h);if(b===void 0)throw new e.default(d.opts.uriResolver,f,h);if(b instanceof i.SchemaEnv)return w(b);return S(b);function _(){if(m===g)return u(l,y,m,m.$async);const E=c.scopeValue("root",{ref:g});return u(l,(0,r._)`${E}.validate`,g,g.$async)}function w(E){const $=o(l,E);u(l,$,E,E.$async)}function S(E){const $=c.scopeValue("schema",p.code.source===!0?{ref:E,code:(0,r.stringify)(E)}:{ref:E}),C=c.name("valid"),P=l.subschema({schema:E,dataTypes:[],schemaPath:r.nil,topSchemaRef:$,errSchemaPath:h},C);l.mergeEvaluated(P),l.ok(C)}}};function o(l,c){const{gen:h}=l;return c.validate?h.scopeValue("validate",{ref:c.validate}):(0,r._)`${h.scopeValue("wrapper",{ref:c})}.validate`}ui.getValidate=o;function u(l,c,h,d){const{gen:f,it:m}=l,{allErrors:y,schemaEnv:p,opts:v}=m,g=v.passContext?n.default.this:r.nil;d?b():_();function b(){if(!p.$async)throw new Error("async schema referenced by sync schema");const E=f.let("valid");f.try(()=>{f.code((0,r._)`await ${(0,t.callValidateCode)(l,c,g)}`),S(c),y||f.assign(E,!0)},$=>{f.if((0,r._)`!(${$} instanceof ${m.ValidationError})`,()=>f.throw($)),w($),y||f.assign(E,!1)}),l.ok(E)}function _(){l.result((0,t.callValidateCode)(l,c,g),()=>S(c),()=>w(c))}function w(E){const $=(0,r._)`${E}.errors`;f.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${$} : ${n.default.vErrors}.concat(${$})`),f.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function S(E){var $;if(!m.opts.unevaluated)return;const C=($=h?.validate)===null||$===void 0?void 0:$.evaluated;if(m.props!==!0)if(C&&!C.dynamicProps)C.props!==void 0&&(m.props=s.mergeEvaluated.props(f,C.props,m.props));else{const P=f.var("props",(0,r._)`${E}.evaluated.props`);m.props=s.mergeEvaluated.props(f,P,m.props,r.Name)}if(m.items!==!0)if(C&&!C.dynamicItems)C.items!==void 0&&(m.items=s.mergeEvaluated.items(f,C.items,m.items));else{const P=f.var("items",(0,r._)`${E}.evaluated.items`);m.items=s.mergeEvaluated.items(f,P,m.items,r.Name)}}}return ui.callRef=u,ui.default=a,ui}var ab;function cO(){if(ab)return Ou;ab=1,Object.defineProperty(Ou,"__esModule",{value:!0});const e=lO(),t=md(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Ou.default=r,Ou}var Au={},Pu={},ob;function fO(){if(ob)return Pu;ob=1,Object.defineProperty(Pu,"__esModule",{value:!0});const e=Ne(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:s,schemaCode:a})=>(0,e.str)`must be ${r[s].okStr} ${a}`,params:({keyword:s,schemaCode:a})=>(0,e._)`{comparison: ${r[s].okStr}, limit: ${a}}`},i={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(s){const{keyword:a,data:o,schemaCode:u}=s;s.fail$data((0,e._)`${o} ${r[a].fail} ${u} || isNaN(${o})`)}};return Pu.default=i,Pu}var Nu={},ub;function dO(){if(ub)return Nu;ub=1,Object.defineProperty(Nu,"__esModule",{value:!0});const e=Ne(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:i,data:s,schemaCode:a,it:o}=n,u=o.opts.multipleOfPrecision,l=i.let("res"),c=u?(0,e._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${u}`:(0,e._)`${l} !== parseInt(${l})`;n.fail$data((0,e._)`(${a} === 0 || (${l} = ${s}/${a}, ${c}))`)}};return Nu.default=r,Nu}var ku={},Ru={},lb;function hO(){if(lb)return Ru;lb=1,Object.defineProperty(Ru,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,i=0,s;for(;i=55296&&s<=56319&&i(0,e._)`{limit: ${s}}`},code(s){const{keyword:a,data:o,schemaCode:u,it:l}=s,c=a==="maxLength"?e.operators.GT:e.operators.LT,h=l.opts.unicode===!1?(0,e._)`${o}.length`:(0,e._)`${(0,t.useFunc)(s.gen,r.default)}(${o})`;s.fail$data((0,e._)`${h} ${c} ${u}`)}};return ku.default=i,ku}var Iu={},fb;function mO(){if(fb)return Iu;fb=1,Object.defineProperty(Iu,"__esModule",{value:!0});const e=Fr(),t=Ne(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:i})=>(0,t.str)`must match pattern "${i}"`,params:({schemaCode:i})=>(0,t._)`{pattern: ${i}}`},code(i){const{data:s,$data:a,schema:o,schemaCode:u,it:l}=i,c=l.opts.unicodeRegExp?"u":"",h=a?(0,t._)`(new RegExp(${u}, ${c}))`:(0,e.usePattern)(i,o);i.fail$data((0,t._)`!${h}.test(${s})`)}};return Iu.default=n,Iu}var Du={},db;function gO(){if(db)return Du;db=1,Object.defineProperty(Du,"__esModule",{value:!0});const e=Ne(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:i}){const s=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${s} than ${i} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:i,data:s,schemaCode:a}=n,o=i==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${s}).length ${o} ${a}`)}};return Du.default=r,Du}var Mu={},hb;function vO(){if(hb)return Mu;hb=1,Object.defineProperty(Mu,"__esModule",{value:!0});const e=Fr(),t=Ne(),r=Ve(),i={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:s}})=>(0,t.str)`must have required property '${s}'`,params:({params:{missingProperty:s}})=>(0,t._)`{missingProperty: ${s}}`},code(s){const{gen:a,schema:o,schemaCode:u,data:l,$data:c,it:h}=s,{opts:d}=h;if(!c&&o.length===0)return;const f=o.length>=d.loopRequired;if(h.allErrors?m():y(),d.strictRequired){const g=s.parentSchema.properties,{definedProperties:b}=s.it;for(const _ of o)if(g?.[_]===void 0&&!b.has(_)){const w=h.schemaEnv.baseId+h.errSchemaPath,S=`required property "${_}" is not defined at "${w}" (strictRequired)`;(0,r.checkStrictMode)(h,S,h.opts.strictRequired)}}function m(){if(f||c)s.block$data(t.nil,p);else for(const g of o)(0,e.checkReportMissingProp)(s,g)}function y(){const g=a.let("missing");if(f||c){const b=a.let("valid",!0);s.block$data(b,()=>v(g,b)),s.ok(b)}else a.if((0,e.checkMissingProp)(s,o,g)),(0,e.reportMissingProp)(s,g),a.else()}function p(){a.forOf("prop",u,g=>{s.setParams({missingProperty:g}),a.if((0,e.noPropertyInData)(a,l,g,d.ownProperties),()=>s.error())})}function v(g,b){s.setParams({missingProperty:g}),a.forOf(g,u,()=>{a.assign(b,(0,e.propertyInData)(a,l,g,d.ownProperties)),a.if((0,t.not)(b),()=>{s.error(),a.break()})},t.nil)}}};return Mu.default=i,Mu}var Bu={},pb;function yO(){if(pb)return Bu;pb=1,Object.defineProperty(Bu,"__esModule",{value:!0});const e=Ne(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:i}){const s=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${s} than ${i} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:i,data:s,schemaCode:a}=n,o=i==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${s}.length ${o} ${a}`)}};return Bu.default=r,Bu}var ju={},Lu={},mb;function gd(){if(mb)return Lu;mb=1,Object.defineProperty(Lu,"__esModule",{value:!0});const e=Pf();return e.code='require("ajv/dist/runtime/equal").default',Lu.default=e,Lu}var gb;function bO(){if(gb)return ju;gb=1,Object.defineProperty(ju,"__esModule",{value:!0});const e=bu(),t=Ne(),r=Ve(),n=gd(),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:a,j:o}})=>(0,t.str)`must NOT have duplicate items (items ## ${o} and ${a} are identical)`,params:({params:{i:a,j:o}})=>(0,t._)`{i: ${a}, j: ${o}}`},code(a){const{gen:o,data:u,$data:l,schema:c,parentSchema:h,schemaCode:d,it:f}=a;if(!l&&!c)return;const m=o.let("valid"),y=h.items?(0,e.getSchemaTypes)(h.items):[];a.block$data(m,p,(0,t._)`${d} === false`),a.ok(m);function p(){const _=o.let("i",(0,t._)`${u}.length`),w=o.let("j");a.setParams({i:_,j:w}),o.assign(m,!0),o.if((0,t._)`${_} > 1`,()=>(v()?g:b)(_,w))}function v(){return y.length>0&&!y.some(_=>_==="object"||_==="array")}function g(_,w){const S=o.name("item"),E=(0,e.checkDataTypes)(y,S,f.opts.strictNumbers,e.DataType.Wrong),$=o.const("indices",(0,t._)`{}`);o.for((0,t._)`;${_}--;`,()=>{o.let(S,(0,t._)`${u}[${_}]`),o.if(E,(0,t._)`continue`),y.length>1&&o.if((0,t._)`typeof ${S} == "string"`,(0,t._)`${S} += "_"`),o.if((0,t._)`typeof ${$}[${S}] == "number"`,()=>{o.assign(w,(0,t._)`${$}[${S}]`),a.error(),o.assign(m,!1).break()}).code((0,t._)`${$}[${S}] = ${_}`)})}function b(_,w){const S=(0,r.useFunc)(o,n.default),E=o.name("outer");o.label(E).for((0,t._)`;${_}--;`,()=>o.for((0,t._)`${w} = ${_}; ${w}--;`,()=>o.if((0,t._)`${S}(${u}[${_}], ${u}[${w}])`,()=>{a.error(),o.assign(m,!1).break(E)})))}}};return ju.default=s,ju}var Fu={},vb;function wO(){if(vb)return Fu;vb=1,Object.defineProperty(Fu,"__esModule",{value:!0});const e=Ne(),t=Ve(),r=gd(),i={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:s})=>(0,e._)`{allowedValue: ${s}}`},code(s){const{gen:a,data:o,$data:u,schemaCode:l,schema:c}=s;u||c&&typeof c=="object"?s.fail$data((0,e._)`!${(0,t.useFunc)(a,r.default)}(${o}, ${l})`):s.fail((0,e._)`${c} !== ${o}`)}};return Fu.default=i,Fu}var qu={},yb;function _O(){if(yb)return qu;yb=1,Object.defineProperty(qu,"__esModule",{value:!0});const e=Ne(),t=Ve(),r=gd(),i={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:s})=>(0,e._)`{allowedValues: ${s}}`},code(s){const{gen:a,data:o,$data:u,schema:l,schemaCode:c,it:h}=s;if(!u&&l.length===0)throw new Error("enum must have non-empty array");const d=l.length>=h.opts.loopEnum;let f;const m=()=>f??(f=(0,t.useFunc)(a,r.default));let y;if(d||u)y=a.let("valid"),s.block$data(y,p);else{if(!Array.isArray(l))throw new Error("ajv implementation error");const g=a.const("vSchema",c);y=(0,e.or)(...l.map((b,_)=>v(g,_)))}s.pass(y);function p(){a.assign(y,!1),a.forOf("v",c,g=>a.if((0,e._)`${m()}(${o}, ${g})`,()=>a.assign(y,!0).break()))}function v(g,b){const _=l[b];return typeof _=="object"&&_!==null?(0,e._)`${m()}(${o}, ${g}[${b}])`:(0,e._)`${o} === ${_}`}}};return qu.default=i,qu}var bb;function SO(){if(bb)return Au;bb=1,Object.defineProperty(Au,"__esModule",{value:!0});const e=fO(),t=dO(),r=pO(),n=mO(),i=gO(),s=vO(),a=yO(),o=bO(),u=wO(),l=_O(),c=[e.default,t.default,r.default,n.default,i.default,s.default,a.default,o.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,l.default];return Au.default=c,Au}var Vu={},$s={},wb;function _b(){if(wb)return $s;wb=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.validateAdditionalItems=void 0;const e=Ne(),t=Ve(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{parentSchema:a,it:o}=s,{items:u}=a;if(!Array.isArray(u)){(0,t.checkStrictMode)(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}i(s,u)}};function i(s,a){const{gen:o,schema:u,data:l,keyword:c,it:h}=s;h.items=!0;const d=o.const("len",(0,e._)`${l}.length`);if(u===!1)s.setParams({len:a.length}),s.pass((0,e._)`${d} <= ${a.length}`);else if(typeof u=="object"&&!(0,t.alwaysValidSchema)(h,u)){const m=o.var("valid",(0,e._)`${d} <= ${a.length}`);o.if((0,e.not)(m),()=>f(m)),s.ok(m)}function f(m){o.forRange("i",a.length,d,y=>{s.subschema({keyword:c,dataProp:y,dataPropType:t.Type.Num},m),h.allErrors||o.if((0,e.not)(m),()=>o.break())})}}return $s.validateAdditionalItems=i,$s.default=n,$s}var Uu={},Os={},Sb;function Eb(){if(Sb)return Os;Sb=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.validateTuple=void 0;const e=Ne(),t=Ve(),r=Fr(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(s){const{schema:a,it:o}=s;if(Array.isArray(a))return i(s,"additionalItems",a);o.items=!0,!(0,t.alwaysValidSchema)(o,a)&&s.ok((0,r.validateArray)(s))}};function i(s,a,o=s.schema){const{gen:u,parentSchema:l,data:c,keyword:h,it:d}=s;y(l),d.opts.unevaluated&&o.length&&d.items!==!0&&(d.items=t.mergeEvaluated.items(u,o.length,d.items));const f=u.name("valid"),m=u.const("len",(0,e._)`${c}.length`);o.forEach((p,v)=>{(0,t.alwaysValidSchema)(d,p)||(u.if((0,e._)`${m} > ${v}`,()=>s.subschema({keyword:h,schemaProp:v,dataProp:v},f)),s.ok(f))});function y(p){const{opts:v,errSchemaPath:g}=d,b=o.length,_=b===p.minItems&&(b===p.maxItems||p[a]===!1);if(v.strictTuples&&!_){const w=`"${h}" is ${b}-tuple, but minItems or maxItems/${a} are not specified or different at path "${g}"`;(0,t.checkStrictMode)(d,w,v.strictTuples)}}}return Os.validateTuple=i,Os.default=n,Os}var xb;function EO(){if(xb)return Uu;xb=1,Object.defineProperty(Uu,"__esModule",{value:!0});const e=Eb(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return Uu.default=t,Uu}var zu={},Tb;function xO(){if(Tb)return zu;Tb=1,Object.defineProperty(zu,"__esModule",{value:!0});const e=Ne(),t=Ve(),r=Fr(),n=_b(),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:a}})=>(0,e.str)`must NOT have more than ${a} items`,params:({params:{len:a}})=>(0,e._)`{limit: ${a}}`},code(a){const{schema:o,parentSchema:u,it:l}=a,{prefixItems:c}=u;l.items=!0,!(0,t.alwaysValidSchema)(l,o)&&(c?(0,n.validateAdditionalItems)(a,c):a.ok((0,r.validateArray)(a)))}};return zu.default=s,zu}var Hu={},$b;function TO(){if($b)return Hu;$b=1,Object.defineProperty(Hu,"__esModule",{value:!0});const e=Ne(),t=Ve(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:i,max:s}})=>s===void 0?(0,e.str)`must contain at least ${i} valid item(s)`:(0,e.str)`must contain at least ${i} and no more than ${s} valid item(s)`,params:({params:{min:i,max:s}})=>s===void 0?(0,e._)`{minContains: ${i}}`:(0,e._)`{minContains: ${i}, maxContains: ${s}}`},code(i){const{gen:s,schema:a,parentSchema:o,data:u,it:l}=i;let c,h;const{minContains:d,maxContains:f}=o;l.opts.next?(c=d===void 0?1:d,h=f):c=1;const m=s.const("len",(0,e._)`${u}.length`);if(i.setParams({min:c,max:h}),h===void 0&&c===0){(0,t.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&c>h){(0,t.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),i.fail();return}if((0,t.alwaysValidSchema)(l,a)){let b=(0,e._)`${m} >= ${c}`;h!==void 0&&(b=(0,e._)`${b} && ${m} <= ${h}`),i.pass(b);return}l.items=!0;const y=s.name("valid");h===void 0&&c===1?v(y,()=>s.if(y,()=>s.break())):c===0?(s.let(y,!0),h!==void 0&&s.if((0,e._)`${u}.length > 0`,p)):(s.let(y,!1),p()),i.result(y,()=>i.reset());function p(){const b=s.name("_valid"),_=s.let("count",0);v(b,()=>s.if(b,()=>g(_)))}function v(b,_){s.forRange("i",0,m,w=>{i.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},b),_()})}function g(b){s.code((0,e._)`${b}++`),h===void 0?s.if((0,e._)`${b} >= ${c}`,()=>s.assign(y,!0).break()):(s.if((0,e._)`${b} > ${h}`,()=>s.assign(y,!1).break()),c===1?s.assign(y,!0):s.if((0,e._)`${b} >= ${c}`,()=>s.assign(y,!0)))}}};return Hu.default=n,Hu}var vd={},Ob;function yd(){return Ob||(Ob=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=Ne(),r=Ve(),n=Fr();e.error={message:({params:{property:u,depsCount:l,deps:c}})=>{const h=l===1?"property":"properties";return(0,t.str)`must have ${h} ${c} when property ${u} is present`},params:({params:{property:u,depsCount:l,deps:c,missingProperty:h}})=>(0,t._)`{property: ${u}, + missingProperty: ${h}, + depsCount: ${l}, + deps: ${c}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(u){const[l,c]=s(u);a(u,l),o(u,c)}};function s({schema:u}){const l={},c={};for(const h in u){if(h==="__proto__")continue;const d=Array.isArray(u[h])?l:c;d[h]=u[h]}return[l,c]}function a(u,l=u.schema){const{gen:c,data:h,it:d}=u;if(Object.keys(l).length===0)return;const f=c.let("missing");for(const m in l){const y=l[m];if(y.length===0)continue;const p=(0,n.propertyInData)(c,h,m,d.opts.ownProperties);u.setParams({property:m,depsCount:y.length,deps:y.join(", ")}),d.allErrors?c.if(p,()=>{for(const v of y)(0,n.checkReportMissingProp)(u,v)}):(c.if((0,t._)`${p} && (${(0,n.checkMissingProp)(u,y,f)})`),(0,n.reportMissingProp)(u,f),c.else())}}e.validatePropertyDeps=a;function o(u,l=u.schema){const{gen:c,data:h,keyword:d,it:f}=u,m=c.name("valid");for(const y in l)(0,r.alwaysValidSchema)(f,l[y])||(c.if((0,n.propertyInData)(c,h,y,f.opts.ownProperties),()=>{const p=u.subschema({keyword:d,schemaProp:y},m);u.mergeValidEvaluated(p,m)},()=>c.var(m,!0)),u.ok(m))}e.validateSchemaDeps=o,e.default=i}(vd)),vd}var Wu={},Cb;function $O(){if(Cb)return Wu;Cb=1,Object.defineProperty(Wu,"__esModule",{value:!0});const e=Ne(),t=Ve(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:i})=>(0,e._)`{propertyName: ${i.propertyName}}`},code(i){const{gen:s,schema:a,data:o,it:u}=i;if((0,t.alwaysValidSchema)(u,a))return;const l=s.name("valid");s.forIn("key",o,c=>{i.setParams({propertyName:c}),i.subschema({keyword:"propertyNames",data:c,dataTypes:["string"],propertyName:c,compositeRule:!0},l),s.if((0,e.not)(l),()=>{i.error(!0),u.allErrors||s.break()})}),i.ok(l)}};return Wu.default=n,Wu}var Gu={},Ab;function Pb(){if(Ab)return Gu;Ab=1,Object.defineProperty(Gu,"__esModule",{value:!0});const e=Fr(),t=Ne(),r=jr(),n=Ve(),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:a})=>(0,t._)`{additionalProperty: ${a.additionalProperty}}`},code(a){const{gen:o,schema:u,parentSchema:l,data:c,errsCount:h,it:d}=a;if(!h)throw new Error("ajv implementation error");const{allErrors:f,opts:m}=d;if(d.props=!0,m.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(d,u))return;const y=(0,e.allSchemaProperties)(l.properties),p=(0,e.allSchemaProperties)(l.patternProperties);v(),a.ok((0,t._)`${h} === ${r.default.errors}`);function v(){o.forIn("key",c,S=>{!y.length&&!p.length?_(S):o.if(g(S),()=>_(S))})}function g(S){let E;if(y.length>8){const $=(0,n.schemaRefOrVal)(d,l.properties,"properties");E=(0,e.isOwnProperty)(o,$,S)}else y.length?E=(0,t.or)(...y.map($=>(0,t._)`${S} === ${$}`)):E=t.nil;return p.length&&(E=(0,t.or)(E,...p.map($=>(0,t._)`${(0,e.usePattern)(a,$)}.test(${S})`))),(0,t.not)(E)}function b(S){o.code((0,t._)`delete ${c}[${S}]`)}function _(S){if(m.removeAdditional==="all"||m.removeAdditional&&u===!1){b(S);return}if(u===!1){a.setParams({additionalProperty:S}),a.error(),f||o.break();return}if(typeof u=="object"&&!(0,n.alwaysValidSchema)(d,u)){const E=o.name("valid");m.removeAdditional==="failing"?(w(S,E,!1),o.if((0,t.not)(E),()=>{a.reset(),b(S)})):(w(S,E),f||o.if((0,t.not)(E),()=>o.break()))}}function w(S,E,$){const C={keyword:"additionalProperties",dataProp:S,dataPropType:n.Type.Str};$===!1&&Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1}),a.subschema(C,E)}}};return Gu.default=s,Gu}var Ju={},Nb;function OO(){if(Nb)return Ju;Nb=1,Object.defineProperty(Ju,"__esModule",{value:!0});const e=Oa(),t=Fr(),r=Ve(),n=Pb(),i={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:a,schema:o,parentSchema:u,data:l,it:c}=s;c.opts.removeAdditional==="all"&&u.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(c,n.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(o);for(const p of h)c.definedProperties.add(p);c.opts.unevaluated&&h.length&&c.props!==!0&&(c.props=r.mergeEvaluated.props(a,(0,r.toHash)(h),c.props));const d=h.filter(p=>!(0,r.alwaysValidSchema)(c,o[p]));if(d.length===0)return;const f=a.name("valid");for(const p of d)m(p)?y(p):(a.if((0,t.propertyInData)(a,l,p,c.opts.ownProperties)),y(p),c.allErrors||a.else().var(f,!0),a.endIf()),s.it.definedProperties.add(p),s.ok(f);function m(p){return c.opts.useDefaults&&!c.compositeRule&&o[p].default!==void 0}function y(p){s.subschema({keyword:"properties",schemaProp:p,dataProp:p},f)}}};return Ju.default=i,Ju}var Ku={},kb;function CO(){if(kb)return Ku;kb=1,Object.defineProperty(Ku,"__esModule",{value:!0});const e=Fr(),t=Ne(),r=Ve(),n=Ve(),i={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:a,schema:o,data:u,parentSchema:l,it:c}=s,{opts:h}=c,d=(0,e.allSchemaProperties)(o),f=d.filter(_=>(0,r.alwaysValidSchema)(c,o[_]));if(d.length===0||f.length===d.length&&(!c.opts.unevaluated||c.props===!0))return;const m=h.strictSchema&&!h.allowMatchingProperties&&l.properties,y=a.name("valid");c.props!==!0&&!(c.props instanceof t.Name)&&(c.props=(0,n.evaluatedPropsToName)(a,c.props));const{props:p}=c;v();function v(){for(const _ of d)m&&g(_),c.allErrors?b(_):(a.var(y,!0),b(_),a.if(y))}function g(_){for(const w in m)new RegExp(_).test(w)&&(0,r.checkStrictMode)(c,`property ${w} matches pattern ${_} (use allowMatchingProperties)`)}function b(_){a.forIn("key",u,w=>{a.if((0,t._)`${(0,e.usePattern)(s,_)}.test(${w})`,()=>{const S=f.includes(_);S||s.subschema({keyword:"patternProperties",schemaProp:_,dataProp:w,dataPropType:n.Type.Str},y),c.opts.unevaluated&&p!==!0?a.assign((0,t._)`${p}[${w}]`,!0):!S&&!c.allErrors&&a.if((0,t.not)(y),()=>a.break())})})}}};return Ku.default=i,Ku}var Zu={},Rb;function AO(){if(Rb)return Zu;Rb=1,Object.defineProperty(Zu,"__esModule",{value:!0});const e=Ve(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:i,it:s}=r;if((0,e.alwaysValidSchema)(s,i)){r.fail();return}const a=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),r.failResult(a,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Zu.default=t,Zu}var Yu={},Ib;function PO(){if(Ib)return Yu;Ib=1,Object.defineProperty(Yu,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Fr().validateUnion,error:{message:"must match a schema in anyOf"}};return Yu.default=t,Yu}var Xu={},Db;function NO(){if(Db)return Xu;Db=1,Object.defineProperty(Xu,"__esModule",{value:!0});const e=Ne(),t=Ve(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:i})=>(0,e._)`{passingSchemas: ${i.passing}}`},code(i){const{gen:s,schema:a,parentSchema:o,it:u}=i;if(!Array.isArray(a))throw new Error("ajv implementation error");if(u.opts.discriminator&&o.discriminator)return;const l=a,c=s.let("valid",!1),h=s.let("passing",null),d=s.name("_valid");i.setParams({passing:h}),s.block(f),i.result(c,()=>i.reset(),()=>i.error(!0));function f(){l.forEach((m,y)=>{let p;(0,t.alwaysValidSchema)(u,m)?s.var(d,!0):p=i.subschema({keyword:"oneOf",schemaProp:y,compositeRule:!0},d),y>0&&s.if((0,e._)`${d} && ${c}`).assign(c,!1).assign(h,(0,e._)`[${h}, ${y}]`).else(),s.if(d,()=>{s.assign(c,!0),s.assign(h,y),p&&i.mergeEvaluated(p,e.Name)})})}}};return Xu.default=n,Xu}var Qu={},Mb;function kO(){if(Mb)return Qu;Mb=1,Object.defineProperty(Qu,"__esModule",{value:!0});const e=Ve(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:i,it:s}=r;if(!Array.isArray(i))throw new Error("ajv implementation error");const a=n.name("valid");i.forEach((o,u)=>{if((0,e.alwaysValidSchema)(s,o))return;const l=r.subschema({keyword:"allOf",schemaProp:u},a);r.ok(a),r.mergeEvaluated(l)})}};return Qu.default=t,Qu}var el={},Bb;function RO(){if(Bb)return el;Bb=1,Object.defineProperty(el,"__esModule",{value:!0});const e=Ne(),t=Ve(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:s})=>(0,e.str)`must match "${s.ifClause}" schema`,params:({params:s})=>(0,e._)`{failingKeyword: ${s.ifClause}}`},code(s){const{gen:a,parentSchema:o,it:u}=s;o.then===void 0&&o.else===void 0&&(0,t.checkStrictMode)(u,'"if" without "then" and "else" is ignored');const l=i(u,"then"),c=i(u,"else");if(!l&&!c)return;const h=a.let("valid",!0),d=a.name("_valid");if(f(),s.reset(),l&&c){const y=a.let("ifClause");s.setParams({ifClause:y}),a.if(d,m("then",y),m("else",y))}else l?a.if(d,m("then")):a.if((0,e.not)(d),m("else"));s.pass(h,()=>s.error(!0));function f(){const y=s.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},d);s.mergeEvaluated(y)}function m(y,p){return()=>{const v=s.subschema({keyword:y},d);a.assign(h,d),s.mergeValidEvaluated(v,h),p?a.assign(p,(0,e._)`${y}`):s.setParams({ifClause:y})}}}};function i(s,a){const o=s.schema[a];return o!==void 0&&!(0,t.alwaysValidSchema)(s,o)}return el.default=n,el}var tl={},jb;function IO(){if(jb)return tl;jb=1,Object.defineProperty(tl,"__esModule",{value:!0});const e=Ve(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:i}){n.if===void 0&&(0,e.checkStrictMode)(i,`"${r}" without "if" is ignored`)}};return tl.default=t,tl}var Lb;function DO(){if(Lb)return Vu;Lb=1,Object.defineProperty(Vu,"__esModule",{value:!0});const e=_b(),t=EO(),r=Eb(),n=xO(),i=TO(),s=yd(),a=$O(),o=Pb(),u=OO(),l=CO(),c=AO(),h=PO(),d=NO(),f=kO(),m=RO(),y=IO();function p(v=!1){const g=[c.default,h.default,d.default,f.default,m.default,y.default,a.default,o.default,s.default,u.default,l.default];return v?g.push(t.default,n.default):g.push(e.default,r.default),g.push(i.default),g}return Vu.default=p,Vu}var rl={},nl={},Fb;function MO(){if(Fb)return nl;Fb=1,Object.defineProperty(nl,"__esModule",{value:!0});const e=Ne(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,i){const{gen:s,data:a,$data:o,schema:u,schemaCode:l,it:c}=n,{opts:h,errSchemaPath:d,schemaEnv:f,self:m}=c;if(!h.validateFormats)return;o?y():p();function y(){const v=s.scopeValue("formats",{ref:m.formats,code:h.code.formats}),g=s.const("fDef",(0,e._)`${v}[${l}]`),b=s.let("fType"),_=s.let("format");s.if((0,e._)`typeof ${g} == "object" && !(${g} instanceof RegExp)`,()=>s.assign(b,(0,e._)`${g}.type || "string"`).assign(_,(0,e._)`${g}.validate`),()=>s.assign(b,(0,e._)`"string"`).assign(_,g)),n.fail$data((0,e.or)(w(),S()));function w(){return h.strictSchema===!1?e.nil:(0,e._)`${l} && !${_}`}function S(){const E=f.$async?(0,e._)`(${g}.async ? await ${_}(${a}) : ${_}(${a}))`:(0,e._)`${_}(${a})`,$=(0,e._)`(typeof ${_} == "function" ? ${E} : ${_}.test(${a}))`;return(0,e._)`${_} && ${_} !== true && ${b} === ${i} && !${$}`}}function p(){const v=m.formats[u];if(!v){w();return}if(v===!0)return;const[g,b,_]=S(v);g===i&&n.pass(E());function w(){if(h.strictSchema===!1){m.logger.warn($());return}throw new Error($());function $(){return`unknown format "${u}" ignored in schema at path "${d}"`}}function S($){const C=$ instanceof RegExp?(0,e.regexpCode)($):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(u)}`:void 0,P=s.scopeValue("formats",{key:u,ref:$,code:C});return typeof $=="object"&&!($ instanceof RegExp)?[$.type||"string",$.validate,(0,e._)`${P}.validate`]:["string",$,P]}function E(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!f.$async)throw new Error("async format in sync schema");return(0,e._)`await ${_}(${a})`}return typeof b=="function"?(0,e._)`${_}(${a})`:(0,e._)`${_}.test(${a})`}}}};return nl.default=r,nl}var qb;function BO(){if(qb)return rl;qb=1,Object.defineProperty(rl,"__esModule",{value:!0});const t=[MO().default];return rl.default=t,rl}var Ni={},Vb;function jO(){return Vb||(Vb=1,Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.contentVocabulary=Ni.metadataVocabulary=void 0,Ni.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Ni.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Ni}var Ub;function zb(){if(Ub)return $u;Ub=1,Object.defineProperty($u,"__esModule",{value:!0});const e=cO(),t=SO(),r=DO(),n=BO(),i=jO(),s=[e.default,t.default,(0,r.default)(),n.default,i.metadataVocabulary,i.contentVocabulary];return $u.default=s,$u}var il={},Cs={},Hb;function Wb(){if(Hb)return Cs;Hb=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.dynamicAnchor=void 0;const e=Ne(),t=jr(),r=xu(),n=md(),i={keyword:"$dynamicAnchor",schemaType:"string",code:o=>s(o,o.schema)};function s(o,u){const{gen:l,it:c}=o;c.schemaEnv.root.dynamicAnchors[u]=!0;const h=(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(u)}`,d=c.errSchemaPath==="#"?c.validateName:a(o);l.if((0,e._)`!${h}`,()=>l.assign(h,d))}Cs.dynamicAnchor=s;function a(o){const{schemaEnv:u,schema:l,self:c}=o.it,{root:h,baseId:d,localRefs:f,meta:m}=u.root,{schemaId:y}=c.opts,p=new r.SchemaEnv({schema:l,schemaId:y,root:h,baseId:d,localRefs:f,meta:m});return r.compileSchema.call(c,p),(0,n.getValidate)(o,p)}return Cs.default=i,Cs}var As={},Gb;function Jb(){if(Gb)return As;Gb=1,Object.defineProperty(As,"__esModule",{value:!0}),As.dynamicRef=void 0;const e=Ne(),t=jr(),r=md(),n={keyword:"$dynamicRef",schemaType:"string",code:s=>i(s,s.schema)};function i(s,a){const{gen:o,keyword:u,it:l}=s;if(a[0]!=="#")throw new Error(`"${u}" only supports hash fragment reference`);const c=a.slice(1);if(l.allErrors)h();else{const f=o.let("valid",!1);h(f),s.ok(f)}function h(f){if(l.schemaEnv.root.dynamicAnchors[c]){const m=o.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(c)}`);o.if(m,d(m,f),d(l.validateName,f))}else d(l.validateName,f)()}function d(f,m){return m?()=>o.block(()=>{(0,r.callRef)(s,f),o.let(m,!0)}):()=>(0,r.callRef)(s,f)}}return As.dynamicRef=i,As.default=n,As}var sl={},Kb;function LO(){if(Kb)return sl;Kb=1,Object.defineProperty(sl,"__esModule",{value:!0});const e=Wb(),t=Ve(),r={keyword:"$recursiveAnchor",schemaType:"boolean",code(n){n.schema?(0,e.dynamicAnchor)(n,""):(0,t.checkStrictMode)(n.it,"$recursiveAnchor: false is ignored")}};return sl.default=r,sl}var al={},Zb;function FO(){if(Zb)return al;Zb=1,Object.defineProperty(al,"__esModule",{value:!0});const e=Jb(),t={keyword:"$recursiveRef",schemaType:"string",code:r=>(0,e.dynamicRef)(r,r.schema)};return al.default=t,al}var Yb;function qO(){if(Yb)return il;Yb=1,Object.defineProperty(il,"__esModule",{value:!0});const e=Wb(),t=Jb(),r=LO(),n=FO(),i=[e.default,t.default,r.default,n.default];return il.default=i,il}var ol={},ul={},Xb;function VO(){if(Xb)return ul;Xb=1,Object.defineProperty(ul,"__esModule",{value:!0});const e=yd(),t={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:r=>(0,e.validatePropertyDeps)(r)};return ul.default=t,ul}var ll={},Qb;function UO(){if(Qb)return ll;Qb=1,Object.defineProperty(ll,"__esModule",{value:!0});const e=yd(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:r=>(0,e.validateSchemaDeps)(r)};return ll.default=t,ll}var cl={},e1;function zO(){if(e1)return cl;e1=1,Object.defineProperty(cl,"__esModule",{value:!0});const e=Ve(),t={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:r,parentSchema:n,it:i}){n.contains===void 0&&(0,e.checkStrictMode)(i,`"${r}" without "contains" is ignored`)}};return cl.default=t,cl}var t1;function HO(){if(t1)return ol;t1=1,Object.defineProperty(ol,"__esModule",{value:!0});const e=VO(),t=UO(),r=zO(),n=[e.default,t.default,r.default];return ol.default=n,ol}var fl={},dl={},r1;function WO(){if(r1)return dl;r1=1,Object.defineProperty(dl,"__esModule",{value:!0});const e=Ne(),t=Ve(),r=jr(),i={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:s})=>(0,e._)`{unevaluatedProperty: ${s.unevaluatedProperty}}`},code(s){const{gen:a,schema:o,data:u,errsCount:l,it:c}=s;if(!l)throw new Error("ajv implementation error");const{allErrors:h,props:d}=c;d instanceof e.Name?a.if((0,e._)`${d} !== true`,()=>a.forIn("key",u,p=>a.if(m(d,p),()=>f(p)))):d!==!0&&a.forIn("key",u,p=>d===void 0?f(p):a.if(y(d,p),()=>f(p))),c.props=!0,s.ok((0,e._)`${l} === ${r.default.errors}`);function f(p){if(o===!1){s.setParams({unevaluatedProperty:p}),s.error(),h||a.break();return}if(!(0,t.alwaysValidSchema)(c,o)){const v=a.name("valid");s.subschema({keyword:"unevaluatedProperties",dataProp:p,dataPropType:t.Type.Str},v),h||a.if((0,e.not)(v),()=>a.break())}}function m(p,v){return(0,e._)`!${p} || !${p}[${v}]`}function y(p,v){const g=[];for(const b in p)p[b]===!0&&g.push((0,e._)`${v} !== ${b}`);return(0,e.and)(...g)}}};return dl.default=i,dl}var hl={},n1;function GO(){if(n1)return hl;n1=1,Object.defineProperty(hl,"__esModule",{value:!0});const e=Ne(),t=Ve(),n={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:i}})=>(0,e.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,e._)`{limit: ${i}}`},code(i){const{gen:s,schema:a,data:o,it:u}=i,l=u.items||0;if(l===!0)return;const c=s.const("len",(0,e._)`${o}.length`);if(a===!1)i.setParams({len:l}),i.fail((0,e._)`${c} > ${l}`);else if(typeof a=="object"&&!(0,t.alwaysValidSchema)(u,a)){const d=s.var("valid",(0,e._)`${c} <= ${l}`);s.if((0,e.not)(d),()=>h(d,l)),i.ok(d)}u.items=!0;function h(d,f){s.forRange("i",f,c,m=>{i.subschema({keyword:"unevaluatedItems",dataProp:m,dataPropType:t.Type.Num},d),u.allErrors||s.if((0,e.not)(d),()=>s.break())})}}};return hl.default=n,hl}var i1;function JO(){if(i1)return fl;i1=1,Object.defineProperty(fl,"__esModule",{value:!0});const e=WO(),t=GO(),r=[e.default,t.default];return fl.default=r,fl}var pl={},Pa={},s1;function KO(){if(s1)return Pa;s1=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(Pa.DiscrError=e={})),Pa}var a1;function o1(){if(a1)return pl;a1=1,Object.defineProperty(pl,"__esModule",{value:!0});const e=Ne(),t=KO(),r=xu(),n=Ca(),i=Ve(),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:o,tagName:u}})=>o===t.DiscrError.Tag?`tag "${u}" must be string`:`value of tag "${u}" must be in oneOf`,params:({params:{discrError:o,tag:u,tagName:l}})=>(0,e._)`{error: ${o}, tag: ${l}, tagValue: ${u}}`},code(o){const{gen:u,data:l,schema:c,parentSchema:h,it:d}=o,{oneOf:f}=h;if(!d.opts.discriminator)throw new Error("discriminator: requires discriminator option");const m=c.propertyName;if(typeof m!="string")throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!f)throw new Error("discriminator: requires oneOf keyword");const y=u.let("valid",!1),p=u.const("tag",(0,e._)`${l}${(0,e.getProperty)(m)}`);u.if((0,e._)`typeof ${p} == "string"`,()=>v(),()=>o.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:m})),o.ok(y);function v(){const _=b();u.if(!1);for(const w in _)u.elseIf((0,e._)`${p} === ${w}`),u.assign(y,g(_[w]));u.else(),o.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:m}),u.endIf()}function g(_){const w=u.name("valid"),S=o.subschema({keyword:"oneOf",schemaProp:_},w);return o.mergeEvaluated(S,e.Name),w}function b(){var _;const w={},S=$(h);let E=!0;for(let A=0;Athis.addMetaSchema(h,void 0,!1)),this;function c(h,d){return l?h.$dataMetaSchema(d,o):d}}return ml.default=u,ml}var l1;function iC(){return l1||(l1=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2019=void 0;const r=nb(),n=zb(),i=qO(),s=HO(),a=JO(),o=o1(),u=nC(),l="https://json-schema.org/draft/2019-09/schema";class c extends r.default{constructor(p={}){super({...p,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(i.default),n.default.forEach(p=>this.addVocabulary(p)),this.addVocabulary(s.default),this.addVocabulary(a.default),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:p,meta:v}=this.opts;v&&(u.default.call(this,p),this.refs["http://json-schema.org/schema"]=l)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv2019=c,e.exports=t=c,e.exports.Ajv2019=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var h=Oa();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return h.KeywordCxt}});var d=Ne();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=Su();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var m=Ca();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return m.default}})}(mu,mu.exports)),mu.exports}var sC=iC();const aC=hs(sC);var gl={exports:{}},bd={},c1;function oC(){return c1||(c1=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(C,P){return{validate:C,compare:P}}e.fullFormats={date:t(s,a),time:t(u,l),"date-time":t(h,d),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:y,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:$,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:v,int32:{type:"number",validate:_},int64:{type:"number",validate:w},float:{type:"number",validate:S},double:{type:"number",validate:S},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,a),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,l),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,d),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(C){return C%4===0&&(C%100!==0||C%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(C){const P=n.exec(C);if(!P)return!1;const A=+P[1],k=+P[2],D=+P[3];return k>=1&&k<=12&&D>=1&&D<=(k===2&&r(A)?29:i[k])}function a(C,P){if(C&&P)return C>P?1:CP?1:C=g}function w(C){return Number.isInteger(C)}function S(){return!0}const E=/[^\\]\\Z/;function $(C){if(E.test(C))return!1;try{return new RegExp(C),!0}catch{return!1}}}(bd)),bd}var wd={},vl={exports:{}};const uC={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};var f1;function lC(){return f1||(f1=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=nb(),n=zb(),i=o1(),s=uC,a=["/properties"],o="http://json-schema.org/draft-07/schema";class u extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(m=>this.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(s,a):s;this.addMetaSchema(m,o,!1),this.refs["http://json-schema.org/schema"]=o}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}}t.Ajv=u,e.exports=t=u,e.exports.Ajv=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var l=Oa();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var c=Ne();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var h=Su();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var d=Ca();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})}(vl,vl.exports)),vl.exports}var d1;function cC(){return d1||(d1=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=lC(),r=Ne(),n=r.operators,i={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},s={message:({keyword:o,schemaCode:u})=>r.str`should be ${i[o].okStr} ${u}`,params:({keyword:o,schemaCode:u})=>r._`{comparison: ${i[o].okStr}, limit: ${u}}`};e.formatLimitDefinition={keyword:Object.keys(i),type:"string",schemaType:"string",$data:!0,error:s,code(o){const{gen:u,data:l,schemaCode:c,keyword:h,it:d}=o,{opts:f,self:m}=d;if(!f.validateFormats)return;const y=new t.KeywordCxt(d,m.RULES.all.format.definition,"format");y.$data?p():v();function p(){const b=u.scopeValue("formats",{ref:m.formats,code:f.code.formats}),_=u.const("fmt",r._`${b}[${y.schemaCode}]`);o.fail$data(r.or(r._`typeof ${_} != "object"`,r._`${_} instanceof RegExp`,r._`typeof ${_}.compare != "function"`,g(_)))}function v(){const b=y.schema,_=m.formats[b];if(!_||_===!0)return;if(typeof _!="object"||_ instanceof RegExp||typeof _.compare!="function")throw new Error(`"${h}": format "${b}" does not define "compare" function`);const w=u.scopeValue("formats",{key:b,ref:_,code:f.code.formats?r._`${f.code.formats}${r.getProperty(b)}`:void 0});o.fail$data(g(w))}function g(b){return r._`${b}.compare(${l}, ${c}) ${i[h].fail} 0`}},dependencies:["format"]};const a=o=>(o.addKeyword(e.formatLimitDefinition),o);e.default=a}(wd)),wd}var h1;function fC(){return h1||(h1=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=oC(),n=cC(),i=Ne(),s=new i.Name("fullFormats"),a=new i.Name("fastFormats"),o=(l,c={keywords:!0})=>{if(Array.isArray(c))return u(l,c,r.fullFormats,s),l;const[h,d]=c.mode==="fast"?[r.fastFormats,a]:[r.fullFormats,s],f=c.formats||r.formatNames;return u(l,f,h,d),c.keywords&&n.default(l),l};o.get=(l,c="full")=>{const d=(c==="fast"?r.fastFormats:r.fullFormats)[l];if(!d)throw new Error(`Unknown format "${l}"`);return d};function u(l,c,h,d){var f,m;(f=(m=l.opts.code).formats)!==null&&f!==void 0||(m.formats=i._`require("ajv-formats/dist/formats").${d}`);for(const y of c)l.addFormat(y,h[y])}e.exports=t=o,Object.defineProperty(t,"__esModule",{value:!0}),t.default=o}(gl,gl.exports)),gl.exports}var dC=fC();const hC=hs(dC);let pC=class{constructor(t,r,n=""){this.id=t,this.rule=r,this.comment=n}async evaluate(t){return await this.rule.evaluate(t)}toJsonReady(){return{id:this.id,rule:this.rule.toJsonReady(),comment:this.comment}}};class Pt{}class yl extends Pt{constructor(t){super(),this.arguments=t}validate(){return this.arguments.map(t=>t.validate()).reduce((t,r)=>t&&r)}evaluateReduce(t,r,n=Promise.resolve(!1)){return this.arguments.reduce(async(i,s)=>r(await i,await s.evaluate(t)),n)}toJsonReady(){return{arguments:this.arguments.map(t=>t.toJsonReady())}}}let mC=class extends yl{evaluate(t){return this.evaluateReduce(t,(r,n)=>r&&n,Promise.resolve(!0))}validate(){return this.arguments.length>1&&super.validate()}toJsonReady(){return{...super.toJsonReady(),type:"and"}}};class gC extends yl{async evaluate(t){return Promise.resolve(!await this.arguments[0].evaluate(t))}validate(){return this.arguments.length===1&&super.validate()}toJsonReady(){return{...super.toJsonReady(),type:"not"}}}let vC=class extends yl{evaluate(t){return this.evaluateReduce(t,(r,n)=>r||n)}validate(){return this.arguments.length>1&&super.validate()}toJsonReady(){return{...super.toJsonReady(),type:"or"}}},p1=class extends Error{constructor(t,r){super(t),this.context=r}};class tr extends p1{}class m1 extends tr{constructor(t){super(t||"This function is not implemented")}}class _d extends tr{}class yC extends tr{}class g1 extends Error{}class v1 extends tr{constructor(t,r,n){super(`Value is not of type ${n}: ${r?.toString()}`,t),this.value=r,this.expectedType=n}}let y1=class extends v1{constructor(t,r){super(t,r,"ArrayLike")}},bC=class extends v1{constructor(t,r){super(t,r,"number | Date")}};function b1(e,t){const r=$e.fromISO(e).toJSDate();if(isNaN(r.getTime()))throw new tr(`Date "${e}" could not be parsed`,t);return r}let bl=class q_ extends Pt{constructor(t,r=!1,n){super(),this.path=t,this.isDate=r,this.defaultValue=n}static getPropertyByString(t,r,n,i){r=r.replace(/\[(\w+)]/g,".$1"),r=r.replace(/^\./,"");const s=r.split(".");for(let a=0,o=s.length;as+a;break;case"subtract":r=(s,a)=>s-a;break;case"multiply":r=(s,a)=>s*a;break;case"divide":r=(s,a)=>{if(a===0)throw new tr("Division by zero is not allowed",this);return s/a};break;case"modulo":r=(s,a)=>{if(a===0)throw new tr("Division by zero is not allowed",this);return s-Math.floor(s/a)*a};break}const n=(s,a)=>Math.round(r(s,a)*1e13)/1e13;let i=await Promise.all(this.arguments.map(async s=>s instanceof Pt?await s.evaluate(t):s));for(const s of i)if(s instanceof Date)throw new tr("No dates in calculation allowed! Use dateCalculation",this);return i.splice(1).reduce(n,i[0])}toJsonReady(){return{type:"calculation",operation:this.operation,arguments:this.arguments.map(Sd)}}validate(){return this.arguments.length>=2&&this.arguments.map(t=>t instanceof Pt?t.validate():!!t).reduce((t,r)=>t&&r)}};class _1 extends Pt{constructor(t,r,n=!1,i=!1){super(),this.arguments=t,this.operation=r,this.dates=n,this.allowDifferentTypes=i}toJsonReady(){const t={type:"comparison",operation:this.operation,arguments:this.arguments.map(Sd)};return this.dates&&(t.dates=!0),t}async evaluate(t){let r=this.arguments[0]instanceof Pt?await this.arguments[0].evaluate(t):this.arguments[0],n=this.arguments[1]instanceof Pt?await this.arguments[1].evaluate(t):this.arguments[1];if(r===void 0||n===void 0)return!1;if(typeof r!=typeof n&&!this.allowDifferentTypes)throw new tr("Elements in comparison must have the same type",this);switch(r instanceof Date&&(r=r.getTime()),n instanceof Date&&(n=n.getTime()),this.operation){case"equal":return r===n;case"greater":return r>n;case"greaterOrEqual":return r>=n;case"smaller":return rt instanceof Pt?t.validate():!!t).reduce((t,r)=>t&&r)}}class S1 extends Pt{constructor(t,r,n,i="index",s){super(),this.quantifier=t,this.array=r,this.placeholder=n,this.formula=s,this.indexPlaceholder=i}async evaluate(t){let r;if(Array.isArray(this.array)?r=await Promise.all(this.array.map(n=>n.evaluate(t))):r=await this.array.evaluate(t),!Array.isArray(r))throw new tr(`Property 'array' in a quantifier must be an array! (Actual: ${r}, typeof ${typeof r})`,this);for(let n=0;nt.toJsonReady()):this.array.toJsonReady(),placeholder:this.placeholder,rule:this.formula.toJsonReady()}}validate(){return this.placeholder.length!==0&&(Array.isArray(this.array)?this.array.map(t=>t.validate()).reduce((t,r)=>t&&r):this.array.validate())}}function wC(e,t){if(!(typeof e=="number"||e instanceof Date))throw new bC(t,e)}function _C(e,t){if(!e?.hasOwnProperty("length"))throw new y1(t,e)}class E1 extends Pt{constructor(t,r){super(),this.macro=t,this.array=r}async evaluate(t){switch(this.macro){case"now":return new Date;case"length":const r=await this.array?.evaluate(t);return _C(r,this),r.length}}toJsonReady(){return{type:"macro",macro:{type:this.macro,array:this.array?.toJsonReady()}}}validate(){return!(this.macro==="length"&&!this.array)}}let SC=class extends Pt{constructor(t,r){super(),this.options=t,this.formula=r}async evaluate(t){if(!this.formula)throw new tr("Empty formula",this);return this.formula.evaluate(await this.enrichData(t))}validate(){if(!this.formula)throw new tr("Empty formula",this);return this.formula.validate()}toJsonReady(){return{type:"plugin",name:this.getName(),options:this.options,formula:this.formula}}};class x1 extends Pt{constructor(t,r,n="seconds",i="seconds"){super(),this.arguments=t,this.operation=r,this.dateResultUnit=n,this.dateCalculationUnit=i}dateMath(t){const r=this.operation,n=this;return function(i,s){if(i instanceof Date&&s instanceof Date)return qe.fromMillis(t(i.getTime(),s.getTime()),{conversionAccuracy:"longterm"});if(!(i instanceof Date)&&!(s instanceof Date))return qe.fromMillis(t(i.toMillis(),s.toMillis()),{conversionAccuracy:"longterm"});let a,o;i instanceof Date&&!(s instanceof Date)?(a=i,o=s):(a=s,o=i);const u=$e.fromJSDate(a);switch(r){case"add":return u.plus(o).toJSDate();case"subtract":return u.minus(o).toJSDate();default:throw new yC("Invalid Operation for Dates",n)}}}async evaluate(t){let r;switch(this.operation){case"add":r=(a,o)=>a+o;break;case"subtract":r=(a,o)=>a-o;break}const n=(a,o)=>Math.round(r(a,o)*1e13)/1e13,i=(await Promise.all(this.arguments.map(async a=>a instanceof Pt?await a.evaluate(t):a))).map(a=>(wC(a,this),typeof a=="number"?qe.fromObject({[this.dateCalculationUnit]:a},{conversionAccuracy:"longterm"}):a)),s=i.splice(1).reduce(this.dateMath(n),i[0]);return s instanceof Date?s:s.as(this.dateResultUnit)}toJsonReady(){return{type:"dateCalculation",operation:this.operation,arguments:this.arguments.map(Sd),dateResultUnit:this.dateResultUnit,dateCalculationUnit:this.dateCalculationUnit}}validate(){return this.arguments.length>=2&&this.arguments.map(t=>t instanceof Pt?t.validate():!!t).reduce((t,r)=>t&&r)}}function EC(e){const t=new Set,r=[];for(const n of e){const i=Na(n.rule);i.pathSet.forEach(s=>t.add(s)),r.push(...i.atoms)}return{pathSet:Array.from(t),atoms:r}}function Na(e){const t=new Set,r=[];if(e instanceof bl)t.add(e.path),r.push(e);else if(e instanceof yl||e instanceof w1||e instanceof _1||e instanceof x1)for(const n of e.arguments){if(!(n instanceof Pt))continue;const i=Na(n);i.pathSet.forEach(s=>t.add(s)),r.push(...i.atoms)}else if(e instanceof S1){if(e.array instanceof bl)t.add(e.array.path),r.push(e.array);else for(const i of e.array){const s=Na(i);s.pathSet.forEach(a=>t.add(a)),r.push(...s.atoms)}const n=Na(e.formula);n.pathSet.forEach(i=>t.add(i)),r.push(...n.atoms)}else if(e instanceof E1)e.array&&(t.add(e.array.path),r.push(e.array));else if(e instanceof SC&&e.formula){const n=Na(e.formula);n.pathSet.forEach(i=>t.add(i)),r.push(...n.atoms)}return{pathSet:Array.from(t),atoms:r}}const xC="https://json-schema.org/draft/2019-09/schema",TC="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/schema.json",$C="Main",OC="The entrypoint of the Rita schema",CC="object",AC={rules:{type:"array",title:"Ruleset",description:"Array of all rules in this ruleset.",items:{$ref:"rule.json"}}},PC=["rules"],T1={$schema:xC,$id:TC,title:$C,description:OC,type:CC,properties:AC,required:PC},NC="https://json-schema.org/draft/2019-09/schema",kC="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/atom.json",RC="Atom",IC="Describes an atom. Those can be used to read Data",DC="object",MC={type:{type:"string",enum:["atom"]},path:{description:"The path to the atom in the data",type:"string"},isDate:{type:"boolean",default:!1,description:"Must be set to true if the atom should be parsed as a date"},default:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"string",format:"date-time"},{type:"array"}]}},BC=["type","path"],jC=!1,LC={$schema:NC,$id:kC,title:RC,description:IC,type:DC,properties:MC,required:BC,additionalProperties:jC},FC="https://json-schema.org/draft/2019-09/schema",qC="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/operator.json",VC="Operator",UC=[{title:"Non-Unary operator",description:"Requires at least two arguments",type:"object",properties:{type:{type:"string",enum:["and","or"]},arguments:{type:"array",title:"Multiple arguments",minItems:2,items:{$ref:"formula.json"}}},required:["arguments","type"],additionalProperties:!1},{title:"Unary operator",description:"Requires exactly on parameter",type:"object",properties:{type:{type:"string",enum:["not"]},arguments:{type:"array",title:"Unary Arguments",minItems:1,maxItems:1,items:{$ref:"formula.json"}}},required:["arguments","type"],additionalProperties:!1}],zC={$schema:FC,$id:qC,title:VC,oneOf:UC},HC="https://json-schema.org/draft/2019-09/schema",WC="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/rule.json",GC="Rule",JC="object",KC={id:{type:"string"},comment:{type:"string",description:"A comment about what the rule does"},rule:{$ref:"formula.json"}},ZC=["id","rule"],YC=[{id:"rule1",rule:{type:"and",arguments:[{type:"atom",path:"member"},{type:"not",arguments:[{type:"atom",path:"employee"}]}]}}],XC={$schema:HC,$id:WC,title:GC,type:JC,properties:KC,required:ZC,examples:YC},QC="https://json-schema.org/draft/2019-09/schema",eA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/formula.json",tA="Formula",rA=[{$ref:"operator.json"},{$ref:"atom.json"},{$ref:"plugin.json"},{$ref:"comparison.json"},{$ref:"quantifier.json"}],nA={$schema:QC,$id:eA,title:tA,oneOf:rA},iA="https://json-schema.org/draft/2019-09/schema",sA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/calculation.json",aA="Calculation",oA="Calculates a result",uA="object",lA={type:{type:"string",enum:["calculation"]},operation:{description:"The mathematical operation to be calculated. Modulo refers to the function mod(a,b)=a-(floor(a/b)*b)",type:"string",enum:["add","subtract","multiply","divide","modulo"]},arguments:{type:"array",minItems:2,items:{oneOf:[{$ref:"atom.json"},{$ref:"macro.json"},{type:"number"},{$ref:"calculation.json"},{$ref:"dateCalculation.json"}]}}},cA=["operation","arguments","type"],fA=!1,dA={$schema:iA,$id:sA,title:aA,description:oA,type:uA,properties:lA,required:cA,additionalProperties:fA},hA="https://json-schema.org/draft/2019-09/schema",pA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/dateCalculation.json",mA="Date Calculation",gA="Calculations involving dates",vA="object",yA={type:{type:"string",enum:["dateCalculation"]},operation:{description:"Add/subtract a time interval to/from a date or subtract two dates to get the interval between them",type:"string",enum:["add","subtract"]},arguments:{type:"array",minItems:2,maxItems:2,items:{oneOf:[{$ref:"atom.json"},{$ref:"macro.json"},{type:"number"},{type:"string",format:"date-time"},{$ref:"calculation.json"},{$ref:"dateCalculation.json"}]}},dateCalculationUnit:{description:"What unit time intervals given as arguments will be in.",type:"string",enum:["seconds","minutes","hours","days","months","years"],default:"seconds"},dateResultUnit:{description:"What unit time intervals representing the result will be in.",type:"string",enum:["seconds","minutes","hours","days","months","years"],default:"seconds"}},bA=["operation","arguments","type"],wA=!1,_A={$schema:hA,$id:pA,title:mA,description:gA,type:vA,properties:yA,required:bA,additionalProperties:wA},SA="https://json-schema.org/draft/2019-09/schema",EA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/comparison.json",xA="Compare strings, dates or numbers with each other",TA="Comparison",$A="object",OA={type:{type:"string",enum:["comparison"]},operation:{description:"Selects how the arguments should be compared",type:"string",enum:["greater","smaller","greaterOrEqual","smallerOrEqual","equal"]},dates:{description:"Indicates if dates are compared",type:"boolean",default:!1},allowDifferentTypes:{description:"Indicates if different types are allowed inside a comparison. This follows the JavaScript rules for comparison (´===´ is used for ´equals´).",type:"boolean",default:!1},arguments:{type:"array",minItems:2,maxItems:2,items:{oneOf:[{$ref:"atom.json"},{$ref:"macro.json"},{type:"number"},{type:"boolean"},{type:"string",format:"date-time"},{type:"string"},{$ref:"calculation.json"},{$ref:"dateCalculation.json"}]}}},CA=["type","operation","arguments"],AA=!1,PA=[{comment:'This evaluates to "5>2"',type:"comparison",operation:"greater",arguments:[5,2]},{comment:"Check two Strings for equality",type:"comparison",operation:"equal",arguments:["test","test1"]}],NA={$schema:SA,$id:EA,description:xA,title:TA,type:$A,properties:OA,required:CA,additionalProperties:AA,examples:PA},kA="https://json-schema.org/draft/2019-09/schema",RA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/quantifier.json",IA="Quantifier",DA="object",MA="Quantifiers that can be used to evaluate rules on arrays in Data",BA={type:{type:"string",enum:["forall","exists"]},array:{title:"Data array",description:"This can either be an Atom that references an array in the data, or an array of rules",oneOf:[{type:"array",items:{$ref:"formula.json"}},{$ref:"atom.json"}]},placeholder:{description:"This is a placeholder name for the current array object. This is the property name with wich you can reference the current value in the subsequent rule",type:"string",minLength:1},indexPlaceholder:{description:"This is a placeholder name for the current index of the array object. This is the property name with wich you can reference the current index in the subsequent rule",type:"string",minLength:1,default:"index"},rule:{$ref:"formula.json"}},jA=!1,LA=["type","array","placeholder","rule"],FA=[{type:"forall",array:{type:"atom",path:"arrayOfIntValues"},placeholder:"forallItem",rule:{type:"comparison",operation:"greater",arguments:[5,{type:"atom",path:"forallItem"}]}}],qA={$schema:kA,$id:RA,title:IA,type:DA,description:MA,properties:BA,additionalProperties:jA,required:LA,examples:FA},VA="https://json-schema.org/draft/2019-09/schema",UA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/macro.json",zA="Macro",HA="Describes macros. Available macros are `now` and `length`",WA="object",GA={type:{type:"string",enum:["macro"]},macro:{oneOf:[{title:"now",description:"Returns the current time",type:"object",properties:{type:{type:"string",enum:["now"]}},additionalProperties:!1},{title:"length",description:"Returns the length of an array",type:"object",properties:{type:{type:"string",enum:["length"]},array:{$ref:"atom.json"}},additionalProperties:!1}]}},JA=["type","macro"],KA=!1,ZA=[{type:"macro",macro:{type:"now"}},{type:"macro",macro:{type:"length",array:{type:"atom",path:"customers"}}}],YA={$schema:VA,$id:UA,title:zA,description:HA,type:WA,properties:GA,required:JA,additionalProperties:KA,examples:ZA},XA="https://json-schema.org/draft/2019-09/schema",QA="https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/plugin.json",e8="Plugin",t8="Describes an plugin",r8="object",n8={type:{type:"string",enum:["plugin"]},name:{description:"The plugins name",type:"string"},formula:{$ref:"formula.json"},options:{description:"The plugins options",type:"object"}},i8=["type","name","formula"],s8=!1,a8=[{type:"plugin",name:"http",options:{url:"https://example.com/api"},formula:{type:"atom",path:"keyInResponse"}}],o8={$schema:XA,$id:QA,title:e8,description:t8,type:r8,properties:n8,required:i8,additionalProperties:s8,examples:a8},u8=[T1,LC,XC,nA,zC,dA,NA,qA,YA,o8,_A],$1=new aC({schemas:u8});hC($1);let O1=class V_{constructor(t){if(this.plugins=new Map,this.toJson=V_.toJson,this.validate=$1.getSchema("https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/schema.json"),t)for(const r of t)this.plugins.set(new r({},void 0).getName(),r)}validateRuleSetJSON(t){if(!this.validate)throw new g1("Error compiling schema");let r=this.validate(t);if(typeof r!="boolean")throw new g1("Error compiling schema");return{valid:r,errors:this.validate.errors||[]}}parseRuleSet(t){return t.rules.map(r=>this.parseRule(r))}parseRule(t){return new pC(t.id,this.parseFormula(t.rule),t.comment)}parseFormula(t){switch(t.type){case"atom":return this.parseAtom(t);case"comparison":return this.parseComparison(t);case"calculation":return this.parseCalculation(t);case"dateCalculation":return this.parseDateCalculation(t);case"forall":case"exists":return this.parseQuantifier(t);case"and":case"or":case"not":return this.parseOperator(t);case"macro":return this.parseMacro(t);case"plugin":return this.parsePlugin(t);default:throw new m1(t.type+" is not implemented")}}parseOperator(t){const r=t.type,n=[];for(const i of t.arguments)n.push(this.parseFormula(i));switch(r){case"not":return new gC(n);case"and":return new mC(n);case"or":return new vC(n)}}parseAtom(t){return new bl(t.path,!!t.isDate,t.default)}parseComparisonParams(t,r){const n=[];for(const i of t)if(typeof i=="object")n.push(this.parseFormula(i));else if(r){const s=new Date(i);if(!isNaN(s.getTime()))n.push(s);else throw new tr("Invalid Date: "+i)}else n.push(i);return n}parseComparison(t){return new _1(this.parseComparisonParams(t.arguments,t.dates),t.operation,t.dates,t.allowDifferentTypes)}parseCalculationParams(t){const r=[];for(const n of t)typeof n=="number"?r.push(n):r.push(this.parseFormula(n));return r}parseDateCalculationParams(t){const r=[];for(const n of t)typeof n=="number"?r.push(n):typeof n=="string"?r.push(b1(n)):r.push(this.parseFormula(n));return r}parseCalculation(t){return new w1(this.parseCalculationParams(t.arguments),t.operation)}parseDateCalculation(t){return new x1(this.parseDateCalculationParams(t.arguments),t.operation,t.dateResultUnit,t.dateCalculationUnit)}parseQuantifier(t){let r;return Array.isArray(t.array)?r=t.array.map(n=>this.parseFormula(n)):r=this.parseAtom(t.array),new S1(t.type,r,t.placeholder,t.indexPlaceholder,this.parseFormula(t.rule))}parseMacro(t){let r;return t.macro.type==="length"&&(r=this.parseAtom(t.macro.array)),new E1(t.macro.type,r)}parsePlugin(t){const r=t.name,n=this.plugins.get(r);if(!n)throw new tr(`Plugin ${r} is not registered!`);return new n(t.options,this.parseFormula(t.formula))}static toJson(t){return JSON.stringify({$schema:T1.$id,rules:t.map(r=>r.toJsonReady())})}};var qr={},Vr={},Ed={},Ur={},wl={},C1;function l8(){return C1||(C1=1,Object.defineProperty(wl,"__esModule",{value:!0}),wl.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),wl}var _l={},A1;function c8(){return A1||(A1=1,Object.defineProperty(_l,"__esModule",{value:!0}),_l.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),_l}var xd={},P1;function N1(){return P1||(P1=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(s){var a="";return s>65535&&(s-=65536,a+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),a+=String.fromCharCode(s),a};function n(s){var a;return s>=55296&&s<=57343||s>1114111?65533:(a=r.get(s))!==null&&a!==void 0?a:s}e.replaceCodePoint=n;function i(s){return(0,e.fromCodePoint)(n(s))}e.default=i}(xd)),xd}var k1;function Sl(){return k1||(k1=1,function(e){var t=Ur&&Ur.__createBinding||(Object.create?function(A,k,D,U){U===void 0&&(U=D);var q=Object.getOwnPropertyDescriptor(k,D);(!q||("get"in q?!k.__esModule:q.writable||q.configurable))&&(q={enumerable:!0,get:function(){return k[D]}}),Object.defineProperty(A,U,q)}:function(A,k,D,U){U===void 0&&(U=D),A[U]=k[D]}),r=Ur&&Ur.__setModuleDefault||(Object.create?function(A,k){Object.defineProperty(A,"default",{enumerable:!0,value:k})}:function(A,k){A.default=k}),n=Ur&&Ur.__importStar||function(A){if(A&&A.__esModule)return A;var k={};if(A!=null)for(var D in A)D!=="default"&&Object.prototype.hasOwnProperty.call(A,D)&&t(k,A,D);return r(k,A),k},i=Ur&&Ur.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var s=i(l8());e.htmlDecodeTree=s.default;var a=i(c8());e.xmlDecodeTree=a.default;var o=n(N1());e.decodeCodePoint=o.default;var u=N1();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(A){A[A.NUM=35]="NUM",A[A.SEMI=59]="SEMI",A[A.EQUALS=61]="EQUALS",A[A.ZERO=48]="ZERO",A[A.NINE=57]="NINE",A[A.LOWER_A=97]="LOWER_A",A[A.LOWER_F=102]="LOWER_F",A[A.LOWER_X=120]="LOWER_X",A[A.LOWER_Z=122]="LOWER_Z",A[A.UPPER_A=65]="UPPER_A",A[A.UPPER_F=70]="UPPER_F",A[A.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var c=32,h;(function(A){A[A.VALUE_LENGTH=49152]="VALUE_LENGTH",A[A.BRANCH_LENGTH=16256]="BRANCH_LENGTH",A[A.JUMP_TABLE=127]="JUMP_TABLE"})(h=e.BinTrieFlags||(e.BinTrieFlags={}));function d(A){return A>=l.ZERO&&A<=l.NINE}function f(A){return A>=l.UPPER_A&&A<=l.UPPER_F||A>=l.LOWER_A&&A<=l.LOWER_F}function m(A){return A>=l.UPPER_A&&A<=l.UPPER_Z||A>=l.LOWER_A&&A<=l.LOWER_Z||d(A)}function y(A){return A===l.EQUALS||m(A)}var p;(function(A){A[A.EntityStart=0]="EntityStart",A[A.NumericStart=1]="NumericStart",A[A.NumericDecimal=2]="NumericDecimal",A[A.NumericHex=3]="NumericHex",A[A.NamedEntity=4]="NamedEntity"})(p||(p={}));var v;(function(A){A[A.Legacy=0]="Legacy",A[A.Strict=1]="Strict",A[A.Attribute=2]="Attribute"})(v=e.DecodingMode||(e.DecodingMode={}));var g=function(){function A(k,D,U){this.decodeTree=k,this.emitCodePoint=D,this.errors=U,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=v.Strict}return A.prototype.startEntity=function(k){this.decodeMode=k,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},A.prototype.write=function(k,D){switch(this.state){case p.EntityStart:return k.charCodeAt(D)===l.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(k,D+1)):(this.state=p.NamedEntity,this.stateNamedEntity(k,D));case p.NumericStart:return this.stateNumericStart(k,D);case p.NumericDecimal:return this.stateNumericDecimal(k,D);case p.NumericHex:return this.stateNumericHex(k,D);case p.NamedEntity:return this.stateNamedEntity(k,D)}},A.prototype.stateNumericStart=function(k,D){return D>=k.length?-1:(k.charCodeAt(D)|c)===l.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(k,D+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(k,D))},A.prototype.addToNumericResult=function(k,D,U,q){if(D!==U){var ee=U-D;this.result=this.result*Math.pow(q,ee)+parseInt(k.substr(D,ee),q),this.consumed+=ee}},A.prototype.stateNumericHex=function(k,D){for(var U=D;D>14;D>14,ee!==0){if(Z===l.SEMI)return this.emitNamedEntityData(this.treeIndex,ee,this.consumed+this.excess);this.decodeMode!==v.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},A.prototype.emitNotTerminatedNamedEntity=function(){var k,D=this,U=D.result,q=D.decodeTree,ee=(q[U]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(U,ee,this.consumed),(k=this.errors)===null||k===void 0||k.missingSemicolonAfterCharacterReference(),this.consumed},A.prototype.emitNamedEntityData=function(k,D,U){var q=this.decodeTree;return this.emitCodePoint(D===1?q[k]&~h.VALUE_LENGTH:q[k+1],U),D===3&&this.emitCodePoint(q[k+2],U),U},A.prototype.end=function(){var k;switch(this.state){case p.NamedEntity:return this.result!==0&&(this.decodeMode!==v.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return(k=this.errors)===null||k===void 0||k.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},A}();e.EntityDecoder=g;function b(A){var k="",D=new g(A,function(U){return k+=(0,o.fromCodePoint)(U)});return function(q,ee){for(var Z=0,Q=0;(Q=q.indexOf("&",Q))>=0;){k+=q.slice(Z,Q),D.startEntity(ee);var ae=D.write(q,Q+1);if(ae<0){Z=Q+D.end();break}Z=Q+ae,Q=ae===0?Z+1:Z}var W=k+q.slice(Z);return k="",W}}function _(A,k,D,U){var q=(k&h.BRANCH_LENGTH)>>7,ee=k&h.JUMP_TABLE;if(q===0)return ee!==0&&U===ee?D:-1;if(ee){var Z=U-ee;return Z<0||Z>=q?-1:A[D+Z]-1}for(var Q=D,ae=Q+q-1;Q<=ae;){var W=Q+ae>>>1,j=A[W];if(jU)ae=W-1;else return A[W+q]}return-1}e.determineBranch=_;var w=b(s.default),S=b(a.default);function E(A,k){return k===void 0&&(k=v.Legacy),w(A,k)}e.decodeHTML=E;function $(A){return w(A,v.Attribute)}e.decodeHTMLAttribute=$;function C(A){return w(A,v.Strict)}e.decodeHTMLStrict=C;function P(A){return S(A,v.Strict)}e.decodeXML=P}(Ur)),Ur}var R1;function I1(){return R1||(R1=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Sl(),r;(function(d){d[d.Tab=9]="Tab",d[d.NewLine=10]="NewLine",d[d.FormFeed=12]="FormFeed",d[d.CarriageReturn=13]="CarriageReturn",d[d.Space=32]="Space",d[d.ExclamationMark=33]="ExclamationMark",d[d.Number=35]="Number",d[d.Amp=38]="Amp",d[d.SingleQuote=39]="SingleQuote",d[d.DoubleQuote=34]="DoubleQuote",d[d.Dash=45]="Dash",d[d.Slash=47]="Slash",d[d.Zero=48]="Zero",d[d.Nine=57]="Nine",d[d.Semi=59]="Semi",d[d.Lt=60]="Lt",d[d.Eq=61]="Eq",d[d.Gt=62]="Gt",d[d.Questionmark=63]="Questionmark",d[d.UpperA=65]="UpperA",d[d.LowerA=97]="LowerA",d[d.UpperF=70]="UpperF",d[d.LowerF=102]="LowerF",d[d.UpperZ=90]="UpperZ",d[d.LowerZ=122]="LowerZ",d[d.LowerX=120]="LowerX",d[d.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(d){d[d.Text=1]="Text",d[d.BeforeTagName=2]="BeforeTagName",d[d.InTagName=3]="InTagName",d[d.InSelfClosingTag=4]="InSelfClosingTag",d[d.BeforeClosingTagName=5]="BeforeClosingTagName",d[d.InClosingTagName=6]="InClosingTagName",d[d.AfterClosingTagName=7]="AfterClosingTagName",d[d.BeforeAttributeName=8]="BeforeAttributeName",d[d.InAttributeName=9]="InAttributeName",d[d.AfterAttributeName=10]="AfterAttributeName",d[d.BeforeAttributeValue=11]="BeforeAttributeValue",d[d.InAttributeValueDq=12]="InAttributeValueDq",d[d.InAttributeValueSq=13]="InAttributeValueSq",d[d.InAttributeValueNq=14]="InAttributeValueNq",d[d.BeforeDeclaration=15]="BeforeDeclaration",d[d.InDeclaration=16]="InDeclaration",d[d.InProcessingInstruction=17]="InProcessingInstruction",d[d.BeforeComment=18]="BeforeComment",d[d.CDATASequence=19]="CDATASequence",d[d.InSpecialComment=20]="InSpecialComment",d[d.InCommentLike=21]="InCommentLike",d[d.BeforeSpecialS=22]="BeforeSpecialS",d[d.SpecialStartSequence=23]="SpecialStartSequence",d[d.InSpecialTag=24]="InSpecialTag",d[d.BeforeEntity=25]="BeforeEntity",d[d.BeforeNumericEntity=26]="BeforeNumericEntity",d[d.InNamedEntity=27]="InNamedEntity",d[d.InNumericEntity=28]="InNumericEntity",d[d.InHexEntity=29]="InHexEntity"})(n||(n={}));function i(d){return d===r.Space||d===r.NewLine||d===r.Tab||d===r.FormFeed||d===r.CarriageReturn}function s(d){return d===r.Slash||d===r.Gt||i(d)}function a(d){return d>=r.Zero&&d<=r.Nine}function o(d){return d>=r.LowerA&&d<=r.LowerZ||d>=r.UpperA&&d<=r.UpperZ}function u(d){return d>=r.UpperA&&d<=r.UpperF||d>=r.LowerA&&d<=r.LowerF}var l;(function(d){d[d.NoValue=0]="NoValue",d[d.Unquoted=1]="Unquoted",d[d.Single=2]="Single",d[d.Double=3]="Double"})(l=e.QuoteType||(e.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function d(f,m){var y=f.xmlMode,p=y===void 0?!1:y,v=f.decodeEntities,g=v===void 0?!0:v;this.cbs=m,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=p,this.decodeEntities=g,this.entityTrie=p?t.xmlDecodeTree:t.htmlDecodeTree}return d.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},d.prototype.write=function(f){this.offset+=this.buffer.length,this.buffer=f,this.parse()},d.prototype.end=function(){this.running&&this.finish()},d.prototype.pause=function(){this.running=!1},d.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&f===r.Amp&&(this.state=n.BeforeEntity)},d.prototype.stateSpecialStartSequence=function(f){var m=this.sequenceIndex===this.currentSequence.length,y=m?s(f):(f|32)===this.currentSequence[this.sequenceIndex];if(!y)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(f)},d.prototype.stateInSpecialTag=function(f){if(this.sequenceIndex===this.currentSequence.length){if(f===r.Gt||i(f)){var m=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&f!==r.Semi)this.trieIndex+=y;else{var p=this.index-this.entityExcess+1;p>this.sectionStart&&this.emitPartial(this.sectionStart,p),this.entityResult=this.trieIndex,this.trieIndex+=y,this.entityExcess=0,this.sectionStart=this.index+1,y===0&&this.emitNamedEntity()}}},d.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var f=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(f){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},d.prototype.stateBeforeNumericEntity=function(f){(f|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(f))},d.prototype.emitNumericEntity=function(f){var m=this.index-this.entityExcess-1,y=m+2+ +(this.state===n.InHexEntity);y!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(f),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},d.prototype.stateInNumericEntity=function(f){f===r.Semi?this.emitNumericEntity(!0):a(f)?(this.entityResult=this.entityResult*10+(f-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},d.prototype.stateInHexEntity=function(f){f===r.Semi?this.emitNumericEntity(!0):a(f)?(this.entityResult=this.entityResult*16+(f-r.Zero),this.entityExcess++):u(f)?(this.entityResult=this.entityResult*16+((f|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},d.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},d.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},d.prototype.shouldContinue=function(){return this.index0&&S.has(this.stack[this.stack.length-1]);){var E=this.stack.pop();(b=(g=this.cbs).onclosetag)===null||b===void 0||b.call(g,E,!0)}this.isVoidElement(v)||(this.stack.push(v),d.has(v)?this.foreignContext.push(!0):f.has(v)&&this.foreignContext.push(!1)),(w=(_=this.cbs).onopentagname)===null||w===void 0||w.call(_,v),this.cbs.onopentag&&(this.attribs={})},p.prototype.endOpenTag=function(v){var g,b;this.startIndex=this.openTagStart,this.attribs&&((b=(g=this.cbs).onopentag)===null||b===void 0||b.call(g,this.tagname,this.attribs,v),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},p.prototype.onopentagend=function(v){this.endIndex=v,this.endOpenTag(!1),this.startIndex=v+1},p.prototype.onclosetag=function(v,g){var b,_,w,S,E,$;this.endIndex=g;var C=this.getSlice(v,g);if(this.lowerCaseTagNames&&(C=C.toLowerCase()),(d.has(C)||f.has(C))&&this.foreignContext.pop(),this.isVoidElement(C))!this.options.xmlMode&&C==="br"&&((_=(b=this.cbs).onopentagname)===null||_===void 0||_.call(b,"br"),(S=(w=this.cbs).onopentag)===null||S===void 0||S.call(w,"br",{},!0),($=(E=this.cbs).onclosetag)===null||$===void 0||$.call(E,"br",!1));else{var P=this.stack.lastIndexOf(C);if(P!==-1)if(this.cbs.onclosetag)for(var A=this.stack.length-P;A--;)this.cbs.onclosetag(this.stack.pop(),A!==0);else this.stack.length=P;else!this.options.xmlMode&&C==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=g+1},p.prototype.onselfclosingtag=function(v){this.endIndex=v,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=v+1):this.onopentagend(v)},p.prototype.closeCurrentTag=function(v){var g,b,_=this.tagname;this.endOpenTag(v),this.stack[this.stack.length-1]===_&&((b=(g=this.cbs).onclosetag)===null||b===void 0||b.call(g,_,!v),this.stack.pop())},p.prototype.onattribname=function(v,g){this.startIndex=v;var b=this.getSlice(v,g);this.attribname=this.lowerCaseAttributeNames?b.toLowerCase():b},p.prototype.onattribdata=function(v,g){this.attribvalue+=this.getSlice(v,g)},p.prototype.onattribentity=function(v){this.attribvalue+=(0,i.fromCodePoint)(v)},p.prototype.onattribend=function(v,g){var b,_;this.endIndex=g,(_=(b=this.cbs).onattribute)===null||_===void 0||_.call(b,this.attribname,this.attribvalue,v===n.QuoteType.Double?'"':v===n.QuoteType.Single?"'":v===n.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},p.prototype.getInstructionName=function(v){var g=v.search(m),b=g<0?v:v.substr(0,g);return this.lowerCaseTagNames&&(b=b.toLowerCase()),b},p.prototype.ondeclaration=function(v,g){this.endIndex=g;var b=this.getSlice(v,g);if(this.cbs.onprocessinginstruction){var _=this.getInstructionName(b);this.cbs.onprocessinginstruction("!".concat(_),"!".concat(b))}this.startIndex=g+1},p.prototype.onprocessinginstruction=function(v,g){this.endIndex=g;var b=this.getSlice(v,g);if(this.cbs.onprocessinginstruction){var _=this.getInstructionName(b);this.cbs.onprocessinginstruction("?".concat(_),"?".concat(b))}this.startIndex=g+1},p.prototype.oncomment=function(v,g,b){var _,w,S,E;this.endIndex=g,(w=(_=this.cbs).oncomment)===null||w===void 0||w.call(_,this.getSlice(v,g-b)),(E=(S=this.cbs).oncommentend)===null||E===void 0||E.call(S),this.startIndex=g+1},p.prototype.oncdata=function(v,g,b){var _,w,S,E,$,C,P,A,k,D;this.endIndex=g;var U=this.getSlice(v,g-b);this.options.xmlMode||this.options.recognizeCDATA?((w=(_=this.cbs).oncdatastart)===null||w===void 0||w.call(_),(E=(S=this.cbs).ontext)===null||E===void 0||E.call(S,U),(C=($=this.cbs).oncdataend)===null||C===void 0||C.call($)):((A=(P=this.cbs).oncomment)===null||A===void 0||A.call(P,"[CDATA[".concat(U,"]]")),(D=(k=this.cbs).oncommentend)===null||D===void 0||D.call(k)),this.startIndex=g+1},p.prototype.onend=function(){var v,g;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var b=this.stack.length;b>0;this.cbs.onclosetag(this.stack[--b],!0));}(g=(v=this.cbs).onend)===null||g===void 0||g.call(v)},p.prototype.reset=function(){var v,g,b,_;(g=(v=this.cbs).onreset)===null||g===void 0||g.call(v),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(_=(b=this.cbs).onparserinit)===null||_===void 0||_.call(b,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},p.prototype.parseComplete=function(v){this.reset(),this.end(v)},p.prototype.getSlice=function(v,g){for(;v-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var b=this.buffers[0].slice(v-this.bufferOffset,g-this.bufferOffset);g-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),b+=this.buffers[0].slice(0,g-this.bufferOffset);return b},p.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},p.prototype.write=function(v){var g,b;if(this.ended){(b=(g=this.cbs).onerror)===null||b===void 0||b.call(g,new Error(".write() after done!"));return}this.buffers.push(v),this.tokenizer.running&&(this.tokenizer.write(v),this.writeIndex++)},p.prototype.end=function(v){var g,b;if(this.ended){(b=(g=this.cbs).onerror)===null||b===void 0||b.call(g,new Error(".end() after done!"));return}v&&this.write(v),this.ended=!0,this.tokenizer.end()},p.prototype.pause=function(){this.tokenizer.pause()},p.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"childNodes",{get:function(){return this.children},set:function(E){this.children=E},enumerable:!1,configurable:!0}),S}(n);Be.NodeWithChildren=u;var l=function(w){e(S,w);function S(){var E=w!==null&&w.apply(this,arguments)||this;return E.type=r.ElementType.CDATA,E}return Object.defineProperty(S.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),S}(u);Be.CDATA=l;var c=function(w){e(S,w);function S(){var E=w!==null&&w.apply(this,arguments)||this;return E.type=r.ElementType.Root,E}return Object.defineProperty(S.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),S}(u);Be.Document=c;var h=function(w){e(S,w);function S(E,$,C,P){C===void 0&&(C=[]),P===void 0&&(P=E==="script"?r.ElementType.Script:E==="style"?r.ElementType.Style:r.ElementType.Tag);var A=w.call(this,C)||this;return A.name=E,A.attribs=$,A.type=P,A}return Object.defineProperty(S.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"tagName",{get:function(){return this.name},set:function(E){this.name=E},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"attributes",{get:function(){var E=this;return Object.keys(this.attribs).map(function($){var C,P;return{name:$,value:E.attribs[$],namespace:(C=E["x-attribsNamespace"])===null||C===void 0?void 0:C[$],prefix:(P=E["x-attribsPrefix"])===null||P===void 0?void 0:P[$]}})},enumerable:!1,configurable:!0}),S}(u);Be.Element=h;function d(w){return(0,r.isTag)(w)}Be.isTag=d;function f(w){return w.type===r.ElementType.CDATA}Be.isCDATA=f;function m(w){return w.type===r.ElementType.Text}Be.isText=m;function y(w){return w.type===r.ElementType.Comment}Be.isComment=y;function p(w){return w.type===r.ElementType.Directive}Be.isDirective=p;function v(w){return w.type===r.ElementType.Root}Be.isDocument=v;function g(w){return Object.prototype.hasOwnProperty.call(w,"children")}Be.hasChildren=g;function b(w,S){S===void 0&&(S=!1);var E;if(m(w))E=new s(w.data);else if(y(w))E=new a(w.data);else if(d(w)){var $=S?_(w.children):[],C=new h(w.name,t({},w.attribs),$);$.forEach(function(D){return D.parent=C}),w.namespace!=null&&(C.namespace=w.namespace),w["x-attribsNamespace"]&&(C["x-attribsNamespace"]=t({},w["x-attribsNamespace"])),w["x-attribsPrefix"]&&(C["x-attribsPrefix"]=t({},w["x-attribsPrefix"])),E=C}else if(f(w)){var $=S?_(w.children):[],P=new l($);$.forEach(function(U){return U.parent=P}),E=P}else if(v(w)){var $=S?_(w.children):[],A=new c($);$.forEach(function(U){return U.parent=A}),w["x-mode"]&&(A["x-mode"]=w["x-mode"]),E=A}else if(p(w)){var k=new o(w.name,w.data);w["x-name"]!=null&&(k["x-name"]=w["x-name"],k["x-publicId"]=w["x-publicId"],k["x-systemId"]=w["x-systemId"]),E=k}else throw new Error("Not implemented yet: ".concat(w.type));return E.startIndex=w.startIndex,E.endIndex=w.endIndex,w.sourceCodeLocation!=null&&(E.sourceCodeLocation=w.sourceCodeLocation),E}Be.cloneNode=b;function _(w){for(var S=w.map(function($){return b($,!0)}),E=1;E$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(i,s){return i.codePointAt(s)}:function(i,s){return(i.charCodeAt(s)&64512)===55296?(i.charCodeAt(s)-55296)*1024+i.charCodeAt(s+1)-56320+65536:i.charCodeAt(s)};function r(i){for(var s="",a=0,o;(o=e.xmlReplacer.exec(i))!==null;){var u=o.index,l=i.charCodeAt(u),c=t.get(l);c!==void 0?(s+=i.substring(a,u)+c,a=u+1):(s+="".concat(i.substring(a,u),"&#x").concat((0,e.getCodePoint)(i,u).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return s+i.substr(a)}e.encodeXML=r,e.escape=r;function n(i,s){return function(o){for(var u,l=0,c="";u=i.exec(o);)l!==u.index&&(c+=o.substring(l,u.index)),c+=s.get(u[0].charCodeAt(0)),l=u.index+1;return c+o.substring(l)}}e.escapeUTF8=n(/[&<>'"]/g,t),e.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}(Od)),Od}var U1;function z1(){if(U1)return Dn;U1=1;var e=Dn&&Dn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.encodeNonAsciiHTML=Dn.encodeHTML=void 0;var t=e(f8()),r=Cd(),n=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function i(o){return a(n,o)}Dn.encodeHTML=i;function s(o){return a(r.xmlReplacer,o)}Dn.encodeNonAsciiHTML=s;function a(o,u){for(var l="",c=0,h;(h=o.exec(u))!==null;){var d=h.index;l+=u.substring(c,d);var f=u.charCodeAt(d),m=t.default.get(f);if(typeof m=="object"){if(d+10&&(E+=h(_.children,w)),(w.xmlMode||!c.has(_.name))&&(E+=""))),E}function p(_){return"<".concat(_.data,">")}function v(_,w){var S,E=_.data||"";return((S=w.encodeEntities)!==null&&S!==void 0?S:w.decodeEntities)!==!1&&!(!w.xmlMode&&_.parent&&o.has(_.parent.name))&&(E=w.xmlMode||w.encodeEntities!=="utf8"?(0,s.encodeXML)(E):(0,s.escapeText)(E)),E}function g(_){return"")}function b(_){return"")}return rr}var J1;function K1(){if(J1)return ln;J1=1;var e=ln&&ln.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(ln,"__esModule",{value:!0}),ln.getOuterHTML=i,ln.getInnerHTML=s,ln.getText=a,ln.textContent=o,ln.innerText=u;var t=li(),r=e(p8()),n=ka();function i(l,c){return(0,r.default)(l,c)}function s(l,c){return(0,t.hasChildren)(l)?l.children.map(function(h){return i(h,c)}).join(""):""}function a(l){return Array.isArray(l)?l.map(a).join(""):(0,t.isTag)(l)?l.name==="br"?` +`:a(l.children):(0,t.isCDATA)(l)?a(l.children):(0,t.isText)(l)?l.data:""}function o(l){return Array.isArray(l)?l.map(o).join(""):(0,t.hasChildren)(l)&&!(0,t.isComment)(l)?o(l.children):(0,t.isText)(l)?l.data:""}function u(l){return Array.isArray(l)?l.map(u).join(""):(0,t.hasChildren)(l)&&(l.type===n.ElementType.Tag||(0,t.isCDATA)(l))?u(l.children):(0,t.isText)(l)?l.data:""}return ln}var zr={},Z1;function m8(){if(Z1)return zr;Z1=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.getChildren=t,zr.getParent=r,zr.getSiblings=n,zr.getAttributeValue=i,zr.hasAttrib=s,zr.getName=a,zr.nextElementSibling=o,zr.prevElementSibling=u;var e=li();function t(l){return(0,e.hasChildren)(l)?l.children:[]}function r(l){return l.parent||null}function n(l){var c,h,d=r(l);if(d!=null)return t(d);for(var f=[l],m=l.prev,y=l.next;m!=null;)f.unshift(m),c=m,m=c.prev;for(;y!=null;)f.push(y),h=y,y=h.next;return f}function i(l,c){var h;return(h=l.attribs)===null||h===void 0?void 0:h[c]}function s(l,c){return l.attribs!=null&&Object.prototype.hasOwnProperty.call(l.attribs,c)&&l.attribs[c]!=null}function a(l){return l.name}function o(l){for(var c,h=l.next;h!==null&&!(0,e.isTag)(h);)c=h,h=c.next;return h}function u(l){for(var c,h=l.prev;h!==null&&!(0,e.isTag)(h);)c=h,h=c.prev;return h}return zr}var Mn={},Y1;function g8(){if(Y1)return Mn;Y1=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.removeElement=e,Mn.replaceElement=t,Mn.appendChild=r,Mn.append=n,Mn.prependChild=i,Mn.prepend=s;function e(a){if(a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),a.parent){var o=a.parent.children,u=o.lastIndexOf(a);u>=0&&o.splice(u,1)}a.next=null,a.prev=null,a.parent=null}function t(a,o){var u=o.prev=a.prev;u&&(u.next=o);var l=o.next=a.next;l&&(l.prev=o);var c=o.parent=a.parent;if(c){var h=c.children;h[h.lastIndexOf(a)]=o,a.parent=null}}function r(a,o){if(e(o),o.next=null,o.parent=a,a.children.push(o)>1){var u=a.children[a.children.length-2];u.next=o,o.prev=u}else o.prev=null}function n(a,o){e(o);var u=a.parent,l=a.next;if(o.next=l,o.prev=a,a.next=o,o.parent=u,l){if(l.prev=o,u){var c=u.children;c.splice(c.lastIndexOf(l),0,o)}}else u&&u.children.push(o)}function i(a,o){if(e(o),o.parent=a,o.prev=null,a.children.unshift(o)!==1){var u=a.children[1];u.prev=o,o.next=u}else o.next=null}function s(a,o){e(o);var u=a.parent;if(u){var l=u.children;l.splice(l.indexOf(a),0,o)}a.prev&&(a.prev.next=o),o.parent=u,o.prev=a.prev,o.next=a,a.prev=o}return Mn}var Bn={},X1;function Q1(){if(X1)return Bn;X1=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.filter=t,Bn.find=r,Bn.findOneChild=n,Bn.findOne=i,Bn.existsOne=s,Bn.findAll=a;var e=li();function t(o,u,l,c){return l===void 0&&(l=!0),c===void 0&&(c=1/0),r(o,Array.isArray(u)?u:[u],l,c)}function r(o,u,l,c){for(var h=[],d=[Array.isArray(u)?u:[u]],f=[0];;){if(f[0]>=d[0].length){if(f.length===1)return h;d.shift(),f.shift();continue}var m=d[0][f[0]++];if(o(m)&&(h.push(m),--c<=0))return h;l&&(0,e.hasChildren)(m)&&m.children.length>0&&(f.unshift(0),d.unshift(m.children))}}function n(o,u){return u.find(o)}function i(o,u,l){l===void 0&&(l=!0);for(var c=Array.isArray(u)?u:[u],h=0;h0){var f=i(o,d.children,!0);if(f)return f}}return null}function s(o,u){return(Array.isArray(u)?u:[u]).some(function(l){return(0,e.isTag)(l)&&o(l)||(0,e.hasChildren)(l)&&s(o,l.children)})}function a(o,u){for(var l=[],c=[Array.isArray(u)?u:[u]],h=[0];;){if(h[0]>=c[0].length){if(c.length===1)return l;c.shift(),h.shift();continue}var d=c[0][h[0]++];(0,e.isTag)(d)&&o(d)&&l.push(d),(0,e.hasChildren)(d)&&d.children.length>0&&(h.unshift(0),c.unshift(d.children))}}return Bn}var jn={},ew;function tw(){if(ew)return jn;ew=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.testElement=a,jn.getElements=o,jn.getElementById=u,jn.getElementsByTagName=l,jn.getElementsByClassName=c,jn.getElementsByTagType=h;var e=li(),t=Q1(),r={tag_name:function(d){return typeof d=="function"?function(f){return(0,e.isTag)(f)&&d(f.name)}:d==="*"?e.isTag:function(f){return(0,e.isTag)(f)&&f.name===d}},tag_type:function(d){return typeof d=="function"?function(f){return d(f.type)}:function(f){return f.type===d}},tag_contains:function(d){return typeof d=="function"?function(f){return(0,e.isText)(f)&&d(f.data)}:function(f){return(0,e.isText)(f)&&f.data===d}}};function n(d,f){return typeof f=="function"?function(m){return(0,e.isTag)(m)&&f(m.attribs[d])}:function(m){return(0,e.isTag)(m)&&m.attribs[d]===f}}function i(d,f){return function(m){return d(m)||f(m)}}function s(d){var f=Object.keys(d).map(function(m){var y=d[m];return Object.prototype.hasOwnProperty.call(r,m)?r[m](y):n(m,y)});return f.length===0?null:f.reduce(i)}function a(d,f){var m=s(d);return m?m(f):!0}function o(d,f,m,y){y===void 0&&(y=1/0);var p=s(d);return p?(0,t.filter)(p,f,m,y):[]}function u(d,f,m){return m===void 0&&(m=!0),Array.isArray(f)||(f=[f]),(0,t.findOne)(n("id",d),f,m)}function l(d,f,m,y){return m===void 0&&(m=!0),y===void 0&&(y=1/0),(0,t.filter)(r.tag_name(d),f,m,y)}function c(d,f,m,y){return m===void 0&&(m=!0),y===void 0&&(y=1/0),(0,t.filter)(n("class",d),f,m,y)}function h(d,f,m,y){return m===void 0&&(m=!0),y===void 0&&(y=1/0),(0,t.filter)(r.tag_type(d),f,m,y)}return jn}var ci={},rw;function v8(){if(rw)return ci;rw=1,Object.defineProperty(ci,"__esModule",{value:!0}),ci.DocumentPosition=void 0,ci.removeSubsets=t,ci.compareDocumentPosition=n,ci.uniqueSort=i;var e=li();function t(s){for(var a=s.length;--a>=0;){var o=s[a];if(a>0&&s.lastIndexOf(o,a-1)>=0){s.splice(a,1);continue}for(var u=o.parent;u;u=u.parent)if(s.includes(u)){s.splice(a,1);break}}return s}var r;(function(s){s[s.DISCONNECTED=1]="DISCONNECTED",s[s.PRECEDING=2]="PRECEDING",s[s.FOLLOWING=4]="FOLLOWING",s[s.CONTAINS=8]="CONTAINS",s[s.CONTAINED_BY=16]="CONTAINED_BY"})(r||(ci.DocumentPosition=r={}));function n(s,a){var o=[],u=[];if(s===a)return 0;for(var l=(0,e.hasChildren)(s)?s:s.parent;l;)o.unshift(l),l=l.parent;for(l=(0,e.hasChildren)(a)?a:a.parent;l;)u.unshift(l),l=l.parent;for(var c=Math.min(o.length,u.length),h=0;hf.indexOf(y)?d===a?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:d===s?r.PRECEDING|r.CONTAINS:r.PRECEDING}function i(s){return s=s.filter(function(a,o,u){return!u.includes(a,o+1)}),s.sort(function(a,o){var u=n(a,o);return u&r.PRECEDING?-1:u&r.FOLLOWING?1:0}),s}return ci}var xl={},nw;function y8(){if(nw)return xl;nw=1,Object.defineProperty(xl,"__esModule",{value:!0}),xl.getFeed=r;var e=K1(),t=tw();function r(d){var f=u(h,d);return f?f.name==="feed"?n(f):i(f):null}function n(d){var f,m=d.children,y={type:"atom",items:(0,t.getElementsByTagName)("entry",m).map(function(g){var b,_=g.children,w={media:o(_)};c(w,"id","id",_),c(w,"title","title",_);var S=(b=u("link",_))===null||b===void 0?void 0:b.attribs.href;S&&(w.link=S);var E=l("summary",_)||l("content",_);E&&(w.description=E);var $=l("updated",_);return $&&(w.pubDate=new Date($)),w})};c(y,"id","id",m),c(y,"title","title",m);var p=(f=u("link",m))===null||f===void 0?void 0:f.attribs.href;p&&(y.link=p),c(y,"description","subtitle",m);var v=l("updated",m);return v&&(y.updated=new Date(v)),c(y,"author","email",m,!0),y}function i(d){var f,m,y=(m=(f=u("channel",d.children))===null||f===void 0?void 0:f.children)!==null&&m!==void 0?m:[],p={type:d.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",d.children).map(function(g){var b=g.children,_={media:o(b)};c(_,"id","guid",b),c(_,"title","title",b),c(_,"link","link",b),c(_,"description","description",b);var w=l("pubDate",b)||l("dc:date",b);return w&&(_.pubDate=new Date(w)),_})};c(p,"title","title",y),c(p,"link","link",y),c(p,"description","description",y);var v=l("lastBuildDate",y);return v&&(p.updated=new Date(v)),c(p,"author","managingEditor",y,!0),p}var s=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function o(d){return(0,t.getElementsByTagName)("media:content",d).map(function(f){for(var m=f.attribs,y={medium:m.medium,isDefault:!!m.isDefault},p=0,v=s;p{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Pd}var Tl={},ow;function _8(){if(ow)return Tl;ow=1,Object.defineProperty(Tl,"__esModule",{value:!0});/*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */function e(r){return Object.prototype.toString.call(r)==="[object Object]"}function t(r){var n,o;return e(r)===!1?!1:(n=r.constructor,n===void 0?!0:(o=n.prototype,!(e(o)===!1||o.hasOwnProperty("isPrototypeOf")===!1)))}return Ml.isPlainObject=t,Ml}var Af={exports:{}},IP=Af.exports,fb;function DP(){return fb||(fb=1,function(e){(function(t,r){e.exports?e.exports=r():t.parseSrcset=r()})(IP,function(){return function(t){function r(S){return S===" "||S===" "||S===` -`||S==="\f"||S==="\r"}function n(S){var _,E=S.exec(t.substring(p));if(E)return _=E[0],p+=_.length,_}for(var o=t.length,s=/^[ \t\n\r\u000c]+/,i=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,l=/[,]+$/,u=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h,f,d,g,v,p=0,m=[];;){if(n(i),p>=o)return m;h=n(a),f=[],h.slice(-1)===","?(h=h.replace(l,""),w()):b()}function b(){for(n(s),d="",g="in descriptor";;){if(v=t.charAt(p),g==="in descriptor")if(r(v))d&&(f.push(d),d="",g="after descriptor");else if(v===","){p+=1,d&&f.push(d),w();return}else if(v==="(")d=d+v,g="in parens";else if(v===""){d&&f.push(d),w();return}else d=d+v;else if(g==="in parens")if(v===")")d=d+v,g="in descriptor";else if(v===""){f.push(d),w();return}else d=d+v;else if(g==="after descriptor"&&!r(v))if(v===""){w();return}else g="in descriptor",p-=1;p+=1}}function w(){var S=!1,_,E,O,P,A={},V,D,M,z,F;for(P=0;P",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(o){if(!this.source)return"";let s=this.source;o==null&&(o=e.isColorSupported);let i=d=>d,a=d=>d,l=d=>d;if(o){let{bold:d,gray:g,red:v}=e.createColors(!0);a=p=>d(v(p)),i=p=>g(p),t&&(l=p=>t(p))}let u=s.split(/\r?\n/),c=Math.max(this.line-3,0),h=Math.min(this.line+2,u.length),f=String(h).length;return u.slice(c,h).map((d,g)=>{let v=c+1+g,p=" "+(" "+v).slice(-f)+" | ";if(v===this.line){if(d.length>160){let b=20,w=Math.max(0,this.column-b),S=Math.max(this.column+b,this.endColumn+b),_=d.slice(w,S),E=i(p.replace(/\d/g," "))+d.slice(0,Math.min(this.column-1,b-1)).replace(/[^\t]/g," ");return a(">")+i(p)+l(_)+` - `+E+a("^")}let m=i(p.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+i(p)+l(d)+` - `+m+a("^")}return" "+i(p)+l(d)}).join(` -`)}toString(){let o=this.showSourceCode();return o&&(o=` + */function e(r){return Object.prototype.toString.call(r)==="[object Object]"}function t(r){var n,i;return e(r)===!1?!1:(n=r.constructor,n===void 0?!0:(i=n.prototype,!(e(i)===!1||i.hasOwnProperty("isPrototypeOf")===!1)))}return Tl.isPlainObject=t,Tl}var $l={exports:{}},S8=$l.exports,uw;function E8(){return uw||(uw=1,function(e){(function(t,r){e.exports?e.exports=r():t.parseSrcset=r()})(S8,function(){return function(t){function r(_){return _===" "||_===" "||_===` +`||_==="\f"||_==="\r"}function n(_){var w,S=_.exec(t.substring(p));if(S)return w=S[0],p+=w.length,w}for(var i=t.length,s=/^[ \t\n\r\u000c]+/,a=/^[, \t\n\r\u000c]+/,o=/^[^ \t\n\r\u000c]+/,u=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h,d,f,m,y,p=0,v=[];;){if(n(a),p>=i)return v;h=n(o),d=[],h.slice(-1)===","?(h=h.replace(u,""),b()):g()}function g(){for(n(s),f="",m="in descriptor";;){if(y=t.charAt(p),m==="in descriptor")if(r(y))f&&(d.push(f),f="",m="after descriptor");else if(y===","){p+=1,f&&d.push(f),b();return}else if(y==="(")f=f+y,m="in parens";else if(y===""){f&&d.push(f),b();return}else f=f+y;else if(m==="in parens")if(y===")")f=f+y,m="in descriptor";else if(y===""){d.push(f),b();return}else f=f+y;else if(m==="after descriptor"&&!r(y))if(y===""){b();return}else m="in descriptor",p-=1;p+=1}}function b(){var _=!1,w,S,E,$,C={},P,A,k,D,U;for($=0;$",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(i){if(!this.source)return"";let s=this.source;i==null&&(i=e.isColorSupported);let a=f=>f,o=f=>f,u=f=>f;if(i){let{bold:f,gray:m,red:y}=e.createColors(!0);o=p=>f(y(p)),a=p=>m(p),t&&(u=p=>t(p))}let l=s.split(/\r?\n/),c=Math.max(this.line-3,0),h=Math.min(this.line+2,l.length),d=String(h).length;return l.slice(c,h).map((f,m)=>{let y=c+1+m,p=" "+(" "+y).slice(-d)+" | ";if(y===this.line){if(f.length>160){let g=20,b=Math.max(0,this.column-g),_=Math.max(this.column+g,this.endColumn+g),w=f.slice(b,_),S=a(p.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,g-1)).replace(/[^\t]/g," ");return o(">")+a(p)+u(w)+` + `+S+o("^")}let v=a(p.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+a(p)+u(f)+` + `+v+o("^")}return" "+a(p)+u(f)}).join(` +`)}toString(){let i=this.showSourceCode();return i&&(i=` -`+o+` -`),this.name+": "+this.message+o}}return Pf=r,r.default=r,Pf}var If,mb;function gb(){if(mb)return If;mb=1;const e={after:` +`+i+` +`),this.name+": "+this.message+i}}return Nd=r,r.default=r,Nd}var Rd,fw;function dw(){if(fw)return Rd;fw=1;const e={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` -`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(n){return n[0].toUpperCase()+n.slice(1)}class r{constructor(o){this.builder=o}atrule(o,s){let i="@"+o.name,a=o.params?this.rawValue(o,"params"):"";if(typeof o.raws.afterName<"u"?i+=o.raws.afterName:a&&(i+=" "),o.nodes)this.block(o,i+a);else{let l=(o.raws.between||"")+(s?";":"");this.builder(i+a+l,o)}}beforeAfter(o,s){let i;o.type==="decl"?i=this.raw(o,null,"beforeDecl"):o.type==="comment"?i=this.raw(o,null,"beforeComment"):s==="before"?i=this.raw(o,null,"beforeRule"):i=this.raw(o,null,"beforeClose");let a=o.parent,l=0;for(;a&&a.type!=="root";)l+=1,a=a.parent;if(i.includes(` -`)){let u=this.raw(o,null,"indent");if(u.length)for(let c=0;c0&&o.nodes[s].type==="comment";)s-=1;let i=this.raw(o,"semicolon");for(let a=0;a{if(a=h.raws[s],typeof a<"u")return!1})}return typeof a>"u"&&(a=e[i]),u.rawCache[i]=a,a}rawBeforeClose(o){let s;return o.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after<"u")return s=i.raws.after,s.includes(` -`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(o,s){let i;return o.walkComments(a=>{if(typeof a.raws.before<"u")return i=a.raws.before,i.includes(` -`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(o,s){let i;return o.walkDecls(a=>{if(typeof a.raws.before<"u")return i=a.raws.before,i.includes(` -`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeOpen(o){let s;return o.walk(i=>{if(i.type!=="decl"&&(s=i.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(o){let s;return o.walk(i=>{if(i.nodes&&(i.parent!==o||o.first!==i)&&typeof i.raws.before<"u")return s=i.raws.before,s.includes(` -`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(o){let s;return o.walkDecls(i=>{if(typeof i.raws.between<"u")return s=i.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(o){let s;return o.walk(i=>{if(i.nodes&&i.nodes.length===0&&(s=i.raws.after,typeof s<"u"))return!1}),s}rawIndent(o){if(o.raws.indent)return o.raws.indent;let s;return o.walk(i=>{let a=i.parent;if(a&&a!==o&&a.parent&&a.parent===o&&typeof i.raws.before<"u"){let l=i.raws.before.split(` -`);return s=l[l.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(o){let s;return o.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(s=i.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(o,s){let i=o[s],a=o.raws[s];return a&&a.value===i?a.raw:i}root(o){this.body(o),o.raws.after&&this.builder(o.raws.after)}rule(o){this.block(o,this.rawValue(o,"selector")),o.raws.ownSemicolon&&this.builder(o.raws.ownSemicolon,o,"end")}stringify(o,s){if(!this[o.type])throw new Error("Unknown AST node type "+o.type+". Maybe you need to change PostCSS stringifier.");this[o.type](o,s)}}return If=r,r.default=r,If}var Df,yb;function Vl(){if(yb)return Df;yb=1;let e=gb();function t(r,n){new e(n).stringify(r)}return Df=t,t.default=t,Df}var jf={},vb;function Rf(){return vb||(vb=1,jf.isClean=Symbol("isClean"),jf.my=Symbol("my")),jf}var Mf,bb;function Ll(){if(bb)return Mf;bb=1;let e=Nf(),t=gb(),r=Vl(),{isClean:n,my:o}=Rf();function s(l,u){let c=new l.constructor;for(let h in l){if(!Object.prototype.hasOwnProperty.call(l,h)||h==="proxyCache")continue;let f=l[h],d=typeof f;h==="parent"&&d==="object"?u&&(c[h]=u):h==="source"?c[h]=f:Array.isArray(f)?c[h]=f.map(g=>s(g,c)):(d==="object"&&f!==null&&(f=s(f)),c[h]=f)}return c}function i(l,u){if(u&&typeof u.offset<"u")return u.offset;let c=1,h=1,f=0;for(let d=0;du.root().toProxy():u[c]},set(u,c,h){return u[c]===h||(u[c]=h,(c==="prop"||c==="value"||c==="name"||c==="params"||c==="important"||c==="text")&&u.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let u=this;for(;u=u.parent;)u[n]=!1}}next(){if(!this.parent)return;let u=this.parent.index(this);return this.parent.nodes[u+1]}positionBy(u){let c=this.source.start;if(u.index)c=this.positionInside(u.index);else if(u.word){let h="document"in this.source.input?this.source.input.document:this.source.input.css,f=h.slice(i(h,this.source.start),i(h,this.source.end)).indexOf(u.word);f!==-1&&(c=this.positionInside(f))}return c}positionInside(u){let c=this.source.start.column,h=this.source.start.line,f="document"in this.source.input?this.source.input.document:this.source.input.css,d=i(f,this.source.start),g=d+u;for(let v=d;vtypeof p=="object"&&p.toJSON?p.toJSON(null,c):p);else if(typeof v=="object"&&v.toJSON)h[g]=v.toJSON(null,c);else if(g==="source"){let p=c.get(v.input);p==null&&(p=d,c.set(v.input,d),d++),h[g]={end:v.end,inputId:p,start:v.start}}else h[g]=v}return f&&(h.inputs=[...c.keys()].map(g=>g.toJSON())),h}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(u=r){u.stringify&&(u=u.stringify);let c="";return u(this,h=>{c+=h}),c}warn(u,c,h){let f={node:this};for(let d in h)f[d]=h[d];return u.warn(c,f)}}return Mf=a,a.default=a,Mf}var Bf,wb;function Fl(){if(wb)return Bf;wb=1;let e=Ll();class t extends e{constructor(n){super(n),this.type="comment"}}return Bf=t,t.default=t,Bf}var Vf,_b;function Ul(){if(_b)return Vf;_b=1;let e=Ll();class t extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(n){n&&typeof n.value<"u"&&typeof n.value!="string"&&(n={...n,value:String(n.value)}),super(n),this.type="decl"}}return Vf=t,t.default=t,Vf}var Lf,Sb;function Uo(){if(Sb)return Lf;Sb=1;let e=Fl(),t=Ul(),r=Ll(),{isClean:n,my:o}=Rf(),s,i,a,l;function u(f){return f.map(d=>(d.nodes&&(d.nodes=u(d.nodes)),delete d.source,d))}function c(f){if(f[n]=!1,f.proxyOf.nodes)for(let d of f.proxyOf.nodes)c(d)}class h extends r{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...d){for(let g of d){let v=this.normalize(g,this.last);for(let p of v)this.proxyOf.nodes.push(p)}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let g of this.nodes)g.cleanRaws(d)}each(d){if(!this.proxyOf.nodes)return;let g=this.getIterator(),v,p;for(;this.indexes[g]d[g](...v.map(p=>typeof p=="function"?(m,b)=>p(m.toProxy(),b):p)):g==="every"||g==="some"?v=>d[g]((p,...m)=>v(p.toProxy(),...m)):g==="root"?()=>d.root().toProxy():g==="nodes"?d.nodes.map(v=>v.toProxy()):g==="first"||g==="last"?d[g].toProxy():d[g]:d[g]},set(d,g,v){return d[g]===v||(d[g]=v,(g==="name"||g==="params"||g==="selector")&&d.markDirty()),!0}}}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}insertAfter(d,g){let v=this.index(d),p=this.normalize(g,this.proxyOf.nodes[v]).reverse();v=this.index(d);for(let b of p)this.proxyOf.nodes.splice(v+1,0,b);let m;for(let b in this.indexes)m=this.indexes[b],v"u")d=[];else if(Array.isArray(d)){d=d.slice(0);for(let v of d)v.parent&&v.parent.removeChild(v,"ignore")}else if(d.type==="root"&&this.type!=="document"){d=d.nodes.slice(0);for(let v of d)v.parent&&v.parent.removeChild(v,"ignore")}else if(d.type)d=[d];else if(d.prop){if(typeof d.value>"u")throw new Error("Value field is missed in node creation");typeof d.value!="string"&&(d.value=String(d.value)),d=[new t(d)]}else if(d.selector||d.selectors)d=[new l(d)];else if(d.name)d=[new s(d)];else if(d.text)d=[new e(d)];else throw new Error("Unknown node type in node creation");return d.map(v=>(v[o]||h.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[n]&&c(v),v.raws||(v.raws={}),typeof v.raws.before>"u"&&g&&typeof g.raws.before<"u"&&(v.raws.before=g.raws.before.replace(/\S/g,"")),v.parent=this.proxyOf,v))}prepend(...d){d=d.reverse();for(let g of d){let v=this.normalize(g,this.first,"prepend").reverse();for(let p of v)this.proxyOf.nodes.unshift(p);for(let p in this.indexes)this.indexes[p]=this.indexes[p]+v.length}return this.markDirty(),this}push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let g;for(let v in this.indexes)g=this.indexes[v],g>=d&&(this.indexes[v]=g-1);return this.markDirty(),this}replaceValues(d,g,v){return v||(v=g,g={}),this.walkDecls(p=>{g.props&&!g.props.includes(p.prop)||g.fast&&!p.value.includes(g.fast)||(p.value=p.value.replace(d,v))}),this.markDirty(),this}some(d){return this.nodes.some(d)}walk(d){return this.each((g,v)=>{let p;try{p=d(g,v)}catch(m){throw g.addToError(m)}return p!==!1&&g.walk&&(p=g.walk(d)),p})}walkAtRules(d,g){return g?d instanceof RegExp?this.walk((v,p)=>{if(v.type==="atrule"&&d.test(v.name))return g(v,p)}):this.walk((v,p)=>{if(v.type==="atrule"&&v.name===d)return g(v,p)}):(g=d,this.walk((v,p)=>{if(v.type==="atrule")return g(v,p)}))}walkComments(d){return this.walk((g,v)=>{if(g.type==="comment")return d(g,v)})}walkDecls(d,g){return g?d instanceof RegExp?this.walk((v,p)=>{if(v.type==="decl"&&d.test(v.prop))return g(v,p)}):this.walk((v,p)=>{if(v.type==="decl"&&v.prop===d)return g(v,p)}):(g=d,this.walk((v,p)=>{if(v.type==="decl")return g(v,p)}))}walkRules(d,g){return g?d instanceof RegExp?this.walk((v,p)=>{if(v.type==="rule"&&d.test(v.selector))return g(v,p)}):this.walk((v,p)=>{if(v.type==="rule"&&v.selector===d)return g(v,p)}):(g=d,this.walk((v,p)=>{if(v.type==="rule")return g(v,p)}))}}return h.registerParse=f=>{i=f},h.registerRule=f=>{l=f},h.registerAtRule=f=>{s=f},h.registerRoot=f=>{a=f},Lf=h,h.default=h,h.rebuild=f=>{f.type==="atrule"?Object.setPrototypeOf(f,s.prototype):f.type==="rule"?Object.setPrototypeOf(f,l.prototype):f.type==="decl"?Object.setPrototypeOf(f,t.prototype):f.type==="comment"?Object.setPrototypeOf(f,e.prototype):f.type==="root"&&Object.setPrototypeOf(f,a.prototype),f[o]=!0,f.nodes&&f.nodes.forEach(d=>{h.rebuild(d)})},Lf}var Ff,Eb;function Uf(){if(Eb)return Ff;Eb=1;let e=Uo();class t extends e{constructor(n){super(n),this.type="atrule"}append(...n){return this.proxyOf.nodes||(this.nodes=[]),super.append(...n)}prepend(...n){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...n)}}return Ff=t,t.default=t,e.registerAtRule(t),Ff}var qf,xb;function zf(){if(xb)return qf;xb=1;let e=Uo(),t,r;class n extends e{constructor(s){super({type:"document",...s}),this.nodes||(this.nodes=[])}toResult(s={}){return new t(new r,this,s).stringify()}}return n.registerLazyResult=o=>{t=o},n.registerProcessor=o=>{r=o},qf=n,n.default=n,qf}var Hf,Ob;function BP(){if(Ob)return Hf;Ob=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Hf={nanoid:(t=21)=>{let r="",n=t|0;for(;n--;)r+=e[Math.random()*64|0];return r},customAlphabet:(t,r=21)=>(n=r)=>{let o="",s=n|0;for(;s--;)o+=t[Math.random()*t.length|0];return o}},Hf}var Gf,$b;function Cb(){if($b)return Gf;$b=1;let{existsSync:e,readFileSync:t}=en,{dirname:r,join:n}=en,{SourceMapConsumer:o,SourceMapGenerator:s}=en;function i(l){return Buffer?Buffer.from(l,"base64").toString():window.atob(l)}class a{constructor(u,c){if(c.map===!1)return;this.loadAnnotation(u),this.inline=this.startWith(this.annotation,"data:");let h=c.map?c.map.prev:void 0,f=this.loadMap(c.from,h);!this.mapFile&&c.from&&(this.mapFile=c.from),this.mapFile&&(this.root=r(this.mapFile)),f&&(this.text=f)}consumer(){return this.consumerCache||(this.consumerCache=new o(this.text)),this.consumerCache}decodeInline(u){let c=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,f=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/,g=u.match(f)||u.match(d);if(g)return decodeURIComponent(u.substr(g[0].length));let v=u.match(c)||u.match(h);if(v)return i(u.substr(v[0].length));let p=u.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+p)}getAnnotationURL(u){return u.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(u){return typeof u!="object"?!1:typeof u.mappings=="string"||typeof u._mappings=="string"||Array.isArray(u.sections)}loadAnnotation(u){let c=u.match(/\/\*\s*# sourceMappingURL=/g);if(!c)return;let h=u.lastIndexOf(c.pop()),f=u.indexOf("*/",h);h>-1&&f>-1&&(this.annotation=this.getAnnotationURL(u.substring(h,f)))}loadFile(u){if(this.root=r(u),e(u))return this.mapFile=u,t(u,"utf-8").toString().trim()}loadMap(u,c){if(c===!1)return!1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let h=c(u);if(h){let f=this.loadFile(h);if(!f)throw new Error("Unable to load previous source map: "+h.toString());return f}}else{if(c instanceof o)return s.fromSourceMap(c).toString();if(c instanceof s)return c.toString();if(this.isMap(c))return JSON.stringify(c);throw new Error("Unsupported previous source map format: "+c.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let h=this.annotation;return u&&(h=n(r(u),h)),this.loadFile(h)}}}startWith(u,c){return u?u.substr(0,c.length)===c:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Gf=a,a.default=a,Gf}var Wf,Tb;function ql(){if(Tb)return Wf;Tb=1;let{nanoid:e}=BP(),{isAbsolute:t,resolve:r}=en,{SourceMapConsumer:n,SourceMapGenerator:o}=en,{fileURLToPath:s,pathToFileURL:i}=en,a=Nf(),l=Cb(),u=en,c=Symbol("fromOffsetCache"),h=!!(n&&o),f=!!(r&&t);class d{get from(){return this.file||this.id}constructor(v,p={}){if(v===null||typeof v>"u"||typeof v=="object"&&!v.toString)throw new Error(`PostCSS received ${v} instead of CSS string`);if(this.css=v.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,p.document&&(this.document=p.document.toString()),p.from&&(!f||/^\w+:\/\//.test(p.from)||t(p.from)?this.file=p.from:this.file=r(p.from)),f&&h){let m=new l(this.css,p);if(m.text){this.map=m;let b=m.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(v,p,m,b={}){let w,S,_;if(p&&typeof p=="object"){let O=p,P=m;if(typeof O.offset=="number"){let A=this.fromOffset(O.offset);p=A.line,m=A.col}else p=O.line,m=O.column;if(typeof P.offset=="number"){let A=this.fromOffset(P.offset);S=A.line,w=A.col}else S=P.line,w=P.column}else if(!m){let O=this.fromOffset(p);p=O.line,m=O.col}let E=this.origin(p,m,S,w);return E?_=new a(v,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.file,b.plugin):_=new a(v,S===void 0?p:{column:m,line:p},S===void 0?m:{column:w,line:S},this.css,this.file,b.plugin),_.input={column:m,endColumn:w,endLine:S,line:p,source:this.css},this.file&&(i&&(_.input.url=i(this.file).toString()),_.input.file=this.file),_}fromOffset(v){let p,m;if(this[c])m=this[c];else{let w=this.css.split(` -`);m=new Array(w.length);let S=0;for(let _=0,E=w.length;_=p)b=m.length-1;else{let w=m.length-2,S;for(;b>1),v=m[S+1])b=S+1;else{b=S;break}}return{col:v-m[b]+1,line:b+1}}mapResolve(v){return/^\w+:\/\//.test(v)?v:r(this.map.consumer().sourceRoot||this.map.root||".",v)}origin(v,p,m,b){if(!this.map)return!1;let w=this.map.consumer(),S=w.originalPositionFor({column:p,line:v});if(!S.source)return!1;let _;typeof m=="number"&&(_=w.originalPositionFor({column:b,line:m}));let E;t(S.source)?E=i(S.source):E=new URL(S.source,this.map.consumer().sourceRoot||i(this.map.mapFile));let O={column:S.column,endColumn:_&&_.column,endLine:_&&_.line,line:S.line,url:E.toString()};if(E.protocol==="file:")if(s)O.file=s(E);else throw new Error("file: protocol is not available in this PostCSS build");let P=w.sourceContentFor(S.source);return P&&(O.source=P),O}toJSON(){let v={};for(let p of["hasBOM","css","file","id"])this[p]!=null&&(v[p]=this[p]);return this.map&&(v.map={...this.map},v.map.consumerCache&&(v.map.consumerCache=void 0)),v}}return Wf=d,d.default=d,u&&u.registerInput&&u.registerInput(d),Wf}var Kf,kb;function Ji(){if(kb)return Kf;kb=1;let e=Uo(),t,r;class n extends e{constructor(s){super(s),this.type="root",this.nodes||(this.nodes=[])}normalize(s,i,a){let l=super.normalize(s);if(i){if(a==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let u of l)u.raws.before=i.raws.before}return l}removeChild(s,i){let a=this.index(s);return!i&&a===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[a].raws.before),super.removeChild(s)}toResult(s={}){return new t(new r,this,s).stringify()}}return n.registerLazyResult=o=>{t=o},n.registerProcessor=o=>{r=o},Kf=n,n.default=n,e.registerRoot(n),Kf}var Jf,Ab;function Pb(){if(Ab)return Jf;Ab=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",` -`," "];return e.split(t,r)},split(t,r,n){let o=[],s="",i=!1,a=0,l=!1,u="",c=!1;for(let h of t)c?c=!1:h==="\\"?c=!0:l?h===u&&(l=!1):h==='"'||h==="'"?(l=!0,u=h):h==="("?a+=1:h===")"?a>0&&(a-=1):a===0&&r.includes(h)&&(i=!0),i?(s!==""&&o.push(s.trim()),s="",i=!1):s+=h;return(n||s!=="")&&o.push(s.trim()),o}};return Jf=e,e.default=e,Jf}var Zf,Nb;function Yf(){if(Nb)return Zf;Nb=1;let e=Uo(),t=Pb();class r extends e{get selectors(){return t.comma(this.selector)}set selectors(o){let s=this.selector?this.selector.match(/,\s*/):null,i=s?s[0]:","+this.raw("between","beforeOpen");this.selector=o.join(i)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}}return Zf=r,r.default=r,e.registerRule(r),Zf}var Xf,Ib;function VP(){if(Ib)return Xf;Ib=1;let e=Uf(),t=Fl(),r=Ul(),n=ql(),o=Cb(),s=Ji(),i=Yf();function a(l,u){if(Array.isArray(l))return l.map(f=>a(f));let{inputs:c,...h}=l;if(c){u=[];for(let f of c){let d={...f,__proto__:n.prototype};d.map&&(d.map={...d.map,__proto__:o.prototype}),u.push(d)}}if(h.nodes&&(h.nodes=l.nodes.map(f=>a(f,u))),h.source){let{inputId:f,...d}=h.source;h.source=d,f!=null&&(h.source.input=u[f])}if(h.type==="root")return new s(h);if(h.type==="decl")return new r(h);if(h.type==="rule")return new i(h);if(h.type==="comment")return new t(h);if(h.type==="atrule")return new e(h);throw new Error("Unknown node type: "+l.type)}return Xf=a,a.default=a,Xf}var Qf,Db;function jb(){if(Db)return Qf;Db=1;let{dirname:e,relative:t,resolve:r,sep:n}=en,{SourceMapConsumer:o,SourceMapGenerator:s}=en,{pathToFileURL:i}=en,a=ql(),l=!!(o&&s),u=!!(e&&r&&t&&n);class c{constructor(f,d,g,v){this.stringify=f,this.mapOpts=g.map||{},this.root=d,this.opts=g,this.css=v,this.originalCSS=v,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let f;this.isInline()?f="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?f=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?f=this.mapOpts.annotation(this.opts.to,this.root):f=this.outputFile()+".map";let d=` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(n){return n[0].toUpperCase()+n.slice(1)}class r{constructor(i){this.builder=i}atrule(i,s){let a="@"+i.name,o=i.params?this.rawValue(i,"params"):"";if(typeof i.raws.afterName<"u"?a+=i.raws.afterName:o&&(a+=" "),i.nodes)this.block(i,a+o);else{let u=(i.raws.between||"")+(s?";":"");this.builder(a+o+u,i)}}beforeAfter(i,s){let a;i.type==="decl"?a=this.raw(i,null,"beforeDecl"):i.type==="comment"?a=this.raw(i,null,"beforeComment"):s==="before"?a=this.raw(i,null,"beforeRule"):a=this.raw(i,null,"beforeClose");let o=i.parent,u=0;for(;o&&o.type!=="root";)u+=1,o=o.parent;if(a.includes(` +`)){let l=this.raw(i,null,"indent");if(l.length)for(let c=0;c0&&i.nodes[s].type==="comment";)s-=1;let a=this.raw(i,"semicolon");for(let o=0;o{if(o=h.raws[s],typeof o<"u")return!1})}return typeof o>"u"&&(o=e[a]),l.rawCache[a]=o,o}rawBeforeClose(i){let s;return i.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return s=a.raws.after,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(i,s){let a;return i.walkComments(o=>{if(typeof o.raws.before<"u")return a=o.raws.before,a.includes(` +`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(s,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(i,s){let a;return i.walkDecls(o=>{if(typeof o.raws.before<"u")return a=o.raws.before,a.includes(` +`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(s,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(i){let s;return i.walk(a=>{if(a.type!=="decl"&&(s=a.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(i){let s;return i.walk(a=>{if(a.nodes&&(a.parent!==i||i.first!==a)&&typeof a.raws.before<"u")return s=a.raws.before,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(i){let s;return i.walkDecls(a=>{if(typeof a.raws.between<"u")return s=a.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(i){let s;return i.walk(a=>{if(a.nodes&&a.nodes.length===0&&(s=a.raws.after,typeof s<"u"))return!1}),s}rawIndent(i){if(i.raws.indent)return i.raws.indent;let s;return i.walk(a=>{let o=a.parent;if(o&&o!==i&&o.parent&&o.parent===i&&typeof a.raws.before<"u"){let u=a.raws.before.split(` +`);return s=u[u.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(i){let s;return i.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(s=a.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(i,s){let a=i[s],o=i.raws[s];return o&&o.value===a?o.raw:a}root(i){this.body(i),i.raws.after&&this.builder(i.raws.after)}rule(i){this.block(i,this.rawValue(i,"selector")),i.raws.ownSemicolon&&this.builder(i.raws.ownSemicolon,i,"end")}stringify(i,s){if(!this[i.type])throw new Error("Unknown AST node type "+i.type+". Maybe you need to change PostCSS stringifier.");this[i.type](i,s)}}return Rd=r,r.default=r,Rd}var Id,hw;function Cl(){if(hw)return Id;hw=1;let e=dw();function t(r,n){new e(n).stringify(r)}return Id=t,t.default=t,Id}var Al={},pw;function Dd(){return pw||(pw=1,Al.isClean=Symbol("isClean"),Al.my=Symbol("my")),Al}var Md,mw;function Pl(){if(mw)return Md;mw=1;let e=kd(),t=dw(),r=Cl(),{isClean:n,my:i}=Dd();function s(u,l){let c=new u.constructor;for(let h in u){if(!Object.prototype.hasOwnProperty.call(u,h)||h==="proxyCache")continue;let d=u[h],f=typeof d;h==="parent"&&f==="object"?l&&(c[h]=l):h==="source"?c[h]=d:Array.isArray(d)?c[h]=d.map(m=>s(m,c)):(f==="object"&&d!==null&&(d=s(d)),c[h]=d)}return c}function a(u,l){if(l&&typeof l.offset<"u")return l.offset;let c=1,h=1,d=0;for(let f=0;fl.root().toProxy():l[c]},set(l,c,h){return l[c]===h||(l[c]=h,(c==="prop"||c==="value"||c==="name"||c==="params"||c==="important"||c==="text")&&l.markDirty()),!0}}}markClean(){this[n]=!0}markDirty(){if(this[n]){this[n]=!1;let l=this;for(;l=l.parent;)l[n]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let c=this.source.start;if(l.index)c=this.positionInside(l.index);else if(l.word){let h="document"in this.source.input?this.source.input.document:this.source.input.css,f=h.slice(a(h,this.source.start),a(h,this.source.end)).indexOf(l.word);f!==-1&&(c=this.positionInside(f))}return c}positionInside(l){let c=this.source.start.column,h=this.source.start.line,d="document"in this.source.input?this.source.input.document:this.source.input.css,f=a(d,this.source.start),m=f+l;for(let y=f;ytypeof p=="object"&&p.toJSON?p.toJSON(null,c):p);else if(typeof y=="object"&&y.toJSON)h[m]=y.toJSON(null,c);else if(m==="source"){let p=c.get(y.input);p==null&&(p=f,c.set(y.input,f),f++),h[m]={end:y.end,inputId:p,start:y.start}}else h[m]=y}return d&&(h.inputs=[...c.keys()].map(m=>m.toJSON())),h}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=r){l.stringify&&(l=l.stringify);let c="";return l(this,h=>{c+=h}),c}warn(l,c,h){let d={node:this};for(let f in h)d[f]=h[f];return l.warn(c,d)}}return Md=o,o.default=o,Md}var Bd,gw;function Nl(){if(gw)return Bd;gw=1;let e=Pl();class t extends e{constructor(n){super(n),this.type="comment"}}return Bd=t,t.default=t,Bd}var jd,vw;function kl(){if(vw)return jd;vw=1;let e=Pl();class t extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(n){n&&typeof n.value<"u"&&typeof n.value!="string"&&(n={...n,value:String(n.value)}),super(n),this.type="decl"}}return jd=t,t.default=t,jd}var Ld,yw;function Di(){if(yw)return Ld;yw=1;let e=Nl(),t=kl(),r=Pl(),{isClean:n,my:i}=Dd(),s,a,o,u;function l(d){return d.map(f=>(f.nodes&&(f.nodes=l(f.nodes)),delete f.source,f))}function c(d){if(d[n]=!1,d.proxyOf.nodes)for(let f of d.proxyOf.nodes)c(f)}class h extends r{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...f){for(let m of f){let y=this.normalize(m,this.last);for(let p of y)this.proxyOf.nodes.push(p)}return this.markDirty(),this}cleanRaws(f){if(super.cleanRaws(f),this.nodes)for(let m of this.nodes)m.cleanRaws(f)}each(f){if(!this.proxyOf.nodes)return;let m=this.getIterator(),y,p;for(;this.indexes[m]f[m](...y.map(p=>typeof p=="function"?(v,g)=>p(v.toProxy(),g):p)):m==="every"||m==="some"?y=>f[m]((p,...v)=>y(p.toProxy(),...v)):m==="root"?()=>f.root().toProxy():m==="nodes"?f.nodes.map(y=>y.toProxy()):m==="first"||m==="last"?f[m].toProxy():f[m]:f[m]},set(f,m,y){return f[m]===y||(f[m]=y,(m==="name"||m==="params"||m==="selector")&&f.markDirty()),!0}}}index(f){return typeof f=="number"?f:(f.proxyOf&&(f=f.proxyOf),this.proxyOf.nodes.indexOf(f))}insertAfter(f,m){let y=this.index(f),p=this.normalize(m,this.proxyOf.nodes[y]).reverse();y=this.index(f);for(let g of p)this.proxyOf.nodes.splice(y+1,0,g);let v;for(let g in this.indexes)v=this.indexes[g],y"u")f=[];else if(Array.isArray(f)){f=f.slice(0);for(let p of f)p.parent&&p.parent.removeChild(p,"ignore")}else if(f.type==="root"&&this.type!=="document"){f=f.nodes.slice(0);for(let p of f)p.parent&&p.parent.removeChild(p,"ignore")}else if(f.type)f=[f];else if(f.prop){if(typeof f.value>"u")throw new Error("Value field is missed in node creation");typeof f.value!="string"&&(f.value=String(f.value)),f=[new t(f)]}else if(f.selector||f.selectors)f=[new u(f)];else if(f.name)f=[new s(f)];else if(f.text)f=[new e(f)];else throw new Error("Unknown node type in node creation");return f.map(p=>(p[i]||h.rebuild(p),p=p.proxyOf,p.parent&&p.parent.removeChild(p),p[n]&&c(p),p.raws||(p.raws={}),typeof p.raws.before>"u"&&m&&typeof m.raws.before<"u"&&(p.raws.before=m.raws.before.replace(/\S/g,"")),p.parent=this.proxyOf,p))}prepend(...f){f=f.reverse();for(let m of f){let y=this.normalize(m,this.first,"prepend").reverse();for(let p of y)this.proxyOf.nodes.unshift(p);for(let p in this.indexes)this.indexes[p]=this.indexes[p]+y.length}return this.markDirty(),this}push(f){return f.parent=this,this.proxyOf.nodes.push(f),this}removeAll(){for(let f of this.proxyOf.nodes)f.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(f){f=this.index(f),this.proxyOf.nodes[f].parent=void 0,this.proxyOf.nodes.splice(f,1);let m;for(let y in this.indexes)m=this.indexes[y],m>=f&&(this.indexes[y]=m-1);return this.markDirty(),this}replaceValues(f,m,y){return y||(y=m,m={}),this.walkDecls(p=>{m.props&&!m.props.includes(p.prop)||m.fast&&!p.value.includes(m.fast)||(p.value=p.value.replace(f,y))}),this.markDirty(),this}some(f){return this.nodes.some(f)}walk(f){return this.each((m,y)=>{let p;try{p=f(m,y)}catch(v){throw m.addToError(v)}return p!==!1&&m.walk&&(p=m.walk(f)),p})}walkAtRules(f,m){return m?f instanceof RegExp?this.walk((y,p)=>{if(y.type==="atrule"&&f.test(y.name))return m(y,p)}):this.walk((y,p)=>{if(y.type==="atrule"&&y.name===f)return m(y,p)}):(m=f,this.walk((y,p)=>{if(y.type==="atrule")return m(y,p)}))}walkComments(f){return this.walk((m,y)=>{if(m.type==="comment")return f(m,y)})}walkDecls(f,m){return m?f instanceof RegExp?this.walk((y,p)=>{if(y.type==="decl"&&f.test(y.prop))return m(y,p)}):this.walk((y,p)=>{if(y.type==="decl"&&y.prop===f)return m(y,p)}):(m=f,this.walk((y,p)=>{if(y.type==="decl")return m(y,p)}))}walkRules(f,m){return m?f instanceof RegExp?this.walk((y,p)=>{if(y.type==="rule"&&f.test(y.selector))return m(y,p)}):this.walk((y,p)=>{if(y.type==="rule"&&y.selector===f)return m(y,p)}):(m=f,this.walk((y,p)=>{if(y.type==="rule")return m(y,p)}))}}return h.registerParse=d=>{a=d},h.registerRule=d=>{u=d},h.registerAtRule=d=>{s=d},h.registerRoot=d=>{o=d},Ld=h,h.default=h,h.rebuild=d=>{d.type==="atrule"?Object.setPrototypeOf(d,s.prototype):d.type==="rule"?Object.setPrototypeOf(d,u.prototype):d.type==="decl"?Object.setPrototypeOf(d,t.prototype):d.type==="comment"?Object.setPrototypeOf(d,e.prototype):d.type==="root"&&Object.setPrototypeOf(d,o.prototype),d[i]=!0,d.nodes&&d.nodes.forEach(f=>{h.rebuild(f)})},Ld}var Fd,bw;function qd(){if(bw)return Fd;bw=1;let e=Di();class t extends e{constructor(n){super(n),this.type="atrule"}append(...n){return this.proxyOf.nodes||(this.nodes=[]),super.append(...n)}prepend(...n){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...n)}}return Fd=t,t.default=t,e.registerAtRule(t),Fd}var Vd,ww;function Ud(){if(ww)return Vd;ww=1;let e=Di(),t,r;class n extends e{constructor(s){super({type:"document",...s}),this.nodes||(this.nodes=[])}toResult(s={}){return new t(new r,this,s).stringify()}}return n.registerLazyResult=i=>{t=i},n.registerProcessor=i=>{r=i},Vd=n,n.default=n,Vd}var zd,_w;function T8(){if(_w)return zd;_w=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return zd={nanoid:(n=21)=>{let i="",s=n|0;for(;s--;)i+=e[Math.random()*64|0];return i},customAlphabet:(n,i=21)=>(s=i)=>{let a="",o=s|0;for(;o--;)a+=n[Math.random()*n.length|0];return a}},zd}var Hd,Sw;function Ew(){if(Sw)return Hd;Sw=1;let{existsSync:e,readFileSync:t}=Hr,{dirname:r,join:n}=Hr,{SourceMapConsumer:i,SourceMapGenerator:s}=Hr;function a(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}class o{constructor(l,c){if(c.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let h=c.map?c.map.prev:void 0,d=this.loadMap(c.from,h);!this.mapFile&&c.from&&(this.mapFile=c.from),this.mapFile&&(this.root=r(this.mapFile)),d&&(this.text=d)}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}decodeInline(l){let c=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,d=/^data:application\/json;charset=utf-?8,/,f=/^data:application\/json,/,m=l.match(d)||l.match(f);if(m)return decodeURIComponent(l.substr(m[0].length));let y=l.match(c)||l.match(h);if(y)return a(l.substr(y[0].length));let p=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+p)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let c=l.match(/\/\*\s*# sourceMappingURL=/g);if(!c)return;let h=l.lastIndexOf(c.pop()),d=l.indexOf("*/",h);h>-1&&d>-1&&(this.annotation=this.getAnnotationURL(l.substring(h,d)))}loadFile(l){if(this.root=r(l),e(l))return this.mapFile=l,t(l,"utf-8").toString().trim()}loadMap(l,c){if(c===!1)return!1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let h=c(l);if(h){let d=this.loadFile(h);if(!d)throw new Error("Unable to load previous source map: "+h.toString());return d}}else{if(c instanceof i)return s.fromSourceMap(c).toString();if(c instanceof s)return c.toString();if(this.isMap(c))return JSON.stringify(c);throw new Error("Unsupported previous source map format: "+c.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let h=this.annotation;return l&&(h=n(r(l),h)),this.loadFile(h)}}}startWith(l,c){return l?l.substr(0,c.length)===c:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hd=o,o.default=o,Hd}var Wd,xw;function Rl(){if(xw)return Wd;xw=1;let{nanoid:e}=T8(),{isAbsolute:t,resolve:r}=Hr,{SourceMapConsumer:n,SourceMapGenerator:i}=Hr,{fileURLToPath:s,pathToFileURL:a}=Hr,o=kd(),u=Ew(),l=Hr,c=Symbol("fromOffsetCache"),h=!!(n&&i),d=!!(r&&t);class f{get from(){return this.file||this.id}constructor(y,p={}){if(y===null||typeof y>"u"||typeof y=="object"&&!y.toString)throw new Error(`PostCSS received ${y} instead of CSS string`);if(this.css=y.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,p.document&&(this.document=p.document.toString()),p.from&&(!d||/^\w+:\/\//.test(p.from)||t(p.from)?this.file=p.from:this.file=r(p.from)),d&&h){let v=new u(this.css,p);if(v.text){this.map=v;let g=v.consumer().file;!this.file&&g&&(this.file=this.mapResolve(g))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(y,p,v,g={}){let b,_,w;if(p&&typeof p=="object"){let E=p,$=v;if(typeof E.offset=="number"){let C=this.fromOffset(E.offset);p=C.line,v=C.col}else p=E.line,v=E.column;if(typeof $.offset=="number"){let C=this.fromOffset($.offset);_=C.line,b=C.col}else _=$.line,b=$.column}else if(!v){let E=this.fromOffset(p);p=E.line,v=E.col}let S=this.origin(p,v,_,b);return S?w=new o(y,S.endLine===void 0?S.line:{column:S.column,line:S.line},S.endLine===void 0?S.column:{column:S.endColumn,line:S.endLine},S.source,S.file,g.plugin):w=new o(y,_===void 0?p:{column:v,line:p},_===void 0?v:{column:b,line:_},this.css,this.file,g.plugin),w.input={column:v,endColumn:b,endLine:_,line:p,source:this.css},this.file&&(a&&(w.input.url=a(this.file).toString()),w.input.file=this.file),w}fromOffset(y){let p,v;if(this[c])v=this[c];else{let b=this.css.split(` +`);v=new Array(b.length);let _=0;for(let w=0,S=b.length;w=p)g=v.length-1;else{let b=v.length-2,_;for(;g>1),y=v[_+1])g=_+1;else{g=_;break}}return{col:y-v[g]+1,line:g+1}}mapResolve(y){return/^\w+:\/\//.test(y)?y:r(this.map.consumer().sourceRoot||this.map.root||".",y)}origin(y,p,v,g){if(!this.map)return!1;let b=this.map.consumer(),_=b.originalPositionFor({column:p,line:y});if(!_.source)return!1;let w;typeof v=="number"&&(w=b.originalPositionFor({column:g,line:v}));let S;t(_.source)?S=a(_.source):S=new URL(_.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let E={column:_.column,endColumn:w&&w.column,endLine:w&&w.line,line:_.line,url:S.toString()};if(S.protocol==="file:")if(s)E.file=s(S);else throw new Error("file: protocol is not available in this PostCSS build");let $=b.sourceContentFor(_.source);return $&&(E.source=$),E}toJSON(){let y={};for(let p of["hasBOM","css","file","id"])this[p]!=null&&(y[p]=this[p]);return this.map&&(y.map={...this.map},y.map.consumerCache&&(y.map.consumerCache=void 0)),y}}return Wd=f,f.default=f,l&&l.registerInput&&l.registerInput(f),Wd}var Gd,Tw;function Ra(){if(Tw)return Gd;Tw=1;let e=Di(),t,r;class n extends e{constructor(s){super(s),this.type="root",this.nodes||(this.nodes=[])}normalize(s,a,o){let u=super.normalize(s);if(a){if(o==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let l of u)l.raws.before=a.raws.before}return u}removeChild(s,a){let o=this.index(s);return!a&&o===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[o].raws.before),super.removeChild(s)}toResult(s={}){return new t(new r,this,s).stringify()}}return n.registerLazyResult=i=>{t=i},n.registerProcessor=i=>{r=i},Gd=n,n.default=n,e.registerRoot(n),Gd}var Jd,$w;function Ow(){if($w)return Jd;$w=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",` +`," "];return e.split(t,r)},split(t,r,n){let i=[],s="",a=!1,o=0,u=!1,l="",c=!1;for(let h of t)c?c=!1:h==="\\"?c=!0:u?h===l&&(u=!1):h==='"'||h==="'"?(u=!0,l=h):h==="("?o+=1:h===")"?o>0&&(o-=1):o===0&&r.includes(h)&&(a=!0),a?(s!==""&&i.push(s.trim()),s="",a=!1):s+=h;return(n||s!=="")&&i.push(s.trim()),i}};return Jd=e,e.default=e,Jd}var Kd,Cw;function Zd(){if(Cw)return Kd;Cw=1;let e=Di(),t=Ow();class r extends e{get selectors(){return t.comma(this.selector)}set selectors(i){let s=this.selector?this.selector.match(/,\s*/):null,a=s?s[0]:","+this.raw("between","beforeOpen");this.selector=i.join(a)}constructor(i){super(i),this.type="rule",this.nodes||(this.nodes=[])}}return Kd=r,r.default=r,e.registerRule(r),Kd}var Yd,Aw;function $8(){if(Aw)return Yd;Aw=1;let e=qd(),t=Nl(),r=kl(),n=Rl(),i=Ew(),s=Ra(),a=Zd();function o(u,l){if(Array.isArray(u))return u.map(d=>o(d));let{inputs:c,...h}=u;if(c){l=[];for(let d of c){let f={...d,__proto__:n.prototype};f.map&&(f.map={...f.map,__proto__:i.prototype}),l.push(f)}}if(h.nodes&&(h.nodes=u.nodes.map(d=>o(d,l))),h.source){let{inputId:d,...f}=h.source;h.source=f,d!=null&&(h.source.input=l[d])}if(h.type==="root")return new s(h);if(h.type==="decl")return new r(h);if(h.type==="rule")return new a(h);if(h.type==="comment")return new t(h);if(h.type==="atrule")return new e(h);throw new Error("Unknown node type: "+u.type)}return Yd=o,o.default=o,Yd}var Xd,Pw;function Nw(){if(Pw)return Xd;Pw=1;let{dirname:e,relative:t,resolve:r,sep:n}=Hr,{SourceMapConsumer:i,SourceMapGenerator:s}=Hr,{pathToFileURL:a}=Hr,o=Rl(),u=!!(i&&s),l=!!(e&&r&&t&&n);class c{constructor(d,f,m,y){this.stringify=d,this.mapOpts=m.map||{},this.root=f,this.opts=m,this.css=y,this.originalCSS=y,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let d;this.isInline()?d="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?d=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?d=this.mapOpts.annotation(this.opts.to,this.root):d=this.outputFile()+".map";let f=` `;this.css.includes(`\r -`)&&(d=`\r -`),this.css+=d+"/*# sourceMappingURL="+f+" */"}applyPrevMaps(){for(let f of this.previous()){let d=this.toUrl(this.path(f.file)),g=f.root||e(f.file),v;this.mapOpts.sourcesContent===!1?(v=new o(f.text),v.sourcesContent&&(v.sourcesContent=null)):v=f.consumer(),this.map.applySourceMap(v,d,this.toUrl(this.path(g)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let f;for(let d=this.root.nodes.length-1;d>=0;d--)f=this.root.nodes[d],f.type==="comment"&&f.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(d)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),u&&l&&this.isMap())return this.generateMap();{let f="";return this.stringify(this.root,d=>{f+=d}),[f]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let f=this.previous()[0].consumer();f.file=this.outputFile(),this.map=s.fromSourceMap(f,{ignoreInvalidMapping:!0})}else this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0});let f=1,d=1,g="",v={generated:{column:0,line:0},original:{column:0,line:0},source:""},p,m;this.stringify(this.root,(b,w,S)=>{if(this.css+=b,w&&S!=="end"&&(v.generated.line=f,v.generated.column=d-1,w.source&&w.source.start?(v.source=this.sourcePath(w),v.original.line=w.source.start.line,v.original.column=w.source.start.column-1,this.map.addMapping(v)):(v.source=g,v.original.line=1,v.original.column=0,this.map.addMapping(v))),m=b.match(/\n/g),m?(f+=m.length,p=b.lastIndexOf(` -`),d=b.length-p):d+=b.length,w&&S!=="start"){let _=w.parent||{raws:{}};(!(w.type==="decl"||w.type==="atrule"&&!w.nodes)||w!==_.last||_.raws.semicolon)&&(w.source&&w.source.end?(v.source=this.sourcePath(w),v.original.line=w.source.end.line,v.original.column=w.source.end.column-1,v.generated.line=f,v.generated.column=d-2,this.map.addMapping(v)):(v.source=g,v.original.line=1,v.original.column=0,v.generated.line=f,v.generated.column=d-1,this.map.addMapping(v)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(f=>f.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let f=this.mapOpts.annotation;return typeof f<"u"&&f!==!0?!1:this.previous().length?this.previous().some(d=>d.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(f=>f.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(f){if(this.mapOpts.absolute||f.charCodeAt(0)===60||/^\w+:\/\//.test(f))return f;let d=this.memoizedPaths.get(f);if(d)return d;let g=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(g=e(r(g,this.mapOpts.annotation)));let v=t(g,f);return this.memoizedPaths.set(f,v),v}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(f=>{if(f.source&&f.source.input.map){let d=f.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d)}});else{let f=new a(this.originalCSS,this.opts);f.map&&this.previousMaps.push(f.map)}return this.previousMaps}setSourcesContent(){let f={};if(this.root)this.root.walk(d=>{if(d.source){let g=d.source.input.from;if(g&&!f[g]){f[g]=!0;let v=this.usesFileUrls?this.toFileUrl(g):this.toUrl(this.path(g));this.map.setSourceContent(v,d.source.input.css)}}});else if(this.css){let d=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(d,this.css)}}sourcePath(f){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(f.source.input.from):this.toUrl(this.path(f.source.input.from))}toBase64(f){return Buffer?Buffer.from(f).toString("base64"):window.btoa(unescape(encodeURIComponent(f)))}toFileUrl(f){let d=this.memoizedFileURLs.get(f);if(d)return d;if(i){let g=i(f).toString();return this.memoizedFileURLs.set(f,g),g}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(f){let d=this.memoizedURLs.get(f);if(d)return d;n==="\\"&&(f=f.replace(/\\/g,"/"));let g=encodeURI(f).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(f,g),g}}return Qf=c,Qf}var ep,Rb;function LP(){if(Rb)return ep;Rb=1;const e=39,t=34,r=92,n=47,o=10,s=32,i=12,a=9,l=13,u=91,c=93,h=40,f=41,d=123,g=125,v=59,p=42,m=58,b=64,w=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return ep=function(O,P={}){let A=O.css.valueOf(),V=P.ignoreErrors,D,M,z,F,ue,K,he,ie,ve,ce,W=A.length,Y=0,re=[],R=[];function H(){return Y}function ae(Te){throw O.error("Unclosed "+Te,Y)}function Ee(){return R.length===0&&Y>=W}function Ce(Te){if(R.length)return R.pop();if(Y>=W)return;let B=Te?Te.ignoreUnclosed:!1;switch(D=A.charCodeAt(Y),D){case o:case s:case a:case l:case i:{F=Y;do F+=1,D=A.charCodeAt(F);while(D===s||D===o||D===a||D===l||D===i);K=["space",A.slice(Y,F)],Y=F-1;break}case u:case c:case d:case g:case m:case v:case f:{let k=String.fromCharCode(D);K=[k,k,Y];break}case h:{if(ce=re.length?re.pop()[1]:"",ve=A.charCodeAt(Y+1),ce==="url"&&ve!==e&&ve!==t&&ve!==s&&ve!==o&&ve!==a&&ve!==i&&ve!==l){F=Y;do{if(he=!1,F=A.indexOf(")",F+1),F===-1)if(V||B){F=Y;break}else ae("bracket");for(ie=F;A.charCodeAt(ie-1)===r;)ie-=1,he=!he}while(he);K=["brackets",A.slice(Y,F+1),Y,F],Y=F}else F=A.indexOf(")",Y+1),M=A.slice(Y,F+1),F===-1||_.test(M)?K=["(","(",Y]:(K=["brackets",M,Y,F],Y=F);break}case e:case t:{ue=D===e?"'":'"',F=Y;do{if(he=!1,F=A.indexOf(ue,F+1),F===-1)if(V||B){F=Y+1;break}else ae("string");for(ie=F;A.charCodeAt(ie-1)===r;)ie-=1,he=!he}while(he);K=["string",A.slice(Y,F+1),Y,F],Y=F;break}case b:{w.lastIndex=Y+1,w.test(A),w.lastIndex===0?F=A.length-1:F=w.lastIndex-2,K=["at-word",A.slice(Y,F+1),Y,F],Y=F;break}case r:{for(F=Y,z=!0;A.charCodeAt(F+1)===r;)F+=1,z=!z;if(D=A.charCodeAt(F+1),z&&D!==n&&D!==s&&D!==o&&D!==a&&D!==l&&D!==i&&(F+=1,E.test(A.charAt(F)))){for(;E.test(A.charAt(F+1));)F+=1;A.charCodeAt(F+1)===s&&(F+=1)}K=["word",A.slice(Y,F+1),Y,F],Y=F;break}default:{D===n&&A.charCodeAt(Y+1)===p?(F=A.indexOf("*/",Y+2)+1,F===0&&(V||B?F=A.length:ae("comment")),K=["comment",A.slice(Y,F+1),Y,F],Y=F):(S.lastIndex=Y+1,S.test(A),S.lastIndex===0?F=A.length-1:F=S.lastIndex-2,K=["word",A.slice(Y,F+1),Y,F],re.push(K),Y=F);break}}return Y++,K}function Re(Te){R.push(Te)}return{back:Re,endOfFile:Ee,nextToken:Ce,position:H}},ep}var tp,Mb;function FP(){if(Mb)return tp;Mb=1;let e=Uf(),t=Fl(),r=Ul(),n=Ji(),o=Yf(),s=LP();const i={empty:!0,space:!0};function a(u){for(let c=u.length-1;c>=0;c--){let h=u[c],f=h[3]||h[2];if(f)return f}}class l{constructor(c){this.input=c,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}atrule(c){let h=new e;h.name=c[1].slice(1),h.name===""&&this.unnamedAtrule(h,c),this.init(h,c[2]);let f,d,g,v=!1,p=!1,m=[],b=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),f=c[0],f==="("||f==="["?b.push(f==="("?")":"]"):f==="{"&&b.length>0?b.push("}"):f===b[b.length-1]&&b.pop(),b.length===0)if(f===";"){h.source.end=this.getPosition(c[2]),h.source.end.offset++,this.semicolon=!0;break}else if(f==="{"){p=!0;break}else if(f==="}"){if(m.length>0){for(g=m.length-1,d=m[g];d&&d[0]==="space";)d=m[--g];d&&(h.source.end=this.getPosition(d[3]||d[2]),h.source.end.offset++)}this.end(c);break}else m.push(c);else m.push(c);if(this.tokenizer.endOfFile()){v=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(h.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(h,"params",m),v&&(c=m[m.length-1],h.source.end=this.getPosition(c[3]||c[2]),h.source.end.offset++,this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),p&&(h.nodes=[],this.current=h)}checkMissedSemicolon(c){let h=this.colon(c);if(h===!1)return;let f=0,d;for(let g=h-1;g>=0&&(d=c[g],!(d[0]!=="space"&&(f+=1,f===2)));g--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(c){let h=0,f,d,g;for(let[v,p]of c.entries()){if(d=p,g=d[0],g==="("&&(h+=1),g===")"&&(h-=1),h===0&&g===":")if(!f)this.doubleColon(d);else{if(f[0]==="word"&&f[1]==="progid")continue;return v}f=d}return!1}comment(c){let h=new t;this.init(h,c[2]),h.source.end=this.getPosition(c[3]||c[2]),h.source.end.offset++;let f=c[1].slice(2,-2);if(/^\s*$/.test(f))h.text="",h.raws.left=f,h.raws.right="";else{let d=f.match(/^(\s*)([^]*\S)(\s*)$/);h.text=d[2],h.raws.left=d[1],h.raws.right=d[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(c,h){let f=new r;this.init(f,c[0][2]);let d=c[c.length-1];for(d[0]===";"&&(this.semicolon=!0,c.pop()),f.source.end=this.getPosition(d[3]||d[2]||a(c)),f.source.end.offset++;c[0][0]!=="word";)c.length===1&&this.unknownWord(c),f.raws.before+=c.shift()[1];for(f.source.start=this.getPosition(c[0][2]),f.prop="";c.length;){let m=c[0][0];if(m===":"||m==="space"||m==="comment")break;f.prop+=c.shift()[1]}f.raws.between="";let g;for(;c.length;)if(g=c.shift(),g[0]===":"){f.raws.between+=g[1];break}else g[0]==="word"&&/\w/.test(g[1])&&this.unknownWord([g]),f.raws.between+=g[1];(f.prop[0]==="_"||f.prop[0]==="*")&&(f.raws.before+=f.prop[0],f.prop=f.prop.slice(1));let v=[],p;for(;c.length&&(p=c[0][0],!(p!=="space"&&p!=="comment"));)v.push(c.shift());this.precheckMissedSemicolon(c);for(let m=c.length-1;m>=0;m--){if(g=c[m],g[1].toLowerCase()==="!important"){f.important=!0;let b=this.stringFrom(c,m);b=this.spacesFromEnd(c)+b,b!==" !important"&&(f.raws.important=b);break}else if(g[1].toLowerCase()==="important"){let b=c.slice(0),w="";for(let S=m;S>0;S--){let _=b[S][0];if(w.trim().startsWith("!")&&_!=="space")break;w=b.pop()[1]+w}w.trim().startsWith("!")&&(f.important=!0,f.raws.important=w,c=b)}if(g[0]!=="space"&&g[0]!=="comment")break}c.some(m=>m[0]!=="space"&&m[0]!=="comment")&&(f.raws.between+=v.map(m=>m[1]).join(""),v=[]),this.raw(f,"value",v.concat(c),h),f.value.includes(":")&&!h&&this.checkMissedSemicolon(c)}doubleColon(c){throw this.input.error("Double colon",{offset:c[2]},{offset:c[2]+c[1].length})}emptyRule(c){let h=new o;this.init(h,c[2]),h.selector="",h.raws.between="",this.current=h}end(c){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(c[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(c)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(c){if(this.spaces+=c[1],this.current.nodes){let h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="",h.source.end=this.getPosition(c[2]),h.source.end.offset+=h.raws.ownSemicolon.length)}}getPosition(c){let h=this.input.fromOffset(c);return{column:h.col,line:h.line,offset:c}}init(c,h){this.current.push(c),c.source={input:this.input,start:this.getPosition(h)},c.raws.before=this.spaces,this.spaces="",c.type!=="comment"&&(this.semicolon=!1)}other(c){let h=!1,f=null,d=!1,g=null,v=[],p=c[1].startsWith("--"),m=[],b=c;for(;b;){if(f=b[0],m.push(b),f==="("||f==="[")g||(g=b),v.push(f==="("?")":"]");else if(p&&d&&f==="{")g||(g=b),v.push("}");else if(v.length===0)if(f===";")if(d){this.decl(m,p);return}else break;else if(f==="{"){this.rule(m);return}else if(f==="}"){this.tokenizer.back(m.pop()),h=!0;break}else f===":"&&(d=!0);else f===v[v.length-1]&&(v.pop(),v.length===0&&(g=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),v.length>0&&this.unclosedBracket(g),h&&d){if(!p)for(;m.length&&(b=m[m.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,p)}else this.unknownWord(m)}parse(){let c;for(;!this.tokenizer.endOfFile();)switch(c=this.tokenizer.nextToken(),c[0]){case"space":this.spaces+=c[1];break;case";":this.freeSemicolon(c);break;case"}":this.end(c);break;case"comment":this.comment(c);break;case"at-word":this.atrule(c);break;case"{":this.emptyRule(c);break;default:this.other(c);break}this.endFile()}precheckMissedSemicolon(){}raw(c,h,f,d){let g,v,p=f.length,m="",b=!0,w,S;for(let _=0;_E+O[1],"");c.raws[h]={raw:_,value:m}}c[h]=m}rule(c){c.pop();let h=new o;this.init(h,c[0][2]),h.raws.between=this.spacesAndCommentsFromEnd(c),this.raw(h,"selector",c),this.current=h}spacesAndCommentsFromEnd(c){let h,f="";for(;c.length&&(h=c[c.length-1][0],!(h!=="space"&&h!=="comment"));)f=c.pop()[1]+f;return f}spacesAndCommentsFromStart(c){let h,f="";for(;c.length&&(h=c[0][0],!(h!=="space"&&h!=="comment"));)f+=c.shift()[1];return f}spacesFromEnd(c){let h,f="";for(;c.length&&(h=c[c.length-1][0],h==="space");)f=c.pop()[1]+f;return f}stringFrom(c,h){let f="";for(let d=h;dn.type==="warning")}}return sp=t,t.default=t,sp}var ap,Ub;function qb(){if(Ub)return ap;Ub=1;let e=Uo(),t=zf(),r=jb(),n=np(),o=ip(),s=Ji(),i=Vl(),{isClean:a,my:l}=Rf();const u={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},c={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},f=0;function d(w){return typeof w=="object"&&typeof w.then=="function"}function g(w){let S=!1,_=u[w.type];return w.type==="decl"?S=w.prop.toLowerCase():w.type==="atrule"&&(S=w.name.toLowerCase()),S&&w.append?[_,_+"-"+S,f,_+"Exit",_+"Exit-"+S]:S?[_,_+"-"+S,_+"Exit",_+"Exit-"+S]:w.append?[_,f,_+"Exit"]:[_,_+"Exit"]}function v(w){let S;return w.type==="document"?S=["Document",f,"DocumentExit"]:w.type==="root"?S=["Root",f,"RootExit"]:S=g(w),{eventIndex:0,events:S,iterator:0,node:w,visitorIndex:0,visitors:[]}}function p(w){return w[a]=!1,w.nodes&&w.nodes.forEach(S=>p(S)),w}let m={};class b{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(S,_,E){this.stringified=!1,this.processed=!1;let O;if(typeof _=="object"&&_!==null&&(_.type==="root"||_.type==="document"))O=p(_);else if(_ instanceof b||_ instanceof o)O=p(_.root),_.map&&(typeof E.map>"u"&&(E.map={}),E.map.inline||(E.map.inline=!1),E.map.prev=_.map);else{let P=n;E.syntax&&(P=E.syntax.parse),E.parser&&(P=E.parser),P.parse&&(P=P.parse);try{O=P(_,E)}catch(A){this.processed=!0,this.error=A}O&&!O[l]&&e.rebuild(O)}this.result=new o(S,O,E),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?{...P,...P.prepare(this.result)}:P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(S){return this.async().catch(S)}finally(S){return this.async().then(S,S)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(S,_){let E=this.result.lastPlugin;try{_&&_.addToError(S),this.error=S,S.name==="CssSyntaxError"&&!S.plugin?(S.plugin=E.postcssPlugin,S.setMessage()):E.postcssVersion}catch(O){console&&console.error&&console.error(O)}return S}prepareVisitors(){this.listeners={};let S=(_,E,O)=>{this.listeners[E]||(this.listeners[E]=[]),this.listeners[E].push([_,O])};for(let _ of this.plugins)if(typeof _=="object")for(let E in _){if(!c[E]&&/^[A-Z]/.test(E))throw new Error(`Unknown event ${E} in ${_.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[E])if(typeof _[E]=="object")for(let O in _[E])O==="*"?S(_,E,_[E][O]):S(_,E+"-"+O.toLowerCase(),_[E][O]);else typeof _[E]=="function"&&S(_,E,_[E])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let S=0;S0;){let E=this.visitTick(_);if(d(E))try{await E}catch(O){let P=_[_.length-1].node;throw this.handleError(O,P)}}}if(this.listeners.OnceExit)for(let[_,E]of this.listeners.OnceExit){this.result.lastPlugin=_;try{if(S.type==="document"){let O=S.nodes.map(P=>E(P,this.helpers));await Promise.all(O)}else await E(S,this.helpers)}catch(O){throw this.handleError(O)}}}return this.processed=!0,this.stringify()}runOnRoot(S){this.result.lastPlugin=S;try{if(typeof S=="object"&&S.Once){if(this.result.root.type==="document"){let _=this.result.root.nodes.map(E=>S.Once(E,this.helpers));return d(_[0])?Promise.all(_):_}return S.Once(this.result.root,this.helpers)}else if(typeof S=="function")return S(this.result.root,this.result)}catch(_){throw this.handleError(_)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let S=this.result.opts,_=i;S.syntax&&(_=S.syntax.stringify),S.stringifier&&(_=S.stringifier),_.stringify&&(_=_.stringify);let E=new r(_,this.result.root,this.result.opts).generate();return this.result.css=E[0],this.result.map=E[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let S of this.plugins){let _=this.runOnRoot(S);if(d(_))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let S=this.result.root;for(;!S[a];)S[a]=!0,this.walkSync(S);if(this.listeners.OnceExit)if(S.type==="document")for(let _ of S.nodes)this.visitSync(this.listeners.OnceExit,_);else this.visitSync(this.listeners.OnceExit,S)}return this.result}then(S,_){return this.async().then(S,_)}toString(){return this.css}visitSync(S,_){for(let[E,O]of S){this.result.lastPlugin=E;let P;try{P=O(_,this.helpers)}catch(A){throw this.handleError(A,_.proxyOf)}if(_.type!=="root"&&_.type!=="document"&&!_.parent)return!0;if(d(P))throw this.getAsyncError()}}visitTick(S){let _=S[S.length-1],{node:E,visitors:O}=_;if(E.type!=="root"&&E.type!=="document"&&!E.parent){S.pop();return}if(O.length>0&&_.visitorIndex{O[a]||this.walkSync(O)});else{let O=this.listeners[E];if(O&&this.visitSync(O,S.toProxy()))return}}warnings(){return this.sync().warnings()}}return b.registerPostcss=w=>{m=w},ap=b,b.default=b,s.registerLazyResult(b),t.registerLazyResult(b),ap}var lp,zb;function UP(){if(zb)return lp;zb=1;let e=jb(),t=np();const r=ip();let n=Vl();class o{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let i,a=t;try{i=a(this._css,this._opts)}catch(l){this.error=l}if(this.error)throw this.error;return this._root=i,i}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(i,a,l){a=a.toString(),this.stringified=!1,this._processor=i,this._css=a,this._opts=l,this._map=void 0;let u,c=n;this.result=new r(this._processor,u,this._opts),this.result.css=a;let h=this;Object.defineProperty(this.result,"root",{get(){return h.root}});let f=new e(c,u,this._opts,a);if(f.isMap()){let[d,g]=f.generate();d&&(this.result.css=d),g&&(this.result.map=g)}else f.clearAnnotation(),this.result.css=f.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}sync(){if(this.error)throw this.error;return this.result}then(i,a){return this.async().then(i,a)}toString(){return this._css}warnings(){return[]}}return lp=o,o.default=o,lp}var up,Hb;function qP(){if(Hb)return up;Hb=1;let e=zf(),t=qb(),r=UP(),n=Ji();class o{constructor(i=[]){this.version="8.5.3",this.plugins=this.normalize(i)}normalize(i){let a=[];for(let l of i)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))a=a.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)a.push(l);else if(typeof l=="function")a.push(l);else if(!(typeof l=="object"&&(l.parse||l.stringify)))throw new Error(l+" is not a PostCSS plugin");return a}process(i,a={}){return!this.plugins.length&&!a.parser&&!a.stringifier&&!a.syntax?new r(this,i,a):new t(this,i,a)}use(i){return this.plugins=this.plugins.concat(this.normalize([i])),this}}return up=o,o.default=o,n.registerProcessor(o),e.registerProcessor(o),up}var cp,Gb;function zP(){if(Gb)return cp;Gb=1;let e=Uf(),t=Fl(),r=Uo(),n=Nf(),o=Ul(),s=zf(),i=VP(),a=ql(),l=qb(),u=Pb(),c=Ll(),h=np(),f=qP(),d=ip(),g=Ji(),v=Yf(),p=Vl(),m=Lb();function b(...w){return w.length===1&&Array.isArray(w[0])&&(w=w[0]),new f(w)}return b.plugin=function(w,S){let _=!1;function E(...P){console&&console.warn&&!_&&(_=!0,console.warn(w+`: postcss.plugin was deprecated. Migration guide: -https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(w+`: 里面 postcss.plugin 被弃用. 迁移指南: -https://www.w3ctech.com/topic/2226`));let A=S(...P);return A.postcssPlugin=w,A.postcssVersion=new f().version,A}let O;return Object.defineProperty(E,"postcss",{get(){return O||(O=E()),O}}),E.process=function(P,A,V){return b([E(V)]).process(P,A)},E},b.stringify=p,b.parse=h,b.fromJSON=i,b.list=u,b.comment=w=>new t(w),b.atRule=w=>new e(w),b.decl=w=>new o(w),b.rule=w=>new v(w),b.root=w=>new g(w),b.document=w=>new s(w),b.CssSyntaxError=n,b.Declaration=o,b.Container=r,b.Processor=f,b.Document=s,b.Comment=t,b.Warning=m,b.AtRule=e,b.Result=d,b.Input=a,b.Rule=v,b.Root=g,b.Node=c,l.registerPostcss(b),cp=b,b.default=b,cp}var dp,Wb;function HP(){if(Wb)return dp;Wb=1;const e=AP(),t=PP(),{isPlainObject:r}=NP(),n=s0(),o=DP(),{parse:s}=zP(),i=["img","audio","video","picture","svg","object","map","iframe","embed"],a=["script","style"];function l(p,m){p&&Object.keys(p).forEach(function(b){m(p[b],b)})}function u(p,m){return{}.hasOwnProperty.call(p,m)}function c(p,m){const b=[];return l(p,function(w){m(w)&&b.push(w)}),b}function h(p){for(const m in p)if(u(p,m))return!1;return!0}function f(p){return p.map(function(m){if(!m.url)throw new Error("URL missing");return m.url+(m.w?` ${m.w}w`:"")+(m.h?` ${m.h}h`:"")+(m.d?` ${m.d}x`:"")}).join(", ")}dp=g;const d=/^[^\0\t\n\f\r /<=>]+$/;function g(p,m,b){if(p==null)return"";typeof p=="number"&&(p=p.toString());let w="",S="";function _(B,k){const N=this;this.tag=B,this.attribs=k||{},this.tagPosition=w.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(K.length){const j=K[K.length-1];j.text+=N.text}},this.updateParentNodeMediaChildren=function(){K.length&&i.includes(this.tag)&&K[K.length-1].mediaChildren.push(this.tag)}}m=Object.assign({},g.defaults,m),m.parser=Object.assign({},v,m.parser);const E=function(B){return m.allowedTags===!1||(m.allowedTags||[]).indexOf(B)>-1};a.forEach(function(B){E(B)&&!m.allowVulnerableTags&&console.warn(` +`)&&(f=`\r +`),this.css+=f+"/*# sourceMappingURL="+d+" */"}applyPrevMaps(){for(let d of this.previous()){let f=this.toUrl(this.path(d.file)),m=d.root||e(d.file),y;this.mapOpts.sourcesContent===!1?(y=new i(d.text),y.sourcesContent&&(y.sourcesContent=null)):y=d.consumer(),this.map.applySourceMap(y,f,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let d;for(let f=this.root.nodes.length-1;f>=0;f--)d=this.root.nodes[f],d.type==="comment"&&d.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(f)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&u&&this.isMap())return this.generateMap();{let d="";return this.stringify(this.root,f=>{d+=f}),[d]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let d=this.previous()[0].consumer();d.file=this.outputFile(),this.map=s.fromSourceMap(d,{ignoreInvalidMapping:!0})}else this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0});let d=1,f=1,m="",y={generated:{column:0,line:0},original:{column:0,line:0},source:""},p,v;this.stringify(this.root,(g,b,_)=>{if(this.css+=g,b&&_!=="end"&&(y.generated.line=d,y.generated.column=f-1,b.source&&b.source.start?(y.source=this.sourcePath(b),y.original.line=b.source.start.line,y.original.column=b.source.start.column-1,this.map.addMapping(y)):(y.source=m,y.original.line=1,y.original.column=0,this.map.addMapping(y))),v=g.match(/\n/g),v?(d+=v.length,p=g.lastIndexOf(` +`),f=g.length-p):f+=g.length,b&&_!=="start"){let w=b.parent||{raws:{}};(!(b.type==="decl"||b.type==="atrule"&&!b.nodes)||b!==w.last||w.raws.semicolon)&&(b.source&&b.source.end?(y.source=this.sourcePath(b),y.original.line=b.source.end.line,y.original.column=b.source.end.column-1,y.generated.line=d,y.generated.column=f-2,this.map.addMapping(y)):(y.source=m,y.original.line=1,y.original.column=0,y.generated.line=d,y.generated.column=f-1,this.map.addMapping(y)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(d=>d.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let d=this.mapOpts.annotation;return typeof d<"u"&&d!==!0?!1:this.previous().length?this.previous().some(f=>f.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(d=>d.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(d){if(this.mapOpts.absolute||d.charCodeAt(0)===60||/^\w+:\/\//.test(d))return d;let f=this.memoizedPaths.get(d);if(f)return f;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(r(m,this.mapOpts.annotation)));let y=t(m,d);return this.memoizedPaths.set(d,y),y}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(d=>{if(d.source&&d.source.input.map){let f=d.source.input.map;this.previousMaps.includes(f)||this.previousMaps.push(f)}});else{let d=new o(this.originalCSS,this.opts);d.map&&this.previousMaps.push(d.map)}return this.previousMaps}setSourcesContent(){let d={};if(this.root)this.root.walk(f=>{if(f.source){let m=f.source.input.from;if(m&&!d[m]){d[m]=!0;let y=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(y,f.source.input.css)}}});else if(this.css){let f=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(f,this.css)}}sourcePath(d){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(d.source.input.from):this.toUrl(this.path(d.source.input.from))}toBase64(d){return Buffer?Buffer.from(d).toString("base64"):window.btoa(unescape(encodeURIComponent(d)))}toFileUrl(d){let f=this.memoizedFileURLs.get(d);if(f)return f;if(a){let m=a(d).toString();return this.memoizedFileURLs.set(d,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(d){let f=this.memoizedURLs.get(d);if(f)return f;n==="\\"&&(d=d.replace(/\\/g,"/"));let m=encodeURI(d).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(d,m),m}}return Xd=c,Xd}var Qd,kw;function O8(){if(kw)return Qd;kw=1;const e=39,t=34,r=92,n=47,i=10,s=32,a=12,o=9,u=13,l=91,c=93,h=40,d=41,f=123,m=125,y=59,p=42,v=58,g=64,b=/[\t\n\f\r "#'()/;[\\\]{}]/g,_=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,S=/[\da-f]/i;return Qd=function($,C={}){let P=$.css.valueOf(),A=C.ignoreErrors,k,D,U,q,ee,Z,Q,ae,W,j,K=P.length,B=0,R=[],M=[];function Y(){return B}function fe(I){throw $.error("Unclosed "+I,B)}function pe(){return M.length===0&&B>=K}function Me(I){if(M.length)return M.pop();if(B>=K)return;let T=I?I.ignoreUnclosed:!1;switch(k=P.charCodeAt(B),k){case i:case s:case o:case u:case a:{q=B;do q+=1,k=P.charCodeAt(q);while(k===s||k===i||k===o||k===u||k===a);Z=["space",P.slice(B,q)],B=q-1;break}case l:case c:case f:case m:case v:case y:case d:{let O=String.fromCharCode(k);Z=[O,O,B];break}case h:{if(j=R.length?R.pop()[1]:"",W=P.charCodeAt(B+1),j==="url"&&W!==e&&W!==t&&W!==s&&W!==i&&W!==o&&W!==a&&W!==u){q=B;do{if(Q=!1,q=P.indexOf(")",q+1),q===-1)if(A||T){q=B;break}else fe("bracket");for(ae=q;P.charCodeAt(ae-1)===r;)ae-=1,Q=!Q}while(Q);Z=["brackets",P.slice(B,q+1),B,q],B=q}else q=P.indexOf(")",B+1),D=P.slice(B,q+1),q===-1||w.test(D)?Z=["(","(",B]:(Z=["brackets",D,B,q],B=q);break}case e:case t:{ee=k===e?"'":'"',q=B;do{if(Q=!1,q=P.indexOf(ee,q+1),q===-1)if(A||T){q=B+1;break}else fe("string");for(ae=q;P.charCodeAt(ae-1)===r;)ae-=1,Q=!Q}while(Q);Z=["string",P.slice(B,q+1),B,q],B=q;break}case g:{b.lastIndex=B+1,b.test(P),b.lastIndex===0?q=P.length-1:q=b.lastIndex-2,Z=["at-word",P.slice(B,q+1),B,q],B=q;break}case r:{for(q=B,U=!0;P.charCodeAt(q+1)===r;)q+=1,U=!U;if(k=P.charCodeAt(q+1),U&&k!==n&&k!==s&&k!==i&&k!==o&&k!==u&&k!==a&&(q+=1,S.test(P.charAt(q)))){for(;S.test(P.charAt(q+1));)q+=1;P.charCodeAt(q+1)===s&&(q+=1)}Z=["word",P.slice(B,q+1),B,q],B=q;break}default:{k===n&&P.charCodeAt(B+1)===p?(q=P.indexOf("*/",B+2)+1,q===0&&(A||T?q=P.length:fe("comment")),Z=["comment",P.slice(B,q+1),B,q],B=q):(_.lastIndex=B+1,_.test(P),_.lastIndex===0?q=P.length-1:q=_.lastIndex-2,Z=["word",P.slice(B,q+1),B,q],R.push(Z),B=q);break}}return B++,Z}function be(I){M.push(I)}return{back:be,endOfFile:pe,nextToken:Me,position:Y}},Qd}var eh,Rw;function C8(){if(Rw)return eh;Rw=1;let e=qd(),t=Nl(),r=kl(),n=Ra(),i=Zd(),s=O8();const a={empty:!0,space:!0};function o(l){for(let c=l.length-1;c>=0;c--){let h=l[c],d=h[3]||h[2];if(d)return d}}class u{constructor(c){this.input=c,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}atrule(c){let h=new e;h.name=c[1].slice(1),h.name===""&&this.unnamedAtrule(h,c),this.init(h,c[2]);let d,f,m,y=!1,p=!1,v=[],g=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),d=c[0],d==="("||d==="["?g.push(d==="("?")":"]"):d==="{"&&g.length>0?g.push("}"):d===g[g.length-1]&&g.pop(),g.length===0)if(d===";"){h.source.end=this.getPosition(c[2]),h.source.end.offset++,this.semicolon=!0;break}else if(d==="{"){p=!0;break}else if(d==="}"){if(v.length>0){for(m=v.length-1,f=v[m];f&&f[0]==="space";)f=v[--m];f&&(h.source.end=this.getPosition(f[3]||f[2]),h.source.end.offset++)}this.end(c);break}else v.push(c);else v.push(c);if(this.tokenizer.endOfFile()){y=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(v),v.length?(h.raws.afterName=this.spacesAndCommentsFromStart(v),this.raw(h,"params",v),y&&(c=v[v.length-1],h.source.end=this.getPosition(c[3]||c[2]),h.source.end.offset++,this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),p&&(h.nodes=[],this.current=h)}checkMissedSemicolon(c){let h=this.colon(c);if(h===!1)return;let d=0,f;for(let m=h-1;m>=0&&(f=c[m],!(f[0]!=="space"&&(d+=1,d===2)));m--);throw this.input.error("Missed semicolon",f[0]==="word"?f[3]+1:f[2])}colon(c){let h=0,d,f,m;for(let[y,p]of c.entries()){if(f=p,m=f[0],m==="("&&(h+=1),m===")"&&(h-=1),h===0&&m===":")if(!d)this.doubleColon(f);else{if(d[0]==="word"&&d[1]==="progid")continue;return y}d=f}return!1}comment(c){let h=new t;this.init(h,c[2]),h.source.end=this.getPosition(c[3]||c[2]),h.source.end.offset++;let d=c[1].slice(2,-2);if(/^\s*$/.test(d))h.text="",h.raws.left=d,h.raws.right="";else{let f=d.match(/^(\s*)([^]*\S)(\s*)$/);h.text=f[2],h.raws.left=f[1],h.raws.right=f[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(c,h){let d=new r;this.init(d,c[0][2]);let f=c[c.length-1];for(f[0]===";"&&(this.semicolon=!0,c.pop()),d.source.end=this.getPosition(f[3]||f[2]||o(c)),d.source.end.offset++;c[0][0]!=="word";)c.length===1&&this.unknownWord(c),d.raws.before+=c.shift()[1];for(d.source.start=this.getPosition(c[0][2]),d.prop="";c.length;){let g=c[0][0];if(g===":"||g==="space"||g==="comment")break;d.prop+=c.shift()[1]}d.raws.between="";let m;for(;c.length;)if(m=c.shift(),m[0]===":"){d.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),d.raws.between+=m[1];(d.prop[0]==="_"||d.prop[0]==="*")&&(d.raws.before+=d.prop[0],d.prop=d.prop.slice(1));let y=[],p;for(;c.length&&(p=c[0][0],!(p!=="space"&&p!=="comment"));)y.push(c.shift());this.precheckMissedSemicolon(c);for(let g=c.length-1;g>=0;g--){if(m=c[g],m[1].toLowerCase()==="!important"){d.important=!0;let b=this.stringFrom(c,g);b=this.spacesFromEnd(c)+b,b!==" !important"&&(d.raws.important=b);break}else if(m[1].toLowerCase()==="important"){let b=c.slice(0),_="";for(let w=g;w>0;w--){let S=b[w][0];if(_.trim().startsWith("!")&&S!=="space")break;_=b.pop()[1]+_}_.trim().startsWith("!")&&(d.important=!0,d.raws.important=_,c=b)}if(m[0]!=="space"&&m[0]!=="comment")break}c.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(d.raws.between+=y.map(g=>g[1]).join(""),y=[]),this.raw(d,"value",y.concat(c),h),d.value.includes(":")&&!h&&this.checkMissedSemicolon(c)}doubleColon(c){throw this.input.error("Double colon",{offset:c[2]},{offset:c[2]+c[1].length})}emptyRule(c){let h=new i;this.init(h,c[2]),h.selector="",h.raws.between="",this.current=h}end(c){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(c[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(c)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(c){if(this.spaces+=c[1],this.current.nodes){let h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="",h.source.end=this.getPosition(c[2]),h.source.end.offset+=h.raws.ownSemicolon.length)}}getPosition(c){let h=this.input.fromOffset(c);return{column:h.col,line:h.line,offset:c}}init(c,h){this.current.push(c),c.source={input:this.input,start:this.getPosition(h)},c.raws.before=this.spaces,this.spaces="",c.type!=="comment"&&(this.semicolon=!1)}other(c){let h=!1,d=null,f=!1,m=null,y=[],p=c[1].startsWith("--"),v=[],g=c;for(;g;){if(d=g[0],v.push(g),d==="("||d==="[")m||(m=g),y.push(d==="("?")":"]");else if(p&&f&&d==="{")m||(m=g),y.push("}");else if(y.length===0)if(d===";")if(f){this.decl(v,p);return}else break;else if(d==="{"){this.rule(v);return}else if(d==="}"){this.tokenizer.back(v.pop()),h=!0;break}else d===":"&&(f=!0);else d===y[y.length-1]&&(y.pop(),y.length===0&&(m=null));g=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),y.length>0&&this.unclosedBracket(m),h&&f){if(!p)for(;v.length&&(g=v[v.length-1][0],!(g!=="space"&&g!=="comment"));)this.tokenizer.back(v.pop());this.decl(v,p)}else this.unknownWord(v)}parse(){let c;for(;!this.tokenizer.endOfFile();)switch(c=this.tokenizer.nextToken(),c[0]){case"space":this.spaces+=c[1];break;case";":this.freeSemicolon(c);break;case"}":this.end(c);break;case"comment":this.comment(c);break;case"at-word":this.atrule(c);break;case"{":this.emptyRule(c);break;default:this.other(c);break}this.endFile()}precheckMissedSemicolon(){}raw(c,h,d,f){let m,y,p=d.length,v="",g=!0,b,_;for(let w=0;wS+E[1],"");c.raws[h]={raw:w,value:v}}c[h]=v}rule(c){c.pop();let h=new i;this.init(h,c[0][2]),h.raws.between=this.spacesAndCommentsFromEnd(c),this.raw(h,"selector",c),this.current=h}spacesAndCommentsFromEnd(c){let h,d="";for(;c.length&&(h=c[c.length-1][0],!(h!=="space"&&h!=="comment"));)d=c.pop()[1]+d;return d}spacesAndCommentsFromStart(c){let h,d="";for(;c.length&&(h=c[0][0],!(h!=="space"&&h!=="comment"));)d+=c.shift()[1];return d}spacesFromEnd(c){let h,d="";for(;c.length&&(h=c[c.length-1][0],h==="space");)d=c.pop()[1]+d;return d}stringFrom(c,h){let d="";for(let f=h;fn.type==="warning")}}return ih=t,t.default=t,ih}var ah,jw;function Lw(){if(jw)return ah;jw=1;let e=Di(),t=Ud(),r=Nw(),n=rh(),i=sh(),s=Ra(),a=Cl(),{isClean:o,my:u}=Dd();const l={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},c={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},d=0;function f(b){return typeof b=="object"&&typeof b.then=="function"}function m(b){let _=!1,w=l[b.type];return b.type==="decl"?_=b.prop.toLowerCase():b.type==="atrule"&&(_=b.name.toLowerCase()),_&&b.append?[w,w+"-"+_,d,w+"Exit",w+"Exit-"+_]:_?[w,w+"-"+_,w+"Exit",w+"Exit-"+_]:b.append?[w,d,w+"Exit"]:[w,w+"Exit"]}function y(b){let _;return b.type==="document"?_=["Document",d,"DocumentExit"]:b.type==="root"?_=["Root",d,"RootExit"]:_=m(b),{eventIndex:0,events:_,iterator:0,node:b,visitorIndex:0,visitors:[]}}function p(b){return b[o]=!1,b.nodes&&b.nodes.forEach(_=>p(_)),b}let v={};class g{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(_,w,S){this.stringified=!1,this.processed=!1;let E;if(typeof w=="object"&&w!==null&&(w.type==="root"||w.type==="document"))E=p(w);else if(w instanceof g||w instanceof i)E=p(w.root),w.map&&(typeof S.map>"u"&&(S.map={}),S.map.inline||(S.map.inline=!1),S.map.prev=w.map);else{let $=n;S.syntax&&($=S.syntax.parse),S.parser&&($=S.parser),$.parse&&($=$.parse);try{E=$(w,S)}catch(C){this.processed=!0,this.error=C}E&&!E[u]&&e.rebuild(E)}this.result=new i(_,E,S),this.helpers={...v,postcss:v,result:this.result},this.plugins=this.processor.plugins.map($=>typeof $=="object"&&$.prepare?{...$,...$.prepare(this.result)}:$)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(_){return this.async().catch(_)}finally(_){return this.async().then(_,_)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(_,w){let S=this.result.lastPlugin;try{w&&w.addToError(_),this.error=_,_.name==="CssSyntaxError"&&!_.plugin?(_.plugin=S.postcssPlugin,_.setMessage()):S.postcssVersion}catch(E){console&&console.error&&console.error(E)}return _}prepareVisitors(){this.listeners={};let _=(w,S,E)=>{this.listeners[S]||(this.listeners[S]=[]),this.listeners[S].push([w,E])};for(let w of this.plugins)if(typeof w=="object")for(let S in w){if(!c[S]&&/^[A-Z]/.test(S))throw new Error(`Unknown event ${S} in ${w.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[S])if(typeof w[S]=="object")for(let E in w[S])E==="*"?_(w,S,w[S][E]):_(w,S+"-"+E.toLowerCase(),w[S][E]);else typeof w[S]=="function"&&_(w,S,w[S])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let _=0;_0;){let S=this.visitTick(w);if(f(S))try{await S}catch(E){let $=w[w.length-1].node;throw this.handleError(E,$)}}}if(this.listeners.OnceExit)for(let[w,S]of this.listeners.OnceExit){this.result.lastPlugin=w;try{if(_.type==="document"){let E=_.nodes.map($=>S($,this.helpers));await Promise.all(E)}else await S(_,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(_){this.result.lastPlugin=_;try{if(typeof _=="object"&&_.Once){if(this.result.root.type==="document"){let w=this.result.root.nodes.map(S=>_.Once(S,this.helpers));return f(w[0])?Promise.all(w):w}return _.Once(this.result.root,this.helpers)}else if(typeof _=="function")return _(this.result.root,this.result)}catch(w){throw this.handleError(w)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let _=this.result.opts,w=a;_.syntax&&(w=_.syntax.stringify),_.stringifier&&(w=_.stringifier),w.stringify&&(w=w.stringify);let E=new r(w,this.result.root,this.result.opts).generate();return this.result.css=E[0],this.result.map=E[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let _ of this.plugins){let w=this.runOnRoot(_);if(f(w))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let _=this.result.root;for(;!_[o];)_[o]=!0,this.walkSync(_);if(this.listeners.OnceExit)if(_.type==="document")for(let w of _.nodes)this.visitSync(this.listeners.OnceExit,w);else this.visitSync(this.listeners.OnceExit,_)}return this.result}then(_,w){return this.async().then(_,w)}toString(){return this.css}visitSync(_,w){for(let[S,E]of _){this.result.lastPlugin=S;let $;try{$=E(w,this.helpers)}catch(C){throw this.handleError(C,w.proxyOf)}if(w.type!=="root"&&w.type!=="document"&&!w.parent)return!0;if(f($))throw this.getAsyncError()}}visitTick(_){let w=_[_.length-1],{node:S,visitors:E}=w;if(S.type!=="root"&&S.type!=="document"&&!S.parent){_.pop();return}if(E.length>0&&w.visitorIndex{E[o]||this.walkSync(E)});else{let E=this.listeners[S];if(E&&this.visitSync(E,_.toProxy()))return}}warnings(){return this.sync().warnings()}}return g.registerPostcss=b=>{v=b},ah=g,g.default=g,s.registerLazyResult(g),t.registerLazyResult(g),ah}var oh,Fw;function A8(){if(Fw)return oh;Fw=1;let e=Nw(),t=rh();const r=sh();let n=Cl();class i{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let a,o=t;try{a=o(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=a,a}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(a,o,u){o=o.toString(),this.stringified=!1,this._processor=a,this._css=o,this._opts=u,this._map=void 0;let l,c=n;this.result=new r(this._processor,l,this._opts),this.result.css=o;let h=this;Object.defineProperty(this.result,"root",{get(){return h.root}});let d=new e(c,l,this._opts,o);if(d.isMap()){let[f,m]=d.generate();f&&(this.result.css=f),m&&(this.result.map=m)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(a){return this.async().catch(a)}finally(a){return this.async().then(a,a)}sync(){if(this.error)throw this.error;return this.result}then(a,o){return this.async().then(a,o)}toString(){return this._css}warnings(){return[]}}return oh=i,i.default=i,oh}var uh,qw;function P8(){if(qw)return uh;qw=1;let e=Ud(),t=Lw(),r=A8(),n=Ra();class i{constructor(a=[]){this.version="8.5.3",this.plugins=this.normalize(a)}normalize(a){let o=[];for(let u of a)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))o=o.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)o.push(u);else if(typeof u=="function")o.push(u);else if(!(typeof u=="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin");return o}process(a,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new r(this,a,o):new t(this,a,o)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return uh=i,i.default=i,n.registerProcessor(i),e.registerProcessor(i),uh}var lh,Vw;function N8(){if(Vw)return lh;Vw=1;let e=qd(),t=Nl(),r=Di(),n=kd(),i=kl(),s=Ud(),a=$8(),o=Rl(),u=Lw(),l=Ow(),c=Pl(),h=rh(),d=P8(),f=sh(),m=Ra(),y=Zd(),p=Cl(),v=Mw();function g(...b){return b.length===1&&Array.isArray(b[0])&&(b=b[0]),new d(b)}return g.plugin=function(_,w){let S=!1;function E(...C){console&&console.warn&&!S&&(S=!0,console.warn(_+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(_+`: 里面 postcss.plugin 被弃用. 迁移指南: +https://www.w3ctech.com/topic/2226`));let P=w(...C);return P.postcssPlugin=_,P.postcssVersion=new d().version,P}let $;return Object.defineProperty(E,"postcss",{get(){return $||($=E()),$}}),E.process=function(C,P,A){return g([E(A)]).process(C,P)},E},g.stringify=p,g.parse=h,g.fromJSON=a,g.list=l,g.comment=b=>new t(b),g.atRule=b=>new e(b),g.decl=b=>new i(b),g.rule=b=>new y(b),g.root=b=>new m(b),g.document=b=>new s(b),g.CssSyntaxError=n,g.Declaration=i,g.Container=r,g.Processor=d,g.Document=s,g.Comment=t,g.Warning=v,g.AtRule=e,g.Result=f,g.Input=o,g.Rule=y,g.Root=m,g.Node=c,u.registerPostcss(g),lh=g,g.default=g,lh}var ch,Uw;function k8(){if(Uw)return ch;Uw=1;const e=b8(),t=w8(),{isPlainObject:r}=_8(),n=Jg(),i=E8(),{parse:s}=N8(),a=["img","audio","video","picture","svg","object","map","iframe","embed"],o=["script","style"];function u(p,v){p&&Object.keys(p).forEach(function(g){v(p[g],g)})}function l(p,v){return{}.hasOwnProperty.call(p,v)}function c(p,v){const g=[];return u(p,function(b){v(b)&&g.push(b)}),g}function h(p){for(const v in p)if(l(p,v))return!1;return!0}function d(p){return p.map(function(v){if(!v.url)throw new Error("URL missing");return v.url+(v.w?` ${v.w}w`:"")+(v.h?` ${v.h}h`:"")+(v.d?` ${v.d}x`:"")}).join(", ")}ch=m;const f=/^[^\0\t\n\f\r /<=>]+$/;function m(p,v,g){if(p==null)return"";typeof p=="number"&&(p=p.toString());let b="",_="";function w(I,T){const O=this;this.tag=I,this.attribs=T||{},this.tagPosition=b.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(ee.length){const N=ee[ee.length-1];N.text+=O.text}},this.updateParentNodeMediaChildren=function(){ee.length&&a.includes(this.tag)&&ee[ee.length-1].mediaChildren.push(this.tag)}}v=Object.assign({},m.defaults,v),v.parser=Object.assign({},y,v.parser);const S=function(I){return v.allowedTags===!1||(v.allowedTags||[]).indexOf(I)>-1};o.forEach(function(I){S(I)&&!v.allowVulnerableTags&&console.warn(` -⚠️ Your \`allowedTags\` option includes, \`${B}\`, which is inherently +⚠️ Your \`allowedTags\` option includes, \`${I}\`, which is inherently vulnerable to XSS attacks. Please remove it from \`allowedTags\`. Or, to disable this warning, add the \`allowVulnerableTags\` option and ensure you are accounting for this risk. -`)});const O=m.nonTextTags||["script","style","textarea","option"];let P,A;m.allowedAttributes&&(P={},A={},l(m.allowedAttributes,function(B,k){P[k]=[];const N=[];B.forEach(function(j){typeof j=="string"&&j.indexOf("*")>=0?N.push(t(j).replace(/\\\*/g,".*")):P[k].push(j)}),N.length&&(A[k]=new RegExp("^("+N.join("|")+")$"))}));const V={},D={},M={};l(m.allowedClasses,function(B,k){if(P&&(u(P,k)||(P[k]=[]),P[k].push("class")),V[k]=B,Array.isArray(B)){const N=[];V[k]=[],M[k]=[],B.forEach(function(j){typeof j=="string"&&j.indexOf("*")>=0?N.push(t(j).replace(/\\\*/g,".*")):j instanceof RegExp?M[k].push(j):V[k].push(j)}),N.length&&(D[k]=new RegExp("^("+N.join("|")+")$"))}});const z={};let F;l(m.transformTags,function(B,k){let N;typeof B=="function"?N=B:typeof B=="string"&&(N=g.simpleTransform(B)),k==="*"?F=N:z[k]=N});let ue,K,he,ie,ve,ce,W=!1;re();const Y=new e.Parser({onopentag:function(B,k){if(m.onOpenTag&&m.onOpenTag(B,k),m.enforceHtmlBoundary&&B==="html"&&re(),ve){ce++;return}const N=new _(B,k);K.push(N);let j=!1;const Z=!!N.text;let ne;if(u(z,B)&&(ne=z[B](B,k),N.attribs=k=ne.attribs,ne.text!==void 0&&(N.innerText=ne.text),B!==ne.tagName&&(N.name=B=ne.tagName,ie[ue]=ne.tagName)),F&&(ne=F(B,k),N.attribs=k=ne.attribs,B!==ne.tagName&&(N.name=B=ne.tagName,ie[ue]=ne.tagName)),(!E(B)||m.disallowedTagsMode==="recursiveEscape"&&!h(he)||m.nestingLimit!=null&&ue>=m.nestingLimit)&&(j=!0,he[ue]=!0,(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&O.indexOf(B)!==-1&&(ve=!0,ce=1)),ue++,j){if(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){if(N.innerText&&!Z){const Q=R(N.innerText);m.textFilter?w+=m.textFilter(Q,B):w+=Q,W=!0}return}S=w,w=""}w+="<"+B,B==="script"&&(m.allowedScriptHostnames||m.allowedScriptDomains)&&(N.innerText=""),j&&(m.disallowedTagsMode==="escape"||m.disallowedTagsMode==="recursiveEscape")&&m.preserveEscapedAttributes?l(k,function(Q,oe){w+=" "+oe+'="'+R(Q||"",!0)+'"'}):(!P||u(P,B)||P["*"])&&l(k,function(Q,oe){if(!d.test(oe)){delete N.attribs[oe];return}if(Q===""&&!m.allowedEmptyAttributes.includes(oe)&&(m.nonBooleanAttributes.includes(oe)||m.nonBooleanAttributes.includes("*"))){delete N.attribs[oe];return}let pe=!1;if(!P||u(P,B)&&P[B].indexOf(oe)!==-1||P["*"]&&P["*"].indexOf(oe)!==-1||u(A,B)&&A[B].test(oe)||A["*"]&&A["*"].test(oe))pe=!0;else if(P&&P[B]){for(const fe of P[B])if(r(fe)&&fe.name&&fe.name===oe){pe=!0;let G="";if(fe.multiple===!0){const L=Q.split(" ");for(const U of L)fe.values.indexOf(U)!==-1&&(G===""?G=U:G+=" "+U)}else fe.values.indexOf(Q)>=0&&(G=Q);Q=G}}if(pe){if(m.allowedSchemesAppliedToAttributes.indexOf(oe)!==-1&&H(B,Q)){delete N.attribs[oe];return}if(B==="script"&&oe==="src"){let fe=!0;try{const G=ae(Q);if(m.allowedScriptHostnames||m.allowedScriptDomains){const L=(m.allowedScriptHostnames||[]).find(function(le){return le===G.url.hostname}),U=(m.allowedScriptDomains||[]).find(function(le){return G.url.hostname===le||G.url.hostname.endsWith(`.${le}`)});fe=L||U}}catch{fe=!1}if(!fe){delete N.attribs[oe];return}}if(B==="iframe"&&oe==="src"){let fe=!0;try{const G=ae(Q);if(G.isRelativeUrl)fe=u(m,"allowIframeRelativeUrls")?m.allowIframeRelativeUrls:!m.allowedIframeHostnames&&!m.allowedIframeDomains;else if(m.allowedIframeHostnames||m.allowedIframeDomains){const L=(m.allowedIframeHostnames||[]).find(function(le){return le===G.url.hostname}),U=(m.allowedIframeDomains||[]).find(function(le){return G.url.hostname===le||G.url.hostname.endsWith(`.${le}`)});fe=L||U}}catch{fe=!1}if(!fe){delete N.attribs[oe];return}}if(oe==="srcset")try{let fe=o(Q);if(fe.forEach(function(G){H("srcset",G.url)&&(G.evil=!0)}),fe=c(fe,function(G){return!G.evil}),fe.length)Q=f(c(fe,function(G){return!G.evil})),N.attribs[oe]=Q;else{delete N.attribs[oe];return}}catch{delete N.attribs[oe];return}if(oe==="class"){const fe=V[B],G=V["*"],L=D[B],U=M[B],le=M["*"],me=D["*"],be=[L,me].concat(U,le).filter(function(Ie){return Ie});if(fe&&G?Q=Te(Q,n(fe,G),be):Q=Te(Q,fe||G,be),!Q.length){delete N.attribs[oe];return}}if(oe==="style"){if(m.parseStyleAttributes)try{const fe=s(B+" {"+Q+"}",{map:!1}),G=Ee(fe,m.allowedStyles);if(Q=Ce(G),Q.length===0){delete N.attribs[oe];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+B+" {"+Q+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete N.attribs[oe];return}else if(m.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}w+=" "+oe,Q&&Q.length?w+='="'+R(Q,!0)+'"':m.allowedEmptyAttributes.includes(oe)&&(w+='=""')}else delete N.attribs[oe]}),m.selfClosing.indexOf(B)!==-1?w+=" />":(w+=">",N.innerText&&!Z&&!m.textFilter&&(w+=R(N.innerText),W=!0)),j&&(w=S+R(w),S=""),N.openingTagLength=w.length-N.tagPosition},ontext:function(B){if(ve)return;const k=K[K.length-1];let N;if(k&&(N=k.tag,B=k.innerText!==void 0?k.innerText:B),m.disallowedTagsMode==="completelyDiscard"&&!E(N))B="";else if((m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&(N==="script"||N==="style"))w+=B;else if(!W){const j=R(B,!1);m.textFilter?w+=m.textFilter(j,N):w+=j}if(K.length){const j=K[K.length-1];j.text+=B}},onclosetag:function(B,k){if(m.onCloseTag&&m.onCloseTag(B,k),ve)if(ce--,!ce)ve=!1;else return;const N=K.pop();if(!N)return;if(N.tag!==B){K.push(N);return}ve=m.enforceHtmlBoundary?B==="html":!1,ue--;const j=he[ue];if(j){if(delete he[ue],m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){N.updateParentNodeText();return}S=w,w=""}if(ie[ue]&&(B=ie[ue],delete ie[ue]),m.exclusiveFilter){const Z=m.exclusiveFilter(N);if(Z==="excludeTag"){j&&(w=S,S=""),w=w.substring(0,N.tagPosition)+w.substring(N.tagPosition+N.openingTagLength);return}else if(Z){w=w.substring(0,N.tagPosition);return}}if(N.updateParentNodeMediaChildren(),N.updateParentNodeText(),m.selfClosing.indexOf(B)!==-1||k&&!E(B)&&["escape","recursiveEscape"].indexOf(m.disallowedTagsMode)>=0){j&&(w=S,S="");return}w+="",j&&(w=S+R(w),S=""),W=!1}},m.parser);return Y.write(p),Y.end(),w;function re(){w="",ue=0,K=[],he={},ie={},ve=!1,ce=0}function R(B,k){return typeof B!="string"&&(B=B+""),m.parser.decodeEntities&&(B=B.replace(/&/g,"&").replace(//g,">"),k&&(B=B.replace(/"/g,"""))),B=B.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),k&&(B=B.replace(/"/g,""")),B}function H(B,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const Z=k.indexOf("",Z+4);if(ne===-1)break;k=k.substring(0,Z)+k.substring(ne+3)}const N=k.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!N)return k.match(/^[/\\]{2}/)?!m.allowProtocolRelative:!1;const j=N[1].toLowerCase();return u(m.allowedSchemesByTag,B)?m.allowedSchemesByTag[B].indexOf(j)===-1:!m.allowedSchemes||m.allowedSchemes.indexOf(j)===-1}function ae(B){if(B=B.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),B.startsWith("relative:"))throw new Error("relative: exploit attempt");let k="relative://relative-site";for(let j=0;j<100;j++)k+=`/${j}`;const N=new URL(B,k);return{isRelativeUrl:N&&N.hostname==="relative-site"&&N.protocol==="relative:",url:N}}function Ee(B,k){if(!k)return B;const N=B.nodes[0];let j;return k[N.selector]&&k["*"]?j=n(k[N.selector],k["*"]):j=k[N.selector]||k["*"],j&&(B.nodes[0].nodes=N.nodes.reduce(Re(j),[])),B}function Ce(B){return B.nodes[0].nodes.reduce(function(k,N){return k.push(`${N.prop}:${N.value}${N.important?" !important":""}`),k},[]).join(";")}function Re(B){return function(k,N){return u(B,N.prop)&&B[N.prop].some(function(j){return j.test(N.value)})&&k.push(N),k}}function Te(B,k,N){return k?(B=B.split(/\s+/),B.filter(function(j){return k.indexOf(j)!==-1||N.some(function(Z){return Z.test(j)})}).join(" ")):B}}const v={decodeEntities:!0};return g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},g.simpleTransform=function(p,m,b){return b=b===void 0?!0:b,m=m||{},function(w,S){let _;if(b)for(_ in m)S[_]=m[_];else S=m;return{tagName:p,attribs:S}}},dp}var GP=HP();const fp=kl(GP),WP=["innerHTML"],pp=Oe({__name:"htmlRenderer",props:{layoutElement:{}},setup(e){const t=e,r=J(()=>fp(t.layoutElement.htmlData,{allowedTags:fp.defaults.allowedTags.concat("img","a","svg"),allowedAttributes:{...fp.defaults.allowedAttributes,"*":["style","class","aria-*"]}}));return(n,o)=>(ee(),_e("span",{innerHTML:r.value,class:"vjf_htmlRenderer"},null,8,WP))}});function KP(e,t,r={}){let n,o,s,i=!0;const a=()=>{i=!0,s()};mt(e,a,{flush:"sync",...r});const l=typeof t=="function"?t:t.get,u=typeof t=="function"?void 0:t.set,c=sd((h,f)=>(o=h,s=f,{get(){return i&&(n=l(n),i=!1),o(),n},set(d){u?.(d)}}));return c.trigger=a,c}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Kb=()=>{};function JP(e,t){function r(...n){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(s)})}return r}const ZP=e=>e();function YP(e,t={}){let r,n,o=Kb;const s=a=>{clearTimeout(a),o(),o=Kb};let i;return a=>{const l=st(e),u=st(t.maxWait);return r&&s(r),l<=0||u!==void 0&&u<=0?(n&&(s(n),n=void 0),Promise.resolve(a())):new Promise((c,h)=>{o=t.rejectOnCancel?h:c,i=a,u&&!n&&(n=setTimeout(()=>{r&&s(r),n=void 0,c(i())},u)),r=setTimeout(()=>{n&&s(n),n=void 0,c(a())},l)})}}function XP(e,t,r={}){const{eventFilter:n=ZP,...o}=r;return mt(e,JP(n,t),o)}function QP(e,t,r={}){const{debounce:n=0,maxWait:o=void 0,...s}=r;return XP(e,t,{...s,eventFilter:YP(n,{maxWait:o})})}/**! +`)});const E=v.nonTextTags||["script","style","textarea","option"];let $,C;v.allowedAttributes&&($={},C={},u(v.allowedAttributes,function(I,T){$[T]=[];const O=[];I.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?O.push(t(N).replace(/\\\*/g,".*")):$[T].push(N)}),O.length&&(C[T]=new RegExp("^("+O.join("|")+")$"))}));const P={},A={},k={};u(v.allowedClasses,function(I,T){if($&&(l($,T)||($[T]=[]),$[T].push("class")),P[T]=I,Array.isArray(I)){const O=[];P[T]=[],k[T]=[],I.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?O.push(t(N).replace(/\\\*/g,".*")):N instanceof RegExp?k[T].push(N):P[T].push(N)}),O.length&&(A[T]=new RegExp("^("+O.join("|")+")$"))}});const D={};let U;u(v.transformTags,function(I,T){let O;typeof I=="function"?O=I:typeof I=="string"&&(O=m.simpleTransform(I)),T==="*"?U=O:D[T]=O});let q,ee,Z,Q,ae,W,j=!1;B();const K=new e.Parser({onopentag:function(I,T){if(v.onOpenTag&&v.onOpenTag(I,T),v.enforceHtmlBoundary&&I==="html"&&B(),ae){W++;return}const O=new w(I,T);ee.push(O);let N=!1;const F=!!O.text;let z;if(l(D,I)&&(z=D[I](I,T),O.attribs=T=z.attribs,z.text!==void 0&&(O.innerText=z.text),I!==z.tagName&&(O.name=I=z.tagName,Q[q]=z.tagName)),U&&(z=U(I,T),O.attribs=T=z.attribs,I!==z.tagName&&(O.name=I=z.tagName,Q[q]=z.tagName)),(!S(I)||v.disallowedTagsMode==="recursiveEscape"&&!h(Z)||v.nestingLimit!=null&&q>=v.nestingLimit)&&(N=!0,Z[q]=!0,(v.disallowedTagsMode==="discard"||v.disallowedTagsMode==="completelyDiscard")&&E.indexOf(I)!==-1&&(ae=!0,W=1)),q++,N){if(v.disallowedTagsMode==="discard"||v.disallowedTagsMode==="completelyDiscard"){if(O.innerText&&!F){const H=R(O.innerText);v.textFilter?b+=v.textFilter(H,I):b+=H,j=!0}return}_=b,b=""}b+="<"+I,I==="script"&&(v.allowedScriptHostnames||v.allowedScriptDomains)&&(O.innerText=""),N&&(v.disallowedTagsMode==="escape"||v.disallowedTagsMode==="recursiveEscape")&&v.preserveEscapedAttributes?u(T,function(H,G){b+=" "+G+'="'+R(H||"",!0)+'"'}):(!$||l($,I)||$["*"])&&u(T,function(H,G){if(!f.test(G)){delete O.attribs[G];return}if(H===""&&!v.allowedEmptyAttributes.includes(G)&&(v.nonBooleanAttributes.includes(G)||v.nonBooleanAttributes.includes("*"))){delete O.attribs[G];return}let te=!1;if(!$||l($,I)&&$[I].indexOf(G)!==-1||$["*"]&&$["*"].indexOf(G)!==-1||l(C,I)&&C[I].test(G)||C["*"]&&C["*"].test(G))te=!0;else if($&&$[I]){for(const se of $[I])if(r(se)&&se.name&&se.name===G){te=!0;let ne="";if(se.multiple===!0){const me=H.split(" ");for(const ye of me)se.values.indexOf(ye)!==-1&&(ne===""?ne=ye:ne+=" "+ye)}else se.values.indexOf(H)>=0&&(ne=H);H=ne}}if(te){if(v.allowedSchemesAppliedToAttributes.indexOf(G)!==-1&&M(I,H)){delete O.attribs[G];return}if(I==="script"&&G==="src"){let se=!0;try{const ne=Y(H);if(v.allowedScriptHostnames||v.allowedScriptDomains){const me=(v.allowedScriptHostnames||[]).find(function(_e){return _e===ne.url.hostname}),ye=(v.allowedScriptDomains||[]).find(function(_e){return ne.url.hostname===_e||ne.url.hostname.endsWith(`.${_e}`)});se=me||ye}}catch{se=!1}if(!se){delete O.attribs[G];return}}if(I==="iframe"&&G==="src"){let se=!0;try{const ne=Y(H);if(ne.isRelativeUrl)se=l(v,"allowIframeRelativeUrls")?v.allowIframeRelativeUrls:!v.allowedIframeHostnames&&!v.allowedIframeDomains;else if(v.allowedIframeHostnames||v.allowedIframeDomains){const me=(v.allowedIframeHostnames||[]).find(function(_e){return _e===ne.url.hostname}),ye=(v.allowedIframeDomains||[]).find(function(_e){return ne.url.hostname===_e||ne.url.hostname.endsWith(`.${_e}`)});se=me||ye}}catch{se=!1}if(!se){delete O.attribs[G];return}}if(G==="srcset")try{let se=i(H);if(se.forEach(function(ne){M("srcset",ne.url)&&(ne.evil=!0)}),se=c(se,function(ne){return!ne.evil}),se.length)H=d(c(se,function(ne){return!ne.evil})),O.attribs[G]=H;else{delete O.attribs[G];return}}catch{delete O.attribs[G];return}if(G==="class"){const se=P[I],ne=P["*"],me=A[I],ye=k[I],_e=k["*"],Je=A["*"],Ue=[me,Je].concat(ye,_e).filter(function(wt){return wt});if(se&&ne?H=be(H,n(se,ne),Ue):H=be(H,se||ne,Ue),!H.length){delete O.attribs[G];return}}if(G==="style"){if(v.parseStyleAttributes)try{const se=s(I+" {"+H+"}",{map:!1}),ne=fe(se,v.allowedStyles);if(H=pe(ne),H.length===0){delete O.attribs[G];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+I+" {"+H+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete O.attribs[G];return}else if(v.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}b+=" "+G,H&&H.length?b+='="'+R(H,!0)+'"':v.allowedEmptyAttributes.includes(G)&&(b+='=""')}else delete O.attribs[G]}),v.selfClosing.indexOf(I)!==-1?b+=" />":(b+=">",O.innerText&&!F&&!v.textFilter&&(b+=R(O.innerText),j=!0)),N&&(b=_+R(b),_=""),O.openingTagLength=b.length-O.tagPosition},ontext:function(I){if(ae)return;const T=ee[ee.length-1];let O;if(T&&(O=T.tag,I=T.innerText!==void 0?T.innerText:I),v.disallowedTagsMode==="completelyDiscard"&&!S(O))I="";else if((v.disallowedTagsMode==="discard"||v.disallowedTagsMode==="completelyDiscard")&&(O==="script"||O==="style"))b+=I;else if(!j){const N=R(I,!1);v.textFilter?b+=v.textFilter(N,O):b+=N}if(ee.length){const N=ee[ee.length-1];N.text+=I}},onclosetag:function(I,T){if(v.onCloseTag&&v.onCloseTag(I,T),ae)if(W--,!W)ae=!1;else return;const O=ee.pop();if(!O)return;if(O.tag!==I){ee.push(O);return}ae=v.enforceHtmlBoundary?I==="html":!1,q--;const N=Z[q];if(N){if(delete Z[q],v.disallowedTagsMode==="discard"||v.disallowedTagsMode==="completelyDiscard"){O.updateParentNodeText();return}_=b,b=""}if(Q[q]&&(I=Q[q],delete Q[q]),v.exclusiveFilter){const F=v.exclusiveFilter(O);if(F==="excludeTag"){N&&(b=_,_=""),b=b.substring(0,O.tagPosition)+b.substring(O.tagPosition+O.openingTagLength);return}else if(F){b=b.substring(0,O.tagPosition);return}}if(O.updateParentNodeMediaChildren(),O.updateParentNodeText(),v.selfClosing.indexOf(I)!==-1||T&&!S(I)&&["escape","recursiveEscape"].indexOf(v.disallowedTagsMode)>=0){N&&(b=_,_="");return}b+="",N&&(b=_+R(b),_=""),j=!1}},v.parser);return K.write(p),K.end(),b;function B(){b="",q=0,ee=[],Z={},Q={},ae=!1,W=0}function R(I,T){return typeof I!="string"&&(I=I+""),v.parser.decodeEntities&&(I=I.replace(/&/g,"&").replace(//g,">"),T&&(I=I.replace(/"/g,"""))),I=I.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),T&&(I=I.replace(/"/g,""")),I}function M(I,T){for(T=T.replace(/[\x00-\x20]+/g,"");;){const F=T.indexOf("",F+4);if(z===-1)break;T=T.substring(0,F)+T.substring(z+3)}const O=T.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!O)return T.match(/^[/\\]{2}/)?!v.allowProtocolRelative:!1;const N=O[1].toLowerCase();return l(v.allowedSchemesByTag,I)?v.allowedSchemesByTag[I].indexOf(N)===-1:!v.allowedSchemes||v.allowedSchemes.indexOf(N)===-1}function Y(I){if(I=I.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),I.startsWith("relative:"))throw new Error("relative: exploit attempt");let T="relative://relative-site";for(let F=0;F<100;F++)T+=`/${F}`;const O=new URL(I,T);return{isRelativeUrl:O&&O.hostname==="relative-site"&&O.protocol==="relative:",url:O}}function fe(I,T){if(!T)return I;const O=I.nodes[0];let N;return T[O.selector]&&T["*"]?N=n(T[O.selector],T["*"]):N=T[O.selector]||T["*"],N&&(I.nodes[0].nodes=O.nodes.reduce(Me(N),[])),I}function pe(I){return I.nodes[0].nodes.reduce(function(T,O){return T.push(`${O.prop}:${O.value}${O.important?" !important":""}`),T},[]).join(";")}function Me(I){return function(T,O){return l(I,O.prop)&&I[O.prop].some(function(F){return F.test(O.value)})&&T.push(O),T}}function be(I,T,O){return T?(I=I.split(/\s+/),I.filter(function(N){return T.indexOf(N)!==-1||O.some(function(F){return F.test(N)})}).join(" ")):I}}const y={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},m.simpleTransform=function(p,v,g){return g=g===void 0?!0:g,v=v||{},function(b,_){let w;if(g)for(w in v)_[w]=v[w];else _=v;return{tagName:p,attribs:_}}},ch}var R8=k8();const fh=hs(R8);typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zw=()=>{};function I8(e,t){function r(...n){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(s)})}return r}const D8=e=>e();function M8(e,t={}){let r,n,i=zw;const s=u=>{clearTimeout(u),i(),i=zw};let a;return u=>{const l=ze(e),c=ze(t.maxWait);return r&&s(r),l<=0||c!==void 0&&c<=0?(n&&(s(n),n=void 0),Promise.resolve(u())):new Promise((h,d)=>{i=t.rejectOnCancel?d:h,a=u,c&&!n&&(n=setTimeout(()=>{r&&s(r),n=void 0,h(a())},c)),r=setTimeout(()=>{n&&s(n),n=void 0,h(u())},l)})}}function B8(e,t,r={}){const{eventFilter:n=D8,...i}=r;return et(e,I8(n,t),i)}function j8(e,t,r={}){const{debounce:n=0,maxWait:i=void 0,...s}=r;return B8(e,t,{...s,eventFilter:M8(n,{maxWait:i})})}/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT - */function Jb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $n(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function rN(e,t){if(e==null)return{};var r=tN(e,t),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var nN="1.14.0";function Xn(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Qn=Xn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Zi=Xn(/Edge/i),Zb=Xn(/firefox/i),Yi=Xn(/safari/i)&&!Xn(/chrome/i)&&!Xn(/android/i),Yb=Xn(/iP(ad|od|hone)/i),oN=Xn(/chrome/i)&&Xn(/android/i),Xb={capture:!1,passive:!1};function pt(e,t,r){e.addEventListener(t,r,!Qn&&Xb)}function lt(e,t,r){e.removeEventListener(t,r,!Qn&&Xb)}function Hl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function sN(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Cn(e,t,r,n){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&Hl(e,t):Hl(e,t))||n&&e===r)return e;if(e===r)break}while(e=sN(e))}return null}var Qb=/\s+/g;function Nr(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var n=(" "+e.className+" ").replace(Qb," ").replace(" "+t+" "," ");e.className=(n+(r?" "+t:"")).replace(Qb," ")}}function Fe(e,t,r){var n=e&&e.style;if(n){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=r+(typeof r=="string"?"":"px")}}function As(e,t){var r="";if(typeof e=="string")r=e;else do{var n=Fe(e,"transform");n&&n!=="none"&&(r=n+" "+r)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(r)}function ew(e,t,r){if(e){var n=e.getElementsByTagName(t),o=0,s=n.length;if(r)for(;o=s,!i)return n;if(n===Tn())break;n=Eo(n,!1)}return!1}function Ps(e,t,r,n){for(var o=0,s=0,i=e.children;s2&&arguments[2]!==void 0?arguments[2]:{},n=r.evt,o=rN(r,pN);Qi.pluginEvent.bind(Ue)(e,t,$n({dragEl:Se,parentEl:At,ghostEl:Ze,rootEl:Ot,nextEl:qo,lastDownEl:Gl,cloneEl:Pt,cloneHidden:xo,dragStarted:ta,putSortable:Yt,activeSortable:Ue.active,originalEvent:n,oldIndex:Is,oldDraggableIndex:ea,newIndex:Dr,newDraggableIndex:Oo,hideGhostForTarget:fw,unhideGhostForTarget:pw,cloneNowHidden:function(){xo=!0},cloneNowShown:function(){xo=!1},dispatchSortableEvent:function(s){mr({sortable:t,name:s,originalEvent:n})}},o))};function mr(e){fN($n({putSortable:Yt,cloneEl:Pt,targetEl:Se,rootEl:Ot,oldIndex:Is,oldDraggableIndex:ea,newIndex:Dr,newDraggableIndex:Oo},e))}var Se,At,Ze,Ot,qo,Gl,Pt,xo,Is,Dr,ea,Oo,Wl,Yt,Ds=!1,Kl=!1,Jl=[],zo,tn,yp,vp,iw,aw,ta,js,ra,na=!1,Zl=!1,Yl,sr,bp=[],wp=!1,Xl=[],Ql=typeof document<"u",eu=Yb,lw=Zi||Qn?"cssFloat":"float",hN=Ql&&!oN&&!Yb&&"draggable"in document.createElement("div"),uw=function(){if(Ql){if(Qn)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),cw=function(e,t){var r=Fe(e),n=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Ps(e,0,t),s=Ps(e,1,t),i=o&&Fe(o),a=s&&Fe(s),l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Vt(o).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Vt(s).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&i.float&&i.float!=="none"){var c=i.float==="left"?"left":"right";return s&&(a.clear==="both"||a.clear===c)?"vertical":"horizontal"}return o&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||l>=n&&r[lw]==="none"||s&&r[lw]==="none"&&l+u>n)?"vertical":"horizontal"},mN=function(e,t,r){var n=r?e.left:e.top,o=r?e.right:e.bottom,s=r?e.width:e.height,i=r?t.left:t.top,a=r?t.right:t.bottom,l=r?t.width:t.height;return n===i||o===a||n+s/2===i+l/2},gN=function(e,t){var r;return Jl.some(function(n){var o=n[Ir].options.emptyInsertThreshold;if(!(!o||hp(n))){var s=Vt(n),i=e>=s.left-o&&e<=s.right+o,a=t>=s.top-o&&t<=s.bottom+o;if(i&&a)return r=n}}),r},dw=function(e){function t(o,s){return function(i,a,l,u){var c=i.options.group.name&&a.options.group.name&&i.options.group.name===a.options.group.name;if(o==null&&(s||c))return!0;if(o==null||o===!1)return!1;if(s&&o==="clone")return o;if(typeof o=="function")return t(o(i,a,l,u),s)(i,a,l,u);var h=(s?i:a).options.group.name;return o===!0||typeof o=="string"&&o===h||o.join&&o.indexOf(h)>-1}}var r={},n=e.group;(!n||zl(n)!="object")&&(n={name:n}),r.name=n.name,r.checkPull=t(n.pull,!0),r.checkPut=t(n.put),r.revertClone=n.revertClone,e.group=r},fw=function(){!uw&&Ze&&Fe(Ze,"display","none")},pw=function(){!uw&&Ze&&Fe(Ze,"display","")};Ql&&document.addEventListener("click",function(e){if(Kl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Kl=!1,!1},!0);var Ho=function(e){if(Se){e=e.touches?e.touches[0]:e;var t=gN(e.clientX,e.clientY);if(t){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[Ir]._onDragOver(r)}}},yN=function(e){Se&&Se.parentNode[Ir]._isOutsideThisEl(e.target)};function Ue(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Yn({},t),e[Ir]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return cw(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,i){s.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ue.supportPointer!==!1&&"PointerEvent"in window&&!Yi,emptyInsertThreshold:5};Qi.initializePlugins(this,e,r);for(var n in r)!(n in t)&&(t[n]=r[n]);dw(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:hN,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?pt(e,"pointerdown",this._onTapStart):(pt(e,"mousedown",this._onTapStart),pt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(pt(e,"dragover",this),pt(e,"dragenter",this)),Jl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Yn(this,uN())}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(js=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,Se):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,r=this.el,n=this.options,o=n.preventOnFilter,s=e.type,i=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,a=(i||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,u=n.filter;if(ON(r),!Se&&!(/mousedown|pointerdown/.test(s)&&e.button!==0||n.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Yi&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=Cn(a,n.draggable,r,!1),!(a&&a.animated)&&Gl!==a)){if(Is=Lr(a),ea=Lr(a,n.draggable),typeof u=="function"){if(u.call(this,e,a,this)){mr({sortable:t,rootEl:l,name:"filter",targetEl:a,toEl:r,fromEl:r}),wr("filter",t,{evt:e}),o&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(c){if(c=Cn(l,c.trim(),r,!1),c)return mr({sortable:t,rootEl:c,name:"filter",targetEl:a,fromEl:r,toEl:r}),wr("filter",t,{evt:e}),!0}),u)){o&&e.cancelable&&e.preventDefault();return}n.handle&&!Cn(l,n.handle,r,!1)||this._prepareDragStart(e,i,a)}}},_prepareDragStart:function(e,t,r){var n=this,o=n.el,s=n.options,i=o.ownerDocument,a;if(r&&!Se&&r.parentNode===o){var l=Vt(r);if(Ot=o,Se=r,At=Se.parentNode,qo=Se.nextSibling,Gl=r,Wl=s.group,Ue.dragged=Se,zo={target:Se,clientX:(t||e).clientX,clientY:(t||e).clientY},iw=zo.clientX-l.left,aw=zo.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Se.style["will-change"]="all",a=function(){if(wr("delayEnded",n,{evt:e}),Ue.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Zb&&n.nativeDraggable&&(Se.draggable=!0),n._triggerDragStart(e,t),mr({sortable:n,name:"choose",originalEvent:e}),Nr(Se,s.chosenClass,!0)},s.ignore.split(",").forEach(function(u){ew(Se,u.trim(),_p)}),pt(i,"dragover",Ho),pt(i,"mousemove",Ho),pt(i,"touchmove",Ho),pt(i,"mouseup",n._onDrop),pt(i,"touchend",n._onDrop),pt(i,"touchcancel",n._onDrop),Zb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Se.draggable=!0),wr("delayStart",this,{evt:e}),s.delay&&(!s.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Zi||Qn))){if(Ue.eventCanceled){this._onDrop();return}pt(i,"mouseup",n._disableDelayedDrag),pt(i,"touchend",n._disableDelayedDrag),pt(i,"touchcancel",n._disableDelayedDrag),pt(i,"mousemove",n._delayedDragTouchMoveHandler),pt(i,"touchmove",n._delayedDragTouchMoveHandler),s.supportPointer&&pt(i,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(a,s.delay)}else a()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Se&&_p(Se),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;lt(e,"mouseup",this._disableDelayedDrag),lt(e,"touchend",this._disableDelayedDrag),lt(e,"touchcancel",this._disableDelayedDrag),lt(e,"mousemove",this._delayedDragTouchMoveHandler),lt(e,"touchmove",this._delayedDragTouchMoveHandler),lt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?pt(document,"pointermove",this._onTouchMove):t?pt(document,"touchmove",this._onTouchMove):pt(document,"mousemove",this._onTouchMove):(pt(Se,"dragend",this),pt(Ot,"dragstart",this._onDragStart));try{document.selection?ru(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Ds=!1,Ot&&Se){wr("dragStarted",this,{evt:t}),this.nativeDraggable&&pt(document,"dragover",yN);var r=this.options;!e&&Nr(Se,r.dragClass,!1),Nr(Se,r.ghostClass,!0),Ue.active=this,e&&this._appendGhost(),mr({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(tn){this._lastX=tn.clientX,this._lastY=tn.clientY,fw();for(var e=document.elementFromPoint(tn.clientX,tn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(tn.clientX,tn.clientY),e!==t);)t=e;if(Se.parentNode[Ir]._isOutsideThisEl(e),t)do{if(t[Ir]){var r=void 0;if(r=t[Ir]._onDragOver({clientX:tn.clientX,clientY:tn.clientY,target:e,rootEl:t}),r&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);pw()}},_onTouchMove:function(e){if(zo){var t=this.options,r=t.fallbackTolerance,n=t.fallbackOffset,o=e.touches?e.touches[0]:e,s=Ze&&As(Ze,!0),i=Ze&&s&&s.a,a=Ze&&s&&s.d,l=eu&&sr&&rw(sr),u=(o.clientX-zo.clientX+n.x)/(i||1)+(l?l[0]-bp[0]:0)/(i||1),c=(o.clientY-zo.clientY+n.y)/(a||1)+(l?l[1]-bp[1]:0)/(a||1);if(!Ue.active&&!Ds){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(mr({rootEl:At,name:"add",toEl:At,fromEl:Ot,originalEvent:e}),mr({sortable:this,name:"remove",toEl:At,originalEvent:e}),mr({rootEl:At,name:"sort",toEl:At,fromEl:Ot,originalEvent:e}),mr({sortable:this,name:"sort",toEl:At,originalEvent:e})),Yt&&Yt.save()):Dr!==Is&&Dr>=0&&(mr({sortable:this,name:"update",toEl:At,originalEvent:e}),mr({sortable:this,name:"sort",toEl:At,originalEvent:e})),Ue.active&&((Dr==null||Dr===-1)&&(Dr=Is,Oo=ea),mr({sortable:this,name:"end",toEl:At,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){wr("nulling",this),Ot=Se=At=Ze=qo=Pt=Gl=xo=zo=tn=ta=Dr=Oo=Is=ea=js=ra=Yt=Wl=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null,Xl.forEach(function(e){e.checked=!0}),Xl.length=yp=vp=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Se&&(this._onDragOver(e),vN(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,r=this.el.children,n=0,o=r.length,s=this.options;nn.right+o||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+o}function SN(e,t,r,n,o,s,i,a){var l=n?e.clientY:e.clientX,u=n?r.height:r.width,c=n?r.top:r.left,h=n?r.bottom:r.right,f=!1;if(!i){if(a&&Ylc+u*s/2:lh-Yl)return-ra}else if(l>c+u*(1-o)/2&&lh-u*s/2)?l>c+u/2?1:-1:0}function EN(e){return Lr(Se)e.replace(AN,(t,r)=>r.toUpperCase())),yw=["Start","Add","Remove","Update","End"],vw=["Choose","Unchoose","Sort","Filter","Clone"],bw=["Move"],NN=[bw,yw,vw].flatMap(e=>e).map(e=>`on${e}`),Pp={manage:bw,manageAndEmit:yw,emit:vw};function IN(e){return NN.indexOf(e)!==-1}const DN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function jN(e){return DN.includes(e)}function RN(e){return["transition-group","TransitionGroup"].includes(e)}function ww(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function _w(e){return e.reduce((t,[r,n])=>(t[r]=n,t),{})}function MN({$attrs:e,componentData:t={}}){return{..._w(Object.entries(e).filter(([r,n])=>ww(r))),...t}}function BN({$attrs:e,callBackBuilder:t}){const r=_w(Sw(e));Object.entries(t).forEach(([o,s])=>{Pp[o].forEach(i=>{r[`on${i}`]=s(i)})});const n=`[data-draggable]${r.draggable||""}`;return{...r,draggable:n}}function Sw(e){return Object.entries(e).filter(([t,r])=>!ww(t)).map(([t,r])=>[PN(t),r]).filter(([t,r])=>!IN(t))}const Ew=({el:e})=>e,VN=(e,t)=>e.__draggable_context=t,xw=e=>e.__draggable_context;class LN{constructor({nodes:{header:t,default:r,footer:n},root:o,realList:s}){this.defaultNodes=r,this.children=[...t,...r,...n],this.externalComponent=o.externalComponent,this.rootTransition=o.transition,this.tag=o.tag,this.realList=s}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(t,r){const{tag:n,children:o,_isRootComponent:s}=this;return t(n,r,s?{default:()=>o}:o)}updated(){const{defaultNodes:t,realList:r}=this;t.forEach((n,o)=>{VN(Ew(n),{element:r[o],index:o})})}getUnderlyingVm(t){return xw(t)}getVmIndexFromDomIndex(t,r){const{defaultNodes:n}=this,{length:o}=n,s=r.children,i=s.item(t);if(i===null)return o;const a=xw(i);if(a)return a.index;if(o===0)return 0;const l=Ew(n[0]),u=[...s].findIndex(c=>c===l);return tFN(e,l)),{item:i}=e;if(!i)throw new Error("draggable element must have an item slot");const a=n.flatMap((l,u)=>i({element:l,index:u}).map(c=>(c.key=r(l),c.props={...c.props||{},"data-draggable":!0},c)));if(a.length!==n.length)throw new Error("Item slot must have only one child");return{header:o,footer:s,default:a}}function qN(e){const t=RN(e),r=!jN(e)&&!t;return{transition:t,externalComponent:r,tag:r?WO(e):t?oC:e}}function zN({$slots:e,tag:t,realList:r,getKey:n}){const o=UN({$slots:e,realList:r,getKey:n}),s=qN(t);return new LN({nodes:o,root:s,realList:r})}function Ow(e,t){Ft(()=>this.$emit(e.toLowerCase(),t))}function $w(e){return(t,r)=>{if(this.realList!==null)return this[`onDrag${e}`](t,r)}}function HN(e){const t=$w.call(this,e);return(r,n)=>{t.call(this,r,n),Ow.call(this,e,r)}}let Np=null;const GN={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},WN=["update:modelValue","change",...[...Pp.manageAndEmit,...Pp.emit].map(e=>e.toLowerCase())],KN=Oe({name:"draggable",inheritAttrs:!1,props:GN,emits:WN,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:e,$attrs:t,tag:r,componentData:n,realList:o,getKey:s}=this,i=zN({$slots:e,tag:r,realList:o,getKey:s});this.componentStructure=i;const a=MN({$attrs:t,componentData:n});return i.render(Pi,a)}catch(e){return this.error=!0,Pi("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&TN.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:t,componentStructure:r}=this;r.updated();const n=BN({$attrs:e,callBackBuilder:{manageAndEmit:s=>HN.call(this,s),emit:s=>Ow.bind(this,s),manage:s=>$w.call(this,s)}}),o=t.nodeType===1?t:t.parentElement;this._sortable=new Ue(o,n),this.targetDomElement=o,o.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:t=>t[e]}},watch:{$attrs:{handler(e){const{_sortable:t}=this;t&&Sw(e).forEach(([r,n])=>{t.option(r,n)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent(e){return e.__draggable_component__},emitChanges(e){Ft(()=>this.$emit("change",e))},alterList(e){if(this.list){e(this.list);return}const t=[...this.modelValue];e(t),this.$emit("update:modelValue",t)},spliceList(){const e=t=>t.splice(...arguments);this.alterList(e)},updatePosition(e,t){const r=n=>n.splice(t,0,n.splice(e,1)[0]);this.alterList(r)},getRelatedContextFromMoveEvent({to:e,related:t}){const r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};const n=r.realList,o={list:n,component:r};return e!==t&&n?{...r.getUnderlyingVm(t)||{},...o}:o},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),Np=e.item},onDragAdd(e){const t=e.item._underlying_vm_;if(t===void 0)return;Ap(e.item);const r=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(r,0,t);const n={element:t,newIndex:r};this.emitChanges({added:n})},onDragRemove(e){if(gw(this.$el,e.item,e.oldIndex),e.pullMode==="clone"){Ap(e.clone);return}const{index:t,element:r}=this.context;this.spliceList(t,1);const n={element:r,oldIndex:t};this.emitChanges({removed:n})},onDragUpdate(e){Ap(e.item),gw(e.from,e.item,e.oldIndex);const t=this.context.index,r=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,r);const n={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:n})},computeFutureIndex(e,t){if(!e.element)return 0;const r=[...t.to.children].filter(s=>s.style.display!=="none"),n=r.indexOf(t.related),o=e.component.getVmIndexFromDomIndex(n);return r.indexOf(Np)!==-1||!t.willInsertAfter?o:o+1},onDragMove(e,t){const{move:r,realList:n}=this;if(!r||!n)return!0;const o=this.getRelatedContextFromMoveEvent(e),s=this.computeFutureIndex(o,e),i={...this.context,futureIndex:s},a={...e,relatedContext:o,draggedContext:i};return r(a,t)},onDragEnd(){Np=null}}}),JN={},ZN={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function YN(e,t){return ee(),_e("svg",ZN,[...t[0]||(t[0]=[Ne("path",{fill:"currentColor",d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8L4.646 5.354a.5.5 0 0 1 0-.708"},null,-1)])])}const XN=Gn(JN,[["render",YN],["__scopeId","data-v-8898cb0d"]]),QN={},eI={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function tI(e,t){return ee(),_e("svg",eI,[...t[0]||(t[0]=[Ne("path",{fill:"currentColor",d:"M7 2a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0M7 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0M7 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-3 3a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-3 3a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0"},null,-1)])])}const rI=Gn(QN,[["render",tI],["__scopeId","data-v-451bf0ec"]]),nI=["id"],oI={class:"handle"},sI=Oe({__name:"ArrayItem",props:{scope:{},index:{},itemID:{},baseSavePath:{},allowRemove:{type:Boolean},uiSchema:{}},emits:["delete"],setup(e,{emit:t}){const r=e,n=r.baseSavePath+"."+r.itemID;Wt(Al,n);const o=J(()=>{const a=r.uiSchema||{type:"Control",scope:"",options:{label:!1}};return a.scope=r.scope+"."+r.itemID,a}),s=t,i=kt("ArrayButton");return(a,l)=>(ee(),_e("div",{class:"vjf_arrayItem",id:e.itemID},[je(Cw,{"layout-element":o.value,"in-array-item":""},{prepend:xe(()=>[Ne("div",oI,[je(rI)])]),append:xe(()=>[je(C(i),{variant:"outline-danger",onClick:l[0]||(l[0]=u=>s("delete",e.itemID,n)),disabled:!e.allowRemove,"aria-label":"Delete Item"},{default:xe(()=>[je(XN)]),_:1},8,["disabled"])]),_:1},8,["layout-element"])],8,nI))}}),iI=Gn(sI,[["__scopeId","data-v-d5110738"]]),aI={},lI={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function uI(e,t){return ee(),_e("svg",lI,[...t[0]||(t[0]=[Ne("path",{fill:"currentColor",d:"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4"},null,-1)])])}const cI=Gn(aI,[["render",uI],["__scopeId","data-v-9a59b4f7"]]),dI={class:"vjf_label_wrapper"},fI=["for"],pI={class:"large-label"},hI={class:"vjf_array-help-icon-wrapper"},mI={key:0},gI=["id"],yI={key:0},vI=Oe({__name:"ArrayControl",setup(e){const t=kt("ErrorViewer"),r=kt("HelpPopover"),n=kt("ArrayButton"),{formData:o}=jt(Ar()),{jsonSchema:s,arrays:i}=jt(Zr()),{jsonElement:a,layoutElement:l,savePath:u}=Pr(),c=Yr(u);function h(S=!1,_){const E=Hi+wf();if(!s.value)throw new Error("jsonSchema is unexpectedly undefined");if(!Of(u))throw new Error("savePath must be provided");o.value[u].push(E),o.value[`${u}.${E}`]=_??"",S||Ft().then(()=>{const O=document.getElementById(c.value)?.querySelectorAll(".list-group > *");O&&O[O.length-1]?.querySelector("input")?.focus()})}const f=Il(l),d=Me(!1),g=Me({animation:200,group:`array-${f.value}`,disabled:!1,ghostClass:"ghost"});function v(S,_){const E=o.value[u].indexOf(S);E>-1?o.value[u].splice(E,1):console.warn("Could not find item with id",S,"in",o.value[u]),delete o.value[_]}function p(){if(!o.value[u])o.value[u]=[];else if(lP(o.value[u])){const S=o.value[u];o.value[u]=[];for(const _ of S)h(!0,_)}i.value.push(u);for(let S=o.value[u].length;S<(a.value.minItems||0);S++)h(!0);l.value.options?.maxFileSize&&d0(l.value.scope+"/items",{options:{maxFileSize:l.value.options.maxFileSize}})}mt(()=>o.value[u],()=>{o.value[u]||p()});const m=J(()=>o.value[u].length<(a.value.maxItems||Number.MAX_VALUE)),b=J(()=>o.value[u].length>(a.value.minItems||0)),w=J(()=>Gi(l.value.scope.split(".").pop()||""));return pd(p),(S,_)=>(ee(),_e("div",null,[Ne("div",dI,[w.value?Le("",!0):Bn((ee(),_e("label",{key:0,for:C(c)},[Ne("span",pI,Ae(C(f)),1)],8,fI)),[[ms,C(hr)(C(l),"label",!0)]]),Ne("div",hI,[je(C(r))])]),C(a).description?(ee(),_e("p",mI,Ae(C(a).description),1)):Le("",!0),typeof C(a).items=="object"&&"type"in C(a).items?(ee(),_e("div",{key:1,class:"vjf_array",id:C(c)},[je(C(KN),ft({class:"list-group",modelValue:C(o)[C(u)],"onUpdate:modelValue":_[0]||(_[0]=E=>C(o)[C(u)]=E),handle:".handle",itemKey:E=>E,key:"draggable",onStart:_[1]||(_[1]=E=>d.value=!0),onEnd:_[2]||(_[2]=E=>d.value=!1)},g.value,{componentData:{tag:"div",type:"transition-group",name:d.value?null:"flip-list"}}),{item:xe(({element:E,index:O})=>[(ee(),_e("div",{key:E},[je(iI,{scope:C(l).scope,baseSavePath:C(u),index:O,itemID:E,onDelete:v,allowRemove:b.value},null,8,["scope","baseSavePath","index","itemID","allowRemove"])]))]),_:1},16,["modelValue","itemKey","componentData"]),je(C(n),{variant:"outline-primary",class:"w-100",onClick:_[3]||(_[3]=()=>h()),disabled:!m.value,"aria-label":"Add Item"},{default:xe(()=>[C(hr)(C(l),"addButtonText")?(ee(),_e("span",yI,Ae(C(hr)(C(l),"addButtonText")),1)):(ee(),ye(cI,{key:1}))]),_:1},8,["disabled"])],8,gI)):(ee(),ye(C(t),{key:2,header:"Error",id:C(c)},{default:xe(()=>[..._[4]||(_[4]=[We(" The type of the array's items is missing in the schema ",-1)])]),_:1},8,["id"]))]))}}),bI={key:1},Cw=Oe({__name:"Control",props:{layoutElement:{},inArrayItem:{type:Boolean}},setup(e){const{jsonSchema:t,mappers:r,uiSchema:n}=jt(Zr()),o=kt("FormFieldWrapper"),s=kt("ErrorViewer"),i=e,a=Nl(i.layoutElement.scope),{formData:l,defaultFormData:u,cleanedFormData:c}=jt(Ar()),h=Me(!1);WA(i.layoutElement.options?.descendantControlOverrides);const f=Tt(zi),d=Tt(Al,void 0)||i.layoutElement.scope,g=Me([]),v=KP([()=>a.value,()=>i.layoutElement],()=>{let A=a.value||{},V=i.layoutElement;for(const D of g.value){let M;S0(D)?M=D.map(A||{},V):M=D.map(A||{},V,l.value),M?(A=M.jsonElement,V=M.uiElement):console.warn("Mapper failed",D)}return V=vf(V,f),{jsonElement:A,uiElement:V}});Fn(()=>{if(!a.value||!i.layoutElement||!t.value||!n.value)return;const A=new Set;g.value=r.value.map(V=>new V);for(const V of g.value)if(!S0(V)){V.registerSchemata(t.value,n.value,i.layoutElement.scope,d);for(const D of V.getDependencies())A.has(D)||(A.add(D),QP(()=>l.value[D],()=>{v.trigger()},{debounce:50,deep:!1}))}v.trigger()});const p=J(()=>{const A={},V=v.value.uiElement;return V.options?.preHtml&&(A.pre={type:"HTML",htmlData:V.options.preHtml}),V.options?.postHtml&&(A.post={type:"HTML",htmlData:V.options.postHtml}),A}),m=J(()=>v.value.uiElement),b=v0(m);let w=v.value.uiElement.options?.hidden?"hiddenControl":"";const S=J(()=>{if(i.layoutElement.options&&"textAlign"in i.layoutElement.options&&i.layoutElement.options.textAlign)return`text-align: ${i.layoutElement.options.textAlign}`}),_=Wi(v.value.uiElement,"vjf_control mb-3",w);Wt(l0,v),Wt(u0,d),Wt(Al,void 0);const E=Yr(d),O=Il(m),P=J(()=>{if(v.value.jsonElement?.enum!==void 0&&v.value.jsonElement.type!=="array")return hr(v.value.uiElement,"displayAs")==="radiobuttons"||hr(v.value.uiElement,"displayAs")==="buttons"?kt("RadiobuttonControl"):kt("SelectControl");if(typeof v.value.jsonElement?.items=="object"&&"enum"in v.value.jsonElement.items&&v.value.jsonElement.type==="array")return kt("CheckboxGroupControl");if(v.value.jsonElement?.type==="array"&&Fo(v.value.uiElement,"tags")&&v.value.uiElement.options?.tags?.enabled)return kt("TagsControl");if(v.value.jsonElement?.type==="string"&&v.value.jsonElement.format==="uri"||v.value.jsonElement?.type==="array"&&xf(v.value.jsonElement)&&v.value.jsonElement.items.type==="string"&&v.value.jsonElement.items.format==="uri"&&v.value.uiElement.options?.displayAsSingleUploadField)return kt("FileControl");switch(v.value.jsonElement?.type){case"boolean":return kt("CheckboxControl");case"number":case"integer":return kt("NumberControl");case"object":return kt("ObjectControl");case"string":return kt("StringControl");case"array":return vI;default:return kt("DefaultControl")}});return mt(a,()=>{a.value===void 0&&(h.value=i.layoutElement.scope)}),Fn(()=>{l.value[d]=u.value[d]??l.value[d]}),xi(()=>{l.value[d]=void 0}),(A,V)=>h.value?(ee(),_e("div",bI,[je(C(s),{header:"Error"},{default:xe(()=>[We(" Invalid Json Pointer: "+Ae(h.value),1)]),_:1})])):(ee(),_e("div",{key:0,class:He(C(_))},[p.value.pre?(ee(),ye(pp,{key:0,"layout-element":p.value.pre},null,8,["layout-element"])):Le("",!0),(ee(),ye(dt(C(o)),{label:C(O),"label-for":C(E)},KO({default:xe(()=>[(ee(),ye(dt(P.value),{name:C(v).uiElement.scope,disabled:C(v).uiElement.options?.disabled,placeholder:C(v).uiElement.options?.placeholder,autocomplete:C(hr)(C(v).uiElement,"autocomplete","on"),required:C(b)||e.inArrayItem,style:so(S.value),"aria-label":e.inArrayItem?"List item":void 0},null,8,["name","disabled","placeholder","autocomplete","required","style","aria-label"]))]),_:2},[A.$slots.prepend?{name:"prepend",fn:xe(()=>[$e(A.$slots,"prepend")]),key:"0"}:void 0,A.$slots.append?{name:"append",fn:xe(()=>[$e(A.$slots,"append")]),key:"1"}:void 0]),1032,["label","label-for"])),p.value.post?(ee(),ye(pp,{key:1,"layout-element":p.value.post},null,8,["layout-element"])):Le("",!0)],2))}}),wI={};function _I(e,t){return ee(),_e("hr")}const SI=Gn(wI,[["render",_I]]),Tw=Oe({__name:"VerticalLayout",props:{layoutElement:{}},setup(e){const t=e,r=Wi(t.layoutElement,"vjf_verticalLayout"),n=J(()=>b0(t.layoutElement)?p0(t.layoutElement.elements):[]);return(o,s)=>(ee(),_e("div",{class:He(C(r))},[(ee(!0),_e(Je,null,Gt(n.value,i=>(ee(),ye(fa,{"layout-element":i,key:i.uuid},null,8,["layout-element"]))),128))],2))}}),EI={key:0},xI=Oe({__name:"Group",props:{layoutElement:{}},setup(e){const t=Wi(e.layoutElement,"vjf_group");return(r,n)=>(ee(),_e("fieldset",{class:He(C(t))},[Bn(Ne("legend",null,Ae(e.layoutElement.options?.label||"Unnamed group"),513),[[ms,e.layoutElement.options?.label]]),e.layoutElement.options?.description?(ee(),_e("p",EI,Ae(e.layoutElement.options.description),1)):Le("",!0),je(Tw,{class:"vjf_fieldset-content","layout-element":{...e.layoutElement,type:"VerticalLayout"}},null,8,["layout-element"])],2))}}),OI=Gn(xI,[["__scopeId","data-v-50b45175"]]),$I=Oe({__name:"HorizontalLayout",props:{layoutElement:{}},setup(e){const t=e,r=Wi(t.layoutElement,"vjf_horizontalLayout"),n=J(()=>b0(t.layoutElement)?p0(t.layoutElement.elements):[]);return(o,s)=>(ee(),_e("div",{class:He(C(r))},[(ee(!0),_e(Je,null,Gt(n.value,i=>(ee(),ye(fa,{"layout-element":i,key:i.uuid},null,8,["layout-element"]))),128))],2))}}),Rs={Control:Cw,Divider:SI,Group:OI,HorizontalLayout:$I,VerticalLayout:Tw,htmlRenderer:pp},CI={};function TI(e,t){return"Unknown Component"}const kI=Gn(CI,[["render",TI]]),AI=Oe({__name:"ButtonGroup",props:{layoutElement:{}},setup(e){const t=kt("Buttongroup");return(r,n)=>(ee(),ye(dt(C(t)),{layoutElement:e.layoutElement},null,8,["layoutElement"]))}}),kw=Oe({__name:"VJFButton",props:{layoutElement:{}},setup(e){const t=e,r=wf(),{buttonWaiting:n}=jt(Zr());n.value[r]=!1;const o=kt("Button"),s=J(()=>{const i=JSON.stringify({...t.layoutElement.options?.submitOptions,id:r});return encodeURIComponent(i)});return(i,a)=>(ee(),ye(dt(C(o)),{layoutElement:e.layoutElement,submitOptions:s.value,formnovalidate:e.layoutElement.options?.formnovalidate?"formnovalidate":void 0,waiting:C(n)[C(r)]},null,8,["layoutElement","submitOptions","formnovalidate","waiting"]))}}),Aw={vjfButtonGroup:AI,vjfButton:kw};var Ip={exports:{}},Dp=function(e,t){return Dp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Dp(e,t)};function Pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Dp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var su=function(){return su=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function Dw(e,t){return function(r,n){t(r,n,e)}}function jw(e,t,r,n,o,s){function i(m){if(m!==void 0&&typeof m!="function")throw new TypeError("Function expected");return m}for(var a=n.kind,l=a==="getter"?"get":a==="setter"?"set":"value",u=!t&&e?n.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),h,f=!1,d=r.length-1;d>=0;d--){var g={};for(var v in n)g[v]=v==="access"?{}:n[v];for(var v in n.access)g.access[v]=n.access[v];g.addInitializer=function(m){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(i(m||null))};var p=(0,r[d])(a==="accessor"?{get:c.get,set:c.set}:c[l],g);if(a==="accessor"){if(p===void 0)continue;if(p===null||typeof p!="object")throw new TypeError("Object expected");(h=i(p.get))&&(c.get=h),(h=i(p.set))&&(c.set=h),(h=i(p.init))&&o.unshift(h)}else(h=i(p))&&(a==="field"?o.unshift(h):c[l]=h)}u&&Object.defineProperty(u,n.name,c),f=!0}function Rw(e,t,r){for(var n=arguments.length>2,o=0;o0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function jp(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,s=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)s.push(o.value)}catch(a){i={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return s}function qw(){for(var e=[],t=0;t1||l(d,v)})},g&&(o[d]=g(o[d])))}function l(d,g){try{u(n[d](g))}catch(v){f(s[0][3],v)}}function u(d){d.value instanceof Ms?Promise.resolve(d.value.v).then(c,h):f(s[0][2],d)}function c(d){l("next",d)}function h(d){l("throw",d)}function f(d,g){d(g),s.shift(),s.length&&l(s[0][0],s[0][1])}}function Ww(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,s){t[o]=e[o]?function(i){return(r=!r)?{value:Ms(e[o](i)),done:!1}:s?s(i):i}:s}}function Kw(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof au=="function"?au(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=e[s]&&function(i){return new Promise(function(a,l){i=e[s](i),o(a,l,i.done,i.value)})}}function o(s,i,a,l){Promise.resolve(l).then(function(u){s({value:u,done:a})},i)}}function Jw(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var PI=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},Rp=function(e){return Rp=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},Rp(e)};function Zw(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=Rp(e),n=0;n=0?Be:1e3+Be,(Xe-vt)/(60*1e3)}equals(y){return y.type==="iana"&&y.name===this.name}get isValid(){return this.valid}}let Ee={};function Ce($,y={}){const x=JSON.stringify([$,y]);let T=Ee[x];return T||(T=new Intl.ListFormat($,y),Ee[x]=T),T}const Re=new Map;function Te($,y={}){const x=JSON.stringify([$,y]);let T=Re.get(x);return T===void 0&&(T=new Intl.DateTimeFormat($,y),Re.set(x,T)),T}const B=new Map;function k($,y={}){const x=JSON.stringify([$,y]);let T=B.get(x);return T===void 0&&(T=new Intl.NumberFormat($,y),B.set(x,T)),T}const N=new Map;function j($,y={}){const{base:x,...T}=y,I=JSON.stringify([$,T]);let q=N.get(I);return q===void 0&&(q=new Intl.RelativeTimeFormat($,y),N.set(I,q)),q}let Z=null;function ne(){return Z||(Z=new Intl.DateTimeFormat().resolvedOptions().locale,Z)}const Q=new Map;function oe($){let y=Q.get($);return y===void 0&&(y=new Intl.DateTimeFormat($).resolvedOptions(),Q.set($,y)),y}const pe=new Map;function fe($){let y=pe.get($);if(!y){const x=new Intl.Locale($);y="getWeekInfo"in x?x.getWeekInfo():x.weekInfo,"minimalDays"in y||(y={...Lt,...y}),pe.set($,y)}return y}function G($){const y=$.indexOf("-x-");y!==-1&&($=$.substring(0,y));const x=$.indexOf("-u-");if(x===-1)return[$];{let T,I;try{T=Te($).resolvedOptions(),I=$}catch{const te=$.substring(0,x);T=Te(te).resolvedOptions(),I=te}const{numberingSystem:q,calendar:X}=T;return[I,q,X]}}function L($,y,x){return(x||y)&&($.includes("-u-")||($+="-u"),x&&($+=`-ca-${x}`),y&&($+=`-nu-${y}`)),$}function U($){const y=[];for(let x=1;x<=12;x++){const T=ze.utc(2009,x,1);y.push($(T))}return y}function le($){const y=[];for(let x=1;x<=7;x++){const T=ze.utc(2016,11,13+x);y.push($(T))}return y}function me($,y,x,T){const I=$.listingMode();return I==="error"?null:I==="en"?x(y):T(y)}function be($){return $.numberingSystem&&$.numberingSystem!=="latn"?!1:$.numberingSystem==="latn"||!$.locale||$.locale.startsWith("en")||oe($.locale).numberingSystem==="latn"}class Ie{constructor(y,x,T){this.padTo=T.padTo||0,this.floor=T.floor||!1;const{padTo:I,floor:q,...X}=T;if(!x||Object.keys(X).length>0){const te={useGrouping:!1,...T};T.padTo>0&&(te.minimumIntegerDigits=T.padTo),this.inf=k(y,te)}}format(y){if(this.inf){const x=this.floor?Math.floor(y):y;return this.inf.format(x)}else{const x=this.floor?Math.floor(y):xh(y,3);return Mt(x,this.padTo)}}}class Ke{constructor(y,x,T){this.opts=T,this.originalZone=void 0;let I;if(this.opts.timeZone)this.dt=y;else if(y.zone.type==="fixed"){const X=-1*(y.offset/60),te=X>=0?`Etc/GMT+${X}`:`Etc/GMT${X}`;y.offset!==0&&ae.create(te).valid?(I=te,this.dt=y):(I="UTC",this.dt=y.offset===0?y:y.setZone("UTC").plus({minutes:y.offset}),this.originalZone=y.zone)}else y.zone.type==="system"?this.dt=y:y.zone.type==="iana"?(this.dt=y,I=y.zone.name):(I="UTC",this.dt=y.setZone("UTC").plus({minutes:y.offset}),this.originalZone=y.zone);const q={...this.opts};q.timeZone=q.timeZone||I,this.dtf=Te(x,q)}format(){return this.originalZone?this.formatToParts().map(({value:y})=>y).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const y=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?y.map(x=>{if(x.type==="timeZoneName"){const T=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...x,value:T}}else return x}):y}resolvedOptions(){return this.dtf.resolvedOptions()}}class Et{constructor(y,x,T){this.opts={style:"long",...T},!x&&K1()&&(this.rtf=j(y,T))}format(y,x){return this.rtf?this.rtf.format(y,x):c2(x,y,this.opts.numeric,this.opts.style!=="long")}formatToParts(y,x){return this.rtf?this.rtf.formatToParts(y,x):[]}}const Lt={firstDay:1,minimalDays:4,weekend:[6,7]};class et{static fromOpts(y){return et.create(y.locale,y.numberingSystem,y.outputCalendar,y.weekSettings,y.defaultToEN)}static create(y,x,T,I,q=!1){const X=y||$t.defaultLocale,te=X||(q?"en-US":ne()),se=x||$t.defaultNumberingSystem,we=T||$t.defaultOutputCalendar,De=Sh(I)||$t.defaultWeekSettings;return new et(te,se,we,De,X)}static resetCache(){Z=null,Re.clear(),B.clear(),N.clear(),Q.clear(),pe.clear()}static fromObject({locale:y,numberingSystem:x,outputCalendar:T,weekSettings:I}={}){return et.create(y,x,T,I)}constructor(y,x,T,I,q){const[X,te,se]=G(y);this.locale=X,this.numberingSystem=x||te||null,this.outputCalendar=T||se||null,this.weekSettings=I,this.intl=L(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=q,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=be(this)),this.fastNumbersCached}listingMode(){const y=this.isEnglish(),x=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return y&&x?"en":"intl"}clone(y){return!y||Object.getOwnPropertyNames(y).length===0?this:et.create(y.locale||this.specifiedLocale,y.numberingSystem||this.numberingSystem,y.outputCalendar||this.outputCalendar,Sh(y.weekSettings)||this.weekSettings,y.defaultToEN||!1)}redefaultToEN(y={}){return this.clone({...y,defaultToEN:!0})}redefaultToSystem(y={}){return this.clone({...y,defaultToEN:!1})}months(y,x=!1){return me(this,y,tx,()=>{const T=this.intl==="ja"||this.intl.startsWith("ja-");x&=!T;const I=x?{month:y,day:"numeric"}:{month:y},q=x?"format":"standalone";if(!this.monthsCache[q][y]){const X=T?te=>this.dtFormatter(te,I).format():te=>this.extract(te,I,"month");this.monthsCache[q][y]=U(X)}return this.monthsCache[q][y]})}weekdays(y,x=!1){return me(this,y,ox,()=>{const T=x?{weekday:y,year:"numeric",month:"long",day:"numeric"}:{weekday:y},I=x?"format":"standalone";return this.weekdaysCache[I][y]||(this.weekdaysCache[I][y]=le(q=>this.extract(q,T,"weekday"))),this.weekdaysCache[I][y]})}meridiems(){return me(this,void 0,()=>sx,()=>{if(!this.meridiemCache){const y={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ze.utc(2016,11,13,9),ze.utc(2016,11,13,19)].map(x=>this.extract(x,y,"dayperiod"))}return this.meridiemCache})}eras(y){return me(this,y,ix,()=>{const x={era:y};return this.eraCache[y]||(this.eraCache[y]=[ze.utc(-40,1,1),ze.utc(2017,1,1)].map(T=>this.extract(T,x,"era"))),this.eraCache[y]})}extract(y,x,T){const I=this.dtFormatter(y,x),q=I.formatToParts(),X=q.find(te=>te.type.toLowerCase()===T);return X?X.value:null}numberFormatter(y={}){return new Ie(this.intl,y.forceSimple||this.fastNumbers,y)}dtFormatter(y,x={}){return new Ke(y,this.intl,x)}relFormatter(y={}){return new Et(this.intl,this.isEnglish(),y)}listFormatter(y={}){return Ce(this.intl,y)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||oe(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:J1()?fe(this.locale):Lt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(y){return this.locale===y.locale&&this.numberingSystem===y.numberingSystem&&this.outputCalendar===y.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let xr=null;class Nt extends he{static get utcInstance(){return xr===null&&(xr=new Nt(0)),xr}static instance(y){return y===0?Nt.utcInstance:new Nt(y)}static parseSpecifier(y){if(y){const x=y.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(x)return new Nt(Pc(x[1],x[2]))}return null}constructor(y){super(),this.fixed=y}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${xa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${xa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(y,x){return xa(this.fixed,x)}get isUniversal(){return!0}offset(){return this.fixed}equals(y){return y.type==="fixed"&&y.fixed===this.fixed}get isValid(){return!0}}class wa extends he{constructor(y){super(),this.zoneName=y}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function It($,y){if(qe($)||$===null)return y;if($ instanceof he)return $;if(JL($)){const x=$.toLowerCase();return x==="default"?y:x==="local"||x==="system"?ve.instance:x==="utc"||x==="gmt"?Nt.utcInstance:Nt.parseSpecifier(x)||ae.create($)}else return To($)?Nt.instance($):typeof $=="object"&&"offset"in $&&typeof $.offset=="function"?$:new wa($)}const Or={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},_a={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},$c=Or.hanidec.replace(/[\[|\]]/g,"").split("");function HL($){let y=parseInt($,10);if(isNaN(y)){y="";for(let x=0;x<$.length;x++){const T=$.charCodeAt(x);if($[x].search(Or.hanidec)!==-1)y+=$c.indexOf($[x]);else for(const I in _a){const[q,X]=_a[I];T>=q&&T<=X&&(y+=T-q)}}return parseInt(y,10)}else return y}const vh=new Map;function GL(){vh.clear()}function dn({numberingSystem:$},y=""){const x=$||"latn";let T=vh.get(x);T===void 0&&(T=new Map,vh.set(x,T));let I=T.get(y);return I===void 0&&(I=new RegExp(`${Or[x]}${y}`),T.set(y,I)),I}let P1=()=>Date.now(),N1="system",I1=null,D1=null,j1=null,R1=60,M1,B1=null;class $t{static get now(){return P1}static set now(y){P1=y}static set defaultZone(y){N1=y}static get defaultZone(){return It(N1,ve.instance)}static get defaultLocale(){return I1}static set defaultLocale(y){I1=y}static get defaultNumberingSystem(){return D1}static set defaultNumberingSystem(y){D1=y}static get defaultOutputCalendar(){return j1}static set defaultOutputCalendar(y){j1=y}static get defaultWeekSettings(){return B1}static set defaultWeekSettings(y){B1=Sh(y)}static get twoDigitCutoffYear(){return R1}static set twoDigitCutoffYear(y){R1=y%100}static get throwOnInvalid(){return M1}static set throwOnInvalid(y){M1=y}static resetCaches(){et.resetCache(),ae.resetCache(),ze.resetCache(),GL()}}class fn{constructor(y,x){this.reason=y,this.explanation=x}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const V1=[0,31,59,90,120,151,181,212,243,273,304,334],L1=[0,31,60,91,121,152,182,213,244,274,305,335];function Ur($,y){return new fn("unit out of range",`you specified ${y} (of type ${typeof y}) as a ${$}, which is invalid`)}function bh($,y,x){const T=new Date(Date.UTC($,y-1,x));$<100&&$>=0&&T.setUTCFullYear(T.getUTCFullYear()-1900);const I=T.getUTCDay();return I===0?7:I}function F1($,y,x){return x+(Sa($)?L1:V1)[y-1]}function U1($,y){const x=Sa($)?L1:V1,T=x.findIndex(q=>qEa(T,y,x)?(we=T+1,se=1):we=T,{weekYear:we,weekNumber:se,weekday:te,...Ic($)}}function q1($,y=4,x=1){const{weekYear:T,weekNumber:I,weekday:q}=$,X=wh(bh(T,1,y),x),te=Qs(T);let se=I*7+q-X-7+y,we;se<1?(we=T-1,se+=Qs(we)):se>te?(we=T+1,se-=Qs(T)):we=T;const{month:De,day:Xe}=U1(we,se);return{year:we,month:De,day:Xe,...Ic($)}}function _h($){const{year:y,month:x,day:T}=$,I=F1(y,x,T);return{year:y,ordinal:I,...Ic($)}}function z1($){const{year:y,ordinal:x}=$,{month:T,day:I}=U1(y,x);return{year:y,month:T,day:I,...Ic($)}}function H1($,y){if(!qe($.localWeekday)||!qe($.localWeekNumber)||!qe($.localWeekYear)){if(!qe($.weekday)||!qe($.weekNumber)||!qe($.weekYear))throw new o("Cannot mix locale-based week fields with ISO-based week fields");return qe($.localWeekday)||($.weekday=$.localWeekday),qe($.localWeekNumber)||($.weekNumber=$.localWeekNumber),qe($.localWeekYear)||($.weekYear=$.localWeekYear),delete $.localWeekday,delete $.localWeekNumber,delete $.localWeekYear,{minDaysInFirstWeek:y.getMinDaysInFirstWeek(),startOfWeek:y.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function WL($,y=4,x=1){const T=Tc($.weekYear),I=qr($.weekNumber,1,Ea($.weekYear,y,x)),q=qr($.weekday,1,7);return T?I?q?!1:Ur("weekday",$.weekday):Ur("week",$.weekNumber):Ur("weekYear",$.weekYear)}function KL($){const y=Tc($.year),x=qr($.ordinal,1,Qs($.year));return y?x?!1:Ur("ordinal",$.ordinal):Ur("year",$.year)}function G1($){const y=Tc($.year),x=qr($.month,1,12),T=qr($.day,1,kc($.year,$.month));return y?x?T?!1:Ur("day",$.day):Ur("month",$.month):Ur("year",$.year)}function W1($){const{hour:y,minute:x,second:T,millisecond:I}=$,q=qr(y,0,23)||y===24&&x===0&&T===0&&I===0,X=qr(x,0,59),te=qr(T,0,59),se=qr(I,0,999);return q?X?te?se?!1:Ur("millisecond",I):Ur("second",T):Ur("minute",x):Ur("hour",y)}function qe($){return typeof $>"u"}function To($){return typeof $=="number"}function Tc($){return typeof $=="number"&&$%1===0}function JL($){return typeof $=="string"}function ZL($){return Object.prototype.toString.call($)==="[object Date]"}function K1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function J1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function YL($){return Array.isArray($)?$:[$]}function Z1($,y,x){if($.length!==0)return $.reduce((T,I)=>{const q=[y(I),I];return T&&x(T[0],q[0])===T[0]?T:q},null)[1]}function XL($,y){return y.reduce((x,T)=>(x[T]=$[T],x),{})}function Xs($,y){return Object.prototype.hasOwnProperty.call($,y)}function Sh($){if($==null)return null;if(typeof $!="object")throw new i("Week settings must be an object");if(!qr($.firstDay,1,7)||!qr($.minimalDays,1,7)||!Array.isArray($.weekend)||$.weekend.some(y=>!qr(y,1,7)))throw new i("Invalid week settings");return{firstDay:$.firstDay,minimalDays:$.minimalDays,weekend:Array.from($.weekend)}}function qr($,y,x){return Tc($)&&$>=y&&$<=x}function QL($,y){return $-y*Math.floor($/y)}function Mt($,y=2){const x=$<0;let T;return x?T="-"+(""+-$).padStart(y,"0"):T=(""+$).padStart(y,"0"),T}function ko($){if(!(qe($)||$===null||$===""))return parseInt($,10)}function Qo($){if(!(qe($)||$===null||$===""))return parseFloat($)}function Eh($){if(!(qe($)||$===null||$==="")){const y=parseFloat("0."+$)*1e3;return Math.floor(y)}}function xh($,y,x="round"){const T=10**y;switch(x){case"expand":return $>0?Math.ceil($*T)/T:Math.floor($*T)/T;case"trunc":return Math.trunc($*T)/T;case"round":return Math.round($*T)/T;case"floor":return Math.floor($*T)/T;case"ceil":return Math.ceil($*T)/T;default:throw new RangeError(`Value rounding ${x} is out of range`)}}function Sa($){return $%4===0&&($%100!==0||$%400===0)}function Qs($){return Sa($)?366:365}function kc($,y){const x=QL(y-1,12)+1,T=$+(y-x)/12;return x===2?Sa(T)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][x-1]}function Ac($){let y=Date.UTC($.year,$.month-1,$.day,$.hour,$.minute,$.second,$.millisecond);return $.year<100&&$.year>=0&&(y=new Date(y),y.setUTCFullYear($.year,$.month-1,$.day)),+y}function Y1($,y,x){return-wh(bh($,1,y),x)+y-1}function Ea($,y=4,x=1){const T=Y1($,y,x),I=Y1($+1,y,x);return(Qs($)-T+I)/7}function Oh($){return $>99?$:$>$t.twoDigitCutoffYear?1900+$:2e3+$}function X1($,y,x,T=null){const I=new Date($),q={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};T&&(q.timeZone=T);const X={timeZoneName:y,...q},te=new Intl.DateTimeFormat(x,X).formatToParts(I).find(se=>se.type.toLowerCase()==="timezonename");return te?te.value:null}function Pc($,y){let x=parseInt($,10);Number.isNaN(x)&&(x=0);const T=parseInt(y,10)||0,I=x<0||Object.is(x,-0)?-T:T;return x*60+I}function Q1($){const y=Number($);if(typeof $=="boolean"||$===""||!Number.isFinite(y))throw new i(`Invalid unit value ${$}`);return y}function Nc($,y){const x={};for(const T in $)if(Xs($,T)){const I=$[T];if(I==null)continue;x[y(T)]=Q1(I)}return x}function xa($,y){const x=Math.trunc(Math.abs($/60)),T=Math.trunc(Math.abs($%60)),I=$>=0?"+":"-";switch(y){case"short":return`${I}${Mt(x,2)}:${Mt(T,2)}`;case"narrow":return`${I}${x}${T>0?`:${T}`:""}`;case"techie":return`${I}${Mt(x,2)}${Mt(T,2)}`;default:throw new RangeError(`Value format ${y} is out of range for property format`)}}function Ic($){return XL($,["hour","minute","second","millisecond"])}const e2=["January","February","March","April","May","June","July","August","September","October","November","December"],ex=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t2=["J","F","M","A","M","J","J","A","S","O","N","D"];function tx($){switch($){case"narrow":return[...t2];case"short":return[...ex];case"long":return[...e2];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const rx=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],nx=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],r2=["M","T","W","T","F","S","S"];function ox($){switch($){case"narrow":return[...r2];case"short":return[...nx];case"long":return[...rx];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sx=["AM","PM"],n2=["Before Christ","Anno Domini"],o2=["BC","AD"],s2=["B","A"];function ix($){switch($){case"narrow":return[...s2];case"short":return[...o2];case"long":return[...n2];default:return null}}function i2($){return sx[$.hour<12?0:1]}function a2($,y){return ox(y)[$.weekday-1]}function l2($,y){return tx(y)[$.month-1]}function u2($,y){return ix(y)[$.year<0?0:1]}function c2($,y,x="always",T=!1){const I={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},q=["hours","minutes","seconds"].indexOf($)===-1;if(x==="auto"&&q){const Xe=$==="days";switch(y){case 1:return Xe?"tomorrow":`next ${I[$][0]}`;case-1:return Xe?"yesterday":`last ${I[$][0]}`;case 0:return Xe?"today":`this ${I[$][0]}`}}const X=Object.is(y,-0)||y<0,te=Math.abs(y),se=te===1,we=I[$],De=T?se?we[1]:we[2]||we[1]:se?I[$][0]:$;return X?`${te} ${De} ago`:`in ${te} ${De}`}function ax($,y){let x="";for(const T of $)T.literal?x+=T.val:x+=y(T.val);return x}const d2={D:h,DD:f,DDD:g,DDDD:v,t:p,tt:m,ttt:b,tttt:w,T:S,TT:_,TTT:E,TTTT:O,f:P,ff:V,fff:z,ffff:ue,F:A,FF:D,FFF:F,FFFF:K};class lr{static create(y,x={}){return new lr(y,x)}static parseFormat(y){let x=null,T="",I=!1;const q=[];for(let X=0;X0||I)&&q.push({literal:I||/^\s+$/.test(T),val:T===""?"'":T}),x=null,T="",I=!I):I||te===x?T+=te:(T.length>0&&q.push({literal:/^\s+$/.test(T),val:T}),T=te,x=te)}return T.length>0&&q.push({literal:I||/^\s+$/.test(T),val:T}),q}static macroTokenToFormatOpts(y){return d2[y]}constructor(y,x){this.opts=x,this.loc=y,this.systemLoc=null}formatWithSystemDefault(y,x){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(y,{...this.opts,...x}).format()}dtFormatter(y,x={}){return this.loc.dtFormatter(y,{...this.opts,...x})}formatDateTime(y,x){return this.dtFormatter(y,x).format()}formatDateTimeParts(y,x){return this.dtFormatter(y,x).formatToParts()}formatInterval(y,x){return this.dtFormatter(y.start,x).dtf.formatRange(y.start.toJSDate(),y.end.toJSDate())}resolvedOptions(y,x){return this.dtFormatter(y,x).resolvedOptions()}num(y,x=0,T=void 0){if(this.opts.forceSimple)return Mt(y,x);const I={...this.opts};return x>0&&(I.padTo=x),T&&(I.signDisplay=T),this.loc.numberFormatter(I).format(y)}formatDateTimeFromString(y,x){const T=this.loc.listingMode()==="en",I=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",q=(Be,qt)=>this.loc.extract(y,Be,qt),X=Be=>y.isOffsetFixed&&y.offset===0&&Be.allowZ?"Z":y.isValid?y.zone.formatOffset(y.ts,Be.format):"",te=()=>T?i2(y):q({hour:"numeric",hourCycle:"h12"},"dayperiod"),se=(Be,qt)=>T?l2(y,Be):q(qt?{month:Be}:{month:Be,day:"numeric"},"month"),we=(Be,qt)=>T?a2(y,Be):q(qt?{weekday:Be}:{weekday:Be,month:"long",day:"numeric"},"weekday"),De=Be=>{const qt=lr.macroTokenToFormatOpts(Be);return qt?this.formatWithSystemDefault(y,qt):Be},Xe=Be=>T?u2(y,Be):q({era:Be},"era"),vt=Be=>{switch(Be){case"S":return this.num(y.millisecond);case"u":case"SSS":return this.num(y.millisecond,3);case"s":return this.num(y.second);case"ss":return this.num(y.second,2);case"uu":return this.num(Math.floor(y.millisecond/10),2);case"uuu":return this.num(Math.floor(y.millisecond/100));case"m":return this.num(y.minute);case"mm":return this.num(y.minute,2);case"h":return this.num(y.hour%12===0?12:y.hour%12);case"hh":return this.num(y.hour%12===0?12:y.hour%12,2);case"H":return this.num(y.hour);case"HH":return this.num(y.hour,2);case"Z":return X({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return X({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return X({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return y.zone.offsetName(y.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return y.zone.offsetName(y.ts,{format:"long",locale:this.loc.locale});case"z":return y.zoneName;case"a":return te();case"d":return I?q({day:"numeric"},"day"):this.num(y.day);case"dd":return I?q({day:"2-digit"},"day"):this.num(y.day,2);case"c":return this.num(y.weekday);case"ccc":return we("short",!0);case"cccc":return we("long",!0);case"ccccc":return we("narrow",!0);case"E":return this.num(y.weekday);case"EEE":return we("short",!1);case"EEEE":return we("long",!1);case"EEEEE":return we("narrow",!1);case"L":return I?q({month:"numeric",day:"numeric"},"month"):this.num(y.month);case"LL":return I?q({month:"2-digit",day:"numeric"},"month"):this.num(y.month,2);case"LLL":return se("short",!0);case"LLLL":return se("long",!0);case"LLLLL":return se("narrow",!0);case"M":return I?q({month:"numeric"},"month"):this.num(y.month);case"MM":return I?q({month:"2-digit"},"month"):this.num(y.month,2);case"MMM":return se("short",!1);case"MMMM":return se("long",!1);case"MMMMM":return se("narrow",!1);case"y":return I?q({year:"numeric"},"year"):this.num(y.year);case"yy":return I?q({year:"2-digit"},"year"):this.num(y.year.toString().slice(-2),2);case"yyyy":return I?q({year:"numeric"},"year"):this.num(y.year,4);case"yyyyyy":return I?q({year:"numeric"},"year"):this.num(y.year,6);case"G":return Xe("short");case"GG":return Xe("long");case"GGGGG":return Xe("narrow");case"kk":return this.num(y.weekYear.toString().slice(-2),2);case"kkkk":return this.num(y.weekYear,4);case"W":return this.num(y.weekNumber);case"WW":return this.num(y.weekNumber,2);case"n":return this.num(y.localWeekNumber);case"nn":return this.num(y.localWeekNumber,2);case"ii":return this.num(y.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(y.localWeekYear,4);case"o":return this.num(y.ordinal);case"ooo":return this.num(y.ordinal,3);case"q":return this.num(y.quarter);case"qq":return this.num(y.quarter,2);case"X":return this.num(Math.floor(y.ts/1e3));case"x":return this.num(y.ts);default:return De(Be)}};return ax(lr.parseFormat(x),vt)}formatDurationFromString(y,x){const T=this.opts.signMode==="negativeLargestOnly"?-1:1,I=De=>{switch(De[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},q=(De,Xe)=>vt=>{const Be=I(vt);if(Be){const qt=Xe.isNegativeDuration&&Be!==Xe.largestUnit?T:1;let $r;return this.opts.signMode==="negativeLargestOnly"&&Be!==Xe.largestUnit?$r="never":this.opts.signMode==="all"?$r="always":$r="auto",this.num(De.get(Be)*qt,vt.length,$r)}else return vt},X=lr.parseFormat(x),te=X.reduce((De,{literal:Xe,val:vt})=>Xe?De:De.concat(vt),[]),se=y.shiftTo(...te.map(I).filter(De=>De)),we={isNegativeDuration:se<0,largestUnit:Object.keys(se.values)[0]};return ax(X,q(se,we))}}const lx=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ei(...$){const y=$.reduce((x,T)=>x+T.source,"");return RegExp(`^${y}$`)}function ti(...$){return y=>$.reduce(([x,T,I],q)=>{const[X,te,se]=q(y,I);return[{...x,...X},te||T,se]},[{},null,1]).slice(0,2)}function ri($,...y){if($==null)return[null,null];for(const[x,T]of y){const I=x.exec($);if(I)return T(I)}return[null,null]}function ux(...$){return(y,x)=>{const T={};let I;for(I=0;I<$.length;I++)T[$[I]]=ko(y[x+I]);return[T,null,x+I]}}const cx=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,f2=`(?:${cx.source}?(?:\\[(${lx.source})\\])?)?`,$h=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,dx=RegExp(`${$h.source}${f2}`),Ch=RegExp(`(?:[Tt]${dx.source})?`),p2=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,h2=/(\d{4})-?W(\d\d)(?:-?(\d))?/,m2=/(\d{4})-?(\d{3})/,g2=ux("weekYear","weekNumber","weekDay"),y2=ux("year","ordinal"),v2=/(\d{4})-(\d\d)-(\d\d)/,fx=RegExp(`${$h.source} ?(?:${cx.source}|(${lx.source}))?`),b2=RegExp(`(?: ${fx.source})?`);function ni($,y,x){const T=$[y];return qe(T)?x:ko(T)}function w2($,y){return[{year:ni($,y),month:ni($,y+1,1),day:ni($,y+2,1)},null,y+3]}function oi($,y){return[{hours:ni($,y,0),minutes:ni($,y+1,0),seconds:ni($,y+2,0),milliseconds:Eh($[y+3])},null,y+4]}function Oa($,y){const x=!$[y]&&!$[y+1],T=Pc($[y+1],$[y+2]),I=x?null:Nt.instance(T);return[{},I,y+3]}function $a($,y){const x=$[y]?ae.create($[y]):null;return[{},x,y+1]}const _2=RegExp(`^T?${$h.source}$`),S2=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function E2($){const[y,x,T,I,q,X,te,se,we]=$,De=y[0]==="-",Xe=se&&se[0]==="-",vt=(Be,qt=!1)=>Be!==void 0&&(qt||Be&&De)?-Be:Be;return[{years:vt(Qo(x)),months:vt(Qo(T)),weeks:vt(Qo(I)),days:vt(Qo(q)),hours:vt(Qo(X)),minutes:vt(Qo(te)),seconds:vt(Qo(se),se==="-0"),milliseconds:vt(Eh(we),Xe)}]}const x2={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Th($,y,x,T,I,q,X){const te={year:y.length===2?Oh(ko(y)):ko(y),month:ex.indexOf(x)+1,day:ko(T),hour:ko(I),minute:ko(q)};return X&&(te.second=ko(X)),$&&(te.weekday=$.length>3?rx.indexOf($)+1:nx.indexOf($)+1),te}const O2=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $2($){const[,y,x,T,I,q,X,te,se,we,De,Xe]=$,vt=Th(y,I,T,x,q,X,te);let Be;return se?Be=x2[se]:we?Be=0:Be=Pc(De,Xe),[vt,new Nt(Be)]}function C2($){return $.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const T2=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,k2=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,A2=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function px($){const[,y,x,T,I,q,X,te]=$;return[Th(y,I,T,x,q,X,te),Nt.utcInstance]}function P2($){const[,y,x,T,I,q,X,te]=$;return[Th(y,te,x,T,I,q,X),Nt.utcInstance]}const N2=ei(p2,Ch),I2=ei(h2,Ch),D2=ei(m2,Ch),j2=ei(dx),hx=ti(w2,oi,Oa,$a),R2=ti(g2,oi,Oa,$a),M2=ti(y2,oi,Oa,$a),B2=ti(oi,Oa,$a);function V2($){return ri($,[N2,hx],[I2,R2],[D2,M2],[j2,B2])}function L2($){return ri(C2($),[O2,$2])}function F2($){return ri($,[T2,px],[k2,px],[A2,P2])}function U2($){return ri($,[S2,E2])}const q2=ti(oi);function z2($){return ri($,[_2,q2])}const H2=ei(v2,b2),G2=ei(fx),W2=ti(oi,Oa,$a);function K2($){return ri($,[H2,hx],[G2,W2])}const mx="Invalid Duration",gx={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},J2={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...gx},zr=146097/400,si=146097/4800,Z2={years:{quarters:4,months:12,weeks:zr/7,days:zr,hours:zr*24,minutes:zr*24*60,seconds:zr*24*60*60,milliseconds:zr*24*60*60*1e3},quarters:{months:3,weeks:zr/28,days:zr/4,hours:zr*24/4,minutes:zr*24*60/4,seconds:zr*24*60*60/4,milliseconds:zr*24*60*60*1e3/4},months:{weeks:si/7,days:si,hours:si*24,minutes:si*24*60,seconds:si*24*60*60,milliseconds:si*24*60*60*1e3},...gx},es=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Y2=es.slice(0).reverse();function oo($,y,x=!1){const T={values:x?y.values:{...$.values,...y.values||{}},loc:$.loc.clone(y.loc),conversionAccuracy:y.conversionAccuracy||$.conversionAccuracy,matrix:y.matrix||$.matrix};return new it(T)}function yx($,y){var x;let T=(x=y.milliseconds)!=null?x:0;for(const I of Y2.slice(1))y[I]&&(T+=y[I]*$[I].milliseconds);return T}function vx($,y){const x=yx($,y)<0?-1:1;es.reduceRight((T,I)=>{if(qe(y[I]))return T;if(T){const q=y[T]*x,X=$[I][T],te=Math.floor(q/X);y[I]+=te*x,y[T]-=te*X*x}return I},null),es.reduce((T,I)=>{if(qe(y[I]))return T;if(T){const q=y[T]%1;y[T]-=q,y[I]+=q*$[T][I]}return I},null)}function bx($){const y={};for(const[x,T]of Object.entries($))T!==0&&(y[x]=T);return y}class it{constructor(y){const x=y.conversionAccuracy==="longterm"||!1;let T=x?Z2:J2;y.matrix&&(T=y.matrix),this.values=y.values,this.loc=y.loc||et.create(),this.conversionAccuracy=x?"longterm":"casual",this.invalid=y.invalid||null,this.matrix=T,this.isLuxonDuration=!0}static fromMillis(y,x){return it.fromObject({milliseconds:y},x)}static fromObject(y,x={}){if(y==null||typeof y!="object")throw new i(`Duration.fromObject: argument expected to be an object, got ${y===null?"null":typeof y}`);return new it({values:Nc(y,it.normalizeUnit),loc:et.fromObject(x),conversionAccuracy:x.conversionAccuracy,matrix:x.matrix})}static fromDurationLike(y){if(To(y))return it.fromMillis(y);if(it.isDuration(y))return y;if(typeof y=="object")return it.fromObject(y);throw new i(`Unknown duration argument ${y} of type ${typeof y}`)}static fromISO(y,x){const[T]=U2(y);return T?it.fromObject(T,x):it.invalid("unparsable",`the input "${y}" can't be parsed as ISO 8601`)}static fromISOTime(y,x){const[T]=z2(y);return T?it.fromObject(T,x):it.invalid("unparsable",`the input "${y}" can't be parsed as ISO 8601`)}static invalid(y,x=null){if(!y)throw new i("need to specify a reason the Duration is invalid");const T=y instanceof fn?y:new fn(y,x);if($t.throwOnInvalid)throw new n(T);return new it({invalid:T})}static normalizeUnit(y){const x={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[y&&y.toLowerCase()];if(!x)throw new s(y);return x}static isDuration(y){return y&&y.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(y,x={}){const T={...x,floor:x.round!==!1&&x.floor!==!1};return this.isValid?lr.create(this.loc,T).formatDurationFromString(this,y):mx}toHuman(y={}){if(!this.isValid)return mx;const x=y.showZeros!==!1,T=es.map(I=>{const q=this.values[I];return qe(q)||q===0&&!x?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...y,unit:I.slice(0,-1)}).format(q)}).filter(I=>I);return this.loc.listFormatter({type:"conjunction",style:y.listStyle||"narrow",...y}).format(T)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let y="P";return this.years!==0&&(y+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(y+=this.months+this.quarters*3+"M"),this.weeks!==0&&(y+=this.weeks+"W"),this.days!==0&&(y+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(y+="T"),this.hours!==0&&(y+=this.hours+"H"),this.minutes!==0&&(y+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(y+=xh(this.seconds+this.milliseconds/1e3,3)+"S"),y==="P"&&(y+="T0S"),y}toISOTime(y={}){if(!this.isValid)return null;const x=this.toMillis();return x<0||x>=864e5?null:(y={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...y,includeOffset:!1},ze.fromMillis(x,{zone:"UTC"}).toISOTime(y))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yx(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(y){if(!this.isValid)return this;const x=it.fromDurationLike(y),T={};for(const I of es)(Xs(x.values,I)||Xs(this.values,I))&&(T[I]=x.get(I)+this.get(I));return oo(this,{values:T},!0)}minus(y){if(!this.isValid)return this;const x=it.fromDurationLike(y);return this.plus(x.negate())}mapUnits(y){if(!this.isValid)return this;const x={};for(const T of Object.keys(this.values))x[T]=Q1(y(this.values[T],T));return oo(this,{values:x},!0)}get(y){return this[it.normalizeUnit(y)]}set(y){if(!this.isValid)return this;const x={...this.values,...Nc(y,it.normalizeUnit)};return oo(this,{values:x})}reconfigure({locale:y,numberingSystem:x,conversionAccuracy:T,matrix:I}={}){const q={loc:this.loc.clone({locale:y,numberingSystem:x}),matrix:I,conversionAccuracy:T};return oo(this,q)}as(y){return this.isValid?this.shiftTo(y).get(y):NaN}normalize(){if(!this.isValid)return this;const y=this.toObject();return vx(this.matrix,y),oo(this,{values:y},!0)}rescale(){if(!this.isValid)return this;const y=bx(this.normalize().shiftToAll().toObject());return oo(this,{values:y},!0)}shiftTo(...y){if(!this.isValid)return this;if(y.length===0)return this;y=y.map(X=>it.normalizeUnit(X));const x={},T={},I=this.toObject();let q;for(const X of es)if(y.indexOf(X)>=0){q=X;let te=0;for(const we in T)te+=this.matrix[we][X]*T[we],T[we]=0;To(I[X])&&(te+=I[X]);const se=Math.trunc(te);x[X]=se,T[X]=(te*1e3-se*1e3)/1e3}else To(I[X])&&(T[X]=I[X]);for(const X in T)T[X]!==0&&(x[q]+=X===q?T[X]:T[X]/this.matrix[q][X]);return vx(this.matrix,x),oo(this,{values:x},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const y={};for(const x of Object.keys(this.values))y[x]=this.values[x]===0?0:-this.values[x];return oo(this,{values:y},!0)}removeZeros(){if(!this.isValid)return this;const y=bx(this.values);return oo(this,{values:y},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(y){if(!this.isValid||!y.isValid||!this.loc.equals(y.loc))return!1;function x(T,I){return T===void 0||T===0?I===void 0||I===0:T===I}for(const T of es)if(!x(this.values[T],y.values[T]))return!1;return!0}}const ii="Invalid Interval";function X2($,y){return!$||!$.isValid?Ct.invalid("missing or invalid start"):!y||!y.isValid?Ct.invalid("missing or invalid end"):y<$?Ct.invalid("end before start",`The end of an interval must be after its start, but you had start=${$.toISO()} and end=${y.toISO()}`):null}class Ct{constructor(y){this.s=y.start,this.e=y.end,this.invalid=y.invalid||null,this.isLuxonInterval=!0}static invalid(y,x=null){if(!y)throw new i("need to specify a reason the Interval is invalid");const T=y instanceof fn?y:new fn(y,x);if($t.throwOnInvalid)throw new r(T);return new Ct({invalid:T})}static fromDateTimes(y,x){const T=Aa(y),I=Aa(x);return X2(T,I)??new Ct({start:T,end:I})}static after(y,x){const T=it.fromDurationLike(x),I=Aa(y);return Ct.fromDateTimes(I,I.plus(T))}static before(y,x){const T=it.fromDurationLike(x),I=Aa(y);return Ct.fromDateTimes(I.minus(T),I)}static fromISO(y,x){const[T,I]=(y||"").split("/",2);if(T&&I){let q,X;try{q=ze.fromISO(T,x),X=q.isValid}catch{X=!1}let te,se;try{te=ze.fromISO(I,x),se=te.isValid}catch{se=!1}if(X&&se)return Ct.fromDateTimes(q,te);if(X){const we=it.fromISO(I,x);if(we.isValid)return Ct.after(q,we)}else if(se){const we=it.fromISO(T,x);if(we.isValid)return Ct.before(te,we)}}return Ct.invalid("unparsable",`the input "${y}" can't be parsed as ISO 8601`)}static isInterval(y){return y&&y.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(y="milliseconds"){return this.isValid?this.toDuration(y).get(y):NaN}count(y="milliseconds",x){if(!this.isValid)return NaN;const T=this.start.startOf(y,x);let I;return x!=null&&x.useLocaleWeeks?I=this.end.reconfigure({locale:T.locale}):I=this.end,I=I.startOf(y,x),Math.floor(I.diff(T,y).get(y))+(I.valueOf()!==this.end.valueOf())}hasSame(y){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,y):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(y){return this.isValid?this.s>y:!1}isBefore(y){return this.isValid?this.e<=y:!1}contains(y){return this.isValid?this.s<=y&&this.e>y:!1}set({start:y,end:x}={}){return this.isValid?Ct.fromDateTimes(y||this.s,x||this.e):this}splitAt(...y){if(!this.isValid)return[];const x=y.map(Aa).filter(X=>this.contains(X)).sort((X,te)=>X.toMillis()-te.toMillis()),T=[];let{s:I}=this,q=0;for(;I+this.e?this.e:X;T.push(Ct.fromDateTimes(I,te)),I=te,q+=1}return T}splitBy(y){const x=it.fromDurationLike(y);if(!this.isValid||!x.isValid||x.as("milliseconds")===0)return[];let{s:T}=this,I=1,q;const X=[];for(;Tse*I));q=+te>+this.e?this.e:te,X.push(Ct.fromDateTimes(T,q)),T=q,I+=1}return X}divideEqually(y){return this.isValid?this.splitBy(this.length()/y).slice(0,y):[]}overlaps(y){return this.e>y.s&&this.s=y.e:!1}equals(y){return!this.isValid||!y.isValid?!1:this.s.equals(y.s)&&this.e.equals(y.e)}intersection(y){if(!this.isValid)return this;const x=this.s>y.s?this.s:y.s,T=this.e=T?null:Ct.fromDateTimes(x,T)}union(y){if(!this.isValid)return this;const x=this.sy.e?this.e:y.e;return Ct.fromDateTimes(x,T)}static merge(y){const[x,T]=y.sort((I,q)=>I.s-q.s).reduce(([I,q],X)=>q?q.overlaps(X)||q.abutsStart(X)?[I,q.union(X)]:[I.concat([q]),X]:[I,X],[[],null]);return T&&x.push(T),x}static xor(y){let x=null,T=0;const I=[],q=y.map(se=>[{time:se.s,type:"s"},{time:se.e,type:"e"}]),X=Array.prototype.concat(...q),te=X.sort((se,we)=>se.time-we.time);for(const se of te)T+=se.type==="s"?1:-1,T===1?x=se.time:(x&&+x!=+se.time&&I.push(Ct.fromDateTimes(x,se.time)),x=null);return Ct.merge(I)}difference(...y){return Ct.xor([this].concat(y)).map(x=>this.intersection(x)).filter(x=>x&&!x.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ii}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(y=h,x={}){return this.isValid?lr.create(this.s.loc.clone(x),y).formatInterval(this):ii}toISO(y){return this.isValid?`${this.s.toISO(y)}/${this.e.toISO(y)}`:ii}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ii}toISOTime(y){return this.isValid?`${this.s.toISOTime(y)}/${this.e.toISOTime(y)}`:ii}toFormat(y,{separator:x=" – "}={}){return this.isValid?`${this.s.toFormat(y)}${x}${this.e.toFormat(y)}`:ii}toDuration(y,x){return this.isValid?this.e.diff(this.s,y,x):it.invalid(this.invalidReason)}mapEndpoints(y){return Ct.fromDateTimes(y(this.s),y(this.e))}}class Ca{static hasDST(y=$t.defaultZone){const x=ze.now().setZone(y).set({month:12});return!y.isUniversal&&x.offset!==x.set({month:6}).offset}static isValidIANAZone(y){return ae.isValidZone(y)}static normalizeZone(y){return It(y,$t.defaultZone)}static getStartOfWeek({locale:y=null,locObj:x=null}={}){return(x||et.create(y)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:y=null,locObj:x=null}={}){return(x||et.create(y)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:y=null,locObj:x=null}={}){return(x||et.create(y)).getWeekendDays().slice()}static months(y="long",{locale:x=null,numberingSystem:T=null,locObj:I=null,outputCalendar:q="gregory"}={}){return(I||et.create(x,T,q)).months(y)}static monthsFormat(y="long",{locale:x=null,numberingSystem:T=null,locObj:I=null,outputCalendar:q="gregory"}={}){return(I||et.create(x,T,q)).months(y,!0)}static weekdays(y="long",{locale:x=null,numberingSystem:T=null,locObj:I=null}={}){return(I||et.create(x,T,null)).weekdays(y)}static weekdaysFormat(y="long",{locale:x=null,numberingSystem:T=null,locObj:I=null}={}){return(I||et.create(x,T,null)).weekdays(y,!0)}static meridiems({locale:y=null}={}){return et.create(y).meridiems()}static eras(y="short",{locale:x=null}={}){return et.create(x,null,"gregory").eras(y)}static features(){return{relative:K1(),localeWeek:J1()}}}function wx($,y){const x=I=>I.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),T=x(y)-x($);return Math.floor(it.fromMillis(T).as("days"))}function Q2($,y,x){const T=[["years",(se,we)=>we.year-se.year],["quarters",(se,we)=>we.quarter-se.quarter+(we.year-se.year)*4],["months",(se,we)=>we.month-se.month+(we.year-se.year)*12],["weeks",(se,we)=>{const De=wx(se,we);return(De-De%7)/7}],["days",wx]],I={},q=$;let X,te;for(const[se,we]of T)x.indexOf(se)>=0&&(X=se,I[se]=we($,y),te=q.plus(I),te>y?(I[se]--,$=q.plus(I),$>y&&(te=$,I[se]--,$=q.plus(I))):$=te);return[$,I,te,X]}function eF($,y,x,T){let[I,q,X,te]=Q2($,y,x);const se=y-I,we=x.filter(Xe=>["hours","minutes","seconds","milliseconds"].indexOf(Xe)>=0);we.length===0&&(X0?it.fromMillis(se,T).shiftTo(...we).plus(De):De}const tF="missing Intl.DateTimeFormat.formatToParts support";function ht($,y=x=>x){return{regex:$,deser:([x])=>y(HL(x))}}const _x="[  ]",Sx=new RegExp(_x,"g");function rF($){return $.replace(/\./g,"\\.?").replace(Sx,_x)}function Ex($){return $.replace(/\./g,"").replace(Sx," ").toLowerCase()}function pn($,y){return $===null?null:{regex:RegExp($.map(rF).join("|")),deser:([x])=>$.findIndex(T=>Ex(x)===Ex(T))+y}}function xx($,y){return{regex:$,deser:([,x,T])=>Pc(x,T),groups:y}}function Dc($){return{regex:$,deser:([y])=>y}}function nF($){return $.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function oF($,y){const x=dn(y),T=dn(y,"{2}"),I=dn(y,"{3}"),q=dn(y,"{4}"),X=dn(y,"{6}"),te=dn(y,"{1,2}"),se=dn(y,"{1,3}"),we=dn(y,"{1,6}"),De=dn(y,"{1,9}"),Xe=dn(y,"{2,4}"),vt=dn(y,"{4,6}"),Be=$r=>({regex:RegExp(nF($r.val)),deser:([li])=>li,literal:!0}),qt=($r=>{if($.literal)return Be($r);switch($r.val){case"G":return pn(y.eras("short"),0);case"GG":return pn(y.eras("long"),0);case"y":return ht(we);case"yy":return ht(Xe,Oh);case"yyyy":return ht(q);case"yyyyy":return ht(vt);case"yyyyyy":return ht(X);case"M":return ht(te);case"MM":return ht(T);case"MMM":return pn(y.months("short",!0),1);case"MMMM":return pn(y.months("long",!0),1);case"L":return ht(te);case"LL":return ht(T);case"LLL":return pn(y.months("short",!1),1);case"LLLL":return pn(y.months("long",!1),1);case"d":return ht(te);case"dd":return ht(T);case"o":return ht(se);case"ooo":return ht(I);case"HH":return ht(T);case"H":return ht(te);case"hh":return ht(T);case"h":return ht(te);case"mm":return ht(T);case"m":return ht(te);case"q":return ht(te);case"qq":return ht(T);case"s":return ht(te);case"ss":return ht(T);case"S":return ht(se);case"SSS":return ht(I);case"u":return Dc(De);case"uu":return Dc(te);case"uuu":return ht(x);case"a":return pn(y.meridiems(),0);case"kkkk":return ht(q);case"kk":return ht(Xe,Oh);case"W":return ht(te);case"WW":return ht(T);case"E":case"c":return ht(x);case"EEE":return pn(y.weekdays("short",!1),1);case"EEEE":return pn(y.weekdays("long",!1),1);case"ccc":return pn(y.weekdays("short",!0),1);case"cccc":return pn(y.weekdays("long",!0),1);case"Z":case"ZZ":return xx(new RegExp(`([+-]${te.source})(?::(${T.source}))?`),2);case"ZZZ":return xx(new RegExp(`([+-]${te.source})(${T.source})?`),2);case"z":return Dc(/[a-z_+-/]{1,256}?/i);case" ":return Dc(/[^\S\n\r]/);default:return Be($r)}})($)||{invalidReason:tF};return qt.token=$,qt}const sF={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function iF($,y,x){const{type:T,value:I}=$;if(T==="literal"){const se=/^\s+$/.test(I);return{literal:!se,val:se?" ":I}}const q=y[T];let X=T;T==="hour"&&(y.hour12!=null?X=y.hour12?"hour12":"hour24":y.hourCycle!=null?y.hourCycle==="h11"||y.hourCycle==="h12"?X="hour12":X="hour24":X=x.hour12?"hour12":"hour24");let te=sF[X];if(typeof te=="object"&&(te=te[q]),te)return{literal:!1,val:te}}function aF($){return[`^${$.map(y=>y.regex).reduce((y,x)=>`${y}(${x.source})`,"")}$`,$]}function lF($,y,x){const T=$.match(y);if(T){const I={};let q=1;for(const X in x)if(Xs(x,X)){const te=x[X],se=te.groups?te.groups+1:1;!te.literal&&te.token&&(I[te.token.val[0]]=te.deser(T.slice(q,q+se))),q+=se}return[T,I]}else return[T,{}]}function uF($){const y=I=>{switch(I){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let x=null,T;return qe($.z)||(x=ae.create($.z)),qe($.Z)||(x||(x=new Nt($.Z)),T=$.Z),qe($.q)||($.M=($.q-1)*3+1),qe($.h)||($.h<12&&$.a===1?$.h+=12:$.h===12&&$.a===0&&($.h=0)),$.G===0&&$.y&&($.y=-$.y),qe($.u)||($.S=Eh($.u)),[Object.keys($).reduce((I,q)=>{const X=y(q);return X&&(I[X]=$[q]),I},{}),x,T]}let kh=null;function cF(){return kh||(kh=ze.fromMillis(1555555555555)),kh}function dF($,y){if($.literal)return $;const x=lr.macroTokenToFormatOpts($.val),T=Tx(x,y);return T==null||T.includes(void 0)?$:T}function Ox($,y){return Array.prototype.concat(...$.map(x=>dF(x,y)))}class $x{constructor(y,x){if(this.locale=y,this.format=x,this.tokens=Ox(lr.parseFormat(x),y),this.units=this.tokens.map(T=>oF(T,y)),this.disqualifyingUnit=this.units.find(T=>T.invalidReason),!this.disqualifyingUnit){const[T,I]=aF(this.units);this.regex=RegExp(T,"i"),this.handlers=I}}explainFromTokens(y){if(this.isValid){const[x,T]=lF(y,this.regex,this.handlers),[I,q,X]=T?uF(T):[null,null,void 0];if(Xs(T,"a")&&Xs(T,"H"))throw new o("Can't include meridiem when specifying 24-hour format");return{input:y,tokens:this.tokens,regex:this.regex,rawMatches:x,matches:T,result:I,zone:q,specificOffset:X}}else return{input:y,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Cx($,y,x){return new $x($,x).explainFromTokens(y)}function fF($,y,x){const{result:T,zone:I,specificOffset:q,invalidReason:X}=Cx($,y,x);return[T,I,q,X]}function Tx($,y){if(!$)return null;const x=lr.create(y,$).dtFormatter(cF()),T=x.formatToParts(),I=x.resolvedOptions();return T.map(q=>iF(q,$,I))}const Ah="Invalid DateTime",kx=864e13;function Ta($){return new fn("unsupported zone",`the zone "${$.name}" is not supported`)}function Ph($){return $.weekData===null&&($.weekData=Cc($.c)),$.weekData}function Nh($){return $.localWeekData===null&&($.localWeekData=Cc($.c,$.loc.getMinDaysInFirstWeek(),$.loc.getStartOfWeek())),$.localWeekData}function ts($,y){const x={ts:$.ts,zone:$.zone,c:$.c,o:$.o,loc:$.loc,invalid:$.invalid};return new ze({...x,...y,old:x})}function Ax($,y,x){let T=$-y*60*1e3;const I=x.offset(T);if(y===I)return[T,y];T-=(I-y)*60*1e3;const q=x.offset(T);return I===q?[T,I]:[$-Math.min(I,q)*60*1e3,Math.max(I,q)]}function jc($,y){$+=y*60*1e3;const x=new Date($);return{year:x.getUTCFullYear(),month:x.getUTCMonth()+1,day:x.getUTCDate(),hour:x.getUTCHours(),minute:x.getUTCMinutes(),second:x.getUTCSeconds(),millisecond:x.getUTCMilliseconds()}}function Rc($,y,x){return Ax(Ac($),y,x)}function Px($,y){const x=$.o,T=$.c.year+Math.trunc(y.years),I=$.c.month+Math.trunc(y.months)+Math.trunc(y.quarters)*3,q={...$.c,year:T,month:I,day:Math.min($.c.day,kc(T,I))+Math.trunc(y.days)+Math.trunc(y.weeks)*7},X=it.fromObject({years:y.years-Math.trunc(y.years),quarters:y.quarters-Math.trunc(y.quarters),months:y.months-Math.trunc(y.months),weeks:y.weeks-Math.trunc(y.weeks),days:y.days-Math.trunc(y.days),hours:y.hours,minutes:y.minutes,seconds:y.seconds,milliseconds:y.milliseconds}).as("milliseconds"),te=Ac(q);let[se,we]=Ax(te,x,$.zone);return X!==0&&(se+=X,we=$.zone.offset(se)),{ts:se,o:we}}function ai($,y,x,T,I,q){const{setZone:X,zone:te}=x;if($&&Object.keys($).length!==0||y){const se=y||te,we=ze.fromObject($,{...x,zone:se,specificOffset:q});return X?we:we.setZone(te)}else return ze.invalid(new fn("unparsable",`the input "${I}" can't be parsed as ${T}`))}function Mc($,y,x=!0){return $.isValid?lr.create(et.create("en-US"),{allowZ:x,forceSimple:!0}).formatDateTimeFromString($,y):null}function Ih($,y,x){const T=$.c.year>9999||$.c.year<0;let I="";if(T&&$.c.year>=0&&(I+="+"),I+=Mt($.c.year,T?6:4),x==="year")return I;if(y){if(I+="-",I+=Mt($.c.month),x==="month")return I;I+="-"}else if(I+=Mt($.c.month),x==="month")return I;return I+=Mt($.c.day),I}function Nx($,y,x,T,I,q,X){let te=!x||$.c.millisecond!==0||$.c.second!==0,se="";switch(X){case"day":case"month":case"year":break;default:if(se+=Mt($.c.hour),X==="hour")break;if(y){if(se+=":",se+=Mt($.c.minute),X==="minute")break;te&&(se+=":",se+=Mt($.c.second))}else{if(se+=Mt($.c.minute),X==="minute")break;te&&(se+=Mt($.c.second))}if(X==="second")break;te&&(!T||$.c.millisecond!==0)&&(se+=".",se+=Mt($.c.millisecond,3))}return I&&($.isOffsetFixed&&$.offset===0&&!q?se+="Z":$.o<0?(se+="-",se+=Mt(Math.trunc(-$.o/60)),se+=":",se+=Mt(Math.trunc(-$.o%60))):(se+="+",se+=Mt(Math.trunc($.o/60)),se+=":",se+=Mt(Math.trunc($.o%60)))),q&&(se+="["+$.zone.ianaName+"]"),se}const Ix={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},pF={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hF={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Bc=["year","month","day","hour","minute","second","millisecond"],mF=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],gF=["year","ordinal","hour","minute","second","millisecond"];function Vc($){const y={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[$.toLowerCase()];if(!y)throw new s($);return y}function Dx($){switch($.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Vc($)}}function yF($){if(ka===void 0&&(ka=$t.now()),$.type!=="iana")return $.offset(ka);const y=$.name;let x=Dh.get(y);return x===void 0&&(x=$.offset(ka),Dh.set(y,x)),x}function jx($,y){const x=It(y.zone,$t.defaultZone);if(!x.isValid)return ze.invalid(Ta(x));const T=et.fromObject(y);let I,q;if(qe($.year))I=$t.now();else{for(const se of Bc)qe($[se])&&($[se]=Ix[se]);const X=G1($)||W1($);if(X)return ze.invalid(X);const te=yF(x);[I,q]=Rc($,te,x)}return new ze({ts:I,zone:x,loc:T,o:q})}function Rx($,y,x){const T=qe(x.round)?!0:x.round,I=qe(x.rounding)?"trunc":x.rounding,q=(te,se)=>(te=xh(te,T||x.calendary?0:2,x.calendary?"round":I),y.loc.clone(x).relFormatter(x).format(te,se)),X=te=>x.calendary?y.hasSame($,te)?0:y.startOf(te).diff($.startOf(te),te).get(te):y.diff($,te).get(te);if(x.unit)return q(X(x.unit),x.unit);for(const te of x.units){const se=X(te);if(Math.abs(se)>=1)return q(se,te)}return q($>y?-0:0,x.units[x.units.length-1])}function Mx($){let y={},x;return $.length>0&&typeof $[$.length-1]=="object"?(y=$[$.length-1],x=Array.from($).slice(0,$.length-1)):x=Array.from($),[y,x]}let ka;const Dh=new Map;class ze{constructor(y){const x=y.zone||$t.defaultZone;let T=y.invalid||(Number.isNaN(y.ts)?new fn("invalid input"):null)||(x.isValid?null:Ta(x));this.ts=qe(y.ts)?$t.now():y.ts;let I=null,q=null;if(!T)if(y.old&&y.old.ts===this.ts&&y.old.zone.equals(x))[I,q]=[y.old.c,y.old.o];else{const X=To(y.o)&&!y.old?y.o:x.offset(this.ts);I=jc(this.ts,X),T=Number.isNaN(I.year)?new fn("invalid input"):null,I=T?null:I,q=T?null:X}this._zone=x,this.loc=y.loc||et.create(),this.invalid=T,this.weekData=null,this.localWeekData=null,this.c=I,this.o=q,this.isLuxonDateTime=!0}static now(){return new ze({})}static local(){const[y,x]=Mx(arguments),[T,I,q,X,te,se,we]=x;return jx({year:T,month:I,day:q,hour:X,minute:te,second:se,millisecond:we},y)}static utc(){const[y,x]=Mx(arguments),[T,I,q,X,te,se,we]=x;return y.zone=Nt.utcInstance,jx({year:T,month:I,day:q,hour:X,minute:te,second:se,millisecond:we},y)}static fromJSDate(y,x={}){const T=ZL(y)?y.valueOf():NaN;if(Number.isNaN(T))return ze.invalid("invalid input");const I=It(x.zone,$t.defaultZone);return I.isValid?new ze({ts:T,zone:I,loc:et.fromObject(x)}):ze.invalid(Ta(I))}static fromMillis(y,x={}){if(To(y))return y<-kx||y>kx?ze.invalid("Timestamp out of range"):new ze({ts:y,zone:It(x.zone,$t.defaultZone),loc:et.fromObject(x)});throw new i(`fromMillis requires a numerical input, but received a ${typeof y} with value ${y}`)}static fromSeconds(y,x={}){if(To(y))return new ze({ts:y*1e3,zone:It(x.zone,$t.defaultZone),loc:et.fromObject(x)});throw new i("fromSeconds requires a numerical input")}static fromObject(y,x={}){y=y||{};const T=It(x.zone,$t.defaultZone);if(!T.isValid)return ze.invalid(Ta(T));const I=et.fromObject(x),q=Nc(y,Dx),{minDaysInFirstWeek:X,startOfWeek:te}=H1(q,I),se=$t.now(),we=qe(x.specificOffset)?T.offset(se):x.specificOffset,De=!qe(q.ordinal),Xe=!qe(q.year),vt=!qe(q.month)||!qe(q.day),Be=Xe||vt,qt=q.weekYear||q.weekNumber;if((Be||De)&&qt)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(vt&&De)throw new o("Can't mix ordinal dates with month/day");const $r=qt||q.weekday&&!Be;let li,Lc,Pa=jc(se,we);$r?(li=mF,Lc=pF,Pa=Cc(Pa,X,te)):De?(li=gF,Lc=hF,Pa=_h(Pa)):(li=Bc,Lc=Ix);let Bx=!1;for(const Ia of li){const EF=q[Ia];qe(EF)?Bx?q[Ia]=Lc[Ia]:q[Ia]=Pa[Ia]:Bx=!0}const bF=$r?WL(q,X,te):De?KL(q):G1(q),Vx=bF||W1(q);if(Vx)return ze.invalid(Vx);const wF=$r?q1(q,X,te):De?z1(q):q,[_F,SF]=Rc(wF,we,T),Na=new ze({ts:_F,zone:T,o:SF,loc:I});return q.weekday&&Be&&y.weekday!==Na.weekday?ze.invalid("mismatched weekday",`you can't specify both a weekday of ${q.weekday} and a date of ${Na.toISO()}`):Na.isValid?Na:ze.invalid(Na.invalid)}static fromISO(y,x={}){const[T,I]=V2(y);return ai(T,I,x,"ISO 8601",y)}static fromRFC2822(y,x={}){const[T,I]=L2(y);return ai(T,I,x,"RFC 2822",y)}static fromHTTP(y,x={}){const[T,I]=F2(y);return ai(T,I,x,"HTTP",x)}static fromFormat(y,x,T={}){if(qe(y)||qe(x))throw new i("fromFormat requires an input string and a format");const{locale:I=null,numberingSystem:q=null}=T,X=et.fromOpts({locale:I,numberingSystem:q,defaultToEN:!0}),[te,se,we,De]=fF(X,y,x);return De?ze.invalid(De):ai(te,se,T,`format ${x}`,y,we)}static fromString(y,x,T={}){return ze.fromFormat(y,x,T)}static fromSQL(y,x={}){const[T,I]=K2(y);return ai(T,I,x,"SQL",y)}static invalid(y,x=null){if(!y)throw new i("need to specify a reason the DateTime is invalid");const T=y instanceof fn?y:new fn(y,x);if($t.throwOnInvalid)throw new t(T);return new ze({invalid:T})}static isDateTime(y){return y&&y.isLuxonDateTime||!1}static parseFormatForOpts(y,x={}){const T=Tx(y,et.fromObject(x));return T?T.map(I=>I?I.val:null).join(""):null}static expandFormat(y,x={}){return Ox(lr.parseFormat(y),et.fromObject(x)).map(T=>T.val).join("")}static resetCache(){ka=void 0,Dh.clear()}get(y){return this[y]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ph(this).weekYear:NaN}get weekNumber(){return this.isValid?Ph(this).weekNumber:NaN}get weekday(){return this.isValid?Ph(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Nh(this).weekday:NaN}get localWeekNumber(){return this.isValid?Nh(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Nh(this).weekYear:NaN}get ordinal(){return this.isValid?_h(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ca.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ca.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ca.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ca.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const y=864e5,x=6e4,T=Ac(this.c),I=this.zone.offset(T-y),q=this.zone.offset(T+y),X=this.zone.offset(T-I*x),te=this.zone.offset(T-q*x);if(X===te)return[this];const se=T-X*x,we=T-te*x,De=jc(se,X),Xe=jc(we,te);return De.hour===Xe.hour&&De.minute===Xe.minute&&De.second===Xe.second&&De.millisecond===Xe.millisecond?[ts(this,{ts:se}),ts(this,{ts:we})]:[this]}get isInLeapYear(){return Sa(this.year)}get daysInMonth(){return kc(this.year,this.month)}get daysInYear(){return this.isValid?Qs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ea(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ea(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(y={}){const{locale:x,numberingSystem:T,calendar:I}=lr.create(this.loc.clone(y),y).resolvedOptions(this);return{locale:x,numberingSystem:T,outputCalendar:I}}toUTC(y=0,x={}){return this.setZone(Nt.instance(y),x)}toLocal(){return this.setZone($t.defaultZone)}setZone(y,{keepLocalTime:x=!1,keepCalendarTime:T=!1}={}){if(y=It(y,$t.defaultZone),y.equals(this.zone))return this;if(y.isValid){let I=this.ts;if(x||T){const q=y.offset(this.ts),X=this.toObject();[I]=Rc(X,q,y)}return ts(this,{ts:I,zone:y})}else return ze.invalid(Ta(y))}reconfigure({locale:y,numberingSystem:x,outputCalendar:T}={}){const I=this.loc.clone({locale:y,numberingSystem:x,outputCalendar:T});return ts(this,{loc:I})}setLocale(y){return this.reconfigure({locale:y})}set(y){if(!this.isValid)return this;const x=Nc(y,Dx),{minDaysInFirstWeek:T,startOfWeek:I}=H1(x,this.loc),q=!qe(x.weekYear)||!qe(x.weekNumber)||!qe(x.weekday),X=!qe(x.ordinal),te=!qe(x.year),se=!qe(x.month)||!qe(x.day),we=te||se,De=x.weekYear||x.weekNumber;if((we||X)&&De)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(se&&X)throw new o("Can't mix ordinal dates with month/day");let Xe;q?Xe=q1({...Cc(this.c,T,I),...x},T,I):qe(x.ordinal)?(Xe={...this.toObject(),...x},qe(x.day)&&(Xe.day=Math.min(kc(Xe.year,Xe.month),Xe.day))):Xe=z1({..._h(this.c),...x});const[vt,Be]=Rc(Xe,this.o,this.zone);return ts(this,{ts:vt,o:Be})}plus(y){if(!this.isValid)return this;const x=it.fromDurationLike(y);return ts(this,Px(this,x))}minus(y){if(!this.isValid)return this;const x=it.fromDurationLike(y).negate();return ts(this,Px(this,x))}startOf(y,{useLocaleWeeks:x=!1}={}){if(!this.isValid)return this;const T={},I=it.normalizeUnit(y);switch(I){case"years":T.month=1;case"quarters":case"months":T.day=1;case"weeks":case"days":T.hour=0;case"hours":T.minute=0;case"minutes":T.second=0;case"seconds":T.millisecond=0;break}if(I==="weeks")if(x){const q=this.loc.getStartOfWeek(),{weekday:X}=this;X=3&&(se+="T"),se+=Nx(this,te,x,T,I,q,X),se}toISODate({format:y="extended",precision:x="day"}={}){return this.isValid?Ih(this,y==="extended",Vc(x)):null}toISOWeekDate(){return Mc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:y=!1,suppressSeconds:x=!1,includeOffset:T=!0,includePrefix:I=!1,extendedZone:q=!1,format:X="extended",precision:te="milliseconds"}={}){return this.isValid?(te=Vc(te),(I&&Bc.indexOf(te)>=3?"T":"")+Nx(this,X==="extended",x,y,T,q,te)):null}toRFC2822(){return Mc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Mc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ih(this,!0):null}toSQLTime({includeOffset:y=!0,includeZone:x=!1,includeOffsetSpace:T=!0}={}){let I="HH:mm:ss.SSS";return(x||y)&&(T&&(I+=" "),x?I+="z":y&&(I+="ZZ")),Mc(this,I,!0)}toSQL(y={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(y)}`:null}toString(){return this.isValid?this.toISO():Ah}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(y={}){if(!this.isValid)return{};const x={...this.c};return y.includeConfig&&(x.outputCalendar=this.outputCalendar,x.numberingSystem=this.loc.numberingSystem,x.locale=this.loc.locale),x}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(y,x="milliseconds",T={}){if(!this.isValid||!y.isValid)return it.invalid("created by diffing an invalid DateTime");const I={locale:this.locale,numberingSystem:this.numberingSystem,...T},q=YL(x).map(it.normalizeUnit),X=y.valueOf()>this.valueOf(),te=X?this:y,se=X?y:this,we=eF(te,se,q,I);return X?we.negate():we}diffNow(y="milliseconds",x={}){return this.diff(ze.now(),y,x)}until(y){return this.isValid?Ct.fromDateTimes(this,y):this}hasSame(y,x,T){if(!this.isValid)return!1;const I=y.valueOf(),q=this.setZone(y.zone,{keepLocalTime:!0});return q.startOf(x,T)<=I&&I<=q.endOf(x,T)}equals(y){return this.isValid&&y.isValid&&this.valueOf()===y.valueOf()&&this.zone.equals(y.zone)&&this.loc.equals(y.loc)}toRelative(y={}){if(!this.isValid)return null;const x=y.base||ze.fromObject({},{zone:this.zone}),T=y.padding?thisx.valueOf(),Math.min)}static max(...y){if(!y.every(ze.isDateTime))throw new i("max requires all arguments be DateTimes");return Z1(y,x=>x.valueOf(),Math.max)}static fromFormatExplain(y,x,T={}){const{locale:I=null,numberingSystem:q=null}=T,X=et.fromOpts({locale:I,numberingSystem:q,defaultToEN:!0});return Cx(X,y,x)}static fromStringExplain(y,x,T={}){return ze.fromFormatExplain(y,x,T)}static buildFormatParser(y,x={}){const{locale:T=null,numberingSystem:I=null}=x,q=et.fromOpts({locale:T,numberingSystem:I,defaultToEN:!0});return new $x(q,y)}static fromFormatParser(y,x,T={}){if(qe(y)||qe(x))throw new i("fromFormatParser requires an input string and a format parser");const{locale:I=null,numberingSystem:q=null}=T,X=et.fromOpts({locale:I,numberingSystem:q,defaultToEN:!0});if(!X.equals(x.locale))throw new i(`fromFormatParser called with a locale of ${X}, but the format parser was created for ${x.locale}`);const{result:te,zone:se,specificOffset:we,invalidReason:De}=x.explainFromTokens(y);return De?ze.invalid(De):ai(te,se,T,`format ${x.format}`,y,we)}static get DATE_SHORT(){return h}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return d}static get DATE_FULL(){return g}static get DATE_HUGE(){return v}static get TIME_SIMPLE(){return p}static get TIME_WITH_SECONDS(){return m}static get TIME_WITH_SHORT_OFFSET(){return b}static get TIME_WITH_LONG_OFFSET(){return w}static get TIME_24_SIMPLE(){return S}static get TIME_24_WITH_SECONDS(){return _}static get TIME_24_WITH_SHORT_OFFSET(){return E}static get TIME_24_WITH_LONG_OFFSET(){return O}static get DATETIME_SHORT(){return P}static get DATETIME_SHORT_WITH_SECONDS(){return A}static get DATETIME_MED(){return V}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return M}static get DATETIME_FULL(){return z}static get DATETIME_FULL_WITH_SECONDS(){return F}static get DATETIME_HUGE(){return ue}static get DATETIME_HUGE_WITH_SECONDS(){return K}}function Aa($){if(ze.isDateTime($))return $;if($&&$.valueOf&&To($.valueOf()))return ze.fromJSDate($);if($&&typeof $=="object")return ze.fromObject($);throw new i(`Unknown datetime argument: ${$}, of type ${typeof $}`)}const vF="3.7.1";return _r.DateTime=ze,_r.Duration=it,_r.FixedOffsetZone=Nt,_r.IANAZone=ae,_r.Info=Ca,_r.Interval=Ct,_r.InvalidZone=wa,_r.Settings=$t,_r.SystemZone=ve,_r.VERSION=vF,_r.Zone=he,_r}var Mp={exports:{}},s_={},eo={},Go={},i_={},a_={},l_={},u_;function lu(){return u_||(u_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(b){if(super(),!e.IDENTIFIER.test(b))throw new Error("CodeGen: name must be a valid identifier");this.str=b}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(b){super(),this._items=typeof b=="string"?[b]:b}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const b=this._items[0];return b===""||b==='""'}get str(){var b;return(b=this._str)!==null&&b!==void 0?b:this._str=this._items.reduce((w,S)=>`${w}${S}`,"")}get names(){var b;return(b=this._names)!==null&&b!==void 0?b:this._names=this._items.reduce((w,S)=>(S instanceof r&&(w[S.str]=(w[S.str]||0)+1),w),{})}}e._Code=n,e.nil=new n("");function o(m,...b){const w=[m[0]];let S=0;for(;S{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${u}${h.scopePath}`})}scopeCode(u=this._values,c,h){return this._reduceValues(u,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},c,h)}_reduceValues(u,c,h={},f){let d=t.nil;for(const g in u){const v=u[g];if(!v)continue;const p=h[g]=h[g]||new Map;v.forEach(m=>{if(p.has(m))return;p.set(m,n.Started);let b=c(m);if(b){const w=this.opts.es5?e.varKinds.var:e.varKinds.const;d=(0,t._)`${d}${w} ${m} = ${b};${this.opts._n}`}else if(b=f?.(m))d=(0,t._)`${d}${b}${this.opts._n}`;else throw new r(m);p.set(m,n.Completed)})}return d}}e.ValueScope=a}(c_)),c_}var p_;function Ge(){return p_||(p_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=lu(),r=f_();var n=lu();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=f_();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(R,H){return this}}class i extends s{constructor(R,H,ae){super(),this.varKind=R,this.name=H,this.rhs=ae}render({es5:R,_n:H}){const ae=R?r.varKinds.var:this.varKind,Ee=this.rhs===void 0?"":` = ${this.rhs}`;return`${ae} ${this.name}${Ee};`+H}optimizeNames(R,H){if(R[this.name.str])return this.rhs&&(this.rhs=F(this.rhs,R,H)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends s{constructor(R,H,ae){super(),this.lhs=R,this.rhs=H,this.sideEffects=ae}render({_n:R}){return`${this.lhs} = ${this.rhs};`+R}optimizeNames(R,H){if(!(this.lhs instanceof t.Name&&!R[this.lhs.str]&&!this.sideEffects))return this.rhs=F(this.rhs,R,H),this}get names(){const R=this.lhs instanceof t.Name?{}:{...this.lhs.names};return z(R,this.rhs)}}class l extends a{constructor(R,H,ae,Ee){super(R,ae,Ee),this.op=H}render({_n:R}){return`${this.lhs} ${this.op}= ${this.rhs};`+R}}class u extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`${this.label}:`+R}}class c extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`break${this.label?` ${this.label}`:""};`+R}}class h extends s{constructor(R){super(),this.error=R}render({_n:R}){return`throw ${this.error};`+R}get names(){return this.error.names}}class f extends s{constructor(R){super(),this.code=R}render({_n:R}){return`${this.code};`+R}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(R,H){return this.code=F(this.code,R,H),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class d extends s{constructor(R=[]){super(),this.nodes=R}render(R){return this.nodes.reduce((H,ae)=>H+ae.render(R),"")}optimizeNodes(){const{nodes:R}=this;let H=R.length;for(;H--;){const ae=R[H].optimizeNodes();Array.isArray(ae)?R.splice(H,1,...ae):ae?R[H]=ae:R.splice(H,1)}return R.length>0?this:void 0}optimizeNames(R,H){const{nodes:ae}=this;let Ee=ae.length;for(;Ee--;){const Ce=ae[Ee];Ce.optimizeNames(R,H)||(ue(R,Ce.names),ae.splice(Ee,1))}return ae.length>0?this:void 0}get names(){return this.nodes.reduce((R,H)=>M(R,H.names),{})}}class g extends d{render(R){return"{"+R._n+super.render(R)+"}"+R._n}}class v extends d{}class p extends g{}p.kind="else";class m extends g{constructor(R,H){super(H),this.condition=R}render(R){let H=`if(${this.condition})`+super.render(R);return this.else&&(H+="else "+this.else.render(R)),H}optimizeNodes(){super.optimizeNodes();const R=this.condition;if(R===!0)return this.nodes;let H=this.else;if(H){const ae=H.optimizeNodes();H=this.else=Array.isArray(ae)?new p(ae):ae}if(H)return R===!1?H instanceof m?H:H.nodes:this.nodes.length?this:new m(K(R),H instanceof m?[H]:H.nodes);if(!(R===!1||!this.nodes.length))return this}optimizeNames(R,H){var ae;if(this.else=(ae=this.else)===null||ae===void 0?void 0:ae.optimizeNames(R,H),!!(super.optimizeNames(R,H)||this.else))return this.condition=F(this.condition,R,H),this}get names(){const R=super.names;return z(R,this.condition),this.else&&M(R,this.else.names),R}}m.kind="if";class b extends g{}b.kind="for";class w extends b{constructor(R){super(),this.iteration=R}render(R){return`for(${this.iteration})`+super.render(R)}optimizeNames(R,H){if(super.optimizeNames(R,H))return this.iteration=F(this.iteration,R,H),this}get names(){return M(super.names,this.iteration.names)}}class S extends b{constructor(R,H,ae,Ee){super(),this.varKind=R,this.name=H,this.from=ae,this.to=Ee}render(R){const H=R.es5?r.varKinds.var:this.varKind,{name:ae,from:Ee,to:Ce}=this;return`for(${H} ${ae}=${Ee}; ${ae}<${Ce}; ${ae}++)`+super.render(R)}get names(){const R=z(super.names,this.from);return z(R,this.to)}}class _ extends b{constructor(R,H,ae,Ee){super(),this.loop=R,this.varKind=H,this.name=ae,this.iterable=Ee}render(R){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(R)}optimizeNames(R,H){if(super.optimizeNames(R,H))return this.iterable=F(this.iterable,R,H),this}get names(){return M(super.names,this.iterable.names)}}class E extends g{constructor(R,H,ae){super(),this.name=R,this.args=H,this.async=ae}render(R){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(R)}}E.kind="func";class O extends d{render(R){return"return "+super.render(R)}}O.kind="return";class P extends g{render(R){let H="try"+super.render(R);return this.catch&&(H+=this.catch.render(R)),this.finally&&(H+=this.finally.render(R)),H}optimizeNodes(){var R,H;return super.optimizeNodes(),(R=this.catch)===null||R===void 0||R.optimizeNodes(),(H=this.finally)===null||H===void 0||H.optimizeNodes(),this}optimizeNames(R,H){var ae,Ee;return super.optimizeNames(R,H),(ae=this.catch)===null||ae===void 0||ae.optimizeNames(R,H),(Ee=this.finally)===null||Ee===void 0||Ee.optimizeNames(R,H),this}get names(){const R=super.names;return this.catch&&M(R,this.catch.names),this.finally&&M(R,this.finally.names),R}}class A extends g{constructor(R){super(),this.error=R}render(R){return`catch(${this.error})`+super.render(R)}}A.kind="catch";class V extends g{render(R){return"finally"+super.render(R)}}V.kind="finally";class D{constructor(R,H={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...H,_n:H.lines?` -`:""},this._extScope=R,this._scope=new r.Scope({parent:R}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(R){return this._scope.name(R)}scopeName(R){return this._extScope.name(R)}scopeValue(R,H){const ae=this._extScope.value(R,H);return(this._values[ae.prefix]||(this._values[ae.prefix]=new Set)).add(ae),ae}getScopeValue(R,H){return this._extScope.getValue(R,H)}scopeRefs(R){return this._extScope.scopeRefs(R,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(R,H,ae,Ee){const Ce=this._scope.toName(H);return ae!==void 0&&Ee&&(this._constants[Ce.str]=ae),this._leafNode(new i(R,Ce,ae)),Ce}const(R,H,ae){return this._def(r.varKinds.const,R,H,ae)}let(R,H,ae){return this._def(r.varKinds.let,R,H,ae)}var(R,H,ae){return this._def(r.varKinds.var,R,H,ae)}assign(R,H,ae){return this._leafNode(new a(R,H,ae))}add(R,H){return this._leafNode(new l(R,e.operators.ADD,H))}code(R){return typeof R=="function"?R():R!==t.nil&&this._leafNode(new f(R)),this}object(...R){const H=["{"];for(const[ae,Ee]of R)H.length>1&&H.push(","),H.push(ae),(ae!==Ee||this.opts.es5)&&(H.push(":"),(0,t.addCodeArg)(H,Ee));return H.push("}"),new t._Code(H)}if(R,H,ae){if(this._blockNode(new m(R)),H&&ae)this.code(H).else().code(ae).endIf();else if(H)this.code(H).endIf();else if(ae)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(R){return this._elseNode(new m(R))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(m,p)}_for(R,H){return this._blockNode(R),H&&this.code(H).endFor(),this}for(R,H){return this._for(new w(R),H)}forRange(R,H,ae,Ee,Ce=this.opts.es5?r.varKinds.var:r.varKinds.let){const Re=this._scope.toName(R);return this._for(new S(Ce,Re,H,ae),()=>Ee(Re))}forOf(R,H,ae,Ee=r.varKinds.const){const Ce=this._scope.toName(R);if(this.opts.es5){const Re=H instanceof t.Name?H:this.var("_arr",H);return this.forRange("_i",0,(0,t._)`${Re}.length`,Te=>{this.var(Ce,(0,t._)`${Re}[${Te}]`),ae(Ce)})}return this._for(new _("of",Ee,Ce,H),()=>ae(Ce))}forIn(R,H,ae,Ee=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(R,(0,t._)`Object.keys(${H})`,ae);const Ce=this._scope.toName(R);return this._for(new _("in",Ee,Ce,H),()=>ae(Ce))}endFor(){return this._endBlockNode(b)}label(R){return this._leafNode(new u(R))}break(R){return this._leafNode(new c(R))}return(R){const H=new O;if(this._blockNode(H),this.code(R),H.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(O)}try(R,H,ae){if(!H&&!ae)throw new Error('CodeGen: "try" without "catch" and "finally"');const Ee=new P;if(this._blockNode(Ee),this.code(R),H){const Ce=this.name("e");this._currNode=Ee.catch=new A(Ce),H(Ce)}return ae&&(this._currNode=Ee.finally=new V,this.code(ae)),this._endBlockNode(A,V)}throw(R){return this._leafNode(new h(R))}block(R,H){return this._blockStarts.push(this._nodes.length),R&&this.code(R).endBlock(H),this}endBlock(R){const H=this._blockStarts.pop();if(H===void 0)throw new Error("CodeGen: not in self-balancing block");const ae=this._nodes.length-H;if(ae<0||R!==void 0&&ae!==R)throw new Error(`CodeGen: wrong number of nodes: ${ae} vs ${R} expected`);return this._nodes.length=H,this}func(R,H=t.nil,ae,Ee){return this._blockNode(new E(R,H,ae)),Ee&&this.code(Ee).endFunc(),this}endFunc(){return this._endBlockNode(E)}optimize(R=1){for(;R-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(R){return this._currNode.nodes.push(R),this}_blockNode(R){this._currNode.nodes.push(R),this._nodes.push(R)}_endBlockNode(R,H){const ae=this._currNode;if(ae instanceof R||H&&ae instanceof H)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${H?`${R.kind}/${H.kind}`:R.kind}"`)}_elseNode(R){const H=this._currNode;if(!(H instanceof m))throw new Error('CodeGen: "else" without "if"');return this._currNode=H.else=R,this}get _root(){return this._nodes[0]}get _currNode(){const R=this._nodes;return R[R.length-1]}set _currNode(R){const H=this._nodes;H[H.length-1]=R}}e.CodeGen=D;function M(re,R){for(const H in R)re[H]=(re[H]||0)+(R[H]||0);return re}function z(re,R){return R instanceof t._CodeOrName?M(re,R.names):re}function F(re,R,H){if(re instanceof t.Name)return ae(re);if(!Ee(re))return re;return new t._Code(re._items.reduce((Ce,Re)=>(Re instanceof t.Name&&(Re=ae(Re)),Re instanceof t._Code?Ce.push(...Re._items):Ce.push(Re),Ce),[]));function ae(Ce){const Re=H[Ce.str];return Re===void 0||R[Ce.str]!==1?Ce:(delete R[Ce.str],Re)}function Ee(Ce){return Ce instanceof t._Code&&Ce._items.some(Re=>Re instanceof t.Name&&R[Re.str]===1&&H[Re.str]!==void 0)}}function ue(re,R){for(const H in R)re[H]=(re[H]||0)-(R[H]||0)}function K(re){return typeof re=="boolean"||typeof re=="number"||re===null?!re:(0,t._)`!${Y(re)}`}e.not=K;const he=W(e.operators.AND);function ie(...re){return re.reduce(he)}e.and=ie;const ve=W(e.operators.OR);function ce(...re){return re.reduce(ve)}e.or=ce;function W(re){return(R,H)=>R===t.nil?H:H===t.nil?R:(0,t._)`${Y(R)} ${re} ${Y(H)}`}function Y(re){return re instanceof t.Name?re:(0,t._)`(${re})`}}(a_)),a_}var rt={},h_;function ot(){if(h_)return rt;h_=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.checkStrictMode=rt.getErrorPath=rt.Type=rt.useFunc=rt.setEvaluated=rt.evaluatedPropsToName=rt.mergeEvaluated=rt.eachItem=rt.unescapeJsonPointer=rt.escapeJsonPointer=rt.escapeFragment=rt.unescapeFragment=rt.schemaRefOrVal=rt.schemaHasRulesButRef=rt.schemaHasRules=rt.checkUnknownRules=rt.alwaysValidSchema=rt.toHash=void 0;const e=Ge(),t=lu();function r(_){const E={};for(const O of _)E[O]=!0;return E}rt.toHash=r;function n(_,E){return typeof E=="boolean"?E:Object.keys(E).length===0?!0:(o(_,E),!s(E,_.self.RULES.all))}rt.alwaysValidSchema=n;function o(_,E=_.schema){const{opts:O,self:P}=_;if(!O.strictSchema||typeof E=="boolean")return;const A=P.RULES.keywords;for(const V in E)A[V]||S(_,`unknown keyword: "${V}"`)}rt.checkUnknownRules=o;function s(_,E){if(typeof _=="boolean")return!_;for(const O in _)if(E[O])return!0;return!1}rt.schemaHasRules=s;function i(_,E){if(typeof _=="boolean")return!_;for(const O in _)if(O!=="$ref"&&E.all[O])return!0;return!1}rt.schemaHasRulesButRef=i;function a({topSchemaRef:_,schemaPath:E},O,P,A){if(!A){if(typeof O=="number"||typeof O=="boolean")return O;if(typeof O=="string")return(0,e._)`${O}`}return(0,e._)`${_}${E}${(0,e.getProperty)(P)}`}rt.schemaRefOrVal=a;function l(_){return h(decodeURIComponent(_))}rt.unescapeFragment=l;function u(_){return encodeURIComponent(c(_))}rt.escapeFragment=u;function c(_){return typeof _=="number"?`${_}`:_.replace(/~/g,"~0").replace(/\//g,"~1")}rt.escapeJsonPointer=c;function h(_){return _.replace(/~1/g,"/").replace(/~0/g,"~")}rt.unescapeJsonPointer=h;function f(_,E){if(Array.isArray(_))for(const O of _)E(O);else E(_)}rt.eachItem=f;function d({mergeNames:_,mergeToName:E,mergeValues:O,resultToName:P}){return(A,V,D,M)=>{const z=D===void 0?V:D instanceof e.Name?(V instanceof e.Name?_(A,V,D):E(A,V,D),D):V instanceof e.Name?(E(A,D,V),V):O(V,D);return M===e.Name&&!(z instanceof e.Name)?P(A,z):z}}rt.mergeEvaluated={props:d({mergeNames:(_,E,O)=>_.if((0,e._)`${O} !== true && ${E} !== undefined`,()=>{_.if((0,e._)`${E} === true`,()=>_.assign(O,!0),()=>_.assign(O,(0,e._)`${O} || {}`).code((0,e._)`Object.assign(${O}, ${E})`))}),mergeToName:(_,E,O)=>_.if((0,e._)`${O} !== true`,()=>{E===!0?_.assign(O,!0):(_.assign(O,(0,e._)`${O} || {}`),v(_,O,E))}),mergeValues:(_,E)=>_===!0?!0:{..._,...E},resultToName:g}),items:d({mergeNames:(_,E,O)=>_.if((0,e._)`${O} !== true && ${E} !== undefined`,()=>_.assign(O,(0,e._)`${E} === true ? true : ${O} > ${E} ? ${O} : ${E}`)),mergeToName:(_,E,O)=>_.if((0,e._)`${O} !== true`,()=>_.assign(O,E===!0?!0:(0,e._)`${O} > ${E} ? ${O} : ${E}`)),mergeValues:(_,E)=>_===!0?!0:Math.max(_,E),resultToName:(_,E)=>_.var("items",E)})};function g(_,E){if(E===!0)return _.var("props",!0);const O=_.var("props",(0,e._)`{}`);return E!==void 0&&v(_,O,E),O}rt.evaluatedPropsToName=g;function v(_,E,O){Object.keys(O).forEach(P=>_.assign((0,e._)`${E}${(0,e.getProperty)(P)}`,!0))}rt.setEvaluated=v;const p={};function m(_,E){return _.scopeValue("func",{ref:E,code:p[E.code]||(p[E.code]=new t._Code(E.code))})}rt.useFunc=m;var b;(function(_){_[_.Num=0]="Num",_[_.Str=1]="Str"})(b||(rt.Type=b={}));function w(_,E,O){if(_ instanceof e.Name){const P=E===b.Num;return O?P?(0,e._)`"[" + ${_} + "]"`:(0,e._)`"['" + ${_} + "']"`:P?(0,e._)`"/" + ${_}`:(0,e._)`"/" + ${_}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return O?(0,e.getProperty)(_).toString():"/"+c(_)}rt.getErrorPath=w;function S(_,E,O=_.opts.strictSchema){if(O){if(E=`strict mode: ${E}`,O===!0)throw new Error(E);_.self.logger.warn(E)}}return rt.checkStrictMode=S,rt}var uu={},m_;function rn(){if(m_)return uu;m_=1,Object.defineProperty(uu,"__esModule",{value:!0});const e=Ge(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return uu.default=t,uu}var g_;function cu(){return g_||(g_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Ge(),r=ot(),n=rn();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:m})=>m?(0,t.str)`"${p}" keyword must be ${m} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function o(p,m=e.keywordError,b,w){const{it:S}=p,{gen:_,compositeRule:E,allErrors:O}=S,P=h(p,m,b);w??(E||O)?l(_,P):u(S,(0,t._)`[${P}]`)}e.reportError=o;function s(p,m=e.keywordError,b){const{it:w}=p,{gen:S,compositeRule:_,allErrors:E}=w,O=h(p,m,b);l(S,O),_||E||u(w,n.default.vErrors)}e.reportExtraError=s;function i(p,m){p.assign(n.default.errors,m),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(m,()=>p.assign((0,t._)`${n.default.vErrors}.length`,m),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=i;function a({gen:p,keyword:m,schemaValue:b,data:w,errsCount:S,it:_}){if(S===void 0)throw new Error("ajv implementation error");const E=p.name("err");p.forRange("i",S,n.default.errors,O=>{p.const(E,(0,t._)`${n.default.vErrors}[${O}]`),p.if((0,t._)`${E}.instancePath === undefined`,()=>p.assign((0,t._)`${E}.instancePath`,(0,t.strConcat)(n.default.instancePath,_.errorPath))),p.assign((0,t._)`${E}.schemaPath`,(0,t.str)`${_.errSchemaPath}/${m}`),_.opts.verbose&&(p.assign((0,t._)`${E}.schema`,b),p.assign((0,t._)`${E}.data`,w))})}e.extendErrors=a;function l(p,m){const b=p.const("err",m);p.if((0,t._)`${n.default.vErrors} === null`,()=>p.assign(n.default.vErrors,(0,t._)`[${b}]`),(0,t._)`${n.default.vErrors}.push(${b})`),p.code((0,t._)`${n.default.errors}++`)}function u(p,m){const{gen:b,validateName:w,schemaEnv:S}=p;S.$async?b.throw((0,t._)`new ${p.ValidationError}(${m})`):(b.assign((0,t._)`${w}.errors`,m),b.return(!1))}const c={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function h(p,m,b){const{createErrors:w}=p.it;return w===!1?(0,t._)`{}`:f(p,m,b)}function f(p,m,b={}){const{gen:w,it:S}=p,_=[d(S,b),g(p,b)];return v(p,m,_),w.object(..._)}function d({errorPath:p},{instancePath:m}){const b=m?(0,t.str)`${p}${(0,r.getErrorPath)(m,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,b)]}function g({keyword:p,it:{errSchemaPath:m}},{schemaPath:b,parentSchema:w}){let S=w?m:(0,t.str)`${m}/${p}`;return b&&(S=(0,t.str)`${S}${(0,r.getErrorPath)(b,r.Type.Str)}`),[c.schemaPath,S]}function v(p,{params:m,message:b},w){const{keyword:S,data:_,schemaValue:E,it:O}=p,{opts:P,propertyName:A,topSchemaRef:V,schemaPath:D}=O;w.push([c.keyword,S],[c.params,typeof m=="function"?m(p):m||(0,t._)`{}`]),P.messages&&w.push([c.message,typeof b=="function"?b(p):b]),P.verbose&&w.push([c.schema,E],[c.parentSchema,(0,t._)`${V}${D}`],[n.default.data,_]),A&&w.push([c.propertyName,A])}}(i_)),i_}var y_;function MI(){if(y_)return Go;y_=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.boolOrEmptySchema=Go.topBoolOrEmptySchema=void 0;const e=cu(),t=Ge(),r=rn(),n={message:"boolean schema is false"};function o(a){const{gen:l,schema:u,validateName:c}=a;u===!1?i(a,!1):typeof u=="object"&&u.$async===!0?l.return(r.default.data):(l.assign((0,t._)`${c}.errors`,null),l.return(!0))}Go.topBoolOrEmptySchema=o;function s(a,l){const{gen:u,schema:c}=a;c===!1?(u.var(l,!1),i(a)):u.var(l,!0)}Go.boolOrEmptySchema=s;function i(a,l){const{gen:u,data:c}=a,h={gen:u,keyword:"false schema",data:c,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(h,n,void 0,l)}return Go}var Xt={},Wo={},v_;function b_(){if(v_)return Wo;v_=1,Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.getRules=Wo.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}Wo.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return Wo.getRules=n,Wo}var to={},w_;function __(){if(w_)return to;w_=1,Object.defineProperty(to,"__esModule",{value:!0}),to.shouldUseRule=to.shouldUseGroup=to.schemaHasRulesForType=void 0;function e({schema:n,self:o},s){const i=o.RULES.types[s];return i&&i!==!0&&t(n,i)}to.schemaHasRulesForType=e;function t(n,o){return o.rules.some(s=>r(n,s))}to.shouldUseGroup=t;function r(n,o){var s;return n[o.keyword]!==void 0||((s=o.definition.implements)===null||s===void 0?void 0:s.some(i=>n[i]!==void 0))}return to.shouldUseRule=r,to}var S_;function du(){if(S_)return Xt;S_=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.reportTypeError=Xt.checkDataTypes=Xt.checkDataType=Xt.coerceAndCheckDataType=Xt.getJSONTypes=Xt.getSchemaTypes=Xt.DataType=void 0;const e=b_(),t=__(),r=cu(),n=Ge(),o=ot();var s;(function(b){b[b.Correct=0]="Correct",b[b.Wrong=1]="Wrong"})(s||(Xt.DataType=s={}));function i(b){const w=a(b.type);if(w.includes("null")){if(b.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!w.length&&b.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');b.nullable===!0&&w.push("null")}return w}Xt.getSchemaTypes=i;function a(b){const w=Array.isArray(b)?b:b?[b]:[];if(w.every(e.isJSONType))return w;throw new Error("type must be JSONType or JSONType[]: "+w.join(","))}Xt.getJSONTypes=a;function l(b,w){const{gen:S,data:_,opts:E}=b,O=c(w,E.coerceTypes),P=w.length>0&&!(O.length===0&&w.length===1&&(0,t.schemaHasRulesForType)(b,w[0]));if(P){const A=g(w,_,E.strictNumbers,s.Wrong);S.if(A,()=>{O.length?h(b,w,O):p(b)})}return P}Xt.coerceAndCheckDataType=l;const u=new Set(["string","number","integer","boolean","null"]);function c(b,w){return w?b.filter(S=>u.has(S)||w==="array"&&S==="array"):[]}function h(b,w,S){const{gen:_,data:E,opts:O}=b,P=_.let("dataType",(0,n._)`typeof ${E}`),A=_.let("coerced",(0,n._)`undefined`);O.coerceTypes==="array"&&_.if((0,n._)`${P} == 'object' && Array.isArray(${E}) && ${E}.length == 1`,()=>_.assign(E,(0,n._)`${E}[0]`).assign(P,(0,n._)`typeof ${E}`).if(g(w,E,O.strictNumbers),()=>_.assign(A,E))),_.if((0,n._)`${A} !== undefined`);for(const D of S)(u.has(D)||D==="array"&&O.coerceTypes==="array")&&V(D);_.else(),p(b),_.endIf(),_.if((0,n._)`${A} !== undefined`,()=>{_.assign(E,A),f(b,A)});function V(D){switch(D){case"string":_.elseIf((0,n._)`${P} == "number" || ${P} == "boolean"`).assign(A,(0,n._)`"" + ${E}`).elseIf((0,n._)`${E} === null`).assign(A,(0,n._)`""`);return;case"number":_.elseIf((0,n._)`${P} == "boolean" || ${E} === null - || (${P} == "string" && ${E} && ${E} == +${E})`).assign(A,(0,n._)`+${E}`);return;case"integer":_.elseIf((0,n._)`${P} === "boolean" || ${E} === null - || (${P} === "string" && ${E} && ${E} == +${E} && !(${E} % 1))`).assign(A,(0,n._)`+${E}`);return;case"boolean":_.elseIf((0,n._)`${E} === "false" || ${E} === 0 || ${E} === null`).assign(A,!1).elseIf((0,n._)`${E} === "true" || ${E} === 1`).assign(A,!0);return;case"null":_.elseIf((0,n._)`${E} === "" || ${E} === 0 || ${E} === false`),_.assign(A,null);return;case"array":_.elseIf((0,n._)`${P} === "string" || ${P} === "number" - || ${P} === "boolean" || ${E} === null`).assign(A,(0,n._)`[${E}]`)}}}function f({gen:b,parentData:w,parentDataProperty:S},_){b.if((0,n._)`${w} !== undefined`,()=>b.assign((0,n._)`${w}[${S}]`,_))}function d(b,w,S,_=s.Correct){const E=_===s.Correct?n.operators.EQ:n.operators.NEQ;let O;switch(b){case"null":return(0,n._)`${w} ${E} null`;case"array":O=(0,n._)`Array.isArray(${w})`;break;case"object":O=(0,n._)`${w} && typeof ${w} == "object" && !Array.isArray(${w})`;break;case"integer":O=P((0,n._)`!(${w} % 1) && !isNaN(${w})`);break;case"number":O=P();break;default:return(0,n._)`typeof ${w} ${E} ${b}`}return _===s.Correct?O:(0,n.not)(O);function P(A=n.nil){return(0,n.and)((0,n._)`typeof ${w} == "number"`,A,S?(0,n._)`isFinite(${w})`:n.nil)}}Xt.checkDataType=d;function g(b,w,S,_){if(b.length===1)return d(b[0],w,S,_);let E;const O=(0,o.toHash)(b);if(O.array&&O.object){const P=(0,n._)`typeof ${w} != "object"`;E=O.null?P:(0,n._)`!${w} || ${P}`,delete O.null,delete O.array,delete O.object}else E=n.nil;O.number&&delete O.integer;for(const P in O)E=(0,n.and)(E,d(P,w,S,_));return E}Xt.checkDataTypes=g;const v={message:({schema:b})=>`must be ${b}`,params:({schema:b,schemaValue:w})=>typeof b=="string"?(0,n._)`{type: ${b}}`:(0,n._)`{type: ${w}}`};function p(b){const w=m(b);(0,r.reportError)(w,v)}Xt.reportTypeError=p;function m(b){const{gen:w,data:S,schema:_}=b,E=(0,o.schemaRefOrVal)(b,_,"type");return{gen:w,keyword:"type",data:S,schema:_.type,schemaCode:E,schemaValue:E,parentSchema:_,params:{},it:b}}return Xt}var ia={},E_;function BI(){if(E_)return ia;E_=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.assignDefaults=void 0;const e=Ge(),t=ot();function r(o,s){const{properties:i,items:a}=o.schema;if(s==="object"&&i)for(const l in i)n(o,l,i[l].default);else s==="array"&&Array.isArray(a)&&a.forEach((l,u)=>n(o,u,l.default))}ia.assignDefaults=r;function n(o,s,i){const{gen:a,compositeRule:l,data:u,opts:c}=o;if(i===void 0)return;const h=(0,e._)`${u}${(0,e.getProperty)(s)}`;if(l){(0,t.checkStrictMode)(o,`default is ignored for: ${h}`);return}let f=(0,e._)`${h} === undefined`;c.useDefaults==="empty"&&(f=(0,e._)`${f} || ${h} === null || ${h} === ""`),a.if(f,(0,e._)`${h} = ${(0,e.stringify)(i)}`)}return ia}var nn={},yt={},x_;function on(){if(x_)return yt;x_=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.validateUnion=yt.validateArray=yt.usePattern=yt.callValidateCode=yt.schemaProperties=yt.allSchemaProperties=yt.noPropertyInData=yt.propertyInData=yt.isOwnProperty=yt.hasPropFunc=yt.reportMissingProp=yt.checkMissingProp=yt.checkReportMissingProp=void 0;const e=Ge(),t=ot(),r=rn(),n=ot();function o(b,w){const{gen:S,data:_,it:E}=b;S.if(c(S,_,w,E.opts.ownProperties),()=>{b.setParams({missingProperty:(0,e._)`${w}`},!0),b.error()})}yt.checkReportMissingProp=o;function s({gen:b,data:w,it:{opts:S}},_,E){return(0,e.or)(..._.map(O=>(0,e.and)(c(b,w,O,S.ownProperties),(0,e._)`${E} = ${O}`)))}yt.checkMissingProp=s;function i(b,w){b.setParams({missingProperty:w},!0),b.error()}yt.reportMissingProp=i;function a(b){return b.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}yt.hasPropFunc=a;function l(b,w,S){return(0,e._)`${a(b)}.call(${w}, ${S})`}yt.isOwnProperty=l;function u(b,w,S,_){const E=(0,e._)`${w}${(0,e.getProperty)(S)} !== undefined`;return _?(0,e._)`${E} && ${l(b,w,S)}`:E}yt.propertyInData=u;function c(b,w,S,_){const E=(0,e._)`${w}${(0,e.getProperty)(S)} === undefined`;return _?(0,e.or)(E,(0,e.not)(l(b,w,S))):E}yt.noPropertyInData=c;function h(b){return b?Object.keys(b).filter(w=>w!=="__proto__"):[]}yt.allSchemaProperties=h;function f(b,w){return h(w).filter(S=>!(0,t.alwaysValidSchema)(b,w[S]))}yt.schemaProperties=f;function d({schemaCode:b,data:w,it:{gen:S,topSchemaRef:_,schemaPath:E,errorPath:O},it:P},A,V,D){const M=D?(0,e._)`${b}, ${w}, ${_}${E}`:w,z=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,O)],[r.default.parentData,P.parentData],[r.default.parentDataProperty,P.parentDataProperty],[r.default.rootData,r.default.rootData]];P.opts.dynamicRef&&z.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const F=(0,e._)`${M}, ${S.object(...z)}`;return V!==e.nil?(0,e._)`${A}.call(${V}, ${F})`:(0,e._)`${A}(${F})`}yt.callValidateCode=d;const g=(0,e._)`new RegExp`;function v({gen:b,it:{opts:w}},S){const _=w.unicodeRegExp?"u":"",{regExp:E}=w.code,O=E(S,_);return b.scopeValue("pattern",{key:O.toString(),ref:O,code:(0,e._)`${E.code==="new RegExp"?g:(0,n.useFunc)(b,E)}(${S}, ${_})`})}yt.usePattern=v;function p(b){const{gen:w,data:S,keyword:_,it:E}=b,O=w.name("valid");if(E.allErrors){const A=w.let("valid",!0);return P(()=>w.assign(A,!1)),A}return w.var(O,!0),P(()=>w.break()),O;function P(A){const V=w.const("len",(0,e._)`${S}.length`);w.forRange("i",0,V,D=>{b.subschema({keyword:_,dataProp:D,dataPropType:t.Type.Num},O),w.if((0,e.not)(O),A)})}}yt.validateArray=p;function m(b){const{gen:w,schema:S,keyword:_,it:E}=b;if(!Array.isArray(S))throw new Error("ajv implementation error");if(S.some(A=>(0,t.alwaysValidSchema)(E,A))&&!E.opts.unevaluated)return;const O=w.let("valid",!1),P=w.name("_valid");w.block(()=>S.forEach((A,V)=>{const D=b.subschema({keyword:_,schemaProp:V,compositeRule:!0},P);w.assign(O,(0,e._)`${O} || ${P}`),b.mergeValidEvaluated(D,P)||w.if((0,e.not)(O))})),b.result(O,()=>b.reset(),()=>b.error(!0))}return yt.validateUnion=m,yt}var O_;function VI(){if(O_)return nn;O_=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.validateKeywordUsage=nn.validSchemaType=nn.funcKeywordCode=nn.macroKeywordCode=void 0;const e=Ge(),t=rn(),r=on(),n=cu();function o(f,d){const{gen:g,keyword:v,schema:p,parentSchema:m,it:b}=f,w=d.macro.call(b.self,p,m,b),S=u(g,v,w);b.opts.validateSchema!==!1&&b.self.validateSchema(w,!0);const _=g.name("valid");f.subschema({schema:w,schemaPath:e.nil,errSchemaPath:`${b.errSchemaPath}/${v}`,topSchemaRef:S,compositeRule:!0},_),f.pass(_,()=>f.error(!0))}nn.macroKeywordCode=o;function s(f,d){var g;const{gen:v,keyword:p,schema:m,parentSchema:b,$data:w,it:S}=f;l(S,d);const _=!w&&d.compile?d.compile.call(S.self,m,b,S):d.validate,E=u(v,p,_),O=v.let("valid");f.block$data(O,P),f.ok((g=d.valid)!==null&&g!==void 0?g:O);function P(){if(d.errors===!1)D(),d.modifying&&i(f),M(()=>f.error());else{const z=d.async?A():V();d.modifying&&i(f),M(()=>a(f,z))}}function A(){const z=v.let("ruleErrs",null);return v.try(()=>D((0,e._)`await `),F=>v.assign(O,!1).if((0,e._)`${F} instanceof ${S.ValidationError}`,()=>v.assign(z,(0,e._)`${F}.errors`),()=>v.throw(F))),z}function V(){const z=(0,e._)`${E}.errors`;return v.assign(z,null),D(e.nil),z}function D(z=d.async?(0,e._)`await `:e.nil){const F=S.opts.passContext?t.default.this:t.default.self,ue=!("compile"in d&&!w||d.schema===!1);v.assign(O,(0,e._)`${z}${(0,r.callValidateCode)(f,E,F,ue)}`,d.modifying)}function M(z){var F;v.if((0,e.not)((F=d.valid)!==null&&F!==void 0?F:O),z)}}nn.funcKeywordCode=s;function i(f){const{gen:d,data:g,it:v}=f;d.if(v.parentData,()=>d.assign(g,(0,e._)`${v.parentData}[${v.parentDataProperty}]`))}function a(f,d){const{gen:g}=f;g.if((0,e._)`Array.isArray(${d})`,()=>{g.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${d} : ${t.default.vErrors}.concat(${d})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(f)},()=>f.error())}function l({schemaEnv:f},d){if(d.async&&!f.$async)throw new Error("async keyword in sync schema")}function u(f,d,g){if(g===void 0)throw new Error(`keyword "${d}" failed to compile`);return f.scopeValue("keyword",typeof g=="function"?{ref:g}:{ref:g,code:(0,e.stringify)(g)})}function c(f,d,g=!1){return!d.length||d.some(v=>v==="array"?Array.isArray(f):v==="object"?f&&typeof f=="object"&&!Array.isArray(f):typeof f==v||g&&typeof f>"u")}nn.validSchemaType=c;function h({schema:f,opts:d,self:g,errSchemaPath:v},p,m){if(Array.isArray(p.keyword)?!p.keyword.includes(m):p.keyword!==m)throw new Error("ajv implementation error");const b=p.dependencies;if(b?.some(w=>!Object.prototype.hasOwnProperty.call(f,w)))throw new Error(`parent schema must have dependencies of ${m}: ${b.join(",")}`);if(p.validateSchema&&!p.validateSchema(f[m])){const w=`keyword "${m}" value is invalid at path "${v}": `+g.errorsText(p.validateSchema.errors);if(d.validateSchema==="log")g.logger.error(w);else throw new Error(w)}}return nn.validateKeywordUsage=h,nn}var ro={},$_;function LI(){if($_)return ro;$_=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.extendSubschemaMode=ro.extendSubschemaData=ro.getSubschema=void 0;const e=Ge(),t=ot();function r(s,{keyword:i,schemaProp:a,schema:l,schemaPath:u,errSchemaPath:c,topSchemaRef:h}){if(i!==void 0&&l!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){const f=s.schema[i];return a===void 0?{schema:f,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}`,errSchemaPath:`${s.errSchemaPath}/${i}`}:{schema:f[a],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}${(0,e.getProperty)(a)}`,errSchemaPath:`${s.errSchemaPath}/${i}/${(0,t.escapeFragment)(a)}`}}if(l!==void 0){if(u===void 0||c===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:l,schemaPath:u,topSchemaRef:h,errSchemaPath:c}}throw new Error('either "keyword" or "schema" must be passed')}ro.getSubschema=r;function n(s,i,{dataProp:a,dataPropType:l,data:u,dataTypes:c,propertyName:h}){if(u!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:f}=i;if(a!==void 0){const{errorPath:g,dataPathArr:v,opts:p}=i,m=f.let("data",(0,e._)`${i.data}${(0,e.getProperty)(a)}`,!0);d(m),s.errorPath=(0,e.str)`${g}${(0,t.getErrorPath)(a,l,p.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${a}`,s.dataPathArr=[...v,s.parentDataProperty]}if(u!==void 0){const g=u instanceof e.Name?u:f.let("data",u,!0);d(g),h!==void 0&&(s.propertyName=h)}c&&(s.dataTypes=c);function d(g){s.data=g,s.dataLevel=i.dataLevel+1,s.dataTypes=[],i.definedProperties=new Set,s.parentData=i.data,s.dataNames=[...i.dataNames,g]}}ro.extendSubschemaData=n;function o(s,{jtdDiscriminator:i,jtdMetadata:a,compositeRule:l,createErrors:u,allErrors:c}){l!==void 0&&(s.compositeRule=l),u!==void 0&&(s.createErrors=u),c!==void 0&&(s.allErrors=c),s.jtdDiscriminator=i,s.jtdMetadata=a}return ro.extendSubschemaMode=o,ro}var gr={},Bp={exports:{}},C_;function FI(){if(C_)return Bp.exports;C_=1;var e=Bp.exports=function(n,o,s){typeof o=="function"&&(s=o,o={}),s=o.cb||s;var i=typeof s=="function"?s:s.pre||function(){},a=s.post||function(){};t(o,i,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,s,i,a,l,u,c,h,f){if(i&&typeof i=="object"&&!Array.isArray(i)){o(i,a,l,u,c,h,f);for(var d in i){var g=i[d];if(Array.isArray(g)){if(d in e.arrayKeywords)for(var v=0;vp+=a(b)),p===1/0)))return 1/0;return p}function l(v,p="",m){m!==!1&&(p=h(p));const b=v.parse(p);return u(v,b)}gr.getFullPath=l;function u(v,p){return v.serialize(p).split("#")[0]+"#"}gr._getFullPath=u;const c=/#\/?$/;function h(v){return v?v.replace(c,""):""}gr.normalizeId=h;function f(v,p,m){return m=h(m),v.resolve(p,m)}gr.resolveUrl=f;const d=/^[a-z_][-a-z0-9._]*$/i;function g(v,p){if(typeof v=="boolean")return{};const{schemaId:m,uriResolver:b}=this.opts,w=h(v[m]||p),S={"":w},_=l(b,w,!1),E={},O=new Set;return r(v,{allKeys:!0},(V,D,M,z)=>{if(z===void 0)return;const F=_+D;let ue=S[z];typeof V[m]=="string"&&(ue=K.call(this,V[m])),he.call(this,V.$anchor),he.call(this,V.$dynamicAnchor),S[D]=ue;function K(ie){const ve=this.opts.uriResolver.resolve;if(ie=h(ue?ve(ue,ie):ie),O.has(ie))throw A(ie);O.add(ie);let ce=this.refs[ie];return typeof ce=="string"&&(ce=this.refs[ce]),typeof ce=="object"?P(V,ce.schema,ie):ie!==h(F)&&(ie[0]==="#"?(P(V,E[ie],ie),E[ie]=V):this.refs[ie]=F),ie}function he(ie){if(typeof ie=="string"){if(!d.test(ie))throw new Error(`invalid anchor "${ie}"`);K.call(this,`#${ie}`)}}}),E;function P(V,D,M){if(D!==void 0&&!t(V,D))throw A(M)}function A(V){return new Error(`reference "${V}" resolves to more than one schema`)}}return gr.getSchemaRefs=g,gr}var k_;function aa(){if(k_)return eo;k_=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.getData=eo.KeywordCxt=eo.validateFunctionCode=void 0;const e=MI(),t=du(),r=__(),n=du(),o=BI(),s=VI(),i=LI(),a=Ge(),l=rn(),u=fu(),c=ot(),h=cu();function f(B){if(_(B)&&(O(B),S(B))){p(B);return}d(B,()=>(0,e.topBoolOrEmptySchema)(B))}eo.validateFunctionCode=f;function d({gen:B,validateName:k,schema:N,schemaEnv:j,opts:Z},ne){Z.code.es5?B.func(k,(0,a._)`${l.default.data}, ${l.default.valCxt}`,j.$async,()=>{B.code((0,a._)`"use strict"; ${b(N,Z)}`),v(B,Z),B.code(ne)}):B.func(k,(0,a._)`${l.default.data}, ${g(Z)}`,j.$async,()=>B.code(b(N,Z)).code(ne))}function g(B){return(0,a._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${B.dynamicRef?(0,a._)`, ${l.default.dynamicAnchors}={}`:a.nil}}={}`}function v(B,k){B.if(l.default.valCxt,()=>{B.var(l.default.instancePath,(0,a._)`${l.default.valCxt}.${l.default.instancePath}`),B.var(l.default.parentData,(0,a._)`${l.default.valCxt}.${l.default.parentData}`),B.var(l.default.parentDataProperty,(0,a._)`${l.default.valCxt}.${l.default.parentDataProperty}`),B.var(l.default.rootData,(0,a._)`${l.default.valCxt}.${l.default.rootData}`),k.dynamicRef&&B.var(l.default.dynamicAnchors,(0,a._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{B.var(l.default.instancePath,(0,a._)`""`),B.var(l.default.parentData,(0,a._)`undefined`),B.var(l.default.parentDataProperty,(0,a._)`undefined`),B.var(l.default.rootData,l.default.data),k.dynamicRef&&B.var(l.default.dynamicAnchors,(0,a._)`{}`)})}function p(B){const{schema:k,opts:N,gen:j}=B;d(B,()=>{N.$comment&&k.$comment&&z(B),V(B),j.let(l.default.vErrors,null),j.let(l.default.errors,0),N.unevaluated&&m(B),P(B),F(B)})}function m(B){const{gen:k,validateName:N}=B;B.evaluated=k.const("evaluated",(0,a._)`${N}.evaluated`),k.if((0,a._)`${B.evaluated}.dynamicProps`,()=>k.assign((0,a._)`${B.evaluated}.props`,(0,a._)`undefined`)),k.if((0,a._)`${B.evaluated}.dynamicItems`,()=>k.assign((0,a._)`${B.evaluated}.items`,(0,a._)`undefined`))}function b(B,k){const N=typeof B=="object"&&B[k.schemaId];return N&&(k.code.source||k.code.process)?(0,a._)`/*# sourceURL=${N} */`:a.nil}function w(B,k){if(_(B)&&(O(B),S(B))){E(B,k);return}(0,e.boolOrEmptySchema)(B,k)}function S({schema:B,self:k}){if(typeof B=="boolean")return!B;for(const N in B)if(k.RULES.all[N])return!0;return!1}function _(B){return typeof B.schema!="boolean"}function E(B,k){const{schema:N,gen:j,opts:Z}=B;Z.$comment&&N.$comment&&z(B),D(B),M(B);const ne=j.const("_errs",l.default.errors);P(B,ne),j.var(k,(0,a._)`${ne} === ${l.default.errors}`)}function O(B){(0,c.checkUnknownRules)(B),A(B)}function P(B,k){if(B.opts.jtd)return K(B,[],!1,k);const N=(0,t.getSchemaTypes)(B.schema),j=(0,t.coerceAndCheckDataType)(B,N);K(B,N,!j,k)}function A(B){const{schema:k,errSchemaPath:N,opts:j,self:Z}=B;k.$ref&&j.ignoreKeywordsWithRef&&(0,c.schemaHasRulesButRef)(k,Z.RULES)&&Z.logger.warn(`$ref: keywords ignored in schema at path "${N}"`)}function V(B){const{schema:k,opts:N}=B;k.default!==void 0&&N.useDefaults&&N.strictSchema&&(0,c.checkStrictMode)(B,"default is ignored in the schema root")}function D(B){const k=B.schema[B.opts.schemaId];k&&(B.baseId=(0,u.resolveUrl)(B.opts.uriResolver,B.baseId,k))}function M(B){if(B.schema.$async&&!B.schemaEnv.$async)throw new Error("async schema in sync schema")}function z({gen:B,schemaEnv:k,schema:N,errSchemaPath:j,opts:Z}){const ne=N.$comment;if(Z.$comment===!0)B.code((0,a._)`${l.default.self}.logger.log(${ne})`);else if(typeof Z.$comment=="function"){const Q=(0,a.str)`${j}/$comment`,oe=B.scopeValue("root",{ref:k.root});B.code((0,a._)`${l.default.self}.opts.$comment(${ne}, ${Q}, ${oe}.schema)`)}}function F(B){const{gen:k,schemaEnv:N,validateName:j,ValidationError:Z,opts:ne}=B;N.$async?k.if((0,a._)`${l.default.errors} === 0`,()=>k.return(l.default.data),()=>k.throw((0,a._)`new ${Z}(${l.default.vErrors})`)):(k.assign((0,a._)`${j}.errors`,l.default.vErrors),ne.unevaluated&&ue(B),k.return((0,a._)`${l.default.errors} === 0`))}function ue({gen:B,evaluated:k,props:N,items:j}){N instanceof a.Name&&B.assign((0,a._)`${k}.props`,N),j instanceof a.Name&&B.assign((0,a._)`${k}.items`,j)}function K(B,k,N,j){const{gen:Z,schema:ne,data:Q,allErrors:oe,opts:pe,self:fe}=B,{RULES:G}=fe;if(ne.$ref&&(pe.ignoreKeywordsWithRef||!(0,c.schemaHasRulesButRef)(ne,G))){Z.block(()=>Ee(B,"$ref",G.all.$ref.definition));return}pe.jtd||ie(B,k),Z.block(()=>{for(const U of G.rules)L(U);L(G.post)});function L(U){(0,r.shouldUseGroup)(ne,U)&&(U.type?(Z.if((0,n.checkDataType)(U.type,Q,pe.strictNumbers)),he(B,U),k.length===1&&k[0]===U.type&&N&&(Z.else(),(0,n.reportTypeError)(B)),Z.endIf()):he(B,U),oe||Z.if((0,a._)`${l.default.errors} === ${j||0}`))}}function he(B,k){const{gen:N,schema:j,opts:{useDefaults:Z}}=B;Z&&(0,o.assignDefaults)(B,k.type),N.block(()=>{for(const ne of k.rules)(0,r.shouldUseRule)(j,ne)&&Ee(B,ne.keyword,ne.definition,k.type)})}function ie(B,k){B.schemaEnv.meta||!B.opts.strictTypes||(ve(B,k),B.opts.allowUnionTypes||ce(B,k),W(B,B.dataTypes))}function ve(B,k){if(k.length){if(!B.dataTypes.length){B.dataTypes=k;return}k.forEach(N=>{re(B.dataTypes,N)||H(B,`type "${N}" not allowed by context "${B.dataTypes.join(",")}"`)}),R(B,k)}}function ce(B,k){k.length>1&&!(k.length===2&&k.includes("null"))&&H(B,"use allowUnionTypes to allow union type keyword")}function W(B,k){const N=B.self.RULES.all;for(const j in N){const Z=N[j];if(typeof Z=="object"&&(0,r.shouldUseRule)(B.schema,Z)){const{type:ne}=Z.definition;ne.length&&!ne.some(Q=>Y(k,Q))&&H(B,`missing type "${ne.join(",")}" for keyword "${j}"`)}}}function Y(B,k){return B.includes(k)||k==="number"&&B.includes("integer")}function re(B,k){return B.includes(k)||k==="integer"&&B.includes("number")}function R(B,k){const N=[];for(const j of B.dataTypes)re(k,j)?N.push(j):k.includes("integer")&&j==="number"&&N.push("integer");B.dataTypes=N}function H(B,k){const N=B.schemaEnv.baseId+B.errSchemaPath;k+=` at "${N}" (strictTypes)`,(0,c.checkStrictMode)(B,k,B.opts.strictTypes)}class ae{constructor(k,N,j){if((0,s.validateKeywordUsage)(k,N,j),this.gen=k.gen,this.allErrors=k.allErrors,this.keyword=j,this.data=k.data,this.schema=k.schema[j],this.$data=N.$data&&k.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,c.schemaRefOrVal)(k,this.schema,j,this.$data),this.schemaType=N.schemaType,this.parentSchema=k.schema,this.params={},this.it=k,this.def=N,this.$data)this.schemaCode=k.gen.const("vSchema",Te(this.$data,k));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,N.schemaType,N.allowUndefined))throw new Error(`${j} value must be ${JSON.stringify(N.schemaType)}`);("code"in N?N.trackErrors:N.errors!==!1)&&(this.errsCount=k.gen.const("_errs",l.default.errors))}result(k,N,j){this.failResult((0,a.not)(k),N,j)}failResult(k,N,j){this.gen.if(k),j?j():this.error(),N?(this.gen.else(),N(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(k,N){this.failResult((0,a.not)(k),void 0,N)}fail(k){if(k===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(k),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(k){if(!this.$data)return this.fail(k);const{schemaCode:N}=this;this.fail((0,a._)`${N} !== undefined && (${(0,a.or)(this.invalid$data(),k)})`)}error(k,N,j){if(N){this.setParams(N),this._error(k,j),this.setParams({});return}this._error(k,j)}_error(k,N){(k?h.reportExtraError:h.reportError)(this,this.def.error,N)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(k){this.allErrors||this.gen.if(k)}setParams(k,N){N?Object.assign(this.params,k):this.params=k}block$data(k,N,j=a.nil){this.gen.block(()=>{this.check$data(k,j),N()})}check$data(k=a.nil,N=a.nil){if(!this.$data)return;const{gen:j,schemaCode:Z,schemaType:ne,def:Q}=this;j.if((0,a.or)((0,a._)`${Z} === undefined`,N)),k!==a.nil&&j.assign(k,!0),(ne.length||Q.validateSchema)&&(j.elseIf(this.invalid$data()),this.$dataError(),k!==a.nil&&j.assign(k,!1)),j.else()}invalid$data(){const{gen:k,schemaCode:N,schemaType:j,def:Z,it:ne}=this;return(0,a.or)(Q(),oe());function Q(){if(j.length){if(!(N instanceof a.Name))throw new Error("ajv implementation error");const pe=Array.isArray(j)?j:[j];return(0,a._)`${(0,n.checkDataTypes)(pe,N,ne.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function oe(){if(Z.validateSchema){const pe=k.scopeValue("validate$data",{ref:Z.validateSchema});return(0,a._)`!${pe}(${N})`}return a.nil}}subschema(k,N){const j=(0,i.getSubschema)(this.it,k);(0,i.extendSubschemaData)(j,this.it,k),(0,i.extendSubschemaMode)(j,k);const Z={...this.it,...j,items:void 0,props:void 0};return w(Z,N),Z}mergeEvaluated(k,N){const{it:j,gen:Z}=this;j.opts.unevaluated&&(j.props!==!0&&k.props!==void 0&&(j.props=c.mergeEvaluated.props(Z,k.props,j.props,N)),j.items!==!0&&k.items!==void 0&&(j.items=c.mergeEvaluated.items(Z,k.items,j.items,N)))}mergeValidEvaluated(k,N){const{it:j,gen:Z}=this;if(j.opts.unevaluated&&(j.props!==!0||j.items!==!0))return Z.if(N,()=>this.mergeEvaluated(k,a.Name)),!0}}eo.KeywordCxt=ae;function Ee(B,k,N,j){const Z=new ae(B,N,k);"code"in N?N.code(Z,j):Z.$data&&N.validate?(0,s.funcKeywordCode)(Z,N):"macro"in N?(0,s.macroKeywordCode)(Z,N):(N.compile||N.validate)&&(0,s.funcKeywordCode)(Z,N)}const Ce=/^\/(?:[^~]|~0|~1)*$/,Re=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Te(B,{dataLevel:k,dataNames:N,dataPathArr:j}){let Z,ne;if(B==="")return l.default.rootData;if(B[0]==="/"){if(!Ce.test(B))throw new Error(`Invalid JSON-pointer: ${B}`);Z=B,ne=l.default.rootData}else{const fe=Re.exec(B);if(!fe)throw new Error(`Invalid JSON-pointer: ${B}`);const G=+fe[1];if(Z=fe[2],Z==="#"){if(G>=k)throw new Error(pe("property/index",G));return j[k-G]}if(G>k)throw new Error(pe("data",G));if(ne=N[k-G],!Z)return ne}let Q=ne;const oe=Z.split("/");for(const fe of oe)fe&&(ne=(0,a._)`${ne}${(0,a.getProperty)((0,c.unescapeJsonPointer)(fe))}`,Q=(0,a._)`${Q} && ${ne}`);return Q;function pe(fe,G){return`Cannot access ${fe} ${G} levels up, current level is ${k}`}}return eo.getData=Te,eo}var pu={},A_;function hu(){if(A_)return pu;A_=1,Object.defineProperty(pu,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return pu.default=e,pu}var mu={},P_;function la(){if(P_)return mu;P_=1,Object.defineProperty(mu,"__esModule",{value:!0});const e=fu();class t extends Error{constructor(n,o,s,i){super(i||`can't resolve reference ${s} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return mu.default=t,mu}var jr={},N_;function gu(){if(N_)return jr;N_=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.resolveSchema=jr.getCompilingSchema=jr.resolveRef=jr.compileSchema=jr.SchemaEnv=void 0;const e=Ge(),t=hu(),r=rn(),n=fu(),o=ot(),s=aa();class i{constructor(m){var b;this.refs={},this.dynamicAnchors={};let w;typeof m.schema=="object"&&(w=m.schema),this.schema=m.schema,this.schemaId=m.schemaId,this.root=m.root||this,this.baseId=(b=m.baseId)!==null&&b!==void 0?b:(0,n.normalizeId)(w?.[m.schemaId||"$id"]),this.schemaPath=m.schemaPath,this.localRefs=m.localRefs,this.meta=m.meta,this.$async=w?.$async,this.refs={}}}jr.SchemaEnv=i;function a(p){const m=c.call(this,p);if(m)return m;const b=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:w,lines:S}=this.opts.code,{ownProperties:_}=this.opts,E=new e.CodeGen(this.scope,{es5:w,lines:S,ownProperties:_});let O;p.$async&&(O=E.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const P=E.scopeName("validate");p.validateName=P;const A={gen:E,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:E.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:P,ValidationError:O,schema:p.schema,schemaEnv:p,rootId:b,baseId:p.baseId||b,schemaPath:e.nil,errSchemaPath:p.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let V;try{this._compilations.add(p),(0,s.validateFunctionCode)(A),E.optimize(this.opts.code.optimize);const D=E.toString();V=`${E.scopeRefs(r.default.scope)}return ${D}`,this.opts.code.process&&(V=this.opts.code.process(V,p));const M=new Function(`${r.default.self}`,`${r.default.scope}`,V)(this,this.scope.get());if(this.scope.value(P,{ref:M}),M.errors=null,M.schema=p.schema,M.schemaEnv=p,p.$async&&(M.$async=!0),this.opts.code.source===!0&&(M.source={validateName:P,validateCode:D,scopeValues:E._values}),this.opts.unevaluated){const{props:z,items:F}=A;M.evaluated={props:z instanceof e.Name?void 0:z,items:F instanceof e.Name?void 0:F,dynamicProps:z instanceof e.Name,dynamicItems:F instanceof e.Name},M.source&&(M.source.evaluated=(0,e.stringify)(M.evaluated))}return p.validate=M,p}catch(D){throw delete p.validate,delete p.validateName,V&&this.logger.error("Error compiling schema, function code:",V),D}finally{this._compilations.delete(p)}}jr.compileSchema=a;function l(p,m,b){var w;b=(0,n.resolveUrl)(this.opts.uriResolver,m,b);const S=p.refs[b];if(S)return S;let _=f.call(this,p,b);if(_===void 0){const E=(w=p.localRefs)===null||w===void 0?void 0:w[b],{schemaId:O}=this.opts;E&&(_=new i({schema:E,schemaId:O,root:p,baseId:m}))}if(_!==void 0)return p.refs[b]=u.call(this,_)}jr.resolveRef=l;function u(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:a.call(this,p)}function c(p){for(const m of this._compilations)if(h(m,p))return m}jr.getCompilingSchema=c;function h(p,m){return p.schema===m.schema&&p.root===m.root&&p.baseId===m.baseId}function f(p,m){let b;for(;typeof(b=this.refs[m])=="string";)m=b;return b||this.schemas[m]||d.call(this,p,m)}function d(p,m){const b=this.opts.uriResolver.parse(m),w=(0,n._getFullPath)(this.opts.uriResolver,b);let S=(0,n.getFullPath)(this.opts.uriResolver,p.baseId,void 0);if(Object.keys(p.schema).length>0&&w===S)return v.call(this,b,p);const _=(0,n.normalizeId)(w),E=this.refs[_]||this.schemas[_];if(typeof E=="string"){const O=d.call(this,p,E);return typeof O?.schema!="object"?void 0:v.call(this,b,O)}if(typeof E?.schema=="object"){if(E.validate||a.call(this,E),_===(0,n.normalizeId)(m)){const{schema:O}=E,{schemaId:P}=this.opts,A=O[P];return A&&(S=(0,n.resolveUrl)(this.opts.uriResolver,S,A)),new i({schema:O,schemaId:P,root:p,baseId:S})}return v.call(this,b,E)}}jr.resolveSchema=d;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(p,{baseId:m,schema:b,root:w}){var S;if(((S=p.fragment)===null||S===void 0?void 0:S[0])!=="/")return;for(const O of p.fragment.slice(1).split("/")){if(typeof b=="boolean")return;const P=b[(0,o.unescapeFragment)(O)];if(P===void 0)return;b=P;const A=typeof b=="object"&&b[this.opts.schemaId];!g.has(O)&&A&&(m=(0,n.resolveUrl)(this.opts.uriResolver,m,A))}let _;if(typeof b!="boolean"&&b.$ref&&!(0,o.schemaHasRulesButRef)(b,this.RULES)){const O=(0,n.resolveUrl)(this.opts.uriResolver,m,b.$ref);_=d.call(this,w,O)}const{schemaId:E}=this.opts;if(_=_||new i({schema:b,schemaId:E,root:w,baseId:m}),_.schema!==_.root.schema)return _}return jr}const UI="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",qI="Meta-schema for $data reference (JSON AnySchema extension proposal)",zI="object",HI=["$data"],GI={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},WI=!1,KI={$id:UI,description:qI,type:zI,required:HI,properties:GI,additionalProperties:WI};var yu={},ua={exports:{}},I_,D_;function JI(){return D_||(D_=1,I_={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),I_}var Vp,j_;function ZI(){if(j_)return Vp;j_=1;const{HEX:e}=JI();function t(g){if(i(g,".")<3)return{host:g,isIPV4:!1};const v=g.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[p]=v;return p?{host:s(p,"."),isIPV4:!0}:{host:g,isIPV4:!1}}function r(g,v=!1){let p="",m=!0;for(const b of g){if(e[b]===void 0)return;b!=="0"&&m===!0&&(m=!1),m||(p+=b)}return v&&p.length===0&&(p="0"),p}function n(g){let v=0;const p={error:!1,address:"",zone:""},m=[],b=[];let w=!1,S=!1,_=!1;function E(){if(b.length){if(w===!1){const O=r(b);if(O!==void 0)m.push(O);else return p.error=!0,!1}b.length=0}return!0}for(let O=0;O7){p.error=!0;break}O-1>=0&&g[O-1]===":"&&(S=!0);continue}else if(P==="%"){if(!E())break;w=!0}else{b.push(P);continue}}return b.length&&(w?p.zone=b.join(""):_?m.push(b.join("")):m.push(r(b))),p.address=m.join(""),p}function o(g,v={}){if(i(g,":")<2)return{host:g,isIPV6:!1};const p=n(g);if(p.error)return{host:g,isIPV6:!1};{let m=p.address,b=p.address;return p.zone&&(m+="%"+p.zone,b+="%25"+p.zone),{host:m,escapedHost:b,isIPV6:!0}}}function s(g,v){let p="",m=!0;const b=g.length;for(let w=0;w/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(m)));function f(p){let m=0;for(let b=0,w=p.length;b126||h[m])return!0;return!1}const d=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function g(p,m){const b=Object.assign({},m),w={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},S=p.indexOf("%")!==-1;let _=!1;b.reference==="suffix"&&(p=(b.scheme?b.scheme+":":"")+"//"+p);const E=p.match(d);if(E){if(w.scheme=E[1],w.userinfo=E[3],w.host=E[4],w.port=parseInt(E[5],10),w.path=E[6]||"",w.query=E[7],w.fragment=E[8],isNaN(w.port)&&(w.port=E[5]),w.host){const P=t(w.host);if(P.isIPV4===!1){const A=e(P.host,{isIPV4:!1});w.host=A.host.toLowerCase(),_=A.isIPV6}else w.host=P.host,_=!0}w.scheme===void 0&&w.userinfo===void 0&&w.host===void 0&&w.port===void 0&&!w.path&&w.query===void 0?w.reference="same-document":w.scheme===void 0?w.reference="relative":w.fragment===void 0?w.reference="absolute":w.reference="uri",b.reference&&b.reference!=="suffix"&&b.reference!==w.reference&&(w.error=w.error||"URI is not a "+b.reference+" reference.");const O=s[(b.scheme||w.scheme||"").toLowerCase()];if(!b.unicodeSupport&&(!O||!O.unicodeSupport)&&w.host&&(b.domainHost||O&&O.domainHost)&&_===!1&&f(w.host))try{w.host=URL.domainToASCII(w.host.toLowerCase())}catch(P){w.error=w.error||"Host's domain name can not be converted to ASCII: "+P}(!O||O&&!O.skipNormalize)&&(S&&w.scheme!==void 0&&(w.scheme=unescape(w.scheme)),S&&w.host!==void 0&&(w.host=unescape(w.host)),w.path!==void 0&&w.path.length&&(w.path=escape(unescape(w.path))),w.fragment!==void 0&&w.fragment.length&&(w.fragment=encodeURI(decodeURIComponent(w.fragment)))),O&&O.parse&&O.parse(w,b)}else w.error=w.error||"URI can not be parsed.";return w}const v={SCHEMES:s,normalize:i,resolve:a,resolveComponents:l,equal:u,serialize:c,parse:g};return ua.exports=v,ua.exports.default=v,ua.exports.fastUri=v,ua.exports}var B_;function QI(){if(B_)return yu;B_=1,Object.defineProperty(yu,"__esModule",{value:!0});const e=XI();return e.code='require("ajv/dist/runtime/uri").default',yu.default=e,yu}var V_;function L_(){return V_||(V_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=aa();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=Ge();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=hu(),o=la(),s=b_(),i=gu(),a=Ge(),l=fu(),u=du(),c=ot(),h=KI,f=QI(),d=(ce,W)=>new RegExp(ce,W);d.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),p={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},m={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},b=200;function w(ce){var W,Y,re,R,H,ae,Ee,Ce,Re,Te,B,k,N,j,Z,ne,Q,oe,pe,fe,G,L,U,le,me;const be=ce.strict,Ie=(W=ce.code)===null||W===void 0?void 0:W.optimize,Ke=Ie===!0||Ie===void 0?1:Ie||0,Et=(re=(Y=ce.code)===null||Y===void 0?void 0:Y.regExp)!==null&&re!==void 0?re:d,Lt=(R=ce.uriResolver)!==null&&R!==void 0?R:f.default;return{strictSchema:(ae=(H=ce.strictSchema)!==null&&H!==void 0?H:be)!==null&&ae!==void 0?ae:!0,strictNumbers:(Ce=(Ee=ce.strictNumbers)!==null&&Ee!==void 0?Ee:be)!==null&&Ce!==void 0?Ce:!0,strictTypes:(Te=(Re=ce.strictTypes)!==null&&Re!==void 0?Re:be)!==null&&Te!==void 0?Te:"log",strictTuples:(k=(B=ce.strictTuples)!==null&&B!==void 0?B:be)!==null&&k!==void 0?k:"log",strictRequired:(j=(N=ce.strictRequired)!==null&&N!==void 0?N:be)!==null&&j!==void 0?j:!1,code:ce.code?{...ce.code,optimize:Ke,regExp:Et}:{optimize:Ke,regExp:Et},loopRequired:(Z=ce.loopRequired)!==null&&Z!==void 0?Z:b,loopEnum:(ne=ce.loopEnum)!==null&&ne!==void 0?ne:b,meta:(Q=ce.meta)!==null&&Q!==void 0?Q:!0,messages:(oe=ce.messages)!==null&&oe!==void 0?oe:!0,inlineRefs:(pe=ce.inlineRefs)!==null&&pe!==void 0?pe:!0,schemaId:(fe=ce.schemaId)!==null&&fe!==void 0?fe:"$id",addUsedSchema:(G=ce.addUsedSchema)!==null&&G!==void 0?G:!0,validateSchema:(L=ce.validateSchema)!==null&&L!==void 0?L:!0,validateFormats:(U=ce.validateFormats)!==null&&U!==void 0?U:!0,unicodeRegExp:(le=ce.unicodeRegExp)!==null&&le!==void 0?le:!0,int32range:(me=ce.int32range)!==null&&me!==void 0?me:!0,uriResolver:Lt}}class S{constructor(W={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,W=this.opts={...W,...w(W)};const{es5:Y,lines:re}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:v,es5:Y,lines:re}),this.logger=M(W.logger);const R=W.validateFormats;W.validateFormats=!1,this.RULES=(0,s.getRules)(),_.call(this,p,W,"NOT SUPPORTED"),_.call(this,m,W,"DEPRECATED","warn"),this._metaOpts=V.call(this),W.formats&&P.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),W.keywords&&A.call(this,W.keywords),typeof W.meta=="object"&&this.addMetaSchema(W.meta),O.call(this),W.validateFormats=R}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:W,meta:Y,schemaId:re}=this.opts;let R=h;re==="id"&&(R={...h},R.id=R.$id,delete R.$id),Y&&W&&this.addMetaSchema(R,R[re],!1)}defaultMeta(){const{meta:W,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof W=="object"?W[Y]||W:void 0}validate(W,Y){let re;if(typeof W=="string"){if(re=this.getSchema(W),!re)throw new Error(`no schema with key or ref "${W}"`)}else re=this.compile(W);const R=re(Y);return"$async"in re||(this.errors=re.errors),R}compile(W,Y){const re=this._addSchema(W,Y);return re.validate||this._compileSchemaEnv(re)}compileAsync(W,Y){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:re}=this.opts;return R.call(this,W,Y);async function R(Te,B){await H.call(this,Te.$schema);const k=this._addSchema(Te,B);return k.validate||ae.call(this,k)}async function H(Te){Te&&!this.getSchema(Te)&&await R.call(this,{$ref:Te},!0)}async function ae(Te){try{return this._compileSchemaEnv(Te)}catch(B){if(!(B instanceof o.default))throw B;return Ee.call(this,B),await Ce.call(this,B.missingSchema),ae.call(this,Te)}}function Ee({missingSchema:Te,missingRef:B}){if(this.refs[Te])throw new Error(`AnySchema ${Te} is loaded but ${B} cannot be resolved`)}async function Ce(Te){const B=await Re.call(this,Te);this.refs[Te]||await H.call(this,B.$schema),this.refs[Te]||this.addSchema(B,Te,Y)}async function Re(Te){const B=this._loading[Te];if(B)return B;try{return await(this._loading[Te]=re(Te))}finally{delete this._loading[Te]}}}addSchema(W,Y,re,R=this.opts.validateSchema){if(Array.isArray(W)){for(const ae of W)this.addSchema(ae,void 0,re,R);return this}let H;if(typeof W=="object"){const{schemaId:ae}=this.opts;if(H=W[ae],H!==void 0&&typeof H!="string")throw new Error(`schema ${ae} must be string`)}return Y=(0,l.normalizeId)(Y||H),this._checkUnique(Y),this.schemas[Y]=this._addSchema(W,re,Y,R,!0),this}addMetaSchema(W,Y,re=this.opts.validateSchema){return this.addSchema(W,Y,!0,re),this}validateSchema(W,Y){if(typeof W=="boolean")return!0;let re;if(re=W.$schema,re!==void 0&&typeof re!="string")throw new Error("$schema must be a string");if(re=re||this.opts.defaultMeta||this.defaultMeta(),!re)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const R=this.validate(re,W);if(!R&&Y){const H="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(H);else throw new Error(H)}return R}getSchema(W){let Y;for(;typeof(Y=E.call(this,W))=="string";)W=Y;if(Y===void 0){const{schemaId:re}=this.opts,R=new i.SchemaEnv({schema:{},schemaId:re});if(Y=i.resolveSchema.call(this,R,W),!Y)return;this.refs[W]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema(W){if(W instanceof RegExp)return this._removeAllSchemas(this.schemas,W),this._removeAllSchemas(this.refs,W),this;switch(typeof W){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const Y=E.call(this,W);return typeof Y=="object"&&this._cache.delete(Y.schema),delete this.schemas[W],delete this.refs[W],this}case"object":{const Y=W;this._cache.delete(Y);let re=W[this.opts.schemaId];return re&&(re=(0,l.normalizeId)(re),delete this.schemas[re],delete this.refs[re]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(W){for(const Y of W)this.addKeyword(Y);return this}addKeyword(W,Y){let re;if(typeof W=="string")re=W,typeof Y=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=re);else if(typeof W=="object"&&Y===void 0){if(Y=W,re=Y.keyword,Array.isArray(re)&&!re.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(F.call(this,re,Y),!Y)return(0,c.eachItem)(re,H=>ue.call(this,H)),this;he.call(this,Y);const R={...Y,type:(0,u.getJSONTypes)(Y.type),schemaType:(0,u.getJSONTypes)(Y.schemaType)};return(0,c.eachItem)(re,R.type.length===0?H=>ue.call(this,H,R):H=>R.type.forEach(ae=>ue.call(this,H,R,ae))),this}getKeyword(W){const Y=this.RULES.all[W];return typeof Y=="object"?Y.definition:!!Y}removeKeyword(W){const{RULES:Y}=this;delete Y.keywords[W],delete Y.all[W];for(const re of Y.rules){const R=re.rules.findIndex(H=>H.keyword===W);R>=0&&re.rules.splice(R,1)}return this}addFormat(W,Y){return typeof Y=="string"&&(Y=new RegExp(Y)),this.formats[W]=Y,this}errorsText(W=this.errors,{separator:Y=", ",dataVar:re="data"}={}){return!W||W.length===0?"No errors":W.map(R=>`${re}${R.instancePath} ${R.message}`).reduce((R,H)=>R+Y+H)}$dataMetaSchema(W,Y){const re=this.RULES.all;W=JSON.parse(JSON.stringify(W));for(const R of Y){const H=R.split("/").slice(1);let ae=W;for(const Ee of H)ae=ae[Ee];for(const Ee in re){const Ce=re[Ee];if(typeof Ce!="object")continue;const{$data:Re}=Ce.definition,Te=ae[Ee];Re&&Te&&(ae[Ee]=ve(Te))}}return W}_removeAllSchemas(W,Y){for(const re in W){const R=W[re];(!Y||Y.test(re))&&(typeof R=="string"?delete W[re]:R&&!R.meta&&(this._cache.delete(R.schema),delete W[re]))}}_addSchema(W,Y,re,R=this.opts.validateSchema,H=this.opts.addUsedSchema){let ae;const{schemaId:Ee}=this.opts;if(typeof W=="object")ae=W[Ee];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof W!="boolean")throw new Error("schema must be object or boolean")}let Ce=this._cache.get(W);if(Ce!==void 0)return Ce;re=(0,l.normalizeId)(ae||re);const Re=l.getSchemaRefs.call(this,W,re);return Ce=new i.SchemaEnv({schema:W,schemaId:Ee,meta:Y,baseId:re,localRefs:Re}),this._cache.set(Ce.schema,Ce),H&&!re.startsWith("#")&&(re&&this._checkUnique(re),this.refs[re]=Ce),R&&this.validateSchema(W,!0),Ce}_checkUnique(W){if(this.schemas[W]||this.refs[W])throw new Error(`schema with key or id "${W}" already exists`)}_compileSchemaEnv(W){if(W.meta?this._compileMetaSchema(W):i.compileSchema.call(this,W),!W.validate)throw new Error("ajv implementation error");return W.validate}_compileMetaSchema(W){const Y=this.opts;this.opts=this._metaOpts;try{i.compileSchema.call(this,W)}finally{this.opts=Y}}}S.ValidationError=n.default,S.MissingRefError=o.default,e.default=S;function _(ce,W,Y,re="error"){for(const R in ce){const H=R;H in W&&this.logger[re](`${Y}: option ${R}. ${ce[H]}`)}}function E(ce){return ce=(0,l.normalizeId)(ce),this.schemas[ce]||this.refs[ce]}function O(){const ce=this.opts.schemas;if(ce)if(Array.isArray(ce))this.addSchema(ce);else for(const W in ce)this.addSchema(ce[W],W)}function P(){for(const ce in this.opts.formats){const W=this.opts.formats[ce];W&&this.addFormat(ce,W)}}function A(ce){if(Array.isArray(ce)){this.addVocabulary(ce);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const W in ce){const Y=ce[W];Y.keyword||(Y.keyword=W),this.addKeyword(Y)}}function V(){const ce={...this.opts};for(const W of g)delete ce[W];return ce}const D={log(){},warn(){},error(){}};function M(ce){if(ce===!1)return D;if(ce===void 0)return console;if(ce.log&&ce.warn&&ce.error)return ce;throw new Error("logger must implement log, warn and error methods")}const z=/^[a-z_$][a-z0-9_$:-]*$/i;function F(ce,W){const{RULES:Y}=this;if((0,c.eachItem)(ce,re=>{if(Y.keywords[re])throw new Error(`Keyword ${re} is already defined`);if(!z.test(re))throw new Error(`Keyword ${re} has invalid name`)}),!!W&&W.$data&&!("code"in W||"validate"in W))throw new Error('$data keyword must have "code" or "validate" function')}function ue(ce,W,Y){var re;const R=W?.post;if(Y&&R)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:H}=this;let ae=R?H.post:H.rules.find(({type:Ce})=>Ce===Y);if(ae||(ae={type:Y,rules:[]},H.rules.push(ae)),H.keywords[ce]=!0,!W)return;const Ee={keyword:ce,definition:{...W,type:(0,u.getJSONTypes)(W.type),schemaType:(0,u.getJSONTypes)(W.schemaType)}};W.before?K.call(this,ae,Ee,W.before):ae.rules.push(Ee),H.all[ce]=Ee,(re=W.implements)===null||re===void 0||re.forEach(Ce=>this.addKeyword(Ce))}function K(ce,W,Y){const re=ce.rules.findIndex(R=>R.keyword===Y);re>=0?ce.rules.splice(re,0,W):(ce.rules.push(W),this.logger.warn(`rule ${Y} is not defined`))}function he(ce){let{metaSchema:W}=ce;W!==void 0&&(ce.$data&&this.opts.$data&&(W=ve(W)),ce.validateSchema=this.compile(W,!0))}const ie={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ve(ce){return{anyOf:[ce,ie]}}}(s_)),s_}var vu={},bu={},wu={},F_;function eD(){if(F_)return wu;F_=1,Object.defineProperty(wu,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return wu.default=e,wu}var $o={},U_;function Fp(){if(U_)return $o;U_=1,Object.defineProperty($o,"__esModule",{value:!0}),$o.callRef=$o.getValidate=void 0;const e=la(),t=on(),r=Ge(),n=rn(),o=gu(),s=ot(),i={keyword:"$ref",schemaType:"string",code(u){const{gen:c,schema:h,it:f}=u,{baseId:d,schemaEnv:g,validateName:v,opts:p,self:m}=f,{root:b}=g;if((h==="#"||h==="#/")&&d===b.baseId)return S();const w=o.resolveRef.call(m,b,d,h);if(w===void 0)throw new e.default(f.opts.uriResolver,d,h);if(w instanceof o.SchemaEnv)return _(w);return E(w);function S(){if(g===b)return l(u,v,g,g.$async);const O=c.scopeValue("root",{ref:b});return l(u,(0,r._)`${O}.validate`,b,b.$async)}function _(O){const P=a(u,O);l(u,P,O,O.$async)}function E(O){const P=c.scopeValue("schema",p.code.source===!0?{ref:O,code:(0,r.stringify)(O)}:{ref:O}),A=c.name("valid"),V=u.subschema({schema:O,dataTypes:[],schemaPath:r.nil,topSchemaRef:P,errSchemaPath:h},A);u.mergeEvaluated(V),u.ok(A)}}};function a(u,c){const{gen:h}=u;return c.validate?h.scopeValue("validate",{ref:c.validate}):(0,r._)`${h.scopeValue("wrapper",{ref:c})}.validate`}$o.getValidate=a;function l(u,c,h,f){const{gen:d,it:g}=u,{allErrors:v,schemaEnv:p,opts:m}=g,b=m.passContext?n.default.this:r.nil;f?w():S();function w(){if(!p.$async)throw new Error("async schema referenced by sync schema");const O=d.let("valid");d.try(()=>{d.code((0,r._)`await ${(0,t.callValidateCode)(u,c,b)}`),E(c),v||d.assign(O,!0)},P=>{d.if((0,r._)`!(${P} instanceof ${g.ValidationError})`,()=>d.throw(P)),_(P),v||d.assign(O,!1)}),u.ok(O)}function S(){u.result((0,t.callValidateCode)(u,c,b),()=>E(c),()=>_(c))}function _(O){const P=(0,r._)`${O}.errors`;d.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${P} : ${n.default.vErrors}.concat(${P})`),d.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function E(O){var P;if(!g.opts.unevaluated)return;const A=(P=h?.validate)===null||P===void 0?void 0:P.evaluated;if(g.props!==!0)if(A&&!A.dynamicProps)A.props!==void 0&&(g.props=s.mergeEvaluated.props(d,A.props,g.props));else{const V=d.var("props",(0,r._)`${O}.evaluated.props`);g.props=s.mergeEvaluated.props(d,V,g.props,r.Name)}if(g.items!==!0)if(A&&!A.dynamicItems)A.items!==void 0&&(g.items=s.mergeEvaluated.items(d,A.items,g.items));else{const V=d.var("items",(0,r._)`${O}.evaluated.items`);g.items=s.mergeEvaluated.items(d,V,g.items,r.Name)}}}return $o.callRef=l,$o.default=i,$o}var q_;function tD(){if(q_)return bu;q_=1,Object.defineProperty(bu,"__esModule",{value:!0});const e=eD(),t=Fp(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return bu.default=r,bu}var _u={},Su={},z_;function rD(){if(z_)return Su;z_=1,Object.defineProperty(Su,"__esModule",{value:!0});const e=Ge(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:s,schemaCode:i})=>(0,e.str)`must be ${r[s].okStr} ${i}`,params:({keyword:s,schemaCode:i})=>(0,e._)`{comparison: ${r[s].okStr}, limit: ${i}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(s){const{keyword:i,data:a,schemaCode:l}=s;s.fail$data((0,e._)`${a} ${r[i].fail} ${l} || isNaN(${a})`)}};return Su.default=o,Su}var Eu={},H_;function nD(){if(H_)return Eu;H_=1,Object.defineProperty(Eu,"__esModule",{value:!0});const e=Ge(),t={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,e._)`{multipleOf: ${r}}`},code(r){const{gen:n,data:o,schemaCode:s,it:i}=r,a=i.opts.multipleOfPrecision,l=n.let("res"),u=a?(0,e._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:(0,e._)`${l} !== parseInt(${l})`;r.fail$data((0,e._)`(${s} === 0 || (${l} = ${o}/${s}, ${u}))`)}};return Eu.default=t,Eu}var xu={},Ou={},G_;function oD(){if(G_)return Ou;G_=1,Object.defineProperty(Ou,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,s;for(;o=55296&&s<=56319&&o(0,e._)`{limit: ${o}}`},code(o){const{keyword:s,data:i,schemaCode:a,it:l}=o,u=s==="maxLength"?e.operators.GT:e.operators.LT,c=l.opts.unicode===!1?(0,e._)`${i}.length`:(0,e._)`${(0,t.useFunc)(o.gen,r.default)}(${i})`;o.fail$data((0,e._)`${c} ${u} ${a}`)}};return xu.default=n,xu}var $u={},K_;function iD(){if(K_)return $u;K_=1,Object.defineProperty($u,"__esModule",{value:!0});const e=on(),t=Ge(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,t.str)`must match pattern "${n}"`,params:({schemaCode:n})=>(0,t._)`{pattern: ${n}}`},code(n){const{data:o,$data:s,schema:i,schemaCode:a,it:l}=n,u=l.opts.unicodeRegExp?"u":"",c=s?(0,t._)`(new RegExp(${a}, ${u}))`:(0,e.usePattern)(n,i);n.fail$data((0,t._)`!${c}.test(${o})`)}};return $u.default=r,$u}var Cu={},J_;function aD(){if(J_)return Cu;J_=1,Object.defineProperty(Cu,"__esModule",{value:!0});const e=Ge(),t={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} properties`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxProperties"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`Object.keys(${o}).length ${i} ${s}`)}};return Cu.default=t,Cu}var Tu={},Z_;function lD(){if(Z_)return Tu;Z_=1,Object.defineProperty(Tu,"__esModule",{value:!0});const e=on(),t=Ge(),r=ot(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:o}})=>(0,t.str)`must have required property '${o}'`,params:({params:{missingProperty:o}})=>(0,t._)`{missingProperty: ${o}}`},code(o){const{gen:s,schema:i,schemaCode:a,data:l,$data:u,it:c}=o,{opts:h}=c;if(!u&&i.length===0)return;const f=i.length>=h.loopRequired;if(c.allErrors?d():g(),h.strictRequired){const m=o.parentSchema.properties,{definedProperties:b}=o.it;for(const w of i)if(m?.[w]===void 0&&!b.has(w)){const S=c.schemaEnv.baseId+c.errSchemaPath,_=`required property "${w}" is not defined at "${S}" (strictRequired)`;(0,r.checkStrictMode)(c,_,c.opts.strictRequired)}}function d(){if(f||u)o.block$data(t.nil,v);else for(const m of i)(0,e.checkReportMissingProp)(o,m)}function g(){const m=s.let("missing");if(f||u){const b=s.let("valid",!0);o.block$data(b,()=>p(m,b)),o.ok(b)}else s.if((0,e.checkMissingProp)(o,i,m)),(0,e.reportMissingProp)(o,m),s.else()}function v(){s.forOf("prop",a,m=>{o.setParams({missingProperty:m}),s.if((0,e.noPropertyInData)(s,l,m,h.ownProperties),()=>o.error())})}function p(m,b){o.setParams({missingProperty:m}),s.forOf(m,a,()=>{s.assign(b,(0,e.propertyInData)(s,l,m,h.ownProperties)),s.if((0,t.not)(b),()=>{o.error(),s.break()})},t.nil)}}};return Tu.default=n,Tu}var ku={},Y_;function uD(){if(Y_)return ku;Y_=1,Object.defineProperty(ku,"__esModule",{value:!0});const e=Ge(),t={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} items`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxItems"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`${o}.length ${i} ${s}`)}};return ku.default=t,ku}var Au={},Pu={},X_;function Up(){if(X_)return Pu;X_=1,Object.defineProperty(Pu,"__esModule",{value:!0});const e=yf();return e.code='require("ajv/dist/runtime/equal").default',Pu.default=e,Pu}var Q_;function cD(){if(Q_)return Au;Q_=1,Object.defineProperty(Au,"__esModule",{value:!0});const e=du(),t=Ge(),r=ot(),n=Up(),o={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:i}})=>(0,t.str)`must NOT have duplicate items (items ## ${i} and ${s} are identical)`,params:({params:{i:s,j:i}})=>(0,t._)`{i: ${s}, j: ${i}}`},code(s){const{gen:i,data:a,$data:l,schema:u,parentSchema:c,schemaCode:h,it:f}=s;if(!l&&!u)return;const d=i.let("valid"),g=c.items?(0,e.getSchemaTypes)(c.items):[];s.block$data(d,v,(0,t._)`${h} === false`),s.ok(d);function v(){const w=i.let("i",(0,t._)`${a}.length`),S=i.let("j");s.setParams({i:w,j:S}),i.assign(d,!0),i.if((0,t._)`${w} > 1`,()=>(p()?m:b)(w,S))}function p(){return g.length>0&&!g.some(w=>w==="object"||w==="array")}function m(w,S){const _=i.name("item"),E=(0,e.checkDataTypes)(g,_,f.opts.strictNumbers,e.DataType.Wrong),O=i.const("indices",(0,t._)`{}`);i.for((0,t._)`;${w}--;`,()=>{i.let(_,(0,t._)`${a}[${w}]`),i.if(E,(0,t._)`continue`),g.length>1&&i.if((0,t._)`typeof ${_} == "string"`,(0,t._)`${_} += "_"`),i.if((0,t._)`typeof ${O}[${_}] == "number"`,()=>{i.assign(S,(0,t._)`${O}[${_}]`),s.error(),i.assign(d,!1).break()}).code((0,t._)`${O}[${_}] = ${w}`)})}function b(w,S){const _=(0,r.useFunc)(i,n.default),E=i.name("outer");i.label(E).for((0,t._)`;${w}--;`,()=>i.for((0,t._)`${S} = ${w}; ${S}--;`,()=>i.if((0,t._)`${_}(${a}[${w}], ${a}[${S}])`,()=>{s.error(),i.assign(d,!1).break(E)})))}}};return Au.default=o,Au}var Nu={},eS;function dD(){if(eS)return Nu;eS=1,Object.defineProperty(Nu,"__esModule",{value:!0});const e=Ge(),t=ot(),r=Up(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:o})=>(0,e._)`{allowedValue: ${o}}`},code(o){const{gen:s,data:i,$data:a,schemaCode:l,schema:u}=o;a||u&&typeof u=="object"?o.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${i}, ${l})`):o.fail((0,e._)`${u} !== ${i}`)}};return Nu.default=n,Nu}var Iu={},tS;function fD(){if(tS)return Iu;tS=1,Object.defineProperty(Iu,"__esModule",{value:!0});const e=Ge(),t=ot(),r=Up(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:o})=>(0,e._)`{allowedValues: ${o}}`},code(o){const{gen:s,data:i,$data:a,schema:l,schemaCode:u,it:c}=o;if(!a&&l.length===0)throw new Error("enum must have non-empty array");const h=l.length>=c.opts.loopEnum;let f;const d=()=>f??(f=(0,t.useFunc)(s,r.default));let g;if(h||a)g=s.let("valid"),o.block$data(g,v);else{if(!Array.isArray(l))throw new Error("ajv implementation error");const m=s.const("vSchema",u);g=(0,e.or)(...l.map((b,w)=>p(m,w)))}o.pass(g);function v(){s.assign(g,!1),s.forOf("v",u,m=>s.if((0,e._)`${d()}(${i}, ${m})`,()=>s.assign(g,!0).break()))}function p(m,b){const w=l[b];return typeof w=="object"&&w!==null?(0,e._)`${d()}(${i}, ${m}[${b}])`:(0,e._)`${i} === ${w}`}}};return Iu.default=n,Iu}var rS;function pD(){if(rS)return _u;rS=1,Object.defineProperty(_u,"__esModule",{value:!0});const e=rD(),t=nD(),r=sD(),n=iD(),o=aD(),s=lD(),i=uD(),a=cD(),l=dD(),u=fD(),c=[e.default,t.default,r.default,n.default,o.default,s.default,i.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,u.default];return _u.default=c,_u}var Du={},Bs={},nS;function oS(){if(nS)return Bs;nS=1,Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.validateAdditionalItems=void 0;const e=Ge(),t=ot(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{parentSchema:s,it:i}=o,{items:a}=s;if(!Array.isArray(a)){(0,t.checkStrictMode)(i,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(o,a)}};function n(o,s){const{gen:i,schema:a,data:l,keyword:u,it:c}=o;c.items=!0;const h=i.const("len",(0,e._)`${l}.length`);if(a===!1)o.setParams({len:s.length}),o.pass((0,e._)`${h} <= ${s.length}`);else if(typeof a=="object"&&!(0,t.alwaysValidSchema)(c,a)){const d=i.var("valid",(0,e._)`${h} <= ${s.length}`);i.if((0,e.not)(d),()=>f(d)),o.ok(d)}function f(d){i.forRange("i",s.length,h,g=>{o.subschema({keyword:u,dataProp:g,dataPropType:t.Type.Num},d),c.allErrors||i.if((0,e.not)(d),()=>i.break())})}}return Bs.validateAdditionalItems=n,Bs.default=r,Bs}var ju={},Vs={},sS;function iS(){if(sS)return Vs;sS=1,Object.defineProperty(Vs,"__esModule",{value:!0}),Vs.validateTuple=void 0;const e=Ge(),t=ot(),r=on(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(s){const{schema:i,it:a}=s;if(Array.isArray(i))return o(s,"additionalItems",i);a.items=!0,!(0,t.alwaysValidSchema)(a,i)&&s.ok((0,r.validateArray)(s))}};function o(s,i,a=s.schema){const{gen:l,parentSchema:u,data:c,keyword:h,it:f}=s;v(u),f.opts.unevaluated&&a.length&&f.items!==!0&&(f.items=t.mergeEvaluated.items(l,a.length,f.items));const d=l.name("valid"),g=l.const("len",(0,e._)`${c}.length`);a.forEach((p,m)=>{(0,t.alwaysValidSchema)(f,p)||(l.if((0,e._)`${g} > ${m}`,()=>s.subschema({keyword:h,schemaProp:m,dataProp:m},d)),s.ok(d))});function v(p){const{opts:m,errSchemaPath:b}=f,w=a.length,S=w===p.minItems&&(w===p.maxItems||p[i]===!1);if(m.strictTuples&&!S){const _=`"${h}" is ${w}-tuple, but minItems or maxItems/${i} are not specified or different at path "${b}"`;(0,t.checkStrictMode)(f,_,m.strictTuples)}}}return Vs.validateTuple=o,Vs.default=n,Vs}var aS;function hD(){if(aS)return ju;aS=1,Object.defineProperty(ju,"__esModule",{value:!0});const e=iS(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return ju.default=t,ju}var Ru={},lS;function mD(){if(lS)return Ru;lS=1,Object.defineProperty(Ru,"__esModule",{value:!0});const e=Ge(),t=ot(),r=on(),n=oS(),o={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:i,parentSchema:a,it:l}=s,{prefixItems:u}=a;l.items=!0,!(0,t.alwaysValidSchema)(l,i)&&(u?(0,n.validateAdditionalItems)(s,u):s.ok((0,r.validateArray)(s)))}};return Ru.default=o,Ru}var Mu={},uS;function gD(){if(uS)return Mu;uS=1,Object.defineProperty(Mu,"__esModule",{value:!0});const e=Ge(),t=ot(),r={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:o}})=>o===void 0?(0,e.str)`must contain at least ${n} valid item(s)`:(0,e.str)`must contain at least ${n} and no more than ${o} valid item(s)`,params:({params:{min:n,max:o}})=>o===void 0?(0,e._)`{minContains: ${n}}`:(0,e._)`{minContains: ${n}, maxContains: ${o}}`},code(n){const{gen:o,schema:s,parentSchema:i,data:a,it:l}=n;let u,c;const{minContains:h,maxContains:f}=i;l.opts.next?(u=h===void 0?1:h,c=f):u=1;const d=o.const("len",(0,e._)`${a}.length`);if(n.setParams({min:u,max:c}),c===void 0&&u===0){(0,t.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(c!==void 0&&u>c){(0,t.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,t.alwaysValidSchema)(l,s)){let b=(0,e._)`${d} >= ${u}`;c!==void 0&&(b=(0,e._)`${b} && ${d} <= ${c}`),n.pass(b);return}l.items=!0;const g=o.name("valid");c===void 0&&u===1?p(g,()=>o.if(g,()=>o.break())):u===0?(o.let(g,!0),c!==void 0&&o.if((0,e._)`${a}.length > 0`,v)):(o.let(g,!1),v()),n.result(g,()=>n.reset());function v(){const b=o.name("_valid"),w=o.let("count",0);p(b,()=>o.if(b,()=>m(w)))}function p(b,w){o.forRange("i",0,d,S=>{n.subschema({keyword:"contains",dataProp:S,dataPropType:t.Type.Num,compositeRule:!0},b),w()})}function m(b){o.code((0,e._)`${b}++`),c===void 0?o.if((0,e._)`${b} >= ${u}`,()=>o.assign(g,!0).break()):(o.if((0,e._)`${b} > ${c}`,()=>o.assign(g,!1).break()),u===1?o.assign(g,!0):o.if((0,e._)`${b} >= ${u}`,()=>o.assign(g,!0)))}}};return Mu.default=r,Mu}var cS={},dS;function qp(){return dS||(dS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=Ge(),r=ot(),n=on();e.error={message:({params:{property:l,depsCount:u,deps:c}})=>{const h=u===1?"property":"properties";return(0,t.str)`must have ${h} ${c} when property ${l} is present`},params:({params:{property:l,depsCount:u,deps:c,missingProperty:h}})=>(0,t._)`{property: ${l}, - missingProperty: ${h}, - depsCount: ${u}, - deps: ${c}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[u,c]=s(l);i(l,u),a(l,c)}};function s({schema:l}){const u={},c={};for(const h in l){if(h==="__proto__")continue;const f=Array.isArray(l[h])?u:c;f[h]=l[h]}return[u,c]}function i(l,u=l.schema){const{gen:c,data:h,it:f}=l;if(Object.keys(u).length===0)return;const d=c.let("missing");for(const g in u){const v=u[g];if(v.length===0)continue;const p=(0,n.propertyInData)(c,h,g,f.opts.ownProperties);l.setParams({property:g,depsCount:v.length,deps:v.join(", ")}),f.allErrors?c.if(p,()=>{for(const m of v)(0,n.checkReportMissingProp)(l,m)}):(c.if((0,t._)`${p} && (${(0,n.checkMissingProp)(l,v,d)})`),(0,n.reportMissingProp)(l,d),c.else())}}e.validatePropertyDeps=i;function a(l,u=l.schema){const{gen:c,data:h,keyword:f,it:d}=l,g=c.name("valid");for(const v in u)(0,r.alwaysValidSchema)(d,u[v])||(c.if((0,n.propertyInData)(c,h,v,d.opts.ownProperties),()=>{const p=l.subschema({keyword:f,schemaProp:v},g);l.mergeValidEvaluated(p,g)},()=>c.var(g,!0)),l.ok(g))}e.validateSchemaDeps=a,e.default=o}(cS)),cS}var Bu={},fS;function yD(){if(fS)return Bu;fS=1,Object.defineProperty(Bu,"__esModule",{value:!0});const e=Ge(),t=ot(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,e._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:o,schema:s,data:i,it:a}=n;if((0,t.alwaysValidSchema)(a,s))return;const l=o.name("valid");o.forIn("key",i,u=>{n.setParams({propertyName:u}),n.subschema({keyword:"propertyNames",data:u,dataTypes:["string"],propertyName:u,compositeRule:!0},l),o.if((0,e.not)(l),()=>{n.error(!0),a.allErrors||o.break()})}),n.ok(l)}};return Bu.default=r,Bu}var Vu={},pS;function hS(){if(pS)return Vu;pS=1,Object.defineProperty(Vu,"__esModule",{value:!0});const e=on(),t=Ge(),r=rn(),n=ot(),o={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:i,schema:a,parentSchema:l,data:u,errsCount:c,it:h}=s;if(!c)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=h;if(h.props=!0,d.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(h,a))return;const g=(0,e.allSchemaProperties)(l.properties),v=(0,e.allSchemaProperties)(l.patternProperties);p(),s.ok((0,t._)`${c} === ${r.default.errors}`);function p(){i.forIn("key",u,_=>{!g.length&&!v.length?w(_):i.if(m(_),()=>w(_))})}function m(_){let E;if(g.length>8){const O=(0,n.schemaRefOrVal)(h,l.properties,"properties");E=(0,e.isOwnProperty)(i,O,_)}else g.length?E=(0,t.or)(...g.map(O=>(0,t._)`${_} === ${O}`)):E=t.nil;return v.length&&(E=(0,t.or)(E,...v.map(O=>(0,t._)`${(0,e.usePattern)(s,O)}.test(${_})`))),(0,t.not)(E)}function b(_){i.code((0,t._)`delete ${u}[${_}]`)}function w(_){if(d.removeAdditional==="all"||d.removeAdditional&&a===!1){b(_);return}if(a===!1){s.setParams({additionalProperty:_}),s.error(),f||i.break();return}if(typeof a=="object"&&!(0,n.alwaysValidSchema)(h,a)){const E=i.name("valid");d.removeAdditional==="failing"?(S(_,E,!1),i.if((0,t.not)(E),()=>{s.reset(),b(_)})):(S(_,E),f||i.if((0,t.not)(E),()=>i.break()))}}function S(_,E,O){const P={keyword:"additionalProperties",dataProp:_,dataPropType:n.Type.Str};O===!1&&Object.assign(P,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(P,E)}}};return Vu.default=o,Vu}var Lu={},mS;function vD(){if(mS)return Lu;mS=1,Object.defineProperty(Lu,"__esModule",{value:!0});const e=aa(),t=on(),r=ot(),n=hS(),o={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,parentSchema:l,data:u,it:c}=s;c.opts.removeAdditional==="all"&&l.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(c,n.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(a);for(const p of h)c.definedProperties.add(p);c.opts.unevaluated&&h.length&&c.props!==!0&&(c.props=r.mergeEvaluated.props(i,(0,r.toHash)(h),c.props));const f=h.filter(p=>!(0,r.alwaysValidSchema)(c,a[p]));if(f.length===0)return;const d=i.name("valid");for(const p of f)g(p)?v(p):(i.if((0,t.propertyInData)(i,u,p,c.opts.ownProperties)),v(p),c.allErrors||i.else().var(d,!0),i.endIf()),s.it.definedProperties.add(p),s.ok(d);function g(p){return c.opts.useDefaults&&!c.compositeRule&&a[p].default!==void 0}function v(p){s.subschema({keyword:"properties",schemaProp:p,dataProp:p},d)}}};return Lu.default=o,Lu}var Fu={},gS;function bD(){if(gS)return Fu;gS=1,Object.defineProperty(Fu,"__esModule",{value:!0});const e=on(),t=Ge(),r=ot(),n=ot(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,data:l,parentSchema:u,it:c}=s,{opts:h}=c,f=(0,e.allSchemaProperties)(a),d=f.filter(S=>(0,r.alwaysValidSchema)(c,a[S]));if(f.length===0||d.length===f.length&&(!c.opts.unevaluated||c.props===!0))return;const g=h.strictSchema&&!h.allowMatchingProperties&&u.properties,v=i.name("valid");c.props!==!0&&!(c.props instanceof t.Name)&&(c.props=(0,n.evaluatedPropsToName)(i,c.props));const{props:p}=c;m();function m(){for(const S of f)g&&b(S),c.allErrors?w(S):(i.var(v,!0),w(S),i.if(v))}function b(S){for(const _ in g)new RegExp(S).test(_)&&(0,r.checkStrictMode)(c,`property ${_} matches pattern ${S} (use allowMatchingProperties)`)}function w(S){i.forIn("key",l,_=>{i.if((0,t._)`${(0,e.usePattern)(s,S)}.test(${_})`,()=>{const E=d.includes(S);E||s.subschema({keyword:"patternProperties",schemaProp:S,dataProp:_,dataPropType:n.Type.Str},v),c.opts.unevaluated&&p!==!0?i.assign((0,t._)`${p}[${_}]`,!0):!E&&!c.allErrors&&i.if((0,t.not)(v),()=>i.break())})})}}};return Fu.default=o,Fu}var Uu={},yS;function wD(){if(yS)return Uu;yS=1,Object.defineProperty(Uu,"__esModule",{value:!0});const e=ot(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:s}=r;if((0,e.alwaysValidSchema)(s,o)){r.fail();return}const i=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),r.failResult(i,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Uu.default=t,Uu}var qu={},vS;function _D(){if(vS)return qu;vS=1,Object.defineProperty(qu,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:on().validateUnion,error:{message:"must match a schema in anyOf"}};return qu.default=e,qu}var zu={},bS;function SD(){if(bS)return zu;bS=1,Object.defineProperty(zu,"__esModule",{value:!0});const e=Ge(),t=ot(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,e._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:o,schema:s,parentSchema:i,it:a}=n;if(!Array.isArray(s))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const l=s,u=o.let("valid",!1),c=o.let("passing",null),h=o.name("_valid");n.setParams({passing:c}),o.block(f),n.result(u,()=>n.reset(),()=>n.error(!0));function f(){l.forEach((d,g)=>{let v;(0,t.alwaysValidSchema)(a,d)?o.var(h,!0):v=n.subschema({keyword:"oneOf",schemaProp:g,compositeRule:!0},h),g>0&&o.if((0,e._)`${h} && ${u}`).assign(u,!1).assign(c,(0,e._)`[${c}, ${g}]`).else(),o.if(h,()=>{o.assign(u,!0),o.assign(c,g),v&&n.mergeEvaluated(v,e.Name)})})}}};return zu.default=r,zu}var Hu={},wS;function ED(){if(wS)return Hu;wS=1,Object.defineProperty(Hu,"__esModule",{value:!0});const e=ot(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:s}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const i=n.name("valid");o.forEach((a,l)=>{if((0,e.alwaysValidSchema)(s,a))return;const u=r.subschema({keyword:"allOf",schemaProp:l},i);r.ok(i),r.mergeEvaluated(u)})}};return Hu.default=t,Hu}var Gu={},_S;function xD(){if(_S)return Gu;_S=1,Object.defineProperty(Gu,"__esModule",{value:!0});const e=Ge(),t=ot(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:o})=>(0,e.str)`must match "${o.ifClause}" schema`,params:({params:o})=>(0,e._)`{failingKeyword: ${o.ifClause}}`},code(o){const{gen:s,parentSchema:i,it:a}=o;i.then===void 0&&i.else===void 0&&(0,t.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const l=n(a,"then"),u=n(a,"else");if(!l&&!u)return;const c=s.let("valid",!0),h=s.name("_valid");if(f(),o.reset(),l&&u){const g=s.let("ifClause");o.setParams({ifClause:g}),s.if(h,d("then",g),d("else",g))}else l?s.if(h,d("then")):s.if((0,e.not)(h),d("else"));o.pass(c,()=>o.error(!0));function f(){const g=o.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},h);o.mergeEvaluated(g)}function d(g,v){return()=>{const p=o.subschema({keyword:g},h);s.assign(c,h),o.mergeValidEvaluated(p,c),v?s.assign(v,(0,e._)`${g}`):o.setParams({ifClause:g})}}}};function n(o,s){const i=o.schema[s];return i!==void 0&&!(0,t.alwaysValidSchema)(o,i)}return Gu.default=r,Gu}var Wu={},SS;function OD(){if(SS)return Wu;SS=1,Object.defineProperty(Wu,"__esModule",{value:!0});const e=ot(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Wu.default=t,Wu}var ES;function $D(){if(ES)return Du;ES=1,Object.defineProperty(Du,"__esModule",{value:!0});const e=oS(),t=hD(),r=iS(),n=mD(),o=gD(),s=qp(),i=yD(),a=hS(),l=vD(),u=bD(),c=wD(),h=_D(),f=SD(),d=ED(),g=xD(),v=OD();function p(m=!1){const b=[c.default,h.default,f.default,d.default,g.default,v.default,i.default,a.default,s.default,l.default,u.default];return m?b.push(t.default,n.default):b.push(e.default,r.default),b.push(o.default),b}return Du.default=p,Du}var Ku={},Ju={},xS;function CD(){if(xS)return Ju;xS=1,Object.defineProperty(Ju,"__esModule",{value:!0});const e=Ge(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,e._)`{format: ${r}}`},code(r,n){const{gen:o,data:s,$data:i,schema:a,schemaCode:l,it:u}=r,{opts:c,errSchemaPath:h,schemaEnv:f,self:d}=u;if(!c.validateFormats)return;i?g():v();function g(){const p=o.scopeValue("formats",{ref:d.formats,code:c.code.formats}),m=o.const("fDef",(0,e._)`${p}[${l}]`),b=o.let("fType"),w=o.let("format");o.if((0,e._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>o.assign(b,(0,e._)`${m}.type || "string"`).assign(w,(0,e._)`${m}.validate`),()=>o.assign(b,(0,e._)`"string"`).assign(w,m)),r.fail$data((0,e.or)(S(),_()));function S(){return c.strictSchema===!1?e.nil:(0,e._)`${l} && !${w}`}function _(){const E=f.$async?(0,e._)`(${m}.async ? await ${w}(${s}) : ${w}(${s}))`:(0,e._)`${w}(${s})`,O=(0,e._)`(typeof ${w} == "function" ? ${E} : ${w}.test(${s}))`;return(0,e._)`${w} && ${w} !== true && ${b} === ${n} && !${O}`}}function v(){const p=d.formats[a];if(!p){S();return}if(p===!0)return;const[m,b,w]=_(p);m===n&&r.pass(E());function S(){if(c.strictSchema===!1){d.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${a}" ignored in schema at path "${h}"`}}function _(O){const P=O instanceof RegExp?(0,e.regexpCode)(O):c.code.formats?(0,e._)`${c.code.formats}${(0,e.getProperty)(a)}`:void 0,A=o.scopeValue("formats",{key:a,ref:O,code:P});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,e._)`${A}.validate`]:["string",O,A]}function E(){if(typeof p=="object"&&!(p instanceof RegExp)&&p.async){if(!f.$async)throw new Error("async format in sync schema");return(0,e._)`await ${w}(${s})`}return typeof b=="function"?(0,e._)`${w}(${s})`:(0,e._)`${w}.test(${s})`}}}};return Ju.default=t,Ju}var OS;function TD(){if(OS)return Ku;OS=1,Object.defineProperty(Ku,"__esModule",{value:!0});const e=[CD().default];return Ku.default=e,Ku}var Ls={},$S;function kD(){return $S||($S=1,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.contentVocabulary=Ls.metadataVocabulary=void 0,Ls.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Ls.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Ls}var CS;function TS(){if(CS)return vu;CS=1,Object.defineProperty(vu,"__esModule",{value:!0});const e=tD(),t=pD(),r=$D(),n=TD(),o=kD(),s=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return vu.default=s,vu}var Zu={},Fs={},kS;function AS(){if(kS)return Fs;kS=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.dynamicAnchor=void 0;const e=Ge(),t=rn(),r=gu(),n=Fp(),o={keyword:"$dynamicAnchor",schemaType:"string",code:a=>s(a,a.schema)};function s(a,l){const{gen:u,it:c}=a;c.schemaEnv.root.dynamicAnchors[l]=!0;const h=(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(l)}`,f=c.errSchemaPath==="#"?c.validateName:i(a);u.if((0,e._)`!${h}`,()=>u.assign(h,f))}Fs.dynamicAnchor=s;function i(a){const{schemaEnv:l,schema:u,self:c}=a.it,{root:h,baseId:f,localRefs:d,meta:g}=l.root,{schemaId:v}=c.opts,p=new r.SchemaEnv({schema:u,schemaId:v,root:h,baseId:f,localRefs:d,meta:g});return r.compileSchema.call(c,p),(0,n.getValidate)(a,p)}return Fs.default=o,Fs}var Us={},PS;function NS(){if(PS)return Us;PS=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.dynamicRef=void 0;const e=Ge(),t=rn(),r=Fp(),n={keyword:"$dynamicRef",schemaType:"string",code:s=>o(s,s.schema)};function o(s,i){const{gen:a,keyword:l,it:u}=s;if(i[0]!=="#")throw new Error(`"${l}" only supports hash fragment reference`);const c=i.slice(1);if(u.allErrors)h();else{const d=a.let("valid",!1);h(d),s.ok(d)}function h(d){if(u.schemaEnv.root.dynamicAnchors[c]){const g=a.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(c)}`);a.if(g,f(g,d),f(u.validateName,d))}else f(u.validateName,d)()}function f(d,g){return g?()=>a.block(()=>{(0,r.callRef)(s,d),a.let(g,!0)}):()=>(0,r.callRef)(s,d)}}return Us.dynamicRef=o,Us.default=n,Us}var Yu={},IS;function AD(){if(IS)return Yu;IS=1,Object.defineProperty(Yu,"__esModule",{value:!0});const e=AS(),t=ot(),r={keyword:"$recursiveAnchor",schemaType:"boolean",code(n){n.schema?(0,e.dynamicAnchor)(n,""):(0,t.checkStrictMode)(n.it,"$recursiveAnchor: false is ignored")}};return Yu.default=r,Yu}var Xu={},DS;function PD(){if(DS)return Xu;DS=1,Object.defineProperty(Xu,"__esModule",{value:!0});const e=NS(),t={keyword:"$recursiveRef",schemaType:"string",code:r=>(0,e.dynamicRef)(r,r.schema)};return Xu.default=t,Xu}var jS;function ND(){if(jS)return Zu;jS=1,Object.defineProperty(Zu,"__esModule",{value:!0});const e=AS(),t=NS(),r=AD(),n=PD(),o=[e.default,t.default,r.default,n.default];return Zu.default=o,Zu}var Qu={},ec={},RS;function ID(){if(RS)return ec;RS=1,Object.defineProperty(ec,"__esModule",{value:!0});const e=qp(),t={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:r=>(0,e.validatePropertyDeps)(r)};return ec.default=t,ec}var tc={},MS;function DD(){if(MS)return tc;MS=1,Object.defineProperty(tc,"__esModule",{value:!0});const e=qp(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:r=>(0,e.validateSchemaDeps)(r)};return tc.default=t,tc}var rc={},BS;function jD(){if(BS)return rc;BS=1,Object.defineProperty(rc,"__esModule",{value:!0});const e=ot(),t={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:r,parentSchema:n,it:o}){n.contains===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "contains" is ignored`)}};return rc.default=t,rc}var VS;function RD(){if(VS)return Qu;VS=1,Object.defineProperty(Qu,"__esModule",{value:!0});const e=ID(),t=DD(),r=jD(),n=[e.default,t.default,r.default];return Qu.default=n,Qu}var nc={},oc={},LS;function MD(){if(LS)return oc;LS=1,Object.defineProperty(oc,"__esModule",{value:!0});const e=Ge(),t=ot(),r=rn(),n={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:o})=>(0,e._)`{unevaluatedProperty: ${o.unevaluatedProperty}}`},code(o){const{gen:s,schema:i,data:a,errsCount:l,it:u}=o;if(!l)throw new Error("ajv implementation error");const{allErrors:c,props:h}=u;h instanceof e.Name?s.if((0,e._)`${h} !== true`,()=>s.forIn("key",a,v=>s.if(d(h,v),()=>f(v)))):h!==!0&&s.forIn("key",a,v=>h===void 0?f(v):s.if(g(h,v),()=>f(v))),u.props=!0,o.ok((0,e._)`${l} === ${r.default.errors}`);function f(v){if(i===!1){o.setParams({unevaluatedProperty:v}),o.error(),c||s.break();return}if(!(0,t.alwaysValidSchema)(u,i)){const p=s.name("valid");o.subschema({keyword:"unevaluatedProperties",dataProp:v,dataPropType:t.Type.Str},p),c||s.if((0,e.not)(p),()=>s.break())}}function d(v,p){return(0,e._)`!${v} || !${v}[${p}]`}function g(v,p){const m=[];for(const b in v)v[b]===!0&&m.push((0,e._)`${p} !== ${b}`);return(0,e.and)(...m)}}};return oc.default=n,oc}var sc={},FS;function BD(){if(FS)return sc;FS=1,Object.defineProperty(sc,"__esModule",{value:!0});const e=Ge(),t=ot(),r={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:n}})=>(0,e.str)`must NOT have more than ${n} items`,params:({params:{len:n}})=>(0,e._)`{limit: ${n}}`},code(n){const{gen:o,schema:s,data:i,it:a}=n,l=a.items||0;if(l===!0)return;const u=o.const("len",(0,e._)`${i}.length`);if(s===!1)n.setParams({len:l}),n.fail((0,e._)`${u} > ${l}`);else if(typeof s=="object"&&!(0,t.alwaysValidSchema)(a,s)){const h=o.var("valid",(0,e._)`${u} <= ${l}`);o.if((0,e.not)(h),()=>c(h,l)),n.ok(h)}a.items=!0;function c(h,f){o.forRange("i",f,u,d=>{n.subschema({keyword:"unevaluatedItems",dataProp:d,dataPropType:t.Type.Num},h),a.allErrors||o.if((0,e.not)(h),()=>o.break())})}}};return sc.default=r,sc}var US;function VD(){if(US)return nc;US=1,Object.defineProperty(nc,"__esModule",{value:!0});const e=MD(),t=BD(),r=[e.default,t.default];return nc.default=r,nc}var ic={},ca={},qS;function LD(){if(qS)return ca;qS=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(ca.DiscrError=e={})),ca}var zS;function HS(){if(zS)return ic;zS=1,Object.defineProperty(ic,"__esModule",{value:!0});const e=Ge(),t=LD(),r=gu(),n=la(),o=ot(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:i,tagName:a}})=>i===t.DiscrError.Tag?`tag "${a}" must be string`:`value of tag "${a}" must be in oneOf`,params:({params:{discrError:i,tag:a,tagName:l}})=>(0,e._)`{error: ${i}, tag: ${l}, tagValue: ${a}}`},code(i){const{gen:a,data:l,schema:u,parentSchema:c,it:h}=i,{oneOf:f}=c;if(!h.opts.discriminator)throw new Error("discriminator: requires discriminator option");const d=u.propertyName;if(typeof d!="string")throw new Error("discriminator: requires propertyName");if(u.mapping)throw new Error("discriminator: mapping is not supported");if(!f)throw new Error("discriminator: requires oneOf keyword");const g=a.let("valid",!1),v=a.const("tag",(0,e._)`${l}${(0,e.getProperty)(d)}`);a.if((0,e._)`typeof ${v} == "string"`,()=>p(),()=>i.error(!1,{discrError:t.DiscrError.Tag,tag:v,tagName:d})),i.ok(g);function p(){const w=b();a.if(!1);for(const S in w)a.elseIf((0,e._)`${v} === ${S}`),a.assign(g,m(w[S]));a.else(),i.error(!1,{discrError:t.DiscrError.Mapping,tag:v,tagName:d}),a.endIf()}function m(w){const S=a.name("valid"),_=i.subschema({keyword:"oneOf",schemaProp:w},S);return i.mergeEvaluated(_,e.Name),S}function b(){var w;const S={},_=O(c);let E=!0;for(let V=0;Vthis.addMetaSchema(h,void 0,!1)),this;function c(h,f){return u?h.$dataMetaSchema(f,a):f}}return ac.default=l,ac}var WS;function Wj(){return WS||(WS=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2019=void 0;const r=L_(),n=TS(),o=ND(),s=RD(),i=VD(),a=HS(),l=Gj(),u="https://json-schema.org/draft/2019-09/schema";class c extends r.default{constructor(p={}){super({...p,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(o.default),n.default.forEach(p=>this.addVocabulary(p)),this.addVocabulary(s.default),this.addVocabulary(i.default),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:p,meta:m}=this.opts;m&&(l.default.call(this,p),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}t.Ajv2019=c,e.exports=t=c,e.exports.Ajv2019=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var h=aa();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return h.KeywordCxt}});var f=Ge();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return f._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return f.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return f.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return f.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return f.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return f.CodeGen}});var d=hu();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var g=la();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return g.default}})}(Mp,Mp.exports)),Mp.exports}var zp={exports:{}},KS={},JS;function Kj(){return JS||(JS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(A,V){return{validate:A,compare:V}}e.fullFormats={date:t(s,i),time:t(l,u),"date-time":t(h,f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:v,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:P,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:m,int32:{type:"number",validate:S},int64:{type:"number",validate:_},float:{type:"number",validate:E},double:{type:"number",validate:E},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(A){return A%4===0&&(A%100!==0||A%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(A){const V=n.exec(A);if(!V)return!1;const D=+V[1],M=+V[2],z=+V[3];return M>=1&&M<=12&&z>=1&&z<=(M===2&&r(D)?29:o[M])}function i(A,V){if(A&&V)return A>V?1:AV?1:A=b}function _(A){return Number.isInteger(A)}function E(){return!0}const O=/[^\\]\\Z/;function P(A){if(O.test(A))return!1;try{return new RegExp(A),!0}catch{return!1}}}(KS)),KS}var ZS={},Hp={exports:{}};const Jj="http://json-schema.org/draft-07/schema#",Zj="http://json-schema.org/draft-07/schema#",Yj="Core schema meta-schema",Xj={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Qj=["object","boolean"],eR={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},tR={$schema:Jj,$id:Zj,title:Yj,definitions:Xj,type:Qj,properties:eR,default:!0};var YS;function rR(){return YS||(YS=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=L_(),n=TS(),o=HS(),s=tR,i=["/properties"],a="http://json-schema.org/draft-07/schema";class l extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(g=>this.addVocabulary(g)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const g=this.opts.$data?this.$dataMetaSchema(s,i):s;this.addMetaSchema(g,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=aa();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var c=Ge();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var h=hu();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=la();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})}(Hp,Hp.exports)),Hp.exports}var XS;function nR(){return XS||(XS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=rR(),r=Ge(),n=r.operators,o={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},s={message:({keyword:a,schemaCode:l})=>r.str`should be ${o[a].okStr} ${l}`,params:({keyword:a,schemaCode:l})=>r._`{comparison: ${o[a].okStr}, limit: ${l}}`};e.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:s,code(a){const{gen:l,data:u,schemaCode:c,keyword:h,it:f}=a,{opts:d,self:g}=f;if(!d.validateFormats)return;const v=new t.KeywordCxt(f,g.RULES.all.format.definition,"format");v.$data?p():m();function p(){const w=l.scopeValue("formats",{ref:g.formats,code:d.code.formats}),S=l.const("fmt",r._`${w}[${v.schemaCode}]`);a.fail$data(r.or(r._`typeof ${S} != "object"`,r._`${S} instanceof RegExp`,r._`typeof ${S}.compare != "function"`,b(S)))}function m(){const w=v.schema,S=g.formats[w];if(!S||S===!0)return;if(typeof S!="object"||S instanceof RegExp||typeof S.compare!="function")throw new Error(`"${h}": format "${w}" does not define "compare" function`);const _=l.scopeValue("formats",{key:w,ref:S,code:d.code.formats?r._`${d.code.formats}${r.getProperty(w)}`:void 0});a.fail$data(b(_))}function b(w){return r._`${w}.compare(${u}, ${c}) ${o[h].fail} 0`}},dependencies:["format"]};const i=a=>(a.addKeyword(e.formatLimitDefinition),a);e.default=i}(ZS)),ZS}var QS;function oR(){return QS||(QS=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=Kj(),n=nR(),o=Ge(),s=new o.Name("fullFormats"),i=new o.Name("fastFormats"),a=(u,c={keywords:!0})=>{if(Array.isArray(c))return l(u,c,r.fullFormats,s),u;const[h,f]=c.mode==="fast"?[r.fastFormats,i]:[r.fullFormats,s],d=c.formats||r.formatNames;return l(u,d,h,f),c.keywords&&n.default(u),u};a.get=(u,c="full")=>{const h=(c==="fast"?r.fastFormats:r.fullFormats)[u];if(!h)throw new Error(`Unknown format "${u}"`);return h};function l(u,c,h,f){var d,g;(d=(g=u.opts.code).formats)!==null&&d!==void 0||(g.formats=o._`require("ajv-formats/dist/formats").${f}`);for(const v of c)u.addFormat(v,h[v])}e.exports=t=a,Object.defineProperty(t,"__esModule",{value:!0}),t.default=a}(zp,zp.exports)),zp.exports}var sR=Ip.exports,eE;function iR(){return eE||(eE=1,function(e,t){(function(r,n){e.exports=n()})(sR,()=>(()=>{var r={n:G=>{var L=G&&G.__esModule?()=>G.default:()=>G;return r.d(L,{a:L}),L},d:(G,L)=>{for(var U in L)r.o(L,U)&&!r.o(G,U)&&Object.defineProperty(G,U,{enumerable:!0,get:L[U]})},o:(G,L)=>Object.prototype.hasOwnProperty.call(G,L),r:G=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(G,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(G,"__esModule",{value:!0})}},n={};r.r(n),r.d(n,{And:()=>u,Atom:()=>D,Calculation:()=>he,Comparison:()=>ie,DateCalculation:()=>Y,DefaultConsoleLogger:()=>re,Formula:()=>a,HasNoLengthError:()=>S,InternalError:()=>b,InvalidTypeError:()=>w,Macro:()=>ce,Not:()=>c,NotBooleanError:()=>_,NotDateError:()=>O,NotDurationError:()=>A,NotNumberError:()=>E,NotNumberOrDateError:()=>P,Operator:()=>l,Or:()=>h,Parser:()=>pe,Plugin:()=>W,Quantifier:()=>ve,RitaError:()=>d,Rule:()=>i,RulesetError:()=>m,UndefinedPathError:()=>p,UnimplementedError:()=>v,UsageError:()=>g,comparisons:()=>z,dateOperations:()=>F,evaluateAll:()=>s,logger:()=>R,mapArgumentsToJSONReady:()=>K,operations:()=>M,parseDate:()=>V,setLogger:()=>H,version:()=>fe});const o=jI;function s(G,L){return(0,o.__awaiter)(this,void 0,void 0,function*(){const U={result:!0,details:[],counts:{true:0,false:0}};for(const le of G){let me=yield le.evaluate(L);me?U.counts.true++:U.counts.false++,U.result=U.result&&me,U.details.push({id:le.id,result:me})}return U})}class i{constructor(L,U,le=""){this.id=L,this.rule=U,this.comment=le}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){return yield this.rule.evaluate(L)})}toJsonReady(){return{id:this.id,rule:this.rule.toJsonReady(),comment:this.comment}}}class a{}class l extends a{constructor(L){super(),this.arguments=L}validate(){return this.arguments.map(L=>L.validate()).reduce((L,U)=>L&&U)}evaluateReduce(L,U,le=Promise.resolve(!1)){return this.arguments.reduce((me,be)=>(0,o.__awaiter)(this,void 0,void 0,function*(){return U(yield me,yield be.evaluate(L))}),le)}toJsonReady(){return{arguments:this.arguments.map(L=>L.toJsonReady())}}}class u extends l{evaluate(L){return this.evaluateReduce(L,(U,le)=>U&&le,Promise.resolve(!0))}validate(){return this.arguments.length>1&&super.validate()}toJsonReady(){return Object.assign(Object.assign({},super.toJsonReady()),{type:"and"})}}class c extends l{evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){return Promise.resolve(!(yield this.arguments[0].evaluate(L)))})}validate(){return this.arguments.length===1&&super.validate()}toJsonReady(){return Object.assign(Object.assign({},super.toJsonReady()),{type:"not"})}}class h extends l{evaluate(L){return this.evaluateReduce(L,(U,le)=>U||le)}validate(){return this.arguments.length>1&&super.validate()}toJsonReady(){return Object.assign(Object.assign({},super.toJsonReady()),{type:"or"})}}const f=RI();class d extends Error{constructor(L,U){super(L),this.context=U}}class g extends d{}class v extends g{constructor(L){super(L||"This function is not implemented")}}class p extends g{}class m extends g{}class b extends Error{}class w extends g{constructor(L,U,le){super(`Value is not of type ${le}: ${U?.toString()}`,L),this.value=U,this.expectedType=le}}class S extends w{constructor(L,U){super(L,U,"ArrayLike")}}class _ extends w{constructor(L,U){super(L,U,"boolean")}}class E extends w{constructor(L,U){super(L,U,"number")}}class O extends w{constructor(L,U){super(L,U,"Date")}}class P extends w{constructor(L,U){super(L,U,"number | Date")}}class A extends w{constructor(L,U){super(L,U,"Duration")}}function V(G,L){const U=f.DateTime.fromISO(G).toJSDate();if(isNaN(U.getTime()))throw new g(`Date "${G}" could not be parsed`,L);return U}class D extends a{constructor(L,U=!1,le){super(),this.path=L,this.isDate=U,this.defaultValue=le}static getPropertyByString(L,U,le,me){const be=(U=(U=U.replace(/\[(\w+)]/g,".$1")).replace(/^\./,"")).split(".");for(let Ie=0,Ke=be.length;Ieme+be;break;case M.subtract:U=(me,be)=>me-be;break;case M.multiply:U=(me,be)=>me*be;break;case M.divide:U=(me,be)=>{if(be===0)throw new g("Division by zero is not allowed",this);return me/be};break;case M.modulo:U=(me,be)=>{if(be===0)throw new g("Division by zero is not allowed",this);return me-Math.floor(me/be)*be}}let le=yield Promise.all(this.arguments.map(me=>(0,o.__awaiter)(this,void 0,void 0,function*(){return me instanceof a?yield me.evaluate(L):me})));for(const me of le)if(me instanceof Date)throw new g("No dates in calculation allowed! Use dateCalculation",this);return le.splice(1).reduce((me,be)=>Math.round(1e13*U(me,be))/1e13,le[0])})}toJsonReady(){return{type:"calculation",operation:this.operation,arguments:this.arguments.map(K)}}validate(){return this.arguments.length>=2&&this.arguments.map(L=>L instanceof a?L.validate():!!L).reduce((L,U)=>L&&U)}}(function(G){G.equal="equal",G.smaller="smaller",G.greater="greater",G.smallerOrEqual="smallerOrEqual",G.greaterOrEqual="greaterOrEqual"})(z||(z={}));class ie extends a{constructor(L,U,le=!1,me=!1){super(),this.arguments=L,this.operation=U,this.dates=le,this.allowDifferentTypes=me}toJsonReady(){const L={type:"comparison",operation:this.operation,arguments:this.arguments.map(K)};return this.dates&&(L.dates=!0),L}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){let U=this.arguments[0]instanceof a?yield this.arguments[0].evaluate(L):this.arguments[0],le=this.arguments[1]instanceof a?yield this.arguments[1].evaluate(L):this.arguments[1];if(U===void 0||le===void 0)return!1;if(typeof U!=typeof le&&!this.allowDifferentTypes)throw new g("Elements in comparison must have the same type",this);switch(U instanceof Date&&(U=U.getTime()),le instanceof Date&&(le=le.getTime()),this.operation){case z.equal:return U===le;case z.greater:return U>le;case z.greaterOrEqual:return U>=le;case z.smaller:return UL instanceof a?L.validate():!!L).reduce((L,U)=>L&&U)}}class ve extends a{constructor(L,U,le,me="index",be){super(),this.quantifier=L,this.array=U,this.placeholder=le,this.formula=be,this.indexPlaceholder=me}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){let U;if(U=Array.isArray(this.array)?yield Promise.all(this.array.map(le=>le.evaluate(L))):yield this.array.evaluate(L),!Array.isArray(U))throw new g(`Property 'array' in a quantifier must be an array! (Actual: ${U}, typeof ${typeof U})`,this);for(let le=0;leL.toJsonReady()):this.array.toJsonReady(),placeholder:this.placeholder,rule:this.formula.toJsonReady()}}validate(){return this.placeholder.length!==0&&(Array.isArray(this.array)?this.array.map(L=>L.validate()).reduce((L,U)=>L&&U):this.array.validate())}}class ce extends a{constructor(L,U){super(),this.macro=L,this.array=U}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){var U;switch(this.macro){case"now":return new Date;case"length":const le=yield(U=this.array)===null||U===void 0?void 0:U.evaluate(L);return function(me,be){if(!me?.hasOwnProperty("length"))throw new S(be,me)}(le,this),le.length}})}toJsonReady(){var L;return{type:"macro",macro:{type:this.macro,array:(L=this.array)===null||L===void 0?void 0:L.toJsonReady()}}}validate(){return!(this.macro==="length"&&!this.array)}}class W extends a{constructor(L,U){super(),this.options=L,this.formula=U}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){if(!this.formula)throw new g("Empty formula",this);return this.formula.evaluate(yield this.enrichData(L))})}validate(){if(!this.formula)throw new g("Empty formula",this);return this.formula.validate()}toJsonReady(){return{type:"plugin",name:this.getName(),options:this.options,formula:this.formula}}}(function(G){G.add="add",G.subtract="subtract"})(F||(F={})),function(G){G.seconds="seconds",G.minutes="minutes",G.hours="hours",G.days="days",G.months="months",G.years="years"}(ue||(ue={}));class Y extends a{constructor(L,U,le=ue.seconds,me=ue.seconds){super(),this.arguments=L,this.operation=U,this.dateResultUnit=le,this.dateCalculationUnit=me}dateMath(L){const U=this.operation,le=this;return function(me,be){if(me instanceof Date&&be instanceof Date)return f.Duration.fromMillis(L(me.getTime(),be.getTime()),{conversionAccuracy:"longterm"});if(!(me instanceof Date||be instanceof Date))return f.Duration.fromMillis(L(me.toMillis(),be.toMillis()),{conversionAccuracy:"longterm"});let Ie,Ke;me instanceof Date&&!(be instanceof Date)?(Ie=me,Ke=be):(Ie=be,Ke=me);const Et=f.DateTime.fromJSDate(Ie);switch(U){case F.add:return Et.plus(Ke).toJSDate();case F.subtract:return Et.minus(Ke).toJSDate();default:throw new m("Invalid Operation for Dates",le)}}}evaluate(L){return(0,o.__awaiter)(this,void 0,void 0,function*(){let U;switch(this.operation){case F.add:U=(be,Ie)=>be+Ie;break;case F.subtract:U=(be,Ie)=>be-Ie}const le=(yield Promise.all(this.arguments.map(be=>(0,o.__awaiter)(this,void 0,void 0,function*(){return be instanceof a?yield be.evaluate(L):be})))).map(be=>(function(Ie,Ke){if(!(typeof Ie=="number"||Ie instanceof Date))throw new P(Ke,Ie)}(be,this),typeof be=="number"?f.Duration.fromObject({[this.dateCalculationUnit]:be},{conversionAccuracy:"longterm"}):be)),me=le.splice(1).reduce(this.dateMath((be,Ie)=>Math.round(1e13*U(be,Ie))/1e13),le[0]);return me instanceof Date?me:me.as(this.dateResultUnit)})}toJsonReady(){return{type:"dateCalculation",operation:this.operation,arguments:this.arguments.map(K),dateResultUnit:this.dateResultUnit,dateCalculationUnit:this.dateCalculationUnit}}validate(){return this.arguments.length>=2&&this.arguments.map(L=>L instanceof a?L.validate():!!L).reduce((L,U)=>L&&U)}}class re{fatal(L){this.error(L)}error(L){console.error(L)}log(L){console.log(L)}warn(L){console.warn(L)}debug(L){console.log(L)}}let R=new re;function H(G){R=G}const ae=Wj();var Ee=r.n(ae);const Ce=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/schema.json","title":"Main","description":"The entrypoint of the Rita schema","type":"object","properties":{"rules":{"type":"array","title":"Ruleset","description":"Array of all rules in this ruleset.","items":{"$ref":"rule.json"}}},"required":["rules"]}'),Re=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/atom.json","title":"Atom","description":"Describes an atom. Those can be used to read Data","type":"object","properties":{"type":{"type":"string","enum":["atom"]},"path":{"description":"The path to the atom in the data","type":"string"},"isDate":{"type":"boolean","default":false,"description":"Must be set to true if the atom should be parsed as a date"},"default":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string","format":"date-time"},{"type":"array"}]}},"required":["type","path"],"additionalProperties":false}'),Te=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/operator.json","title":"Operator","oneOf":[{"title":"Non-Unary operator","description":"Requires at least two arguments","type":"object","properties":{"type":{"type":"string","enum":["and","or"]},"arguments":{"type":"array","title":"Multiple arguments","minItems":2,"items":{"$ref":"formula.json"}}},"required":["arguments","type"],"additionalProperties":false},{"title":"Unary operator","description":"Requires exactly on parameter","type":"object","properties":{"type":{"type":"string","enum":["not"]},"arguments":{"type":"array","title":"Unary Arguments","minItems":1,"maxItems":1,"items":{"$ref":"formula.json"}}},"required":["arguments","type"],"additionalProperties":false}]}'),B=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/rule.json","title":"Rule","type":"object","properties":{"id":{"type":"string"},"comment":{"type":"string","description":"A comment about what the rule does"},"rule":{"$ref":"formula.json"}},"required":["id","rule"],"examples":[{"id":"rule1","rule":{"type":"and","arguments":[{"type":"atom","path":"member"},{"type":"not","arguments":[{"type":"atom","path":"employee"}]}]}}]}'),k=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/formula.json","title":"Formula","oneOf":[{"$ref":"operator.json"},{"$ref":"atom.json"},{"$ref":"plugin.json"},{"$ref":"comparison.json"},{"$ref":"quantifier.json"}]}'),N=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/calculation.json","title":"Calculation","description":"Calculates a result","type":"object","properties":{"type":{"type":"string","enum":["calculation"]},"operation":{"description":"The mathematical operation to be calculated. Modulo refers to the function mod(a,b)=a-(floor(a/b)*b)","type":"string","enum":["add","subtract","multiply","divide","modulo"]},"arguments":{"type":"array","minItems":2,"items":{"oneOf":[{"$ref":"atom.json"},{"$ref":"macro.json"},{"type":"number"},{"$ref":"calculation.json"},{"$ref":"dateCalculation.json"}]}}},"required":["operation","arguments","type"],"additionalProperties":false}'),j=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/dateCalculation.json","title":"Date Calculation","description":"Calculations involving dates","type":"object","properties":{"type":{"type":"string","enum":["dateCalculation"]},"operation":{"description":"Add/subtract a time interval to/from a date or subtract two dates to get the interval between them","type":"string","enum":["add","subtract"]},"arguments":{"type":"array","minItems":2,"maxItems":2,"items":{"oneOf":[{"$ref":"atom.json"},{"$ref":"macro.json"},{"type":"number"},{"type":"string","format":"date-time"},{"$ref":"calculation.json"},{"$ref":"dateCalculation.json"}]}},"dateCalculationUnit":{"description":"What unit time intervals given as arguments will be in.","type":"string","enum":["seconds","minutes","hours","days","months","years"],"default":"seconds"},"dateResultUnit":{"description":"What unit time intervals representing the result will be in.","type":"string","enum":["seconds","minutes","hours","days","months","years"],"default":"seconds"}},"required":["operation","arguments","type"],"additionalProperties":false}'),Z=[Ce,Re,B,k,Te,N,JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/comparison.json","description":"Compare strings, dates or numbers with each other","title":"Comparison","type":"object","properties":{"type":{"type":"string","enum":["comparison"]},"operation":{"description":"Selects how the arguments should be compared","type":"string","enum":["greater","smaller","greaterOrEqual","smallerOrEqual","equal"]},"dates":{"description":"Indicates if dates are compared","type":"boolean","default":false},"allowDifferentTypes":{"description":"Indicates if different types are allowed inside a comparison. This follows the JavaScript rules for comparison (´===´ is used for ´equals´).","type":"boolean","default":false},"arguments":{"type":"array","minItems":2,"maxItems":2,"items":{"oneOf":[{"$ref":"atom.json"},{"$ref":"macro.json"},{"type":"number"},{"type":"boolean"},{"type":"string","format":"date-time"},{"type":"string"},{"$ref":"calculation.json"},{"$ref":"dateCalculation.json"}]}}},"required":["type","operation","arguments"],"additionalProperties":false,"examples":[{"comment":"This evaluates to \\"5>2\\"","type":"comparison","operation":"greater","arguments":[5,2]},{"comment":"Check two Strings for equality","type":"comparison","operation":"equal","arguments":["test","test1"]}]}'),JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/quantifier.json","title":"Quantifier","type":"object","description":"Quantifiers that can be used to evaluate rules on arrays in Data","properties":{"type":{"type":"string","enum":["forall","exists"]},"array":{"title":"Data array","description":"This can either be an Atom that references an array in the data, or an array of rules","oneOf":[{"type":"array","items":{"$ref":"formula.json"}},{"$ref":"atom.json"}]},"placeholder":{"description":"This is a placeholder name for the current array object. This is the property name with wich you can reference the current value in the subsequent rule","type":"string","minLength":1},"indexPlaceholder":{"description":"This is a placeholder name for the current index of the array object. This is the property name with wich you can reference the current index in the subsequent rule","type":"string","minLength":1,"default":"index"},"rule":{"$ref":"formula.json"}},"additionalProperties":false,"required":["type","array","placeholder","rule"],"examples":[{"type":"forall","array":{"type":"atom","path":"arrayOfIntValues"},"placeholder":"forallItem","rule":{"type":"comparison","operation":"greater","arguments":[5,{"type":"atom","path":"forallItem"}]}}]}'),JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/macro.json","title":"Macro","description":"Describes macros. Available macros are `now` and `length`","type":"object","properties":{"type":{"type":"string","enum":["macro"]},"macro":{"oneOf":[{"title":"now","description":"Returns the current time","type":"object","properties":{"type":{"type":"string","enum":["now"]}},"additionalProperties":false},{"title":"length","description":"Returns the length of an array","type":"object","properties":{"type":{"type":"string","enum":["length"]},"array":{"$ref":"atom.json"}},"additionalProperties":false}]}},"required":["type","macro"],"additionalProperties":false,"examples":[{"type":"macro","macro":{"type":"now"}},{"type":"macro","macro":{"type":"length","array":{"type":"atom","path":"customers"}}}]}'),JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/plugin.json","title":"Plugin","description":"Describes an plugin","type":"object","properties":{"type":{"type":"string","enum":["plugin"]},"name":{"description":"The plugins name","type":"string"},"formula":{"$ref":"formula.json"},"options":{"description":"The plugins options","type":"object"}},"required":["type","name","formula"],"additionalProperties":false,"examples":[{"type":"plugin","name":"http","options":{"url":"https://example.com/api"},"formula":{"type":"atom","path":"keyInResponse"}}]}'),j],ne=oR();var Q=r.n(ne);const oe=new(Ee())({schemas:Z});Q()(oe);class pe{constructor(L){if(this.plugins=new Map,this.toJson=pe.toJson,this.validate=oe.getSchema("https://raw.githubusercontent.com/educorvi/rita/main/rita-core/src/schema/schema.json"),L)for(const U of L)this.plugins.set(new U({},void 0).getName(),U)}validateRuleSetJSON(L){if(!this.validate)throw new b("Error compiling schema");let U=this.validate(L);if(typeof U!="boolean")throw new b("Error compiling schema");return{valid:U,errors:this.validate.errors||[]}}parseRuleSet(L){return L.rules.map(U=>this.parseRule(U))}parseRule(L){return new i(L.id,this.parseFormula(L.rule),L.comment)}parseFormula(L){switch(L.type){case"atom":return this.parseAtom(L);case"comparison":return this.parseComparison(L);case"calculation":return this.parseCalculation(L);case"dateCalculation":return this.parseDateCalculation(L);case"forall":case"exists":return this.parseQuantifier(L);case"and":case"or":case"not":return this.parseOperator(L);case"macro":return this.parseMacro(L);case"plugin":return this.parsePlugin(L);default:throw new v(L.type+" is not implemented")}}parseOperator(L){const U=L.type,le=[];for(const me of L.arguments)le.push(this.parseFormula(me));switch(U){case"not":return new c(le);case"and":return new u(le);case"or":return new h(le)}}parseAtom(L){return new D(L.path,!!L.isDate,L.default)}parseComparisonParams(L,U){const le=[];for(const me of L)if(typeof me=="object")le.push(this.parseFormula(me));else if(U){const be=new Date(me);if(isNaN(be.getTime()))throw new g("Invalid Date: "+me);le.push(be)}else le.push(me);return le}parseComparison(L){return new ie(this.parseComparisonParams(L.arguments,L.dates),L.operation,L.dates,L.allowDifferentTypes)}parseCalculationParams(L){const U=[];for(const le of L)typeof le=="number"?U.push(le):U.push(this.parseFormula(le));return U}parseDateCalculationParams(L){const U=[];for(const le of L)typeof le=="number"?U.push(le):typeof le=="string"?U.push(V(le)):U.push(this.parseFormula(le));return U}parseCalculation(L){return new he(this.parseCalculationParams(L.arguments),L.operation)}parseDateCalculation(L){return new Y(this.parseDateCalculationParams(L.arguments),L.operation,L.dateResultUnit,L.dateCalculationUnit)}parseQuantifier(L){let U;return U=Array.isArray(L.array)?L.array.map(le=>this.parseFormula(le)):this.parseAtom(L.array),new ve(L.type,U,L.placeholder,L.indexPlaceholder,this.parseFormula(L.rule))}parseMacro(L){let U;return L.macro.type==="length"&&(U=this.parseAtom(L.macro.array)),new ce(L.macro.type,U)}parsePlugin(L){const U=L.name,le=this.plugins.get(U);if(!le)throw new g(`Plugin ${U} is not registered!`);return new le(L.options,this.parseFormula(L.formula))}static toJson(L){return JSON.stringify({$schema:Ce.$id,rules:L.map(U=>U.toJsonReady())})}}const fe="5.4.4";return n})())}(Ip)),Ip.exports}var da=iR();function aR(e){switch(e){case"EQUALS":return(t,r)=>t==r;case"NOT_EQUALS":return(t,r)=>t!=r;case"GREATER":return(t,r)=>t>r;case"GREATER_OR_EQUAL":return(t,r)=>t>=r;case"SMALLER":return(t,r)=>tt{if(!w0(e.showOn))throw new Error("This should not happen");const r=aR(e.showOn.type),n=e.showOn.referenceValue;try{return r(da.Atom.getPropertyByString(t.cleanedFormData.json,e.showOn.path,""),n)}catch(o){return o instanceof da.UndefinedPathError&&console.warn(`Error while evaluating showOn rule: ${o.message}`,e.showOn),!1}});{const r=Me(!1),n=new da.Parser;let o;try{o=n.parseRule(e.showOn)}catch(s){return console.warn(`Error while parsing showOn rule '${e.showOn?.id}'`,s),r}return t.$subscribe(()=>{const s=new RegExp(`^([^.\\s]+)\\.(${Hi}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})`),i={};if(e.type==="Control"){const l=e.scope.split("/");l.map((u,c)=>{const h=u.match(s);return h?{arrayName:l.slice(0,c).join("/")+"/"+h[1],arrayAlias:h[2]}:null}).forEach(u=>{if(u){const c=Pl(u.arrayName);i[c]=t.arrayAliasIndices.get(u.arrayAlias||"")??0}})}const a={$selfIndices:i,...t.cleanedFormData.json};o.evaluate(a).then(l=>{r.value=l}).catch(l=>{r.value=!1,l instanceof da.HasNoLengthError?console.warn(`Error while evaluating showOn rule "${o.id}": ${l.message} -In formula:`,l.context,"with value",l.value):l instanceof da.RitaError?console.warn(`Error while evaluating showOn rule "${o.id}": ${l.message} -In formula:`,l.context):console.warn(`Error while evaluating showOn rule "${o.id}": ${l.message}`)})}),r}}function uR(e,t){let r=e;return e.type==="Control"&&(r=vf(e,t)),dP(r)?lR(r):Me(!0)}const fa=Oe({__name:"FormWrap",props:{layoutElement:{}},setup(e){const t=kt("showOnWrapper"),r=e;function n(l){switch(l){case"Control":return Rs.Control;case"VerticalLayout":return Rs.VerticalLayout;case"HorizontalLayout":return Rs.HorizontalLayout;case"Group":return Rs.Group;case"HTML":return Rs.htmlRenderer;case"Divider":return Rs.Divider;case"Button":return Aw.vjfButton;case"Buttongroup":return Aw.vjfButtonGroup;default:return kI}}const o=gi(n(r.layoutElement.type));let s=r.layoutElement;const i=Tt(zi);s.type==="Control"&&vf(s,i);const a=uR(s,i);return(l,u)=>(ee(),ye(C(t),{visible:C(a)},{default:xe(()=>[C(a)?(ee(),ye(dt(C(o)),{key:0,layoutElement:e.layoutElement},null,8,["layoutElement"])):Le("",!0)]),_:1},8,["visible"]))}}),tE=Oe({__name:"ValidationError",props:{error:{}},setup(e){const t=kt("ErrorViewer");return(r,n)=>(ee(),ye(dt(C(t)),{header:e.error.keyword,class:"mb-3"},{default:xe(()=>[Ne("p",null,[n[0]||(n[0]=We(" Error in element ",-1)),Ne("code",null,Ae(e.error.instancePath),1),n[1]||(n[1]=We(": ",-1))]),Ne("p",null,Ae(e.error.message),1),n[2]||(n[2]=Ne("hr",null,null,-1)),Ne("pre",null,Ae(JSON.stringify(e.error,null,2)),1)]),_:1},8,["header"]))}}),Gp=Oe({__name:"ParsingError",props:{error:{}},setup(e){const t=kt("ErrorViewer");return(r,n)=>(ee(),ye(dt(C(t)),{header:e.error.name,class:"mb-3"},{default:xe(()=>[Ne("p",null,Ae(e.error.message),1)]),_:1},8,["header"]))}}),cR={key:0},dR={key:1},fR={key:2},pR={key:3},hR={key:4,class:"mt-4"},mR={key:5},gR={key:6},yR=Oe({__name:"ParsingAndValidationErrorsView",props:{validationErrors:{}},setup(e){const t=e,r=J(()=>!!(t.validationErrors.jsonSchema.parsing.length+t.validationErrors.jsonSchema.validation.length)),n=J(()=>!!(t.validationErrors.uiSchema.parsing.length+t.validationErrors.uiSchema.validation.length));return(o,s)=>(ee(),_e(Je,null,[s[5]||(s[5]=Ne("h4",null,"Error",-1)),s[6]||(s[6]=Ne("p",null,"There were errors while rendering this form",-1)),e.validationErrors.general.length?(ee(),_e("div",cR,[s[0]||(s[0]=Ne("h5",null,"General",-1)),(ee(!0),_e(Je,null,Gt(e.validationErrors.general,i=>(ee(),ye(Gp,{key:i.message,error:i},null,8,["error"]))),128))])):Le("",!0),r.value?(ee(),_e("h5",dR,"JSON Schema")):Le("",!0),e.validationErrors.jsonSchema.parsing.length>0?(ee(),_e("div",fR,[s[1]||(s[1]=Ne("h6",null,"Parsing errors",-1)),(ee(!0),_e(Je,null,Gt(e.validationErrors.jsonSchema.parsing,i=>(ee(),ye(Gp,{key:i.message,error:i},null,8,["error"]))),128))])):Le("",!0),e.validationErrors.jsonSchema.validation.length>0?(ee(),_e("div",pR,[s[2]||(s[2]=Ne("h6",null,"Validation errors",-1)),(ee(!0),_e(Je,null,Gt(e.validationErrors.jsonSchema.validation,i=>(ee(),ye(tE,{key:i.message+i.instancePath,error:i},null,8,["error"]))),128))])):Le("",!0),n.value?(ee(),_e("h5",hR,"UI Schema")):Le("",!0),e.validationErrors.uiSchema.parsing.length>0?(ee(),_e("div",mR,[s[3]||(s[3]=Ne("h6",null,"Parsing errors",-1)),(ee(!0),_e(Je,null,Gt(e.validationErrors.uiSchema.parsing,i=>(ee(),ye(Gp,{key:i.message,error:i},null,8,["error"]))),128))])):Le("",!0),e.validationErrors.uiSchema.validation.length>0?(ee(),_e("div",gR,[s[4]||(s[4]=Ne("h6",null,"Validation errors",-1)),(ee(!0),_e(Je,null,Gt(e.validationErrors.uiSchema.validation,i=>(ee(),ye(tE,{key:i.message+i.instancePath,error:i},null,8,["error"]))),128))])):Le("",!0)],64))}}),vR={fileUpload:{tooManyFiles:"Sie können nur !&data&! Dateien hochladen.",tooFewFiles:"Sie müssen mindestens !&data&! Dateien hochladen.",fileTooLarge:"Die folgenden Dateien überschreiten die Dateigrößenbeschränkung von !&data&! MB: !&data&!"}},bR={previous:"Zurück",next:"Weiter"},wR={errors:vR,buttons:bR},_R={fileUpload:{tooManyFiles:"You can only upload !&data&! files.",tooFewFiles:"You need to upload at least !&data&! files.",fileTooLarge:"The following files exceed the file size limit of !&data&! MB: !&data&!"}},SR={previous:"Previous",next:"Next"},ER={errors:_R,buttons:SR};class rE{getStringTemplate(t,...r){let n=this.getString(t);return(n.match(/!&data&!/g)||[]).forEach((o,s)=>{n=n.replace(/!&data&!/,r[s]||"")}),n}}class nE extends rE{getString(t){let r=this.data;for(let n of t.split("."))if(r=r?.[n],r===void 0)return t;return typeof r!="string"?t:r}}class xR extends nE{data=wR}class OR extends nE{data=ER}class $R extends rE{provider;constructor(){super(),(navigator.language||"en").startsWith("de")?this.provider=new xR:this.provider=new OR}getString(t){return this.provider.getString(t)}}const CR=Oe({__name:"WizardPage",props:{page:{},pageName:{},index:{}},setup(e){const t=e,r=bP();function n(i){return"checkValidity"in i&&typeof i.checkValidity=="function"&&"reportValidity"in i&&typeof i.reportValidity=="function"}function o(){const i=[...document.getElementById(r)?.querySelectorAll("*")||[]].filter(n).map(a=>({valid:a.checkValidity(),el:a}));return i.find(a=>!a.valid)?.el.reportValidity(),i.every(a=>a.valid)}const s=Zr();return s.wizardValidateFunctions[t.index]=o,il(()=>{delete s.wizardValidateFunctions[t.index]}),(i,a)=>(ee(),_e(Je,null,[Ne("h2",null,Ae(e.pageName),1),je(fa,{id:C(r),"layout-element":e.page},null,8,["id","layout-element"])],64))}}),TR={class:"pages-wrapper"},kR=Oe({__name:"Wizard",props:{wizardElement:{}},setup(e){const t=kt("WizardProgress"),r=e,{currentWizardPage:n}=jt(Zr()),o=J(()=>r.wizardElement.pages.map((s,i)=>i===n.value));return(s,i)=>(ee(),_e(Je,null,[je(C(t),{numberOfPages:e.wizardElement.pages.length,pageNames:e.wizardElement.options?.pageTitles,currentStep:C(n),"onUpdate:currentStep":i[0]||(i[0]=a=>wt(n)?n.value=a:null)},null,8,["numberOfPages","pageNames","currentStep"]),i[1]||(i[1]=Ne("hr",null,null,-1)),Ne("div",TR,[(ee(!0),_e(Je,null,Gt(e.wizardElement.pages,(a,l)=>(ee(),_e("div",null,[Bn(Ne("div",null,[je(CR,{page:a,pageName:e.wizardElement.options?.pageTitles?.[l],index:l},null,8,["page","pageName","index"])],512),[[ms,o.value[l]]])]))),256))])],64))}}),AR=Gn(kR,[["__scopeId","data-v-68b30c87"]]),PR=Oe({__name:"FormRoot",props:{onSubmitForm:{type:Function},jsonSchema:{},uiSchema:{},renderInterface:{},presetData:{},generationOptions:{},returnDataAsScopes:{type:Boolean},mappers:{},hideValidationState:{type:Boolean},validator:{type:Function},languageProvider:{}},setup(e){const t=e;Ui(OA()||$A()),Wt(zi,{}),Wt(c0,t.languageProvider||new $R);const{jsonSchema:r,uiSchema:n,mappers:o,components:s,defaultData:i,buttonWaiting:a,formStateWasValidated:l}=jt(Zr()),{formData:u,defaultFormData:c,cleanedFormData:h}=jt(Ar()),f=Me({general:[],jsonSchema:{validation:[],parsing:[]},uiSchema:{validation:[],parsing:[]}}),d=J(()=>t.validator?new t.validator:new DA),g=J(()=>{let E="vjf_form";return l.value&&!t.hideValidationState&&(E+=" was-validated"),E});async function v(E){E.preventDefault(),E.stopPropagation();const O=E;let P;t.returnDataAsScopes?P=tt(h.value.scopes):P=tt(h.value.json),P=await Sf(P);const A=JSON.parse(decodeURIComponent(O.submitter?.attributes?.getNamedItem("submitOptions")?.value||"false"))||{};a.value[A.id]=!0,await t.onSubmitForm(P,A,O),a.value[A.id]=!1}function p(){c.value={...g0(t.presetData||{}),...i.value}}function m(){u.value={...c.value}}function b(E){E.preventDefault(),m(),l.value=!1}async function w(E){return d.value.validateJsonSchema(E)?E:(f.value.jsonSchema.validation=d.value.getJsonSchemaValidationErrors(),null)}async function S(E,O){return E?d.value.validateUiSchema(E)?E:(f.value.uiSchema.validation=d.value.getUiSchemaValidationErrors(),null):h0(O,t.generationOptions)}async function _(E){s.value=E.renderInterface?gi(E.renderInterface):void 0,o.value=t.mappers||[];const O=await w(E.jsonSchema).catch(A=>{f.value.jsonSchema.parsing.push(A),console.error(A)});if(!O)return;r.value=O;const P=await S(E.uiSchema,O).catch(A=>{f.value.uiSchema.parsing.push(A),console.error(A)});P&&(n.value=P.layout)}return Wt(GA,!0),pd(async()=>{try{await d.value.initialize()}catch(E){console.error("Failed to initialize validator"),console.error(E),f.value.general=[E]}await _({jsonSchema:t.jsonSchema,uiSchema:t.uiSchema,renderInterface:t.renderInterface}),p(),m()}),mt(t,E=>{_({jsonSchema:E.jsonSchema,uiSchema:E.uiSchema,renderInterface:E.renderInterface})}),(E,O)=>C(n)&&C(r)?(ee(),_e("form",{key:0,onSubmit:v,onReset:b,onInvalidCapture:O[0]||(O[0]=P=>l.value=!0),class:He(g.value)},[C(vP)(C(n))?(ee(),ye(fa,{key:0,layoutElement:C(n)},null,8,["layoutElement"])):C(O0)(C(n))?(ee(),ye(AR,{key:1,wizardElement:C(n)},null,8,["wizardElement"])):Le("",!0),$e(E.$slots,"default")],34)):f.value.jsonSchema.parsing.length+f.value.jsonSchema.validation.length+f.value.uiSchema.parsing.length+f.value.uiSchema.validation.length+f.value.general.length>0?(ee(),ye(yR,{key:1,validationErrors:f.value},null,8,["validationErrors"])):Le("",!0)}});function oE(e,t){return function(){return e.apply(t,arguments)}}const{toString:NR}=Object.prototype,{getPrototypeOf:Wp}=Object,{iterator:lc,toStringTag:sE}=Symbol,uc=(e=>t=>{const r=NR.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),sn=e=>(e=e.toLowerCase(),t=>uc(t)===e),cc=e=>t=>typeof t===e,{isArray:qs}=Array,zs=cc("undefined");function pa(e){return e!==null&&!zs(e)&&e.constructor!==null&&!zs(e.constructor)&&Sr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const iE=sn("ArrayBuffer");function IR(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&iE(e.buffer),t}const DR=cc("string"),Sr=cc("function"),aE=cc("number"),ha=e=>e!==null&&typeof e=="object",jR=e=>e===!0||e===!1,dc=e=>{if(uc(e)!=="object")return!1;const t=Wp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(sE in e)&&!(lc in e)},RR=e=>{if(!ha(e)||pa(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},MR=sn("Date"),BR=sn("File"),VR=sn("Blob"),LR=sn("FileList"),FR=e=>ha(e)&&Sr(e.pipe),UR=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Sr(e.append)&&((t=uc(e))==="formdata"||t==="object"&&Sr(e.toString)&&e.toString()==="[object FormData]"))},qR=sn("URLSearchParams"),[zR,HR,GR,WR]=["ReadableStream","Request","Response","Headers"].map(sn),KR=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ma(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),qs(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Ko=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,uE=e=>!zs(e)&&e!==Ko;function Kp(){const{caseless:e,skipUndefined:t}=uE(this)&&this||{},r={},n=(o,s)=>{const i=e&&lE(r,s)||s;dc(r[i])&&dc(o)?r[i]=Kp(r[i],o):dc(o)?r[i]=Kp({},o):qs(o)?r[i]=o.slice():(!t||!zs(o))&&(r[i]=o)};for(let o=0,s=arguments.length;o(ma(t,(o,s)=>{r&&Sr(o)?e[s]=oE(o,r):e[s]=o},{allOwnKeys:n}),e),ZR=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),YR=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},XR=(e,t,r,n)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!n||n(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=r!==!1&&Wp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},QR=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},eM=e=>{if(!e)return null;if(qs(e))return e;let t=e.length;if(!aE(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},tM=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Wp(Uint8Array)),rM=(e,t)=>{const n=(e&&e[lc]).call(e);let o;for(;(o=n.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},nM=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},oM=sn("HTMLFormElement"),sM=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),cE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),iM=sn("RegExp"),dE=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ma(r,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(n[s]=i||o)}),Object.defineProperties(e,n)},aM=e=>{dE(e,(t,r)=>{if(Sr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Sr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},lM=(e,t)=>{const r={},n=o=>{o.forEach(s=>{r[s]=!0})};return qs(e)?n(e):n(String(e).split(t)),r},uM=()=>{},cM=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function dM(e){return!!(e&&Sr(e.append)&&e[sE]==="FormData"&&e[lc])}const fM=e=>{const t=new Array(10),r=(n,o)=>{if(ha(n)){if(t.indexOf(n)>=0)return;if(pa(n))return n;if(!("toJSON"in n)){t[o]=n;const s=qs(n)?[]:{};return ma(n,(i,a)=>{const l=r(i,o+1);!zs(l)&&(s[a]=l)}),t[o]=void 0,s}}return n};return r(e,0)},pM=sn("AsyncFunction"),hM=e=>e&&(ha(e)||Sr(e))&&Sr(e.then)&&Sr(e.catch),fE=((e,t)=>e?setImmediate:t?((r,n)=>(Ko.addEventListener("message",({source:o,data:s})=>{o===Ko&&s===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Ko.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Sr(Ko.postMessage)),mM=typeof queueMicrotask<"u"?queueMicrotask.bind(Ko):typeof process<"u"&&process.nextTick||fE,de={isArray:qs,isArrayBuffer:iE,isBuffer:pa,isFormData:UR,isArrayBufferView:IR,isString:DR,isNumber:aE,isBoolean:jR,isObject:ha,isPlainObject:dc,isEmptyObject:RR,isReadableStream:zR,isRequest:HR,isResponse:GR,isHeaders:WR,isUndefined:zs,isDate:MR,isFile:BR,isBlob:VR,isRegExp:iM,isFunction:Sr,isStream:FR,isURLSearchParams:qR,isTypedArray:tM,isFileList:LR,forEach:ma,merge:Kp,extend:JR,trim:KR,stripBOM:ZR,inherits:YR,toFlatObject:XR,kindOf:uc,kindOfTest:sn,endsWith:QR,toArray:eM,forEachEntry:rM,matchAll:nM,isHTMLForm:oM,hasOwnProperty:cE,hasOwnProp:cE,reduceDescriptors:dE,freezeMethods:aM,toObjectSet:lM,toCamelCase:sM,noop:uM,toFiniteNumber:cM,findKey:lE,global:Ko,isContextDefined:uE,isSpecCompliantForm:dM,toJSONObject:fM,isAsyncFn:pM,isThenable:hM,setImmediate:fE,asap:mM,isIterable:e=>e!=null&&Sr(e[lc])};function Ye(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}de.inherits(Ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.status}}});const pE=Ye.prototype,hE={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{hE[e]={value:e}}),Object.defineProperties(Ye,hE),Object.defineProperty(pE,"isAxiosError",{value:!0}),Ye.from=(e,t,r,n,o,s)=>{const i=Object.create(pE);de.toFlatObject(e,i,function(c){return c!==Error.prototype},u=>u!=="isAxiosError");const a=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return Ye.call(i,a,l,r,n,o),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",s&&Object.assign(i,s),i};const gM=null;function Jp(e){return de.isPlainObject(e)||de.isArray(e)}function mE(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function gE(e,t,r){return e?e.concat(t).map(function(o,s){return o=mE(o),!r&&s?"["+o+"]":o}).join(r?".":""):t}function yM(e){return de.isArray(e)&&!e.some(Jp)}const vM=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function fc(e,t,r){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=de.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,p){return!de.isUndefined(p[v])});const n=r.metaTokens,o=r.visitor||c,s=r.dots,i=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(o))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(de.isDate(g))return g.toISOString();if(de.isBoolean(g))return g.toString();if(!l&&de.isBlob(g))throw new Ye("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(g)||de.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function c(g,v,p){let m=g;if(g&&!p&&typeof g=="object"){if(de.endsWith(v,"{}"))v=n?v:v.slice(0,-2),g=JSON.stringify(g);else if(de.isArray(g)&&yM(g)||(de.isFileList(g)||de.endsWith(v,"[]"))&&(m=de.toArray(g)))return v=mE(v),m.forEach(function(w,S){!(de.isUndefined(w)||w===null)&&t.append(i===!0?gE([v],S,s):i===null?v:v+"[]",u(w))}),!1}return Jp(g)?!0:(t.append(gE(p,v,s),u(g)),!1)}const h=[],f=Object.assign(vM,{defaultVisitor:c,convertValue:u,isVisitable:Jp});function d(g,v){if(!de.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));h.push(g),de.forEach(g,function(m,b){(!(de.isUndefined(m)||m===null)&&o.call(t,m,de.isString(b)?b.trim():b,v,f))===!0&&d(m,v?v.concat(b):[b])}),h.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return d(e),t}function yE(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Zp(e,t){this._pairs=[],e&&fc(e,this,t)}const vE=Zp.prototype;vE.append=function(t,r){this._pairs.push([t,r])},vE.toString=function(t){const r=t?function(n){return t.call(this,n,yE)}:yE;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function bM(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bE(e,t,r){if(!t)return e;const n=r&&r.encode||bM;de.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(o?s=o(t,r):s=de.isURLSearchParams(t)?t.toString():new Zp(t,r).toString(n),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class wE{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(n){n!==null&&t(n)})}}const _E={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wM={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Zp,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Yp=typeof window<"u"&&typeof document<"u",Xp=typeof navigator=="object"&&navigator||void 0,_M=Yp&&(!Xp||["ReactNative","NativeScript","NS"].indexOf(Xp.product)<0),SM=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",EM=Yp&&window.location.href||"http://localhost",ir={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yp,hasStandardBrowserEnv:_M,hasStandardBrowserWebWorkerEnv:SM,navigator:Xp,origin:EM},Symbol.toStringTag,{value:"Module"})),...wM};function xM(e,t){return fc(e,new ir.classes.URLSearchParams,{visitor:function(r,n,o,s){return ir.isNode&&de.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function OM(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $M(e){const t={},r=Object.keys(e);let n;const o=r.length;let s;for(n=0;n=r.length;return i=!i&&de.isArray(o)?o.length:i,l?(de.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!a):((!o[i]||!de.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],s)&&de.isArray(o[i])&&(o[i]=$M(o[i])),!a)}if(de.isFormData(e)&&de.isFunction(e.entries)){const r={};return de.forEachEntry(e,(n,o)=>{t(OM(n),o,r,0)}),r}return null}function CM(e,t,r){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ga={transitional:_E,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,s=de.isObject(t);if(s&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return o?JSON.stringify(SE(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t)||de.isReadableStream(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return xM(t,this.formSerializer).toString();if((a=de.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return fc(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),CM(t)):t}],transformResponse:[function(t){const r=this.transitional||ga.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(de.isResponse(t)||de.isReadableStream(t))return t;if(t&&de.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(i)throw a.name==="SyntaxError"?Ye.from(a,Ye.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ir.classes.FormData,Blob:ir.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{ga.headers[e]={}});const TM=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),kM=e=>{const t={};let r,n,o;return e&&e.split(` -`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&TM[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},EE=Symbol("internals");function ya(e){return e&&String(e).trim().toLowerCase()}function pc(e){return e===!1||e==null?e:de.isArray(e)?e.map(pc):String(e)}function AM(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const PM=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qp(e,t,r,n,o){if(de.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!de.isString(t)){if(de.isString(n))return t.indexOf(n)!==-1;if(de.isRegExp(n))return n.test(t)}}function NM(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function IM(e,t){const r=de.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,s,i){return this[n].call(this,t,o,s,i)},configurable:!0})})}let Er=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function s(a,l,u){const c=ya(l);if(!c)throw new Error("header name must be a non-empty string");const h=de.findKey(o,c);(!h||o[h]===void 0||u===!0||u===void 0&&o[h]!==!1)&&(o[h||l]=pc(a))}const i=(a,l)=>de.forEach(a,(u,c)=>s(u,c,l));if(de.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(de.isString(t)&&(t=t.trim())&&!PM(t))i(kM(t),r);else if(de.isObject(t)&&de.isIterable(t)){let a={},l,u;for(const c of t){if(!de.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?de.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}i(a,r)}else t!=null&&s(r,t,n);return this}get(t,r){if(t=ya(t),t){const n=de.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return AM(o);if(de.isFunction(r))return r.call(this,o,n);if(de.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ya(t),t){const n=de.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Qp(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function s(i){if(i=ya(i),i){const a=de.findKey(n,i);a&&(!r||Qp(n,n[a],a,r))&&(delete n[a],o=!0)}}return de.isArray(t)?t.forEach(s):s(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const s=r[n];(!t||Qp(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const r=this,n={};return de.forEach(this,(o,s)=>{const i=de.findKey(n,s);if(i){r[i]=pc(o),delete r[s];return}const a=t?NM(s):String(s).trim();a!==s&&delete r[s],r[a]=pc(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return de.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&de.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[EE]=this[EE]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=ya(i);n[a]||(IM(o,i),n[a]=!0)}return de.isArray(t)?t.forEach(s):s(t),this}};Er.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),de.reduceDescriptors(Er.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),de.freezeMethods(Er);function eh(e,t){const r=this||ga,n=t||r,o=Er.from(n.headers);let s=n.data;return de.forEach(e,function(a){s=a.call(r,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function xE(e){return!!(e&&e.__CANCEL__)}function Hs(e,t,r){Ye.call(this,e??"canceled",Ye.ERR_CANCELED,t,r),this.name="CanceledError"}de.inherits(Hs,Ye,{__CANCEL__:!0});function OE(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ye("Request failed with status code "+r.status,[Ye.ERR_BAD_REQUEST,Ye.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function DM(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function jM(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=n[s];i||(i=u),r[o]=l,n[o]=u;let h=s,f=0;for(;h!==o;)f+=r[h++],h=h%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i{r=c,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),h=c-r;h>=n?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},n-h)))},()=>o&&i(o)]}const hc=(e,t,r=3)=>{let n=0;const o=jM(50,250);return RM(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-n,u=o(l),c=i<=a;n=i;const h={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},r)},$E=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},CE=e=>(...t)=>de.asap(()=>e(...t)),MM=ir.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ir.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ir.origin),ir.navigator&&/(msie|trident)/i.test(ir.navigator.userAgent)):()=>!0,BM=ir.hasStandardBrowserEnv?{write(e,t,r,n,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];de.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),de.isString(n)&&a.push(`path=${n}`),de.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),de.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function VM(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LM(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function TE(e,t,r){let n=!VM(t);return e&&(n||r==!1)?LM(e,t):t}const kE=e=>e instanceof Er?{...e}:e;function Jo(e,t){t=t||{};const r={};function n(u,c,h,f){return de.isPlainObject(u)&&de.isPlainObject(c)?de.merge.call({caseless:f},u,c):de.isPlainObject(c)?de.merge({},c):de.isArray(c)?c.slice():c}function o(u,c,h,f){if(de.isUndefined(c)){if(!de.isUndefined(u))return n(void 0,u,h,f)}else return n(u,c,h,f)}function s(u,c){if(!de.isUndefined(c))return n(void 0,c)}function i(u,c){if(de.isUndefined(c)){if(!de.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function a(u,c,h){if(h in t)return n(u,c);if(h in e)return n(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c,h)=>o(kE(u),kE(c),h,!0)};return de.forEach(Object.keys({...e,...t}),function(c){const h=l[c]||o,f=h(e[c],t[c],c);de.isUndefined(f)&&h!==a||(r[c]=f)}),r}const AE=e=>{const t=Jo({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;if(t.headers=i=Er.from(i),t.url=bE(TE(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),de.isFormData(r)){if(ir.hasStandardBrowserEnv||ir.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(de.isFunction(r.getHeaders)){const l=r.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([c,h])=>{u.includes(c.toLowerCase())&&i.set(c,h)})}}if(ir.hasStandardBrowserEnv&&(n&&de.isFunction(n)&&(n=n(t)),n||n!==!1&&MM(t.url))){const l=o&&s&&BM.read(s);l&&i.set(o,l)}return t},FM=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const o=AE(e);let s=o.data;const i=Er.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=o,c,h,f,d,g;function v(){d&&d(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let p=new XMLHttpRequest;p.open(o.method.toUpperCase(),o.url,!0),p.timeout=o.timeout;function m(){if(!p)return;const w=Er.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:w,config:e,request:p};OE(function(O){r(O),v()},function(O){n(O),v()},_),p=null}"onloadend"in p?p.onloadend=m:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(m)},p.onabort=function(){p&&(n(new Ye("Request aborted",Ye.ECONNABORTED,e,p)),p=null)},p.onerror=function(S){const _=S&&S.message?S.message:"Network Error",E=new Ye(_,Ye.ERR_NETWORK,e,p);E.event=S||null,n(E),p=null},p.ontimeout=function(){let S=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const _=o.transitional||_E;o.timeoutErrorMessage&&(S=o.timeoutErrorMessage),n(new Ye(S,_.clarifyTimeoutError?Ye.ETIMEDOUT:Ye.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&de.forEach(i.toJSON(),function(S,_){p.setRequestHeader(_,S)}),de.isUndefined(o.withCredentials)||(p.withCredentials=!!o.withCredentials),a&&a!=="json"&&(p.responseType=o.responseType),u&&([f,g]=hc(u,!0),p.addEventListener("progress",f)),l&&p.upload&&([h,d]=hc(l),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",d)),(o.cancelToken||o.signal)&&(c=w=>{p&&(n(!w||w.type?new Hs(null,e,p):w),p.abort(),p=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const b=DM(o.url);if(b&&ir.protocols.indexOf(b)===-1){n(new Ye("Unsupported protocol "+b+":",Ye.ERR_BAD_REQUEST,e));return}p.send(s||null)})},UM=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const s=function(u){if(!o){o=!0,a();const c=u instanceof Error?u:this.reason;n.abort(c instanceof Ye?c:new Hs(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,s(new Ye(`timeout ${t} of ms exceeded`,Ye.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>de.asap(a),l}},qM=function*(e,t){let r=e.byteLength;if(r{const o=zM(e,t);let s=0,i,a=l=>{i||(i=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await o.next();if(u){a(),l.close();return}let h=c.byteLength;if(r){let f=s+=h;r(f)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},NE=64*1024,{isFunction:mc}=de,GM=(({Request:e,Response:t})=>({Request:e,Response:t}))(de.global),{ReadableStream:IE,TextEncoder:DE}=de.global,jE=(e,...t)=>{try{return!!e(...t)}catch{return!1}},WM=e=>{e=de.merge.call({skipUndefined:!0},GM,e);const{fetch:t,Request:r,Response:n}=e,o=t?mc(t):typeof fetch=="function",s=mc(r),i=mc(n);if(!o)return!1;const a=o&&mc(IE),l=o&&(typeof DE=="function"?(g=>v=>g.encode(v))(new DE):async g=>new Uint8Array(await new r(g).arrayBuffer())),u=s&&a&&jE(()=>{let g=!1;const v=new r(ir.origin,{body:new IE,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!v}),c=i&&a&&jE(()=>de.isReadableStream(new n("").body)),h={stream:c&&(g=>g.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!h[g]&&(h[g]=(v,p)=>{let m=v&&v[g];if(m)return m.call(v);throw new Ye(`Response type '${g}' is not supported`,Ye.ERR_NOT_SUPPORT,p)})});const f=async g=>{if(g==null)return 0;if(de.isBlob(g))return g.size;if(de.isSpecCompliantForm(g))return(await new r(ir.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(de.isArrayBufferView(g)||de.isArrayBuffer(g))return g.byteLength;if(de.isURLSearchParams(g)&&(g=g+""),de.isString(g))return(await l(g)).byteLength},d=async(g,v)=>{const p=de.toFiniteNumber(g.getContentLength());return p??f(v)};return async g=>{let{url:v,method:p,data:m,signal:b,cancelToken:w,timeout:S,onDownloadProgress:_,onUploadProgress:E,responseType:O,headers:P,withCredentials:A="same-origin",fetchOptions:V}=AE(g),D=t||fetch;O=O?(O+"").toLowerCase():"text";let M=UM([b,w&&w.toAbortSignal()],S),z=null;const F=M&&M.unsubscribe&&(()=>{M.unsubscribe()});let ue;try{if(E&&u&&p!=="get"&&p!=="head"&&(ue=await d(P,m))!==0){let W=new r(v,{method:"POST",body:m,duplex:"half"}),Y;if(de.isFormData(m)&&(Y=W.headers.get("content-type"))&&P.setContentType(Y),W.body){const[re,R]=$E(ue,hc(CE(E)));m=PE(W.body,NE,re,R)}}de.isString(A)||(A=A?"include":"omit");const K=s&&"credentials"in r.prototype,he={...V,signal:M,method:p.toUpperCase(),headers:P.normalize().toJSON(),body:m,duplex:"half",credentials:K?A:void 0};z=s&&new r(v,he);let ie=await(s?D(z,V):D(v,he));const ve=c&&(O==="stream"||O==="response");if(c&&(_||ve&&F)){const W={};["status","statusText","headers"].forEach(H=>{W[H]=ie[H]});const Y=de.toFiniteNumber(ie.headers.get("content-length")),[re,R]=_&&$E(Y,hc(CE(_),!0))||[];ie=new n(PE(ie.body,NE,re,()=>{R&&R(),F&&F()}),W)}O=O||"text";let ce=await h[de.findKey(h,O)||"text"](ie,g);return!ve&&F&&F(),await new Promise((W,Y)=>{OE(W,Y,{data:ce,headers:Er.from(ie.headers),status:ie.status,statusText:ie.statusText,config:g,request:z})})}catch(K){throw F&&F(),K&&K.name==="TypeError"&&/Load failed|fetch/i.test(K.message)?Object.assign(new Ye("Network Error",Ye.ERR_NETWORK,g,z),{cause:K.cause||K}):Ye.from(K,K&&K.code,g,z)}}},KM=new Map,RE=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,s=[n,o,r];let i=s.length,a=i,l,u,c=KM;for(;a--;)l=s[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:WM(t)),c=u;return u};RE();const th={http:gM,xhr:FM,fetch:{get:RE}};de.forEach(th,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ME=e=>`- ${e}`,JM=e=>de.isFunction(e)||e===null||e===!1;function ZM(e,t){e=de.isArray(e)?e:[e];const{length:r}=e;let n,o;const s={};for(let i=0;i`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=r?i.length>1?`since : -`+i.map(ME).join(` -`):" "+ME(i[0]):"as no adapter specified";throw new Ye("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const BE={getAdapter:ZM,adapters:th};function rh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hs(null,e)}function VE(e){return rh(e),e.headers=Er.from(e.headers),e.data=eh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),BE.getAdapter(e.adapter||ga.adapter,e)(e).then(function(n){return rh(e),n.data=eh.call(e,e.transformResponse,n),n.headers=Er.from(n.headers),n},function(n){return xE(n)||(rh(e),n&&n.response&&(n.response.data=eh.call(e,e.transformResponse,n.response),n.response.headers=Er.from(n.response.headers))),Promise.reject(n)})}const LE="1.13.1",gc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{gc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const FE={};gc.transitional=function(t,r,n){function o(s,i){return"[Axios v"+LE+"] Transitional option '"+s+"'"+i+(n?". "+n:"")}return(s,i,a)=>{if(t===!1)throw new Ye(o(i," has been removed"+(r?" in "+r:"")),Ye.ERR_DEPRECATED);return r&&!FE[i]&&(FE[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,i,a):!0}},gc.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function YM(e,t,r){if(typeof e!="object")throw new Ye("options must be an object",Ye.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const s=n[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Ye("option "+s+" must be "+l,Ye.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ye("Unknown option "+s,Ye.ERR_BAD_OPTION)}}const yc={assertOptions:YM,validators:gc},kn=yc.validators;let Zo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new wE,response:new wE}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+s):n.stack=s}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Jo(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:s}=r;n!==void 0&&yc.assertOptions(n,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),o!=null&&(de.isFunction(o)?r.paramsSerializer={serialize:o}:yc.assertOptions(o,{encode:kn.function,serialize:kn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),yc.assertOptions(r,{baseUrl:kn.spelling("baseURL"),withXsrfToken:kn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=s&&de.merge(s.common,s[r.method]);s&&de.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Er.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,h=0,f;if(!l){const g=[VE.bind(this),void 0];for(g.unshift(...a),g.push(...u),f=g.length,c=Promise.resolve(r);h{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](o);n._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{n.subscribe(a),s=a}).then(o);return i.cancel=function(){n.unsubscribe(s)},i},t(function(s,i,a){n.reason||(n.reason=new Hs(s,i,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Lx(function(o){t=o}),cancel:t}}};function QM(e){return function(r){return e.apply(null,r)}}function eB(e){return de.isObject(e)&&e.isAxiosError===!0}const nh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(nh).forEach(([e,t])=>{nh[t]=e});function UE(e){const t=new Zo(e),r=oE(Zo.prototype.request,t);return de.extend(r,Zo.prototype,t,{allOwnKeys:!0}),de.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return UE(Jo(e,o))},r}const Dt=UE(ga);Dt.Axios=Zo,Dt.CanceledError=Hs,Dt.CancelToken=XM,Dt.isCancel=xE,Dt.VERSION=LE,Dt.toFormData=fc,Dt.AxiosError=Ye,Dt.Cancel=Dt.CanceledError,Dt.all=function(t){return Promise.all(t)},Dt.spread=QM,Dt.isAxiosError=eB,Dt.mergeConfig=Jo,Dt.AxiosHeaders=Er,Dt.formToJSON=e=>SE(de.isHTMLForm(e)?new FormData(e):e),Dt.getAdapter=BE.getAdapter,Dt.HttpStatusCode=nh,Dt.default=Dt;const{Axios:MF,AxiosError:BF,CanceledError:VF,isCancel:LF,CancelToken:FF,VERSION:UF,all:qF,Cancel:zF,isAxiosError:HF,spread:GF,toFormData:WF,AxiosHeaders:KF,HttpStatusCode:JF,formToJSON:ZF,getAdapter:YF,mergeConfig:XF}=Dt;function tB(e){const t=J(()=>{try{return JSON.parse(e.jsonSchema)}catch(s){console.warn("Could not parse JSON Schema",s);return}}),r=J(()=>{if(e.uiSchema)try{return JSON.parse(e.uiSchema)}catch(s){console.warn("Could not parse UI Schema",s);return}}),n=J(()=>{if(e.presetData)try{return JSON.parse(e.presetData)}catch(s){console.warn("Could not parse pre-set data",s);return}}),o=J(()=>e.returnDataAsScopes===!0||e.returnDataAsScopes==="true");return{jsonSchema:t,uiSchema:r,presetData:n,returnDataAsScopes:o}}function rB(e){return async function(r,n){n.action==="request"&&n.request?.url?await Dt(n.request.url,{method:n.request.method||"POST",headers:n.request.headers,data:r}):e("submit",r,n),e("afterSubmitted",r,n)}}const nB=rC(Oe({__name:"Webcomponent.ce",props:{jsonSchema:{type:String},uiSchema:{type:String},presetData:{type:String},returnDataAsScopes:{type:[Boolean,String]}},emits:["submit","afterSubmitted"],setup(e,{emit:t}){const r=e,n=t,{jsonSchema:o,uiSchema:s,presetData:i,returnDataAsScopes:a}=tB(r),l=[BA,uP],u=rB(n);return(c,h)=>(ee(),ye(C(PR),{"json-schema":C(o),"ui-schema":C(s),"preset-data":C(i),"return-data-as-scopes":C(a),mappers:l,onSubmitForm:C(u)},{default:xe(()=>[$e(c.$slots,"default")]),_:3},8,["json-schema","ui-schema","preset-data","return-data-as-scopes","onSubmitForm"]))}}),{shadowRoot:!1});customElements.define("vue-json-form",nB);const vc=(e,t)=>J(()=>{const r=st(e),n=st(t);return r===!0?"true":typeof r=="string"?r:n===!1?"true":r===!1?"false":void 0}),Gs=e=>J(()=>{const t=st(e);return t===!0?"is-valid":t===!1?"is-invalid":null}),qE=e=>J(()=>{const t=st(e);return{"form-check":t.plain===!1&&t.button===!1&&t.hasDefaultSlot,"form-check-reverse":t.reverse===!0,"form-check-inline":t.inline===!0,"form-switch":t.switch===!0,[`form-control-${t.size}`]:t.size!==void 0&&t.size!=="md"&&t.button===!1}}),zE=e=>{const t=vr(at(e)),r=Gs(()=>t.value.state??null);return J(()=>[r.value,{"form-check-input":t.value.plain===!1&&t.value.button===!1,"btn-check":t.value.button===!0}])},HE=e=>J(()=>{const t=st(e);return{"form-check-label":t.plain===!1&&t.button===!1,btn:t.button===!0,[`btn-${t.buttonVariant}`]:t.button===!0&&t.buttonVariant!==void 0&&t.buttonVariant!==null,[`btn-${t.size}`]:t.button&&t.size&&t.size!=="md"}}),GE=e=>{const t=vr(at(e)),r=vc(()=>t.value.ariaInvalid,()=>t.value.state);return J(()=>({"aria-invalid":r.value,"aria-required":t.value.required===!0?!0:void 0}))},WE=e=>J(()=>{const t=st(e);return{"was-validated":t.validated===!0,"btn-group":t.buttons===!0&&t.stacked===!1,"btn-group-vertical":t.stacked===!0&&t.buttons===!0,[`btn-group-${t.size}`]:t.size!==void 0}}),oB=["id","disabled","required","name","form","aria-label","aria-labelledby","aria-required","value","true-value","false-value","indeterminate"],sB=["for"],KE=Oe({inheritAttrs:!1,__name:"BFormCheckbox",props:nr({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonGroup:{type:Boolean,default:!1},buttonVariant:{default:null},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},inline:{type:Boolean,default:!1},name:{default:void 0},plain:{type:Boolean,default:!1},required:{type:Boolean,default:void 0},reverse:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null},switch:{type:Boolean,default:!1},uncheckedValue:{type:[Array,Set,String,Boolean,Object,Number,null],default:!1},wrapperAttrs:{default:void 0},inputClass:{default:void 0},value:{type:[String,Boolean,Array,Set,Object,Number,null],default:!0}},{modelValue:{type:[Array,Set,String,Boolean,Object,Number,null],default:void 0},modelModifiers:{},indeterminate:{type:Boolean,default:!1},indeterminateModifiers:{}}),emits:["update:modelValue","update:indeterminate"],setup(e,{expose:t}){const r=nt(e,"BFormCheckbox"),n=vn(),o=gd(),s=Tr(e,"modelValue"),i=Tr(e,"indeterminate"),a=J(()=>{const{class:E,...O}=o;return{wrapperClass:E,inputAttrs:O}}),l=Ut(()=>r.id,"form-check"),u=Tt(ry,null),c=rr("_input"),{focused:h}=go(c,{initialValue:r.autofocus}),f=J(()=>!yo(n.default)),d=J({get:()=>u?u.modelValue.value:s.value,set:E=>{if(E!==void 0){if(i.value=!1,u!==null&&Array.isArray(E)){u.modelValue.value=E;return}s.value=E}}}),g=J(()=>!!(r.name??u?.name.value)&&(r.required||u?.required.value)),v=J(()=>r.buttonGroup||(u?.buttons.value??!1)),p=J(()=>({plain:r.plain||(u?.plain.value??!1),button:r.button||(u?.buttons.value??!1),inline:r.inline||(u?.inline.value??!1),reverse:r.reverse||(u?.reverse.value??!1),switch:r.switch||(u?.switch.value??!1),state:r.state===!0||r.state===!1?r.state:u?.state.value??null,size:r.size??u?.size.value??"md",buttonVariant:r.buttonVariant??u?.buttonVariant.value??"secondary",hasDefaultSlot:f.value})),m=qE(p),b=J(()=>[m.value,a.value.wrapperClass]),w=zE(p),S=J(()=>[w.value,r.inputClass]),_=HE(p);return t({blur:()=>{h.value=!1},element:c,focus:()=>{h.value=!0}}),(E,O)=>(ee(),ye(Md,ft({skip:v.value},C(r).wrapperAttrs,{class:b.value}),{default:xe(()=>[Bn(Ne("input",ft({id:C(l),ref:"_input","onUpdate:modelValue":O[0]||(O[0]=P=>d.value=P),class:S.value,type:"checkbox",disabled:C(r).disabled||C(u)?.disabled.value,required:g.value||void 0,name:C(r).name||C(u)?.name.value,form:C(r).form||C(u)?.form.value,"aria-label":C(r).ariaLabel,"aria-labelledby":C(r).ariaLabelledby,"aria-required":g.value||void 0,value:C(r).value,"true-value":C(r).value,"false-value":C(r).uncheckedValue,indeterminate:i.value||void 0},a.value.inputAttrs),null,16,oB),[[uC,d.value]]),f.value||C(r).plain===!1?(ee(),_e("label",{key:0,for:C(l),class:He(C(_))},[$e(E.$slots,"default")],10,sB)):Le("",!0)]),_:3},16,["skip","class"]))}}),iB=["id"],aB=Oe({__name:"BFormCheckboxGroup",props:nr({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},buttonVariant:{default:"secondary"},buttons:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},name:{default:void 0},options:{default:()=>[]},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:"md"},stacked:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},switches:{type:Boolean,default:!1},textField:{default:"text"},validated:{type:Boolean,default:!1},valueField:{default:"value"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormCheckboxGroup"),n=Tr(e,"modelValue"),o=Ut(()=>r.id,"checkbox"),s=Ut(()=>r.name,"checkbox"),i=rr("_element"),{focused:a}=go(i,{initialValue:r.autofocus});Wt(ry,{modelValue:n,switch:at(()=>r.switches),buttonVariant:at(()=>r.buttonVariant),form:at(()=>r.form),name:s,state:at(()=>r.state),plain:at(()=>r.plain),size:at(()=>r.size),inline:at(()=>!r.stacked),reverse:at(()=>r.reverse),required:at(()=>r.required),buttons:at(()=>r.buttons),disabled:at(()=>r.disabled)});const l=J(()=>r.options.map(f=>typeof f=="string"||typeof f=="number"?{value:f,disabled:r.disabled,text:f.toString()}:{...f,value:f[r.valueField],disabled:f[r.disabledField],text:f[r.textField]})),u=J(()=>({required:r.required,ariaInvalid:r.ariaInvalid,state:r.state,validated:r.validated,buttons:r.buttons,stacked:r.stacked,size:r.size})),c=GE(u),h=WE(u);return t({blur:()=>{a.value=!1},focus:()=>{a.value=!0}}),(f,d)=>(ee(),_e("div",ft(C(c),{id:C(o),ref:"_element",role:"group",class:[C(h),"bv-no-focus-ring"],tabindex:"-1"}),[$e(f.$slots,"first"),(ee(!0),_e(Je,null,Gt(l.value,(g,v)=>(ee(),ye(KE,ft({key:v},{ref_for:!0},g),{default:xe(()=>[$e(f.$slots,"option",ft({ref_for:!0},g),()=>[We(Ae(g.text),1)])]),_:2},1040))),128)),$e(f.$slots,"default")],16,iB))}}),JE=(e,t=typeof document<"u"?document:void 0)=>{if(e)return typeof e=="string"?typeof t>"u"||typeof document>"u"?void 0:document.getElementById(e)??t.querySelector(e)??void 0:e.$el??e},ZE=["top","right","bottom","left"],YE=["start","end"],XE=ZE.reduce((e,t)=>e.concat(t,t+"-"+YE[0],t+"-"+YE[1]),[]),an=Math.min,ar=Math.max,bc=Math.round,wc=Math.floor,An=e=>({x:e,y:e}),lB={left:"right",right:"left",bottom:"top",top:"bottom"},uB={start:"end",end:"start"};function oh(e,t,r){return ar(e,an(t,r))}function no(e,t){return typeof e=="function"?e(t):e}function Fr(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function QE(e){return e==="x"?"y":"x"}function sh(e){return e==="y"?"height":"width"}const cB=new Set(["top","bottom"]);function Pn(e){return cB.has(Fr(e))?"y":"x"}function ih(e){return QE(Pn(e))}function e1(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=ih(e),s=sh(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Sc(i)),[i,Sc(i)]}function dB(e){const t=Sc(e);return[_c(e),t,_c(t)]}function _c(e){return e.replace(/start|end/g,t=>uB[t])}const t1=["left","right"],r1=["right","left"],fB=["top","bottom"],pB=["bottom","top"];function hB(e,t,r){switch(e){case"top":case"bottom":return r?t?r1:t1:t?t1:r1;case"left":case"right":return t?fB:pB;default:return[]}}function mB(e,t,r,n){const o=ln(e);let s=hB(Fr(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(_c)))),s}function Sc(e){return e.replace(/left|right|bottom|top/g,t=>lB[t])}function gB(e){return{top:0,right:0,bottom:0,left:0,...e}}function ah(e){return typeof e!="number"?gB(e):{top:e,right:e,bottom:e,left:e}}function Ws(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function n1(e,t,r){let{reference:n,floating:o}=e;const s=Pn(t),i=ih(t),a=sh(i),l=Fr(t),u=s==="y",c=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,f=n[a]/2-o[a]/2;let d;switch(l){case"top":d={x:c,y:n.y-o.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:h};break;case"left":d={x:n.x-o.width,y:h};break;default:d={x:n.x,y:n.y}}switch(ln(t)){case"start":d[i]-=f*(r&&u?-1:1);break;case"end":d[i]+=f*(r&&u?-1:1);break}return d}const yB=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:h}=n1(u,n,l),f=n,d={},g=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=no(e,t)||{};if(u==null)return{};const h=ah(c),f={x:r,y:n},d=ih(o),g=sh(d),v=await i.getDimensions(u),p=d==="y",m=p?"top":"left",b=p?"bottom":"right",w=p?"clientHeight":"clientWidth",S=s.reference[g]+s.reference[d]-f[d]-s.floating[g],_=f[d]-s.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let O=E?E[w]:0;(!O||!await(i.isElement==null?void 0:i.isElement(E)))&&(O=a.floating[w]||s.floating[g]);const P=S/2-_/2,A=O/2-v[g]/2-1,V=an(h[m],A),D=an(h[b],A),M=V,z=O-v[g]-D,F=O/2-v[g]/2+P,ue=oh(M,F,z),K=!l.arrow&&ln(o)!=null&&F!==ue&&s.reference[g]/2-(Fln(n)===e),...r.filter(n=>ln(n)!==e)]:r.filter(n=>Fr(n)===n)).filter(n=>e?ln(n)===e||(t?_c(n)!==n:!1):!0)}const wB=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:s,middlewareData:i,placement:a,platform:l,elements:u}=t,{crossAxis:c=!1,alignment:h,allowedPlacements:f=XE,autoAlignment:d=!0,...g}=no(e,t),v=h!==void 0||f===XE?bB(h||null,d,f):f,p=await Ks(t,g),m=((r=i.autoPlacement)==null?void 0:r.index)||0,b=v[m];if(b==null)return{};const w=e1(b,s,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(a!==b)return{reset:{placement:v[0]}};const S=[p[Fr(b)],p[w[0]],p[w[1]]],_=[...((n=i.autoPlacement)==null?void 0:n.overflows)||[],{placement:b,overflows:S}],E=v[m+1];if(E)return{data:{index:m+1,overflows:_},reset:{placement:E}};const O=_.map(A=>{const V=ln(A.placement);return[A.placement,V&&c?A.overflows.slice(0,2).reduce((D,M)=>D+M,0):A.overflows[0],A.overflows]}).sort((A,V)=>A[1]-V[1]),P=((o=O.filter(A=>A[2].slice(0,ln(A[0])?2:3).every(V=>V<=0))[0])==null?void 0:o[0])||O[0][0];return P!==a?{data:{index:m+1,overflows:_},reset:{placement:P}}:{}}}},_B=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...p}=no(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const m=Fr(o),b=Pn(a),w=Fr(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),_=f||(w||!v?[Sc(a)]:dB(a)),E=g!=="none";!f&&E&&_.push(...mB(a,v,g,S));const O=[a,..._],P=await Ks(t,p),A=[];let V=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&A.push(P[m]),h){const F=e1(o,i,S);A.push(P[F[0]],P[F[1]])}if(V=[...V,{placement:o,overflows:A}],!A.every(F=>F<=0)){var D,M;const F=(((D=s.flip)==null?void 0:D.index)||0)+1,ue=O[F];if(ue&&(!(h==="alignment"&&b!==Pn(ue))||V.every(he=>he.overflows[0]>0&&Pn(he.placement)===b)))return{data:{index:F,overflows:V},reset:{placement:ue}};let K=(M=V.filter(he=>he.overflows[0]<=0).sort((he,ie)=>he.overflows[1]-ie.overflows[1])[0])==null?void 0:M.placement;if(!K)switch(d){case"bestFit":{var z;const he=(z=V.filter(ie=>{if(E){const ve=Pn(ie.placement);return ve===b||ve==="y"}return!0}).map(ie=>[ie.placement,ie.overflows.filter(ve=>ve>0).reduce((ve,ce)=>ve+ce,0)]).sort((ie,ve)=>ie[1]-ve[1])[0])==null?void 0:z[0];he&&(K=he);break}case"initialPlacement":K=a;break}if(o!==K)return{reset:{placement:K}}}return{}}}};function o1(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s1(e){return ZE.some(t=>e[t]>=0)}const SB=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=no(e,t);switch(n){case"referenceHidden":{const s=await Ks(t,{...o,elementContext:"reference"}),i=o1(s,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:s1(i)}}}case"escaped":{const s=await Ks(t,{...o,altBoundary:!0}),i=o1(s,r.floating);return{data:{escapedOffsets:i,escaped:s1(i)}}}default:return{}}}}};function i1(e){const t=an(...e.map(s=>s.left)),r=an(...e.map(s=>s.top)),n=ar(...e.map(s=>s.right)),o=ar(...e.map(s=>s.bottom));return{x:t,y:r,width:n-t,height:o-r}}function EB(e){const t=e.slice().sort((o,s)=>o.y-s.y),r=[];let n=null;for(let o=0;on.height/2?r.push([s]):r[r.length-1].push(s),n=s}return r.map(o=>Ws(i1(o)))}const xB=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:s,strategy:i}=t,{padding:a=2,x:l,y:u}=no(e,t),c=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),h=EB(c),f=Ws(i1(c)),d=ah(a);function g(){if(h.length===2&&h[0].left>h[1].right&&l!=null&&u!=null)return h.find(p=>l>p.left-d.left&&lp.top-d.top&&u=2){if(Pn(r)==="y"){const V=h[0],D=h[h.length-1],M=Fr(r)==="top",z=V.top,F=D.bottom,ue=M?V.left:D.left,K=M?V.right:D.right,he=K-ue,ie=F-z;return{top:z,bottom:F,left:ue,right:K,width:he,height:ie,x:ue,y:z}}const p=Fr(r)==="left",m=ar(...h.map(V=>V.right)),b=an(...h.map(V=>V.left)),w=h.filter(V=>p?V.left===b:V.right===m),S=w[0].top,_=w[w.length-1].bottom,E=b,O=m,P=O-E,A=_-S;return{top:S,bottom:_,left:E,right:O,width:P,height:A,x:E,y:S}}return f}const v=await s.getElementRects({reference:{getBoundingClientRect:g},floating:n.floating,strategy:i});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},OB=new Set(["left","top"]);async function $B(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Fr(r),a=ln(r),l=Pn(r)==="y",u=OB.has(i)?-1:1,c=s&&l?-1:1,h=no(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:g}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof g=="number"&&(d=a==="end"?g*-1:g),l?{x:d*c,y:f*u}:{x:f*u,y:d*c}}const CB=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await $B(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},TB=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:p=>{let{x:m,y:b}=p;return{x:m,y:b}}},...l}=no(e,t),u={x:r,y:n},c=await Ks(t,l),h=Pn(Fr(o)),f=QE(h);let d=u[f],g=u[h];if(s){const p=f==="y"?"top":"left",m=f==="y"?"bottom":"right",b=d+c[p],w=d-c[m];d=oh(b,d,w)}if(i){const p=h==="y"?"top":"left",m=h==="y"?"bottom":"right",b=g+c[p],w=g-c[m];g=oh(b,g,w)}const v=a.fn({...t,[f]:d,[h]:g});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[f]:s,[h]:i}}}}}},kB=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=no(e,t),c=await Ks(t,u),h=Fr(o),f=ln(o),d=Pn(o)==="y",{width:g,height:v}=s.floating;let p,m;h==="top"||h==="bottom"?(p=h,m=f===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=h,p=f==="end"?"top":"bottom");const b=v-c.top-c.bottom,w=g-c.left-c.right,S=an(v-c[p],b),_=an(g-c[m],w),E=!t.middlewareData.shift;let O=S,P=_;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(P=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(O=b),E&&!f){const V=ar(c.left,0),D=ar(c.right,0),M=ar(c.top,0),z=ar(c.bottom,0);d?P=g-2*(V!==0||D!==0?V+D:ar(c.left,c.right)):O=v-2*(M!==0||z!==0?M+z:ar(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:O});const A=await i.getDimensions(a.floating);return g!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Ec(){return typeof window<"u"}function Yo(e){return lh(e)?(e.nodeName||"").toLowerCase():"#document"}function Rr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nn(e){var t;return(t=(lh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lh(e){return Ec()?e instanceof Node||e instanceof Rr(e).Node:!1}function un(e){return Ec()?e instanceof Element||e instanceof Rr(e).Element:!1}function In(e){return Ec()?e instanceof HTMLElement||e instanceof Rr(e).HTMLElement:!1}function a1(e){return!Ec()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rr(e).ShadowRoot}const AB=new Set(["inline","contents"]);function va(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!AB.has(o)}const PB=new Set(["table","td","th"]);function NB(e){return PB.has(Yo(e))}const IB=[":popover-open",":modal"];function xc(e){return IB.some(t=>{try{return e.matches(t)}catch{return!1}})}const DB=["transform","translate","scale","rotate","perspective"],jB=["transform","translate","scale","rotate","perspective","filter"],RB=["paint","layout","strict","content"];function uh(e){const t=ch(),r=un(e)?cn(e):e;return DB.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||jB.some(n=>(r.willChange||"").includes(n))||RB.some(n=>(r.contain||"").includes(n))}function MB(e){let t=Co(e);for(;In(t)&&!Js(t);){if(uh(t))return t;if(xc(t))return null;t=Co(t)}return null}function ch(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const BB=new Set(["html","body","#document"]);function Js(e){return BB.has(Yo(e))}function cn(e){return Rr(e).getComputedStyle(e)}function Oc(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Co(e){if(Yo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||a1(e)&&e.host||Nn(e);return a1(t)?t.host:t}function l1(e){const t=Co(e);return Js(t)?e.ownerDocument?e.ownerDocument.body:e.body:In(t)&&va(t)?t:l1(t)}function ba(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=l1(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Rr(o);if(s){const a=dh(i);return t.concat(i,i.visualViewport||[],va(o)?o:[],a&&r?ba(a):[])}return t.concat(o,ba(o,[],r))}function dh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function u1(e){const t=cn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=In(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=bc(r)!==s||bc(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function fh(e){return un(e)?e:e.contextElement}function Zs(e){const t=fh(e);if(!In(t))return An(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=u1(t);let i=(s?bc(r.width):r.width)/n,a=(s?bc(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const VB=An(0);function c1(e){const t=Rr(e);return!ch()||!t.visualViewport?VB:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function LB(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rr(e)?!1:t}function Xo(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=fh(e);let i=An(1);t&&(n?un(n)&&(i=Zs(n)):i=Zs(e));const a=LB(s,r,n)?c1(s):An(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,c=o.width/i.x,h=o.height/i.y;if(s){const f=Rr(s),d=n&&un(n)?Rr(n):n;let g=f,v=dh(g);for(;v&&n&&d!==g;){const p=Zs(v),m=v.getBoundingClientRect(),b=cn(v),w=m.left+(v.clientLeft+parseFloat(b.paddingLeft))*p.x,S=m.top+(v.clientTop+parseFloat(b.paddingTop))*p.y;l*=p.x,u*=p.y,c*=p.x,h*=p.y,l+=w,u+=S,g=Rr(v),v=dh(g)}}return Ws({width:c,height:h,x:l,y:u})}function ph(e,t){const r=Oc(e).scrollLeft;return t?t.left+r:Xo(Nn(e)).left+r}function d1(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:ph(e,n)),s=n.top+t.scrollTop;return{x:o,y:s}}function FB(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=Nn(n),a=t?xc(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},u=An(1);const c=An(0),h=In(n);if((h||!h&&!s)&&((Yo(n)!=="body"||va(i))&&(l=Oc(n)),In(n))){const d=Xo(n);u=Zs(n),c.x=d.x+n.clientLeft,c.y=d.y+n.clientTop}const f=i&&!h&&!s?d1(i,l,!0):An(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:r.y*u.y-l.scrollTop*u.y+c.y+f.y}}function UB(e){return Array.from(e.getClientRects())}function qB(e){const t=Nn(e),r=Oc(e),n=e.ownerDocument.body,o=ar(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=ar(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+ph(e);const a=-r.scrollTop;return cn(n).direction==="rtl"&&(i+=ar(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}function zB(e,t){const r=Rr(e),n=Nn(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const u=ch();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}const HB=new Set(["absolute","fixed"]);function GB(e,t){const r=Xo(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=In(e)?Zs(e):An(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=n*s.y;return{width:i,height:a,x:l,y:u}}function f1(e,t,r){let n;if(t==="viewport")n=zB(e,r);else if(t==="document")n=qB(Nn(e));else if(un(t))n=GB(t,r);else{const o=c1(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ws(n)}function p1(e,t){const r=Co(e);return r===t||!un(r)||Js(r)?!1:cn(r).position==="fixed"||p1(r,t)}function WB(e,t){const r=t.get(e);if(r)return r;let n=ba(e,[],!1).filter(a=>un(a)&&Yo(a)!=="body"),o=null;const s=cn(e).position==="fixed";let i=s?Co(e):e;for(;un(i)&&!Js(i);){const a=cn(i),l=uh(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&o&&HB.has(o.position)||va(i)&&!l&&p1(e,i))?n=n.filter(u=>u!==i):o=a,i=Co(i)}return t.set(e,n),n}function KB(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?xc(t)?[]:WB(t,this._c):[].concat(r),n],i=s[0],a=s.reduce((l,u)=>{const c=f1(t,u,o);return l.top=ar(c.top,l.top),l.right=an(c.right,l.right),l.bottom=an(c.bottom,l.bottom),l.left=ar(c.left,l.left),l},f1(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function JB(e){const{width:t,height:r}=u1(e);return{width:t,height:r}}function ZB(e,t,r){const n=In(t),o=Nn(t),s=r==="fixed",i=Xo(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=An(0);function u(){l.x=ph(o)}if(n||!n&&!s)if((Yo(t)!=="body"||va(o))&&(a=Oc(t)),n){const d=Xo(t,!0,s,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&u();s&&!n&&o&&u();const c=o&&!n&&!s?d1(o,a):An(0),h=i.left+a.scrollLeft-l.x-c.x,f=i.top+a.scrollTop-l.y-c.y;return{x:h,y:f,width:i.width,height:i.height}}function hh(e){return cn(e).position==="static"}function h1(e,t){if(!In(e)||cn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Nn(e)===r&&(r=r.ownerDocument.body),r}function m1(e,t){const r=Rr(e);if(xc(e))return r;if(!In(e)){let o=Co(e);for(;o&&!Js(o);){if(un(o)&&!hh(o))return o;o=Co(o)}return r}let n=h1(e,t);for(;n&&NB(n)&&hh(n);)n=h1(n,t);return n&&Js(n)&&hh(n)&&!uh(n)?r:n||MB(e)||r}const YB=async function(e){const t=this.getOffsetParent||m1,r=this.getDimensions,n=await r(e.floating);return{reference:ZB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function XB(e){return cn(e).direction==="rtl"}const QB={convertOffsetParentRelativeRectToViewportRelativeRect:FB,getDocumentElement:Nn,getClippingRect:KB,getOffsetParent:m1,getElementRects:YB,getClientRects:UB,getDimensions:JB,getScale:Zs,isElement:un,isRTL:XB};function g1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eV(e,t){let r=null,n;const o=Nn(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:c,top:h,width:f,height:d}=u;if(a||t(),!f||!d)return;const g=wc(h),v=wc(o.clientWidth-(c+f)),p=wc(o.clientHeight-(h+d)),m=wc(c),b={rootMargin:-g+"px "+-v+"px "+-p+"px "+-m+"px",threshold:ar(0,an(1,l))||1};let w=!0;function S(_){const E=_[0].intersectionRatio;if(E!==l){if(!w)return i();E?i(!1,E):n=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!g1(u,e.getBoundingClientRect())&&i(),w=!1}try{r=new IntersectionObserver(S,{...b,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,b)}r.observe(e)}return i(!0),s}function tV(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=fh(e),c=o||s?[...u?ba(u):[],...ba(t)]:[];c.forEach(m=>{o&&m.addEventListener("scroll",r,{passive:!0}),s&&m.addEventListener("resize",r)});const h=u&&a?eV(u,r):null;let f=-1,d=null;i&&(d=new ResizeObserver(m=>{let[b]=m;b&&b.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),r()}),u&&!l&&d.observe(u),d.observe(t));let g,v=l?Xo(e):null;l&&p();function p(){const m=Xo(e);v&&!g1(v,m)&&r(),v=m,g=requestAnimationFrame(p)}return r(),()=>{var m;c.forEach(b=>{o&&b.removeEventListener("scroll",r),s&&b.removeEventListener("resize",r)}),h?.(),(m=d)==null||m.disconnect(),d=null,l&&cancelAnimationFrame(g)}}const rV=CB,nV=wB,oV=TB,sV=_B,iV=kB,aV=SB,lV=vB,uV=xB,cV=(e,t,r)=>{const n=new Map,o={platform:QB,...r},s={...o.platform,_c:n};return yB(e,t,{...o,platform:s})};function dV(e){return e!=null&&typeof e=="object"&&"$el"in e}function mh(e){if(dV(e)){const t=e.$el;return lh(t)&&Yo(t)==="#comment"?null:t}return e}function Ys(e){return typeof e=="function"?e():C(e)}function fV(e){return{name:"arrow",options:e,fn(t){const r=mh(Ys(e.element));return r==null?{}:lV({element:r,padding:e.padding}).fn(t)}}}function y1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function v1(e,t){const r=y1(e);return Math.round(t*r)/r}function pV(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,o=J(()=>{var O;return(O=Ys(r.open))!=null?O:!0}),s=J(()=>Ys(r.middleware)),i=J(()=>{var O;return(O=Ys(r.placement))!=null?O:"bottom"}),a=J(()=>{var O;return(O=Ys(r.strategy))!=null?O:"absolute"}),l=J(()=>{var O;return(O=Ys(r.transform))!=null?O:!0}),u=J(()=>mh(e.value)),c=J(()=>mh(t.value)),h=Me(0),f=Me(0),d=Me(a.value),g=Me(i.value),v=lo({}),p=Me(!1),m=J(()=>{const O={position:d.value,left:"0",top:"0"};if(!c.value)return O;const P=v1(c.value,h.value),A=v1(c.value,f.value);return l.value?{...O,transform:"translate("+P+"px, "+A+"px)",...y1(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:P+"px",top:A+"px"}});let b;function w(){if(u.value==null||c.value==null)return;const O=o.value;cV(u.value,c.value,{middleware:s.value,placement:i.value,strategy:a.value}).then(P=>{h.value=P.x,f.value=P.y,d.value=P.strategy,g.value=P.placement,v.value=P.middlewareData,p.value=O!==!1})}function S(){typeof b=="function"&&(b(),b=void 0)}function _(){if(S(),n===void 0){w();return}if(u.value!=null&&c.value!=null){b=n(u.value,c.value,w);return}}function E(){o.value||(p.value=!1)}return mt([s,i,a,o],w,{flush:"sync"}),mt([u,c],_,{flush:"sync"}),mt(o,E,{flush:"sync"}),La()&&Jc(S),{x:as(h),y:as(f),strategy:as(d),placement:as(g),middlewareData:as(v),isPositioned:as(p),floatingStyles:m,update:w}}const hV=_C(LC),mV=["id"],gV=["id"],yV=Oe({inheritAttrs:!1,__name:"BPopover",props:nr({body:{default:void 0},bodyClass:{default:void 0},boundary:{default:"clippingAncestors"},boundaryPadding:{default:void 0},click:{type:Boolean,default:void 0},closeOnHide:{type:Boolean,default:!1},focus:{type:Boolean,default:void 0},hover:{type:Boolean,default:void 0},delay:{default:()=>({show:100,hide:300})},floatingMiddleware:{default:void 0},hideMargin:{default:2},id:{default:void 0},inline:{type:Boolean,default:!1},manual:{type:Boolean,default:!1},noAutoClose:{type:Boolean,default:!1},noFlip:{type:Boolean,default:!1},noHide:{type:Boolean,default:!1},noShift:{type:Boolean,default:!1},noSize:{type:Boolean,default:!1},noninteractive:{type:Boolean,default:!1},offset:{default:null},placement:{default:"top"},realtime:{type:Boolean,default:!1},reference:{default:null},strategy:{default:"absolute"},target:{default:null},title:{default:void 0},titleClass:{default:void 0},tooltip:{type:Boolean,default:!1},teleportDisabled:{type:Boolean,default:!1},teleportTo:{default:void 0},initialAnimation:{type:Boolean,default:!1},noAnimation:{type:Boolean},noFade:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},unmountLazy:{type:Boolean,default:!1},show:{type:Boolean,default:!1},transProps:{},visible:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:nr(["pointerleave","blur","click-outside","close-on-hide","hide","hide-prevented","hidden","show","show-prevented","shown","toggle","toggle-prevented","cancel","ok"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=nt(e,"BPopover"),o=r,s=vn(),i=gd(),a=Tr(e,"modelValue"),l=Ut(()=>n.id,"popover"),u=Me(!1),c=rr("_element"),h=rr("_content"),f=rr("_arrow"),d=rr("_placeholder"),g=Me(null),v=Me(null),p=J(()=>n.placement.startsWith("auto")),m=Hn(()=>n.offset??NaN),b=J(()=>b1(n.boundary)?n.boundary:void 0),w=J(()=>bV(n.boundary)?n.boundary:void 0),S=Me({}),_=J(()=>{if(n.floatingMiddleware!==void 0)return n.floatingMiddleware;const Q=n.offset!==null?m.value:n.tooltip?6:8,oe=[rV(Q)];return n.noFlip===!1&&!p.value&&oe.push(sV({boundary:b.value,rootBoundary:w.value,padding:n.boundaryPadding})),p.value&&oe.push(nV({alignment:n.placement.split("-")[1]||void 0,boundary:b.value,rootBoundary:w.value,padding:n.boundaryPadding})),n.noShift===!1&&oe.push(oV({boundary:b.value,rootBoundary:w.value,padding:n.boundaryPadding})),n.noHide===!1&&oe.push(aV({boundary:b.value,rootBoundary:w.value,padding:n.boundaryPadding})),n.inline===!0&&oe.push(uV()),oe.push(fV({element:f,padding:10})),n.noSize===!1&&oe.push(iV({boundary:b.value,rootBoundary:w.value,padding:n.boundaryPadding,apply({availableWidth:pe,availableHeight:fe}){S.value={maxHeight:fe>=(h.value?.scrollHeight??0)?void 0:fe?`${Math.max(0,fe)}px`:void 0,maxWidth:pe>=(h.value?.scrollWidth??0)?void 0:pe?`${Math.max(0,pe)}px`:void 0}}})),oe}),E=J(()=>p.value?void 0:n.placement),{floatingStyles:O,middlewareData:P,placement:A,update:V}=pV(g,c,{placement:E,middleware:_,strategy:at(()=>n.strategy)}),D=Me({position:"absolute"});mt(P,Q=>{if(n.noHide===!1&&(Q.hide?.referenceHidden&&!u.value&&z.value?n.closeOnHide&&!n.noAutoClose&&!n.manual?he("close-on-hide"):(R.value=!0,u.value=!0):R.value&&!Q.hide?.referenceHidden&&(R.value=!1,u.value=!1)),Q.arrow){const{x:oe,y:pe}=Q.arrow;D.value={position:"absolute",top:pe?`${pe}px`:"",left:oe?`${oe}px`:""}}});let M;const{showRef:z,hide:F,show:ue,toggle:K,throttleHide:he,computedNoAnimation:ie,transitionProps:ve,contentShowing:ce,isVisible:W,isActive:Y,renderRef:re,localTemporaryHide:R}=Ty(a,n,o,c,l,{showFn:()=>{V(),Ft(()=>{M=tV(g.value,c.value,V,{animationFrame:n.realtime})})},hideFn:()=>{M&&(M(),M=void 0)}}),H=J(()=>{const Q=n.tooltip?"tooltip":"popover";return[Q,`b-${Q}`,{show:W.value&&!u.value,fade:!ie.value,[`bs-${Q}-${vV(A.value)}`]:A.value!==void 0}]}),{x:ae,y:Ee}=hV(),Ce=()=>{const Q=v.value?.getBoundingClientRect(),oe=c.value?.getBoundingClientRect(),pe=parseInt(n.hideMargin,10)||0,fe=window?.scrollX||0,G=window?.scrollY||0,L=!Q||ae.valueQ.right+fe+pe||Ee.valueQ.bottom+G+pe,U=!oe||ae.valueoe.right+fe+pe||Ee.valueoe.bottom+G+pe;return{triggerIsOutside:L,isOutside:U}};let Re;const Te=Q=>{const{triggerIsOutside:oe,isOutside:pe}=Ce();!n.noninteractive&&pe&&oe&&!c.value?.contains(document?.activeElement)&&!v.value?.contains(document?.activeElement)||n.noninteractive&&oe?F(Q?.type):(Re&&clearTimeout(Re),Re=setTimeout(()=>{Te(Q)},50))};mt(W,()=>{V()}),t({hide:F,show:ue,toggle:K});const B=Q=>{z.value?F(Q.type==="click"?"click":"toggle"):ue()},k=()=>{ue()},N=J(()=>n.manual?{hover:!1,focus:!1,click:!1}:n.hover!==void 0||n.focus!==void 0||n.click!==void 0?{hover:n.hover??!1,focus:n.focus??!1,click:n.click??!1}:{hover:!0,focus:!0,click:!1}),j=()=>{if(n.target){const oe=JE(st(n.target));oe?v.value=oe:console.warn("Target element not found",n.target)}else v.value=d.value?.nextElementSibling;if(n.reference){const oe=JE(st(n.reference));oe?g.value=oe:console.warn("Reference element not found",n.reference)}else g.value=v.value;if(!v.value||n.manual)return;const Q=N.value;Q.click&&v.value.addEventListener("click",B),Q.hover&&(v.value.addEventListener("pointerenter",k),v.value.addEventListener("pointerleave",Te)),Q.focus&&(v.value.addEventListener("focus",k),v.value.addEventListener("blur",Te))},Z=()=>{v.value&&(v.value.removeEventListener("click",B),v.value.removeEventListener("pointerenter",k),v.value.removeEventListener("pointerleave",Te),v.value.removeEventListener("focus",k),v.value.removeEventListener("blur",Te))};MC(c,()=>{z.value&&N.value.click&&!n.noAutoClose&&!n.manual&&F("click-outside")},{ignore:[v]}),mt([()=>n.click,()=>n.hover,()=>n.focus,()=>n.manual,()=>n.target,()=>n.reference],()=>{Z(),j()});const ne=J(()=>({toggle:K,show:ue,hide:F,id:l.value,visible:W.value,active:Y.value}));return Fn(()=>{j(),Ft(()=>{V()})}),xi(Z),(Q,oe)=>(ee(),_e(Je,null,[Ne("span",{id:C(l)+"_placeholder",ref:"_placeholder",style:{display:"none"}},null,8,mV),$e(Q.$slots,"target",io(fs(ne.value))),je(qC,{to:C(n).teleportTo,disabled:!C(n).teleportTo||C(n).teleportDisabled},{default:xe(()=>[C(re)||C(ce)?(ee(),ye(Tg,ft({key:0},C(ve),{appear:a.value||C(n).visible}),{default:xe(()=>[Bn(Ne("div",ft({id:C(l)},C(i),{ref:"_element",class:H.value,role:"tooltip",tabindex:"-1",style:C(O)}),[Ne("div",{ref:"_arrow",class:He(`${C(n).tooltip?"tooltip":"popover"}-arrow`),style:so(D.value),"data-popper-arrow":""},null,6),Ne("div",{ref:"_content",class:"overflow-auto",style:so(S.value)},[C(n).title||s.title?(ee(),_e("div",{key:0,class:He(["position-sticky top-0",[C(n).tooltip?"tooltip-inner":"popover-header",C(n).titleClass]])},[$e(Q.$slots,"title",io(fs(ne.value)),()=>[We(Ae(C(n).title),1)])],2)):Le("",!0),C(n).tooltip&&!s.title&&!C(n).title||!C(n).tooltip?(ee(),_e("div",{key:1,class:He([C(n).tooltip?"tooltip-inner":"popover-body",C(n).bodyClass])},[$e(Q.$slots,"default",io(fs(ne.value)),()=>[We(Ae(C(n).body)+Ae(C(i).content),1)])],2)):Le("",!0)],4)],16,gV),[[ms,C(z)&&!u.value]])]),_:3},16,["appear"])):Le("",!0)]),_:3},8,["to","disabled"])],64))}}),vV=e=>{const[t]=e.split("-");switch(t){case"left":return"start";case"right":return"end";default:return t}},b1=e=>e==="clippingAncestors"||e instanceof Element||Array.isArray(e),bV=e=>!b1(e),wV=Oe({__name:"BBadge",props:{dotIndicator:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},placement:{default:void 0},tag:{default:"span"},active:{type:Boolean,default:void 0},activeClass:{default:void 0},disabled:{type:Boolean,default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:Boolean,default:void 0},noRel:{type:Boolean},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},prefetchedClass:{},rel:{default:void 0},replace:{type:Boolean,default:void 0},routerComponentName:{default:void 0},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:"secondary"},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=nt(e,"BBadge"),{computedLink:r,computedLinkProps:n}=Sy(t,["active","activeClass","append","disabled","href","rel","replace","routerComponentName","target","to","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","icon"]),o=J(()=>r.value?Oy:t.tag),s=J(()=>{const l=t.placement??(t.dotIndicator?"top-end":void 0);return["position-absolute","translate-middle",{"start-0 top-0":l==="top-start","start-0 top-50":l==="start","start-0 top-100":l==="bottom-start","start-50 top-0":l==="top","start-50 top-100":l==="bottom","start-100 top-0":l==="top-end","start-100 top-50":l==="end","start-100 top-100":l==="bottom-end"}]}),i=vo(t),a=J(()=>[i.value,t.placement!==void 0||t.dotIndicator===!0?s.value:void 0,{active:t.active,disabled:t.disabled,"rounded-pill":t.pill,"p-2 border border-light rounded-circle":t.dotIndicator,"text-decoration-none":r.value}]);return(l,u)=>(ee(),ye(dt(o.value),ft({class:["badge",a.value]},C(n)),{default:xe(()=>[je(Md,ft({skip:C(t).dotIndicator!==!0,tag:"span"},C(t).dotIndicator?{class:"visually-hidden"}:{}),{default:xe(()=>[$e(l.$slots,"default")]),_:3},16,["skip"])]),_:3},16,["class"]))}}),gh=Oe({__name:"HelpPopover",setup(e){const{layoutElement:t}=Pr();return(r,n)=>C(t)?.options?.help?.text?(ee(),ye(C(yV),{key:0},{target:xe(()=>[je(C(wV),{pill:"",variant:C(t).options.help.variant??"primary"},{default:xe(()=>[We(Ae(C(t).options.help.label??"i"),1)]),_:1},8,["variant"])]),default:xe(()=>[We(" "+Ae(C(t).options.help.text),1)]),_:1})):Le("",!0)}}),_V=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"CheckboxControl",setup(e){const{formData:t}=jt(Ar()),{layoutElement:r,savePath:n}=Pr(),o=Yr(n),s=Il(r);return(i,a)=>(ee(),ye(C(KE),{modelValue:C(t)[C(n)],"onUpdate:modelValue":a[0]||(a[0]=l=>C(t)[C(n)]=l),class:"vjf_checkbox",id:C(o)},{default:xe(()=>[We(Ae(C(s))+" ",1),je(gh)]),_:1},8,["modelValue","id"]))}})},Symbol.toStringTag,{value:"Module"})),SV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"CheckboxGroupControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o);let i=J(()=>_0(r.value)?r.value.items.enum.map(l=>{const u=(hr(n.value,"enumTitles")||{})[l]||l;return{value:l,text:u}})||[]:[]);const a=Me([]);return mt(a,l=>{_0(r.value)&&(t.value[o]=r.value.items.enum.filter(u=>l.includes(u)))}),(l,u)=>(ee(),ye(C(aB),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=c=>a.value=c),options:C(i),class:"vjf_checkboxGroup",id:C(s),stacked:C(hr)(C(n),"stacked"),buttons:C(hr)(C(n),"displayAs")==="buttons",switches:C(hr)(C(n),"displayAs")==="switches","button-variant":C(hr)(C(n),"buttonVariant")||"primary"},null,8,["modelValue","options","id","stacked","buttons","switches","button-variant"]))}})},Symbol.toStringTag,{value:"Module"})),EV=["for"],xV=["id","form","name","multiple","disabled","capture","accept","required","aria-label","aria-labelledby","aria-required","directory","webkitdirectory"],OV=Oe({inheritAttrs:!1,__name:"BFormFile",props:nr({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},accept:{default:""},autofocus:{type:Boolean,default:!1},capture:{type:[Boolean,String],default:void 0},directory:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},label:{default:""},labelClass:{default:void 0},multiple:{type:Boolean,default:!1},name:{default:void 0},noButton:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormFile"),n=vn(),o=Tr(e,"modelValue"),s=Ut(()=>r.id),i=Gs(()=>r.state),a=rr("_input"),{focused:l}=go(a,{initialValue:r.autofocus}),u=J(()=>!yo(n.label)),c=J(()=>typeof r.accept=="string"?r.accept:r.accept.join(",")),h=J(()=>[i.value,{[`form-control-${r.size}`]:r.size!==void 0,"form-control":!r.plain,"form-control-input-file-hide-button":r.noButton}]),f=()=>{const v=a.value?.files===null||a.value?.files===void 0?null:[...a.value.files];o.value=v===null?null:r.multiple===!0?v:v[0]},d=v=>{r.noDrop===!0&&v.preventDefault()},g=()=>{o.value=null};return mt(o,v=>{v===null&&a.value!==null&&(a.value.value="")}),t({blur:()=>{l.value=!1},element:a,focus:()=>{l.value=!0},reset:g}),(v,p)=>(ee(),_e(Je,null,[u.value||C(r).label?(ee(),_e("label",{key:0,class:He(["form-label",C(r).labelClass]),for:C(s)},[$e(v.$slots,"label",{},()=>[We(Ae(C(r).label),1)])],10,EV)):Le("",!0),Ne("input",ft({id:C(s)},v.$attrs,{ref:"_input",type:"file",class:h.value,form:C(r).form,name:C(r).name,multiple:C(r).multiple,disabled:C(r).disabled,capture:C(r).capture,accept:c.value||void 0,required:C(r).required||void 0,"aria-label":C(r).ariaLabel,"aria-labelledby":C(r).ariaLabelledby,"aria-required":C(r).required||void 0,directory:C(r).directory,webkitdirectory:C(r).directory,onChange:f,onDrop:d}),null,16,xV)],64))}}),$V=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"FileControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o),i=Tt(c0),a=J(()=>r.value.type==="array"),l=J(()=>r.value.minItems),u=J(()=>r.value.maxItems);mt(()=>t.value[o],h=>{c(h)},{deep:!0});function c(h){const{maxFileSize:f}=n.value.options||{},d=document.getElementById(s.value);if(a.value){if(u.value&&(h.length||0)>u.value){d?.setCustomValidity(i?.getStringTemplate("errors.fileUpload.tooManyFiles",u.value)||"");return}else if(l.value&&(h?.length||0)v.size>f);if(g.length>0){d?.setCustomValidity(i?.getStringTemplate("errors.fileUpload.fileTooLarge",(f/1024/1024).toFixed(2),g.map(v=>v.name).join(", "))||"");return}}d?.setCustomValidity("")}return(h,f)=>(ee(),ye(C(OV),{modelValue:C(t)[C(o)],"onUpdate:modelValue":f[0]||(f[0]=d=>C(t)[C(o)]=d),id:C(s),ref:"fileUpload",class:"vjf_file",multiple:a.value,accept:C(hr)(C(n),"acceptedFileType")},null,8,["modelValue","id","multiple","accept"]))}})},Symbol.toStringTag,{value:"Module"})),w1=(e,t)=>{if(e===null)return;let r=e;if(t.number&&typeof r=="string"&&r!==""){const n=Number.parseFloat(r);r=Number.isNaN(n)?r:n}return r},_1=()=>{};function CV(e,t){function r(...n){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(s)})}return r.cancel=e.cancel,r}function TV(e,t={}){let r,n,o=_1;const s=l=>{clearTimeout(l),o(),o=_1};let i;const a=l=>{const u=st(e),c=st(t.maxWait);return r&&s(r),u<=0||c!==void 0&&c<=0?(n&&(s(n),n=null),Promise.resolve(l())):new Promise((h,f)=>{o=t.rejectOnCancel?f:h,i=l,c&&!n&&(n=setTimeout(()=>{r&&s(r),n=null,h(i())},c)),r=setTimeout(()=>{n&&s(n),n=null,h(l())},u)})};return a.cancel=()=>{r&&s(r),n&&s(n),n=null},a}function kV(e,t=200,r={}){return CV(TV(t,r),e)}const S1=(e,t,r,n)=>{const o=Me(0),s=Ut(()=>e.id,"input"),i=Hn(()=>e.debounce??0,{nanToZero:!0}),a=Hn(()=>e.debounceMaxWait??NaN),l=Tt(sy,null)?.(s),u=J(()=>e.state!==void 0?e.state:l?.state.value??null),c=vc(()=>e.ariaInvalid,u),h=Gs(u),f=kV(p=>{r.value=p},()=>n.lazy===!0?0:i.value,{maxWait:()=>n.lazy===!0?NaN:a.value}),d=(p,m=!1,b=!1)=>{n.lazy===!0&&m===!1||(b?r.value=p:f(p))},{focused:g}=go(t,{initialValue:e.autofocus}),v=(p,m,b=!1)=>e.formatter!==void 0&&(!e.lazyFormatter||b)?e.formatter(p,m):p;return Fn(()=>{t.value&&(t.value.value=r.value?.toString()??"")}),jm(()=>{Ft(()=>{e.autofocus&&(g.value=!0)})}),{input:t,computedId:s,computedAriaInvalid:c,onInput:p=>{const{value:m}=p.target,b=v(m,p);if(p.defaultPrevented){p.preventDefault();return}d(b)},onChange:p=>{const{value:m}=p.target,b=v(m,p);if(p.defaultPrevented){p.preventDefault();return}const w=b;r.value!==w&&d(b,!0)},onBlur:p=>{if(!n.lazy&&!e.lazyFormatter&&!n.trim&&i.value<=0)return;const{value:m}=p.target,b=v(m,p,!0),w=n.trim?b.trim():b,S=w.length!==b.length;f.cancel(),r.value!==w&&d(b,!0,!0),n.trim&&S&&(o.value=o.value+1)},focus:()=>{e.disabled||(g.value=!0)},blur:()=>{e.disabled||(g.value=!1)},forceUpdateKey:o,stateClass:h}},AV=["id","value","name","form","type","disabled","placeholder","required","autocomplete","readonly","min","max","step","list","aria-required","aria-invalid"],E1=Oe({__name:"BFormInput",props:nr({max:{default:void 0},min:{default:void 0},step:{default:void 0},type:{default:"text"},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazyFormatter:{type:Boolean,default:!1},list:{default:void 0},name:{default:void 0},placeholder:{default:void 0},plaintext:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:void 0},debounce:{default:0},debounceMaxWait:{default:NaN}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormInput"),[n,o]=Tr(e,"modelValue",{set:p=>w1(p,o)}),s=rr("_input"),{computedId:i,computedAriaInvalid:a,onInput:l,onChange:u,onBlur:c,stateClass:h,focus:f,blur:d,forceUpdateKey:g}=S1(r,s,n,o),v=J(()=>{const p=r.type==="range",m=r.type==="color";return[h.value,{"form-range":p,"form-control":m||!r.plaintext&&!p,"form-control-color":m,"form-control-plaintext":r.plaintext&&!p&&!m,[`form-control-${r.size}`]:!!r.size}]});return t({blur:d,element:s,focus:f}),(p,m)=>(ee(),_e("input",{id:C(i),ref:"_input",key:C(g),value:C(n),class:He(v.value),name:C(r).name||void 0,form:C(r).form||void 0,type:C(r).type,disabled:C(r).disabled,placeholder:C(r).placeholder,required:C(r).required||void 0,autocomplete:C(r).autocomplete||void 0,readonly:C(r).readonly||C(r).plaintext,min:C(r).min,max:C(r).max,step:C(r).step,list:C(r).type!=="password"?C(r).list:void 0,"aria-required":C(r).required||void 0,"aria-invalid":C(a),onInput:m[0]||(m[0]=(...b)=>C(l)&&C(l)(...b)),onChange:m[1]||(m[1]=(...b)=>C(u)&&C(u)(...b)),onBlur:m[2]||(m[2]=(...b)=>C(c)&&C(c)(...b))},null,42,AV))}}),PV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"NumberControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o),i=J(()=>r.value.type==="integer"?r.value.multipleOf||1:r.value.multipleOf||1e-22);return(a,l)=>(ee(),ye(C(E1),{modelValue:C(t)[C(o)],"onUpdate:modelValue":l[0]||(l[0]=u=>C(t)[C(o)]=u),modelModifiers:{number:!0},class:"vjf_input",id:C(s),step:i.value,min:C(r).minimum,max:C(r).maximum,type:C(hr)(C(n),"range",!1)?"range":"number"},null,8,["modelValue","id","step","min","max","type"]))}})},Symbol.toStringTag,{value:"Module"})),NV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"ObjectControl",setup(e){const{jsonElement:t,layoutElement:r,savePath:n}=Pr(),o=Yr(n),s=Me(void 0);function i(){const a={scopeBase:r.value.scope,layoutType:"Group",groupLabel:r.value.options?.label!==!1?Il(r).value:"",groupDescription:t.value.description},l=h0(t.value,a);s.value?JSON.stringify(s.value)!==JSON.stringify(l.layout)&&(s.value=l.layout):s.value=l.layout}return mt([()=>t.value,()=>r.value],i,{deep:!0}),Fn(i),(a,l)=>s.value?(ee(),ye(fa,{class:"vjf_object",id:C(o),key:C(r).scope,"layout-element":s.value},null,8,["id","layout-element"])):Le("",!0)}})},Symbol.toStringTag,{value:"Module"})),IV=["id","disabled","required","name","form","aria-label","aria-labelledby","value","aria-required"],DV=["for"],jV=Oe({inheritAttrs:!1,__name:"BFormRadio",props:nr({ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonGroup:{type:Boolean,default:!1},buttonVariant:{default:null},disabled:{type:Boolean,default:!1},form:{default:void 0},id:{default:void 0},inline:{type:Boolean,default:!1},name:{default:void 0},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:null},value:{type:[Boolean,String,Array,Object,Number,null],default:!0}},{modelValue:{type:[Boolean,String,Array,Object,Number,null],default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormRadio"),n=vn(),o=Tr(e,"modelValue"),s=Ut(()=>r.id,"form-check"),i=Tt(ny,null),a=rr("_input"),{focused:l}=go(a,{initialValue:r.autofocus}),u=J(()=>!yo(n.default)),c=J({get:()=>i?i.modelValue.value:o.value,set:m=>{if(m!==void 0){if(i!==null){i.modelValue.value=m;return}o.value=m}}}),h=J(()=>!!(r.name??i?.name.value)&&(r.required||i?.required.value)),f=J(()=>r.buttonGroup||(i?.buttons.value??!1)),d=J(()=>({plain:r.plain||(i?.plain.value??!1),button:r.button||(i?.buttons.value??!1),inline:r.inline||(i?.inline.value??!1),state:r.state||i?.state.value,reverse:r.reverse||(i?.reverse.value??!1),size:r.size??i?.size.value??"md",buttonVariant:r.buttonVariant??i?.buttonVariant.value??"secondary",hasDefaultSlot:u.value})),g=qE(d),v=zE(d),p=HE(d);return t({blur:()=>{l.value=!1},element:a,focus:()=>{l.value=!0}}),(m,b)=>(ee(),ye(Md,{skip:f.value,class:He(C(g))},{default:xe(()=>[Bn(Ne("input",ft({id:C(s)},m.$attrs,{ref:"_input","onUpdate:modelValue":b[0]||(b[0]=w=>c.value=w),class:C(v),type:"radio",disabled:C(r).disabled||C(i)?.disabled.value,required:h.value||void 0,name:C(r).name||C(i)?.name.value,form:C(r).form||C(i)?.form.value,"aria-label":C(r).ariaLabel,"aria-labelledby":C(r).ariaLabelledby,value:C(r).value,"aria-required":h.value||void 0}),null,16,IV),[[cC,c.value]]),u.value||C(r).plain===!1?(ee(),_e("label",{key:0,for:C(s),class:He(C(p))},[$e(m.$slots,"default")],10,DV)):Le("",!0)]),_:3},8,["skip","class"]))}}),RV=["id"],MV=Oe({__name:"BFormRadioGroup",props:nr({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},buttonVariant:{default:"secondary"},buttons:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},name:{default:void 0},options:{default:()=>[]},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},size:{default:"md"},stacked:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},textField:{default:"text"},validated:{type:Boolean,default:!1},valueField:{default:"value"}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormRadioGroup"),n=Tr(e,"modelValue"),o=Ut(()=>r.id,"radio"),s=Ut(()=>r.name,"checkbox"),i=rr("_element"),{focused:a}=go(i,{initialValue:r.autofocus});Wt(ny,{modelValue:n,buttonVariant:at(()=>r.buttonVariant),form:at(()=>r.form),name:s,buttons:at(()=>r.buttons),state:at(()=>r.state),plain:at(()=>r.plain),size:at(()=>r.size),inline:at(()=>!r.stacked),reverse:at(()=>r.reverse),required:at(()=>r.required),disabled:at(()=>r.disabled)});const l=J(()=>r.options.map(f=>typeof f=="string"||typeof f=="number"?{value:f,disabled:r.disabled,text:f.toString()}:{...f,value:f[r.valueField],disabled:f[r.disabledField],text:f[r.textField]})),u=J(()=>({required:r.required,ariaInvalid:r.ariaInvalid,state:r.state,validated:r.validated,buttons:r.buttons,stacked:r.stacked,size:r.size})),c=GE(u),h=WE(u);return t({blur:()=>{a.value=!1},focus:()=>{a.value=!0}}),(f,d)=>(ee(),_e("div",ft(C(c),{id:C(o),ref:"_element",role:"radiogroup",class:[C(h),"bv-no-focus-ring"],tabindex:"-1"}),[$e(f.$slots,"first"),(ee(!0),_e(Je,null,Gt(l.value,(g,v)=>(ee(),ye(jV,ft({key:v},{ref_for:!0},g),{default:xe(()=>[$e(f.$slots,"option",ft({ref_for:!0},g),()=>[We(Ae(g.text),1)])]),_:2},1040))),128)),$e(f.$slots,"default")],16,RV))}}),BV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"RadiobuttonControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o),i=J(()=>!Zt(r.value,"enum")||!Array.isArray(r.value.enum)?[]:r.value.enum.map(l=>{const u=(Fo(n.value,"enumTitles")&&n.value.options.enumTitles||{})[l]||l;return{value:l,text:u}})||[]),a=J(()=>{let l=hr(n.value,"stacked",!1);return fP(n.value.options)?{displayAs:"buttons",buttonVariant:hr(n.value,"buttonVariant","primary"),stacked:l}:{stacked:l}});return mt(()=>r.value.enum,()=>{r.value.enum&&!r.value.enum.includes(t.value[o])&&(t.value[o]=void 0)}),(l,u)=>(ee(),ye(C(MV),{modelValue:C(t)[C(o)],"onUpdate:modelValue":u[0]||(u[0]=c=>C(t)[C(o)]=c),options:i.value,class:"vjf_radioGroup w-100",id:C(s),buttons:a.value.displayAs==="buttons","button-variant":a.value.buttonVariant||"primary",stacked:a.value.stacked},null,8,["modelValue","options","id","buttons","button-variant","stacked"]))}})},Symbol.toStringTag,{value:"Module"})),VV=["value","disabled","selected"],x1=Oe({__name:"BFormSelectOption",props:{disabled:{type:Boolean,default:!1},value:{default:void 0}},setup(e){const t=nt(e,"BFormSelectOption"),r=Tt(iy,null),n=J(()=>r?r.modelValue.value===t.value:!1);return(o,s)=>(ee(),_e("option",{value:C(t).value,disabled:C(t).disabled,selected:n.value},[$e(o.$slots,"default")],8,VV))}}),O1=(e,t)=>{const r=s=>typeof s=="object"&&s!==null&&"options"in s,n=s=>{const i=st(t);if(typeof s=="string")return{value:s,text:s};if(typeof s=="number")return{value:s,text:`${s}`};if(s instanceof Date)return{value:s,text:s.toLocaleString()};const a=Di(s,i.valueField),l=Di(s,i.textField),u=Di(s,i.disabledField),c=i.optionsField?Di(s,i.optionsField):void 0;return c!==void 0?{label:Di(s,i.labelField)||l,options:c}:{...typeof s=="object"?s:void 0,value:a,text:l,disabled:u}},o=s=>s.map(i=>n(i));return{normalizedOptions:J(()=>o(st(e))),isComplex:r}},LV=["label"],FV=Oe({__name:"BFormSelectOptionGroup",props:{disabledField:{default:"disabled"},label:{default:void 0},options:{default:()=>[]},textField:{default:"text"},valueField:{default:"value"}},setup(e){const t=nt(e,"BFormSelectOptionGroup"),{normalizedOptions:r}=O1(()=>t.options,t);return(n,o)=>(ee(),_e("optgroup",{label:C(t).label},[$e(n.$slots,"first"),(ee(!0),_e(Je,null,Gt(C(r),(s,i)=>(ee(),ye(x1,ft({key:i,disabled:s.disabled,value:s.value},{ref_for:!0},n.$attrs),{default:xe(()=>[$e(n.$slots,"option",ft({ref_for:!0},s),()=>[We(Ae(s.text),1)])]),_:2},1040,["disabled","value"]))),128)),$e(n.$slots,"default")],8,LV))}}),UV=["id","name","form","multiple","size","disabled","required","aria-required","aria-invalid"],qV=Oe({__name:"BFormSelect",props:nr({ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledField:{default:"disabled"},form:{default:void 0},id:{default:void 0},labelField:{default:"label"},multiple:{type:Boolean,default:!1},name:{default:void 0},options:{default:()=>[]},optionsField:{default:"options"},plain:{type:Boolean,default:!1},required:{type:Boolean,default:!1},selectSize:{default:0},size:{default:"md"},state:{type:[Boolean,null],default:null},textField:{default:"text"},valueField:{default:"value"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormSelect"),n=Tr(e,"modelValue"),o=Ut(()=>r.id,"input"),s=Hn(()=>r.selectSize),i=Gs(()=>r.state),a=rr("_input"),{focused:l}=go(a,{initialValue:r.autofocus}),u=J(()=>[i.value,{"form-control":r.plain,[`form-control-${r.size}`]:r.size!=="md"&&r.plain,"form-select":!r.plain,[`form-select-${r.size}`]:r.size!=="md"&&!r.plain}]),c=J(()=>s.value||r.plain?s.value:void 0),h=vc(()=>r.ariaInvalid,()=>r.state),{normalizedOptions:f,isComplex:d}=O1(()=>r.options,r),g=J(()=>f.value),v=J({get:()=>n.value,set:p=>{n.value=p}});return Wt(iy,{modelValue:vr(v)}),t({blur:()=>{l.value=!1},element:a,focus:()=>{l.value=!0}}),(p,m)=>Bn((ee(),_e("select",{id:C(o),ref:"_input","onUpdate:modelValue":m[0]||(m[0]=b=>v.value=b),class:He(u.value),name:C(r).name,form:C(r).form||void 0,multiple:C(r).multiple||void 0,size:c.value,disabled:C(r).disabled,required:C(r).required||void 0,"aria-required":C(r).required||void 0,"aria-invalid":C(h)},[$e(p.$slots,"first"),(ee(!0),_e(Je,null,Gt(g.value,(b,w)=>(ee(),_e(Je,{key:w},[C(d)(b)?(ee(),ye(FV,{key:0,label:b.label,options:b.options,"value-field":C(r).valueField,"text-field":C(r).textField,"disabled-field":C(r).disabledField},null,8,["label","options","value-field","text-field","disabled-field"])):(ee(),ye(x1,{key:1,value:b.value,disabled:b.disabled},{default:xe(()=>[$e(p.$slots,"option",ft({ref_for:!0},b),()=>[We(Ae(b.text),1)])]),_:2},1032,["value","disabled"]))],64))),128)),$e(p.$slots,"default")],10,UV)),[[dC,v.value]])}}),zV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"SelectControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o),i=J(()=>r.value.enum?Fo(n.value,"enumTitles")?r.value.enum.map(a=>typeof a!="string"&&typeof a!="number"?a:{value:a,text:(n.value.options?.enumTitles)[a]||a}):r.value.enum:[]);return mt(()=>r.value.enum,()=>{r.value.enum&&!r.value.enum.includes(t.value[o])&&(t.value[o]=void 0)}),(a,l)=>(ee(),ye(C(qV),{modelValue:C(t)[C(o)],"onUpdate:modelValue":l[0]||(l[0]=u=>C(t)[C(o)]=u),options:i.value,class:"vjf_select",id:C(s)},null,8,["modelValue","options","id"]))}})},Symbol.toStringTag,{value:"Module"})),HV=(e,{maxRows:t,noAutoShrink:r,rows:n})=>{const o=Me(0),s=Hn(J(()=>st(t)||NaN),{method:"parseInt",nanToZero:!0}),i=Hn(n,{method:"parseInt",nanToZero:!0}),a=J(()=>Math.max(i.value||2,2)),l=J(()=>Math.max(a.value,s.value||0)),u=J(()=>a.value===l.value?a.value:null),c=async()=>{if(!e.value||!yy(e.value)){o.value=null;return}const f=getComputedStyle(e.value),d=Number.parseFloat(f.lineHeight)||1,g=(Number.parseFloat(f.borderTopWidth)||0)+(Number.parseFloat(f.borderBottomWidth)||0),v=(Number.parseFloat(f.paddingTop)||0)+(Number.parseFloat(f.paddingBottom)||0),p=g+v,m=d*a.value+p,b=e.value.style.height||f.height;o.value="auto",await Ft();const{scrollHeight:w}=e.value;o.value=b,await Ft();const S=Math.max((w-v)/d,2),_=Math.min(Math.max(S,a.value),l.value),E=Math.max(Math.ceil(_*d+p),m);if(st(r)&&(Number.parseFloat(b.toString())||0)>E){o.value=b;return}o.value=`${E}px`};Fn(c);const h=J(()=>({resize:"none",height:typeof o.value=="string"?o.value:o.value?`${o.value}px`:void 0}));return{onInput:c,computedStyles:h,computedRows:u}},GV=["id","name","form","value","disabled","placeholder","required","autocomplete","readonly","aria-required","aria-invalid","rows","wrap"],WV=Oe({__name:"BFormTextarea",props:nr({noResize:{type:Boolean,default:!1},rows:{default:2},wrap:{default:"soft"},noAutoShrink:{type:Boolean,default:!1},maxRows:{default:void 0},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazyFormatter:{type:Boolean,default:!1},list:{default:void 0},name:{default:void 0},placeholder:{default:void 0},plaintext:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{default:void 0},state:{type:[Boolean,null],default:void 0},debounce:{default:0},debounceMaxWait:{default:NaN}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=nt(e,"BFormTextarea"),[n,o]=Tr(e,"modelValue",{set:S=>w1(S,o)}),s=rr("_input"),{computedId:i,forceUpdateKey:a,computedAriaInvalid:l,onInput:u,stateClass:c,onChange:h,onBlur:f,focus:d,blur:g}=S1(r,s,n,o),v=J(()=>[c.value,r.plaintext?"form-control-plaintext":"form-control",{[`form-control-${r.size}`]:!!r.size}]),{computedStyles:p,onInput:m,computedRows:b}=HV(s,{maxRows:()=>r.maxRows,rows:()=>r.rows,noAutoShrink:()=>r.noAutoShrink}),w=J(()=>({resize:r.noResize?"none":void 0,...r.maxRows||r.noAutoShrink?p.value:void 0}));return t({blur:g,element:s,focus:d}),(S,_)=>(ee(),_e("textarea",{id:C(i),ref:"_input",key:C(a),class:He(v.value),name:C(r).name||void 0,form:C(r).form||void 0,value:C(n)??void 0,disabled:C(r).disabled,placeholder:C(r).placeholder,required:C(r).required||void 0,autocomplete:C(r).autocomplete||void 0,readonly:C(r).readonly||C(r).plaintext,"aria-required":C(r).required||void 0,"aria-invalid":C(l),rows:C(b)||2,style:so(w.value),wrap:C(r).wrap||void 0,onInput:_[0]||(_[0]=E=>{C(u)(E),C(m)()}),onChange:_[1]||(_[1]=(...E)=>C(h)&&C(h)(...E)),onBlur:_[2]||(_[2]=(...E)=>C(f)&&C(f)(...E))},null,46,GV))}}),KV=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"StringControl",setup(e){const{formData:t}=jt(Ar()),{jsonElement:r,layoutElement:n,savePath:o}=Pr(),s=Yr(o),i=J(()=>n.value.options||{}),a=J(()=>{const l=i.value.format||r.value.format?.replace("date-time","datetime-local");if(mP(l))return l});return(l,u)=>i.value.multi?(ee(),ye(C(WV),{key:0,modelValue:C(t)[C(o)],"onUpdate:modelValue":u[0]||(u[0]=c=>C(t)[C(o)]=c),class:"vjf_textarea",id:C(s),minlength:C(r).minLength,maxlength:C(r).maxLength},null,8,["modelValue","id","minlength","maxlength"])):(ee(),ye(C(E1),{key:1,modelValue:C(t)[C(o)],"onUpdate:modelValue":u[1]||(u[1]=c=>C(t)[C(o)]=c),class:"vjf_input",id:C(s),minlength:C(r).minLength,maxlength:C(r).maxLength,step:C(r).multipleOf,min:C(r).minimum,max:C(r).maximum,type:a.value,pattern:C(r).pattern},null,8,["modelValue","id","minlength","maxlength","step","min","max","type","pattern"]))}})},Symbol.toStringTag,{value:"Module"})),JV=["type","disabled","aria-label"],ZV=Oe({__name:"BCloseButton",props:{ariaLabel:{default:"Close"},disabled:{type:Boolean,default:!1},type:{default:"button"}},emits:["click"],setup(e,{emit:t}){const r=nt(e,"BCloseButton"),n=t;return(o,s)=>(ee(),_e("button",{type:C(r).type,class:"btn-close",disabled:C(r).disabled,"aria-label":C(r).ariaLabel,onClick:s[0]||(s[0]=i=>n("click",i))},null,8,JV))}}),YV=["id"],XV=Oe({__name:"BFormTag",props:{disabled:{type:Boolean,default:!1},id:{default:void 0},noRemove:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},removeLabel:{default:"Remove tag"},tag:{default:"span"},title:{default:void 0},variant:{default:"secondary"}},emits:["remove"],setup(e,{emit:t}){const r=nt(e,"BFormTag"),n=t,o=vn(),s=Ut(()=>r.id),i=J(()=>((o.default?.({})[0].children??"").toString()||r.title)??""),a=J(()=>`${s.value}taglabel__`),l=vo(r),u=J(()=>[l.value,{"rounded-pill":r.pill,disabled:r.disabled}]);return(c,h)=>(ee(),ye(dt(C(r).tag),{id:C(s),title:i.value,class:He(["badge b-form-tag d-inline-flex align-items-center mw-100",u.value]),"aria-labelledby":a.value},{default:xe(()=>[Ne("span",{id:a.value,class:"b-form-tag-content flex-grow-1 text-truncate"},[$e(c.$slots,"default",{},()=>[We(Ae(i.value),1)])],8,YV),!C(r).disabled&&!C(r).noRemove?(ee(),ye(ZV,{key:0,"aria-keyshortcuts":"Delete","aria-label":C(r).removeLabel,class:"b-form-tag-remove","aria-describedby":a.value,"aria-controls":C(r).id,onClick:h[0]||(h[0]=f=>n("remove",i.value))},null,8,["aria-label","aria-describedby","aria-controls"])):Le("",!0)]),_:3},8,["id","title","class","aria-labelledby"]))}}),QV=["id"],eL=["id","for","aria-live"],tL=["id","aria-live"],rL=["id"],nL=["aria-controls"],oL={role:"group",class:"d-flex"},sL=["id","disabled","value","type","placeholder","form","required","aria-required"],iL=["disabled"],aL=["aria-live"],lL={key:0,class:"d-block invalid-feedback"},uL={key:1,class:"form-text text-body-secondary"},cL={key:2,class:"form-text text-body-secondary"},dL=["name","value"],fL=Oe({__name:"BFormTags",props:nr({addButtonText:{default:"Add"},addButtonVariant:{default:"outline-secondary"},addOnChange:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},duplicateTagText:{default:"Duplicate tag(s)"},feedbackAriaLive:{default:"assertive"},form:{default:void 0},inputAttrs:{default:void 0},inputClass:{default:void 0},inputId:{default:void 0},inputType:{default:"text"},invalidTagText:{default:"Invalid tag(s)"},limit:{default:void 0},limitTagsText:{default:"Tag limit reached"},name:{default:void 0},noAddOnEnter:{type:Boolean,default:!1},noOuterFocus:{type:Boolean,default:!1},noTagRemove:{type:Boolean,default:!1},placeholder:{default:"Add tag..."},removeOnDelete:{type:Boolean,default:!1},required:{type:Boolean,default:!1},separator:{default:void 0},size:{default:"md"},state:{type:[Boolean,null],default:null},tagClass:{default:void 0},tagPills:{type:Boolean,default:!1},tagRemoveLabel:{default:void 0},tagRemovedLabel:{default:"Tag removed"},tagValidator:{type:Function,default:()=>!0},tagVariant:{default:"secondary"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:nr(["blur","focus","focusin","focusout","tag-state"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=nt(e,"BFormTags"),o=r,s=Tr(e,"modelValue"),i=Ut(),a=Hn(()=>n.limit??NaN),l=Gs(()=>n.state),u=rr("_input"),{focused:c}=go(u,{initialValue:n.autofocus}),h=J(()=>n.inputId||`${i.value}input__`),f=Me([...s.value]),d=Me(""),g=Me(s.value.length>0),v=Me(""),p=Me([]),m=Me([]),b=Me([]);DC(s,f,{direction:"ltr",transform:{ltr:ie=>[...ie]}});const w=J(()=>[l.value,{[`form-control-${n.size}`]:n.size!=="md",disabled:n.disabled,focus:c.value}]),S=J(()=>f.value.includes(d.value)),_=J(()=>d.value===""?!1:!n.tagValidator(d.value)),E=J(()=>f.value.length===a.value),O=J(()=>!_.value&&!S.value),P=ie=>{if(n.disabled){ie.target.blur();return}o("focusin",ie)},A=ie=>{n.disabled||n.noOuterFocus||(c.value=!0,o("focus",ie))},V=ie=>{c.value=!1,o("blur",ie)},D=ie=>{const ve=typeof ie=="string"?ie:ie.target.value;if(g.value=!1,n.separator?.includes(ve.charAt(0))&&ve.length>0){u.value&&(u.value.value="");return}if(d.value=ve,n.separator?.includes(ve.charAt(ve.length-1))){K(ve.slice(0,ve.length-1));return}p.value=n.tagValidator(ve)&&!S.value?[ve]:[],m.value=n.tagValidator(ve)?[]:[ve],b.value=S.value?[ve]:[],o("tag-state",p.value,m.value,b.value)},M=ie=>{n.addOnChange&&(D(ie),S.value||K(d.value))},z=ie=>{if((ie.key==="Enter"||ie.code==="NumpadEnter")&&!n.noAddOnEnter){K(d.value);return}(ie.key==="Backspace"||ie.key==="Delete")&&n.removeOnDelete&&d.value===""&&g.value&&f.value.length>0?he(f.value[f.value.length-1]):g.value=!0};hy(z,{target:u});const F=J(()=>{if(n.separator)return typeof n.separator=="string"?n.separator:n.separator.join("")}),ue=J(()=>{if(F.value)return new RegExp(`[${nT(F.value)}]+`)}),K=ie=>{ie=(ie??d.value).trim();const ve=ue.value?ie.split(ue.value).map(Y=>Y.trim()):[ie],ce=[];for(const Y of ve)if(!(Y===""||S.value||!n.tagValidator(Y))){if(a.value&&E.value)break;ce.push(Y)}const W=[...s.value,...ce];d.value="",g.value=!0,s.value=W,c.value=!0},he=ie=>{const ve=f.value.indexOf(ie?.toString()??"");ve!==-1&&(v.value=f.value.splice(ve,1).toString(),s.value=f.value)};return t({blur:()=>{c.value=!1},element:u,focus:()=>{c.value=!0},inputValue:d}),(ie,ve)=>(ee(),_e("div",{id:C(i),class:He(["b-form-tags form-control h-auto",w.value]),role:"group",tabindex:"-1",onFocusin:P,onFocusout:ve[1]||(ve[1]=ce=>o("focusout",ce))},[Ne("output",{id:`${C(i)}selected_tags__`,class:"visually-hidden",for:h.value,"aria-live":C(c)?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"},Ae(f.value.join(", ")),9,eL),Ne("div",{id:`${C(i)}removed_tags__`,role:"status","aria-live":C(c)?"assertive":"off","aria-atomic":"true",class:"visually-hidden"}," ("+Ae(C(n).tagRemovedLabel)+") "+Ae(v.value),9,tL),$e(ie.$slots,"default",{addButtonText:C(n).addButtonText,addButtonVariant:C(n).addButtonVariant,addTag:K,disableAddButton:O.value,disabled:C(n).disabled,duplicateTagText:C(n).duplicateTagText,duplicateTags:b.value,form:C(n).form,inputAttrs:{...C(n).inputAttrs,disabled:C(n).disabled,form:C(n).form,id:h.value,value:d.value},inputClass:C(n).inputClass,inputHandlers:{input:D,keydown:z,change:M},inputId:h.value,inputType:C(n).inputType,invalidTagText:C(n).invalidTagText,invalidTags:m.value,isDuplicate:S.value,isInvalid:_.value,isLimitReached:E.value,limitTagsText:C(n).limitTagsText,limit:C(a),noTagRemove:C(n).noTagRemove,placeholder:C(n).placeholder,removeTag:he,required:C(n).required,separator:C(n).separator,size:C(n).size,state:C(n).state,tagClass:C(n).tagClass,tagPills:C(n).tagPills,tagRemoveLabel:C(n).tagRemoveLabel,tagVariant:C(n).tagVariant,tags:f.value},()=>[Ne("ul",{id:`${C(i)}tag_list__`,class:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"},[(ee(!0),_e(Je,null,Gt(f.value,(ce,W)=>$e(ie.$slots,"tag",{key:W,tag:ce,tagClass:C(n).tagClass,tagVariant:C(n).tagVariant,tagPills:C(n).tagPills,removeTag:he},()=>[(ee(),ye(XV,{key:ce,class:He(C(n).tagClass),tag:"li",variant:C(n).tagVariant,pill:C(n).tagPills,onRemove:he},{default:xe(()=>[We(Ae(ce),1)]),_:2},1032,["class","variant","pill"]))])),128)),Ne("li",{role:"none","aria-live":"off",class:"b-from-tags-field flex-grow-1","aria-controls":`${C(i)}tag_list__`},[Ne("div",oL,[Ne("input",ft({id:h.value,ref:"_input",disabled:C(n).disabled,value:d.value,type:C(n).inputType,placeholder:C(n).placeholder,class:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",style:{outline:"currentcolor none 0px","min-width":"5rem"}},C(n).inputAttrs,{form:C(n).form,required:C(n).required||void 0,"aria-required":C(n).required||void 0,onInput:D,onChange:M,onFocus:A,onBlur:V}),null,16,sL),O.value?(ee(),_e("button",{key:0,type:"button",class:He(["btn b-form-tags-button py-0",[ie.inputClass,{[`btn-${C(n).addButtonVariant}`]:C(n).addButtonVariant!==null,"disabled invisible":d.value.length===0}]]),style:{"font-size":"90%"},disabled:C(n).disabled||d.value.length===0||E.value,onClick:ve[0]||(ve[0]=ce=>K(d.value))},[$e(ie.$slots,"add-button-text",{},()=>[We(Ae(C(n).addButtonText),1)])],10,iL)):Le("",!0)])],8,nL)],8,rL),Ne("div",{"aria-live":C(n).feedbackAriaLive,"aria-atomic":"true"},[_.value?(ee(),_e("div",lL,Ae(C(n).invalidTagText)+": "+Ae(d.value),1)):Le("",!0),S.value?(ee(),_e("small",uL,Ae(C(n).duplicateTagText)+": "+Ae(d.value),1)):Le("",!0),f.value.length===C(n).limit?(ee(),_e("small",cL,Ae(C(n).limitTagsText),1)):Le("",!0)],8,aL)]),C(n).name?(ee(!0),_e(Je,{key:0},Gt(f.value,(ce,W)=>(ee(),_e("input",{key:W,type:"hidden",name:C(n).name,value:ce},null,8,dL))),128)):Le("",!0)],42,QV))}}),pL=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"TagsControl",setup(e){const{formData:t}=jt(Ar()),{layoutElement:r,savePath:n}=Pr(),o=Yr(n);return(s,i)=>(ee(),ye(C(fL),{variant:"",modelValue:C(t)[C(n)],"onUpdate:modelValue":i[0]||(i[0]=a=>C(t)[C(n)]=a),separator:" ",id:C(o),class:"vjf_tags",tagPills:C(Fo)(C(r),"tags")&&C(r).options?.tags?.pills,tagVariant:C(Fo)(C(r),"tags")?C(r).options?.tags?.variant:void 0},null,8,["modelValue","id","tagPills","tagVariant"]))}})},Symbol.toStringTag,{value:"Module"})),yh=(e,t,r,n=r)=>t.reduce((o,s)=>(e[s]&&o.push([n,s.replace(r,""),e[s]].filter(i=>i&&typeof i!="boolean").join("-").toLowerCase()),o),[]),$1=Oe({__name:"BCol",props:{alignSelf:{default:void 0},tag:{default:"div"},order:{default:void 0},offset:{default:void 0},cols:{default:void 0},col:{type:Boolean,default:!1},offsetSm:{default:void 0},offsetMd:{default:void 0},offsetLg:{default:void 0},offsetXl:{default:void 0},offsetXxl:{default:void 0},orderSm:{default:void 0},orderMd:{default:void 0},orderLg:{default:void 0},orderXl:{default:void 0},orderXxl:{default:void 0},sm:{type:[Boolean,Number,String],default:!1},md:{type:[Boolean,Number,String],default:!1},lg:{type:[Boolean,Number,String],default:!1},xl:{type:[Boolean,Number,String],default:!1},xxl:{type:[Boolean,Number,String],default:!1}},setup(e){const t=nt(e,"BCol"),r=J(()=>[...yh({sm:t.sm,md:t.md,lg:t.lg,xl:t.xl,xxl:t.xxl},["sm","md","lg","xl","xxl"],"col"),...yh({order:t.order,orderLg:t.orderLg,orderMd:t.orderMd,orderSm:t.orderSm,orderXl:t.orderXl,orderXxl:t.orderXxl},["order","orderLg","orderMd","orderSm","orderXl","orderXxl"],"order"),...yh({offset:t.offset,offsetLg:t.offsetLg,offsetMd:t.offsetMd,offsetSm:t.offsetSm,offsetXl:t.offsetXl,offsetXxl:t.offsetXxl},["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXxl"],"offset")]),n=J(()=>[r.value,{col:t.col||!r.value.some(o=>o.startsWith("col-"))&&!t.cols,[`col-${t.cols}`]:t.cols!==void 0,[`offset-${t.offset}`]:t.offset!==void 0,[`order-${t.order}`]:t.order!==void 0,[`align-self-${t.alignSelf}`]:t.alignSelf!==void 0}]);return(o,s)=>(ee(),ye(dt(C(t).tag),{class:He(n.value)},{default:xe(()=>[$e(o.$slots,"default")]),_:3},8,["class"]))}}),hL=Oe({__name:"BFormInvalidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(e){const t=nt(e,"BFormInvalidFeedback"),r=J(()=>t.forceShow===!0||t.state===!1),n=J(()=>({"d-block":r.value,"invalid-feedback":!t.tooltip,"invalid-tooltip":t.tooltip}));return(o,s)=>(ee(),ye(dt(C(t).tag),{id:C(t).id,role:C(t).role,"aria-live":C(t).ariaLive,"aria-atomic":C(t).ariaLive?!0:void 0,class:He(n.value)},{default:xe(()=>[$e(o.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),mL=Oe({__name:"BFormRow",props:{tag:{default:"div"}},setup(e){const t=nt(e,"BFormRow");return(r,n)=>(ee(),ye(dt(C(t).tag),{class:"row d-flex flex-wrap"},{default:xe(()=>[$e(r.$slots,"default")]),_:3}))}}),gL=Oe({__name:"BFormText",props:{id:{default:void 0},inline:{type:Boolean,default:!1},tag:{default:"small"},text:{default:void 0},textVariant:{default:"body-secondary"}},setup(e){const t=nt(e,"BFormText"),r=vo(t),n=J(()=>[r.value,{"form-text":!t.inline}]);return(o,s)=>(ee(),ye(dt(C(t).tag),{id:C(t).id,class:He(n.value)},{default:xe(()=>[$e(o.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},8,["id","class"]))}}),yL=Oe({__name:"BFormValidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(e){const t=nt(e,"BFormInvalidFeedback"),r=J(()=>t.forceShow===!0||t.state===!0),n=J(()=>({"d-block":r.value,"valid-feedback":!t.tooltip,"valid-tooltip":t.tooltip}));return(o,s)=>(ee(),ye(dt(C(t).tag),{id:C(t).id,role:C(t).role,"aria-live":C(t).ariaLive,"aria-atomic":C(t).ariaLive?!0:void 0,class:He(n.value)},{default:xe(()=>[$e(o.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),C1=(e,t)=>t+(e?tT(e):""),vL={key:0,ref:"_content",class:"form-floating"},bL=Oe({__name:"BFormGroup",props:{contentCols:{type:[Boolean,String,Number],default:void 0},labelCols:{type:[Boolean,String,Number],default:void 0},labelAlign:{default:void 0},ariaInvalid:{type:[Boolean,String],default:void 0},description:{default:void 0},disabled:{type:Boolean,default:!1},feedbackAriaLive:{default:"assertive"},floating:{type:Boolean,default:!1},id:{default:void 0},invalidFeedback:{default:void 0},label:{default:void 0},labelClass:{default:void 0},labelFor:{default:void 0},labelSize:{default:void 0},labelVisuallyHidden:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},tooltip:{type:Boolean,default:!1},validFeedback:{default:void 0},validated:{type:Boolean,default:!1},contentColsSm:{type:[Boolean,String,Number],default:void 0},contentColsMd:{type:[Boolean,String,Number],default:void 0},contentColsLg:{type:[Boolean,String,Number],default:void 0},contentColsXl:{type:[Boolean,String,Number],default:void 0},labelColsSm:{type:[Boolean,String,Number],default:void 0},labelColsMd:{type:[Boolean,String,Number],default:void 0},labelColsLg:{type:[Boolean,String,Number],default:void 0},labelColsXl:{type:[Boolean,String,Number],default:void 0},labelAlignSm:{default:void 0},labelAlignMd:{default:void 0},labelAlignLg:{default:void 0},labelAlignXl:{default:void 0}},setup(e){const t=["input","select","textarea"],r=nt(e,"BFormGroup"),n=vn(),o=Rd(),s=Rd(),i=at(()=>r.state),a=Me([]);Wt(sy,D=>(a.value=[D],{state:i}));const l=J(()=>r.labelFor!==void 0?r.labelFor:a.value[0]&&a.value[0].value?a.value[0].value:null),u=["xs","sm","md","lg","xl"],c=(D,M)=>u.reduce((z,F)=>{const ue=C1(F==="xs"?"":F,`${M}Cols`);let K=D[ue];if(K=K===""?!0:K||!1,typeof K!="boolean"&&K!=="auto"){const he=Number.parseInt(K);K=Number.isNaN(he)?0:he,K=K>0?K:!1}return K&&(F==="xs"?z[typeof K=="boolean"?"col":"cols"]=K:z[F||(typeof K=="boolean"?"col":"cols")]=K),z},{}),h=rr("_content"),f=J(()=>c(r,"content")),d=J(()=>((D,M)=>u.reduce((z,F)=>{const ue=C1(F==="xs"?"":F,`${M}Align`),K=D[ue]||null;return K&&(F==="xs"?z.push(`text-${K}`):z.push(`text-${F}-${K}`)),z},[]))(r,"label")),g=J(()=>c(r,"label")),v=J(()=>Object.keys(f.value).length>0||Object.keys(g.value).length>0),p=Gs(i),m=vc(()=>r.ariaInvalid,i),b=D=>{if(l.value||h.value===null)return;const{target:M}=D,z=M?M.tagName:"";if([...t,"a","button","label"].indexOf(z)!==-1)return;const F=[...h.value.querySelectorAll(t.map(K=>`${K}:not([disabled])`).join())].filter(yy),[ue]=F;F.length===1&&ue instanceof HTMLElement&&HC(ue)},w=Ut(()=>r.id),S=Ut(void 0,"_BV_label_"),_=J(()=>l.value?"label":"legend"),E=J(()=>[v.value?"col-form-label":"form-label",{"bv-no-focus-ring":!l.value,"col-form-label":v.value||!l.value,"pt-0":!v.value&&!l.value,"d-block":!v.value&&l.value,[`col-form-label-${r.labelSize}`]:!!r.labelSize,"visually-hidden":r.labelVisuallyHidden},d.value,r.labelClass]),O=Ut(void 0,"_BV_feedback_invalid_"),P=Ut(void 0,"_BV_feedback_valid_"),A=Ut(void 0,"_BV_description_"),V=J(()=>!l.value);return(D,M)=>(ee(),ye(dt(V.value?"fieldset":"div"),{id:C(w),disabled:V.value?C(r).disabled:null,role:V.value?null:"group","aria-invalid":C(m),"aria-labelledby":V.value&&v.value?C(S):null,class:He([[C(p),{"was-validated":C(r).validated}],"b-form-group"])},{default:xe(()=>[je(C(s).define,null,{default:xe(()=>[n["invalid-feedback"]||C(r).invalidFeedback?(ee(),ye(hL,{key:0,id:C(O),"aria-live":C(r).feedbackAriaLive,state:i.value,tooltip:C(r).tooltip},{default:xe(()=>[$e(D.$slots,"invalid-feedback",{},()=>[We(Ae(C(r).invalidFeedback),1)])]),_:3},8,["id","aria-live","state","tooltip"])):Le("",!0),n["valid-feedback"]||C(r).validFeedback?(ee(),ye(yL,{key:1,id:C(P),"aria-live":C(r).feedbackAriaLive,state:i.value,tooltip:C(r).tooltip},{default:xe(()=>[$e(D.$slots,"valid-feedback",{},()=>[We(Ae(C(r).validFeedback),1)])]),_:3},8,["id","aria-live","state","tooltip"])):Le("",!0),n.description||C(r).description?(ee(),ye(gL,{key:2,id:C(A)},{default:xe(()=>[$e(D.$slots,"description",{},()=>[We(Ae(C(r).description),1)])]),_:3},8,["id"])):Le("",!0)]),_:3}),je(C(o).define,null,{default:xe(()=>[n.label||C(r).label||v.value?(ee(),_e(Je,{key:0},[v.value?(ee(),ye($1,io(ft({key:0},g.value)),{default:xe(()=>[(ee(),ye(dt(_.value),{id:C(S),for:l.value||null,tabindex:V.value?"-1":null,class:He(E.value),onClick:M[0]||(M[0]=z=>V.value?b:null)},{default:xe(()=>[$e(D.$slots,"label",{},()=>[We(Ae(C(r).label),1)])]),_:3},8,["id","for","tabindex","class"]))]),_:3},16)):(ee(),ye(dt(_.value),{key:1,id:C(S),for:l.value||null,tabindex:V.value?"-1":null,class:He(E.value),onClick:M[1]||(M[1]=z=>V.value?b:null)},{default:xe(()=>[$e(D.$slots,"label",{},()=>[We(Ae(C(r).label),1)])]),_:3},8,["id","for","tabindex","class"]))],64)):Le("",!0)]),_:3}),v.value?(ee(),ye(mL,{key:0},{default:xe(()=>[je(C(o).reuse),je($1,ft(f.value,{ref:"_content"}),{default:xe(()=>[$e(D.$slots,"default",{id:C(w),ariaDescribedby:null,descriptionId:C(A),labelId:C(S)}),je(C(s).reuse)]),_:3},16)]),_:3})):(ee(),_e(Je,{key:1},[C(r).floating&&!v.value?(ee(),_e("div",vL,[$e(D.$slots,"default",{id:C(w),ariaDescribedby:null,descriptionId:C(A),labelId:C(S)}),je(C(o).reuse),je(C(s).reuse)],512)):(ee(),_e(Je,{key:1},[je(C(o).reuse),$e(D.$slots,"default",{id:C(w),ariaDescribedby:null,descriptionId:C(A),labelId:C(S)}),je(C(s).reuse)],64))],64))]),_:3},8,["id","disabled","role","aria-invalid","aria-labelledby","class"]))}}),wL={key:0,class:"input-group-text"},_L={key:0,class:"input-group-text"},SL=Oe({__name:"BInputGroup",props:{append:{default:void 0},id:{default:void 0},prepend:{default:void 0},size:{default:"md"},tag:{default:"div"}},setup(e){Wt(bC,!0);const t=nt(e,"BInputGroup"),r=J(()=>({[`input-group-${t.size}`]:t.size!=="md"})),n=J(()=>!!t.append),o=J(()=>!!t.prepend);return(s,i)=>(ee(),ye(dt(C(t).tag),{id:C(t).id,class:He(["input-group",r.value]),role:"group"},{default:xe(()=>[$e(s.$slots,"prepend",{},()=>[o.value?(ee(),_e("span",wL,[Ne("span",null,Ae(C(t).prepend),1)])):Le("",!0)]),$e(s.$slots,"default"),$e(s.$slots,"append",{},()=>[n.value?(ee(),_e("span",_L,[Ne("span",null,Ae(C(t).append),1)])):Le("",!0)])]),_:3},8,["id","class"]))}}),T1=Oe({__name:"BInputGroupText",props:{tag:{default:"div"},text:{default:void 0}},setup(e){const t=nt(e,"BInputGroupText");return(r,n)=>(ee(),ye(dt(C(t).tag),{class:"input-group-text"},{default:xe(()=>[$e(r.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3}))}});function EL(e,t){return e.type==="object"||e.type==="array"&&!(xf(e)&&e.items.enum)&&!e.enum&&!(Fo(t,"tags")&&t.options.tags?.enabled)&&!(xf(e)&&e.items.type==="string"&&e.items.format==="uri"&&t.options?.displayAsSingleUploadField)}function xL(e,t){return J(()=>EL(e.value,t.value))}const OL={key:1},$L=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"FormFieldWrapper",props:{label:{},labelFor:{}},setup(e){const t=e,{jsonElement:r,layoutElement:n}=Pr(),o=xL(r,n),s=J(()=>r.value.type==="boolean"||n.value.options?.label===!1||o.value),i=vn(),a=J(()=>!!(i.prepend||i.append||n.value.options?.prepend||n.value.options?.append));return(l,u)=>(ee(),ye(C(bL),{"label-for":t.labelFor,description:C(o)?void 0:C(r).description},{label:xe(()=>[Bn(Ne("span",null,[We(Ae(t.label)+" ",1),je(gh)],512),[[ms,!s.value]])]),default:xe(()=>[a.value?(ee(),ye(C(SL),{key:0},{default:xe(()=>[$e(l.$slots,"prepend",{},()=>[C(n).options?.prepend?(ee(),ye(C(T1),{key:0},{default:xe(()=>[We(Ae(C(n).options.prepend),1)]),_:1})):Le("",!0)]),$e(l.$slots,"default"),$e(l.$slots,"append",{},()=>[C(n).options?.append?(ee(),ye(C(T1),{key:0},{default:xe(()=>[We(Ae(C(n).options.append),1)]),_:1})):Le("",!0)])]),_:3})):(ee(),_e("div",OL,[$e(l.$slots,"default")]))]),_:3},8,["label-for","description"]))}})},Symbol.toStringTag,{value:"Module"})),CL=e=>{const t=(r,n)=>{const o=n===null?"":`-${n}`;return r==="circle"?`rounded${o}-circle`:r==="pill"?`rounded${o}-pill`:typeof r=="number"||r==="0"||r==="1"||r==="2"||r==="3"||r==="4"||r==="5"?`rounded${o}-${r}`:r==="none"?`rounded${o}-0`:r==="sm"?`rounded${o}-1`:r==="lg"?`rounded${o}-5`:`rounded${o}`};return J(()=>{const r=st(e);return{[`${t(r.rounded,null)}`]:!!r.rounded,[`${t(r.roundedTop,"top")}`]:!!r.roundedTop,[`${t(r.roundedBottom,"bottom")}`]:!!r.roundedBottom,[`${t(r.roundedStart,"start")}`]:!!r.roundedStart,[`${t(r.roundedEnd,"end")}`]:!!r.roundedEnd}})},TL=Oe({__name:"BImg",props:{blank:{type:Boolean,default:!1},blankColor:{default:"transparent"},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},height:{default:void 0},tag:{default:"img"},lazy:{type:Boolean,default:!1},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},thumbnail:{type:Boolean,default:!1},width:{default:void 0},placement:{default:void 0},rounded:{type:[Boolean,String,Number],default:!1},roundedTop:{type:[Boolean,String,Number],default:void 0},roundedBottom:{type:[Boolean,String,Number],default:void 0},roundedStart:{type:[Boolean,String,Number],default:void 0},roundedEnd:{type:[Boolean,String,Number],default:void 0}},setup(e){const t=nt(e,"BImg"),r=Hn(()=>t.height??NaN),n=Hn(()=>t.width??NaN),o=CL(()=>({rounded:t.rounded,roundedTop:t.roundedTop,roundedBottom:t.roundedBottom,roundedStart:t.roundedStart,roundedEnd:t.roundedEnd})),s=J(()=>typeof t.srcset=="string"?t.srcset.split(",").filter(f=>f).join(","):Array.isArray(t.srcset)?t.srcset.filter(f=>f).join(","):void 0),i=J(()=>typeof t.sizes=="string"?t.sizes.split(",").filter(f=>f).join(","):Array.isArray(t.sizes)?t.sizes.filter(f=>f).join(","):void 0),a=J(()=>{const f=Number.isNaN(n.value)?void 0:n.value,d=Number.isNaN(r.value)?void 0:r.value;if(t.blank){if(f!==void 0&&d===void 0)return{height:f,width:f};if(f===void 0&&d!==void 0)return{height:d,width:d};if(f===void 0&&d===void 0)return{height:1,width:1}}return{width:f,height:d}}),l=J(()=>h(a.value.width,a.value.height,t.blankColor)),u=J(()=>({"float-start":t.placement==="start","float-end":t.placement==="end","mx-auto":t.placement==="center"})),c=J(()=>[o.value,u.value,{"img-thumbnail":t.thumbnail,"img-fluid":t.fluid||t.fluidGrow,"w-100":t.fluidGrow,"d-block":t.block||t.placement==="center"}]),h=(f,d,g)=>`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(` - - `)}`;return(f,d)=>(ee(),ye(dt(C(t).tag),{class:He([c.value,"b-img"]),src:C(t).blank?l.value:C(t).src,width:a.value.width||void 0,height:a.value.height||void 0,srcset:C(t).blank?void 0:s.value,sizes:C(t).blank?void 0:i.value,loading:C(t).lazy?"lazy":"eager"},null,8,["class","src","width","height","srcset","sizes","loading"]))}}),kL=Oe({__name:"BCardImg",props:{placement:{default:"top"},blank:{type:Boolean,default:void 0},blankColor:{default:void 0},block:{type:Boolean,default:void 0},fluid:{type:Boolean,default:void 0},fluidGrow:{type:Boolean,default:void 0},height:{default:void 0},tag:{},lazy:{type:Boolean,default:void 0},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},thumbnail:{type:Boolean,default:void 0},width:{default:void 0},rounded:{type:[Boolean,String,Number],default:void 0},roundedTop:{type:[Boolean,String,Number],default:void 0},roundedBottom:{type:[Boolean,String,Number],default:void 0},roundedStart:{type:[Boolean,String,Number],default:void 0},roundedEnd:{type:[Boolean,String,Number],default:void 0}},setup(e){const t=nt(e,"BCardImg"),r=J(()=>({"card-img-top":t.placement==="top","card-img-end":t.placement==="end","card-img-bottom":t.placement==="bottom","card-img-start":t.placement==="start","card-img":t.placement==="overlay"})),n=J(()=>YC(t,["placement"]));return(o,s)=>(ee(),ye(TL,ft(n.value,{class:r.value}),null,16,["class"]))}}),k1=Oe({__name:"BCardHeadFoot",props:{borderVariant:{default:null},tag:{default:"div"},text:{default:void 0},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=vo(e);return(r,n)=>(ee(),ye(dt(r.tag),{class:He(C(t))},{default:xe(()=>[$e(r.$slots,"default",{},()=>[We(Ae(r.text),1)])]),_:3},8,["class"]))}}),AL=Oe({__name:"BCardHeader",props:{borderVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const t=nt(e,"BCardHeader");return(r,n)=>(ee(),ye(k1,ft({class:"card-header"},C(t)),{default:xe(()=>[$e(r.$slots,"default")]),_:3},16))}}),PL=Oe({__name:"BCardTitle",props:{tag:{default:"h4"},text:{default:void 0}},setup(e){const t=nt(e,"BCardTitle");return(r,n)=>(ee(),ye(dt(C(t).tag),{class:"card-title"},{default:xe(()=>[$e(r.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3}))}}),NL=Oe({__name:"BCardSubtitle",props:{text:{default:void 0},tag:{default:"h6"},textVariant:{default:"body-secondary"}},setup(e){const t=nt(e,"BCardSubtitle"),r=vo(t);return(n,o)=>(ee(),ye(dt(C(t).tag),{class:He(["card-subtitle mb-2",C(r)])},{default:xe(()=>[$e(n.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},8,["class"]))}}),IL=Oe({__name:"BCardBody",props:{overlay:{type:Boolean,default:!1},subtitle:{default:void 0},subtitleTag:{default:"h4"},subtitleTextVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=nt(e,"BCardBody"),r=vn(),n=J(()=>!yo(r.title)),o=J(()=>!yo(r.subtitle)),s=vo(t),i=J(()=>[s.value,t.overlay?"card-img-overlay":"card-body"]);return(a,l)=>(ee(),ye(dt(C(t).tag),{class:He(i.value)},{default:xe(()=>[C(t).title||n.value?(ee(),ye(PL,{key:0,tag:C(t).titleTag},{default:xe(()=>[$e(a.$slots,"title",{},()=>[We(Ae(C(t).title),1)])]),_:3},8,["tag"])):Le("",!0),C(t).subtitle||o.value?(ee(),ye(NL,{key:1,tag:C(t).subtitleTag,"text-variant":C(t).subtitleTextVariant},{default:xe(()=>[$e(a.$slots,"subtitle",{},()=>[We(Ae(C(t).subtitle),1)])]),_:3},8,["tag","text-variant"])):Le("",!0),$e(a.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},8,["class"]))}}),DL=Oe({__name:"BCardFooter",props:{borderVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const t=nt(e,"BCardFooter");return(r,n)=>(ee(),ye(k1,ft({class:"card-footer"},C(t)),{default:xe(()=>[$e(r.$slots,"default",{},()=>[We(Ae(C(t).text),1)])]),_:3},16))}}),jL=Oe({__name:"BCard",props:{align:{default:void 0},bodyBgVariant:{default:void 0},bodyClass:{default:void 0},bodyTag:{default:"div"},bodyText:{default:""},bodyTextVariant:{default:void 0},borderVariant:{default:null},footer:{default:void 0},footerBgVariant:{default:void 0},footerBorderVariant:{default:void 0},footerClass:{default:void 0},footerTag:{default:"div"},footerTextVariant:{default:void 0},footerVariant:{default:null},header:{default:void 0},headerBgVariant:{default:void 0},headerBorderVariant:{default:void 0},headerClass:{default:void 0},headerTag:{default:"div"},headerTextVariant:{default:void 0},headerVariant:{default:null},imgAlt:{default:void 0},imgPlacement:{default:"top"},imgHeight:{default:void 0},imgSrc:{default:void 0},imgWidth:{default:void 0},noBody:{type:Boolean,default:!1},subtitle:{default:void 0},subtitleTag:{default:"h6"},subtitleTextVariant:{default:"body-secondary"},tag:{default:"div"},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=nt(e,"BCard"),r=vn(),n=J(()=>!yo(r.header)),o=J(()=>!yo(r.footer)),s=vo(t),i=J(()=>[s.value,{[`text-${t.align}`]:t.align!==void 0,"flex-row":t.imgPlacement==="start","flex-row-reverse":t.imgPlacement==="end"}]),a=J(()=>({src:t.imgSrc,alt:t.imgAlt,height:t.imgHeight,width:t.imgWidth,placement:t.imgPlacement})),l=Rd();return(u,c)=>(ee(),ye(dt(C(t).tag),{class:He(["card",i.value])},{default:xe(()=>[je(C(l).define,null,{default:xe(()=>[$e(u.$slots,"img",{},()=>[C(t).imgSrc?(ee(),ye(kL,io(ft({key:0},a.value)),null,16)):Le("",!0)])]),_:3}),C(t).imgPlacement!=="bottom"?(ee(),ye(C(l).reuse,{key:0})):Le("",!0),C(t).header||n.value?(ee(),ye(AL,{key:1,"bg-variant":C(t).headerBgVariant,variant:C(t).headerVariant,"border-variant":C(t).headerBorderVariant,tag:C(t).headerTag,"text-variant":C(t).headerTextVariant,class:He(C(t).headerClass)},{default:xe(()=>[$e(u.$slots,"header",{},()=>[We(Ae(C(t).header),1)])]),_:3},8,["bg-variant","variant","border-variant","tag","text-variant","class"])):Le("",!0),C(t).noBody?$e(u.$slots,"default",{key:3},()=>[We(Ae(C(t).bodyText),1)]):(ee(),ye(IL,{key:2,overlay:C(t).imgPlacement==="overlay","bg-variant":C(t).bodyBgVariant,tag:C(t).bodyTag,"text-variant":C(t).bodyTextVariant,subtitle:C(t).subtitle,"subtitle-tag":C(t).subtitleTag,"subtitle-text-variant":C(t).subtitleTextVariant,title:C(t).title,"title-tag":C(t).titleTag,class:He(C(t).bodyClass)},{default:xe(()=>[$e(u.$slots,"default",{},()=>[We(Ae(C(t).bodyText),1)])]),_:3},8,["overlay","bg-variant","tag","text-variant","subtitle","subtitle-tag","subtitle-text-variant","title","title-tag","class"])),C(t).footer||o.value?(ee(),ye(DL,{key:4,"bg-variant":C(t).footerBgVariant,"border-variant":C(t).footerBorderVariant,variant:C(t).footerVariant,tag:C(t).footerTag,"text-variant":C(t).footerTextVariant,class:He(C(t).footerClass)},{default:xe(()=>[$e(u.$slots,"footer",{},()=>[We(Ae(C(t).footer),1)])]),_:3},8,["bg-variant","border-variant","variant","tag","text-variant","class"])):Le("",!0),C(t).imgPlacement==="bottom"?(ee(),ye(C(l).reuse,{key:5})):Le("",!0)]),_:3},8,["class"]))}}),A1=Oe({__name:"ErrorViewer",props:{header:{}},setup(e){const t=e;return(r,n)=>(ee(),ye(C(jL),{class:"vjw_errorViewer","header-bg-variant":"danger","header-text-variant":"white",header:t.header,"header-border-variant":"danger","border-variant":"danger"},{default:xe(()=>[$e(r.$slots,"default")]),_:3},8,["header"]))}}),RL=Object.freeze(Object.defineProperty({__proto__:null,default:A1},Symbol.toStringTag,{value:"Module"})),ML={key:0},BL={key:1},VL=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"VJFButton",props:{layoutElement:{},waiting:{type:Boolean}},setup(e){const t=e,{currentWizardPage:r,uiSchema:n,wizardValidateFunctions:o,formStateWasValidated:s}=jt(Zr()),i=Wi(t.layoutElement),a=J(()=>{if(["submit","reset","button"].includes(t.layoutElement.buttonType))return t.layoutElement.buttonType}),l=J(()=>n.value?.type!=="Wizard"?Number.MAX_SAFE_INTEGER:n.value.pages.length-1);function u(){if(t.layoutElement.buttonType==="previousWizardPage")r.value=Math.max(r.value-1,0);else if(t.layoutElement.buttonType==="nextWizardPage"){if(o.value[r.value]?.())s.value=!1;else return;r.value=Math.min(r.value+1,l.value)}}return(c,h)=>(ee(),ye(C($y),{variant:e.layoutElement.options?.variant,type:a.value,class:He(C(i)),onClick:u},{default:xe(()=>[e.waiting?(ee(),_e("span",BL,[je(C(_y),{small:""})])):(ee(),_e("span",ML,Ae(e.layoutElement.text),1))]),_:1},8,["variant","type","class"]))}})},Symbol.toStringTag,{value:"Module"})),LL=Oe({__name:"BButtonGroup",props:{ariaLabel:{default:"Group"},size:{default:"md"},tag:{default:"div"},vertical:{type:Boolean,default:!1}},setup(e){Wt(wC,!0);const t=nt(e,"BButtonGroup"),r=J(()=>({"btn-group":!t.vertical,[`btn-group-${t.size}`]:t.size!=="md","btn-group-vertical":t.vertical}));return(n,o)=>(ee(),ye(dt(C(t).tag),{class:He(r.value),role:"group","aria-label":C(t).ariaLabel},{default:xe(()=>[$e(n.$slots,"default")]),_:3},8,["class","aria-label"]))}}),FL=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"ButtonGroup",props:{layoutElement:{}},setup(e){return(t,r)=>(ee(),ye(C(LL),{class:"w-100",vertical:e.layoutElement.options?.vertical},{default:xe(()=>[(ee(!0),_e(Je,null,Gt(e.layoutElement.buttons,n=>(ee(),ye(kw,{key:n.text,layoutElement:n},null,8,["layoutElement"]))),128))]),_:1},8,["vertical"]))}})},Symbol.toStringTag,{value:"Module"})),UL=Object.freeze(Object.defineProperty({__proto__:null,default:gh},Symbol.toStringTag,{value:"Module"})),qL={class:"text-muted"},zL=Object.freeze(Object.defineProperty({__proto__:null,default:Oe({__name:"DefaultControl",setup(e){const{jsonElement:t}=Pr();return(r,n)=>(ee(),ye(A1,{header:"Unsupported"},{default:xe(()=>[n[0]||(n[0]=Ne("p",null,"This field type is not supported!",-1)),Ne("p",qL,Ae(C(t)),1)]),_:1}))}})},Symbol.toStringTag,{value:"Module"}))}); + */function Hw(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function cn(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function q8(e,t){if(e==null)return{};var r=F8(e,t),n,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var V8="1.14.0";function Fn(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var qn=Fn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ia=Fn(/Edge/i),Ww=Fn(/firefox/i),Da=Fn(/safari/i)&&!Fn(/chrome/i)&&!Fn(/android/i),Gw=Fn(/iP(ad|od|hone)/i),U8=Fn(/chrome/i)&&Fn(/android/i),Jw={capture:!1,passive:!1};function Qe(e,t,r){e.addEventListener(t,r,!qn&&Jw)}function We(e,t,r){e.removeEventListener(t,r,!qn&&Jw)}function Dl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function z8(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function fn(e,t,r,n){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&Dl(e,t):Dl(e,t))||n&&e===r)return e;if(e===r)break}while(e=z8(e))}return null}var Kw=/\s+/g;function hr(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var n=(" "+e.className+" ").replace(Kw," ").replace(" "+t+" "," ");e.className=(n+(r?" "+t:"")).replace(Kw," ")}}function Oe(e,t,r){var n=e&&e.style;if(n){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=r+(typeof r=="string"?"":"px")}}function Ps(e,t){var r="";if(typeof e=="string")r=e;else do{var n=Oe(e,"transform");n&&n!=="none"&&(r=n+" "+r)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function Zw(e,t,r){if(e){var n=e.getElementsByTagName(t),i=0,s=n.length;if(r)for(;i=s,!a)return n;if(n===dn())break;n=fi(n,!1)}return!1}function Ns(e,t,r,n){for(var i=0,s=0,a=e.children;s2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,s=q8(n,X8);Ba.pluginEvent.bind(Ce)(t,r,cn({dragEl:ue,parentEl:dt,ghostEl:Ie,rootEl:ut,nextEl:Mi,lastDownEl:Ml,cloneEl:ht,cloneHidden:di,dragStarted:La,putSortable:Nt,activeSortable:Ce.active,originalEvent:i,oldIndex:Rs,oldDraggableIndex:ja,newIndex:mr,newDraggableIndex:hi,hideGhostForTarget:u2,unhideGhostForTarget:l2,cloneNowHidden:function(){di=!0},cloneNowShown:function(){di=!1},dispatchSortableEvent:function(o){Xt({sortable:r,name:o,originalEvent:i})}},s))};function Xt(e){Y8(cn({putSortable:Nt,cloneEl:ht,targetEl:ue,rootEl:ut,oldIndex:Rs,oldDraggableIndex:ja,newIndex:mr,newDraggableIndex:hi},e))}var ue,dt,Ie,ut,Mi,Ml,ht,di,Rs,mr,ja,hi,Bl,Nt,Is=!1,jl=!1,Ll=[],Bi,Wr,mh,gh,r2,n2,La,Ds,Fa,qa=!1,Fl=!1,ql,Vt,vh=[],yh=!1,Vl=[],Ul=typeof document<"u",zl=Gw,i2=Ia||qn?"cssFloat":"float",Q8=Ul&&!U8&&!Gw&&"draggable"in document.createElement("div"),s2=function(){if(Ul){if(qn)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),a2=function(t,r){var n=Oe(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=Ns(t,0,r),a=Ns(t,1,r),o=s&&Oe(s),u=a&&Oe(a),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+bt(s).width,c=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+bt(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&o.float&&o.float!=="none"){var h=o.float==="left"?"left":"right";return a&&(u.clear==="both"||u.clear===h)?"vertical":"horizontal"}return s&&(o.display==="block"||o.display==="flex"||o.display==="table"||o.display==="grid"||l>=i&&n[i2]==="none"||a&&n[i2]==="none"&&l+c>i)?"vertical":"horizontal"},eP=function(t,r,n){var i=n?t.left:t.top,s=n?t.right:t.bottom,a=n?t.width:t.height,o=n?r.left:r.top,u=n?r.right:r.bottom,l=n?r.width:r.height;return i===o||s===u||i+a/2===o+l/2},tP=function(t,r){var n;return Ll.some(function(i){var s=i[pr].options.emptyInsertThreshold;if(!(!s||dh(i))){var a=bt(i),o=t>=a.left-s&&t<=a.right+s,u=r>=a.top-s&&r<=a.bottom+s;if(o&&u)return n=i}}),n},o2=function(t){function r(s,a){return function(o,u,l,c){var h=o.options.group.name&&u.options.group.name&&o.options.group.name===u.options.group.name;if(s==null&&(a||h))return!0;if(s==null||s===!1)return!1;if(a&&s==="clone")return s;if(typeof s=="function")return r(s(o,u,l,c),a)(o,u,l,c);var d=(a?o:u).options.group.name;return s===!0||typeof s=="string"&&s===d||s.join&&s.indexOf(d)>-1}}var n={},i=t.group;(!i||Il(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=r(i.pull,!0),n.checkPut=r(i.put),n.revertClone=i.revertClone,t.group=n},u2=function(){!s2&&Ie&&Oe(Ie,"display","none")},l2=function(){!s2&&Ie&&Oe(Ie,"display","")};Ul&&document.addEventListener("click",function(e){if(jl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),jl=!1,!1},!0);var ji=function(t){if(ue){t=t.touches?t.touches[0]:t;var r=tP(t.clientX,t.clientY);if(r){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=r,n.preventDefault=void 0,n.stopPropagation=void 0,r[pr]._onDragOver(n)}}},rP=function(t){ue&&ue.parentNode[pr]._isOutsideThisEl(t.target)};function Ce(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ln({},t),e[pr]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return a2(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,o){a.setData("Text",o.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ce.supportPointer!==!1&&"PointerEvent"in window&&!Da,emptyInsertThreshold:5};Ba.initializePlugins(this,e,r);for(var n in r)!(n in t)&&(t[n]=r[n]);o2(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:Q8,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Qe(e,"pointerdown",this._onTapStart):(Qe(e,"mousedown",this._onTapStart),Qe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Qe(e,"dragover",this),Qe(e,"dragenter",this)),Ll.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ln(this,J8())}Ce.prototype={constructor:Ce,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Ds=null)},_getDirection:function(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,ue):this.options.direction},_onTapStart:function(t){if(t.cancelable){var r=this,n=this.el,i=this.options,s=i.preventOnFilter,a=t.type,o=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(o||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,c=i.filter;if(cP(n),!ue&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Da&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=fn(u,i.draggable,n,!1),!(u&&u.animated)&&Ml!==u)){if(Rs=xr(u),ja=xr(u,i.draggable),typeof c=="function"){if(c.call(this,t,u,this)){Xt({sortable:r,rootEl:l,name:"filter",targetEl:u,toEl:n,fromEl:n}),nr("filter",r,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(h){if(h=fn(l,h.trim(),n,!1),h)return Xt({sortable:r,rootEl:h,name:"filter",targetEl:u,fromEl:n,toEl:n}),nr("filter",r,{evt:t}),!0}),c)){s&&t.cancelable&&t.preventDefault();return}i.handle&&!fn(l,i.handle,n,!1)||this._prepareDragStart(t,o,u)}}},_prepareDragStart:function(t,r,n){var i=this,s=i.el,a=i.options,o=s.ownerDocument,u;if(n&&!ue&&n.parentNode===s){var l=bt(n);if(ut=s,ue=n,dt=ue.parentNode,Mi=ue.nextSibling,Ml=n,Bl=a.group,Ce.dragged=ue,Bi={target:ue,clientX:(r||t).clientX,clientY:(r||t).clientY},r2=Bi.clientX-l.left,n2=Bi.clientY-l.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,ue.style["will-change"]="all",u=function(){if(nr("delayEnded",i,{evt:t}),Ce.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Ww&&i.nativeDraggable&&(ue.draggable=!0),i._triggerDragStart(t,r),Xt({sortable:i,name:"choose",originalEvent:t}),hr(ue,a.chosenClass,!0)},a.ignore.split(",").forEach(function(c){Zw(ue,c.trim(),bh)}),Qe(o,"dragover",ji),Qe(o,"mousemove",ji),Qe(o,"touchmove",ji),Qe(o,"mouseup",i._onDrop),Qe(o,"touchend",i._onDrop),Qe(o,"touchcancel",i._onDrop),Ww&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ue.draggable=!0),nr("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(Ia||qn))){if(Ce.eventCanceled){this._onDrop();return}Qe(o,"mouseup",i._disableDelayedDrag),Qe(o,"touchend",i._disableDelayedDrag),Qe(o,"touchcancel",i._disableDelayedDrag),Qe(o,"mousemove",i._delayedDragTouchMoveHandler),Qe(o,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&Qe(o,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,a.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ue&&bh(ue),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;We(t,"mouseup",this._disableDelayedDrag),We(t,"touchend",this._disableDelayedDrag),We(t,"touchcancel",this._disableDelayedDrag),We(t,"mousemove",this._delayedDragTouchMoveHandler),We(t,"touchmove",this._delayedDragTouchMoveHandler),We(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?Qe(document,"pointermove",this._onTouchMove):r?Qe(document,"touchmove",this._onTouchMove):Qe(document,"mousemove",this._onTouchMove):(Qe(ue,"dragend",this),Qe(ut,"dragstart",this._onDragStart));try{document.selection?Wl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,r){if(Is=!1,ut&&ue){nr("dragStarted",this,{evt:r}),this.nativeDraggable&&Qe(document,"dragover",rP);var n=this.options;!t&&hr(ue,n.dragClass,!1),hr(ue,n.ghostClass,!0),Ce.active=this,t&&this._appendGhost(),Xt({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(Wr){this._lastX=Wr.clientX,this._lastY=Wr.clientY,u2();for(var t=document.elementFromPoint(Wr.clientX,Wr.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Wr.clientX,Wr.clientY),t!==r);)r=t;if(ue.parentNode[pr]._isOutsideThisEl(t),r)do{if(r[pr]){var n=void 0;if(n=r[pr]._onDragOver({clientX:Wr.clientX,clientY:Wr.clientY,target:t,rootEl:r}),n&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);l2()}},_onTouchMove:function(t){if(Bi){var r=this.options,n=r.fallbackTolerance,i=r.fallbackOffset,s=t.touches?t.touches[0]:t,a=Ie&&Ps(Ie,!0),o=Ie&&a&&a.a,u=Ie&&a&&a.d,l=zl&&Vt&&Xw(Vt),c=(s.clientX-Bi.clientX+i.x)/(o||1)+(l?l[0]-vh[0]:0)/(o||1),h=(s.clientY-Bi.clientY+i.y)/(u||1)+(l?l[1]-vh[1]:0)/(u||1);if(!Ce.active&&!Is){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))=0&&(Xt({rootEl:dt,name:"add",toEl:dt,fromEl:ut,originalEvent:t}),Xt({sortable:this,name:"remove",toEl:dt,originalEvent:t}),Xt({rootEl:dt,name:"sort",toEl:dt,fromEl:ut,originalEvent:t}),Xt({sortable:this,name:"sort",toEl:dt,originalEvent:t})),Nt&&Nt.save()):mr!==Rs&&mr>=0&&(Xt({sortable:this,name:"update",toEl:dt,originalEvent:t}),Xt({sortable:this,name:"sort",toEl:dt,originalEvent:t})),Ce.active&&((mr==null||mr===-1)&&(mr=Rs,hi=ja),Xt({sortable:this,name:"end",toEl:dt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){nr("nulling",this),ut=ue=dt=Ie=Mi=ht=Ml=di=Bi=Wr=La=mr=hi=Rs=ja=Ds=Fa=Nt=Bl=Ce.dragged=Ce.ghost=Ce.clone=Ce.active=null,Vl.forEach(function(t){t.checked=!0}),Vl.length=mh=gh=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ue&&(this._onDragOver(t),nP(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],r,n=this.el.children,i=0,s=n.length,a=this.options;in.right+i||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+i}function oP(e,t,r,n,i,s,a,o){var u=n?e.clientY:e.clientX,l=n?r.height:r.width,c=n?r.top:r.left,h=n?r.bottom:r.right,d=!1;if(!a){if(o&&qlc+l*s/2:uh-ql)return-Fa}else if(u>c+l*(1-i)/2&&uh-l*s/2)?u>c+l/2?1:-1:0}function uP(e){return xr(ue)e.replace(mP,(t,r)=>r.toUpperCase())),h2=["Start","Add","Remove","Update","End"],p2=["Choose","Unchoose","Sort","Filter","Clone"],m2=["Move"],vP=[m2,h2,p2].flatMap(e=>e).map(e=>`on${e}`),Ah={manage:m2,manageAndEmit:h2,emit:p2};function yP(e){return vP.indexOf(e)!==-1}const bP=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function wP(e){return bP.includes(e)}function _P(e){return["transition-group","TransitionGroup"].includes(e)}function g2(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function v2(e){return e.reduce((t,[r,n])=>(t[r]=n,t),{})}function SP({$attrs:e,componentData:t={}}){return{...v2(Object.entries(e).filter(([n,i])=>g2(n))),...t}}function EP({$attrs:e,callBackBuilder:t}){const r=v2(y2(e));Object.entries(t).forEach(([i,s])=>{Ah[i].forEach(a=>{r[`on${a}`]=s(a)})});const n=`[data-draggable]${r.draggable||""}`;return{...r,draggable:n}}function y2(e){return Object.entries(e).filter(([t,r])=>!g2(t)).map(([t,r])=>[gP(t),r]).filter(([t,r])=>!yP(t))}const b2=({el:e})=>e,xP=(e,t)=>e.__draggable_context=t,w2=e=>e.__draggable_context;class TP{constructor({nodes:{header:t,default:r,footer:n},root:i,realList:s}){this.defaultNodes=r,this.children=[...t,...r,...n],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=s}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(t,r){const{tag:n,children:i,_isRootComponent:s}=this;return t(n,r,s?{default:()=>i}:i)}updated(){const{defaultNodes:t,realList:r}=this;t.forEach((n,i)=>{xP(b2(n),{element:r[i],index:i})})}getUnderlyingVm(t){return w2(t)}getVmIndexFromDomIndex(t,r){const{defaultNodes:n}=this,{length:i}=n,s=r.children,a=s.item(t);if(a===null)return i;const o=w2(a);if(o)return o.index;if(i===0)return 0;const u=b2(n[0]),l=[...s].findIndex(c=>c===u);return t$P(e,u)),{item:a}=e;if(!a)throw new Error("draggable element must have an item slot");const o=n.flatMap((u,l)=>a({element:u,index:l}).map(c=>(c.key=r(u),c.props={...c.props||{},"data-draggable":!0},c)));if(o.length!==n.length)throw new Error("Item slot must have only one child");return{header:i,footer:s,default:o}}function CP(e){const t=_P(e),r=!wP(e)&&!t;return{transition:t,externalComponent:r,tag:r?ZS(e):t?oE:e}}function AP({$slots:e,tag:t,realList:r,getKey:n}){const i=OP({$slots:e,realList:r,getKey:n}),s=CP(t);return new TP({nodes:i,root:s,realList:r})}function _2(e,t){_t(()=>this.$emit(e.toLowerCase(),t))}function S2(e){return(t,r)=>{if(this.realList!==null)return this[`onDrag${e}`](t,r)}}function PP(e){const t=S2.call(this,e);return(r,n)=>{t.call(this,r,n),_2.call(this,e,r)}}let Ph=null;const NP={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},kP=["update:modelValue","change",...[...Ah.manageAndEmit,...Ah.emit].map(e=>e.toLowerCase())],RP=ce({name:"draggable",inheritAttrs:!1,props:NP,emits:kP,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:e,$attrs:t,tag:r,componentData:n,realList:i,getKey:s}=this,a=AP({$slots:e,tag:r,realList:i,getKey:s});this.componentStructure=a;const o=SP({$attrs:t,componentData:n});return a.render(ua,o)}catch(e){return this.error=!0,ua("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&hP.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:t,componentStructure:r}=this;r.updated();const n=EP({$attrs:e,callBackBuilder:{manageAndEmit:s=>PP.call(this,s),emit:s=>_2.bind(this,s),manage:s=>S2.call(this,s)}}),i=t.nodeType===1?t:t.parentElement;this._sortable=new Ce(i,n),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:t=>t[e]}},watch:{$attrs:{handler(e){const{_sortable:t}=this;t&&y2(e).forEach(([r,n])=>{t.option(r,n)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent(e){return e.__draggable_component__},emitChanges(e){_t(()=>this.$emit("change",e))},alterList(e){if(this.list){e(this.list);return}const t=[...this.modelValue];e(t),this.$emit("update:modelValue",t)},spliceList(){const e=t=>t.splice(...arguments);this.alterList(e)},updatePosition(e,t){const r=n=>n.splice(t,0,n.splice(e,1)[0]);this.alterList(r)},getRelatedContextFromMoveEvent({to:e,related:t}){const r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};const n=r.realList,i={list:n,component:r};return e!==t&&n?{...r.getUnderlyingVm(t)||{},...i}:i},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),Ph=e.item},onDragAdd(e){const t=e.item._underlying_vm_;if(t===void 0)return;Ch(e.item);const r=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(r,0,t);const n={element:t,newIndex:r};this.emitChanges({added:n})},onDragRemove(e){if(d2(this.$el,e.item,e.oldIndex),e.pullMode==="clone"){Ch(e.clone);return}const{index:t,element:r}=this.context;this.spliceList(t,1);const n={element:r,oldIndex:t};this.emitChanges({removed:n})},onDragUpdate(e){Ch(e.item),d2(e.from,e.item,e.oldIndex);const t=this.context.index,r=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,r);const n={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:n})},computeFutureIndex(e,t){if(!e.element)return 0;const r=[...t.to.children].filter(a=>a.style.display!=="none"),n=r.indexOf(t.related),i=e.component.getVmIndexFromDomIndex(n);return r.indexOf(Ph)!==-1||!t.willInsertAfter?i:i+1},onDragMove(e,t){const{move:r,realList:n}=this;if(!r||!n)return!0;const i=this.getRelatedContextFromMoveEvent(e),s=this.computeFutureIndex(i,e),a={...this.context,futureIndex:s},o={...e,relatedContext:i,draggedContext:a};return r(o,t)},onDragEnd(){Ph=null}}}),IP=ce({__name:"ArrayButton",props:{disabled:{type:Boolean},ariaLabel:{},variant:{}},emits:["click"],setup(e,{emit:t}){const r=e,n=t;return(i,s)=>(V(),ie(x(zm),{variant:r.variant,onClick:s[0]||(s[0]=a=>n("click")),disabled:r.disabled,"aria-label":r.ariaLabel},{default:le(()=>[he(i.$slots,"default")]),_:3},8,["variant","disabled","aria-label"]))}}),DP=ce({__name:"showOnWrapper",props:{visible:{type:Boolean}},setup(e){return(t,r)=>(V(),ie(x(T6),{class:"vjf_showOnWrapper",visible:e.visible},{default:le(()=>[he(t.$slots,"default")]),_:3},8,["visible"]))}}),MP={class:"wrappers-parent"},BP={class:"stepWrapper"},jP={class:"d-flex justify-content-between"},LP=["disabled","onClick"],FP={class:"stepWrapperBg"},qP={class:"d-flex justify-content-between"},VP=ce({__name:"WizardProgress",props:{numberOfPages:{},pageNames:{},currentStep:{}},emits:["update:currentStep"],setup(e,{emit:t}){const r=e,n=t;function i(s){const a=s-1;ar.currentStep,()=>{document.querySelectorAll(".wrappers-parent").forEach(s=>{const a=s.querySelector(".custom-wizard-progress"),o=s.querySelectorAll(".stepWrapper .stepNumber");if(!a||o.length<2)return;const u=o[0],l=o[o.length-1];if(!u||!l)return;const c=u.offsetLeft+u.offsetWidth/2,h=l.offsetLeft+l.offsetWidth/2-c,d=r.currentStep/(o.length-1),f=(c+d*h)/a.offsetWidth*100;a.style.setProperty("--progress",`${f}%`)})},{immediate:!0}),(s,a)=>(V(),oe("div",MP,[we("div",BP,[we("div",jP,[(V(!0),oe(Re,null,Tt(Array.from({length:r.numberOfPages},(o,u)=>u+1),o=>(V(),oe("div",{class:Pe({"stepNumber d-flex justify-content-center align-items-center":!0,active:o-1===e.currentStep,filled:o-1e.currentStep,class:"fs-4",onClick:()=>i(o)},ge(o),9,LP)],2))),256))])]),a[0]||(a[0]=we("div",{class:"custom-wizard-progress"},null,-1)),we("div",FP,[we("div",qP,[(V(!0),oe(Re,null,Tt(Array.from({length:r.numberOfPages},(o,u)=>u+1),o=>(V(),oe("div",{class:Pe({"stepNumber d-flex justify-content-center align-items-center":!0,active:o-1===e.currentStep,filled:o-1{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},UP=Vn(VP,[["__scopeId","data-v-bc1e4033"]]),zP={showOnWrapper:DP,CheckboxControl:Gt(()=>Promise.resolve().then(()=>ZR)),CheckboxGroupControl:Gt(()=>Promise.resolve().then(()=>YR)),FileControl:Gt(()=>Promise.resolve().then(()=>XR)),NumberControl:Gt(()=>Promise.resolve().then(()=>QR)),ObjectControl:Gt(()=>Promise.resolve().then(()=>eI)),RadiobuttonControl:Gt(()=>Promise.resolve().then(()=>tI)),SelectControl:Gt(()=>Promise.resolve().then(()=>rI)),StringControl:Gt(()=>Promise.resolve().then(()=>nI)),TagsControl:Gt(()=>Promise.resolve().then(()=>iI)),FormFieldWrapper:Gt(()=>Promise.resolve().then(()=>uI)),ErrorViewer:Gt(()=>Promise.resolve().then(()=>lI)),Button:Gt(()=>Promise.resolve().then(()=>dI)),Buttongroup:Gt(()=>Promise.resolve().then(()=>hI)),HelpPopover:Gt(()=>Promise.resolve().then(()=>pI)),DefaultControl:Gt(()=>Promise.resolve().then(()=>gI)),ArrayButton:IP,WizardProgress:UP},HP=zP;function E2(e,t="/properties/"){let r={};for(const[n,i]of Object.entries(e.properties||{}))if(typeof i!="boolean"){if(i.type==="object")r={...r,...E2(i,t+n+"/properties/")};else if(i.default!==void 0){let s=i.default;s==="$now"&&(s=new Date().toISOString()),r[t+n]=s}}return r}const Gr=qg("formStructure",{state:()=>({jsonSchema:void 0,uiSchema:void 0,components:void 0,arrays:[],mappers:[],buttonWaiting:{},currentWizardPage:0,wizardValidateFunctions:[],formStateWasValidated:!1}),getters:{defaultData:e=>e.jsonSchema?E2(e.jsonSchema):{}}});function pt(e){return Gr().components?.[e]||HP[e]}class x2{}class T2{jsonSchema;uiSchema;savePath;scope;registerSchemata(t,r,n,i,s,a){this.jsonSchema=t,this.uiSchema=r,this.scope=n,this.savePath=i}}function WP(e){return typeof e=="object"&&e.const!==void 0&&e.title!==void 0}class GP extends x2{map(t,r){if(kt(t,"oneOf")){let n;const i={};for(const s of t.oneOf){if(!WP(s))return console.warn("oneOf element is not a custom oneOf element"),null;n?n.push(s.const):n=[s.const],i[s.const]=s.title}if((n?.length||0)<1)return console.warn("No values found in oneOf element"),null;t.enum=n,delete t.oneOf,r.options={enumTitles:i}}return{jsonElement:t,uiElement:r}}}const $2=Symbol(),JP=Symbol(),Kl=Symbol(),O2=Symbol(),za=Symbol(),C2=Symbol();function KP(e){if(e)for(const[t,r]of Object.entries(e))A2(t,r)}function A2(e,t){const r=lt(za,{});let n=r[e];n?r[e]={showOn:t.showOn||n.showOn,options:{...n.options,...t.options}}:r[e]=t,$t(za,r)}function Zl(e,t){if(!t)return e;const r=Yl(e.scope),n=t[r];return n?{...e,options:{...e.options,...n.options},showOn:n.showOn||e.showOn}:e}function Nh(){let e;try{e=crypto.randomUUID()}catch{e=e$()}return e}const Ha="vjf_array-item_";function Wa(e){return typeof e!="string"?!1:e.match(new RegExp(`^${Ha}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`))!==null}function kh(e,t){return e.split("/").slice(0,t).join("/")}function P2(e){return e.map(t=>({...t,uuid:Nh()}))}const ZP="2.0";function N2(e,t={}){const r={version:ZP,layout:{type:t.layoutType??"VerticalLayout",options:{label:"groupLabel"in t?t.groupLabel:void 0,description:"groupDescription"in t?t.groupDescription:void 0},elements:[]}};for(const n in e.properties){const i={type:"Control",scope:`${t.scopeBase??""}/properties/${n}`};r.layout.elements.push(i)}return r}function YP(e,t,r){const n="!#index#!",i=new RegExp(`${n}\\w+${n}`);if(r===void 0)return;const s=t.split("/").filter(a=>a!=="").filter((a,o)=>!(o%2===0&&a==="properties")).join(".").replace(/\[(\w+)]/g,`.${n}$1${n}`).split(".");for(let a=0;a{Wa(s)&&t.set(s,a)}));return t}function k2(e,t){for(const[r,n]of e.entries())t=t.replace(`.${r}`,`[${n}]`);return t}function R2(e){const t={},r=new Map,n=new Set;for(const[s,a]of Object.entries(e))Ih(s)&&(n.add(s),Array.isArray(a)&&a.forEach((o,u)=>{Wa(o)&&r.set(o,u)}));for(const s of n){const a=e[s];Array.isArray(a)&&!a.filter(o=>Wa(o)).length&&a.length>0&&(t[k2(r,s)]=[...a])}for(const[s,a]of Object.entries(e))!Ih(s)&&a!==void 0&&(t[k2(r,s)]=a);const i=XP(t);return{scopes:t,json:i}}function I2(e,t={},r="/properties"){for(const[n,i]of Object.entries(e)){const s=`${r}/${n}`;Array.isArray(i)?t[s]=i:typeof i=="object"&&i!==null?I2(i,t,`${s}/properties`):t[s]=i}return t}function eN(e){return new Promise(t=>{const r=new FileReader;r.onload=()=>{t(r.result)},r.readAsDataURL(e)})}async function Rh(e){if(e instanceof File)return await eN(e);if(vo(e))return await Rh(je(e));if(typeof e=="object"||Array.isArray(e))for(const[t,r]of Object.entries(e))e[t]=await Rh(r);return e}const ir=qg("formData",{state:()=>({formData:{},defaultFormData:{}}),getters:{arrayAliasIndices:e=>QP(e.formData),cleanedFormData:e=>R2(e.formData)}});function gr(){const e=lt($2),t=lt(O2);if(!Bh(e)||!Bh(t))throw new Error("fs and savePath must be provided");const r=He(()=>e.value.jsonElement),n=He(()=>e.value.uiElement);return{jsonElement:r,layoutElement:n,savePath:t}}function D2(...e){return ps.has(...e)?ps.get(...e):null}function tN(e){return L(()=>{if(!e)throw new Error("No layout found");let t=ps.parse(e.value.scope);return t.length<2?null:(t=t.slice(0,-2),ps.compile(t))})}function M2(e){return L(()=>{if(e.value.options?.forceRequired)return!0;const t=tN(e);if(t.value===null)return!1;const r=e.value.scope.split("/").pop()||"";let n=Xl(t.value+"/required",!0);if(n.value!==void 0&&Array.isArray(n.value)&&n.value.includes(r))return!0;if(n=Xl(t.value+"/dependentRequired",!0),!n.value||typeof n!="object")return!1;for(const[i,s]of Object.entries(n.value))if(Array.isArray(s)&&s.includes(r)){const a=(lt(Kl,void 0)||e.value.scope).split("/").slice(0,-1).join("/")+"/"+i;if(ir().formData[a])return!0}return!1})}function rN(e){const t=e.toLowerCase().split("_");return t.forEach((r,n)=>{r&&(t[n]=(r[0]?.toUpperCase()??"")+r.slice(1))}),t.join(" ")}function Yl(e,t="items",r=""){return e.replace(new RegExp(`(?<=${r})\\.${Ha}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`,"g"),"/"+t)}function Xl(e,t=!1){return L(()=>{let r=e;const{jsonSchema:n}=gt(Gr());return n.value?(r=r.replace(new RegExp(`\\.${Ha}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`,"g"),"/items"),D2(n.value||{},r)||(t||console.error("No data under scope "+e),null)):null})}function Ih(e){const{jsonSchema:t}=gt(Gr()),r=Yl(e);return D2(t.value||{},r)?.type==="array"}function nN(e){return e.reduce((t,r)=>{const n=!(typeof r=="string"&&Wa(r));return t||n},!1)}function Ql(e){const{jsonSchema:t}=gt(Gr()),r=Xl(e.value.scope);return L(()=>t.value?(r.value?.title||rN(e.value.scope.split("/").pop()||"")).concat(M2(e).value?"*":""):"")}class iN extends T2{conditionsAndResults=[];dependencies=[];registerSchemata(t,r,n,i,s,a){super.registerSchemata(t,r,n,i,s,a),this.conditionsAndResults=this.getConditionsAndResults(),this.setDependencies()}setDependencies(){if(!this.savePath)return;const t=new Set;for(const r of this.conditionsAndResults)for(const n of r.conditions){const i=kh(this.savePath,-1)+"/"+n.key;t.add(i)}this.dependencies=Array.from(t)}getDependencies(){return this.dependencies}getFieldName(){return this.scope?.split("/").pop()}parseCondition([t,r]){let n,i;if("const"in r)n="const",i=r.const;else if("enum"in r)n="enum",i=r.enum;else if("contains"in r)if("const"in r.contains)n="containsConst",i=r.contains.const;else if("enum"in r.contains)n="containsEnum",i=r.contains.enum;else throw new Error("Invalid contains condition");else throw new Error("Invalid condition");return{value:i,type:n,key:t}}parseConditions(t){return Object.entries(t).map(this.parseCondition)}getConditionsAndResults(){const t=this.getFieldName();if(!t||!this.scope||!this.jsonSchema||!this.uiSchema)return[];let r=kh(this.scope,-2)+"/allOf";r=Yl(r);let n;if(ps.has(this.jsonSchema,r))n=ps.get(this.jsonSchema,r);else return[];return!n||!mN(n)?[]:n.map(i=>{if(U2(i)){const s=i.then.properties?.[t],a=i.else?.properties?.[t],o=i.then.required,u=i.else?.required;return!s&&!a&&!o&&!u?void 0:{conditions:this.parseConditions(i.if.properties),then:s,else:a,thenRequired:o,elseRequired:u}}}).filter(i=>i!==void 0)}checkConditionFulfilled(t,r){const n=this.savePath?r[kh(this.savePath,-1)+"/"+t.key]:void 0;if(n===void 0)return!1;switch(t.type){case"const":return KT(n,t.value);case"enum":return t.value.includes(n);case"containsConst":return Array.isArray(n)?n.includes(t.value):!1;case"containsEnum":return Array.isArray(n)?n.some(i=>t.value.includes(i)):!1}}async map(t,r,n){const i=this.getFieldName();if(!this.jsonSchema||!this.uiSchema||!this.savePath||!i)return{jsonElement:t,uiElement:r};let s=JSON.parse(JSON.stringify(t)),a=JSON.parse(JSON.stringify(r)),o=!1,u=!1;for(const l of this.conditionsAndResults){const{then:c,else:h,elseRequired:d,thenRequired:f}=l;if(!c&&!h&&!f&&!d)continue;const m=l.conditions.every(p=>this.checkConditionFulfilled(p,n)),y=m?c||{}:h||{};for(let[p,v]of Object.entries(y))if(hN(p)){if(typeof v!="object")s[p]!==v&&(s[p]=v,o=!0);else if(v){const g=(_,w,S)=>w,b=GT(s[p]||{},v,{arrayMerge:g});JSON.parse(JSON.stringify(b))!==JSON.parse(JSON.stringify(s[p]||{}))&&(s[p]=b,o=!0)}}(m?f:d)?.includes(i)&&(a.options||(a.options={}),a.options.forceRequired=!0,u=!0)}return{jsonElement:o?s:t,uiElement:u?a:r}}}function sN(e){switch(e){case"EQUALS":return(t,r)=>t==r;case"NOT_EQUALS":return(t,r)=>t!=r;case"GREATER":return(t,r)=>t>r;case"GREATER_OR_EQUAL":return(t,r)=>t>=r;case"SMALLER":return(t,r)=>tt{const a=i.match(aN);return a?{arrayName:n.slice(0,s).join("/")+"/"+a[1],arrayAlias:a[2]}:null}).forEach(i=>{if(i){const s=Yl(i.arrayName);r[s]=t.arrayAliasIndices.get(i.arrayAlias||"")??0}})}return r}function oN(e){const t=ir();if(L2(e.showOn))return L(()=>{if(!L2(e.showOn))throw new Error("This should not happen");const r=sN(e.showOn.type),n=e.showOn.referenceValue;try{return r(bl.getPropertyByString(t.cleanedFormData.json,e.showOn.path,""),n)}catch(i){return i instanceof _d&&console.warn(`Error while evaluating showOn rule: ${i.message}`,e.showOn),!1}});{const r=Se(!1),n=new O1;let i;try{i=n.parseRule(e.showOn)}catch(s){return console.warn(`Error while parsing showOn rule '${e.showOn?.id}'`,s),r}return t.$subscribe(()=>{const s={$selfIndices:B2(e),...t.cleanedFormData.json};i.evaluate(s).then(a=>{r.value=a}).catch(a=>{r.value=!1,a instanceof y1?console.warn(`Error while evaluating showOn rule "${i.id}": ${a.message} +In formula:`,a.context,"with value",a.value):a instanceof p1?console.warn(`Error while evaluating showOn rule "${i.id}": ${a.message} +In formula:`,a.context):console.warn(`Error while evaluating showOn rule "${i.id}": ${a.message}`)})}),r}}function uN(e,t){let r=e;return e.type==="Control"&&(r=Zl(e,t)),cN(r)?oN(r):Se(!0)}class Dh extends T2{depsRuleMap={};dependencies=[];static parser=new O1;getDependencies(){return this.dependencies}async map(t,r,n){if(Object.keys(this.depsRuleMap).length===0)return{jsonElement:t,uiElement:r};const i=JSON.parse(JSON.stringify(t)),s={$selfIndices:B2(r),...R2(n).json};let a=!1;const o=[];for(const[l,c]of Object.entries(this.depsRuleMap))o.push([l,await c.evaluate(s)]);const u=o.filter(([l,c])=>!c).map(([l,c])=>l);return u.length>0&&(i.enum=i.enum?.filter(l=>!u.includes(l)),a=!0),{jsonElement:a?i:t,uiElement:r}}registerSchemata(t,r,n,i,s,a){super.registerSchemata(t,r,n,i,s,a);const o=new Set;this.depsRuleMap=this.getOptionFilterDependencies(a,o,i),this.dependencies=Array.from(o)}getOptionFilterDependencies(t,r,n){const i={},s=Ut(t,"optionFilters");if(s)for(const[a,o]of Object.entries(s))try{const u=Dh.parser.parseRule(o);i[a]=u;const l=EC([u]);for(const c of l.pathSet){const h="/properties/"+c.split("[")[0]?.split(".").join("/properties/");r.add(h)}}catch{console.warn(`Invalid rule ${o.id} for option ${a}`)}return i}}function lN(e,t){return e in t}function kt(e,t){return!(typeof e=="object"&&e!==null&&e!==void 0)||!lN(t,e)?!1:e[t]!==void 0&&e[t]!==null}function cN(e){return kt(e,"showOn")}function j2(e){return Array.isArray(e.elements)}function fN(e){return e?"displayAs"in e&&e?.displayAs==="buttons":!1}function dN(e){return kt(e,"options")&&kt(e.options,"cssClass")}function L2(e){return e&&"path"in e&&"type"in e&&"referenceValue"in e}function hN(e){return LT.find(t=>t===e)!==void 0}function Li(e,t){return kt(e,"options")&&kt(e.options,t)}function Mh(e){return kt(e,"items")&&typeof e.items=="object"&&!Array.isArray(e.items)}function F2(e){return kt(e,"items")&&kt(e.items,"enum")}function pN(e){return["text","number","email","password","search","url","tel","date","time","range","color","datetime","datetime-local","month","week"].includes(e)}function q2(e){return e instanceof x2}function mN(e){return Array.isArray(e)&&e.every(U2)}function gN(e){return kt(e,"properties")&&Object.values(e.properties).every(t=>kt(t,"const")||kt(t,"enum")||kt(t,"contains")&&(kt(t.contains,"const")||kt(t.contains,"enum")))}function V2(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function U2(e){return kt(e,"if")&&gN(e.if)&&"then"in e&&V2(e.then)&&("else"in e?V2(e.else):!0)}function Bh(e){return e!==void 0}function z2(e){return e.type==="Wizard"}function vN(e){return!z2(e)}function Ut(e,t,r){if(Li(e,t)){const n=e.options[t];if(n!==void 0)return n}return r}function Jr(e){return L(()=>("vjf_control_for_"+e).replace(/\//g,"_"))}function yN(){return Math.random().toString(36).substring(7)}function Ga(e,...t){return L(()=>{const r=" "+t.join(" ");return dN(e)?e.options.cssClass.toString()+r:r})}const bN=["innerHTML"],jh=ce({__name:"htmlRenderer",props:{layoutElement:{}},setup(e){const t=e,r=L(()=>fh(t.layoutElement.htmlData,{allowedTags:fh.defaults.allowedTags.concat("img","a","svg"),allowedAttributes:{...fh.defaults.allowedAttributes,"*":["style","class","aria-*"]}}));return(n,i)=>(V(),oe("span",{innerHTML:r.value,class:"vjf_htmlRenderer"},null,8,bN))}}),wN={},_N={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function SN(e,t){return V(),oe("svg",_N,[...t[0]||(t[0]=[we("path",{fill:"currentColor",d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8L4.646 5.354a.5.5 0 0 1 0-.708"},null,-1)])])}const EN=Vn(wN,[["render",SN],["__scopeId","data-v-8898cb0d"]]),xN={},TN={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function $N(e,t){return V(),oe("svg",TN,[...t[0]||(t[0]=[we("path",{fill:"currentColor",d:"M7 2a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0M7 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0M7 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-3 3a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-3 3a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0"},null,-1)])])}const ON=Vn(xN,[["render",$N],["__scopeId","data-v-451bf0ec"]]),CN=["id"],AN={class:"handle"},PN=ce({__name:"ArrayItem",props:{scope:{},index:{},itemID:{},baseSavePath:{},allowRemove:{type:Boolean},uiSchema:{}},emits:["delete"],setup(e,{emit:t}){const r=e,n=r.baseSavePath+"."+r.itemID;$t(Kl,n);const i=L(()=>{const o=r.uiSchema||{type:"Control",scope:"",options:{label:!1}};return o.scope=r.scope+"."+r.itemID,o}),s=t,a=pt("ArrayButton");return(o,u)=>(V(),oe("div",{class:"vjf_arrayItem",id:e.itemID},[Ee(H2,{"layout-element":i.value,"in-array-item":""},{prepend:le(()=>[we("div",AN,[Ee(ON)])]),append:le(()=>[Ee(x(a),{variant:"outline-danger",onClick:u[0]||(u[0]=l=>s("delete",e.itemID,n)),disabled:!e.allowRemove,"aria-label":"Delete Item"},{default:le(()=>[Ee(EN)]),_:1},8,["disabled"])]),_:1},8,["layout-element"])],8,CN))}}),NN=Vn(PN,[["__scopeId","data-v-d5110738"]]),kN={},RN={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"};function IN(e,t){return V(),oe("svg",RN,[...t[0]||(t[0]=[we("path",{fill:"currentColor",d:"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4"},null,-1)])])}const DN=Vn(kN,[["render",IN],["__scopeId","data-v-9a59b4f7"]]),MN={class:"vjf_label_wrapper"},BN=["for"],jN={class:"large-label"},LN={class:"vjf_array-help-icon-wrapper"},FN={key:0},qN=["id"],VN={key:0},UN=ce({__name:"ArrayControl",setup(e){const t=pt("ErrorViewer"),r=pt("HelpPopover"),n=pt("ArrayButton"),{formData:i}=gt(ir()),{jsonSchema:s,arrays:a}=gt(Gr()),{jsonElement:o,layoutElement:u,savePath:l}=gr(),c=Jr(l);function h(_=!1,w){const S=Ha+Nh();if(!s.value)throw new Error("jsonSchema is unexpectedly undefined");if(!Bh(l))throw new Error("savePath must be provided");i.value[l].push(S),i.value[`${l}.${S}`]=w??"",_||_t().then(()=>{const E=document.getElementById(c.value)?.querySelectorAll(".list-group > *");E&&E[E.length-1]?.querySelector("input")?.focus()})}const d=Ql(u),f=Se(!1),m=Se({animation:200,group:`array-${d.value}`,disabled:!1,ghostClass:"ghost"});function y(_,w){const S=i.value[l].indexOf(_);S>-1?i.value[l].splice(S,1):console.warn("Could not find item with id",_,"in",i.value[l]),delete i.value[w]}function p(){if(!i.value[l])i.value[l]=[];else if(nN(i.value[l])){const _=i.value[l];i.value[l]=[];for(const w of _)h(!0,w)}a.value.push(l);for(let _=i.value[l].length;_<(o.value.minItems||0);_++)h(!0);u.value.options?.maxFileSize&&A2(u.value.scope+"/items",{options:{maxFileSize:u.value.options.maxFileSize}})}et(()=>i.value[l],()=>{i.value[l]||p()});const v=L(()=>i.value[l].length<(o.value.maxItems||Number.MAX_VALUE)),g=L(()=>i.value[l].length>(o.value.minItems||0)),b=L(()=>Wa(u.value.scope.split(".").pop()||""));return Dc(p),(_,w)=>(V(),oe("div",null,[we("div",MN,[b.value?xe("",!0):_n((V(),oe("label",{key:0,for:x(c)},[we("span",jN,ge(x(d)),1)],8,BN)),[[rs,x(Ut)(x(u),"label",!0)]]),we("div",LN,[Ee(x(r))])]),x(o).description?(V(),oe("p",FN,ge(x(o).description),1)):xe("",!0),typeof x(o).items=="object"&&"type"in x(o).items?(V(),oe("div",{key:1,class:"vjf_array",id:x(c)},[Ee(x(RP),Ye({class:"list-group",modelValue:x(i)[x(l)],"onUpdate:modelValue":w[0]||(w[0]=S=>x(i)[x(l)]=S),handle:".handle",itemKey:S=>S,key:"draggable",onStart:w[1]||(w[1]=S=>f.value=!0),onEnd:w[2]||(w[2]=S=>f.value=!1)},m.value,{componentData:{tag:"div",type:"transition-group",name:f.value?null:"flip-list"}}),{item:le(({element:S,index:E})=>[(V(),oe("div",{key:S},[Ee(NN,{scope:x(u).scope,baseSavePath:x(l),index:E,itemID:S,onDelete:y,allowRemove:g.value},null,8,["scope","baseSavePath","index","itemID","allowRemove"])]))]),_:1},16,["modelValue","itemKey","componentData"]),Ee(x(n),{variant:"outline-primary",class:"w-100",onClick:w[3]||(w[3]=()=>h()),disabled:!v.value,"aria-label":"Add Item"},{default:le(()=>[x(Ut)(x(u),"addButtonText")?(V(),oe("span",VN,ge(x(Ut)(x(u),"addButtonText")),1)):(V(),ie(DN,{key:1}))]),_:1},8,["disabled"])],8,qN)):(V(),ie(x(t),{key:2,header:"Error",id:x(c)},{default:le(()=>[...w[4]||(w[4]=[ke(" The type of the array's items is missing in the schema ",-1)])]),_:1},8,["id"]))]))}}),zN={key:1},H2=ce({__name:"Control",props:{layoutElement:{},inArrayItem:{type:Boolean}},setup(e){const{jsonSchema:t,mappers:r,uiSchema:n}=gt(Gr()),i=pt("FormFieldWrapper"),s=pt("ErrorViewer"),a=e,o=Xl(a.layoutElement.scope),{formData:u,defaultFormData:l,cleanedFormData:c}=gt(ir()),h=Se(!1);KP(a.layoutElement.options?.descendantControlOverrides);const d=lt(za),f=lt(Kl,void 0)||a.layoutElement.scope,m=Se([]),y=Se({jsonElement:o.value||{},uiElement:a.layoutElement});async function p(){let P=o.value||{},A=a.layoutElement;A=Zl(A,d);for(const k of m.value){let D;q2(k)?D=k.map(P||{},A):D=await k.map(P||{},A,u.value),D?(P=D.jsonElement,A=D.uiElement):console.warn("Mapper failed",k)}y.value={jsonElement:P||{},uiElement:A}}et([()=>o.value,()=>a.layoutElement],p,{immediate:!0}),xn(()=>{if(!o.value||!a.layoutElement||!t.value||!n.value)return;const P=new Set;m.value=r.value.map(A=>new A);for(const A of m.value)if(!q2(A)){A.registerSchemata(t.value,n.value,a.layoutElement.scope,f,o.value,Zl(a.layoutElement,d));for(const k of A.getDependencies())P.has(k)||(P.add(k),j8(()=>u.value[k],()=>{p()},{debounce:50,deep:!1}))}p()});const v=L(()=>{const P={},A=y.value.uiElement;return A.options?.preHtml&&(P.pre={type:"HTML",htmlData:A.options.preHtml}),A.options?.postHtml&&(P.post={type:"HTML",htmlData:A.options.postHtml}),P}),g=L(()=>y.value.uiElement),b=M2(g);let _=y.value.uiElement.options?.hidden?"hiddenControl":"";const w=L(()=>{if(a.layoutElement.options&&"textAlign"in a.layoutElement.options&&a.layoutElement.options.textAlign)return`text-align: ${a.layoutElement.options.textAlign}`}),S=Ga(y.value.uiElement,"vjf_control mb-3",_);$t($2,y),$t(O2,f),$t(Kl,void 0);const E=Jr(f),$=Ql(g),C=L(()=>{if(y.value.jsonElement?.enum!==void 0&&y.value.jsonElement.type!=="array")return Ut(y.value.uiElement,"displayAs")==="radiobuttons"||Ut(y.value.uiElement,"displayAs")==="buttons"?pt("RadiobuttonControl"):pt("SelectControl");if(typeof y.value.jsonElement?.items=="object"&&"enum"in y.value.jsonElement.items&&y.value.jsonElement.type==="array")return pt("CheckboxGroupControl");if(y.value.jsonElement?.type==="array"&&Li(y.value.uiElement,"tags")&&y.value.uiElement.options?.tags?.enabled)return pt("TagsControl");if(y.value.jsonElement?.type==="string"&&y.value.jsonElement.format==="uri"||y.value.jsonElement?.type==="array"&&Mh(y.value.jsonElement)&&y.value.jsonElement.items.type==="string"&&y.value.jsonElement.items.format==="uri"&&y.value.uiElement.options?.displayAsSingleUploadField)return pt("FileControl");switch(y.value.jsonElement?.type){case"boolean":return pt("CheckboxControl");case"number":case"integer":return pt("NumberControl");case"object":return pt("ObjectControl");case"string":return pt("StringControl");case"array":return UN;default:return pt("DefaultControl")}});return et(o,()=>{o.value===void 0&&(h.value=a.layoutElement.scope)}),xn(()=>{u.value[f]=l.value[f]??u.value[f]}),ta(()=>{u.value[f]=void 0}),(P,A)=>h.value?(V(),oe("div",zN,[Ee(x(s),{header:"Error"},{default:le(()=>[ke(" Invalid Json Pointer: "+ge(h.value),1)]),_:1})])):(V(),oe("div",{key:0,class:Pe(x(S))},[v.value.pre?(V(),ie(jh,{key:0,"layout-element":v.value.pre},null,8,["layout-element"])):xe("",!0),(V(),ie(Ze(x(i)),{label:x($),"label-for":x(E)},YS({default:le(()=>[(V(),ie(Ze(C.value),{name:y.value.uiElement.scope,disabled:y.value.uiElement.options?.disabled,placeholder:y.value.uiElement.options?.placeholder,autocomplete:x(Ut)(y.value.uiElement,"autocomplete","on"),required:x(b)||e.inArrayItem,style:Un(w.value),"aria-label":e.inArrayItem?"List item":void 0},null,8,["name","disabled","placeholder","autocomplete","required","style","aria-label"]))]),_:2},[P.$slots.prepend?{name:"prepend",fn:le(()=>[he(P.$slots,"prepend")]),key:"0"}:void 0,P.$slots.append?{name:"append",fn:le(()=>[he(P.$slots,"append")]),key:"1"}:void 0]),1032,["label","label-for"])),v.value.post?(V(),ie(jh,{key:1,"layout-element":v.value.post},null,8,["layout-element"])):xe("",!0)],2))}}),HN={};function WN(e,t){return V(),oe("hr")}const GN=Vn(HN,[["render",WN]]),W2=ce({__name:"VerticalLayout",props:{layoutElement:{}},setup(e){const t=e,r=Ga(t.layoutElement,"vjf_verticalLayout"),n=L(()=>j2(t.layoutElement)?P2(t.layoutElement.elements):[]);return(i,s)=>(V(),oe("div",{class:Pe(x(r))},[(V(!0),oe(Re,null,Tt(n.value,a=>(V(),ie(Ja,{"layout-element":a,key:a.uuid},null,8,["layout-element"]))),128))],2))}}),JN={key:0},KN=ce({__name:"Group",props:{layoutElement:{}},setup(e){const t=Ga(e.layoutElement,"vjf_group");return(r,n)=>(V(),oe("fieldset",{class:Pe(x(t))},[_n(we("legend",null,ge(e.layoutElement.options?.label||"Unnamed group"),513),[[rs,e.layoutElement.options?.label]]),e.layoutElement.options?.description?(V(),oe("p",JN,ge(e.layoutElement.options.description),1)):xe("",!0),Ee(W2,{class:"vjf_fieldset-content","layout-element":{...e.layoutElement,type:"VerticalLayout"}},null,8,["layout-element"])],2))}}),ZN=Vn(KN,[["__scopeId","data-v-50b45175"]]),YN=ce({__name:"HorizontalLayout",props:{layoutElement:{}},setup(e){const t=e,r=Ga(t.layoutElement,"vjf_horizontalLayout"),n=L(()=>j2(t.layoutElement)?P2(t.layoutElement.elements):[]);return(i,s)=>(V(),oe("div",{class:Pe(x(r))},[(V(!0),oe(Re,null,Tt(n.value,a=>(V(),ie(Ja,{"layout-element":a,key:a.uuid},null,8,["layout-element"]))),128))],2))}}),Ms={Control:H2,Divider:GN,Group:ZN,HorizontalLayout:YN,VerticalLayout:W2,htmlRenderer:jh},XN={};function QN(e,t){return"Unknown Component"}const ek=Vn(XN,[["render",QN]]),tk=ce({__name:"ButtonGroup",props:{layoutElement:{}},setup(e){const t=pt("Buttongroup");return(r,n)=>(V(),ie(Ze(x(t)),{layoutElement:e.layoutElement},null,8,["layoutElement"]))}}),G2=ce({__name:"VJFButton",props:{layoutElement:{}},setup(e){const t=e,r=Nh(),{buttonWaiting:n}=gt(Gr());n.value[r]=!1;const i=pt("Button"),s=L(()=>{const a=JSON.stringify({...t.layoutElement.options?.submitOptions,id:r});return encodeURIComponent(a)});return(a,o)=>(V(),ie(Ze(x(i)),{layoutElement:e.layoutElement,submitOptions:s.value,formnovalidate:e.layoutElement.options?.formnovalidate?"formnovalidate":void 0,waiting:x(n)[x(r)]},null,8,["layoutElement","submitOptions","formnovalidate","waiting"]))}}),J2={vjfButtonGroup:tk,vjfButton:G2},Ja=ce({__name:"FormWrap",props:{layoutElement:{}},setup(e){const t=pt("showOnWrapper"),r=e;function n(u){switch(u){case"Control":return Ms.Control;case"VerticalLayout":return Ms.VerticalLayout;case"HorizontalLayout":return Ms.HorizontalLayout;case"Group":return Ms.Group;case"HTML":return Ms.htmlRenderer;case"Divider":return Ms.Divider;case"Button":return J2.vjfButton;case"Buttongroup":return J2.vjfButtonGroup;default:return ek}}const i=Gs(n(r.layoutElement.type));let s=r.layoutElement;const a=lt(za);s.type==="Control"&&Zl(s,a);const o=uN(s,a);return(u,l)=>(V(),ie(x(t),{visible:x(o)},{default:le(()=>[x(o)?(V(),ie(Ze(x(i)),{key:0,layoutElement:e.layoutElement},null,8,["layoutElement"])):xe("",!0)]),_:1},8,["visible"]))}}),K2=ce({__name:"ValidationError",props:{error:{}},setup(e){const t=pt("ErrorViewer");return(r,n)=>(V(),ie(Ze(x(t)),{header:e.error.keyword,class:"mb-3"},{default:le(()=>[we("p",null,[n[0]||(n[0]=ke(" Error in element ",-1)),we("code",null,ge(e.error.instancePath),1),n[1]||(n[1]=ke(": ",-1))]),we("p",null,ge(e.error.message),1),n[2]||(n[2]=we("hr",null,null,-1)),we("pre",null,ge(JSON.stringify(e.error,null,2)),1)]),_:1},8,["header"]))}}),Lh=ce({__name:"ParsingError",props:{error:{}},setup(e){const t=pt("ErrorViewer");return(r,n)=>(V(),ie(Ze(x(t)),{header:e.error.name,class:"mb-3"},{default:le(()=>[we("p",null,ge(e.error.message),1)]),_:1},8,["header"]))}}),rk={key:0},nk={key:1},ik={key:2},sk={key:3},ak={key:4,class:"mt-4"},ok={key:5},uk={key:6},lk=ce({__name:"ParsingAndValidationErrorsView",props:{validationErrors:{}},setup(e){const t=e,r=L(()=>!!(t.validationErrors.jsonSchema.parsing.length+t.validationErrors.jsonSchema.validation.length)),n=L(()=>!!(t.validationErrors.uiSchema.parsing.length+t.validationErrors.uiSchema.validation.length));return(i,s)=>(V(),oe(Re,null,[s[5]||(s[5]=we("h4",null,"Error",-1)),s[6]||(s[6]=we("p",null,"There were errors while rendering this form",-1)),e.validationErrors.general.length?(V(),oe("div",rk,[s[0]||(s[0]=we("h5",null,"General",-1)),(V(!0),oe(Re,null,Tt(e.validationErrors.general,a=>(V(),ie(Lh,{key:a.message,error:a},null,8,["error"]))),128))])):xe("",!0),r.value?(V(),oe("h5",nk,"JSON Schema")):xe("",!0),e.validationErrors.jsonSchema.parsing.length>0?(V(),oe("div",ik,[s[1]||(s[1]=we("h6",null,"Parsing errors",-1)),(V(!0),oe(Re,null,Tt(e.validationErrors.jsonSchema.parsing,a=>(V(),ie(Lh,{key:a.message,error:a},null,8,["error"]))),128))])):xe("",!0),e.validationErrors.jsonSchema.validation.length>0?(V(),oe("div",sk,[s[2]||(s[2]=we("h6",null,"Validation errors",-1)),(V(!0),oe(Re,null,Tt(e.validationErrors.jsonSchema.validation,a=>(V(),ie(K2,{key:a.message+a.instancePath,error:a},null,8,["error"]))),128))])):xe("",!0),n.value?(V(),oe("h5",ak,"UI Schema")):xe("",!0),e.validationErrors.uiSchema.parsing.length>0?(V(),oe("div",ok,[s[3]||(s[3]=we("h6",null,"Parsing errors",-1)),(V(!0),oe(Re,null,Tt(e.validationErrors.uiSchema.parsing,a=>(V(),ie(Lh,{key:a.message,error:a},null,8,["error"]))),128))])):xe("",!0),e.validationErrors.uiSchema.validation.length>0?(V(),oe("div",uk,[s[4]||(s[4]=we("h6",null,"Validation errors",-1)),(V(!0),oe(Re,null,Tt(e.validationErrors.uiSchema.validation,a=>(V(),ie(K2,{key:a.message+a.instancePath,error:a},null,8,["error"]))),128))])):xe("",!0)],64))}}),ck={fileUpload:{tooManyFiles:"Sie können nur !&data&! Dateien hochladen.",tooFewFiles:"Sie müssen mindestens !&data&! Dateien hochladen.",fileTooLarge:"Die folgenden Dateien überschreiten die Dateigrößenbeschränkung von !&data&! MB: !&data&!"}},fk={previous:"Zurück",next:"Weiter"},dk={errors:ck,buttons:fk},hk={fileUpload:{tooManyFiles:"You can only upload !&data&! files.",tooFewFiles:"You need to upload at least !&data&! files.",fileTooLarge:"The following files exceed the file size limit of !&data&! MB: !&data&!"}},pk={previous:"Previous",next:"Next"},mk={errors:hk,buttons:pk};class Z2{getStringTemplate(t,...r){let n=this.getString(t);return(n.match(/!&data&!/g)||[]).forEach((i,s)=>{n=n.replace(/!&data&!/,r[s]||"")}),n}}class Y2 extends Z2{getString(t){let r=this.data;for(let n of t.split("."))if(r=r?.[n],r===void 0)return t;return typeof r!="string"?t:r}}class gk extends Y2{data=dk}class vk extends Y2{data=mk}class yk extends Z2{provider;constructor(){super(),(navigator.language||"en").startsWith("de")?this.provider=new gk:this.provider=new vk}getString(t){return this.provider.getString(t)}}const bk=ce({__name:"WizardPage",props:{page:{},pageName:{},index:{}},setup(e){const t=e,r=yN();function n(a){return"checkValidity"in a&&typeof a.checkValidity=="function"&&"reportValidity"in a&&typeof a.reportValidity=="function"}function i(){const a=[...document.getElementById(r)?.querySelectorAll("*")||[]].filter(n).map(o=>({valid:o.checkValidity(),el:o}));return a.find(o=>!o.valid)?.el.reportValidity(),a.every(o=>o.valid)}const s=Gr();return s.wizardValidateFunctions[t.index]=i,Co(()=>{delete s.wizardValidateFunctions[t.index]}),(a,o)=>(V(),oe(Re,null,[we("h2",null,ge(e.pageName),1),Ee(Ja,{id:x(r),"layout-element":e.page},null,8,["id","layout-element"])],64))}}),wk={class:"pages-wrapper"},_k=ce({__name:"Wizard",props:{wizardElement:{}},setup(e){const t=pt("WizardProgress"),r=e,{currentWizardPage:n}=gt(Gr()),i=L(()=>r.wizardElement.pages.map((s,a)=>a===n.value));return(s,a)=>(V(),oe(Re,null,[Ee(x(t),{numberOfPages:e.wizardElement.pages.length,pageNames:e.wizardElement.options?.pageTitles,currentStep:x(n),"onUpdate:currentStep":a[0]||(a[0]=o=>st(n)?n.value=o:null)},null,8,["numberOfPages","pageNames","currentStep"]),a[1]||(a[1]=we("hr",null,null,-1)),we("div",wk,[(V(!0),oe(Re,null,Tt(e.wizardElement.pages,(o,u)=>(V(),oe("div",null,[_n(we("div",null,[Ee(bk,{page:o,pageName:e.wizardElement.options?.pageTitles?.[u],index:u},null,8,["page","pageName","index"])],512),[[rs,i.value[u]]])]))),256))])],64))}}),Sk=Vn(_k,[["__scopeId","data-v-68b30c87"]]),Ek=ce({__name:"FormRoot",props:{onSubmitForm:{type:Function},jsonSchema:{},uiSchema:{},renderInterface:{},presetData:{},generationOptions:{},returnDataAsScopes:{type:Boolean},mappers:{},hideValidationState:{type:Boolean},validator:{type:Function},languageProvider:{}},setup(e){const t=e;pa(kT()||RT()),$t(za,{}),$t(C2,t.languageProvider||new yk);const{jsonSchema:r,uiSchema:n,mappers:i,components:s,defaultData:a,buttonWaiting:o,formStateWasValidated:u}=gt(Gr()),{formData:l,defaultFormData:c,cleanedFormData:h}=gt(ir()),d=Se({general:[],jsonSchema:{validation:[],parsing:[]},uiSchema:{validation:[],parsing:[]}}),f=L(()=>t.validator?new t.validator:new qT),m=L(()=>{let S="vjf_form";return u.value&&!t.hideValidationState&&(S+=" was-validated"),S});async function y(S){S.preventDefault(),S.stopPropagation();const E=S;let $;t.returnDataAsScopes?$=je(h.value.scopes):$=je(h.value.json),$=await Rh($);const C=JSON.parse(decodeURIComponent(E.submitter?.attributes?.getNamedItem("submitOptions")?.value||"false"))||{};o.value[C.id]=!0,await t.onSubmitForm($,C,E),o.value[C.id]=!1}function p(){c.value={...I2(t.presetData||{}),...a.value}}function v(){l.value={...c.value}}function g(S){S.preventDefault(),v(),u.value=!1}async function b(S){return f.value.validateJsonSchema(S)?S:(d.value.jsonSchema.validation=f.value.getJsonSchemaValidationErrors(),null)}async function _(S,E){return S?f.value.validateUiSchema(S)?S:(d.value.uiSchema.validation=f.value.getUiSchemaValidationErrors(),null):N2(E,t.generationOptions)}async function w(S){s.value=S.renderInterface?Gs(S.renderInterface):void 0,i.value=t.mappers||[];const E=await b(S.jsonSchema).catch(C=>{d.value.jsonSchema.parsing.push(C),console.error(C)});if(!E)return;r.value=E;const $=await _(S.uiSchema,E).catch(C=>{d.value.uiSchema.parsing.push(C),console.error(C)});$&&(n.value=$.layout)}return $t(JP,!0),Dc(async()=>{try{await f.value.initialize()}catch(S){console.error("Failed to initialize validator"),console.error(S),d.value.general=[S]}await w({jsonSchema:t.jsonSchema,uiSchema:t.uiSchema,renderInterface:t.renderInterface}),p(),v()}),et(t,S=>{w({jsonSchema:S.jsonSchema,uiSchema:S.uiSchema,renderInterface:S.renderInterface})}),(S,E)=>x(n)&&x(r)?(V(),oe("form",{key:0,onSubmit:y,onReset:g,onInvalidCapture:E[0]||(E[0]=$=>u.value=!0),class:Pe(m.value)},[x(vN)(x(n))?(V(),ie(Ja,{key:0,layoutElement:x(n)},null,8,["layoutElement"])):x(z2)(x(n))?(V(),ie(Sk,{key:1,wizardElement:x(n)},null,8,["wizardElement"])):xe("",!0),he(S.$slots,"default")],34)):d.value.jsonSchema.parsing.length+d.value.jsonSchema.validation.length+d.value.uiSchema.parsing.length+d.value.uiSchema.validation.length+d.value.general.length>0?(V(),ie(lk,{key:1,validationErrors:d.value},null,8,["validationErrors"])):xe("",!0)}});function X2(e,t){return function(){return e.apply(t,arguments)}}const{toString:xk}=Object.prototype,{getPrototypeOf:Fh}=Object,{iterator:ec,toStringTag:Q2}=Symbol,tc=(e=>t=>{const r=xk.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Kr=e=>(e=e.toLowerCase(),t=>tc(t)===e),rc=e=>t=>typeof t===e,{isArray:Bs}=Array,js=rc("undefined");function Ka(e){return e!==null&&!js(e)&&e.constructor!==null&&!js(e.constructor)&&sr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const e_=Kr("ArrayBuffer");function Tk(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e_(e.buffer),t}const $k=rc("string"),sr=rc("function"),t_=rc("number"),Za=e=>e!==null&&typeof e=="object",Ok=e=>e===!0||e===!1,nc=e=>{if(tc(e)!=="object")return!1;const t=Fh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Q2 in e)&&!(ec in e)},Ck=e=>{if(!Za(e)||Ka(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Ak=Kr("Date"),Pk=Kr("File"),Nk=Kr("Blob"),kk=Kr("FileList"),Rk=e=>Za(e)&&sr(e.pipe),Ik=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||sr(e.append)&&((t=tc(e))==="formdata"||t==="object"&&sr(e.toString)&&e.toString()==="[object FormData]"))},Dk=Kr("URLSearchParams"),[Mk,Bk,jk,Lk]=["ReadableStream","Request","Response","Headers"].map(Kr),Fk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ya(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),Bs(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,n_=e=>!js(e)&&e!==Fi;function qh(){const{caseless:e,skipUndefined:t}=n_(this)&&this||{},r={},n=(i,s)=>{const a=e&&r_(r,s)||s;nc(r[a])&&nc(i)?r[a]=qh(r[a],i):nc(i)?r[a]=qh({},i):Bs(i)?r[a]=i.slice():(!t||!js(i))&&(r[a]=i)};for(let i=0,s=arguments.length;i(Ya(t,(i,s)=>{r&&sr(i)?e[s]=X2(i,r):e[s]=i},{allOwnKeys:n}),e),Vk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Uk=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},zk=(e,t,r,n)=>{let i,s,a;const o={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!n||n(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=r!==!1&&Fh(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Hk=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Wk=e=>{if(!e)return null;if(Bs(e))return e;let t=e.length;if(!t_(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Gk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fh(Uint8Array)),Jk=(e,t)=>{const n=(e&&e[ec]).call(e);let i;for(;(i=n.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Kk=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Zk=Kr("HTMLFormElement"),Yk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),i_=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Xk=Kr("RegExp"),s_=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ya(r,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(n[s]=a||i)}),Object.defineProperties(e,n)},Qk=e=>{s_(e,(t,r)=>{if(sr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(sr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},eR=(e,t)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return Bs(e)?n(e):n(String(e).split(t)),r},tR=()=>{},rR=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function nR(e){return!!(e&&sr(e.append)&&e[Q2]==="FormData"&&e[ec])}const iR=e=>{const t=new Array(10),r=(n,i)=>{if(Za(n)){if(t.indexOf(n)>=0)return;if(Ka(n))return n;if(!("toJSON"in n)){t[i]=n;const s=Bs(n)?[]:{};return Ya(n,(a,o)=>{const u=r(a,i+1);!js(u)&&(s[o]=u)}),t[i]=void 0,s}}return n};return r(e,0)},sR=Kr("AsyncFunction"),aR=e=>e&&(Za(e)||sr(e))&&sr(e.then)&&sr(e.catch),a_=((e,t)=>e?setImmediate:t?((r,n)=>(Fi.addEventListener("message",({source:i,data:s})=>{i===Fi&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Fi.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",sr(Fi.postMessage)),oR=typeof queueMicrotask<"u"?queueMicrotask.bind(Fi):typeof process<"u"&&process.nextTick||a_,J={isArray:Bs,isArrayBuffer:e_,isBuffer:Ka,isFormData:Ik,isArrayBufferView:Tk,isString:$k,isNumber:t_,isBoolean:Ok,isObject:Za,isPlainObject:nc,isEmptyObject:Ck,isReadableStream:Mk,isRequest:Bk,isResponse:jk,isHeaders:Lk,isUndefined:js,isDate:Ak,isFile:Pk,isBlob:Nk,isRegExp:Xk,isFunction:sr,isStream:Rk,isURLSearchParams:Dk,isTypedArray:Gk,isFileList:kk,forEach:Ya,merge:qh,extend:qk,trim:Fk,stripBOM:Vk,inherits:Uk,toFlatObject:zk,kindOf:tc,kindOfTest:Kr,endsWith:Hk,toArray:Wk,forEachEntry:Jk,matchAll:Kk,isHTMLForm:Zk,hasOwnProperty:i_,hasOwnProp:i_,reduceDescriptors:s_,freezeMethods:Qk,toObjectSet:eR,toCamelCase:Yk,noop:tR,toFiniteNumber:rR,findKey:r_,global:Fi,isContextDefined:n_,isSpecCompliantForm:nR,toJSONObject:iR,isAsyncFn:sR,isThenable:aR,setImmediate:a_,asap:oR,isIterable:e=>e!=null&&sr(e[ec])};function De(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}J.inherits(De,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});const o_=De.prototype,u_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u_[e]={value:e}}),Object.defineProperties(De,u_),Object.defineProperty(o_,"isAxiosError",{value:!0}),De.from=(e,t,r,n,i,s)=>{const a=Object.create(o_);J.toFlatObject(e,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError");const o=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return De.call(a,o,u,r,n,i),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",s&&Object.assign(a,s),a};const uR=null;function Vh(e){return J.isPlainObject(e)||J.isArray(e)}function l_(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function c_(e,t,r){return e?e.concat(t).map(function(i,s){return i=l_(i),!r&&s?"["+i+"]":i}).join(r?".":""):t}function lR(e){return J.isArray(e)&&!e.some(Vh)}const cR=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function ic(e,t,r){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!J.isUndefined(p[y])});const n=r.metaTokens,i=r.visitor||c,s=r.dots,a=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(i))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(J.isDate(m))return m.toISOString();if(J.isBoolean(m))return m.toString();if(!u&&J.isBlob(m))throw new De("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(m)||J.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,y,p){let v=m;if(m&&!p&&typeof m=="object"){if(J.endsWith(y,"{}"))y=n?y:y.slice(0,-2),m=JSON.stringify(m);else if(J.isArray(m)&&lR(m)||(J.isFileList(m)||J.endsWith(y,"[]"))&&(v=J.toArray(m)))return y=l_(y),v.forEach(function(b,_){!(J.isUndefined(b)||b===null)&&t.append(a===!0?c_([y],_,s):a===null?y:y+"[]",l(b))}),!1}return Vh(m)?!0:(t.append(c_(p,y,s),l(m)),!1)}const h=[],d=Object.assign(cR,{defaultVisitor:c,convertValue:l,isVisitable:Vh});function f(m,y){if(!J.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(m),J.forEach(m,function(v,g){(!(J.isUndefined(v)||v===null)&&i.call(t,v,J.isString(g)?g.trim():g,y,d))===!0&&f(v,y?y.concat(g):[g])}),h.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return f(e),t}function f_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Uh(e,t){this._pairs=[],e&&ic(e,this,t)}const d_=Uh.prototype;d_.append=function(t,r){this._pairs.push([t,r])},d_.toString=function(t){const r=t?function(n){return t.call(this,n,f_)}:f_;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function fR(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function h_(e,t,r){if(!t)return e;const n=r&&r.encode||fR;J.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(t,r):s=J.isURLSearchParams(t)?t.toString():new Uh(t,r).toString(n),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class p_{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(n){n!==null&&t(n)})}}const m_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dR={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Uh,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},zh=typeof window<"u"&&typeof document<"u",Hh=typeof navigator=="object"&&navigator||void 0,hR=zh&&(!Hh||["ReactNative","NativeScript","NS"].indexOf(Hh.product)<0),pR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mR=zh&&window.location.href||"http://localhost",zt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zh,hasStandardBrowserEnv:hR,hasStandardBrowserWebWorkerEnv:pR,navigator:Hh,origin:mR},Symbol.toStringTag,{value:"Module"})),...dR};function gR(e,t){return ic(e,new zt.classes.URLSearchParams,{visitor:function(r,n,i,s){return zt.isNode&&J.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function vR(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yR(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n=r.length;return a=!a&&J.isArray(i)?i.length:a,u?(J.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!o):((!i[a]||!J.isObject(i[a]))&&(i[a]=[]),t(r,n,i[a],s)&&J.isArray(i[a])&&(i[a]=yR(i[a])),!o)}if(J.isFormData(e)&&J.isFunction(e.entries)){const r={};return J.forEachEntry(e,(n,i)=>{t(vR(n),i,r,0)}),r}return null}function bR(e,t,r){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Xa={transitional:m_,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return i?JSON.stringify(g_(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return gR(t,this.formSerializer).toString();if((o=J.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ic(o?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),bR(t)):t}],transformResponse:[function(t){const r=this.transitional||Xa.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(n&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(o){if(a)throw o.name==="SyntaxError"?De.from(o,De.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zt.classes.FormData,Blob:zt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Xa.headers[e]={}});const wR=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_R=e=>{const t={};let r,n,i;return e&&e.split(` +`).forEach(function(a){i=a.indexOf(":"),r=a.substring(0,i).trim().toLowerCase(),n=a.substring(i+1).trim(),!(!r||t[r]&&wR[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},v_=Symbol("internals");function Qa(e){return e&&String(e).trim().toLowerCase()}function sc(e){return e===!1||e==null?e:J.isArray(e)?e.map(sc):String(e)}function SR(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const ER=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wh(e,t,r,n,i){if(J.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!J.isString(t)){if(J.isString(n))return t.indexOf(n)!==-1;if(J.isRegExp(n))return n.test(t)}}function xR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function TR(e,t){const r=J.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,s,a){return this[n].call(this,t,i,s,a)},configurable:!0})})}let ar=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function s(o,u,l){const c=Qa(u);if(!c)throw new Error("header name must be a non-empty string");const h=J.findKey(i,c);(!h||i[h]===void 0||l===!0||l===void 0&&i[h]!==!1)&&(i[h||u]=sc(o))}const a=(o,u)=>J.forEach(o,(l,c)=>s(l,c,u));if(J.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(J.isString(t)&&(t=t.trim())&&!ER(t))a(_R(t),r);else if(J.isObject(t)&&J.isIterable(t)){let o={},u,l;for(const c of t){if(!J.isArray(c))throw TypeError("Object iterator must return a key-value pair");o[l=c[0]]=(u=o[l])?J.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}a(o,r)}else t!=null&&s(r,t,n);return this}get(t,r){if(t=Qa(t),t){const n=J.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return SR(i);if(J.isFunction(r))return r.call(this,i,n);if(J.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Qa(t),t){const n=J.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Wh(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function s(a){if(a=Qa(a),a){const o=J.findKey(n,a);o&&(!r||Wh(n,n[o],o,r))&&(delete n[o],i=!0)}}return J.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!t||Wh(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,n={};return J.forEach(this,(i,s)=>{const a=J.findKey(n,s);if(a){r[a]=sc(i),delete r[s];return}const o=t?xR(s):String(s).trim();o!==s&&delete r[s],r[o]=sc(i),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return J.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&J.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[v_]=this[v_]={accessors:{}}).accessors,i=this.prototype;function s(a){const o=Qa(a);n[o]||(TR(i,a),n[o]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}};ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),J.freezeMethods(ar);function Gh(e,t){const r=this||Xa,n=t||r,i=ar.from(n.headers);let s=n.data;return J.forEach(e,function(o){s=o.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function y_(e){return!!(e&&e.__CANCEL__)}function Ls(e,t,r){De.call(this,e??"canceled",De.ERR_CANCELED,t,r),this.name="CanceledError"}J.inherits(Ls,De,{__CANCEL__:!0});function b_(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new De("Request failed with status code "+r.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $R(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OR(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=n[s];a||(a=l),r[i]=u,n[i]=l;let h=s,d=0;for(;h!==i;)d+=r[h++],h=h%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-a{r=c,i=null,s&&(clearTimeout(s),s=null),e(...l)};return[(...l)=>{const c=Date.now(),h=c-r;h>=n?a(l,c):(i=l,s||(s=setTimeout(()=>{s=null,a(i)},n-h)))},()=>i&&a(i)]}const ac=(e,t,r=3)=>{let n=0;const i=OR(50,250);return CR(s=>{const a=s.loaded,o=s.lengthComputable?s.total:void 0,u=a-n,l=i(u),c=a<=o;n=a;const h={loaded:a,total:o,progress:o?a/o:void 0,bytes:u,rate:l||void 0,estimated:l&&o&&c?(o-a)/l:void 0,event:s,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(h)},r)},w_=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},__=e=>(...t)=>J.asap(()=>e(...t)),AR=zt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,zt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(zt.origin),zt.navigator&&/(msie|trident)/i.test(zt.navigator.userAgent)):()=>!0,PR=zt.hasStandardBrowserEnv?{write(e,t,r,n,i,s,a){if(typeof document>"u")return;const o=[`${e}=${encodeURIComponent(t)}`];J.isNumber(r)&&o.push(`expires=${new Date(r).toUTCString()}`),J.isString(n)&&o.push(`path=${n}`),J.isString(i)&&o.push(`domain=${i}`),s===!0&&o.push("secure"),J.isString(a)&&o.push(`SameSite=${a}`),document.cookie=o.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function NR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function S_(e,t,r){let n=!NR(t);return e&&(n||r==!1)?kR(e,t):t}const E_=e=>e instanceof ar?{...e}:e;function qi(e,t){t=t||{};const r={};function n(l,c,h,d){return J.isPlainObject(l)&&J.isPlainObject(c)?J.merge.call({caseless:d},l,c):J.isPlainObject(c)?J.merge({},c):J.isArray(c)?c.slice():c}function i(l,c,h,d){if(J.isUndefined(c)){if(!J.isUndefined(l))return n(void 0,l,h,d)}else return n(l,c,h,d)}function s(l,c){if(!J.isUndefined(c))return n(void 0,c)}function a(l,c){if(J.isUndefined(c)){if(!J.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,h){if(h in t)return n(l,c);if(h in e)return n(void 0,l)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(l,c,h)=>i(E_(l),E_(c),h,!0)};return J.forEach(Object.keys({...e,...t}),function(c){const h=u[c]||i,d=h(e[c],t[c],c);J.isUndefined(d)&&h!==o||(r[c]=d)}),r}const x_=e=>{const t=qi({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:o}=t;if(t.headers=a=ar.from(a),t.url=h_(S_(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),J.isFormData(r)){if(zt.hasStandardBrowserEnv||zt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(J.isFunction(r.getHeaders)){const u=r.getHeaders(),l=["content-type","content-length"];Object.entries(u).forEach(([c,h])=>{l.includes(c.toLowerCase())&&a.set(c,h)})}}if(zt.hasStandardBrowserEnv&&(n&&J.isFunction(n)&&(n=n(t)),n||n!==!1&&AR(t.url))){const u=i&&s&&PR.read(s);u&&a.set(i,u)}return t},RR=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const i=x_(e);let s=i.data;const a=ar.from(i.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=i,c,h,d,f,m;function y(){f&&f(),m&&m(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let p=new XMLHttpRequest;p.open(i.method.toUpperCase(),i.url,!0),p.timeout=i.timeout;function v(){if(!p)return;const b=ar.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),w={data:!o||o==="text"||o==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:b,config:e,request:p};b_(function(E){r(E),y()},function(E){n(E),y()},w),p=null}"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(v)},p.onabort=function(){p&&(n(new De("Request aborted",De.ECONNABORTED,e,p)),p=null)},p.onerror=function(_){const w=_&&_.message?_.message:"Network Error",S=new De(w,De.ERR_NETWORK,e,p);S.event=_||null,n(S),p=null},p.ontimeout=function(){let _=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const w=i.transitional||m_;i.timeoutErrorMessage&&(_=i.timeoutErrorMessage),n(new De(_,w.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,p)),p=null},s===void 0&&a.setContentType(null),"setRequestHeader"in p&&J.forEach(a.toJSON(),function(_,w){p.setRequestHeader(w,_)}),J.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),o&&o!=="json"&&(p.responseType=i.responseType),l&&([d,m]=ac(l,!0),p.addEventListener("progress",d)),u&&p.upload&&([h,f]=ac(u),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",f)),(i.cancelToken||i.signal)&&(c=b=>{p&&(n(!b||b.type?new Ls(null,e,p):b),p.abort(),p=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const g=$R(i.url);if(g&&zt.protocols.indexOf(g)===-1){n(new De("Unsupported protocol "+g+":",De.ERR_BAD_REQUEST,e));return}p.send(s||null)})},IR=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i;const s=function(l){if(!i){i=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof De?c:new Ls(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,s(new De(`timeout ${t} of ms exceeded`,De.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),e=null)};e.forEach(l=>l.addEventListener("abort",s));const{signal:u}=n;return u.unsubscribe=()=>J.asap(o),u}},DR=function*(e,t){let r=e.byteLength;if(r{const i=MR(e,t);let s=0,a,o=u=>{a||(a=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await i.next();if(l){o(),u.close();return}let h=c.byteLength;if(r){let d=s+=h;r(d)}u.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(u){return o(u),i.return()}},{highWaterMark:2})},$_=64*1024,{isFunction:oc}=J,jR=(({Request:e,Response:t})=>({Request:e,Response:t}))(J.global),{ReadableStream:O_,TextEncoder:C_}=J.global,A_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},LR=e=>{e=J.merge.call({skipUndefined:!0},jR,e);const{fetch:t,Request:r,Response:n}=e,i=t?oc(t):typeof fetch=="function",s=oc(r),a=oc(n);if(!i)return!1;const o=i&&oc(O_),u=i&&(typeof C_=="function"?(m=>y=>m.encode(y))(new C_):async m=>new Uint8Array(await new r(m).arrayBuffer())),l=s&&o&&A_(()=>{let m=!1;const y=new r(zt.origin,{body:new O_,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!y}),c=a&&o&&A_(()=>J.isReadableStream(new n("").body)),h={stream:c&&(m=>m.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!h[m]&&(h[m]=(y,p)=>{let v=y&&y[m];if(v)return v.call(y);throw new De(`Response type '${m}' is not supported`,De.ERR_NOT_SUPPORT,p)})});const d=async m=>{if(m==null)return 0;if(J.isBlob(m))return m.size;if(J.isSpecCompliantForm(m))return(await new r(zt.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(J.isArrayBufferView(m)||J.isArrayBuffer(m))return m.byteLength;if(J.isURLSearchParams(m)&&(m=m+""),J.isString(m))return(await u(m)).byteLength},f=async(m,y)=>{const p=J.toFiniteNumber(m.getContentLength());return p??d(y)};return async m=>{let{url:y,method:p,data:v,signal:g,cancelToken:b,timeout:_,onDownloadProgress:w,onUploadProgress:S,responseType:E,headers:$,withCredentials:C="same-origin",fetchOptions:P}=x_(m),A=t||fetch;E=E?(E+"").toLowerCase():"text";let k=IR([g,b&&b.toAbortSignal()],_),D=null;const U=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let q;try{if(S&&l&&p!=="get"&&p!=="head"&&(q=await f($,v))!==0){let j=new r(y,{method:"POST",body:v,duplex:"half"}),K;if(J.isFormData(v)&&(K=j.headers.get("content-type"))&&$.setContentType(K),j.body){const[B,R]=w_(q,ac(__(S)));v=T_(j.body,$_,B,R)}}J.isString(C)||(C=C?"include":"omit");const ee=s&&"credentials"in r.prototype,Z={...P,signal:k,method:p.toUpperCase(),headers:$.normalize().toJSON(),body:v,duplex:"half",credentials:ee?C:void 0};D=s&&new r(y,Z);let Q=await(s?A(D,P):A(y,Z));const ae=c&&(E==="stream"||E==="response");if(c&&(w||ae&&U)){const j={};["status","statusText","headers"].forEach(M=>{j[M]=Q[M]});const K=J.toFiniteNumber(Q.headers.get("content-length")),[B,R]=w&&w_(K,ac(__(w),!0))||[];Q=new n(T_(Q.body,$_,B,()=>{R&&R(),U&&U()}),j)}E=E||"text";let W=await h[J.findKey(h,E)||"text"](Q,m);return!ae&&U&&U(),await new Promise((j,K)=>{b_(j,K,{data:W,headers:ar.from(Q.headers),status:Q.status,statusText:Q.statusText,config:m,request:D})})}catch(ee){throw U&&U(),ee&&ee.name==="TypeError"&&/Load failed|fetch/i.test(ee.message)?Object.assign(new De("Network Error",De.ERR_NETWORK,m,D),{cause:ee.cause||ee}):De.from(ee,ee&&ee.code,m,D)}}},FR=new Map,P_=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:i}=t,s=[n,i,r];let a=s.length,o=a,u,l,c=FR;for(;o--;)u=s[o],l=c.get(u),l===void 0&&c.set(u,l=o?new Map:LR(t)),c=l;return l};P_();const Jh={http:uR,xhr:RR,fetch:{get:P_}};J.forEach(Jh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const N_=e=>`- ${e}`,qR=e=>J.isFunction(e)||e===null||e===!1;function VR(e,t){e=J.isArray(e)?e:[e];const{length:r}=e;let n,i;const s={};for(let a=0;a`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=r?a.length>1?`since : +`+a.map(N_).join(` +`):" "+N_(a[0]):"as no adapter specified";throw new De("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i}const k_={getAdapter:VR,adapters:Jh};function Kh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ls(null,e)}function R_(e){return Kh(e),e.headers=ar.from(e.headers),e.data=Gh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),k_.getAdapter(e.adapter||Xa.adapter,e)(e).then(function(n){return Kh(e),n.data=Gh.call(e,e.transformResponse,n),n.headers=ar.from(n.headers),n},function(n){return y_(n)||(Kh(e),n&&n.response&&(n.response.data=Gh.call(e,e.transformResponse,n.response),n.response.headers=ar.from(n.response.headers))),Promise.reject(n)})}const I_="1.13.1",uc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const D_={};uc.transitional=function(t,r,n){function i(s,a){return"[Axios v"+I_+"] Transitional option '"+s+"'"+a+(n?". "+n:"")}return(s,a,o)=>{if(t===!1)throw new De(i(a," has been removed"+(r?" in "+r:"")),De.ERR_DEPRECATED);return r&&!D_[a]&&(D_[a]=!0,console.warn(i(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,a,o):!0}},uc.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function UR(e,t,r){if(typeof e!="object")throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const s=n[i],a=t[s];if(a){const o=e[s],u=o===void 0||a(o,s,e);if(u!==!0)throw new De("option "+s+" must be "+u,De.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new De("Unknown option "+s,De.ERR_BAD_OPTION)}}const lc={assertOptions:UR,validators:uc},hn=lc.validators;let Vi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new p_,response:new p_}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+s):n.stack=s}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=qi(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&lc.assertOptions(n,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),i!=null&&(J.isFunction(i)?r.paramsSerializer={serialize:i}:lc.assertOptions(i,{encode:hn.function,serialize:hn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),lc.assertOptions(r,{baseUrl:hn.spelling("baseURL"),withXsrfToken:hn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=s&&J.merge(s.common,s[r.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),r.headers=ar.concat(a,s);const o=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(u=u&&y.synchronous,o.unshift(y.fulfilled,y.rejected))});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,h=0,d;if(!u){const m=[R_.bind(this),void 0];for(m.unshift(...o),m.push(...l),d=m.length,c=Promise.resolve(r);h{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(o=>{n.subscribe(o),s=o}).then(i);return a.cancel=function(){n.unsubscribe(s)},a},t(function(s,a,o){n.reason||(n.reason=new Ls(s,a,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new U_(function(i){t=i}),cancel:t}}};function HR(e){return function(r){return e.apply(null,r)}}function WR(e){return J.isObject(e)&&e.isAxiosError===!0}const Zh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Zh).forEach(([e,t])=>{Zh[t]=e});function M_(e){const t=new Vi(e),r=X2(Vi.prototype.request,t);return J.extend(r,Vi.prototype,t,{allOwnKeys:!0}),J.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return M_(qi(e,i))},r}const mt=M_(Xa);mt.Axios=Vi,mt.CanceledError=Ls,mt.CancelToken=zR,mt.isCancel=y_,mt.VERSION=I_,mt.toFormData=ic,mt.AxiosError=De,mt.Cancel=mt.CanceledError,mt.all=function(t){return Promise.all(t)},mt.spread=HR,mt.isAxiosError=WR,mt.mergeConfig=qi,mt.AxiosHeaders=ar,mt.formToJSON=e=>g_(J.isHTMLForm(e)?new FormData(e):e),mt.getAdapter=k_.getAdapter,mt.HttpStatusCode=Zh,mt.default=mt;const{Axios:zD,AxiosError:HD,CanceledError:WD,isCancel:GD,CancelToken:JD,VERSION:KD,all:ZD,Cancel:YD,isAxiosError:XD,spread:QD,toFormData:e5,AxiosHeaders:t5,HttpStatusCode:r5,formToJSON:n5,getAdapter:i5,mergeConfig:s5}=mt;function GR(e){const t=L(()=>{try{return JSON.parse(e.jsonSchema)}catch(s){console.warn("Could not parse JSON Schema",s);return}}),r=L(()=>{if(e.uiSchema)try{return JSON.parse(e.uiSchema)}catch(s){console.warn("Could not parse UI Schema",s);return}}),n=L(()=>{if(e.presetData)try{return JSON.parse(e.presetData)}catch(s){console.warn("Could not parse pre-set data",s);return}}),i=L(()=>e.returnDataAsScopes===!0||e.returnDataAsScopes==="true");return{jsonSchema:t,uiSchema:r,presetData:n,returnDataAsScopes:i}}function JR(e){return async function(r,n){n.action==="request"&&n.request?.url?await mt(n.request.url,{method:n.request.method||"POST",headers:n.request.headers,data:r}):e("submit",r,n),e("afterSubmitted",r,n)}}const KR=sE(ce({__name:"Webcomponent.ce",props:{jsonSchema:{type:String},uiSchema:{type:String},presetData:{type:String},returnDataAsScopes:{type:[Boolean,String]}},emits:["submit","afterSubmitted"],setup(e,{emit:t}){const r=e,n=t,{jsonSchema:i,uiSchema:s,presetData:a,returnDataAsScopes:o}=GR(r),u=[GP,iN,Dh],l=JR(n);return(c,h)=>x(i)?(V(),ie(x(Ek),{key:0,"json-schema":x(i),"ui-schema":x(s),"preset-data":x(a),"return-data-as-scopes":x(o),mappers:u,onSubmitForm:x(l)},{default:le(()=>[he(c.$slots,"default")]),_:3},8,["json-schema","ui-schema","preset-data","return-data-as-scopes","onSubmitForm"])):xe("",!0)}}),{shadowRoot:!1});customElements.define("vue-json-form",KR);const Yh=ce({__name:"HelpPopover",setup(e){const{layoutElement:t}=gr();return(r,n)=>x(t)?.options?.help?.text?(V(),ie(x(S6),{key:0},{target:le(()=>[Ee(x($6),{pill:"",variant:x(t).options.help.variant??"primary"},{default:le(()=>[ke(ge(x(t).options.help.label??"i"),1)]),_:1},8,["variant"])]),default:le(()=>[ke(" "+ge(x(t).options.help.text),1)]),_:1})):xe("",!0)}}),ZR=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"CheckboxControl",setup(e){const{formData:t}=gt(ir()),{layoutElement:r,savePath:n}=gr(),i=Jr(n),s=Ql(r);return(a,o)=>(V(),ie(x(Og),{modelValue:x(t)[x(n)],"onUpdate:modelValue":o[0]||(o[0]=u=>x(t)[x(n)]=u),class:"vjf_checkbox",id:x(i)},{default:le(()=>[ke(ge(x(s))+" ",1),Ee(Yh)]),_:1},8,["modelValue","id"]))}})},Symbol.toStringTag,{value:"Module"})),YR=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"CheckboxGroupControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i);let a=L(()=>F2(r.value)?r.value.items.enum.map(u=>{const l=(Ut(n.value,"enumTitles")||{})[u]||u;return{value:u,text:l}})||[]:[]);const o=Se([]);return et(o,u=>{F2(r.value)&&(t.value[i]=r.value.items.enum.filter(l=>u.includes(l)))}),(u,l)=>(V(),ie(x(H6),{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value=c),options:x(a),class:"vjf_checkboxGroup",id:x(s),stacked:x(Ut)(x(n),"stacked"),buttons:x(Ut)(x(n),"displayAs")==="buttons",switches:x(Ut)(x(n),"displayAs")==="switches","button-variant":x(Ut)(x(n),"buttonVariant")||"primary"},null,8,["modelValue","options","id","stacked","buttons","switches","button-variant"]))}})},Symbol.toStringTag,{value:"Module"})),XR=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"FileControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i),a=lt(C2),o=L(()=>r.value.type==="array"),u=L(()=>r.value.minItems),l=L(()=>r.value.maxItems);et(()=>t.value[i],h=>{c(h)},{deep:!0});function c(h){const{maxFileSize:d}=n.value.options||{},f=document.getElementById(s.value);if(o.value){if(l.value&&(h.length||0)>l.value){f?.setCustomValidity(a?.getStringTemplate("errors.fileUpload.tooManyFiles",l.value)||"");return}else if(u.value&&(h?.length||0)y.size>d);if(m.length>0){f?.setCustomValidity(a?.getStringTemplate("errors.fileUpload.fileTooLarge",(d/1024/1024).toFixed(2),m.map(y=>y.name).join(", "))||"");return}}f?.setCustomValidity("")}return(h,d)=>(V(),ie(x(J6),{modelValue:x(t)[x(i)],"onUpdate:modelValue":d[0]||(d[0]=f=>x(t)[x(i)]=f),id:x(s),ref:"fileUpload",class:"vjf_file",multiple:o.value,accept:x(Ut)(x(n),"acceptedFileType")},null,8,["modelValue","id","multiple","accept"]))}})},Symbol.toStringTag,{value:"Module"})),QR=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"NumberControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i),a=L(()=>r.value.type==="integer"?r.value.multipleOf||1:r.value.multipleOf||1e-22);return(o,u)=>(V(),ie(x(kg),{modelValue:x(t)[x(i)],"onUpdate:modelValue":u[0]||(u[0]=l=>x(t)[x(i)]=l),modelModifiers:{number:!0},class:"vjf_input",id:x(s),step:a.value,min:x(r).minimum,max:x(r).maximum,type:x(Ut)(x(n),"range",!1)?"range":"number"},null,8,["modelValue","id","step","min","max","type"]))}})},Symbol.toStringTag,{value:"Module"})),eI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"ObjectControl",setup(e){const{jsonElement:t,layoutElement:r,savePath:n}=gr(),i=Jr(n),s=Se(void 0);function a(){const o={scopeBase:r.value.scope,layoutType:"Group",groupLabel:r.value.options?.label!==!1?Ql(r).value:"",groupDescription:t.value.description},u=N2(t.value,o);s.value?JSON.stringify(s.value)!==JSON.stringify(u.layout)&&(s.value=u.layout):s.value=u.layout}return et([()=>t.value,()=>r.value],a,{deep:!0}),xn(a),(o,u)=>s.value?(V(),ie(Ja,{class:"vjf_object",id:x(i),key:x(r).scope,"layout-element":s.value},null,8,["id","layout-element"])):xe("",!0)}})},Symbol.toStringTag,{value:"Module"})),tI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"RadiobuttonControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i),a=L(()=>!kt(r.value,"enum")||!Array.isArray(r.value.enum)?[]:r.value.enum.map(u=>{const l=(Li(n.value,"enumTitles")&&n.value.options.enumTitles||{})[u]||u;return{value:u,text:l}})||[]),o=L(()=>{let u=Ut(n.value,"stacked",!1);return fN(n.value.options)?{displayAs:"buttons",buttonVariant:Ut(n.value,"buttonVariant","primary"),stacked:u}:{stacked:u}});return et(()=>r.value.enum,()=>{r.value.enum&&!r.value.enum.includes(t.value[i])&&(t.value[i]=void 0)}),(u,l)=>(V(),ie(x(sT),{modelValue:x(t)[x(i)],"onUpdate:modelValue":l[0]||(l[0]=c=>x(t)[x(i)]=c),options:a.value,class:"vjf_radioGroup w-100",id:x(s),buttons:o.value.displayAs==="buttons","button-variant":o.value.buttonVariant||"primary",stacked:o.value.stacked},null,8,["modelValue","options","id","buttons","button-variant","stacked"]))}})},Symbol.toStringTag,{value:"Module"})),rI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"SelectControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i),a=L(()=>r.value.enum?Li(n.value,"enumTitles")?r.value.enum.map(o=>typeof o!="string"&&typeof o!="number"?o:{value:o,text:(n.value.options?.enumTitles)[o]||o}):r.value.enum:[]);return et(()=>r.value.enum,()=>{r.value.enum&&!r.value.enum.includes(t.value[i])&&(t.value[i]=void 0)}),(o,u)=>(V(),ie(x(lT),{modelValue:x(t)[x(i)],"onUpdate:modelValue":u[0]||(u[0]=l=>x(t)[x(i)]=l),options:a.value,class:"vjf_select",id:x(s)},null,8,["modelValue","options","id"]))}})},Symbol.toStringTag,{value:"Module"})),nI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"StringControl",setup(e){const{formData:t}=gt(ir()),{jsonElement:r,layoutElement:n,savePath:i}=gr(),s=Jr(i),a=L(()=>n.value.options||{}),o=L(()=>{const u=a.value.format||r.value.format?.replace("date-time","datetime-local");if(pN(u))return u});return(u,l)=>a.value.multi?(V(),ie(x(CT),{key:0,modelValue:x(t)[x(i)],"onUpdate:modelValue":l[0]||(l[0]=c=>x(t)[x(i)]=c),class:"vjf_textarea",id:x(s),minlength:x(r).minLength,maxlength:x(r).maxLength},null,8,["modelValue","id","minlength","maxlength"])):(V(),ie(x(kg),{key:1,modelValue:x(t)[x(i)],"onUpdate:modelValue":l[1]||(l[1]=c=>x(t)[x(i)]=c),class:"vjf_input",id:x(s),minlength:x(r).minLength,maxlength:x(r).maxLength,step:x(r).multipleOf,min:x(r).minimum,max:x(r).maximum,type:o.value,pattern:x(r).pattern},null,8,["modelValue","id","minlength","maxlength","step","min","max","type","pattern"]))}})},Symbol.toStringTag,{value:"Module"})),iI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"TagsControl",setup(e){const{formData:t}=gt(ir()),{layoutElement:r,savePath:n}=gr(),i=Jr(n);return(s,a)=>(V(),ie(x(TT),{variant:"",modelValue:x(t)[x(n)],"onUpdate:modelValue":a[0]||(a[0]=o=>x(t)[x(n)]=o),separator:" ",id:x(i),class:"vjf_tags",tagPills:x(Li)(x(r),"tags")&&x(r).options?.tags?.pills,tagVariant:x(Li)(x(r),"tags")?x(r).options?.tags?.variant:void 0},null,8,["modelValue","id","tagPills","tagVariant"]))}})},Symbol.toStringTag,{value:"Module"}));function sI(e,t){return e.type==="object"||e.type==="array"&&!(Mh(e)&&e.items.enum)&&!e.enum&&!(Li(t,"tags")&&t.options.tags?.enabled)&&!(Mh(e)&&e.items.type==="string"&&e.items.format==="uri"&&t.options?.displayAsSingleUploadField)}function aI(e,t){return L(()=>sI(e.value,t.value))}const oI={key:1},uI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"FormFieldWrapper",props:{label:{},labelFor:{}},setup(e){const t=e,{jsonElement:r,layoutElement:n}=gr(),i=aI(r,n),s=L(()=>r.value.type==="boolean"||n.value.options?.label===!1||i.value),a=en(),o=L(()=>!!(a.prepend||a.append||n.value.options?.prepend||n.value.options?.append));return(u,l)=>(V(),ie(x(Z6),{"label-for":t.labelFor,description:x(i)?void 0:x(r).description},{label:le(()=>[_n(we("span",null,[ke(ge(t.label)+" ",1),Ee(Yh)],512),[[rs,!s.value]])]),default:le(()=>[o.value?(V(),ie(x(NT),{key:0},{default:le(()=>[he(u.$slots,"prepend",{},()=>[x(n).options?.prepend?(V(),ie(x(Rg),{key:0},{default:le(()=>[ke(ge(x(n).options.prepend),1)]),_:1})):xe("",!0)]),he(u.$slots,"default"),he(u.$slots,"append",{},()=>[x(n).options?.append?(V(),ie(x(Rg),{key:0},{default:le(()=>[ke(ge(x(n).options.append),1)]),_:1})):xe("",!0)])]),_:3})):(V(),oe("div",oI,[he(u.$slots,"default")]))]),_:3},8,["label-for","description"]))}})},Symbol.toStringTag,{value:"Module"})),B_=ce({__name:"ErrorViewer",props:{header:{}},setup(e){const t=e;return(r,n)=>(V(),ie(x(M6),{class:"vjw_errorViewer","header-bg-variant":"danger","header-text-variant":"white",header:t.header,"header-border-variant":"danger","border-variant":"danger"},{default:le(()=>[he(r.$slots,"default")]),_:3},8,["header"]))}}),lI=Object.freeze(Object.defineProperty({__proto__:null,default:B_},Symbol.toStringTag,{value:"Module"})),cI={key:0},fI={key:1},dI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"VJFButton",props:{layoutElement:{},waiting:{type:Boolean}},setup(e){const t=e,{currentWizardPage:r,uiSchema:n,wizardValidateFunctions:i,formStateWasValidated:s}=gt(Gr()),a=Ga(t.layoutElement),o=L(()=>{if(["submit","reset","button"].includes(t.layoutElement.buttonType))return t.layoutElement.buttonType}),u=L(()=>n.value?.type!=="Wizard"?Number.MAX_SAFE_INTEGER:n.value.pages.length-1);function l(){if(t.layoutElement.buttonType==="previousWizardPage")r.value=Math.max(r.value-1,0);else if(t.layoutElement.buttonType==="nextWizardPage"){if(i.value[r.value]?.())s.value=!1;else return;r.value=Math.min(r.value+1,u.value)}}return(c,h)=>(V(),ie(x(zm),{variant:e.layoutElement.options?.variant,type:o.value,class:Pe(x(a)),onClick:l},{default:le(()=>[e.waiting?(V(),oe("span",fI,[Ee(x(Lm),{small:""})])):(V(),oe("span",cI,ge(e.layoutElement.text),1))]),_:1},8,["variant","type","class"]))}})},Symbol.toStringTag,{value:"Module"})),hI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"ButtonGroup",props:{layoutElement:{}},setup(e){return(t,r)=>(V(),ie(x(C6),{class:"w-100",vertical:e.layoutElement.options?.vertical},{default:le(()=>[(V(!0),oe(Re,null,Tt(e.layoutElement.buttons,n=>(V(),ie(G2,{key:n.text,layoutElement:n},null,8,["layoutElement"]))),128))]),_:1},8,["vertical"]))}})},Symbol.toStringTag,{value:"Module"})),pI=Object.freeze(Object.defineProperty({__proto__:null,default:Yh},Symbol.toStringTag,{value:"Module"})),mI={class:"text-muted"},gI=Object.freeze(Object.defineProperty({__proto__:null,default:ce({__name:"DefaultControl",setup(e){const{jsonElement:t}=gr();return(r,n)=>(V(),ie(B_,{header:"Unsupported"},{default:le(()=>[n[0]||(n[0]=we("p",null,"This field type is not supported!",-1)),we("p",mI,ge(x(t)),1)]),_:1}))}})},Symbol.toStringTag,{value:"Module"}))}); //# sourceMappingURL=vue-json-form.umd.js.map diff --git a/src/edi/jsonforms/views/json_schema_view.py b/src/edi/jsonforms/views/json_schema_view.py index a6c1a8a..4990f03 100644 --- a/src/edi/jsonforms/views/json_schema_view.py +++ b/src/edi/jsonforms/views/json_schema_view.py @@ -437,11 +437,7 @@ def create_and_check_id(self, object): return id def get_option_name(self, option): - parent_selectionfield = option.aq_parent - if parent_selectionfield.use_id_in_schema: - return create_id(option) - else: - return option.title + return get_option_name(option) def _get_option_order_map(self, selectionfield): order_map = {} @@ -485,6 +481,12 @@ def add_title_and_description(self, schema, child): return schema +def get_option_name(option): + parent_selectionfield = option.aq_parent + if parent_selectionfield.use_id_in_schema: + return create_id(option) + else: + return option.title def check_for_dependencies(child_object): if child_object.dependencies is not None and child_object.dependencies != []: diff --git a/src/edi/jsonforms/views/ui_schema_view.py b/src/edi/jsonforms/views/ui_schema_view.py index 36d73dc..22ab436 100644 --- a/src/edi/jsonforms/views/ui_schema_view.py +++ b/src/edi/jsonforms/views/ui_schema_view.py @@ -6,11 +6,14 @@ from Products.Five.browser import BrowserView import json -from edi.jsonforms import _ from edi.jsonforms.views.common import * from edi.jsonforms.views.showOn_properties import create_showon_properties from edi.jsonforms.content.option_list import get_keys_and_values_for_options_list +from plone.base.utils import safe_hasattr + +from edi.jsonforms.views.json_schema_view import get_option_name + class UiSchemaView(BrowserView): tools_on = False @@ -190,6 +193,20 @@ def get_schema_for_selectionfield(self, selectionfield, scope): zip(keys, vals) ) + option_filters = {} + options = selectionfield.getFolderContents() + for option in options: + o = option.getObject() + if safe_hasattr(o, "ritarules"): + try: + formatted_rita_rule = json.loads(o.ritarules) + option_filters[get_option_name(o)] = formatted_rita_rule + except (json.JSONDecodeError, TypeError, ValueError): + print(f"Invalid rita rule for option {get_option_name(o)}") + pass + if option_filters: + selectionfield_schema["options"]["optionFilters"] = option_filters + if selectionfield_schema["options"] == {}: del selectionfield_schema["options"]