diff --git a/css/password_policy-settings.css b/css/password_policy-settings.css index 340d48ee..6980e7d4 100644 --- a/css/password_policy-settings.css +++ b/css/password_policy-settings.css @@ -1,2 +1,2 @@ /* extracted by css-entry-points-plugin */ -@import './settings-C1bZls6f.chunk.css'; \ No newline at end of file +@import './settings-D9-5czT5.chunk.css'; \ No newline at end of file diff --git a/css/settings-C1bZls6f.chunk.css b/css/settings-C1bZls6f.chunk.css deleted file mode 100644 index 0c367556..00000000 --- a/css/settings-C1bZls6f.chunk.css +++ /dev/null @@ -1,4 +0,0 @@ -.material-design-icon[data-v-56b92b56]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-56b92b56]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-56b92b56]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-56b92b56]{max-width:900px}.settings-section__name[data-v-56b92b56]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;max-width:900px;margin-top:0}.settings-section__info[data-v-56b92b56]{display:flex;align-items:center;justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--default-clickable-area) - 16px) / 2 * -1);margin-inline-start:0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-56b92b56]:hover,.settings-section__info[data-v-56b92b56]:focus,.settings-section__info[data-v-56b92b56]:active{color:var(--color-main-text)}.settings-section__desc[data-v-56b92b56]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.material-design-icon[data-v-c3872a2f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-c3872a2f]{--button-size: var(--default-clickable-area);--button-inner-size: calc(var(--button-size) - 4px);--button-radius: var(--border-radius-element, calc(var(--button-size) / 2));--button-padding-default: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));--button-padding: var(--default-grid-baseline) var(--button-padding-default);color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light);border:1px solid var(--color-primary-element-light-hover);border-bottom-width:2px;border-radius:var(--button-radius);box-sizing:border-box;position:relative;width:fit-content;overflow:hidden;padding-block:1px 0;padding-inline:var(--button-padding);min-height:var(--button-size);min-width:var(--button-size);display:flex;align-items:center;justify-content:center;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;cursor:pointer;font-size:var(--default-font-size);font-weight:700}.button-vue--size-small[data-v-c3872a2f]{--button-size: var(--clickable-area-small, 24px);--button-radius: var(--border-radius)}.button-vue--size-large[data-v-c3872a2f]{--button-size: var(--clickable-area-large, 48px)}.button-vue[data-v-c3872a2f],.button-vue[data-v-c3872a2f] *{cursor:pointer}.button-vue[data-v-c3872a2f]:focus{outline:none}.button-vue[data-v-c3872a2f]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue[data-v-c3872a2f]:disabled *{cursor:default}.button-vue[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-c3872a2f]:active:not(:disabled){background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-c3872a2f]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-c3872a2f]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-c3872a2f]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-c3872a2f]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-c3872a2f]{--button-padding: var(--button-padding-default) var(--default-grid-baseline)}.button-vue__icon[data-v-c3872a2f]{--default-clickable-area: var(--button-inner-size);height:var(--button-inner-size);width:var(--button-inner-size);min-height:var(--button-inner-size);min-width:var(--button-inner-size);display:flex;justify-content:center;align-items:center}.button-vue--size-small .button-vue__icon[data-v-c3872a2f]>*{max-height:16px;max-width:16px}.button-vue--size-small .button-vue__icon[data-v-c3872a2f] svg{height:16px;width:16px}.button-vue__text[data-v-c3872a2f]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-c3872a2f]{--button-padding: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));line-height:1;width:var(--button-size)!important}.button-vue--text-only[data-v-c3872a2f]{--button-padding: var(--button-padding-default)}.button-vue--text-only .button-vue__text[data-v-c3872a2f]{margin-inline:4px}.button-vue--wide[data-v-c3872a2f]{width:100%}.button-vue[data-v-c3872a2f]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius-element, var(--border-radius));background-color:transparent}.button-vue--vue-primary[data-v-c3872a2f]{background-color:var(--color-primary-element);border-color:var(--color-primary-element-hover);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-c3872a2f]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-c3872a2f]{background-color:var(--color-primary-element-light);border-color:var(--color-primary-element-light-hover);color:var(--color-primary-element-light-text)}.button-vue--vue-secondary[data-v-c3872a2f]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--tertiary[data-v-c3872a2f],.button-vue--vue-tertiary[data-v-c3872a2f]{background-color:transparent;border-color:transparent;color:var(--color-main-text)}.button-vue--tertiary[data-v-c3872a2f]:hover:not(:disabled),.button-vue--vue-tertiary[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--tertiary[data-v-c3872a2f]:not(.button-vue--legacy34):hover:not(:disabled){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.button-vue--vue-tertiary-no-background[data-v-c3872a2f]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]{color:var(--color-primary-element-text)}.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-c3872a2f]{background-color:var(--color-success);border-color:var(--color-success-hover);color:var(--color-success-text)}.button-vue--vue-success[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-c3872a2f]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-c3872a2f]{background-color:var(--color-warning);border-color:var(--color-warning-hover);color:var(--color-warning-text)}.button-vue--vue-warning[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-c3872a2f]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-c3872a2f]{background-color:var(--color-error);border-color:var(--color-error-hover);color:var(--color-error-text)}.button-vue--vue-error[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-c3872a2f]:active{background-color:var(--color-error)}.button-vue--legacy[data-v-c3872a2f]{--button-inner-size: var(--button-size);border:none;padding-block:0}.button-vue--legacy.button-vue--vue-error[data-v-c3872a2f],.button-vue--legacy.button-vue--vue-success[data-v-c3872a2f],.button-vue--legacy.button-vue--vue-warning[data-v-c3872a2f]{color:#fff}.material-design-icon[data-v-3fb1ae25]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-content[data-v-3fb1ae25]{display:flex;align-items:center;flex-direction:row;gap:var(--default-grid-baseline);-webkit-user-select:none;user-select:none;min-height:var(--default-clickable-area);border-radius:var(--checkbox-radio-switch--border-radius);padding:var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);width:100%;max-width:fit-content}.checkbox-content__wrapper[data-v-3fb1ae25]{flex:1 0}.checkbox-content__text[data-v-3fb1ae25]:empty{display:none}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25]{margin-block:calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto;line-height:0}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25]{display:flex;align-items:center;margin-block-end:0;align-self:start}.checkbox-content__icon>*[data-v-3fb1ae25]{width:var(--icon-size);height:var(--icon-height);color:var(--color-primary-element)}.checkbox-content__description[data-v-3fb1ae25]{display:block;color:var(--color-text-maxcontrast)}.checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked)>*[data-v-3fb1ae25]{color:var(--color-primary-element)}.checkbox-content--button-variant .checkbox-content__icon--checked>*[data-v-3fb1ae25]{color:var(--color-primary-element-text)}.checkbox-content--has-text[data-v-3fb1ae25]{padding-right:calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-content[data-v-3fb1ae25],.checkbox-content *[data-v-3fb1ae25]{cursor:pointer;flex-shrink:0}.material-design-icon[data-v-f21394d2]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-radio-switch[data-v-f21394d2]{--icon-size: var(--356a9460);--icon-height: var(--ab21a194);display:flex;align-items:center;color:var(--color-main-text);background-color:transparent;box-sizing:border-box;font-size:var(--default-font-size);line-height:var(--default-line-height);padding:0;position:relative}.checkbox-radio-switch *[data-v-f21394d2]{box-sizing:border-box}.checkbox-radio-switch__input[data-v-f21394d2]{position:absolute;z-index:-1;opacity:0!important;width:var(--icon-size);height:var(--icon-size);margin:4px calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-radio-switch__input:focus-visible+.checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch__input[data-v-f21394d2]:focus-visible{outline:2px solid var(--color-main-text);border-color:var(--color-main-background);outline-offset:-2px}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-f21394d2]{opacity:.5}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-f21394d2] .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-f21394d2],.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-f21394d2] *:not(a){cursor:default!important}.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-background-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-primary-element-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-primary-element-light-hover)}.checkbox-radio-switch-switch[data-v-f21394d2]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-text-maxcontrast)}.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-f21394d2] .checkbox-radio-switch__icon>*{color:var(--color-primary-element-light)}.checkbox-radio-switch[data-v-f21394d2]{--checkbox-radio-switch--border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px)}.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-f21394d2]{background-color:var(--color-main-background);border:2px solid var(--color-border-maxcontrast);overflow:hidden}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-f21394d2]{font-weight:700}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-f21394d2]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.checkbox-radio-switch--button-variant[data-v-f21394d2] .checkbox-radio-switch__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.checkbox-radio-switch--button-variant[data-v-f21394d2]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--button-variant[data-v-f21394d2] .checkbox-radio-switch__icon:empty{display:none}.checkbox-radio-switch--button-variant[data-v-f21394d2]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),.checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-f21394d2]{border-radius:var(--checkbox-radio-switch--border-radius)}.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-f21394d2]{flex-basis:100%;max-width:unset}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:last-of-type{border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:not(:last-of-type){border-bottom:0!important}.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-f21394d2]{margin-bottom:2px}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:not(:first-of-type){border-top:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:last-of-type{border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:not(:last-of-type){border-inline-end:0!important}.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-f21394d2]{margin-inline-end:2px}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:not(:first-of-type){border-inline-start:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2] .checkbox-radio-switch__text{text-align:center;display:flex;align-items:center}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-f21394d2]{flex-direction:column;justify-content:center;width:100%;margin:0;gap:0}._material-design-icon_YB2B5{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._iconToggleSwitch_ZSKWf{color:var(--2d1b8583);transition:color var(--animation-quick) ease}._iconToggleSwitch_ZSKWf svg{height:auto!important}._iconToggleSwitch_ZSKWf circle{cx:var(--78386a55);transition:cx var(--animation-quick) ease}.material-design-icon[data-v-4625d649]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-4625d649]{--icon-size: var(--dad67fa8);display:flex;justify-content:center;align-items:center;min-width:var(--default-clickable-area);min-height:var(--default-clickable-area);opacity:1}.icon-vue--inline[data-v-4625d649]{display:inline-flex;min-width:fit-content;min-height:fit-content;vertical-align:text-bottom}.icon-vue span[data-v-4625d649]{line-height:0}.icon-vue[data-v-4625d649] svg{fill:currentColor;width:var(--icon-size, 20px);height:var(--icon-size, 20px);max-width:var(--icon-size, 20px);max-height:var(--icon-size, 20px)}.icon-vue--directional[data-v-4625d649] svg:dir(rtl){transform:scaleX(-1)}.material-design-icon[data-v-94ff8098]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-94ff8098]{overflow:hidden}.loading-icon svg[data-v-94ff8098]{animation:rotate var(--animation-duration, .8s) linear infinite}.material-design-icon[data-v-2bc46a58]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}/*! - * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors - * SPDX-License-Identifier: AGPL-3.0-or-later - */.input-field[data-v-2bc46a58]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-large);--input-padding-end: var(--border-radius-large);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-2bc46a58]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-2bc46a58]{margin-block-start:0}.input-field--leading-icon[data-v-2bc46a58]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-2bc46a58]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-2bc46a58]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-2bc46a58]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-2bc46a58]{--input-border-box-shadow-light: 0 -1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.input-field__input[data-v-2bc46a58]:hover:not([disabled]){box-shadow:0 0 0 1px var(--input-border-color)}@media(prefers-color-scheme:dark){.input-field__input .input-field__input[data-v-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-2bc46a58]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-2bc46a58]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-2bc46a58]:focus-within:not([disabled]),.input-field__input[data-v-2bc46a58]:active:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color),0 0 0 4px var(--color-main-background)!important}.input-field__input[data-v-2bc46a58]{background-color:var(--color-main-background);color:var(--color-main-text);border-radius:var(--input-border-radius);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important;appearance:textfield!important;font-size:var(--default-font-size);text-overflow:ellipsis;padding-block:0;padding-inline:var(--input-padding-start) var(--input-padding-end);height:100%!important;min-height:unset;width:100%}.input-field__input[data-v-2bc46a58]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-2bc46a58]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-2bc46a58]::-webkit-search-decoration,.input-field__input[data-v-2bc46a58]::-webkit-search-results-button,.input-field__input[data-v-2bc46a58]::-webkit-search-results-decoration,.input-field__input[data-v-2bc46a58]::-ms-clear{display:none}.input-field__input[data-v-2bc46a58]:active:not([disabled]),.input-field__input[data-v-2bc46a58]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-2bc46a58],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-2bc46a58]{color:var(--color-main-text)}.input-field__input[data-v-2bc46a58]:focus{cursor:text}.input-field__input[data-v-2bc46a58]:disabled{cursor:default}.input-field__input[data-v-2bc46a58]:focus-visible{box-shadow:unset!important}.input-field__input--success[data-v-2bc46a58]{border-color:var(--color-border-success, var(--color-success))!important}.input-field__input--success[data-v-2bc46a58]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-2bc46a58],.input-field__input[data-v-2bc46a58]:user-invalid{border-color:var(--color-border-error, var(--color-error))!important}.input-field__input--error[data-v-2bc46a58]:focus-visible,.input-field__input[data-v-2bc46a58]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field:not(.input-field--label-outside) .input-field__input[data-v-2bc46a58]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-2bc46a58]{--input-label-font-size: var(--default-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;font-size:var(--input-label-font-size);inset-block-start:calc((var(--default-clickable-area) - 1lh) / 2);inset-inline:var(--border-width-input-focused, 2px);color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__input:focus+.input-field__label[data-v-2bc46a58],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-2bc46a58]{--input-label-font-size: 13px;line-height:1.5;inset-block-start:calc(-1.5 * var(--input-label-font-size) / 2);font-weight:500;border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:var(--default-grid-baseline);margin-inline:calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__icon[data-v-2bc46a58]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7;inset-block-end:0}.input-field__icon--leading[data-v-2bc46a58]{inset-inline-start:0px}.input-field__icon--trailing[data-v-2bc46a58]{inset-inline-end:0px}.input-field__trailing-button[data-v-2bc46a58]{--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px))}.input-field__trailing-button.button-vue[data-v-2bc46a58]{position:absolute;top:var(--border-width-input-focused, 2px);inset-inline-end:var(--border-width-input-focused, 2px)}.input-field__trailing-button.button-vue[data-v-2bc46a58]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-2bc46a58]{padding-block:4px;padding-inline:var(--border-radius-large);display:flex;align-items:center;color:var(--color-text-maxcontrast);overflow-wrap:anywhere}.input-field__helper-text-message__icon[data-v-2bc46a58]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-2bc46a58]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-2bc46a58],.input-field__input[data-v-2bc46a58]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-2bc46a58]:focus-visible,.input-field__input[data-v-2bc46a58]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__input[data-v-2bc46a58]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-2bc46a58]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}._heading_nsb3k_2{font-size:18px;margin-top:0}._headingWrapper_nsb3k_7{display:flex;justify-content:space-between}._hint_nsb3k_12{color:var(--color-text-maxcontrast);margin-inline-start:12px}._inputField_nsb3k_17{max-width:350px}.material-design-icon[data-v-f656e861]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-f656e861]{--note-card-icon-size: 20px;--note-card-padding: calc(2 * var(--default-grid-baseline));color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:var(--default-grid-baseline) solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:var(--note-card-padding);display:flex;flex-direction:row;gap:var(--note-card-padding)}.notecard__heading[data-v-f656e861]{font-size:var(--note-card-icon-size);font-weight:600}.notecard__icon--heading[data-v-f656e861]{font-size:var(--note-card-icon-size);margin-block:calc((1lh - 1em)/2) auto}.notecard--success[data-v-f656e861]{--note-background: var(--color-success);--note-theme: var(--color-success-text, var(--color-success))}.notecard--info[data-v-f656e861]{--note-background: var(--color-info);--note-theme: var(--color-info-text, var(--color-info))}.notecard--error[data-v-f656e861]{--note-background: var(--color-error);--note-theme: var(--color-error-text, var(--color-error))}.notecard--warning[data-v-f656e861]{--note-background: var(--color-warning);--note-theme: var(--color-warning-text, var(--color-warning))}.notecard--legacy.notecard--error[data-v-f656e861]{--note-background: rgba(var(--color-error-rgb), .1)}.notecard--legacy.notecard--info[data-v-f656e861]{--note-background: rgba(var(--color-info-rgb), .1)}.notecard--legacy.notecard--success[data-v-f656e861]{--note-background: rgba(var(--color-success-rgb), .1)}.notecard--legacy.notecard--warning[data-v-f656e861]{--note-background: rgba(var(--color-warning-rgb), .1)}._form_5u8co_2{display:flex;flex-direction:column;gap:calc(2 * var(--default-grid-baseline))}._heading_5u8co_8{font-size:18px;margin-top:0}._inputField_5u8co_13{max-width:600px}.material-design-icon[data-v-38a26e61]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-38a26e61]{display:flex;align-items:center;gap:calc((var(--default-clickable-area) - 16px) / 2 / 2)}.action-item[data-v-38a26e61]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-38a26e61]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-38a26e61]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-38a26e61]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-38a26e61]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-38a26e61]{background-color:var(--open-background-color)}.action-item__menutoggle__icon[data-v-38a26e61]{width:20px;height:20px;object-fit:contain}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(100vh - var(--header-height));overflow:auto}._material-design-icon_WzKjA{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._ncPopover_k--Q7.v-popper--theme-nc-popover-8 .resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}._ncPopover_k--Q7.v-popper--theme-nc-popover-8 .resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper{z-index:100000;top:0;left:0;display:block!important}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__wrapper{box-shadow:0 1px 10px var(--color-box-shadow);border-radius:var(--border-radius-large)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-9px;border-bottom-width:0;border-top-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-9px;border-top-width:0;border-bottom-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-9px;border-left-width:0;border-right-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-9px;border-right-width:0;border-left-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-ab2ff78b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-ab2ff78b]:hover,li.action.active[data-v-ab2ff78b]{border-radius:6px;padding:0}li.action[data-v-ab2ff78b]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-ab2ff78b]{pointer-events:none;opacity:.5}.action--disabled[data-v-ab2ff78b]:hover,.action--disabled[data-v-ab2ff78b]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-ab2ff78b]{opacity:1!important}.action-button[data-v-ab2ff78b]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-button>span[data-v-ab2ff78b]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-ab2ff78b]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-ab2ff78b] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-ab2ff78b] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-ab2ff78b],.action-button__longtext[data-v-ab2ff78b]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-ab2ff78b]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-ab2ff78b]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-ab2ff78b]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-button__menu-icon[data-v-ab2ff78b],.action-button__pressed-icon[data-v-ab2ff78b]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button *[data-v-ab2ff78b]{cursor:pointer}._container_10xyb_2{display:flex;align-items:center;justify-content:center}._policyWrapper_18ut1_2{display:flex;flex-wrap:wrap;gap:8px}._policyWrapper_18ut1_2>*{min-width:446px;max-width:446px;padding:8px;border:1px solid var(--color-border);border-radius:var(--border-radius-container)} diff --git a/css/settings-D9-5czT5.chunk.css b/css/settings-D9-5czT5.chunk.css new file mode 100644 index 00000000..42b23b91 --- /dev/null +++ b/css/settings-D9-5czT5.chunk.css @@ -0,0 +1,4 @@ +.material-design-icon[data-v-9fdd9dcb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-9fdd9dcb]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-9fdd9dcb]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-9fdd9dcb]{max-width:900px}.settings-section__name[data-v-9fdd9dcb]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:var(--font-weight-heading, bold);max-width:900px;margin-top:0}.settings-section__info[data-v-9fdd9dcb]{display:flex;align-items:center;justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--default-clickable-area) - 16px) / 2 * -1);margin-inline-start:0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-9fdd9dcb]:hover,.settings-section__info[data-v-9fdd9dcb]:focus,.settings-section__info[data-v-9fdd9dcb]:active{color:var(--color-main-text)}.settings-section__desc[data-v-9fdd9dcb]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.material-design-icon[data-v-29ac0caf]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-29ac0caf]{--button-size: var(--default-clickable-area);--button-inner-size: calc(var(--button-size) - 4px);--button-radius: var(--border-radius-element, calc(var(--button-size) / 2));--button-padding-default: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));--button-padding: var(--default-grid-baseline) var(--button-padding-default);color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light);border:1px solid var(--color-primary-element-light-hover);border-bottom-width:2px;border-radius:var(--button-radius);box-sizing:border-box;position:relative;width:fit-content;overflow:hidden;padding-block:1px 0;padding-inline:var(--button-padding);min-height:var(--button-size);min-width:var(--button-size);display:flex;align-items:center;justify-content:center;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;cursor:pointer;font-size:var(--default-font-size);font-weight:var(--font-weight-element, bold)}.button-vue--size-small[data-v-29ac0caf]{--button-size: var(--clickable-area-small, 24px);--button-radius: var(--border-radius)}.button-vue--size-large[data-v-29ac0caf]{--button-size: var(--clickable-area-large, 48px)}.button-vue[data-v-29ac0caf],.button-vue[data-v-29ac0caf] *{cursor:pointer}.button-vue[data-v-29ac0caf]:focus{outline:none}.button-vue[data-v-29ac0caf]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue[data-v-29ac0caf]:disabled *{cursor:default}.button-vue[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-29ac0caf]:active:not(:disabled){background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-29ac0caf]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-29ac0caf]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-29ac0caf]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-29ac0caf]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-29ac0caf]{--button-padding: var(--button-padding-default) var(--default-grid-baseline)}.button-vue__icon[data-v-29ac0caf]{--default-clickable-area: var(--button-inner-size);height:var(--button-inner-size);width:var(--button-inner-size);min-height:var(--button-inner-size);min-width:var(--button-inner-size);display:flex;justify-content:center;align-items:center}.button-vue--size-small .button-vue__icon[data-v-29ac0caf]>*{max-height:16px;max-width:16px}.button-vue--size-small .button-vue__icon[data-v-29ac0caf] svg{height:16px;width:16px}.button-vue__text[data-v-29ac0caf]{font-weight:var(--font-weight-element, bold);margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-29ac0caf]{--button-padding: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));line-height:1;width:var(--button-size)!important}.button-vue--text-only[data-v-29ac0caf]{--button-padding: var(--button-padding-default)}.button-vue--text-only .button-vue__text[data-v-29ac0caf]{margin-inline:4px}.button-vue--wide[data-v-29ac0caf]{width:100%}.button-vue[data-v-29ac0caf]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-29ac0caf]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius-element, var(--border-radius));background-color:transparent}.button-vue--vue-primary[data-v-29ac0caf]{background-color:var(--color-primary-element);border-color:var(--color-primary-element-hover);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-29ac0caf]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-29ac0caf]{background-color:var(--color-primary-element-light);border-color:var(--color-primary-element-light-hover);color:var(--color-primary-element-light-text)}.button-vue--vue-secondary[data-v-29ac0caf]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--tertiary[data-v-29ac0caf],.button-vue--vue-tertiary[data-v-29ac0caf]{background-color:transparent;border-color:transparent;color:var(--color-main-text)}.button-vue--tertiary[data-v-29ac0caf]:hover:not(:disabled),.button-vue--vue-tertiary[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--tertiary[data-v-29ac0caf]:not(.button-vue--legacy34):hover:not(:disabled){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.button-vue--vue-tertiary-no-background[data-v-29ac0caf]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-29ac0caf]{color:var(--color-primary-element-text)}.button-vue--vue-tertiary-on-primary[data-v-29ac0caf]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-29ac0caf]{background-color:var(--color-success);border-color:var(--color-success-hover);color:var(--color-success-text)}.button-vue--vue-success[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-29ac0caf]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-29ac0caf]{background-color:var(--color-warning);border-color:var(--color-warning-hover);color:var(--color-warning-text)}.button-vue--vue-warning[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-29ac0caf]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-29ac0caf]{background-color:var(--color-error);border-color:var(--color-error-hover);color:var(--color-error-text)}.button-vue--vue-error[data-v-29ac0caf]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-29ac0caf]:active{background-color:var(--color-error)}.button-vue--legacy[data-v-29ac0caf]{--button-inner-size: var(--button-size);border:none;padding-block:0}.button-vue--legacy.button-vue--vue-error[data-v-29ac0caf],.button-vue--legacy.button-vue--vue-success[data-v-29ac0caf],.button-vue--legacy.button-vue--vue-warning[data-v-29ac0caf]{color:#fff}.material-design-icon[data-v-dc2e9d6a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-content[data-v-dc2e9d6a]{display:flex;align-items:center;flex-direction:row;gap:var(--default-grid-baseline);-webkit-user-select:none;user-select:none;min-height:var(--default-clickable-area);border-radius:var(--checkbox-radio-switch--border-radius);padding:var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);width:100%;max-width:fit-content}.checkbox-content__wrapper[data-v-dc2e9d6a]{flex:1 0}.checkbox-content__text[data-v-dc2e9d6a]:empty{display:none}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-dc2e9d6a],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-dc2e9d6a],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-dc2e9d6a]{margin-block:calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto;line-height:0}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-dc2e9d6a],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-dc2e9d6a],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-dc2e9d6a]{display:flex;align-items:center;margin-block-end:0;align-self:start}.checkbox-content__icon>*[data-v-dc2e9d6a]{width:var(--icon-size);height:var(--icon-height);color:var(--color-primary-element)}.checkbox-content__description[data-v-dc2e9d6a]{display:block;color:var(--color-text-maxcontrast);font-weight:var(--font-weight-default, normal)}.checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked)>*[data-v-dc2e9d6a]{color:var(--color-primary-element)}.checkbox-content--button-variant .checkbox-content__icon--checked>*[data-v-dc2e9d6a]{color:var(--color-primary-element-text)}.checkbox-content--has-text[data-v-dc2e9d6a]{padding-right:calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-content[data-v-dc2e9d6a],.checkbox-content *[data-v-dc2e9d6a]{cursor:pointer;flex-shrink:0}.material-design-icon[data-v-8cf5299e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-radio-switch[data-v-8cf5299e]{--icon-size: var(--739f019a);--icon-height: var(--16409f00);display:flex;align-items:center;color:var(--color-main-text);background-color:transparent;box-sizing:border-box;font-size:var(--default-font-size);font-weight:var(--font-weight-element, normal);line-height:var(--default-line-height);padding:0;position:relative}.checkbox-radio-switch *[data-v-8cf5299e]{box-sizing:border-box}.checkbox-radio-switch__input[data-v-8cf5299e]{position:absolute;z-index:-1;opacity:0!important;width:var(--icon-size);height:var(--icon-size);margin:4px calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-radio-switch__input:focus-visible+.checkbox-radio-switch__content[data-v-8cf5299e],.checkbox-radio-switch__input[data-v-8cf5299e]:focus-visible{outline:2px solid var(--color-main-text);border-color:var(--color-main-background);outline-offset:-2px}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-8cf5299e]{opacity:.5}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-8cf5299e] .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-8cf5299e],.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-8cf5299e] *:not(a){cursor:default!important}.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-8cf5299e],.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-8cf5299e]:hover{background-color:var(--color-background-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-8cf5299e],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-8cf5299e]:hover{background-color:var(--color-primary-element-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-8cf5299e],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-8cf5299e]:hover{background-color:var(--color-primary-element-light-hover)}.checkbox-radio-switch-switch[data-v-8cf5299e]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-text-maxcontrast)}.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-8cf5299e] .checkbox-radio-switch__icon>*{color:var(--color-primary-element-light)}.checkbox-radio-switch[data-v-8cf5299e]{--checkbox-radio-switch--border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px)}.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-8cf5299e]{background-color:var(--color-main-background);border:2px solid var(--color-border-maxcontrast);overflow:hidden}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-8cf5299e]{font-weight:var(--font-weight-element, bold)}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-8cf5299e]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.checkbox-radio-switch--button-variant[data-v-8cf5299e] .checkbox-radio-switch__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.checkbox-radio-switch--button-variant[data-v-8cf5299e]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--button-variant[data-v-8cf5299e] .checkbox-radio-switch__icon:empty{display:none}.checkbox-radio-switch--button-variant[data-v-8cf5299e]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),.checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-8cf5299e]{border-radius:var(--checkbox-radio-switch--border-radius)}.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-8cf5299e]{flex-basis:100%;max-width:unset}.checkbox-radio-switch--button-variant-v-grouped[data-v-8cf5299e]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-8cf5299e]:last-of-type{border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-8cf5299e]:not(:last-of-type){border-bottom:0!important}.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-8cf5299e]{margin-bottom:2px}.checkbox-radio-switch--button-variant-v-grouped[data-v-8cf5299e]:not(:first-of-type){border-top:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-8cf5299e]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-8cf5299e]:last-of-type{border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-8cf5299e]:not(:last-of-type){border-inline-end:0!important}.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-8cf5299e]{margin-inline-end:2px}.checkbox-radio-switch--button-variant-h-grouped[data-v-8cf5299e]:not(:first-of-type){border-inline-start:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-8cf5299e] .checkbox-radio-switch__text{text-align:center;display:flex;align-items:center}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-8cf5299e]{flex-direction:column;justify-content:center;width:100%;margin:0;gap:0}._material-design-icon_Tdewt{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._iconToggleSwitch_NggOU{color:var(--2d1b8583);transition:color var(--animation-quick) ease}._iconToggleSwitch_NggOU svg{height:auto!important}._iconToggleSwitch_NggOU circle{cx:var(--78386a55);transition:cx var(--animation-quick) ease}.material-design-icon[data-v-4625d649]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-4625d649]{--icon-size: var(--dad67fa8);display:flex;justify-content:center;align-items:center;min-width:var(--default-clickable-area);min-height:var(--default-clickable-area);opacity:1}.icon-vue--inline[data-v-4625d649]{display:inline-flex;min-width:fit-content;min-height:fit-content;vertical-align:text-bottom}.icon-vue span[data-v-4625d649]{line-height:0}.icon-vue[data-v-4625d649] svg{fill:currentColor;width:var(--icon-size, 20px);height:var(--icon-size, 20px);max-width:var(--icon-size, 20px);max-height:var(--icon-size, 20px)}.icon-vue--directional[data-v-4625d649] svg:dir(rtl){transform:scaleX(-1)}.material-design-icon[data-v-94ff8098]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-94ff8098]{overflow:hidden}.loading-icon svg[data-v-94ff8098]{animation:rotate var(--animation-duration, .8s) linear infinite}.material-design-icon[data-v-17c3f609]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}/*! + * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */.input-field[data-v-17c3f609]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-large);--input-padding-end: var(--border-radius-large);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-17c3f609]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-17c3f609]{margin-block-start:0}.input-field--leading-icon[data-v-17c3f609]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-17c3f609]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-17c3f609]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-17c3f609]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-17c3f609]{--input-border-box-shadow-light: 0 -1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.input-field__input[data-v-17c3f609]:hover:not([disabled]){box-shadow:0 0 0 1px var(--input-border-color)}@media(prefers-color-scheme:dark){.input-field__input .input-field__input[data-v-17c3f609]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-17c3f609]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-17c3f609]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-17c3f609]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-17c3f609]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-17c3f609]:focus-within:not([disabled]),.input-field__input[data-v-17c3f609]:active:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color),0 0 0 4px var(--color-main-background)!important}.input-field__input[data-v-17c3f609]{background-color:var(--color-main-background);color:var(--color-main-text);border-radius:var(--input-border-radius);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important;appearance:textfield!important;font-size:var(--default-font-size);text-overflow:ellipsis;padding-block:0;padding-inline:var(--input-padding-start) var(--input-padding-end);height:100%!important;min-height:unset;width:100%}.input-field__input[data-v-17c3f609]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-17c3f609]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-17c3f609]::-webkit-search-decoration,.input-field__input[data-v-17c3f609]::-webkit-search-results-button,.input-field__input[data-v-17c3f609]::-webkit-search-results-decoration,.input-field__input[data-v-17c3f609]::-ms-clear{display:none}.input-field__input[data-v-17c3f609]:active:not([disabled]),.input-field__input[data-v-17c3f609]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-17c3f609],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-17c3f609]{color:var(--color-main-text)}.input-field__input[data-v-17c3f609]:focus{cursor:text}.input-field__input[data-v-17c3f609]:disabled{cursor:default}.input-field__input[data-v-17c3f609]:focus-visible{box-shadow:unset!important}.input-field__input--success[data-v-17c3f609]{border-color:var(--color-border-success, var(--color-success))!important}.input-field__input--success[data-v-17c3f609]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-17c3f609],.input-field__input[data-v-17c3f609]:user-invalid{border-color:var(--color-border-error, var(--color-error))!important}.input-field__input--error[data-v-17c3f609]:focus-visible,.input-field__input[data-v-17c3f609]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field:not(.input-field--label-outside) .input-field__input[data-v-17c3f609]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-17c3f609]{--input-label-font-size: var(--default-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;font-size:var(--input-label-font-size);inset-block-start:calc((var(--default-clickable-area) - 1lh) / 2);inset-inline:var(--border-width-input-focused, 2px);color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__input:focus+.input-field__label[data-v-17c3f609],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-17c3f609]{--input-label-font-size: 13px;line-height:1.5;inset-block-start:calc(-1.5 * var(--input-label-font-size) / 2);font-weight:var(--font-weight-element, 500);border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:var(--default-grid-baseline);margin-inline:calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__icon[data-v-17c3f609]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7;inset-block-end:0}.input-field__icon--leading[data-v-17c3f609]{inset-inline-start:0px}.input-field__icon--trailing[data-v-17c3f609]{inset-inline-end:0px}.input-field__trailing-button[data-v-17c3f609]{--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px))}.input-field__trailing-button.button-vue[data-v-17c3f609]{position:absolute;top:var(--border-width-input-focused, 2px);inset-inline-end:var(--border-width-input-focused, 2px)}.input-field__trailing-button.button-vue[data-v-17c3f609]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-17c3f609]{padding-block:4px;padding-inline:var(--border-radius-large);display:flex;align-items:center;color:var(--color-text-maxcontrast);overflow-wrap:anywhere}.input-field__helper-text-message__icon[data-v-17c3f609]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-17c3f609]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-17c3f609],.input-field__input[data-v-17c3f609]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-17c3f609]:focus-visible,.input-field__input[data-v-17c3f609]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__input[data-v-17c3f609]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-17c3f609]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}._heading_nsb3k_2{font-size:18px;margin-top:0}._headingWrapper_nsb3k_7{display:flex;justify-content:space-between}._hint_nsb3k_12{color:var(--color-text-maxcontrast);margin-inline-start:12px}._inputField_nsb3k_17{max-width:350px}.material-design-icon[data-v-4606150f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-4606150f]{--note-card-icon-size: 20px;--note-card-padding: calc(2 * var(--default-grid-baseline));color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:var(--default-grid-baseline) solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:var(--note-card-padding);display:flex;flex-direction:row;gap:var(--note-card-padding)}.notecard__heading[data-v-4606150f]{font-size:var(--note-card-icon-size);font-weight:var(--font-weight-heading, 600)}.notecard__icon--heading[data-v-4606150f]{font-size:var(--note-card-icon-size);margin-block:calc((1lh - 1em)/2) auto}.notecard--success[data-v-4606150f]{--note-background: var(--color-success);--note-theme: var(--color-success-text, var(--color-success))}.notecard--info[data-v-4606150f]{--note-background: var(--color-info);--note-theme: var(--color-info-text, var(--color-info))}.notecard--error[data-v-4606150f]{--note-background: var(--color-error);--note-theme: var(--color-error-text, var(--color-error))}.notecard--warning[data-v-4606150f]{--note-background: var(--color-warning);--note-theme: var(--color-warning-text, var(--color-warning))}.notecard--legacy.notecard--error[data-v-4606150f]{--note-background: rgba(var(--color-error-rgb), .1)}.notecard--legacy.notecard--info[data-v-4606150f]{--note-background: rgba(var(--color-info-rgb), .1)}.notecard--legacy.notecard--success[data-v-4606150f]{--note-background: rgba(var(--color-success-rgb), .1)}.notecard--legacy.notecard--warning[data-v-4606150f]{--note-background: rgba(var(--color-warning-rgb), .1)}._form_5u8co_2{display:flex;flex-direction:column;gap:calc(2 * var(--default-grid-baseline))}._heading_5u8co_8{font-size:18px;margin-top:0}._inputField_5u8co_13{max-width:600px}.material-design-icon[data-v-38a26e61]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-38a26e61]{display:flex;align-items:center;gap:calc((var(--default-clickable-area) - 16px) / 2 / 2)}.action-item[data-v-38a26e61]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-38a26e61]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-38a26e61]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-38a26e61]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-38a26e61]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-38a26e61]{background-color:var(--open-background-color)}.action-item__menutoggle__icon[data-v-38a26e61]{width:20px;height:20px;object-fit:contain}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(100vh - var(--header-height));overflow:auto}._material-design-icon_S8GUm{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._ncPopover_2xQGD.v-popper--theme-nc-popover-8 .resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}._ncPopover_2xQGD.v-popper--theme-nc-popover-8 .resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper{z-index:100000;top:0;left:0;display:block!important}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__wrapper{box-shadow:0 1px 10px var(--color-box-shadow);border-radius:var(--border-radius-large)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-9px;border-bottom-width:0;border-top-color:var(--color-main-background)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-9px;border-top-width:0;border-bottom-color:var(--color-main-background)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-9px;border-left-width:0;border-right-color:var(--color-main-background)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-9px;border-right-width:0;border-left-color:var(--color-main-background)}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}._ncPopover_2xQGD.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-ab2ff78b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-ab2ff78b]:hover,li.action.active[data-v-ab2ff78b]{border-radius:6px;padding:0}li.action[data-v-ab2ff78b]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-ab2ff78b]{pointer-events:none;opacity:.5}.action--disabled[data-v-ab2ff78b]:hover,.action--disabled[data-v-ab2ff78b]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-ab2ff78b]{opacity:1!important}.action-button[data-v-ab2ff78b]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:var(--font-weight-element, normal);font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-button>span[data-v-ab2ff78b]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-ab2ff78b]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-ab2ff78b] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-ab2ff78b] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-ab2ff78b],.action-button__longtext[data-v-ab2ff78b]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-ab2ff78b]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-ab2ff78b]{font-weight:var(--font-weight-heading, bold);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-ab2ff78b]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);font-weight:var(--font-weight-default, normal);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-button__menu-icon[data-v-ab2ff78b],.action-button__pressed-icon[data-v-ab2ff78b]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button *[data-v-ab2ff78b]{cursor:pointer}._container_10xyb_2{display:flex;align-items:center;justify-content:center}._policyWrapper_18ut1_2{display:flex;flex-wrap:wrap;gap:8px}._policyWrapper_18ut1_2>*{min-width:446px;max-width:446px;padding:8px;border:1px solid var(--color-border);border-radius:var(--border-radius-container)} diff --git a/js/password_policy-settings.mjs b/js/password_policy-settings.mjs index eed52c84..856b7929 100644 --- a/js/password_policy-settings.mjs +++ b/js/password_policy-settings.mjs @@ -1,9 +1,9 @@ -const un=globalThis||void 0||self;var fd={},Tt=Object.freeze({}),M=Array.isArray;function D(t){return t==null}function g(t){return t!=null}function tt(t){return t===!0}function hd(t){return t===!1}function Kn(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function K(t){return typeof t=="function"}function gt(t){return t!==null&&typeof t=="object"}var Ri=Object.prototype.toString;function It(t){return Ri.call(t)==="[object Object]"}function md(t){return Ri.call(t)==="[object RegExp]"}function Jl(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Kr(t){return g(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function vd(t){return t==null?"":Array.isArray(t)||It(t)&&t.toString===Ri?JSON.stringify(t,gd,2):String(t)}function gd(t,e){return e&&e.__v_isRef?e.value:e}function Vn(t){var e=parseFloat(t);return isNaN(e)?t:e}function Mt(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r-1)return t.splice(o,1)}}var yd=Object.prototype.hasOwnProperty;function bt(t,e){return yd.call(t,e)}function Ue(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}var bd=/-(\w)/g,Fe=Ue(function(t){return t.replace(bd,function(e,n){return n?n.toUpperCase():""})}),wd=Ue(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ed=/\B([A-Z])/g,Yn=Ue(function(t){return t.replace(Ed,"-$1").toLowerCase()});function $d(t,e){function n(o){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,o):t.call(e)}return n._length=t.length,n}function Cd(t,e){return t.bind(e)}var tc=Function.prototype.bind?Cd:$d;function Yr(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function Z(t,e){for(var n in e)t[n]=e[n];return t}function ec(t){for(var e={},n=0;n0,ac=Rt&&Rt.indexOf("edge/")>0;Rt&&Rt.indexOf("android")>0;var kd=Rt&&/iphone|ipad|ipod|ios/.test(Rt),ja=Rt&&Rt.match(/firefox\/(\d+)/),Qr={}.watch,sc=!1;if(xt)try{var za={};Object.defineProperty(za,"passive",{get:function(){sc=!0}}),window.addEventListener("test-passive",null,za)}catch{}var lo,Ee=function(){return lo===void 0&&(!xt&&typeof un<"u"?lo=un.process&&fd.VUE_ENV==="server":lo=!1),lo},No=xt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(t){return typeof t=="function"&&/native code/.test(t.toString())}var Zn=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),Un;typeof Set<"u"&&sn(Set)?Un=Set:Un=(function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t})();var wt=null;function Nd(){return wt&&{proxy:wt}}function _e(t){t===void 0&&(t=null),t||wt&&wt._scope.off(),wt=t,t&&t._scope.on()}var Ot=(function(){function t(e,n,o,r,i,a,l,s){this.tag=e,this.data=n,this.children=o,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=l,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t})(),dn=function(t){t===void 0&&(t="");var e=new Ot;return e.text=t,e.isComment=!0,e};function on(t){return new Ot(void 0,void 0,void 0,String(t))}function Jr(t){var e=new Ot(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Id=0,wo=[],Od=function(){for(var t=0;t1)return n&&K(e)?e.call(o):e}}var Xa=Ue(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var n=t.charAt(0)==="~";t=n?t.slice(1):t;var o=t.charAt(0)==="!";return t=o?t.slice(1):t,{name:t,once:n,capture:o,passive:e}});function ni(t,e){function n(){var o=n.fns;if(M(o))for(var r=o.slice(),i=0;i0&&(r=_c(r,"".concat(e||"","_").concat(o)),Tn(r[0])&&Tn(a)&&(n[i]=on(a.text+r[0].text),r.shift()),n.push.apply(n,r)):Kn(r)?Tn(a)?n[i]=on(a.text+r):r!==""&&n.push(on(r)):Tn(r)&&Tn(a)?n[i]=on(a.text+r.text):(tt(t._isVList)&&g(r.tag)&&D(r.key)&&g(e)&&(r.key="__vlist".concat(e,"_").concat(o,"__")),n.push(r)));return n}function Wd(t,e){var n=null,o,r,i,a;if(M(t)||typeof t=="string")for(n=new Array(t.length),o=0,r=t.length;o0,a=e?!!e.$stable:!i,l=e&&e.$key;if(!e)r={};else{if(e._normalized)return e._normalized;if(a&&o&&o!==Tt&&l===o.$key&&!i&&!o.$hasNormal)return o;r={};for(var s in e)e[s]&&s[0]!=="$"&&(r[s]=op(t,n,s,e[s]))}for(var f in n)f in r||(r[f]=rp(n,f));return e&&Object.isExtensible(e)&&(e._normalized=r),Nt(r,"$stable",a),Nt(r,"$key",l),Nt(r,"$hasNormal",i),r}function op(t,e,n,o){var r=function(){var i=wt;_e(t);var a=arguments.length?o.apply(null,arguments):o({});a=a&&typeof a=="object"&&!M(a)?[a]:Mi(a);var l=a&&a[0];return _e(i),a&&(!l||a.length===1&&l.isComment&&!Gn(l))?void 0:a};return o.proxy&&Object.defineProperty(e,n,{get:r,enumerable:!0,configurable:!0}),r}function rp(t,e){return function(){return t[e]}}function ip(t){var e=t.$options,n=e.setup;if(n){var o=t._setupContext=ap(t);_e(t),gn();var r=ee(n,null,[t._props||pc({}),o],t,"setup");if(_n(),_e(),K(r))e.render=r;else if(gt(r))if(t._setupState=r,r.__sfc){var i=t._setupProxy={};for(var a in r)a!=="__sfc"&&ei(i,r,a)}else for(var a in r)ic(a)||ei(t,r,a)}}function ap(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Nt(e,"_v_attr_proxy",!0),Oo(e,t.$attrs,Tt,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Oo(e,t.$listeners,Tt,t,"$listeners")}return t._listenersProxy},get slots(){return lp(t)},emit:tc(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return ei(t,e,n)})}}}function Oo(t,e,n,o,r){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,sp(t,a,o,r));for(var a in t)a in e||(i=!0,delete t[a]);return i}function sp(t,e,n,o){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[o][e]}})}function lp(t){return t._slotsProxy||Ec(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ec(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function cp(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=Fi(e._renderChildren,o),t.$scopedSlots=n?Dn(t.$parent,n.data.scopedSlots,t.$slots):Tt,t._c=function(i,a,l,s){return Po(t,i,a,l,s,!1)},t.$createElement=function(i,a,l,s){return Po(t,i,a,l,s,!0)};var r=n&&n.data;be(t,"$attrs",r&&r.attrs||Tt,null,!0),be(t,"$listeners",e._parentListeners||Tt,null,!0)}var Co=null;function up(t){wc(t.prototype),t.prototype.$nextTick=function(e){return Bi(e,this)},t.prototype._render=function(){var e=this,n=e.$options,o=n.render,r=n._parentVnode;r&&e._isMounted&&(e.$scopedSlots=Dn(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Ec(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i=wt,a=Co,l;try{_e(e),Co=e,l=o.call(e._renderProxy,e.$createElement)}catch(s){je(s,e,"render"),l=e._vnode}finally{Co=a,_e(i)}return M(l)&&l.length===1&&(l=l[0]),l instanceof Ot||(l=dn()),l.parent=r,l}}function $r(t,e){return(t.__esModule||Zn&&t[Symbol.toStringTag]==="Module")&&(t=t.default),gt(t)?e.extend(t):t}function dp(t,e,n,o,r){var i=dn();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:o,tag:r},i}function pp(t,e){if(tt(t.error)&&g(t.errorComp))return t.errorComp;if(g(t.resolved))return t.resolved;var n=Co;if(n&&g(t.owners)&&t.owners.indexOf(n)===-1&&t.owners.push(n),tt(t.loading)&&g(t.loadingComp))return t.loadingComp;if(n&&!g(t.owners)){var o=t.owners=[n],r=!0,i=null,a=null;n.$on("hook:destroyed",function(){return we(o,n)});var l=function(h){for(var m=0,y=o.length;m1?Yr(r):r;for(var i=Yr(arguments,1),a='event handler for "'.concat(n,'"'),l=0,s=r.length;ldocument.createEvent("Event").timeStamp&&(si=function(){return Cr.now()})}var Pp=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Rp(){Ic=si(),Vi=!0;var t,e;for(Yt.sort(Pp),rn=0;rnrn&&Yt[n].id>t.id;)n--;Yt.splice(n+1,0,t)}ai||(ai=!0,Bi(Rp))}}function Fp(t){var e=t.$options.provide;if(e){var n=K(e)?e.call(t):e;if(!gt(n))return;for(var o=Vd(t),r=Zn?Reflect.ownKeys(n):Object.keys(n),i=0;i-1){if(i&&!bt(r,"default"))a=!1;else if(a===""||a===Yn(t)){var s=ls(String,r.type);(s<0||l-1)return this;var o=Yr(arguments,1);return o.unshift(this),K(e.install)?e.install.apply(e,o):K(e)&&e.apply(null,o),n.push(e),this}}function mf(t){t.mixin=function(e){return this.options=ze(this.options,e),this}}function vf(t){t.cid=0;var e=1;t.extend=function(n){n=n||{};var o=this,r=o.cid,i=n._Ctor||(n._Ctor={});if(i[r])return i[r];var a=Lo(n)||Lo(o.options),l=function(s){this._init(s)};return l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.cid=e++,l.options=ze(o.options,n),l.super=o,l.options.props&&gf(l),l.options.computed&&_f(l),l.extend=o.extend,l.mixin=o.mixin,l.use=o.use,Qo.forEach(function(s){l[s]=o[s]}),a&&(l.options.components[a]=l),l.superOptions=o.options,l.extendOptions=n,l.sealedOptions=Z({},l.options),i[r]=l,l}}function gf(t){var e=t.options.props;for(var n in e)qi(t.prototype,"_props",n)}function _f(t){var e=t.options.computed;for(var n in e)Rc(t.prototype,n,e[n])}function yf(t){Qo.forEach(function(e){t[e]=function(n,o){return o?(e==="component"&&It(o)&&(o.name=o.name||n,o=this.options._base.extend(o)),e==="directive"&&K(o)&&(o={bind:o,update:o}),this.options[e+"s"][n]=o,o):this.options[e+"s"][n]}})}function ds(t){return t&&(Lo(t.Ctor.options)||t.tag)}function po(t,e){return M(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:md(t)?t.test(e):!1}function ps(t,e){var n=t.cache,o=t.keys,r=t._vnode,i=t.$vnode;for(var a in n){var l=n[a];if(l){var s=l.name;s&&!e(s)&&di(n,a,o,r)}}i.componentOptions.children=void 0}function di(t,e,n,o){var r=t[e];r&&(!o||r.tag!==o.tag)&&r.componentInstance.$destroy(),t[e]=null,we(n,e)}var fs=[String,RegExp,Array],bf={name:"keep-alive",abstract:!0,props:{include:fs,exclude:fs,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,o=t.vnodeToCache,r=t.keyToCache;if(o){var i=o.tag,a=o.componentInstance,l=o.componentOptions;e[r]={name:ds(l),tag:i,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&di(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)di(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){ps(t,function(n){return po(e,n)})}),this.$watch("exclude",function(e){ps(t,function(n){return!po(e,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=$c(t),n=e&&e.componentOptions;if(n){var o=ds(n),r=this,i=r.include,a=r.exclude;if(i&&(!o||!po(i,o))||a&&o&&po(a,o))return e;var l=this,s=l.cache,f=l.keys,c=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[c]?(e.componentInstance=s[c].componentInstance,we(f,c),f.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},wf={KeepAlive:bf};function Ef(t){var e={};e.get=function(){return Pt},Object.defineProperty(t,"config",e),t.util={warn:Gp,extend:Z,mergeOptions:ze,defineReactive:be},t.set=Di,t.delete=uc,t.nextTick=Bi,t.observable=function(n){return te(n),n},t.options=Object.create(null),Qo.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,Z(t.options.components,wf),hf(t),mf(t),vf(t),yf(t)}Ef(G),Object.defineProperty(G.prototype,"$isServer",{get:Ee}),Object.defineProperty(G.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(G,"FunctionalRenderContext",{value:Ui}),G.version=wp;var $f=Mt("style,class"),Cf=Mt("input,textarea,option,select,progress"),Sf=function(t,e,n){return n==="value"&&Cf(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},Lc=Mt("contenteditable,draggable,spellcheck"),Tf=Mt("events,caret,typing,plaintext-only"),xf=function(t,e){return Mo(e)||e==="false"?"false":t==="contenteditable"&&Tf(e)?e:"true"},Af=Mt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),pi="http://www.w3.org/1999/xlink",Ki=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},Dc=function(t){return Ki(t)?t.slice(6,t.length):""},Mo=function(t){return t==null||t===!1};function kf(t){for(var e=t.data,n=t,o=t;g(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(e=hs(o.data,e));for(;g(n=n.parent);)n&&n.data&&(e=hs(e,n.data));return Nf(e.staticClass,e.class)}function hs(t,e){return{staticClass:Yi(t.staticClass,e.staticClass),class:g(t.class)?[t.class,e.class]:e.class}}function Nf(t,e){return g(t)||g(e)?Yi(t,Zi(e)):""}function Yi(t,e){return t?e?t+" "+e:t:e||""}function Zi(t){return Array.isArray(t)?If(t):gt(t)?Of(t):typeof t=="string"?t:""}function If(t){for(var e="",n,o=0,r=t.length;o-1?fo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:fo[t]=/HTMLUnknownElement/.test(e.toString())}var fi=Mt("text,number,password,search,email,tel,url");function Mf(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function Ff(t,e){var n=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function Bf(t,e){return document.createElementNS(Pf[t],e)}function jf(t){return document.createTextNode(t)}function zf(t){return document.createComment(t)}function Hf(t,e,n){t.insertBefore(e,n)}function Vf(t,e){t.removeChild(e)}function Uf(t,e){t.appendChild(e)}function Gf(t){return t.parentNode}function Wf(t){return t.nextSibling}function qf(t){return t.tagName}function Xf(t,e){t.textContent=e}function Kf(t,e){t.setAttribute(e,"")}var Yf=Object.freeze({__proto__:null,createElement:Ff,createElementNS:Bf,createTextNode:jf,createComment:zf,insertBefore:Hf,removeChild:Vf,appendChild:Uf,parentNode:Gf,nextSibling:Wf,tagName:qf,setTextContent:Xf,setStyleScope:Kf}),Zf={create:function(t,e){an(e)},update:function(t,e){t.data.ref!==e.data.ref&&(an(t,!0),an(e))},destroy:function(t){an(t,!0)}};function an(t,e){var n=t.data.ref;if(g(n)){var o=t.context,r=t.componentInstance||t.elm,i=e?null:r,a=e?void 0:r;if(K(n)){ee(n,o,[i],o,"template ref function");return}var l=t.data.refInFor,s=typeof n=="string"||typeof n=="number",f=At(n),c=o.$refs;if(s||f){if(l){var h=s?c[n]:n.value;e?M(h)&&we(h,r):M(h)?h.includes(r)||h.push(r):s?(c[n]=[r],ms(o,n,c[n])):n.value=[r]}else if(s){if(e&&c[n]!==r)return;c[n]=a,ms(o,n,i)}else if(f){if(e&&n.value!==r)return;n.value=i}}}}function ms(t,e,n){var o=t._setupState;o&&bt(o,e)&&(At(o[e])?o[e].value=n:o[e]=n)}var ge=new Ot("",{},[]),xn=["create","activate","update","remove","destroy"];function ke(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&g(t.data)===g(e.data)&&Qf(t,e)||tt(t.isAsyncPlaceholder)&&D(e.asyncFactory.error))}function Qf(t,e){if(t.tag!=="input")return!0;var n,o=g(n=t.data)&&g(n=n.attrs)&&n.type,r=g(n=e.data)&&g(n=n.attrs)&&n.type;return o===r||fi(o)&&fi(r)}function Jf(t,e,n){var o,r,i={};for(o=e;o<=n;++o)r=t[o].key,g(r)&&(i[r]=o);return i}function th(t){var e,n,o={},r=t.modules,i=t.nodeOps;for(e=0;eA?(bn=D(v[B+1])?null:v[B+1].elm,x(d,bn,v,C,B,E)):C>B&&R(p,k,A)}function U(d,p,v,E){for(var $=v;$-1?ys(t,e,n):Af(e)?Mo(n)?t.removeAttribute(e):(n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,n)):Lc(e)?t.setAttribute(e,xf(e,n)):Ki(e)?Mo(n)?t.removeAttributeNS(pi,Dc(e)):t.setAttributeNS(pi,e,n):ys(t,e,n)}function ys(t,e,n){if(Mo(n))t.removeAttribute(e);else{if(mn&&!vn&&t.tagName==="TEXTAREA"&&e==="placeholder"&&n!==""&&!t.__ieph){var o=function(r){r.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}var ah={create:gs,update:gs};function bs(t,e){var n=e.elm,o=e.data,r=t.data;if(!(D(o.staticClass)&&D(o.class)&&(D(r)||D(r.staticClass)&&D(r.class)))){var i=kf(e),a=n._transitionClasses;g(a)&&(i=Yi(i,Zi(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var sh={create:bs,update:bs},Tr="__r",xr="__c";function lh(t){if(g(t[Tr])){var e=mn?"change":"input";t[e]=[].concat(t[Tr],t[e]||[]),delete t[Tr]}g(t[xr])&&(t.change=[].concat(t[xr],t.change||[]),delete t[xr])}var Xn;function ch(t,e,n){var o=Xn;return function r(){var i=e.apply(null,arguments);i!==null&&Fc(t,r,n,o)}}var uh=oi&&!(ja&&Number(ja[1])<=53);function dh(t,e,n,o){if(uh){var r=Ic,i=e;e=i._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=r||a.timeStamp<=0||a.target.ownerDocument!==document)return i.apply(this,arguments)}}Xn.addEventListener(t,e,sc?{capture:n,passive:o}:n)}function Fc(t,e,n,o){(o||Xn).removeEventListener(t,e._wrapper||e,n)}function Ar(t,e){if(!(D(t.data.on)&&D(e.data.on))){var n=e.data.on||{},o=t.data.on||{};Xn=e.elm||t.elm,lh(n),gc(n,o,dh,Fc,ch,e.context),Xn=void 0}}var ph={create:Ar,update:Ar,destroy:function(t){return Ar(t,ge)}},ho;function ws(t,e){if(!(D(t.data.domProps)&&D(e.data.domProps))){var n,o,r=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};(g(a.__ob__)||tt(a._v_attr_proxy))&&(a=e.data.domProps=Z({},a));for(n in i)n in a||(r[n]="");for(n in a){if(o=a[n],n==="textContent"||n==="innerHTML"){if(e.children&&(e.children.length=0),o===i[n])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(n==="value"&&r.tagName!=="PROGRESS"){r._value=o;var l=D(o)?"":String(o);fh(r,l)&&(r.value=l)}else if(n==="innerHTML"&&Qi(r.tagName)&&D(r.innerHTML)){ho=ho||document.createElement("div"),ho.innerHTML="".concat(o,"");for(var s=ho.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}else if(o!==i[n])try{r[n]=o}catch{}}}}function fh(t,e){return!t.composing&&(t.tagName==="OPTION"||hh(t,e)||mh(t,e))}function hh(t,e){var n=!0;try{n=document.activeElement!==t}catch{}return n&&t.value!==e}function mh(t,e){var n=t.value,o=t._vModifiers;if(g(o)){if(o.number)return Vn(n)!==Vn(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}var vh={create:ws,update:ws},gh=Ue(function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach(function(r){if(r){var i=r.split(o);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function kr(t){var e=Bc(t.style);return t.staticStyle?Z(t.staticStyle,e):e}function Bc(t){return Array.isArray(t)?ec(t):typeof t=="string"?gh(t):t}function _h(t,e){for(var n={},o,r=t;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(o=kr(r.data))&&Z(n,o);(o=kr(t.data))&&Z(n,o);for(var i=t;i=i.parent;)i.data&&(o=kr(i.data))&&Z(n,o);return n}var yh=/^--/,Es=/\s*!important$/,$s=function(t,e,n){if(yh.test(e))t.style.setProperty(e,n);else if(Es.test(n))t.style.setProperty(Yn(e),n.replace(Es,""),"important");else{var o=bh(e);if(Array.isArray(n))for(var r=0,i=n.length;r-1?e.split(jc).forEach(function(o){return t.classList.add(o)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hc(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(jc).forEach(function(r){return t.classList.remove(r)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Vc(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&Z(e,Ts(t.name||"v")),Z(e,t),e}else if(typeof t=="string")return Ts(t)}}var Ts=Ue(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),Uc=xt&&!vn,tn="transition",Nr="animation",To="transition",Fo="transitionend",hi="animation",Gc="animationend";Uc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(To="WebkitTransition",Fo="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(hi="WebkitAnimation",Gc="webkitAnimationEnd"));var xs=xt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Wc(t){xs(function(){xs(t)})}function Me(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),zc(t,e))}function Zt(t,e){t._transitionClasses&&we(t._transitionClasses,e),Hc(t,e)}function qc(t,e,n){var o=Xc(t,e),r=o.type,i=o.timeout,a=o.propCount;if(!r)return n();var l=r===tn?Fo:Gc,s=0,f=function(){t.removeEventListener(l,c),n()},c=function(h){h.target===t&&++s>=a&&f()};setTimeout(function(){s0&&(f=tn,c=i,h=r.length):e===Nr?s>0&&(f=Nr,c=s,h=l.length):(c=Math.max(i,s),f=c>0?i>s?tn:Nr:null,h=f?f===tn?r.length:l.length:0);var m=f===tn&&Eh.test(n[To+"Property"]);return{type:f,timeout:c,propCount:h,hasTransform:m}}function As(t,e){for(;t.length1}function Ns(t,e){e.data.show!==!0&&mi(e)}var $h=xt?{create:Ns,activate:Ns,remove:function(t,e){t.data.show!==!0?Kc(t,e):e()}}:{},Ch=[ah,sh,ph,vh,wh,$h],Sh=Ch.concat(ih),Th=th({nodeOps:Yf,modules:Sh});vn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ta(t,"input")});var Zc={inserted:function(t,e,n,o){n.tag==="select"?(o.elm&&!o.elm._vOptions?ve(n,"postpatch",function(){Zc.componentUpdated(t,e,n)}):Is(t,e,n.context),t._vOptions=[].map.call(t.options,Bo)):(n.tag==="textarea"||fi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",xh),t.addEventListener("compositionend",Rs),t.addEventListener("change",Rs),vn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if(n.tag==="select"){Is(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,Bo);if(r.some(function(a,l){return!Be(a,o[l])})){var i=t.multiple?e.value.some(function(a){return Ps(a,r)}):e.value!==e.oldValue&&Ps(e.value,r);i&&ta(t,"change")}}}};function Is(t,e,n){Os(t,e),(mn||ac)&&setTimeout(function(){Os(t,e)},0)}function Os(t,e,n){var o=e.value,r=t.multiple;if(!(r&&!Array.isArray(o))){for(var i,a,l=0,s=t.options.length;l-1,a.selected!==i&&(a.selected=i);else if(Be(Bo(a),o)){t.selectedIndex!==l&&(t.selectedIndex=l);return}r||(t.selectedIndex=-1)}}function Ps(t,e){return e.every(function(n){return!Be(n,t)})}function Bo(t){return"_value"in t?t._value:t.value}function xh(t){t.target.composing=!0}function Rs(t){t.target.composing&&(t.target.composing=!1,ta(t.target,"input"))}function ta(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function vi(t){return t.componentInstance&&(!t.data||!t.data.transition)?vi(t.componentInstance._vnode):t}var Ah={bind:function(t,e,n){var o=e.value;n=vi(n);var r=n.data&&n.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;o&&r?(n.data.show=!0,mi(n,function(){t.style.display=i})):t.style.display=o?i:"none"},update:function(t,e,n){var o=e.value,r=e.oldValue;if(!o!=!r){n=vi(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,o?mi(n,function(){t.style.display=t.__vOriginalDisplay}):Kc(n,function(){t.style.display="none"})):t.style.display=o?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},kh={model:Zc,show:Ah},Qc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function gi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gi($c(e.children)):t}function Jc(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var o in r)e[Fe(o)]=r[o];return e}function Ls(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Nh(t){for(;t=t.parent;)if(t.data.transition)return!0}function Ih(t,e){return e.key===t.key&&e.tag===t.tag}var Oh=function(t){return t.tag||Gn(t)},Ph=function(t){return t.name==="show"},Rh={name:"transition",props:Qc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Oh),!!n.length)){var o=this.mode,r=n[0];if(Nh(this.$vnode))return r;var i=gi(r);if(!i)return r;if(this._leaving)return Ls(t,r);var a="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?a+"comment":a+i.tag:Kn(i.key)?String(i.key).indexOf(a)===0?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=Jc(this),s=this._vnode,f=gi(s);if(i.data.directives&&i.data.directives.some(Ph)&&(i.data.show=!0),f&&f.data&&!Ih(i,f)&&!Gn(f)&&!(f.componentInstance&&f.componentInstance._vnode.isComment)){var c=f.data.transition=Z({},l);if(o==="out-in")return this._leaving=!0,ve(c,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Ls(t,r);if(o==="in-out"){if(Gn(i))return s;var h,m=function(){h()};ve(l,"afterEnter",m),ve(l,"enterCancelled",m),ve(c,"delayLeave",function(y){h=y})}}return r}}},tu=Z({tag:String,moveClass:String},Qc);delete tu.mode;var Lh={props:tu,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=Ac(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],a=Jc(this),l=0;lt.length)&&(e=t.length);for(var n=0,o=Array(e);n2?n-2:0),r=2;r1?e-1:0),o=1;o"u"?null:ct(BigInt.prototype.toString),Hs=typeof Symbol>"u"?null:ct(Symbol.prototype.toString),pt=ct(Object.prototype.hasOwnProperty),In=ct(Object.prototype.toString),ht=ct(RegExp.prototype.test),Ne=tm(TypeError);function ct(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:Ln;if(Ms&&Ms(t,null),!he(e))return t;let o=e.length;for(;o--;){let r=e[o];if(typeof r=="string"){const i=n(r);i!==r&&(Wh(e)||(e[o]=i),r=i)}t[r]=!0}return t}function em(t){for(let e=0;e/g),lm=vt(/\${[\w\W]*/g),cm=vt(/^data-[\-\w.\u00B7-\uFFFF]+$/),um=vt(/^aria-[\-\w]+$/),qs=vt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dm=vt(/^(?:\w+script|data):/i),pm=vt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fm=vt(/^html$/i),hm=vt(/^[a-z][.\w]*(-[.\w]+)+$/i),Xs=vt(/<[/\w!]/g),mm=vt(/<[/\w]/g),vm=vt(/<\/no(script|embed|frames)/i),gm=vt(/\/>/i),jt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},_m=function(){return typeof window>"u"?null:window},ym=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Ks=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ce=function(t,e,n,o){return pt(t,e)&&he(t[e])?z(o.base?yt(o.base):{},t[e],o.transform):n};function ou(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_m();const e=u=>ou(u);if(e.version="3.4.11",e.removed=[],!t||!t.document||t.document.nodeType!==jt.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const o=n,r=o.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,a=t.Node,l=t.Element,s=t.NodeFilter;t.NamedNodeMap===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const c=t.DOMParser,h=t.trustedTypes,m=l.prototype,y=zt(m,"cloneNode"),S=zt(m,"remove"),b=zt(m,"nextSibling"),T=zt(m,"childNodes"),P=zt(m,"parentNode"),x=zt(m,"shadowRoot"),L=zt(m,"attributes"),R=a&&a.prototype?zt(a.prototype,"nodeType"):null,W=a&&a.prototype?zt(a.prototype,"nodeName"):null;if(typeof i=="function"){const u=n.createElement("template");u.content&&u.content.ownerDocument&&(n=u.content.ownerDocument)}let V,U="",q,at=!1,st=0;const ut=function(){if(st>0)throw Ne('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},d=function(u){ut(),st++;try{return V.createHTML(u)}finally{st--}},p=function(u){ut(),st++;try{return V.createScriptURL(u)}finally{st--}},v=function(){return at||(q=ym(h,r),at=!0),q},E=n,$=E.implementation,k=E.createNodeIterator,C=E.createDocumentFragment,A=E.getElementsByTagName,I=o.importNode;let N=Ks();e.isSupported=typeof eu=="function"&&typeof P=="function"&&$&&$.createHTMLDocument!==void 0;const B=am,j=sm,dt=lm,ft=cm,kt=um,Et=dm,bn=pm,wn=hm;let ha=qs,et=null;const ma=z({},[...Vs,...Or,...Pr,...Rr,...Us]);let nt=null;const va=z({},[...Gs,...Lr,...Ws,...vo]);let ot=Object.seal(en(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),En=null,ga=null;const ie=Object.seal(en(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let _a=!0,sr=!0,ya=!1,ba=!0,ae=!1,$n=!0,Se=!1,lr=!1,cr=null,ur=null,dr=!1,We=!1,to=!1,eo=!1,wa=!0,Ea=!1;const $a="user-content-";let pr=!0,fr=!1,qe={},Ft=null;const hr=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ca=null;const Sa=z({},["audio","video","img","source","image","track"]);let mr=null;const Ta=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),no="http://www.w3.org/1998/Math/MathML",oo="http://www.w3.org/2000/svg",Bt="http://www.w3.org/1999/xhtml";let Xe=Bt,vr=!1,gr=null;const Zu=z({},[no,oo,Bt],Ir),xa=mt(["mi","mo","mn","ms","mtext"]);let _r=z({},xa);const Aa=mt(["annotation-xml"]);let yr=z({},Aa);const Qu=z({},["title","style","font","a","script"]);let Cn=null;const Ju=["application/xhtml+xml","text/html"],td="text/html";let rt=null,Ke=null;const ed=n.createElement("form"),ka=function(u){return u instanceof RegExp||u instanceof Function},br=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ke&&Ke===u)return;(!u||typeof u!="object")&&(u={}),u=yt(u),Cn=Ju.indexOf(u.PARSER_MEDIA_TYPE)===-1?td:u.PARSER_MEDIA_TYPE,rt=Cn==="application/xhtml+xml"?Ir:Ln,et=ce(u,"ALLOWED_TAGS",ma,{transform:rt}),nt=ce(u,"ALLOWED_ATTR",va,{transform:rt}),gr=ce(u,"ALLOWED_NAMESPACES",Zu,{transform:Ir}),mr=ce(u,"ADD_URI_SAFE_ATTR",Ta,{transform:rt,base:Ta}),Ca=ce(u,"ADD_DATA_URI_TAGS",Sa,{transform:rt,base:Sa}),Ft=ce(u,"FORBID_CONTENTS",hr,{transform:rt}),En=ce(u,"FORBID_TAGS",yt({}),{transform:rt}),ga=ce(u,"FORBID_ATTR",yt({}),{transform:rt}),qe=pt(u,"USE_PROFILES")?u.USE_PROFILES&&typeof u.USE_PROFILES=="object"?yt(u.USE_PROFILES):u.USE_PROFILES:!1,_a=u.ALLOW_ARIA_ATTR!==!1,sr=u.ALLOW_DATA_ATTR!==!1,ya=u.ALLOW_UNKNOWN_PROTOCOLS||!1,ba=u.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=u.SAFE_FOR_TEMPLATES||!1,$n=u.SAFE_FOR_XML!==!1,Se=u.WHOLE_DOCUMENT||!1,We=u.RETURN_DOM||!1,to=u.RETURN_DOM_FRAGMENT||!1,eo=u.RETURN_TRUSTED_TYPE||!1,dr=u.FORCE_BODY||!1,wa=u.SANITIZE_DOM!==!1,Ea=u.SANITIZE_NAMED_PROPS||!1,pr=u.KEEP_CONTENT!==!1,fr=u.IN_PLACE||!1,ha=om(u.ALLOWED_URI_REGEXP)?u.ALLOWED_URI_REGEXP:qs,Xe=typeof u.NAMESPACE=="string"?u.NAMESPACE:Bt,_r=pt(u,"MATHML_TEXT_INTEGRATION_POINTS")&&u.MATHML_TEXT_INTEGRATION_POINTS&&typeof u.MATHML_TEXT_INTEGRATION_POINTS=="object"?yt(u.MATHML_TEXT_INTEGRATION_POINTS):z({},xa),yr=pt(u,"HTML_INTEGRATION_POINTS")&&u.HTML_INTEGRATION_POINTS&&typeof u.HTML_INTEGRATION_POINTS=="object"?yt(u.HTML_INTEGRATION_POINTS):z({},Aa);const _=pt(u,"CUSTOM_ELEMENT_HANDLING")&&u.CUSTOM_ELEMENT_HANDLING&&typeof u.CUSTOM_ELEMENT_HANDLING=="object"?yt(u.CUSTOM_ELEMENT_HANDLING):en(null);if(ot=en(null),pt(_,"tagNameCheck")&&ka(_.tagNameCheck)&&(ot.tagNameCheck=_.tagNameCheck),pt(_,"attributeNameCheck")&&ka(_.attributeNameCheck)&&(ot.attributeNameCheck=_.attributeNameCheck),pt(_,"allowCustomizedBuiltInElements")&&typeof _.allowCustomizedBuiltInElements=="boolean"&&(ot.allowCustomizedBuiltInElements=_.allowCustomizedBuiltInElements),vt(ot),ae&&(sr=!1),to&&(We=!0),qe&&(et=z({},Us),nt=en(null),qe.html===!0&&(z(et,Vs),z(nt,Gs)),qe.svg===!0&&(z(et,Or),z(nt,Lr),z(nt,vo)),qe.svgFilters===!0&&(z(et,Pr),z(nt,Lr),z(nt,vo)),qe.mathMl===!0&&(z(et,Rr),z(nt,Ws),z(nt,vo))),ie.tagCheck=null,ie.attributeCheck=null,pt(u,"ADD_TAGS")&&(typeof u.ADD_TAGS=="function"?ie.tagCheck=u.ADD_TAGS:he(u.ADD_TAGS)&&(et===ma&&(et=yt(et)),z(et,u.ADD_TAGS,rt))),pt(u,"ADD_ATTR")&&(typeof u.ADD_ATTR=="function"?ie.attributeCheck=u.ADD_ATTR:he(u.ADD_ATTR)&&(nt===va&&(nt=yt(nt)),z(nt,u.ADD_ATTR,rt))),pt(u,"ADD_URI_SAFE_ATTR")&&he(u.ADD_URI_SAFE_ATTR)&&z(mr,u.ADD_URI_SAFE_ATTR,rt),pt(u,"FORBID_CONTENTS")&&he(u.FORBID_CONTENTS)&&(Ft===hr&&(Ft=yt(Ft)),z(Ft,u.FORBID_CONTENTS,rt)),pt(u,"ADD_FORBID_CONTENTS")&&he(u.ADD_FORBID_CONTENTS)&&(Ft===hr&&(Ft=yt(Ft)),z(Ft,u.ADD_FORBID_CONTENTS,rt)),pr&&(et["#text"]=!0),Se&&z(et,["html","head","body"]),et.table&&(z(et,["tbody"]),delete En.tbody),u.TRUSTED_TYPES_POLICY){if(typeof u.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof u.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const w=V;V=u.TRUSTED_TYPES_POLICY;try{U=d("")}catch(O){throw V=w,O}}else u.TRUSTED_TYPES_POLICY===null?(V=void 0,U=""):(V===void 0&&(V=v()),V&&typeof U=="string"&&(U=d("")));mt&&mt(u),Ke=u},Na=z({},[...Or,...Pr,...rm]),Ia=z({},[...Rr,...im]),nd=function(u,_,w){return _.namespaceURI===Bt?u==="svg":_.namespaceURI===no?u==="svg"&&(w==="annotation-xml"||_r[w]):!!Na[u]},od=function(u,_,w){return _.namespaceURI===Bt?u==="math":_.namespaceURI===oo?u==="math"&&yr[w]:!!Ia[u]},rd=function(u,_,w){return _.namespaceURI===oo&&!yr[w]||_.namespaceURI===no&&!_r[w]?!1:!Ia[u]&&(Qu[u]||!Na[u])},id=function(u){let _=P(u);(!_||!_.tagName)&&(_={namespaceURI:Xe,tagName:"template"});const w=Ln(u.tagName),O=Ln(_.tagName);return gr[u.namespaceURI]?u.namespaceURI===oo?nd(w,_,O):u.namespaceURI===no?od(w,_,O):u.namespaceURI===Bt?rd(w,_,O):!!(Cn==="application/xhtml+xml"&&gr[u.namespaceURI]):!1},Te=function(u){Ze(e.removed,{element:u});try{P(u).removeChild(u)}catch{if(S(u),!P(u))throw Ne("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Oa=function(u){const _=T(u);if(_){const O=[];kn(_,F=>{Ze(O,F)}),kn(O,F=>{try{S(F)}catch{}})}const w=L(u);if(w)for(let O=w.length-1;O>=0;--O){const F=w[O],X=F&&F.name;if(typeof X=="string")try{u.removeAttribute(X)}catch{}}},xe=function(u,_){try{Ze(e.removed,{attribute:_.getAttributeNode(u),from:_})}catch{Ze(e.removed,{attribute:null,from:_})}if(_.removeAttribute(u),u==="is")if(We||to)try{Te(_)}catch{}else try{_.setAttribute(u,"")}catch{}},ad=function(u){const _=L(u);if(_)for(let w=_.length-1;w>=0;--w){const O=_[w],F=O&&O.name;if(!(typeof F!="string"||nt[rt(F)]))try{u.removeAttribute(F)}catch{}}},sd=function(u){const _=[u];for(;_.length>0;){const w=_.pop();(R?R(w):w.nodeType)===jt.element&&ad(w);const O=T(w);if(O)for(let F=O.length-1;F>=0;--F)_.push(O[F])}},Pa=function(u){let _=null,w=null;if(dr)u=""+u;else{const X=Bs(u,/^[\r\n\t ]+/);w=X&&X[0]}Cn==="application/xhtml+xml"&&Xe===Bt&&(u=''+u+"");const O=V?d(u):u;if(Xe===Bt)try{_=new c().parseFromString(O,Cn)}catch{}if(!_||!_.documentElement){_=$.createDocument(Xe,"template",null);try{_.documentElement.innerHTML=vr?U:O}catch{}}const F=_.body||_.documentElement;return u&&w&&F.insertBefore(n.createTextNode(w),F.childNodes[0]||null),Xe===Bt?A.call(_,Se?"html":"body")[0]:Se?_.documentElement:F},Ra=function(u){return k.call(u.ownerDocument||u,u,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},ro=function(u){return u=Nn(u,B," "),u=Nn(u,j," "),u=Nn(u,dt," "),u},wr=function(u){var _;u.normalize();const w=k.call(u.ownerDocument||u,u,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let O=w.nextNode();for(;O;)O.data=ro(O.data),O=w.nextNode();const F=(_=u.querySelectorAll)===null||_===void 0?void 0:_.call(u,"template");F&&kn(F,X=>{Ye(X.content)&&wr(X.content)})},io=function(u){const _=W?W(u):null;return typeof _!="string"||rt(_)!=="form"?!1:typeof u.nodeName!="string"||typeof u.textContent!="string"||typeof u.removeChild!="function"||u.attributes!==L(u)||typeof u.removeAttribute!="function"||typeof u.setAttribute!="function"||typeof u.namespaceURI!="string"||typeof u.insertBefore!="function"||typeof u.hasChildNodes!="function"||u.nodeType!==R(u)||u.childNodes!==T(u)},Ye=function(u){if(!R||typeof u!="object"||u===null)return!1;try{return R(u)===jt.documentFragment}catch{return!1}},Sn=function(u){if(!R||typeof u!="object"||u===null)return!1;try{return typeof R(u)=="number"}catch{return!1}};function qt(u,_,w){u.length!==0&&kn(u,O=>{O.call(e,_,w,Ke)})}const ld=function(u,_){return!!($n&&u.hasChildNodes()&&!Sn(u.firstElementChild)&&ht(Xs,u.textContent)&&ht(Xs,u.innerHTML)||$n&&u.namespaceURI===Bt&&_==="style"&&Sn(u.firstElementChild)||u.nodeType===jt.processingInstruction||$n&&u.nodeType===jt.comment&&ht(mm,u.data))},cd=function(u,_){if(!En[_]&&Ma(_)&&(ot.tagNameCheck instanceof RegExp&&ht(ot.tagNameCheck,_)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(_)))return!1;if(pr&&!Ft[_]){const w=P(u),O=T(u);if(O&&w){const F=O.length;for(let X=F-1;X>=0;--X){const Y=fr?O[X]:y(O[X],!0);w.insertBefore(Y,b(u))}}}return Te(u),!0},La=function(u){if(qt(N.beforeSanitizeElements,u,null),io(u))return Te(u),!0;const _=rt(W?W(u):u.nodeName);if(qt(N.uponSanitizeElement,u,{tagName:_,allowedTags:et}),ld(u,_))return Te(u),!0;if(En[_]||!(ie.tagCheck instanceof Function&&ie.tagCheck(_))&&!et[_])return cd(u,_);if((R?R(u):u.nodeType)===jt.element&&!id(u)||(_==="noscript"||_==="noembed"||_==="noframes")&&ht(vm,u.innerHTML))return Te(u),!0;if(ae&&u.nodeType===jt.text){const w=ro(u.textContent);u.textContent!==w&&(Ze(e.removed,{element:u.cloneNode()}),u.textContent=w)}return qt(N.afterSanitizeElements,u,null),!1},Da=function(u,_,w){if(ga[_]||wa&&(_==="id"||_==="name")&&(w in n||w in ed))return!1;const O=nt[_]||ie.attributeCheck instanceof Function&&ie.attributeCheck(_,u);if(!(sr&&ht(ft,_))&&!(_a&&ht(kt,_))){if(O){if(!mr[_]&&!ht(ha,Nn(w,bn,""))&&!((_==="src"||_==="xlink:href"||_==="href")&&u!=="script"&&js(w,"data:")===0&&Ca[u])&&!(ya&&!ht(Et,Nn(w,bn,"")))&&w)return!1}else if(!(Ma(u)&&(ot.tagNameCheck instanceof RegExp&&ht(ot.tagNameCheck,u)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(u))&&(ot.attributeNameCheck instanceof RegExp&&ht(ot.attributeNameCheck,_)||ot.attributeNameCheck instanceof Function&&ot.attributeNameCheck(_,u))||_==="is"&&ot.allowCustomizedBuiltInElements&&(ot.tagNameCheck instanceof RegExp&&ht(ot.tagNameCheck,w)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(w))))return!1}return!0},ud=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ma=function(u){return!ud[Ln(u)]&&ht(wn,u)},dd=function(u,_,w,O){if(V&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!w)switch(h.getAttributeType(u,_)){case"TrustedHTML":return d(O);case"TrustedScriptURL":return p(O)}return O},pd=function(u,_,w,O){try{w?u.setAttributeNS(w,_,O):u.setAttribute(_,O),io(u)?Te(u):Fs(e.removed)}catch{xe(_,u)}},Fa=function(u){qt(N.beforeSanitizeAttributes,u,null);const _=u.attributes;if(!_||io(u))return;const w={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:nt,forceKeepAttr:void 0};let O=_.length;const F=rt(u.nodeName);for(;O--;){const X=_[O],Y=X.name,Ae=X.namespaceURI,se=X.value,$t=rt(Y),le=se;let _t=Y==="value"?le:Zh(le);if(w.attrName=$t,w.attrValue=_t,w.keepAttr=!0,w.forceKeepAttr=void 0,qt(N.uponSanitizeAttribute,u,w),_t=w.attrValue,Ea&&($t==="id"||$t==="name")&&js(_t,$a)!==0&&(xe(Y,u),_t=$a+_t),$n&&ht(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,_t)){xe(Y,u);continue}if($t==="attributename"&&Bs(_t,"href")){xe(Y,u);continue}if(!w.forceKeepAttr){if(!w.keepAttr){xe(Y,u);continue}if(!ba&&ht(gm,_t)){xe(Y,u);continue}if(ae&&(_t=ro(_t)),!Da(F,$t,_t)){xe(Y,u);continue}_t=dd(F,$t,Ae,_t),_t!==le&&pd(u,Y,Ae,_t)}}qt(N.afterSanitizeAttributes,u,null)},ao=function(u){let _=null;const w=Ra(u);for(qt(N.beforeSanitizeShadowDOM,u,null);_=w.nextNode();)if(qt(N.uponSanitizeShadowNode,_,null),La(_),Fa(_),Ye(_.content)&&ao(_.content),(R?R(_):_.nodeType)===jt.element){const O=x(_);Ye(O)&&(Er(O),ao(O))}qt(N.afterSanitizeShadowDOM,u,null)},Er=function(u){const _=[{node:u,shadow:null}];for(;_.length>0;){const w=_.pop();if(w.shadow){ao(w.shadow);continue}const O=w.node,F=(R?R(O):O.nodeType)===jt.element,X=T(O);if(X)for(let Y=X.length-1;Y>=0;--Y)_.push({node:X[Y],shadow:null});if(F){const Y=W?W(O):null;if(typeof Y=="string"&&rt(Y)==="template"){const Ae=O.content;Ye(Ae)&&_.push({node:Ae,shadow:null})}}if(F){const Y=x(O);Ye(Y)&&_.push({node:null,shadow:Y},{node:Y,shadow:null})}}};return e.sanitize=function(u){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=null,O=null,F=null,X=null;if(vr=!u,vr&&(u=""),typeof u!="string"&&!Sn(u)&&(u=nm(u),typeof u!="string"))throw Ne("dirty is not a string, aborting");if(!e.isSupported)return u;lr?(et=cr,nt=ur):br(_),(N.uponSanitizeElement.length>0||N.uponSanitizeAttribute.length>0)&&(et=yt(et)),N.uponSanitizeAttribute.length>0&&(nt=yt(nt)),e.removed=[];const Y=fr&&typeof u!="string"&&Sn(u);if(Y){const $t=W?W(u):u.nodeName;if(typeof $t=="string"){const le=rt($t);if(!et[le]||En[le])throw Ne("root node is forbidden and cannot be sanitized in-place")}if(io(u))throw Ne("root node is clobbered and cannot be sanitized in-place");try{Er(u)}catch(le){throw Oa(u),le}}else if(Sn(u))w=Pa(""),O=w.ownerDocument.importNode(u,!0),O.nodeType===jt.element&&O.nodeName==="BODY"||O.nodeName==="HTML"?w=O:w.appendChild(O),Er(O);else{if(!We&&!ae&&!Se&&u.indexOf("<")===-1)return V&&eo?d(u):u;if(w=Pa(u),!w)return We?null:eo?U:""}w&&dr&&Te(w.firstChild);const Ae=Ra(Y?u:w);try{for(;F=Ae.nextNode();)La(F),Fa(F),Ye(F.content)&&ao(F.content)}catch($t){throw Y&&Oa(u),$t}if(Y)return kn(e.removed,$t=>{$t.element&&sd($t.element)}),ae&&wr(u),u;if(We){if(ae&&wr(w),to)for(X=C.call(w.ownerDocument);w.firstChild;)X.appendChild(w.firstChild);else X=w;return(nt.shadowroot||nt.shadowrootmode)&&(X=I.call(o,X,!0)),X}let se=Se?w.outerHTML:w.innerHTML;return Se&&et["!doctype"]&&w.ownerDocument&&w.ownerDocument.doctype&&w.ownerDocument.doctype.name&&ht(fm,w.ownerDocument.doctype.name)&&(se=" -`+se),ae&&(se=ro(se)),V&&eo?d(se):se},e.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};br(u),lr=!0,cr=et,ur=nt},e.clearConfig=function(){Ke=null,lr=!1,cr=null,ur=null,V=q,U=""},e.isValidAttribute=function(u,_,w){Ke||br({});const O=rt(u),F=rt(_);return Da(O,F,w)},e.addHook=function(u,_){typeof _=="function"&&pt(N,u)&&Ze(N[u],_)},e.removeHook=function(u,_){if(pt(N,u)){if(_!==void 0){const w=Kh(N[u],_);return w===-1?void 0:Yh(N[u],w,1)[0]}return Fs(N[u])}},e.removeHooks=function(u){pt(N,u)&&(N[u]=[])},e.removeAllHooks=function(){N=Ks()},e}var ru=ou();function ea(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Dr,Ys;function bm(){if(Ys)return Dr;Ys=1;var t=/["'&<>]/;Dr=e;function e(n){var o=""+n,r=t.exec(o);if(!r)return o;var i,a="",l=0,s=0;for(l=r.index;le)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function Gt(t,e,n,o,r){const i=typeof n=="object"?n:void 0,a=typeof o=="number"?o:typeof n=="number"?n:void 0,l={escape:!0,sanitize:!0,...typeof r=="object"?r:typeof o=="object"?o:{}},s=S=>S,f=(l.sanitize?ru.sanitize:s)||s,c=l.escape?Zs:s,h=S=>typeof S=="string"||typeof S=="number",m=(S,b,T)=>S.replace(/%n/g,""+T).replace(/{([^{}]*)}/g,(P,x)=>{if(b===void 0||!(x in b))return c(P);const L=b[x];return h(L)?c(`${L}`):typeof L=="object"&&h(L.value)?(L.escape!==!1?Zs:s)(`${L.value}`):c(P)});let y=(r?.bundle??iu(t)).translations[e]||e;return y=Array.isArray(y)?y[0]:y,f(typeof i=="object"||a!==void 0?m(y,i,a):y)}function Em(t,e,n,o,r,i){const a="_"+e+"_::_"+n+"_",l=i?.bundle??iu(t),s=l.translations[a];if(typeof s<"u"){const f=s;if(Array.isArray(f)){const c=l.pluralFunction(o);return Gt(t,f[c],r,o,i)}}return o===1?Gt(t,e,r,o,i):Gt(t,n,r,o,i)}function $m(t,e=na()){switch(e==="pt-BR"&&(e="xbr"),e.length>3&&(e=e.substring(0,e.lastIndexOf("-"))),e){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}const au={account:Gt("password_policy","Account password policies"),sharing:Gt("password_policy","Share password policies")},Cm={enforceHaveIBeenPwned:!1,enforceNonCommonPassword:!0,enforceNumericCharacters:!1,enforceSpecialCharacters:!1,enforceUpperLowerCase:!1,minLength:10};function Sm(t,e,n){const o=document.querySelector(`#initial-state-${t}-${e}`);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${e} of ${t}`)}try{return JSON.parse(atob(o.value))}catch{throw new Error(`Could not parse initial state ${e} of ${t}`)}}function Q(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),i&&(s._scopeId="data-v-"+i);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var c=s.render;s.render=function(m,y){return f.call(y),c(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}class Tm{bundle;constructor(e){this.bundle={pluralFunction:e,translations:{}}}addTranslations(e){const n=Object.values(e.translations[""]??{}).map(({msgid:o,msgid_plural:r,msgstr:i})=>r!==void 0?[`_${o}_::_${r}_`,i]:[o,i[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(e,n={}){return Gt("",e,n,void 0,{bundle:this.bundle})}ngettext(e,n,o,r={}){return Em("",e,n,o,r,{bundle:this.bundle})}}class xm{debug=!1;language="en";translations={};setLanguage(e){return this.language=e,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(na().replace("-","_"))}addTranslation(e,n){return this.translations[e]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const e=new Tm(n=>$m(n,this.language));return this.language in this.translations&&e.addTranslations(this.translations[this.language]),e}}function Am(){return new xm}const oa=Am().detectLanguage().build(),km=(...t)=>oa.ngettext(...t),ra=(...t)=>oa.gettext(...t);function ia(...t){for(const e of t)if(!e.registered){for(const{l:n,t:o}of e){if(n!==na()||!o)continue;const r=Object.fromEntries(Object.entries(o).map(([i,a])=>[i,{msgid:i,msgid_plural:a.p,msgstr:a.v}]));oa.addTranslations({translations:{"":r}})}e.registered=!0}}const Nm=[{l:"af",t:{}},{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"bs",t:{}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"cy-GB",t:{}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fo",t:{}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gd",t:{}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"ne",t:{}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{Actions:{v:["Ações"]}}},{l:"pt-PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sq",t:{}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"ug",t:{}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}},{l:"zu-ZA",t:{}}],Im=[{l:"af",t:{}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{}},{l:"bs",t:{}},{l:"ca",t:{}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs-CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy-GB",t:{}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de-DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:["Εξωτερική τεκμηρίωση για {name}"]}}},{l:"en-GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{"External documentation for {name}":{v:["Väline dokumentatsioon {nimi}"]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:["اسناد بیرونی برای {name}"]}}},{l:"fi",t:{"External documentation for {name}":{v:["Ulkoinen dokumentaatio {name}lle"]}}},{l:"fo",t:{}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gd",t:{}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ja-JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{"External documentation for {name}":{v:["{name}의 외부 문서"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{}},{l:"nb",t:{"External documentation for {name}":{v:["Ekstern dokumentasjon for {name}"]}}},{l:"ne",t:{}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt-PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{"External documentation for {name}":{v:["Externá dokumentácia pre {name}"]}}},{l:"sl",t:{}},{l:"sq",t:{}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{"External documentation for {name}":{v:["{name}uchun tashqi hujjatlar"]}}},{l:"zh-CN",t:{"External documentation for {name}":{v:["{name} 的外部文档"]}}},{l:"zh-HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh-TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu-ZA",t:{}}],Om={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Pm=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Rm=[],Lm=Q(Om,Pm,Rm,!1,null,null);const Dm=Lm.exports;ia(Im);const[Qs]=Sm("core","config",{version:"30.0"}).version.split(".",2)??[],Mm=Qs&&Number.parseInt(Qs)<30,Fm={name:"NcSettingsSection",components:{HelpCircle:Dm},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:ra("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){return this.limitWidth||!Mm},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var Bm=function(){var t=this,e=t._self._c;return e("div",{staticClass:"settings-section",class:{"settings-section--limit-width":t.forceLimitWidth}},[e("h2",{staticClass:"settings-section__name"},[t._v(" "+t._s(t.name)+" "),t.hasDocUrl?e("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,title:t.docNameTranslated,"aria-label":t.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[e("HelpCircle",{attrs:{size:20}})],1):t._e()]),t.hasDescription?e("p",{staticClass:"settings-section__desc"},[t._v(" "+t._s(t.description)+" ")]):t._e(),t._t("default")],2)},jm=[],zm=Q(Fm,Bm,jm,!1,null,"56b92b56");const Hm=zm.exports,Vm=window.OC?.config?.version?.split(".")[0]||"34",su=Number.parseInt(Vm),jo=su<32,Um=su<34;function Gm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var lu={exports:{}},it=lu.exports={},Vt,Ut;function wi(){throw new Error("setTimeout has not been defined")}function Ei(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Vt=setTimeout:Vt=wi}catch{Vt=wi}try{typeof clearTimeout=="function"?Ut=clearTimeout:Ut=Ei}catch{Ut=Ei}})();function cu(t){if(Vt===setTimeout)return setTimeout(t,0);if((Vt===wi||!Vt)&&setTimeout)return Vt=setTimeout,setTimeout(t,0);try{return Vt(t,0)}catch{try{return Vt.call(null,t,0)}catch{return Vt.call(this,t,0)}}}function Wm(t){if(Ut===clearTimeout)return clearTimeout(t);if((Ut===Ei||!Ut)&&clearTimeout)return Ut=clearTimeout,clearTimeout(t);try{return Ut(t)}catch{try{return Ut.call(null,t)}catch{return Ut.call(this,t)}}}var Qt=[],ln=!1,Le,xo=-1;function qm(){!ln||!Le||(ln=!1,Le.length?Qt=Le.concat(Qt):xo=-1,Qt.length&&uu())}function uu(){if(!ln){var t=cu(qm);ln=!0;for(var e=Qt.length;e;){for(Le=Qt,Qt=[];++xo1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Mr}var Fr,tl;function fu(){if(tl)return Fr;tl=1;const t="2.0.0",e=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,o=16,r=e-6;return Fr={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Fr}var Br={exports:{}},el;function Ym(){return el||(el=1,(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:r}=fu(),i=pu();e=t.exports={};const a=e.re=[],l=e.safeRe=[],s=e.src=[],f=e.safeSrc=[],c=e.t={};let h=0;const m="[a-zA-Z0-9-]",y=[["\\s",1],["\\d",r],[m,o]],S=T=>{for(const[P,x]of y)T=T.split(`${P}*`).join(`${P}{0,${x}}`).split(`${P}+`).join(`${P}{1,${x}}`);return T},b=(T,P,x)=>{const L=S(P),R=h++;i(T,R,P),c[T]=R,s[R]=P,f[R]=L,a[R]=new RegExp(P,x?"g":void 0),l[R]=new RegExp(L,x?"g":void 0)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${m}*`),b("MAINVERSION",`(${s[c.NUMERICIDENTIFIER]})\\.(${s[c.NUMERICIDENTIFIER]})\\.(${s[c.NUMERICIDENTIFIER]})`),b("MAINVERSIONLOOSE",`(${s[c.NUMERICIDENTIFIERLOOSE]})\\.(${s[c.NUMERICIDENTIFIERLOOSE]})\\.(${s[c.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASEIDENTIFIER",`(?:${s[c.NONNUMERICIDENTIFIER]}|${s[c.NUMERICIDENTIFIER]})`),b("PRERELEASEIDENTIFIERLOOSE",`(?:${s[c.NONNUMERICIDENTIFIER]}|${s[c.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASE",`(?:-(${s[c.PRERELEASEIDENTIFIER]}(?:\\.${s[c.PRERELEASEIDENTIFIER]})*))`),b("PRERELEASELOOSE",`(?:-?(${s[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[c.PRERELEASEIDENTIFIERLOOSE]})*))`),b("BUILDIDENTIFIER",`${m}+`),b("BUILD",`(?:\\+(${s[c.BUILDIDENTIFIER]}(?:\\.${s[c.BUILDIDENTIFIER]})*))`),b("FULLPLAIN",`v?${s[c.MAINVERSION]}${s[c.PRERELEASE]}?${s[c.BUILD]}?`),b("FULL",`^${s[c.FULLPLAIN]}$`),b("LOOSEPLAIN",`[v=\\s]*${s[c.MAINVERSIONLOOSE]}${s[c.PRERELEASELOOSE]}?${s[c.BUILD]}?`),b("LOOSE",`^${s[c.LOOSEPLAIN]}$`),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE",`${s[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),b("XRANGEIDENTIFIER",`${s[c.NUMERICIDENTIFIER]}|x|X|\\*`),b("XRANGEPLAIN",`[v=\\s]*(${s[c.XRANGEIDENTIFIER]})(?:\\.(${s[c.XRANGEIDENTIFIER]})(?:\\.(${s[c.XRANGEIDENTIFIER]})(?:${s[c.PRERELEASE]})?${s[c.BUILD]}?)?)?`),b("XRANGEPLAINLOOSE",`[v=\\s]*(${s[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[c.XRANGEIDENTIFIERLOOSE]})(?:${s[c.PRERELEASELOOSE]})?${s[c.BUILD]}?)?)?`),b("XRANGE",`^${s[c.GTLT]}\\s*${s[c.XRANGEPLAIN]}$`),b("XRANGELOOSE",`^${s[c.GTLT]}\\s*${s[c.XRANGEPLAINLOOSE]}$`),b("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),b("COERCE",`${s[c.COERCEPLAIN]}(?:$|[^\\d])`),b("COERCEFULL",s[c.COERCEPLAIN]+`(?:${s[c.PRERELEASE]})?(?:${s[c.BUILD]})?(?:$|[^\\d])`),b("COERCERTL",s[c.COERCE],!0),b("COERCERTLFULL",s[c.COERCEFULL],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM",`(\\s*)${s[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",b("TILDE",`^${s[c.LONETILDE]}${s[c.XRANGEPLAIN]}$`),b("TILDELOOSE",`^${s[c.LONETILDE]}${s[c.XRANGEPLAINLOOSE]}$`),b("LONECARET","(?:\\^)"),b("CARETTRIM",`(\\s*)${s[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",b("CARET",`^${s[c.LONECARET]}${s[c.XRANGEPLAIN]}$`),b("CARETLOOSE",`^${s[c.LONECARET]}${s[c.XRANGEPLAINLOOSE]}$`),b("COMPARATORLOOSE",`^${s[c.GTLT]}\\s*(${s[c.LOOSEPLAIN]})$|^$`),b("COMPARATOR",`^${s[c.GTLT]}\\s*(${s[c.FULLPLAIN]})$|^$`),b("COMPARATORTRIM",`(\\s*)${s[c.GTLT]}\\s*(${s[c.LOOSEPLAIN]}|${s[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE",`^\\s*(${s[c.XRANGEPLAIN]})\\s+-\\s+(${s[c.XRANGEPLAIN]})\\s*$`),b("HYPHENRANGELOOSE",`^\\s*(${s[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[c.XRANGEPLAINLOOSE]})\\s*$`),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Br,Br.exports)),Br.exports}var jr,nl;function Zm(){if(nl)return jr;nl=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return jr=n=>n?typeof n!="object"?t:n:e,jr}var zr,ol;function Qm(){if(ol)return zr;ol=1;const t=/^[0-9]+$/,e=(n,o)=>{if(typeof n=="number"&&typeof o=="number")return n===o?0:ne(o,n)},zr}var Hr,rl;function hu(){if(rl)return Hr;rl=1;const t=pu(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:n}=fu(),{safeRe:o,t:r}=Ym(),i=Zm(),{compareIdentifiers:a}=Qm(),l=(f,c)=>{const h=c.split(".");if(h.length>f.length)return!1;for(let m=0;me)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",c,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;const m=c.trim().match(h.loose?o[r.LOOSE]:o[r.FULL]);if(!m)throw new TypeError(`Invalid Version: ${c}`);if(this.raw=c,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(y=>{if(/^[0-9]+$/.test(y)){const S=+y;if(S>=0&&Sc.major?1:this.minorc.minor?1:this.patchc.patch?1:0}comparePre(c){if(c instanceof s||(c=new s(c,this.options)),this.prerelease.length&&!c.prerelease.length)return-1;if(!this.prerelease.length&&c.prerelease.length)return 1;if(!this.prerelease.length&&!c.prerelease.length)return 0;let h=0;do{const m=this.prerelease[h],y=c.prerelease[h];if(t("prerelease compare",h,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return a(m,y)}while(++h)}compareBuild(c){c instanceof s||(c=new s(c,this.options));let h=0;do{const m=this.build[h],y=c.build[h];if(t("build compare",h,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return a(m,y)}while(++h)}inc(c,h,m){if(c.startsWith("pre")){if(!h&&m===!1)throw new Error("invalid increment argument: identifier is empty");if(h){const y=`-${h}`.match(this.options.loose?o[r.PRERELEASELOOSE]:o[r.PRERELEASE]);if(!y||y[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(c){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,m),this.inc("pre",h,m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,m),this.inc("pre",h,m);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const y=Number(m)?1:0;if(this.prerelease.length===0)this.prerelease=[y];else{let S=this.prerelease.length;for(;--S>=0;)typeof this.prerelease[S]=="number"&&(this.prerelease[S]++,S=-2);if(S===-1){if(h===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(y)}}if(h){let S=[h,y];if(m===!1&&(S=[h]),l(this.prerelease,h)){const b=this.prerelease[h.split(".").length];isNaN(b)&&(this.prerelease=S)}else this.prerelease=S}break}default:throw new Error(`invalid increment argument: ${c}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Hr=s,Hr}var Vr,il;function Jm(){if(il)return Vr;il=1;const t=hu();return Vr=(e,n)=>new t(e,n).major,Vr}var tv=Jm();const al=ea(tv);var Ur,sl;function ev(){if(sl)return Ur;sl=1;const t=hu();return Ur=(e,n,o=!1)=>{if(e instanceof t)return e;try{return new t(e,n)}catch(r){if(!o)return null;throw r}},Ur}var Gr,ll;function nv(){if(ll)return Gr;ll=1;const t=ev();return Gr=(e,n)=>{const o=t(e,n);return o?o.version:null},Gr}var ov=nv();const rv=ea(ov);class iv{bus;constructor(e){typeof e.getVersion!="function"||!rv(e.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):al(e.getVersion())!==al(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,n){this.bus.subscribe(e,n)}unsubscribe(e,n){this.bus.unsubscribe(e,n)}emit(e,...n){this.bus.emit(e,...n)}}class av{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).concat(n))}unsubscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).filter(o=>o!==n))}emit(e,...n){(this.handlers.get(e)||[]).forEach(o=>{try{o(n[0])}catch(r){console.error("could not invoke event listener",r)}})}}let On=null;function mu(){return On!==null?On:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?On=new iv(window._nc_event_bus):On=window._nc_event_bus=new av,On)}function sv(t,e){mu().subscribe(t,e)}function lv(t,...e){mu().emit(t,...e)}class zo{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,n,o){this.scope=`${o?zo.GLOBAL_SCOPE_PERSISTENT:zo.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=n}scopeKey(e){return`${this.scope}${e}`}setItem(e,n){this.wrapped.setItem(this.scopeKey(e),n)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class cv{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new zo(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function uv(t){return new cv(t)}pv();function dv(t){if(!t||typeof t!="string")throw new Error("Invalid CSRF token given",{cause:{token:t}});globalThis._nc_auth_requestToken!==t&&(globalThis._nc_auth_requestToken=t,globalThis.document&&(document.head.dataset.requesttoken=t),lv("csrf-token-update",{token:t,_internal:!0}))}function pv(){sv("csrf-token-update",({token:t,_internal:e})=>{e||dv(t)})}uv("public").persist().build();let Qe;function cl(t,e){return t?t.getAttribute(e):null}function fv(){if(Qe!==void 0)return Qe;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=cl(t,"data-user");return e===null?(Qe=null,Qe):(Qe={uid:e,displayName:cl(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Qe)}var lt=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(lt||{});class hv{context;constructor(e){this.context=e||{}}formatMessage(e,n,o){let r="["+lt[n].toUpperCase()+"] ";return o&&o.app&&(r+=o.app+": "),typeof e=="string"?r+e:(r+=`Unexpected ${e.name}`,e.message&&(r+=` "${e.message}"`),n===lt.Debug&&e.stack&&(r+=` +const dn=globalThis||void 0||self;var Sd={},Ct=Object.freeze({}),z=Array.isArray;function D(t){return t==null}function _(t){return t!=null}function ot(t){return t===!0}function xd(t){return t===!1}function Xn(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Y(t){return typeof t=="function"}function vt(t){return t!==null&&typeof t=="object"}var Mi=Object.prototype.toString;function Ot(t){return Mi.call(t)==="[object Object]"}function Ad(t){return Mi.call(t)==="[object RegExp]"}function lc(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Qr(t){return _(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Td(t){return t==null?"":Array.isArray(t)||Ot(t)&&t.toString===Mi?JSON.stringify(t,kd,2):String(t)}function kd(t,e){return e&&e.__v_isRef?e.value:e}function jn(t){var e=parseFloat(t);return isNaN(e)?t:e}function Bt(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r-1)return t.splice(o,1)}}var Od=Object.prototype.hasOwnProperty;function _t(t,e){return Od.call(t,e)}function Ue(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}var Id=/-(\w)/g,Me=Ue(function(t){return t.replace(Id,function(e,n){return n?n.toUpperCase():""})}),Pd=Ue(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Rd=/\B([A-Z])/g,Kn=Ue(function(t){return t.replace(Rd,"-$1").toLowerCase()});function Ld(t,e){function n(o){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,o):t.call(e)}return n._length=t.length,n}function Dd(t,e){return t.bind(e)}var cc=Function.prototype.bind?Dd:Ld;function ti(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function J(t,e){for(var n in e)t[n]=e[n];return t}function uc(t){for(var e={},n=0;n0,mc=Rt&&Rt.indexOf("edge/")>0;Rt&&Rt.indexOf("android")>0;var Hd=Rt&&/iphone|ipad|ipod|ios/.test(Rt),Xa=Rt&&Rt.match(/firefox\/(\d+)/),ni={}.watch,vc=!1;if(St)try{var Ka={};Object.defineProperty(Ka,"passive",{get:function(){vc=!0}}),window.addEventListener("test-passive",null,Ka)}catch{}var ho,we=function(){return ho===void 0&&(!St&&typeof dn<"u"?ho=dn.process&&Sd.VUE_ENV==="server":ho=!1),ho},Lo=St&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(t){return typeof t=="function"&&/native code/.test(t.toString())}var Yn=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),Vn;typeof Set<"u"&&sn(Set)?Vn=Set:Vn=(function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t})();var yt=null;function jd(){return yt&&{proxy:yt}}function ge(t){t===void 0&&(t=null),t||yt&&yt._scope.off(),yt=t,t&&t._scope.on()}var It=(function(){function t(e,n,o,r,i,a,l,s){this.tag=e,this.data=n,this.children=o,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=l,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t})(),pn=function(t){t===void 0&&(t="");var e=new It;return e.text=t,e.isComment=!0,e};function on(t){return new It(void 0,void 0,void 0,String(t))}function oi(t){var e=new It(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Vd=0,xo=[],Ud=function(){for(var t=0;t1)return n&&Y(e)?e.call(o):e}}var ns=Ue(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var n=t.charAt(0)==="~";t=n?t.slice(1):t;var o=t.charAt(0)==="!";return t=o?t.slice(1):t,{name:t,once:n,capture:o,passive:e}});function ai(t,e){function n(){var o=n.fns;if(z(o))for(var r=o.slice(),i=0;i0&&(r=Ac(r,"".concat(e||"","_").concat(o)),Sn(r[0])&&Sn(a)&&(n[i]=on(a.text+r[0].text),r.shift()),n.push.apply(n,r)):Xn(r)?Sn(a)?n[i]=on(a.text+r):r!==""&&n.push(on(r)):Sn(r)&&Sn(a)?n[i]=on(a.text+r.text):(ot(t._isVList)&&_(r.tag)&&D(r.key)&&_(e)&&(r.key="__vlist".concat(e,"_").concat(o,"__")),n.push(r)));return n}function rp(t,e){var n=null,o,r,i,a;if(z(t)||typeof t=="string")for(n=new Array(t.length),o=0,r=t.length;o0,a=e?!!e.$stable:!i,l=e&&e.$key;if(!e)r={};else{if(e._normalized)return e._normalized;if(a&&o&&o!==Ct&&l===o.$key&&!i&&!o.$hasNormal)return o;r={};for(var s in e)e[s]&&s[0]!=="$"&&(r[s]=mp(t,n,s,e[s]))}for(var f in n)f in r||(r[f]=vp(n,f));return e&&Object.isExtensible(e)&&(e._normalized=r),Nt(r,"$stable",a),Nt(r,"$key",l),Nt(r,"$hasNormal",i),r}function mp(t,e,n,o){var r=function(){var i=yt;ge(t);var a=arguments.length?o.apply(null,arguments):o({});a=a&&typeof a=="object"&&!z(a)?[a]:Hi(a);var l=a&&a[0];return ge(i),a&&(!l||a.length===1&&l.isComment&&!Un(l))?void 0:a};return o.proxy&&Object.defineProperty(e,n,{get:r,enumerable:!0,configurable:!0}),r}function vp(t,e){return function(){return t[e]}}function gp(t){var e=t.$options,n=e.setup;if(n){var o=t._setupContext=_p(t);ge(t),_n();var r=oe(n,null,[t._props||wc({}),o],t,"setup");if(yn(),ge(),Y(r))e.render=r;else if(vt(r))if(t._setupState=r,r.__sfc){var i=t._setupProxy={};for(var a in r)a!=="__sfc"&&ii(i,r,a)}else for(var a in r)hc(a)||ii(t,r,a)}}function _p(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Nt(e,"_v_attr_proxy",!0),Fo(e,t.$attrs,Ct,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Fo(e,t.$listeners,Ct,t,"$listeners")}return t._listenersProxy},get slots(){return bp(t)},emit:cc(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return ii(t,e,n)})}}}function Fo(t,e,n,o,r){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,yp(t,a,o,r));for(var a in t)a in e||(i=!0,delete t[a]);return i}function yp(t,e,n,o){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[o][e]}})}function bp(t){return t._slotsProxy||Oc(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Oc(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function wp(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ji(e._renderChildren,o),t.$scopedSlots=n?Ln(t.$parent,n.data.scopedSlots,t.$slots):Ct,t._c=function(i,a,l,s){return Mo(t,i,a,l,s,!1)},t.$createElement=function(i,a,l,s){return Mo(t,i,a,l,s,!0)};var r=n&&n.data;ye(t,"$attrs",r&&r.attrs||Ct,null,!0),ye(t,"$listeners",e._parentListeners||Ct,null,!0)}var ko=null;function $p(t){Nc(t.prototype),t.prototype.$nextTick=function(e){return Vi(e,this)},t.prototype._render=function(){var e=this,n=e.$options,o=n.render,r=n._parentVnode;r&&e._isMounted&&(e.$scopedSlots=Ln(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Oc(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i=yt,a=ko,l;try{ge(e),ko=e,l=o.call(e._renderProxy,e.$createElement)}catch(s){ze(s,e,"render"),l=e._vnode}finally{ko=a,ge(i)}return z(l)&&l.length===1&&(l=l[0]),l instanceof It||(l=pn()),l.parent=r,l}}function xr(t,e){return(t.__esModule||Yn&&t[Symbol.toStringTag]==="Module")&&(t=t.default),vt(t)?e.extend(t):t}function Ep(t,e,n,o,r){var i=pn();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:o,tag:r},i}function Cp(t,e){if(ot(t.error)&&_(t.errorComp))return t.errorComp;if(_(t.resolved))return t.resolved;var n=ko;if(n&&_(t.owners)&&t.owners.indexOf(n)===-1&&t.owners.push(n),ot(t.loading)&&_(t.loadingComp))return t.loadingComp;if(n&&!_(t.owners)){var o=t.owners=[n],r=!0,i=null,a=null;n.$on("hook:destroyed",function(){return be(o,n)});var l=function(h){for(var m=0,y=o.length;m1?ti(r):r;for(var i=ti(arguments,1),a='event handler for "'.concat(n,'"'),l=0,s=r.length;ldocument.createEvent("Event").timeStamp&&(di=function(){return Ar.now()})}var Gp=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Wp(){zc=di(),qi=!0;var t,e;for(Jt.sort(Gp),rn=0;rnrn&&Jt[n].id>t.id;)n--;Jt.splice(n+1,0,t)}ui||(ui=!0,Vi(Wp))}}function Yp(t){var e=t.$options.provide;if(e){var n=Y(e)?e.call(t):e;if(!vt(n))return;for(var o=ep(t),r=Yn?Reflect.ownKeys(n):Object.keys(n),i=0;i-1){if(i&&!_t(r,"default"))a=!1;else if(a===""||a===Kn(t)){var s=vs(String,r.type);(s<0||l-1)return this;var o=ti(arguments,1);return o.unshift(this),Y(e.install)?e.install.apply(e,o):Y(e)&&e.apply(null,o),n.push(e),this}}function Af(t){t.mixin=function(e){return this.options=He(this.options,e),this}}function Tf(t){t.cid=0;var e=1;t.extend=function(n){n=n||{};var o=this,r=o.cid,i=n._Ctor||(n._Ctor={});if(i[r])return i[r];var a=zo(n)||zo(o.options),l=function(s){this._init(s)};return l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.cid=e++,l.options=He(o.options,n),l.super=o,l.options.props&&kf(l),l.options.computed&&Nf(l),l.extend=o.extend,l.mixin=o.mixin,l.use=o.use,or.forEach(function(s){l[s]=o[s]}),a&&(l.options.components[a]=l),l.superOptions=o.options,l.extendOptions=n,l.sealedOptions=J({},l.options),i[r]=l,l}}function kf(t){var e=t.options.props;for(var n in e)Zi(t.prototype,"_props",n)}function Nf(t){var e=t.options.computed;for(var n in e)Vc(t.prototype,n,e[n])}function Of(t){or.forEach(function(e){t[e]=function(n,o){return o?(e==="component"&&Ot(o)&&(o.name=o.name||n,o=this.options._base.extend(o)),e==="directive"&&Y(o)&&(o={bind:o,update:o}),this.options[e+"s"][n]=o,o):this.options[e+"s"][n]}})}function ys(t){return t&&(zo(t.Ctor.options)||t.tag)}function go(t,e){return z(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Ad(t)?t.test(e):!1}function bs(t,e){var n=t.cache,o=t.keys,r=t._vnode,i=t.$vnode;for(var a in n){var l=n[a];if(l){var s=l.name;s&&!e(s)&&mi(n,a,o,r)}}i.componentOptions.children=void 0}function mi(t,e,n,o){var r=t[e];r&&(!o||r.tag!==o.tag)&&r.componentInstance.$destroy(),t[e]=null,be(n,e)}var ws=[String,RegExp,Array],If={name:"keep-alive",abstract:!0,props:{include:ws,exclude:ws,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,o=t.vnodeToCache,r=t.keyToCache;if(o){var i=o.tag,a=o.componentInstance,l=o.componentOptions;e[r]={name:ys(l),tag:i,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&mi(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)mi(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){bs(t,function(n){return go(e,n)})}),this.$watch("exclude",function(e){bs(t,function(n){return!go(e,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ic(t),n=e&&e.componentOptions;if(n){var o=ys(n),r=this,i=r.include,a=r.exclude;if(i&&(!o||!go(i,o))||a&&o&&go(a,o))return e;var l=this,s=l.cache,f=l.keys,u=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[u]?(e.componentInstance=s[u].componentInstance,be(f,u),f.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},Pf={KeepAlive:If};function Rf(t){var e={};e.get=function(){return Pt},Object.defineProperty(t,"config",e),t.util={warn:of,extend:J,mergeOptions:He,defineReactive:ye},t.set=zi,t.delete=yc,t.nextTick=Vi,t.observable=function(n){return ne(n),n},t.options=Object.create(null),or.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,J(t.options.components,Pf),xf(t),Af(t),Tf(t),Of(t)}Rf(q),Object.defineProperty(q.prototype,"$isServer",{get:we}),Object.defineProperty(q.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(q,"FunctionalRenderContext",{value:Xi}),q.version=Pp;var Lf=Bt("style,class"),Df=Bt("input,textarea,option,select,progress"),Ff=function(t,e,n){return n==="value"&&Df(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},Uc=Bt("contenteditable,draggable,spellcheck"),Mf=Bt("events,caret,typing,plaintext-only"),Bf=function(t,e){return jo(e)||e==="false"?"false":t==="contenteditable"&&Mf(e)?e:"true"},zf=Bt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),vi="http://www.w3.org/1999/xlink",Qi=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},Gc=function(t){return Qi(t)?t.slice(6,t.length):""},jo=function(t){return t==null||t===!1};function Hf(t){for(var e=t.data,n=t,o=t;_(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(e=$s(o.data,e));for(;_(n=n.parent);)n&&n.data&&(e=$s(e,n.data));return jf(e.staticClass,e.class)}function $s(t,e){return{staticClass:ta(t.staticClass,e.staticClass),class:_(t.class)?[t.class,e.class]:e.class}}function jf(t,e){return _(t)||_(e)?ta(t,ea(e)):""}function ta(t,e){return t?e?t+" "+e:t:e||""}function ea(t){return Array.isArray(t)?Vf(t):vt(t)?Uf(t):typeof t=="string"?t:""}function Vf(t){for(var e="",n,o=0,r=t.length;o-1?_o[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:_o[t]=/HTMLUnknownElement/.test(e.toString())}var gi=Bt("text,number,password,search,email,tel,url");function Kf(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function Yf(t,e){var n=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function Zf(t,e){return document.createElementNS(Gf[t],e)}function Jf(t){return document.createTextNode(t)}function Qf(t){return document.createComment(t)}function th(t,e,n){t.insertBefore(e,n)}function eh(t,e){t.removeChild(e)}function nh(t,e){t.appendChild(e)}function oh(t){return t.parentNode}function rh(t){return t.nextSibling}function ih(t){return t.tagName}function ah(t,e){t.textContent=e}function sh(t,e){t.setAttribute(e,"")}var lh=Object.freeze({__proto__:null,createElement:Yf,createElementNS:Zf,createTextNode:Jf,createComment:Qf,insertBefore:th,removeChild:eh,appendChild:nh,parentNode:oh,nextSibling:rh,tagName:ih,setTextContent:ah,setStyleScope:sh}),ch={create:function(t,e){an(e)},update:function(t,e){t.data.ref!==e.data.ref&&(an(t,!0),an(e))},destroy:function(t){an(t,!0)}};function an(t,e){var n=t.data.ref;if(_(n)){var o=t.context,r=t.componentInstance||t.elm,i=e?null:r,a=e?void 0:r;if(Y(n)){oe(n,o,[i],o,"template ref function");return}var l=t.data.refInFor,s=typeof n=="string"||typeof n=="number",f=xt(n),u=o.$refs;if(s||f){if(l){var h=s?u[n]:n.value;e?z(h)&&be(h,r):z(h)?h.includes(r)||h.push(r):s?(u[n]=[r],Es(o,n,u[n])):n.value=[r]}else if(s){if(e&&u[n]!==r)return;u[n]=a,Es(o,n,i)}else if(f){if(e&&n.value!==r)return;n.value=i}}}}function Es(t,e,n){var o=t._setupState;o&&_t(o,e)&&(xt(o[e])?o[e].value=n:o[e]=n)}var ve=new It("",{},[]),xn=["create","activate","update","remove","destroy"];function Te(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&_(t.data)===_(e.data)&&uh(t,e)||ot(t.isAsyncPlaceholder)&&D(e.asyncFactory.error))}function uh(t,e){if(t.tag!=="input")return!0;var n,o=_(n=t.data)&&_(n=n.attrs)&&n.type,r=_(n=e.data)&&_(n=n.attrs)&&n.type;return o===r||gi(o)&&gi(r)}function dh(t,e,n){var o,r,i={};for(o=e;o<=n;++o)r=t[o].key,_(r)&&(i[r]=o);return i}function ph(t){var e,n,o={},r=t.modules,i=t.nodeOps;for(e=0;ek?(Qn=D(g[H+1])?null:g[H+1].elm,T(d,Qn,g,C,H,$)):C>H&&F(p,N,k)}function X(d,p,g,$){for(var E=g;E<$;E++){var N=p[E];if(_(N)&&Te(d,N))return E}}function K(d,p,g,$,E,N){if(d!==p){_(p.elm)&&_($)&&(p=$[E]=oi(p));var C=p.elm=d.elm;if(ot(d.isAsyncPlaceholder)){_(p.asyncFactory.resolved)?lt(d.elm,p,g):p.isAsyncPlaceholder=!0;return}if(ot(p.isStatic)&&ot(d.isStatic)&&p.key===d.key&&(ot(p.isCloned)||ot(p.isOnce))){p.componentInstance=d.componentInstance;return}var k,O=p.data;_(O)&&_(k=O.hook)&&_(k=k.prepatch)&&k(d,p);var R=d.children,H=p.children;if(_(O)&&w(p)){for(k=0;k-1?As(t,e,n):zf(e)?jo(n)?t.removeAttribute(e):(n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,n)):Uc(e)?t.setAttribute(e,Bf(e,n)):Qi(e)?jo(n)?t.removeAttributeNS(vi,Gc(e)):t.setAttributeNS(vi,e,n):As(t,e,n)}function As(t,e,n){if(jo(n))t.removeAttribute(e);else{if(vn&&!gn&&t.tagName==="TEXTAREA"&&e==="placeholder"&&n!==""&&!t.__ieph){var o=function(r){r.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}var _h={create:Ss,update:Ss};function Ts(t,e){var n=e.elm,o=e.data,r=t.data;if(!(D(o.staticClass)&&D(o.class)&&(D(r)||D(r.staticClass)&&D(r.class)))){var i=Hf(e),a=n._transitionClasses;_(a)&&(i=ta(i,ea(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var yh={create:Ts,update:Ts},kr="__r",Nr="__c";function bh(t){if(_(t[kr])){var e=vn?"change":"input";t[e]=[].concat(t[kr],t[e]||[]),delete t[kr]}_(t[Nr])&&(t.change=[].concat(t[Nr],t.change||[]),delete t[Nr])}var qn;function wh(t,e,n){var o=qn;return function r(){var i=e.apply(null,arguments);i!==null&&qc(t,r,n,o)}}var $h=si&&!(Xa&&Number(Xa[1])<=53);function Eh(t,e,n,o){if($h){var r=zc,i=e;e=i._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=r||a.timeStamp<=0||a.target.ownerDocument!==document)return i.apply(this,arguments)}}qn.addEventListener(t,e,vc?{capture:n,passive:o}:n)}function qc(t,e,n,o){(o||qn).removeEventListener(t,e._wrapper||e,n)}function Or(t,e){if(!(D(t.data.on)&&D(e.data.on))){var n=e.data.on||{},o=t.data.on||{};qn=e.elm||t.elm,bh(n),xc(n,o,Eh,qc,wh,e.context),qn=void 0}}var Ch={create:Or,update:Or,destroy:function(t){return Or(t,ve)}},yo;function ks(t,e){if(!(D(t.data.domProps)&&D(e.data.domProps))){var n,o,r=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};(_(a.__ob__)||ot(a._v_attr_proxy))&&(a=e.data.domProps=J({},a));for(n in i)n in a||(r[n]="");for(n in a){if(o=a[n],n==="textContent"||n==="innerHTML"){if(e.children&&(e.children.length=0),o===i[n])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(n==="value"&&r.tagName!=="PROGRESS"){r._value=o;var l=D(o)?"":String(o);Sh(r,l)&&(r.value=l)}else if(n==="innerHTML"&&na(r.tagName)&&D(r.innerHTML)){yo=yo||document.createElement("div"),yo.innerHTML="".concat(o,"");for(var s=yo.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}else if(o!==i[n])try{r[n]=o}catch{}}}}function Sh(t,e){return!t.composing&&(t.tagName==="OPTION"||xh(t,e)||Ah(t,e))}function xh(t,e){var n=!0;try{n=document.activeElement!==t}catch{}return n&&t.value!==e}function Ah(t,e){var n=t.value,o=t._vModifiers;if(_(o)){if(o.number)return jn(n)!==jn(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}var Th={create:ks,update:ks},kh=Ue(function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach(function(r){if(r){var i=r.split(o);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function Ir(t){var e=Xc(t.style);return t.staticStyle?J(t.staticStyle,e):e}function Xc(t){return Array.isArray(t)?uc(t):typeof t=="string"?kh(t):t}function Nh(t,e){for(var n={},o,r=t;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(o=Ir(r.data))&&J(n,o);(o=Ir(t.data))&&J(n,o);for(var i=t;i=i.parent;)i.data&&(o=Ir(i.data))&&J(n,o);return n}var Oh=/^--/,Ns=/\s*!important$/,Os=function(t,e,n){if(Oh.test(e))t.style.setProperty(e,n);else if(Ns.test(n))t.style.setProperty(Kn(e),n.replace(Ns,""),"important");else{var o=Ih(e);if(Array.isArray(n))for(var r=0,i=n.length;r-1?e.split(Kc).forEach(function(o){return t.classList.add(o)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Zc(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(Kc).forEach(function(r){return t.classList.remove(r)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Jc(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&J(e,Rs(t.name||"v")),J(e,t),e}else if(typeof t=="string")return Rs(t)}}var Rs=Ue(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),Qc=St&&!gn,tn="transition",Pr="animation",Oo="transition",Vo="transitionend",_i="animation",tu="animationend";Qc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Oo="WebkitTransition",Vo="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(_i="WebkitAnimation",tu="webkitAnimationEnd"));var Ls=St?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function eu(t){Ls(function(){Ls(t)})}function Fe(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Yc(t,e))}function Qt(t,e){t._transitionClasses&&be(t._transitionClasses,e),Zc(t,e)}function nu(t,e,n){var o=ou(t,e),r=o.type,i=o.timeout,a=o.propCount;if(!r)return n();var l=r===tn?Vo:tu,s=0,f=function(){t.removeEventListener(l,u),n()},u=function(h){h.target===t&&++s>=a&&f()};setTimeout(function(){s0&&(f=tn,u=i,h=r.length):e===Pr?s>0&&(f=Pr,u=s,h=l.length):(u=Math.max(i,s),f=u>0?i>s?tn:Pr:null,h=f?f===tn?r.length:l.length:0);var m=f===tn&&Rh.test(n[Oo+"Property"]);return{type:f,timeout:u,propCount:h,hasTransform:m}}function Ds(t,e){for(;t.length1}function Ms(t,e){e.data.show!==!0&&yi(e)}var Lh=St?{create:Ms,activate:Ms,remove:function(t,e){t.data.show!==!0?ru(t,e):e()}}:{},Dh=[_h,yh,Ch,Th,Ph,Lh],Fh=Dh.concat(gh),Mh=ph({nodeOps:lh,modules:Fh});gn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ra(t,"input")});var au={inserted:function(t,e,n,o){n.tag==="select"?(o.elm&&!o.elm._vOptions?me(n,"postpatch",function(){au.componentUpdated(t,e,n)}):Bs(t,e,n.context),t._vOptions=[].map.call(t.options,Uo)):(n.tag==="textarea"||gi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Bh),t.addEventListener("compositionend",js),t.addEventListener("change",js),gn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if(n.tag==="select"){Bs(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,Uo);if(r.some(function(a,l){return!Be(a,o[l])})){var i=t.multiple?e.value.some(function(a){return Hs(a,r)}):e.value!==e.oldValue&&Hs(e.value,r);i&&ra(t,"change")}}}};function Bs(t,e,n){zs(t,e),(vn||mc)&&setTimeout(function(){zs(t,e)},0)}function zs(t,e,n){var o=e.value,r=t.multiple;if(!(r&&!Array.isArray(o))){for(var i,a,l=0,s=t.options.length;l-1,a.selected!==i&&(a.selected=i);else if(Be(Uo(a),o)){t.selectedIndex!==l&&(t.selectedIndex=l);return}r||(t.selectedIndex=-1)}}function Hs(t,e){return e.every(function(n){return!Be(n,t)})}function Uo(t){return"_value"in t?t._value:t.value}function Bh(t){t.target.composing=!0}function js(t){t.target.composing&&(t.target.composing=!1,ra(t.target,"input"))}function ra(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function bi(t){return t.componentInstance&&(!t.data||!t.data.transition)?bi(t.componentInstance._vnode):t}var zh={bind:function(t,e,n){var o=e.value;n=bi(n);var r=n.data&&n.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;o&&r?(n.data.show=!0,yi(n,function(){t.style.display=i})):t.style.display=o?i:"none"},update:function(t,e,n){var o=e.value,r=e.oldValue;if(!o!=!r){n=bi(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,o?yi(n,function(){t.style.display=t.__vOriginalDisplay}):ru(n,function(){t.style.display="none"})):t.style.display=o?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},Hh={model:au,show:zh},su={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function wi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?wi(Ic(e.children)):t}function lu(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var o in r)e[Me(o)]=r[o];return e}function Vs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function jh(t){for(;t=t.parent;)if(t.data.transition)return!0}function Vh(t,e){return e.key===t.key&&e.tag===t.tag}var Uh=function(t){return t.tag||Un(t)},Gh=function(t){return t.name==="show"},Wh={name:"transition",props:su,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Uh),!!n.length)){var o=this.mode,r=n[0];if(jh(this.$vnode))return r;var i=wi(r);if(!i)return r;if(this._leaving)return Vs(t,r);var a="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?a+"comment":a+i.tag:Xn(i.key)?String(i.key).indexOf(a)===0?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=lu(this),s=this._vnode,f=wi(s);if(i.data.directives&&i.data.directives.some(Gh)&&(i.data.show=!0),f&&f.data&&!Vh(i,f)&&!Un(f)&&!(f.componentInstance&&f.componentInstance._vnode.isComment)){var u=f.data.transition=J({},l);if(o==="out-in")return this._leaving=!0,me(u,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Vs(t,r);if(o==="in-out"){if(Un(i))return s;var h,m=function(){h()};me(l,"afterEnter",m),me(l,"enterCancelled",m),me(u,"delayLeave",function(y){h=y})}}return r}}},cu=J({tag:String,moveClass:String},su);delete cu.mode;var qh={props:cu,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=Fc(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],a=lu(this),l=0;lt.length)&&(e=t.length);for(var n=0,o=Array(e);n2?n-2:0),r=2;r1?e-1:0),o=1;o"u"?null:ut(BigInt.prototype.toString),Ys=typeof Symbol>"u"?null:ut(Symbol.prototype.toString),wt=ut(Object.prototype.hasOwnProperty),Nn=ut(Object.prototype.toString),mt=ut(RegExp.prototype.test),ke=pm(TypeError);function ut(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:Rn;if(Gs&&Gs(t,null),!ln(e))return t;let o=e.length;for(;o--;){let r=e[o];if(typeof r=="string"){const i=n(r);i!==r&&(rm(e)||(e[o]=i),r=i)}t[r]=!0}return t}function fm(t){for(let e=0;e/g),bm=pt(/\${[\w\W]*/g),wm=pt(/^data-[\-\w.\u00B7-\uFFFF]+$/),$m=pt(/^aria-[\-\w]+$/),el=pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Em=pt(/^(?:\w+script|data):/i),Cm=pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Sm=pt(/^html$/i),xm=pt(/^[a-z][.\w]*(-[.\w]+)+$/i),nl=pt(/<[/\w!]/g),ol=pt(/<[/\w]/g),Am=pt(/<\/no(script|embed|frames)/i),Tm=pt(/\/>/i),Tt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},pu=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],km=dt(G({},pu)),Nm=(function(){const t={};return Oe(pu,e=>{t[e]=pt(new RegExp("])","i"))}),dt(t)})(),Om=function(){return typeof window>"u"?null:window},Im=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},rl=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ue=function(t,e,n,o){return wt(t,e)&&ln(t[e])?G(o.base?kt(o.base):{},t[e],o.transform):n},Br=function(t,e,n){const o=wt(t,e)?t[e]:void 0;return o&&typeof o=="object"?kt(o):n()};function fu(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Om();const e=c=>fu(c);if(e.version="3.4.14",e.removed=[],!t||!t.document||t.document.nodeType!==Tt.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const o=n,r=o.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,a=t.Node,l=t.Element,s=t.NodeFilter;t.NamedNodeMap===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,h=t.trustedTypes,m=l.prototype,y=Dt(m,"cloneNode"),S=Dt(m,"remove"),w=Dt(m,"nextSibling"),x=Dt(m,"childNodes"),I=Dt(m,"parentNode"),T=Dt(m,"shadowRoot"),L=Dt(m,"attributes"),F=a&&a.prototype?Dt(a.prototype,"nodeType"):null,Z=a&&a.prototype?Dt(a.prototype,"nodeName"):null,rt=a&&a.prototype?Dt(a.prototype,"ownerDocument"):null,X=function(c){return F?F(c):c.nodeType},K=function(c){return Z?Z(c):c.nodeName};if(typeof i=="function"){const c=n.createElement("template");c.content&&c.content.ownerDocument&&(n=c.content.ownerDocument)}let W,it="",lt,d=!1,p=0;const g=function(){if(p>0)throw ke('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},$=function(c){g(),p++;try{return W.createHTML(c)}finally{p--}},E=function(c){g(),p++;try{return W.createScriptURL(c)}finally{p--}},N=function(){return d||(lt=Im(h,r),d=!0),lt},C=n,k=C.implementation,O=C.createNodeIterator,R=C.createDocumentFragment,H=C.getElementsByTagName,j=o.importNode;let B=rl();e.isSupported=typeof uu=="function"&&typeof I=="function"&&k&&k.createHTMLDocument!==void 0;const ft=_m,At=ym,bt=bm,Qn=wm,wn=$m,sd=Em,_a=Cm,ld=xm;let ya=el,tt=null;const pr=G({},[...Zs,...Lr,...Dr,...Fr,...Js]);let et=null;const fr=G({},[...Qs,...Mr,...tl,...wo]);let zt=Object.seal(en(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$n=null,ba=null;const se=Object.seal(en(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let wa=!0,hr=!0,$a=!1,Ea=!0,le=!1,Ce=!0,Se=!1,mr=!1,to=null,eo=null,vr=!1,We=!1,no=!1,oo=!1,Ca=!0,Sa=!1;const xa="user-content-";let gr=!0,_r=!1,qe={},Xe=null;const Aa=G({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ta=null;const ka=G({},["audio","video","img","source","image","track"]);let Na=null;const Oa=G({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ro="http://www.w3.org/1998/Math/MathML",io="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml";let Ke=Ht,yr=!1,br=null;const cd=G({},[ro,io,Ht],Rr),Ia=dt(["mi","mo","mn","ms","mtext"]);let wr=G({},Ia);const Pa=dt(["annotation-xml"]);let $r=G({},Pa);const ud=G({},["title","style","font","a","script"]);let En=null;const dd=["application/xhtml+xml","text/html"],pd="text/html";let at=null,Ye=null;const fd=n.createElement("form"),Ra=function(c){return c instanceof RegExp||c instanceof Function},Er=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ye&&Ye===c)return;(!c||typeof c!="object")&&(c={}),c=kt(c),En=dd.indexOf(c.PARSER_MEDIA_TYPE)===-1?pd:c.PARSER_MEDIA_TYPE,at=En==="application/xhtml+xml"?Rr:Rn,tt=ue(c,"ALLOWED_TAGS",pr,{transform:at}),et=ue(c,"ALLOWED_ATTR",fr,{transform:at}),br=ue(c,"ALLOWED_NAMESPACES",cd,{transform:Rr}),Na=ue(c,"ADD_URI_SAFE_ATTR",Oa,{transform:at,base:Oa}),Ta=ue(c,"ADD_DATA_URI_TAGS",ka,{transform:at,base:ka}),Xe=ue(c,"FORBID_CONTENTS",Aa,{transform:at}),$n=ue(c,"FORBID_TAGS",kt({}),{transform:at}),ba=ue(c,"FORBID_ATTR",kt({}),{transform:at}),qe=wt(c,"USE_PROFILES")?c.USE_PROFILES&&typeof c.USE_PROFILES=="object"?kt(c.USE_PROFILES):c.USE_PROFILES:!1,wa=c.ALLOW_ARIA_ATTR!==!1,hr=c.ALLOW_DATA_ATTR!==!1,$a=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Ea=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,le=c.SAFE_FOR_TEMPLATES||!1,Ce=c.SAFE_FOR_XML!==!1,Se=c.WHOLE_DOCUMENT||!1,We=c.RETURN_DOM||!1,no=c.RETURN_DOM_FRAGMENT||!1,oo=c.RETURN_TRUSTED_TYPE||!1,vr=c.FORCE_BODY||!1,Ca=c.SANITIZE_DOM!==!1,Sa=c.SANITIZE_NAMED_PROPS||!1,gr=c.KEEP_CONTENT!==!1,_r=c.IN_PLACE||!1,ya=mm(c.ALLOWED_URI_REGEXP)?c.ALLOWED_URI_REGEXP:el,Ke=typeof c.NAMESPACE=="string"?c.NAMESPACE:Ht,wr=Br(c,"MATHML_TEXT_INTEGRATION_POINTS",()=>G({},Ia)),$r=Br(c,"HTML_INTEGRATION_POINTS",()=>G({},Pa));const v=Br(c,"CUSTOM_ELEMENT_HANDLING",()=>en(null));if(zt=en(null),wt(v,"tagNameCheck")&&Ra(v.tagNameCheck)&&(zt.tagNameCheck=v.tagNameCheck),wt(v,"attributeNameCheck")&&Ra(v.attributeNameCheck)&&(zt.attributeNameCheck=v.attributeNameCheck),wt(v,"allowCustomizedBuiltInElements")&&typeof v.allowCustomizedBuiltInElements=="boolean"&&(zt.allowCustomizedBuiltInElements=v.allowCustomizedBuiltInElements),pt(zt),le&&(hr=!1),no&&(We=!0),qe&&(tt=G({},Js),et=en(null),qe.html===!0&&(G(tt,Zs),G(et,Qs)),qe.svg===!0&&(G(tt,Lr),G(et,Mr),G(et,wo)),qe.svgFilters===!0&&(G(tt,Dr),G(et,Mr),G(et,wo)),qe.mathMl===!0&&(G(tt,Fr),G(et,tl),G(et,wo))),se.tagCheck=null,se.attributeCheck=null,wt(c,"ADD_TAGS")&&(typeof c.ADD_TAGS=="function"?se.tagCheck=c.ADD_TAGS:ln(c.ADD_TAGS)&&(tt===pr&&(tt=kt(tt)),G(tt,c.ADD_TAGS,at))),wt(c,"ADD_ATTR")&&(typeof c.ADD_ATTR=="function"?se.attributeCheck=c.ADD_ATTR:ln(c.ADD_ATTR)&&(et===fr&&(et=kt(et)),G(et,c.ADD_ATTR,at))),wt(c,"ADD_FORBID_CONTENTS")&&ln(c.ADD_FORBID_CONTENTS)&&(Xe===Aa&&(Xe=kt(Xe)),G(Xe,c.ADD_FORBID_CONTENTS,at)),gr&&(tt["#text"]=!0),Se&&G(tt,["html","head","body"]),tt.table&&(G(tt,["tbody"]),delete $n.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const b=W;W=c.TRUSTED_TYPES_POLICY;try{it=$("")}catch(A){throw W=b,A}}else c.TRUSTED_TYPES_POLICY===null?(W=void 0,it=""):(W===void 0&&(W=N()),W&&typeof it=="string"&&(it=$("")));dt&&dt(c),Ye=c},La=G({},[...Lr,...Dr,...vm]),Da=G({},[...Fr,...gm]),hd=function(c,v,b){return v.namespaceURI===Ht?c==="svg":v.namespaceURI===ro?c==="svg"&&(b==="annotation-xml"||wr[b]):!!La[c]},md=function(c,v,b){return v.namespaceURI===Ht?c==="math":v.namespaceURI===io?c==="math"&&$r[b]:!!Da[c]},vd=function(c,v,b){return v.namespaceURI===io&&!$r[b]||v.namespaceURI===ro&&!wr[b]?!1:!Da[c]&&(ud[c]||!La[c])},gd=function(c){let v=I(c);(!v||!v.tagName)&&(v={namespaceURI:Ke,tagName:"template"});const b=Rn(c.tagName),A=Rn(v.tagName);return br[c.namespaceURI]?c.namespaceURI===io?hd(b,v,A):c.namespaceURI===ro?md(b,v,A):c.namespaceURI===Ht?vd(b,v,A):!!(En==="application/xhtml+xml"&&br[c.namespaceURI]):!1},xe=function(c){Tn(e.removed,{element:c});try{I(c).removeChild(c)}catch{if(S(c),!I(c))throw ke("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Fa=function(c,v,b){try{c.removeAttributeNode(v)}catch{try{c.removeAttribute(b)}catch{}}},ao=function(c){so(c);const v=x(c);if(v){const A=[];Oe(v,P=>{Tn(A,P)}),Oe(A,P=>{try{S(P)}catch{}})}const b=L(c);if(b)for(let A=b.length-1;A>=0;--A){const P=b[A],M=P&&P.name;typeof M=="string"&&Fa(c,P,M)}},Ae=function(c,v,b){if(!b)try{b=v.getAttributeNode(c)}catch{b=null}Tn(e.removed,{attribute:b||null,from:v});try{b?v.removeAttributeNode(b):v.removeAttribute(c)}catch{try{v.removeAttribute(c)}catch{}}if(c==="is")if(We||no)try{xe(v)}catch{}else try{v.setAttribute(c,"")}catch{}},_d=function(c){const v=L(c);if(v)for(let b=v.length-1;b>=0;--b){const A=v[b],P=A&&A.name;typeof P!="string"||et[at(P)]||Fa(c,A,P)}},so=function(c){const v=[c];for(;v.length>0;){const b=v.pop();X(b)===Tt.element&&_d(b);const A=x(b);if(A)for(let P=A.length-1;P>=0;--P)v.push(A[P])}},Ma=function(c,v){return Ce?c==="patchsrc"?!0:c==="for"&&v!=="label"&&v!=="output":!1},yd=function(c){if(!Ce)return;const v=[c];for(;v.length>0;){const b=v.pop(),A=X(b);if(A===Tt.processingInstruction||A===Tt.comment&&mt(ol,b.data)){try{S(b)}catch{}continue}if(A===Tt.element){const M=b,V=at(K(b));try{M.hasAttribute&&M.hasAttribute("patchsrc")&&M.removeAttribute("patchsrc"),M.hasAttribute&&M.hasAttribute("for")&&Ma("for",V)&&M.removeAttribute("for")}catch{}}const P=x(b);if(P)for(let M=P.length-1;M>=0;--M)v.push(P[M])}},Ba=function(c){let v=null,b=null;if(vr)c=""+c;else{const M=qs(c,/^[\r\n\t ]+/);b=M&&M[0]}En==="application/xhtml+xml"&&Ke===Ht&&(c=''+c+"");const A=W?$(c):c;if(Ke===Ht)try{v=new u().parseFromString(A,En)}catch{}if(!v||!v.documentElement){v=k.createDocument(Ke,"template",null);try{v.documentElement.innerHTML=yr?it:A}catch{}}const P=v.body||v.documentElement;return c&&b&&P.insertBefore(n.createTextNode(b),P.childNodes[0]||null),Ke===Ht?H.call(v,Se?"html":"body")[0]:Se?v.documentElement:P},za=function(c){const v=rt?rt(c):c.ownerDocument;return O.call(v||c,c,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},lo=function(c){return c=kn(c,ft," "),c=kn(c,At," "),c=kn(c,bt," "),c},Cr=function(c){var v;c.normalize();const b=rt?rt(c):c.ownerDocument,A=O.call(b||c,c,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let P=A.nextNode();for(;P;)P.data=lo(P.data),P=A.nextNode();const M=(v=c.querySelectorAll)===null||v===void 0?void 0:v.call(c,"template");M&&Oe(M,V=>{Ze(V.content)&&Cr(V.content)})},co=function(c){const v=Z?Z(c):null;return typeof v!="string"||at(v)!=="form"?!1:typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||c.attributes!==L(c)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function"||c.nodeType!==F(c)||c.childNodes!==x(c)},Ze=function(c){if(!F||typeof c!="object"||c===null)return!1;try{return F(c)===Tt.documentFragment}catch{return!1}},Cn=function(c){if(!F||typeof c!="object"||c===null)return!1;try{return typeof F(c)=="number"}catch{return!1}};function jt(c,v,b){c.length!==0&&Oe(c,A=>{A.call(e,v,b,Ye)})}const bd=function(c,v){return!!(Ce&&c.hasChildNodes()&&!Cn(c.firstElementChild)&&mt(nl,c.textContent)&&mt(nl,c.innerHTML)||Ce&&c.namespaceURI===Ht&&km[v]&&(Cn(c.firstElementChild)||typeof c.textContent=="string"&&mt(Nm[v],c.textContent))||c.nodeType===Tt.processingInstruction||Ce&&c.nodeType===Tt.comment&&mt(ol,c.data))},uo=function(c,v){if(c instanceof RegExp)return mt(c,v);if(c instanceof Function){for(var b=arguments.length,A=new Array(b>2?b-2:0),P=2;P=0;--V){const Vt=c===b?y(P[V],!0):P[V];A.insertBefore(Vt,w(c))}}}return xe(c),!0},Ha=function(c,v,b,A){return c.length===0?v:v===b||v===A?kt(v):v},ja=function(c,v){return c===v||I(c)!==null?!1:(_r&&so(c),!0)},Va=function(c,v){if(jt(B.beforeSanitizeElements,c,null),ja(c,v))return!0;if(co(c))return xe(c),!0;const b=at(K(c));if(tt=Ha(B.uponSanitizeElement,tt,pr,to),jt(B.uponSanitizeElement,c,{tagName:b,allowedTags:tt}),ja(c,v))return!0;if(bd(c,b))return xe(c),!0;if($n[b]||!(se.tagCheck instanceof Function&&se.tagCheck(b))&&!tt[b]){const A=wd(c,b,v);return A===!1&&jt(B.afterSanitizeElements,c,null),A}if(X(c)===Tt.element&&!gd(c)||(b==="noscript"||b==="noembed"||b==="noframes")&&mt(Am,c.innerHTML))return xe(c),!0;if(le&&c.nodeType===Tt.text){const A=lo(c.textContent);c.textContent!==A&&(Tn(e.removed,{element:c.cloneNode()}),c.textContent=A)}return jt(B.afterSanitizeElements,c,null),!1},Ua=function(c,v,b){if(ba[v]||Ma(v,c)||Ca&&(v==="id"||v==="name")&&(b in n||b in fd))return!1;const A=et[v]||se.attributeCheck instanceof Function&&se.attributeCheck(v,c);return hr&&mt(Qn,v)||wa&&mt(wn,v)?!0:A?Na[v]||mt(ya,kn(b,_a,""))||(v==="src"||v==="xlink:href"||v==="href")&&c!=="script"&&Xs(b,"data:")===0&&Ta[c]||$a&&!mt(sd,kn(b,_a,""))?!0:!b:Ga(c)&&uo(zt.tagNameCheck,c)&&uo(zt.attributeNameCheck,v,c)||v==="is"&&zt.allowCustomizedBuiltInElements&&uo(zt.tagNameCheck,b)},$d=G({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ga=function(c){return!$d[Rn(c)]&&mt(ld,c)},Ed=function(c,v,b,A){if(W&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!b)switch(h.getAttributeType(c,v)){case"TrustedHTML":return $(A);case"TrustedScriptURL":return E(A)}return A},Cd=function(c,v,b,A){try{b?c.setAttributeNS(b,v,A):c.setAttribute(v,A),co(c)?xe(c):Ws(e.removed)}catch{Ae(v,c)}},Wa=function(c){jt(B.beforeSanitizeAttributes,c,null);const v=c.attributes;if(!v||co(c))return;et=Ha(B.uponSanitizeAttribute,et,fr,eo);const b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:et,forceKeepAttr:void 0};let A=v.length;const P=at(c.nodeName);for(;A--;){const M=v[A],V=M.name,Vt=M.namespaceURI,ce=M.value,ht=at(V),Lt=ce;let gt=V==="value"?Lt:cm(Lt);if(b.attrName=ht,b.attrValue=gt,b.keepAttr=!0,b.forceKeepAttr=void 0,jt(B.uponSanitizeAttribute,c,b),gt=b.attrValue,Sa&&(ht==="id"||ht==="name")&&Xs(gt,xa)!==0&&(Ae(V,c,M),gt=xa+gt),Ce&&mt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,gt)){Ae(V,c,M);continue}if(ht==="attributename"&&qs(gt,"href")){Ae(V,c,M);continue}if(!b.forceKeepAttr){if(!b.keepAttr){Ae(V,c,M);continue}if(!Ea&&mt(Tm,gt)){Ae(V,c,M);continue}if(le&&(gt=lo(gt)),!Ua(P,ht,gt)){Ae(V,c,M);continue}gt=Ed(P,ht,Vt,gt),gt!==Lt&&Cd(c,V,Vt,gt)}}jt(B.afterSanitizeAttributes,c,null)},po=function(c){let v=null;const b=za(c);for(jt(B.beforeSanitizeShadowDOM,c,null);v=b.nextNode();)if(jt(B.uponSanitizeShadowNode,v,null),Va(v,c),Wa(v),Ze(v.content)&&po(v.content),X(v)===Tt.element){const A=T(v);Ze(A)&&(Sr(A),po(A))}jt(B.afterSanitizeShadowDOM,c,null)},Sr=function(c){const v=[{node:c,shadow:null}];for(;v.length>0;){const b=v.pop();if(b.shadow){po(b.shadow);continue}const A=b.node,P=X(A)===Tt.element,M=x(A);if(M)for(let V=M.length-1;V>=0;--V)v.push({node:M[V],shadow:null});if(P){const V=Z?Z(A):null;if(typeof V=="string"&&at(V)==="template"){const Vt=A.content;Ze(Vt)&&v.push({node:Vt,shadow:null})}}if(P){const V=T(A);Ze(V)&&v.push({node:null,shadow:V},{node:V,shadow:null})}}};return e.sanitize=function(c){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=null,A=null,P=null,M=null;if(yr=!c,yr&&(c=""),typeof c!="string"&&!Cn(c)&&(c=hm(c),typeof c!="string"))throw ke("dirty is not a string, aborting");if(!e.isSupported)return c;mr?(tt=to,et=eo):Er(v),(B.uponSanitizeElement.length>0||B.uponSanitizeAttribute.length>0)&&(tt=kt(tt)),B.uponSanitizeAttribute.length>0&&(et=kt(et)),e.removed=[];const V=_r&&typeof c!="string"&&Cn(c);if(V){yd(c);const ht=K(c);if(typeof ht=="string"){const Lt=at(ht);if(!tt[Lt]||$n[Lt])throw ao(c),ke("root node is forbidden and cannot be sanitized in-place")}if(co(c))throw ao(c),ke("root node is clobbered and cannot be sanitized in-place");try{Sr(c)}catch(Lt){throw ao(c),Lt}}else if(Cn(c))b=Ba(""),A=b.ownerDocument.importNode(c,!0),A.nodeType===Tt.element&&A.nodeName==="BODY"||A.nodeName==="HTML"?b=A:b.appendChild(A),Sr(A);else{if(!We&&!le&&!Se&&c.indexOf("<")===-1)return W&&oo?$(c):c;if(b=Ba(c),!b)return We?null:oo?it:""}b&&vr&&xe(b.firstChild);const Vt=V?c:b;try{const ht=za(Vt);for(;P=ht.nextNode();)Va(P,Vt),Wa(P),Ze(P.content)&&po(P.content)}catch(ht){throw V&&(ao(c),Oe(e.removed,Lt=>{Lt.element&&so(Lt.element)})),ht}if(V)return Oe(e.removed,ht=>{ht.element&&so(ht.element)}),le&&Cr(c),c;if(We){if(le&&Cr(b),no)for(M=R.call(b.ownerDocument);b.firstChild;)M.appendChild(b.firstChild);else M=b;return(et.shadowroot||et.shadowrootmode)&&(M=j.call(o,M,!0)),M}let ce=Se?b.outerHTML:b.innerHTML;return Se&&tt["!doctype"]&&b.ownerDocument&&b.ownerDocument.doctype&&b.ownerDocument.doctype.name&&mt(Sm,b.ownerDocument.doctype.name)&&(ce=" +`+ce),le&&(ce=lo(ce)),W&&oo?$(ce):ce},e.setConfig=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Er(c),mr=!0,to=tt,eo=et},e.clearConfig=function(){Ye=null,mr=!1,to=null,eo=null,W=lt,it=""},e.isValidAttribute=function(c,v,b){Ye||Er({});const A=at(c),P=at(v);return Ua(A,P,b)},e.addHook=function(c,v){typeof v=="function"&&wt(B,c)&&Tn(B[c],v)},e.removeHook=function(c,v){if(wt(B,c)){if(v!==void 0){const b=sm(B[c],v);return b===-1?void 0:lm(B[c],b,1)[0]}return Ws(B[c])}},e.removeHooks=function(c){wt(B,c)&&(B[c]=[])},e.removeAllHooks=function(){B=rl()},e}var hu=fu();function ia(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zr,il;function Pm(){if(il)return zr;il=1;var t=/["'&<>]/;zr=e;function e(n){var o=""+n,r=t.exec(o);if(!r)return o;var i,a="",l=0,s=0;for(l=r.index;le)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function qt(t,e,n,o,r){const i=typeof n=="object"?n:void 0,a=typeof o=="number"?o:typeof n=="number"?n:void 0,l={escape:!0,sanitize:!0,...typeof r=="object"?r:typeof o=="object"?o:{}},s=S=>S,f=(l.sanitize?hu.sanitize:s)||s,u=l.escape?al:s,h=S=>typeof S=="string"||typeof S=="number",m=(S,w,x)=>S.replace(/%n/g,""+x).replace(/{([^{}]*)}/g,(I,T)=>{if(w===void 0||!(T in w))return u(I);const L=w[T];return h(L)?u(`${L}`):typeof L=="object"&&h(L.value)?(L.escape!==!1?al:s)(`${L.value}`):u(I)});let y=(r?.bundle??mu(t)).translations[e]||e;return y=Array.isArray(y)?y[0]:y,f(typeof i=="object"||a!==void 0?m(y,i,a):y)}function Lm(t,e,n,o,r,i){const a="_"+e+"_::_"+n+"_",l=i?.bundle??mu(t),s=l.translations[a];if(typeof s<"u"){const f=s;if(Array.isArray(f)){const u=l.pluralFunction(o);return qt(t,f[u],r,o,i)}}return o===1?qt(t,e,r,o,i):qt(t,n,r,o,i)}function Dm(t,e=aa()){switch(e==="pt-BR"&&(e="xbr"),e.length>3&&(e=e.substring(0,e.lastIndexOf("-"))),e){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}const vu={account:qt("password_policy","Account password policies"),sharing:qt("password_policy","Share password policies")},Fm={enforceHaveIBeenPwned:!1,enforceNonCommonPassword:!0,enforceNumericCharacters:!1,enforceSpecialCharacters:!1,enforceUpperLowerCase:!1,minLength:10};function Mm(t,e,n){const o=document.querySelector(`#initial-state-${t}-${e}`);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${e} of ${t}`)}try{return JSON.parse(atob(o.value))}catch{throw new Error(`Could not parse initial state ${e} of ${t}`)}}function Q(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),i&&(s._scopeId="data-v-"+i);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var u=s.render;s.render=function(m,y){return f.call(y),u(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}class Bm{bundle;constructor(e){this.bundle={pluralFunction:e,translations:{}}}addTranslations(e){const n=Object.values(e.translations[""]??{}).map(({msgid:o,msgid_plural:r,msgstr:i})=>r!==void 0?[`_${o}_::_${r}_`,i]:[o,i[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(e,n={}){return qt("",e,n,void 0,{bundle:this.bundle})}ngettext(e,n,o,r={}){return Lm("",e,n,o,r,{bundle:this.bundle})}}class zm{debug=!1;language="en";translations={};setLanguage(e){return this.language=e,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(aa().replace("-","_"))}addTranslation(e,n){return this.translations[e]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const e=new Bm(n=>Dm(n,this.language));return this.language in this.translations&&e.addTranslations(this.translations[this.language]),e}}function Hm(){return new zm}const sa=Hm().detectLanguage().build(),jm=(...t)=>sa.ngettext(...t),la=(...t)=>sa.gettext(...t);function ca(...t){for(const e of t)if(!e.registered){for(const{l:n,t:o}of e){if(n!==aa()||!o)continue;const r=Object.fromEntries(Object.entries(o).map(([i,a])=>[i,{msgid:i,msgid_plural:a.p,msgstr:a.v}]));sa.addTranslations({translations:{"":r}})}e.registered=!0}}const Vm=[{l:"af",t:{}},{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"bs",t:{}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"cy-GB",t:{}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fo",t:{}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gd",t:{}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"ne",t:{}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{Actions:{v:["Ações"]}}},{l:"pt-PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sq",t:{}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"ug",t:{}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}},{l:"zu-ZA",t:{}}],Um=[{l:"af",t:{}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{}},{l:"bs",t:{}},{l:"ca",t:{}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs-CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy-GB",t:{}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de-DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:["Εξωτερική τεκμηρίωση για {name}"]}}},{l:"en-GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{"External documentation for {name}":{v:["Väline dokumentatsioon {nimi}"]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:["اسناد بیرونی برای {name}"]}}},{l:"fi",t:{"External documentation for {name}":{v:["Ulkoinen dokumentaatio {name}lle"]}}},{l:"fo",t:{}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gd",t:{}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ja-JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{"External documentation for {name}":{v:["{name}의 외부 문서"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{}},{l:"nb",t:{"External documentation for {name}":{v:["Ekstern dokumentasjon for {name}"]}}},{l:"ne",t:{}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt-PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{"External documentation for {name}":{v:["Externá dokumentácia pre {name}"]}}},{l:"sl",t:{}},{l:"sq",t:{}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{"External documentation for {name}":{v:["{name}uchun tashqi hujjatlar"]}}},{l:"zh-CN",t:{"External documentation for {name}":{v:["{name} 的外部文档"]}}},{l:"zh-HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh-TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu-ZA",t:{}}],Gm={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Wm=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},qm=[],Xm=Q(Gm,Wm,qm,!1,null,null);const Km=Xm.exports;ca(Um);const[sl]=Mm("core","config",{version:"30.0"}).version.split(".",2)??[],Ym=sl&&Number.parseInt(sl)<30,Zm={name:"NcSettingsSection",components:{HelpCircle:Km},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:la("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){return this.limitWidth||!Ym},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var Jm=function(){var t=this,e=t._self._c;return e("div",{staticClass:"settings-section",class:{"settings-section--limit-width":t.forceLimitWidth}},[e("h2",{staticClass:"settings-section__name"},[t._v(" "+t._s(t.name)+" "),t.hasDocUrl?e("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,title:t.docNameTranslated,"aria-label":t.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[e("HelpCircle",{attrs:{size:20}})],1):t._e()]),t.hasDescription?e("p",{staticClass:"settings-section__desc"},[t._v(" "+t._s(t.description)+" ")]):t._e(),t._t("default")],2)},Qm=[],tv=Q(Zm,Jm,Qm,!1,null,"9fdd9dcb");const ev=tv.exports,nv=window.OC?.config?.version?.split(".")[0]||"35",gu=Number.parseInt(nv),Go=gu<32,ov=gu<34;function rv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _u={exports:{}},st=_u.exports={},Gt,Wt;function Si(){throw new Error("setTimeout has not been defined")}function xi(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Gt=setTimeout:Gt=Si}catch{Gt=Si}try{typeof clearTimeout=="function"?Wt=clearTimeout:Wt=xi}catch{Wt=xi}})();function yu(t){if(Gt===setTimeout)return setTimeout(t,0);if((Gt===Si||!Gt)&&setTimeout)return Gt=setTimeout,setTimeout(t,0);try{return Gt(t,0)}catch{try{return Gt.call(null,t,0)}catch{return Gt.call(this,t,0)}}}function iv(t){if(Wt===clearTimeout)return clearTimeout(t);if((Wt===xi||!Wt)&&clearTimeout)return Wt=clearTimeout,clearTimeout(t);try{return Wt(t)}catch{try{return Wt.call(null,t)}catch{return Wt.call(this,t)}}}var te=[],cn=!1,Le,Io=-1;function av(){!cn||!Le||(cn=!1,Le.length?te=Le.concat(te):Io=-1,te.length&&bu())}function bu(){if(!cn){var t=yu(av);cn=!0;for(var e=te.length;e;){for(Le=te,te=[];++Io1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Hr}var jr,cl;function Eu(){if(cl)return jr;cl=1;const t="2.0.0",e=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,o=16,r=e-6;return jr={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},jr}var Vr={exports:{}},ul;function cv(){return ul||(ul=1,(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:r}=Eu(),i=$u();e=t.exports={};const a=e.re=[],l=e.safeRe=[],s=e.src=[],f=e.safeSrc=[],u=e.t={};let h=0;const m="[a-zA-Z0-9-]",y=[["\\s",1],["\\d",r],[m,o]],S=x=>{for(const[I,T]of y)x=x.split(`${I}*`).join(`${I}{0,${T}}`).split(`${I}+`).join(`${I}{1,${T}}`);return x},w=(x,I,T)=>{const L=S(I),F=h++;i(x,F,I),u[x]=F,s[F]=I,f[F]=L,a[F]=new RegExp(I,T?"g":void 0),l[F]=new RegExp(L,T?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*"),w("NUMERICIDENTIFIERLOOSE","\\d+"),w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${m}*`),w("MAINVERSION",`(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})`),w("MAINVERSIONLOOSE",`(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})`),w("PRERELEASEIDENTIFIER",`(?:${s[u.NONNUMERICIDENTIFIER]}|${s[u.NUMERICIDENTIFIER]})`),w("PRERELEASEIDENTIFIERLOOSE",`(?:${s[u.NONNUMERICIDENTIFIER]}|${s[u.NUMERICIDENTIFIERLOOSE]})`),w("PRERELEASE",`(?:-(${s[u.PRERELEASEIDENTIFIER]}(?:\\.${s[u.PRERELEASEIDENTIFIER]})*))`),w("PRERELEASELOOSE",`(?:-?(${s[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[u.PRERELEASEIDENTIFIERLOOSE]})*))`),w("BUILDIDENTIFIER",`${m}+`),w("BUILD",`(?:\\+(${s[u.BUILDIDENTIFIER]}(?:\\.${s[u.BUILDIDENTIFIER]})*))`),w("FULLPLAIN",`v?${s[u.MAINVERSION]}${s[u.PRERELEASE]}?${s[u.BUILD]}?`),w("FULL",`^${s[u.FULLPLAIN]}$`),w("LOOSEPLAIN",`[v=\\s]*${s[u.MAINVERSIONLOOSE]}${s[u.PRERELEASELOOSE]}?${s[u.BUILD]}?`),w("LOOSE",`^${s[u.LOOSEPLAIN]}$`),w("GTLT","((?:<|>)?=?)"),w("XRANGEIDENTIFIERLOOSE",`${s[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),w("XRANGEIDENTIFIER",`${s[u.NUMERICIDENTIFIER]}|x|X|\\*`),w("XRANGEPLAIN",`[v=\\s]*(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:${s[u.PRERELEASE]})?${s[u.BUILD]}?)?)?`),w("XRANGEPLAINLOOSE",`[v=\\s]*(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:${s[u.PRERELEASELOOSE]})?${s[u.BUILD]}?)?)?`),w("XRANGE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAIN]}$`),w("XRANGELOOSE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAINLOOSE]}$`),w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),w("COERCE",`${s[u.COERCEPLAIN]}(?:$|[^\\d])`),w("COERCEFULL",s[u.COERCEPLAIN]+`(?:${s[u.PRERELEASE]})?(?:${s[u.BUILD]})?(?:$|[^\\d])`),w("COERCERTL",s[u.COERCE],!0),w("COERCERTLFULL",s[u.COERCEFULL],!0),w("LONETILDE","(?:~>?)"),w("TILDETRIM",`(\\s*)${s[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",w("TILDE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAIN]}$`),w("TILDELOOSE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAINLOOSE]}$`),w("LONECARET","(?:\\^)"),w("CARETTRIM",`(\\s*)${s[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",w("CARET",`^${s[u.LONECARET]}${s[u.XRANGEPLAIN]}$`),w("CARETLOOSE",`^${s[u.LONECARET]}${s[u.XRANGEPLAINLOOSE]}$`),w("COMPARATORLOOSE",`^${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]})$|^$`),w("COMPARATOR",`^${s[u.GTLT]}\\s*(${s[u.FULLPLAIN]})$|^$`),w("COMPARATORTRIM",`(\\s*)${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]}|${s[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",w("HYPHENRANGE",`^\\s*(${s[u.XRANGEPLAIN]})\\s+-\\s+(${s[u.XRANGEPLAIN]})\\s*$`),w("HYPHENRANGELOOSE",`^\\s*(${s[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[u.XRANGEPLAINLOOSE]})\\s*$`),w("STAR","(<|>)?=?\\s*\\*"),w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Vr,Vr.exports)),Vr.exports}var Ur,dl;function uv(){if(dl)return Ur;dl=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return Ur=n=>n?typeof n!="object"?t:n:e,Ur}var Gr,pl;function dv(){if(pl)return Gr;pl=1;const t=/^[0-9]+$/,e=(n,o)=>{if(typeof n=="number"&&typeof o=="number")return n===o?0:ne(o,n)},Gr}var Wr,fl;function Cu(){if(fl)return Wr;fl=1;const t=$u(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:n}=Eu(),{safeRe:o,t:r}=cv(),i=uv(),{compareIdentifiers:a}=dv(),l=(f,u)=>{const h=u.split(".");if(h.length>f.length)return!1;for(let m=0;me)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",u,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;const m=u.trim().match(h.loose?o[r.LOOSE]:o[r.FULL]);if(!m)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(y=>{if(/^[0-9]+$/.test(y)){const S=+y;if(S>=0&&Su.major?1:this.minoru.minor?1:this.patchu.patch?1:0}comparePre(u){if(u instanceof s||(u=new s(u,this.options)),this.prerelease.length&&!u.prerelease.length)return-1;if(!this.prerelease.length&&u.prerelease.length)return 1;if(!this.prerelease.length&&!u.prerelease.length)return 0;let h=0;do{const m=this.prerelease[h],y=u.prerelease[h];if(t("prerelease compare",h,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return a(m,y)}while(++h)}compareBuild(u){u instanceof s||(u=new s(u,this.options));let h=0;do{const m=this.build[h],y=u.build[h];if(t("build compare",h,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return a(m,y)}while(++h)}inc(u,h,m){if(u.startsWith("pre")){if(!h&&m===!1)throw new Error("invalid increment argument: identifier is empty");if(h){const y=`-${h}`.match(this.options.loose?o[r.PRERELEASELOOSE]:o[r.PRERELEASE]);if(!y||y[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(u){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,m),this.inc("pre",h,m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,m),this.inc("pre",h,m);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const y=Number(m)?1:0;if(this.prerelease.length===0)this.prerelease=[y];else{let S=this.prerelease.length;for(;--S>=0;)typeof this.prerelease[S]=="number"&&(this.prerelease[S]++,S=-2);if(S===-1){if(h===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(y)}}if(h){let S=[h,y];if(m===!1&&(S=[h]),l(this.prerelease,h)){const w=this.prerelease[h.split(".").length];isNaN(w)&&(this.prerelease=S)}else this.prerelease=S}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Wr=s,Wr}var qr,hl;function pv(){if(hl)return qr;hl=1;const t=Cu();return qr=(e,n)=>new t(e,n).major,qr}var fv=pv();const ml=ia(fv);var Xr,vl;function hv(){if(vl)return Xr;vl=1;const t=Cu();return Xr=(e,n,o=!1)=>{if(e instanceof t)return e;try{return new t(e,n)}catch(r){if(!o)return null;throw r}},Xr}var Kr,gl;function mv(){if(gl)return Kr;gl=1;const t=hv();return Kr=(e,n)=>{const o=t(e,n);return o?o.version:null},Kr}var vv=mv();const gv=ia(vv);class _v{bus;constructor(e){typeof e.getVersion!="function"||!gv(e.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):ml(e.getVersion())!==ml(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,n){this.bus.subscribe(e,n)}unsubscribe(e,n){this.bus.unsubscribe(e,n)}emit(e,...n){this.bus.emit(e,...n)}}class yv{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).concat(n))}unsubscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).filter(o=>o!==n))}emit(e,...n){(this.handlers.get(e)||[]).forEach(o=>{try{o(n[0])}catch(r){console.error("could not invoke event listener",r)}})}}let On=null;function Su(){return On!==null?On:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?On=new _v(window._nc_event_bus):On=window._nc_event_bus=new yv,On)}function bv(t,e){Su().subscribe(t,e)}function wv(t,...e){Su().emit(t,...e)}class Wo{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,n,o){this.scope=`${o?Wo.GLOBAL_SCOPE_PERSISTENT:Wo.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=n}scopeKey(e){return`${this.scope}${e}`}setItem(e,n){this.wrapped.setItem(this.scopeKey(e),n)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class $v{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new Wo(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function Ev(t){return new $v(t)}Sv();function Cv(t){if(!t||typeof t!="string")throw new Error("Invalid CSRF token given",{cause:{token:t}});globalThis._nc_auth_requestToken!==t&&(globalThis._nc_auth_requestToken=t,globalThis.document&&(document.head.dataset.requesttoken=t),wv("csrf-token-update",{token:t,_internal:!0}))}function Sv(){bv("csrf-token-update",({token:t,_internal:e})=>{e||Cv(t)})}Ev("public").persist().build();let Je;function _l(t,e){return t?t.getAttribute(e):null}function xv(){if(Je!==void 0)return Je;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=_l(t,"data-user");return e===null?(Je=null,Je):(Je={uid:e,displayName:_l(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Je)}var ct=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(ct||{});class Av{context;constructor(e){this.context=e||{}}formatMessage(e,n,o){let r="["+ct[n].toUpperCase()+"] ";return o&&o.app&&(r+=o.app+": "),typeof e=="string"?r+e:(r+=`Unexpected ${e.name}`,e.message&&(r+=` "${e.message}"`),n===ct.Debug&&e.stack&&(r+=` Stack trace: -${e.stack}`),r)}log(e,n,o){if(!(typeof this.context?.level=="number"&&e{document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=window._oc_config?.loglevel??lt.Warn,window._oc_debug&&(e.context.level=lt.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function gv(){return new vv(mv)}const aa=gv().detectUser().setApp("@nextcloud/vue").build(),_v=Symbol.for("NcFormBox:context");function yv(){return vc(_v,{isInFormBox:!1,formBoxItemClass:void 0})}const bv={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:t=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(t)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)||["submit","reset","button"].includes(t)},default:"secondary"},nativeType:{type:String,validator(t){return["submit","reset","button"].indexOf(t)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},target:{type:String,default:"_self"},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:"secondary"}},emits:["update:pressed","click"],setup(){const{formBoxItemClass:t}=yv();return{formBoxItemClass:t}},computed:{realVariant(){return this.pressed?"primary":this.pressed===!1&&(this.type==="primary"||this.variant==="primary")?"secondary":this.type!=="secondary"&&["primary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.type:this.variant},realType(){return typeof this.pressed=="boolean"?"button":this.nativeType!=="button"?this.nativeType:["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.nativeType:this.type},isTertiary(){return this.realVariant.startsWith("tertiary")},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(t){const e=!!this.$slots.default,n=this.$slots?.icon;!e&&!this.ariaLabel&&aa.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:this.$slots.default?.[0]?.text,ariaLabel:this.ariaLabel,instance:this});const o=this.to||this.href,r=!o&&typeof this.pressed=="boolean",i=({href:a,navigate:l,isActive:s,isExactActive:f}={})=>t(o?"a":"button",{class:["button-vue",`button-vue--size-${this.size}`,{"button-vue--icon-only":n&&!e,"button-vue--text-only":e&&!n,"button-vue--icon-and-text":n&&e,[`button-vue--vue-${this.realVariant}`]:this.realVariant,"button-vue--legacy":jo,"button-vue--legacy34":Um,"button-vue--tertiary":this.isTertiary,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:s,"router-link-exact-active":f},this.formBoxItemClass],attrs:{"aria-label":this.ariaLabel,"aria-pressed":r?this.pressed.toString():void 0,disabled:this.disabled,type:o?null:this.realType,role:o?"button":null,href:this.to?a:this.href||null,target:o?this.target||"_self":null,rel:o?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:c=>{r&&this.$emit("update:pressed",!this.pressed),this.$emit("click",c),l?.(c)}}},[t("span",{class:"button-vue__wrapper"},[n?t("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,e?t("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?t("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:i}}):i()}},wv=null,Ev=null;var $v=Q(bv,wv,Ev,!1,null,"c3872a2f");const sa=$v.exports,la={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:t=>typeof t=="number"||t==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const t=ru.sanitize(this.svg),e=new DOMParser().parseFromString(t,"image/svg+xml");return e.querySelector("parsererror")?(G.util.warn("SVG is not valid"),""):(e.documentElement.id&&e.documentElement.removeAttribute("id"),e.documentElement.outerHTML)}}},ul=()=>{ji((t,e)=>({dad67fa8:t.iconSize}))},dl=la.setup;la.setup=dl?(t,e)=>(ul(),dl(t,e)):ul;const Cv=la;var Sv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"icon-vue",class:{"icon-vue--directional":t.directional,"icon-vue--inline":t.inline},attrs:{"aria-hidden":t.name?void 0:"true","aria-label":t.name||void 0,role:"img"}},[t.cleanSvg?e("span",{domProps:{innerHTML:t._s(t.cleanSvg)}}):e("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:t.path}})])])},Tv=[],xv=Q(Cv,Sv,Tv,!1,null,"4625d649");const vu=xv.exports,Av=`{document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=window._oc_config?.loglevel??ct.Warn,window._oc_debug&&(e.context.level=ct.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function Nv(){return new kv(Tv)}const ua=Nv().detectUser().setApp("@nextcloud/vue").build(),Ov=Symbol.for("NcFormBox:context");function Iv(){return Sc(Ov,{isInFormBox:!1,formBoxItemClass:void 0})}const Pv={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:t=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(t)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)||["submit","reset","button"].includes(t)},default:"secondary"},nativeType:{type:String,validator(t){return["submit","reset","button"].indexOf(t)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},target:{type:String,default:"_self"},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:"secondary"}},emits:["update:pressed","click"],setup(){const{formBoxItemClass:t}=Iv();return{formBoxItemClass:t}},computed:{realVariant(){return this.pressed?"primary":this.pressed===!1&&(this.type==="primary"||this.variant==="primary")?"secondary":this.type!=="secondary"&&["primary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.type:this.variant},realType(){return typeof this.pressed=="boolean"?"button":this.nativeType!=="button"?this.nativeType:["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.nativeType:this.type},isTertiary(){return this.realVariant.startsWith("tertiary")},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(t){const e=!!this.$slots.default,n=this.$slots?.icon;!e&&!this.ariaLabel&&ua.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:this.$slots.default?.[0]?.text,ariaLabel:this.ariaLabel,instance:this});const o=this.to||this.href,r=!o&&typeof this.pressed=="boolean",i=({href:a,navigate:l,isActive:s,isExactActive:f}={})=>t(o?"a":"button",{class:["button-vue",`button-vue--size-${this.size}`,{"button-vue--icon-only":n&&!e,"button-vue--text-only":e&&!n,"button-vue--icon-and-text":n&&e,[`button-vue--vue-${this.realVariant}`]:this.realVariant,"button-vue--legacy":Go,"button-vue--legacy34":ov,"button-vue--tertiary":this.isTertiary,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:s,"router-link-exact-active":f},this.formBoxItemClass],attrs:{"aria-label":this.ariaLabel,"aria-pressed":r?this.pressed.toString():void 0,disabled:this.disabled,type:o?null:this.realType,role:o?"button":null,href:this.to?a:this.href||null,target:o?this.target||"_self":null,rel:o?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:u=>{r&&this.$emit("update:pressed",!this.pressed),this.$emit("click",u),l?.(u)}}},[t("span",{class:"button-vue__wrapper"},[n?t("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,e?t("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?t("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:i}}):i()}},Rv=null,Lv=null;var Dv=Q(Pv,Rv,Lv,!1,null,"29ac0caf");const da=Dv.exports,pa={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:t=>typeof t=="number"||t==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const t=hu.sanitize(this.svg),e=new DOMParser().parseFromString(t,"image/svg+xml");return e.querySelector("parsererror")?(q.util.warn("SVG is not valid"),""):(e.documentElement.id&&e.documentElement.removeAttribute("id"),e.documentElement.outerHTML)}}},yl=()=>{Ui((t,e)=>({dad67fa8:t.iconSize}))},bl=pa.setup;pa.setup=bl?(t,e)=>(yl(),bl(t,e)):yl;const Fv=pa;var Mv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"icon-vue",class:{"icon-vue--directional":t.directional,"icon-vue--inline":t.inline},attrs:{"aria-hidden":t.name?void 0:"true","aria-label":t.name||void 0,role:"img"}},[t.cleanSvg?e("span",{domProps:{innerHTML:t._s(t.cleanSvg)}}):e("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:t.path}})])])},Bv=[],zv=Q(Fv,Mv,Bv,!1,null,"4625d649");const xu=zv.exports,Hv=` @@ -11,7 +11,7 @@ ${e.stack}`),r)}log(e,n,o){if(!(typeof this.context?.level=="number"&&e -`,kv={__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(t){const e=t;ji((r,i)=>({"2d1b8583":i.color,"78386a55":i.cx}));const n=St(()=>e.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),o=St(()=>e.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return{__sfc:!0,svg:Av,props:e,color:n,cx:o,NcIconSvgWrapper:vu}}},Nv="_iconToggleSwitch_ZSKWf",Iv={"material-design-icon":"_material-design-icon_YB2B5",iconToggleSwitch:Nv};var Ov=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcIconSvgWrapper,{class:t.$style.iconToggleSwitch,attrs:{svg:n.svg,size:t.size,inline:t.inline}})},Pv=[];const pl={$style:Iv};function Rv(t){for(var e in pl)this[e]=pl[e]}var Lv=Q(kv,Ov,Pv,!1,Rv,null);const Dv=Lv.exports,Mv={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(t){return["auto","light","dark"].includes(t)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const t=["#777","#CCC"];return this.appearance==="light"?t:this.appearance==="dark"?t.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var Fv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":t.name,role:"img"}},[e("svg",{attrs:{width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:t.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),e("path",{attrs:{fill:t.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[t.name?e("title",[t._v(t._s(t.name))]):t._e()])])])},Bv=[],jv=Q(Mv,Fv,Bv,!1,null,"94ff8098");const zv=jv.exports;function gu(t,e,n=!1){const o=Nd().proxy;return n&&o.$props[t]===void 0&&o.$props.modelValue===void 0&&G.util.warn(`Missing required prop: "modelValue" or old "${t}"`),St({get(){return o.$props[t]!==void 0?o.$props[t]:o.$props.modelValue},set(r){o.$emit("update:modelValue",r),o.$emit("update:model-value",r),o.$emit(e,r)}})}function Mn(t){return Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,5)}const Hv=Symbol.for("insideRadioGroup");function Vv(){return vc(Hv,void 0)}const Uv={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Gv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Wv=[],qv=Q(Uv,Gv,Wv,!1,null,null);const Xv=qv.exports,Kv={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Yv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Zv=[],Qv=Q(Kv,Yv,Zv,!1,null,null);const Jv=Qv.exports,tg={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var eg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ng=[],og=Q(tg,eg,ng,!1,null,null);const rg=og.exports,ig={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ag=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},sg=[],lg=Q(ig,ag,sg,!1,null,null);const cg=lg.exports,ug={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var dg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},pg=[],fg=Q(ug,dg,pg,!1,null,null);const hg=fg.exports,nn="checkbox",Pe="radio",pe="switch",Fn="button",mg={name:"NcCheckboxContent",components:{NcLoadingIcon:zv,NcIconToggleSwitch:Dv},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:t=>[nn,Pe,pe,Fn].includes(t)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},iconSize:{type:Number,default:24},labelId:{type:String,required:!0},descriptionId:{type:String,required:!0}},computed:{isButtonType(){return this.type===Fn},isSwitchType(){return this.type===pe},checkboxRadioIconElement(){return this.type===Pe?this.isChecked?hg:cg:this.indeterminate?rg:this.isChecked?Jv:Xv}}};var vg=function(){var t=this,e=t._self._c;return e("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+t.type]:!0,"checkbox-content--button-variant":t.buttonVariant,"checkbox-content--has-text":!!t.$slots.default}},[e("span",{staticClass:"checkbox-content__icon",class:{"checkbox-content__icon--checked":t.isChecked,[t.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[t._t("icon",function(){return[t.loading?e("NcLoadingIcon"):t.isSwitchType?e("NcIconToggleSwitch",{attrs:{checked:t.isChecked,size:t.iconSize,inline:""}}):t.buttonVariant?t._e():e(t.checkboxRadioIconElement,{tag:"component",attrs:{size:t.iconSize}})]},{checked:t.isChecked,loading:t.loading})],2),t.$slots.default||t.$slots.description?e("span",{staticClass:"checkbox-content__wrapper"},[t.$slots.default?e("span",{staticClass:"checkbox-content__text",class:t.textClass,attrs:{id:t.labelId}},[t._t("default")],2):t._e(),!t.isButtonType&&t.$slots.description?e("span",{staticClass:"checkbox-content__description",attrs:{id:t.descriptionId}},[t._t("description")],2):t._e()]):t._e()])},gg=[],_g=Q(mg,vg,gg,!1,null,"3fb1ae25");const yg=_g.exports;ia();const ca={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:yg},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+Mn(),validator:t=>t.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:t=>[nn,Pe,pe,Fn].includes(t)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:t=>["no","vertical","horizontal"].includes(t)},checked:{type:[Boolean,Array,String],default:void 0},modelValue:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null},description:{type:String,default:null}},emits:["update:checked","update:modelValue","update:model-value"],setup(t){const e=Vv(),n=St(()=>e?.value?Pe:t.type);yp(()=>e?.value.register(!1));const o=gu("checked","update:checked"),r=St({get(){return e?.value?e.value.modelValue:o.value},set(i){e?.value?e.value.onUpdate(i):o.value=i}});return{internalType:n,internalModelValue:r,labelId:Mn(),descriptionId:Mn()}},computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>t.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>!t.startsWith("data-")))},isButtonType(){return this.internalType===Fn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},iconSize(){return this.internalType===pe?36:24},cssIconSize(){return this.iconSize+"px"},cssIconHeight(){return this.internalType===pe?"16px":this.cssIconSize},inputType(){return[nn,Pe,Fn].includes(this.internalType)?this.internalType:nn},isChecked(){return this.value!==null?Array.isArray(this.internalModelValue)?[...this.internalModelValue].indexOf(this.value)>-1:this.internalModelValue===this.value:this.internalModelValue===!0},hasIndeterminate(){return[nn,Pe].includes(this.inputType)}},mounted(){if(this.name&&this.internalType===nn&&!Array.isArray(this.internalModelValue))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.internalType===pe)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.internalModelValue!="boolean"&&this.internalType===pe)throw new Error("Switches can only be used with boolean as modelValue prop.")},methods:{t:ra,n:km,onToggle(t){if(!(this.disabled||t.target.tagName.toLowerCase()==="a")){if(this.internalType===Pe){this.internalModelValue=this.value;return}if(this.internalType===pe){this.internalModelValue=!this.isChecked;return}if(typeof this.internalModelValue=="boolean"){this.internalModelValue=!this.internalModelValue;return}this.isChecked?this.internalModelValue=this.internalModelValue.filter(e=>e!==this.value):this.internalModelValue=[...this.internalModelValue,this.value]}}}},fl=()=>{ji((t,e)=>({"356a9460":t.cssIconSize,ab21a194:t.cssIconHeight}))},hl=ca.setup;ca.setup=hl?(t,e)=>(fl(),hl(t,e)):fl;const bg=ca;var wg=function(){var t=this,e=t._self._c;return e(t.computedWrapperElement,t._g(t._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+t.internalType]:t.internalType,"checkbox-radio-switch--checked":t.isChecked,"checkbox-radio-switch--disabled":t.disabled,"checkbox-radio-switch--indeterminate":t.hasIndeterminate?t.indeterminate:!1,"checkbox-radio-switch--button-variant":t.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":t.buttonVariant&&t.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":t.buttonVariant&&t.buttonVariantGrouped==="horizontal","button-vue":t.isButtonType},attrs:{id:t.wrapperId,"aria-label":t.isButtonType&&t.ariaLabel?t.ariaLabel:void 0,type:t.isButtonType?"button":null}},"component",t.isButtonType?t.$attrs:t.dataAttrs,!1),t.isButtonType?t.listeners:null),[t.isButtonType?t._e():e("input",t._g(t._b({staticClass:"checkbox-radio-switch__input",attrs:{id:t.id,"aria-labelledby":!t.isButtonType&&!t.ariaLabel?t.labelId:null,"aria-describedby":!t.isButtonType&&(t.description||t.$slots.description)?t.descriptionId:t.nonDataAttrs["aria-describedby"],"aria-label":t.ariaLabel||void 0,disabled:t.disabled,type:t.inputType,required:t.required,name:t.name},domProps:{value:t.value,checked:t.isChecked,indeterminate:t.hasIndeterminate?t.indeterminate:null}},"input",t.nonDataAttrs,!1),t.listeners)),e("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:t.isButtonType?void 0:`${t.id}-label`,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:t.internalType,indeterminate:t.hasIndeterminate?t.indeterminate:!1,"button-variant":t.buttonVariant,"is-checked":t.isChecked,loading:t.loading,"label-id":t.labelId,"description-id":t.descriptionId,"icon-size":t.iconSize},nativeOn:{click:function(n){return t.onToggle.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0},t.$slots.description||t.description?{key:"description",fn:function(){return[t._t("description",function(){return[t._v(" "+t._s(t.description)+" ")]})]},proxy:!0}:null],null,!0)},[t._t("default")],2)],1)},Eg=[],$g=Q(bg,wg,Eg,!1,null,"f21394d2");const Cg=$g.exports,Sg={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Tg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},xg=[],Ag=Q(Sg,Tg,xg,!1,null,null);const kg=Ag.exports,Ng={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ig=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Og=[],Pg=Q(Ng,Ig,Og,!1,null,null);const Rg=Pg.exports,Lg={name:"NcInputField",components:{NcButton:sa,AlertCircle:kg,Check:Rg},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:t=>["text","password","email","tel","url","search","number"].includes(t)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){const t=gu("value","update:value",!0);return{isLegacy32:jo,model:t}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+Mn()},hasTrailingIcon(){return this.success},computedPlaceholder(){if(this.placeholder)return this.placeholder;if(this.label)return jo?this.label:""},isValidLabel(){const t=this.label||this.labelOutside;return t||aa.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),t},ariaDescribedby(){const t=[];return this.helperText.length>0&&t.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&t.push(this.$attrs["aria-describedby"]),t.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(t){const e=this.type==="number"&&typeof this.model=="number"?parseFloat(t.target.value,10):t.target.value;this.model=e},handleTrailingButtonClick(t){this.$emit("trailing-button-click",t)}}};var Dg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-field",class:{"input-field--disabled":t.disabled,"input-field--error":t.error,"input-field--label-outside":t.labelOutside||!t.isValidLabel,"input-field--leading-icon":!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,"input-field--success":t.success,"input-field--trailing-icon":t.showTrailingButton||t.hasTrailingIcon,"input-field--pill":t.pill,"input-field--legacy":t.isLegacy32}},[e("div",{staticClass:"input-field__main-wrapper"},[e("input",t._g(t._b({ref:"input",staticClass:"input-field__input",class:[t.inputClass,{"input-field__input--success":t.success,"input-field__input--error":t.error}],attrs:{id:t.computedId,type:t.type,disabled:t.disabled,placeholder:t.computedPlaceholder,"aria-describedby":t.ariaDescribedby,"aria-live":"polite"},domProps:{value:t.model?.toString()},on:{input:t.handleInput}},"input",t.$attrs,!1),t.$listeners)),!t.labelOutside&&t.isValidLabel?e("label",{staticClass:"input-field__label",attrs:{for:t.computedId}},[t._v(" "+t._s(t.label)+" ")]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,expression:"!!$scopedSlots.icon || !!$scopedSlots.default || !!$slots.default"}],staticClass:"input-field__icon input-field__icon--leading"},[t._t("icon",function(){return[t._t("default")]})],2),t.showTrailingButton?e("NcButton",{staticClass:"input-field__trailing-button",attrs:{"aria-label":t.trailingButtonLabel,disabled:t.disabled,variant:"tertiary-no-background"},on:{click:t.handleTrailingButtonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("trailing-button-icon")]},proxy:!0}],null,!0)}):t.success||t.error?e("div",{staticClass:"input-field__icon input-field__icon--trailing"},[t.success?e("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):t.error?e("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):t._e()],1):t._e()],1),t.helperText.length>0?e("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":t.error,"input-field__helper-text-message--success":t.success},attrs:{id:`${t.inputName}-helper-text`}},[t.success?e("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t.error?e("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t._e(),t._v(" "+t._s(t.helperText)+" ")],1):t._e()])},Mg=[],Fg=Q(Lg,Dg,Mg,!1,null,"2bc46a58");const _u=Fg.exports;function Ge(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var c=s.render;s.render=function(m,y){return f.call(y),c(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}const Bg={name:"TrashCanIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var jg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon trash-can-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},zg=[],Hg=Ge(Bg,jg,zg,!1,null);const Vg=Hg.exports,Ug={__name:"PasswordPolicy",props:{modelValue:null,heading:null,canRemove:{type:Boolean}},emits:["update:modelValue","remove"],setup(t,{emit:e}){const n=t,o=St({get:()=>n.modelValue.minLength,set:f=>e("update:modelValue",{...n.modelValue,minLength:Number.isNaN(f)?0:f})}),r=St({get:()=>n.modelValue.enforceHaveIBeenPwned,set:f=>e("update:modelValue",{...n.modelValue,enforceHaveIBeenPwned:f})}),i=St({get:()=>n.modelValue.enforceNonCommonPassword,set:f=>e("update:modelValue",{...n.modelValue,enforceNonCommonPassword:f})}),a=St({get:()=>n.modelValue.enforceNumericCharacters,set:f=>e("update:modelValue",{...n.modelValue,enforceNumericCharacters:f})}),l=St({get:()=>n.modelValue.enforceSpecialCharacters,set:f=>e("update:modelValue",{...n.modelValue,enforceSpecialCharacters:f})}),s=St({get:()=>n.modelValue.enforceUpperLowerCase,set:f=>e("update:modelValue",{...n.modelValue,enforceUpperLowerCase:f})});return{__sfc:!0,props:n,emit:e,minLength:o,enforceHaveIBeenPwned:r,enforceNonCommonPassword:i,enforceNumericCharacters:a,enforceSpecialCharacters:l,enforceUpperLowerCase:s,t:Gt,NcButton:sa,NcCheckboxRadioSwitch:Cg,NcInputField:_u,IconTrashbin:Vg}}},Gg="_heading_nsb3k_2",Wg="_headingWrapper_nsb3k_7",qg="_hint_nsb3k_12",Xg="_inputField_nsb3k_17",Kg={heading:Gg,headingWrapper:Wg,hint:qg,inputField:Xg};var Yg=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{on:{submit:function(o){o.preventDefault()}}},[e("div",{class:t.$style.headingWrapper},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(t.heading)+" ")]),t.canRemove?e(n.NcButton,{attrs:{"aria-label":n.t("password_policy","Remove policy"),title:n.t("password_policy","Remove policy"),type:"tertiary"},on:{click:function(o){return t.$emit("remove")}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconTrashbin,{attrs:{size:20}})]},proxy:!0}],null,!1,3422420218)}):t._e()],1),e(n.NcInputField,{class:t.$style.inputField,attrs:{label:n.t("password_policy","Minimum password length"),type:"number",min:"0"},model:{value:n.minLength,callback:function(o){n.minLength=o},expression:"minLength"}}),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNonCommonPassword,type:"switch"},on:{"update:checked":function(o){n.enforceNonCommonPassword=o}}},[t._v(" "+t._s(n.t("password_policy","Forbid common passwords"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceUpperLowerCase,type:"switch"},on:{"update:checked":function(o){n.enforceUpperLowerCase=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce upper and lower case characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNumericCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceNumericCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce numeric characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceSpecialCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceSpecialCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce special characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":function(o){n.enforceHaveIBeenPwned=o}}},[t._v(" "+t._s(n.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),e("p",{class:t.$style.hint},[t._v(" "+t._s(n.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)},Zg=[];const ml={$style:Kg};function Qg(t){for(var e in ml)this[e]=ml[e]}var Jg=Ge(Ug,Yg,Zg,!1,Qg);const t_=Jg.exports,e_={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},o_=[],r_=Q(e_,n_,o_,!1,null,null);const vl=r_.exports,i_={name:"AlertDecagramIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var a_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-decagram-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},s_=[],l_=Q(i_,a_,s_,!1,null,null);const c_=l_.exports,u_={name:"CheckboxMarkedCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var d_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},p_=[],f_=Q(u_,d_,p_,!1,null,null);const h_=f_.exports,m_={name:"InformationIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var v_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon information-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},g_=[],__=Q(m_,v_,g_,!1,null,null);const y_=__.exports,b_={name:"NcNoteCard",props:{type:{type:String,default:"warning",validator:t=>["success","info","warning","error"].includes(t)},showAlert:{type:Boolean,default:!1},heading:{type:String,default:""},text:{type:String,default:""}},setup(){return{isLegacy32:jo}},computed:{shouldShowAlert(){return this.showAlert||this.type==="error"},icon(){switch(this.type){case"error":return c_;case"success":return h_;case"info":return y_;case"warning":return vl;default:return vl}}}};var w_=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notecard",class:{[`notecard--${t.type}`]:t.type,"notecard--legacy":t.isLegacy32},attrs:{role:t.shouldShowAlert?"alert":"note"}},[t._t("icon",function(){return[e(t.icon,{tag:"component",staticClass:"notecard__icon",class:{"notecard__icon--heading":t.heading},attrs:{"fill-color":"var(--note-theme)",size:20}})]}),e("div",[t.heading?e("p",{staticClass:"notecard__heading"},[t._v(" "+t._s(t.heading)+" ")]):t._e(),t._t("default",function(){return[e("p",{staticClass:"notecard__text"},[t._v(" "+t._s(t.text)+" ")])]})],2)],2)},E_=[],$_=Q(b_,w_,E_,!1,null,"f656e861");const C_=$_.exports,S_={__name:"ComplianceConfig",setup(t){const e=ti(_i("password_policy","loginConfig")),n=ti(_i("password_policy","loginConfig"));hc(e,o,{deep:!0});function o(){for(const[r,i]of Object.entries(e.value)){let a=Math.max(i||0,0);a=Number.isNaN(a)?0:a,console.debug(a,i,n.value[r]),n.value[r]!==a&&(window.OCP.AppConfig.setValue("password_policy",r,JSON.stringify(a)),n.value[r]=a),e.value[r]!==a&&(e.value[r]=a)}}return{__sfc:!0,config:e,oldConfig:n,saveComplianceConfig:o,t:Gt,NcInputField:_u,NcNoteCard:C_}}},T_="_form_5u8co_2",x_="_heading_5u8co_8",A_="_inputField_5u8co_13",k_={form:T_,heading:x_,inputField:A_};var N_=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{class:t.$style.form,on:{submit:function(o){o.preventDefault()}}},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(n.t("password_policy","Login policies"))+" ")]),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Password history size"),"helper-text":n.t("password_policy","Number of passwords to keep (securely hashed) to prevent users from reusing previously used passwords."),min:"0",type:"number"},model:{value:n.config.historySize,callback:function(o){t.$set(n.config,"historySize",o)},expression:"config.historySize"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Maximum login attempts"),min:"0",type:"number","helper-text":n.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)")},model:{value:n.config.maximumLoginAttempts,callback:function(o){t.$set(n.config,"maximumLoginAttempts",o)},expression:"config.maximumLoginAttempts"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.maximumLoginAttempts>0,expression:"config.maximumLoginAttempts > 0"}],attrs:{heading:n.t("password_policy","Maximum login attempts"),text:n.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."),type:"info"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Number of days until user password expires"),min:"0",type:"number"},model:{value:n.config.expiration,callback:function(o){t.$set(n.config,"expiration",o)},expression:"config.expiration"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.expiration>0,expression:"config.expiration > 0"}],attrs:{heading:n.t("password_policy","Password expiration"),text:n.t("password_policy","Warning: enabling password expiration is nowadays considered a security risk by several security agencies."),type:"warning"}})],1)])},I_=[];const gl={$style:k_};function O_(t){for(var e in gl)this[e]=gl[e]}var P_=Ge(S_,N_,I_,!1,O_);const R_=P_.exports;G.util.warn;function _l(t){return typeof t=="function"?t():Md(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function $i(){return window._nc_focus_trap??=[],window._nc_focus_trap}function L_(){let t=[];return{pause(){t=[...$i()];for(const e of t)e.pause()},unpause(){if(t.length===$i().length)for(const e of t)e.unpause();t=[]}}}function D_(t,e={}){const n=L_();hc(t,()=>{_l(e.disabled)||(_l(t)?n.pause():n.unpause())}),bp(()=>{n.unpause()})}function re(t){return t.split("-")[0]}function cn(t){return t.split("-")[1]}function Jn(t){return["top","bottom"].includes(re(t))?"x":"y"}function ua(t){return t==="y"?"height":"width"}function yl(t){let{reference:e,floating:n,placement:o}=t;const r=e.x+e.width/2-n.width/2,i=e.y+e.height/2-n.height/2;let a;switch(re(o)){case"top":a={x:r,y:e.y-n.height};break;case"bottom":a={x:r,y:e.y+e.height};break;case"right":a={x:e.x+e.width,y:i};break;case"left":a={x:e.x-n.width,y:i};break;default:a={x:e.x,y:e.y}}const l=Jn(o),s=ua(l);switch(cn(o)){case"start":a[l]=a[l]-(e[s]/2-n[s]/2);break;case"end":a[l]=a[l]+(e[s]/2-n[s]/2);break}return a}const M_=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n;let l=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:s,y:f}=yl({...l,placement:o}),c=o,h={};for(let m=0;m({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t??{},{x:r,y:i,placement:a,rects:l,platform:s}=e;if(n==null)return{};const f=yu(o),c={x:r,y:i},h=re(a),m=Jn(h),y=ua(m),S=await s.getDimensions({element:n}),b=m==="y"?"top":"left",T=m==="y"?"bottom":"right",P=l.reference[y]+l.reference[m]-c[m]-l.floating[y],x=c[m]-l.reference[m],L=await s.getOffsetParent({element:n}),R=L?m==="y"?L.clientHeight||0:L.clientWidth||0:0,W=P/2-x/2,V=f[b],U=R-S[y]-f[T],q=R/2-S[y]/2+W,at=Si(V,q,U);return{data:{[m]:at,centerOffset:q-at}}}}),z_={left:"right",right:"left",bottom:"top",top:"bottom"};function Ho(t){return t.replace(/left|right|bottom|top/g,e=>z_[e])}function bu(t,e){const n=cn(t)==="start",o=Jn(t),r=ua(o);let i=o==="x"?n?"right":"left":n?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=Ho(i)),{main:i,cross:Ho(i)}}const H_={start:"end",end:"start"};function Ti(t){return t.replace(/start|end/g,e=>H_[e])}const V_=["top","right","bottom","left"],U_=V_.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function G_(t,e,n){return(t?[...n.filter(o=>cn(o)===t),...n.filter(o=>cn(o)!==t)]:n.filter(o=>re(o)===o)).filter(o=>t?cn(o)===t||(e?Ti(o)!==o:!1):!0)}const W_=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,r,i,a,l;const{x:s,y:f,rects:c,middlewareData:h,placement:m}=e,{alignment:y=null,allowedPlacements:S=U_,autoAlignment:b=!0,...T}=t;if((n=h.autoPlacement)!=null&&n.skip)return{};const P=G_(y,b,S),x=await er(e,T),L=(o=(r=h.autoPlacement)==null?void 0:r.index)!=null?o:0,R=P[L],{main:W,cross:V}=bu(R,c);if(m!==R)return{x:s,y:f,reset:{placement:P[0]}};const U=[x[re(R)],x[W],x[V]],q=[...(i=(a=h.autoPlacement)==null?void 0:a.overflows)!=null?i:[],{placement:R,overflows:U}],at=P[L+1];if(at)return{data:{index:L+1,overflows:q},reset:{placement:at}};const st=q.slice().sort((d,p)=>d.overflows[0]-p.overflows[0]),ut=(l=st.find(d=>{let{overflows:p}=d;return p.every(v=>v<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:ut??st[0].placement}}}}};function q_(t){const e=Ho(t);return[Ti(t),e,Ti(e)]}const X_=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l}=e;if((n=i.flip)!=null&&n.skip)return{};const{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:h="bestFit",flipAlignment:m=!0,...y}=t,S=re(r),b=c||(S===l||!m?[Ho(l)]:q_(l)),T=[l,...b],P=await er(e,y),x=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(s&&x.push(P[S]),f){const{main:U,cross:q}=bu(r,a);x.push(P[U],P[q])}if(L=[...L,{placement:r,overflows:x}],!x.every(U=>U<=0)){var R,W;const U=((R=(W=i.flip)==null?void 0:W.index)!=null?R:0)+1,q=T[U];if(q)return{data:{index:U,overflows:L},reset:{placement:q}};let at="bottom";switch(h){case"bestFit":{var V;const st=(V=L.slice().sort((ut,d)=>ut.overflows.filter(p=>p>0).reduce((p,v)=>p+v,0)-d.overflows.filter(p=>p>0).reduce((p,v)=>p+v,0))[0])==null?void 0:V.placement;st&&(at=st);break}case"initialPlacement":at=l;break}return{data:{skip:!0},reset:{placement:at}}}return{}}}};function K_(t){let{placement:e,rects:n,value:o}=t;const r=re(e),i=["left","top"].includes(r)?-1:1,a=typeof o=="function"?o({...n,placement:e}):o,{mainAxis:l,crossAxis:s}=typeof a=="number"?{mainAxis:a,crossAxis:0}:{mainAxis:0,crossAxis:0,...a};return Jn(r)==="x"?{x:s,y:l*i}:{x:l*i,y:s}}const Y_=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(e){const{x:n,y:o,placement:r,rects:i}=e,a=K_({placement:r,rects:i,value:t});return{x:n+a.x,y:o+a.y,data:a}}}};function Z_(t){return t==="x"?"y":"x"}const Q_=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:T=>{let{x:P,y:x}=T;return{x:P,y:x}}},...s}=t,f={x:n,y:o},c=await er(e,s),h=Jn(re(r)),m=Z_(h);let y=f[h],S=f[m];if(i){const T=h==="y"?"top":"left",P=h==="y"?"bottom":"right",x=y+c[T],L=y-c[P];y=Si(x,y,L)}if(a){const T=m==="y"?"top":"left",P=m==="y"?"bottom":"right",x=S+c[T],L=S-c[P];S=Si(x,S,L)}const b=l.fn({...e,[h]:y,[m]:S});return{...b,data:{x:b.x-n,y:b.y-o}}}}},J_=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n;const{placement:o,rects:r,middlewareData:i}=e,{apply:a,...l}=t;if((n=i.size)!=null&&n.skip)return{};const s=await er(e,l),f=re(o),c=cn(o)==="end";let h,m;f==="top"||f==="bottom"?(h=f,m=c?"left":"right"):(m=f,h=c?"top":"bottom");const y=Oe(s.left,0),S=Oe(s.right,0),b=Oe(s.top,0),T=Oe(s.bottom,0),P={height:r.floating.height-(["left","right"].includes(o)?2*(b!==0||T!==0?b+T:Oe(s.top,s.bottom)):s[h]),width:r.floating.width-(["top","bottom"].includes(o)?2*(y!==0||S!==0?y+S:Oe(s.left,s.right)):s[m])};return a?.({...P,...r}),{data:{skip:!0},reset:{rects:!0}}}}};function da(t){return t?.toString()==="[object Window]"}function $e(t){if(t==null)return window;if(!da(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function nr(t){return $e(t).getComputedStyle(t)}function ne(t){return da(t)?"":t?(t.nodeName||"").toLowerCase():""}function oe(t){return t instanceof $e(t).HTMLElement}function Vo(t){return t instanceof $e(t).Element}function ty(t){return t instanceof $e(t).Node}function wu(t){const e=$e(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function or(t){const{overflow:e,overflowX:n,overflowY:o}=nr(t);return/auto|scroll|overlay|hidden/.test(e+o+n)}function ey(t){return["table","td","th"].includes(ne(t))}function Eu(t){const e=navigator.userAgent.toLowerCase().includes("firefox"),n=nr(t);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||e&&n.willChange==="filter"||e&&(n.filter?n.filter!=="none":!1)}const bl=Math.min,Bn=Math.max,Uo=Math.round;function fn(t,e){e===void 0&&(e=!1);const n=t.getBoundingClientRect();let o=1,r=1;return e&&oe(t)&&(o=t.offsetWidth>0&&Uo(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Uo(n.height)/t.offsetHeight||1),{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function Ce(t){return((ty(t)?t.ownerDocument:t.document)||window.document).documentElement}function rr(t){return da(t)?{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}:{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function $u(t){return fn(Ce(t)).left+rr(t).scrollLeft}function ny(t){const e=fn(t);return Uo(e.width)!==t.offsetWidth||Uo(e.height)!==t.offsetHeight}function oy(t,e,n){const o=oe(e),r=Ce(e),i=fn(t,o&&ny(e));let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((ne(e)!=="body"||or(r))&&(a=rr(e)),oe(e)){const s=fn(e,!0);l.x=s.x+e.clientLeft,l.y=s.y+e.clientTop}else r&&(l.x=$u(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function ir(t){return ne(t)==="html"?t:t.assignedSlot||t.parentNode||(wu(t)?t.host:null)||Ce(t)}function wl(t){return!oe(t)||getComputedStyle(t).position==="fixed"?null:t.offsetParent}function ry(t){let e=ir(t);for(;oe(e)&&!["html","body"].includes(ne(e));){if(Eu(e))return e;e=e.parentNode}return null}function xi(t){const e=$e(t);let n=wl(t);for(;n&&ey(n)&&getComputedStyle(n).position==="static";)n=wl(n);return n&&(ne(n)==="html"||ne(n)==="body"&&getComputedStyle(n).position==="static"&&!Eu(n))?e:n||ry(t)||e}function El(t){return{width:t.offsetWidth,height:t.offsetHeight}}function iy(t){let{rect:e,offsetParent:n,strategy:o}=t;const r=oe(n),i=Ce(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((ne(n)!=="body"||or(i))&&(a=rr(n)),oe(n))){const s=fn(n,!0);l.x=s.x+n.clientLeft,l.y=s.y+n.clientTop}return{...e,x:e.x-a.scrollLeft+l.x,y:e.y-a.scrollTop+l.y}}function ay(t){const e=$e(t),n=Ce(t),o=e.visualViewport;let r=n.clientWidth,i=n.clientHeight,a=0,l=0;return o&&(r=o.width,i=o.height,Math.abs(e.innerWidth/o.scale-o.width)<.01&&(a=o.offsetLeft,l=o.offsetTop)),{width:r,height:i,x:a,y:l}}function sy(t){var e;const n=Ce(t),o=rr(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=Bn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Bn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+$u(t);const s=-o.scrollTop;return nr(r||n).direction==="rtl"&&(l+=Bn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function Cu(t){return["html","body","#document"].includes(ne(t))?t.ownerDocument.body:oe(t)&&or(t)?t:Cu(ir(t))}function Go(t,e){var n;e===void 0&&(e=[]);const o=Cu(t),r=o===((n=t.ownerDocument)==null?void 0:n.body),i=$e(o),a=r?[i].concat(i.visualViewport||[],or(o)?o:[]):o,l=e.concat(a);return r?l:l.concat(Go(ir(a)))}function ly(t,e){const n=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&wu(n)){let o=e;do{if(o&&t===o)return!0;o=o.parentNode||o.host}while(o)}return!1}function cy(t){const e=fn(t),n=e.top+t.clientTop,o=e.left+t.clientLeft;return{top:n,left:o,x:o,y:n,right:o+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function $l(t,e){return e==="viewport"?Ci(ay(t)):Vo(e)?cy(e):Ci(sy(Ce(t)))}function uy(t){const e=Go(ir(t)),n=["absolute","fixed"].includes(nr(t).position)&&oe(t)?xi(t):t;return Vo(n)?e.filter(o=>Vo(o)&&ly(o,n)&&ne(o)!=="body"):[]}function dy(t){let{element:e,boundary:n,rootBoundary:o}=t;const r=[...n==="clippingParents"?uy(e):[].concat(n),o],i=r[0],a=r.reduce((l,s)=>{const f=$l(e,s);return l.top=Bn(f.top,l.top),l.right=bl(f.right,l.right),l.bottom=bl(f.bottom,l.bottom),l.left=Bn(f.left,l.left),l},$l(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const py={getElementRects:t=>{let{reference:e,floating:n,strategy:o}=t;return{reference:oy(e,xi(n),o),floating:{...El(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:t=>iy(t),getOffsetParent:t=>{let{element:e}=t;return xi(e)},isElement:t=>Vo(t),getDocumentElement:t=>{let{element:e}=t;return Ce(e)},getClippingClientRect:t=>dy(t),getDimensions:t=>{let{element:e}=t;return El(e)},getClientRects:t=>{let{element:e}=t;return e.getClientRects()}},fy=(t,e,n)=>M_(t,e,{platform:py,...n});var hy=Object.defineProperty,my=Object.defineProperties,vy=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Tu=Object.prototype.propertyIsEnumerable,Cl=(t,e,n)=>e in t?hy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,me=(t,e)=>{for(var n in e||(e={}))Su.call(e,n)&&Cl(t,n,e[n]);if(Wo)for(var n of Wo(e))Tu.call(e,n)&&Cl(t,n,e[n]);return t},ar=(t,e)=>my(t,vy(e)),gy=(t,e)=>{var n={};for(var o in t)Su.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Wo)for(var o of Wo(t))e.indexOf(o)<0&&Tu.call(t,o)&&(n[o]=t[o]);return n};function xu(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?xu(t[n],e[n]):t[n]=e[n])}const Wt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function hn(t,e){let n=Wt.themes[t]||{},o;do o=n[e],typeof o>"u"?n.$extend?n=Wt.themes[n.$extend]||{}:(n=null,o=Wt[e]):n=null;while(n);return o}function _y(t){const e=[t];let n=Wt.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return e.map(o=>`v-popper--theme-${o}`)}function Sl(t){const e=[t];let n=Wt.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return e}let He=!1;if(typeof window<"u"){He=!1;try{const t=Object.defineProperty({},"passive",{get(){He=!0}});window.addEventListener("test",null,t)}catch{}}let Au=!1;typeof window<"u"&&typeof navigator<"u"&&(Au=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ku=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),Tl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},xl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Al(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Wr(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Lt=[];let Ie=null;const kl={};function Nl(t){let e=kl[t];return e||(e=kl[t]=[]),e}let Ai=function(){};typeof window<"u"&&(Ai=window.Element);function H(t){return function(){const e=this.$props;return hn(e.theme,t)}}const qr="__floating-vue__popper";var Nu=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:H("disabled")},positioningDisabled:{type:Boolean,default:H("positioningDisabled")},placement:{type:String,default:H("placement"),validator:t=>ku.includes(t)},delay:{type:[String,Number,Object],default:H("delay")},distance:{type:[Number,String],default:H("distance")},skidding:{type:[Number,String],default:H("skidding")},triggers:{type:Array,default:H("triggers")},showTriggers:{type:[Array,Function],default:H("showTriggers")},hideTriggers:{type:[Array,Function],default:H("hideTriggers")},popperTriggers:{type:Array,default:H("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:H("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:H("popperHideTriggers")},container:{type:[String,Object,Ai,Boolean],default:H("container")},boundary:{type:[String,Ai],default:H("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:H("strategy")},autoHide:{type:[Boolean,Function],default:H("autoHide")},handleResize:{type:Boolean,default:H("handleResize")},instantMove:{type:Boolean,default:H("instantMove")},eagerMount:{type:Boolean,default:H("eagerMount")},popperClass:{type:[String,Array,Object],default:H("popperClass")},computeTransformOrigin:{type:Boolean,default:H("computeTransformOrigin")},autoMinSize:{type:Boolean,default:H("autoMinSize")},autoSize:{type:[Boolean,String],default:H("autoSize")},autoMaxSize:{type:Boolean,default:H("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:H("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:H("preventOverflow")},overflowPadding:{type:[Number,String],default:H("overflowPadding")},arrowPadding:{type:[Number,String],default:H("arrowPadding")},arrowOverflow:{type:Boolean,default:H("arrowOverflow")},flip:{type:Boolean,default:H("flip")},shift:{type:Boolean,default:H("shift")},shiftCrossAxis:{type:Boolean,default:H("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:H("noAutoFocus")}},provide(){return{[qr]:{parentPopper:this}}},inject:{[qr]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:ar(me({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var t;return(t=this[qr])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:me(me({shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var o,r;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1,skipAiming:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var t;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Y_({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(W_({alignment:(t=this.placement.split("-")[1])!=null?t:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Q_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(X_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(j_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:a})=>{let l;const{centerOffset:s}=a.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(s)>i.reference.width/2:l=Math.abs(s)>i.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:a,middlewareData:l})=>{var s;if((s=l.autoSize)!=null&&s.skip)return{};let f,c;return a.startsWith("top")||a.startsWith("bottom")?f=i.reference.width:c=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=f!=null?`${f}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(J_({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const o=await fy(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:me(me({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ie&&this.instantMove&&Ie.instantMove&&Ie!==this.parentPopper){Ie.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ie=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Wr(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Go(this.$_referenceNode),...Go(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(o.left+n.offsetLeft),i=e.y+e.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,Al(Lt,this),Lt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Sl(this.theme)){const o=Nl(n);Al(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ie===this&&(Ie=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=hn(this.theme,"disposeTimeout");e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Wr(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Tl,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Tl,this.popperTriggers,this.popperShowTriggers,t);const e=n=>o=>{o.usedByTooltip||this.hide({event:o,skipAiming:n})};this.$_registerTriggerListeners(this.$_targetNodes,xl,this.triggers,this.hideTriggers,e(!1)),this.$_registerTriggerListeners([this.$_popperNode],xl,this.popperTriggers,this.popperHideTriggers,e(!0))},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(o=>o.addEventListener(e,n,He?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,o,r){let i=n;o!=null&&(i=typeof o=="function"?o(i):o),i.forEach(a=>{const l=e[a];l&&this.$_registerEventListeners(t,l,r)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:r,handler:i}=n;!t||t===r?o.forEach(a=>a.removeEventListener(r,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const o=n.getAttribute(t);o&&(n.removeAttribute(t),n.setAttribute(e,o))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const o=t[n];o==null?e.removeAttribute(n):e.setAttribute(n,o)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$el.getBoundingClientRect();if(jn>=t.left&&jn<=t.right&&zn>=t.top&&zn<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=jn-ue,o=zn-de,r=e.left+e.width/2-ue+(e.top+e.height/2)-de+e.width+e.height,i=ue+n*r,a=de+o*r;return go(ue,de,i,a,e.left,e.top,e.left,e.bottom)||go(ue,de,i,a,e.left,e.top,e.right,e.top)||go(ue,de,i,a,e.right,e.top,e.right,e.bottom)||go(ue,de,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(Au?(document.addEventListener("touchstart",Il,He?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",by,He?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Il,!0),window.addEventListener("click",yy,!0)),window.addEventListener("resize",$y));function Il(t){for(let e=0;e=0;o--){const r=Lt[o];try{const i=r.$_containsGlobalTarget=wy(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&Ol(r,i,t)){if(r.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let a=r.parentPopper;for(;a&&Ol(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,e),a=a.parentPopper}})}catch{}}}function wy(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function Ol(t,e,n){return n.closeAllPopover||n.closePopover&&e||Ey(t,n)&&!e}function Ey(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function $y(t){for(let e=0;e{ue=jn,de=zn,jn=t.clientX,zn=t.clientY},He?{passive:!0}:void 0);function go(t,e,n,o,r,i,a,l){const s=((a-r)*(e-i)-(l-i)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e)),f=((n-t)*(e-i)-(o-e)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e));return s>=0&&s<=1&&f>=0&&f<=1}function Cy(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var o=t.indexOf("rv:");return parseInt(t.substring(o+3,t.indexOf(".",o)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}var Ao;function ki(){ki.init||(ki.init=!0,Ao=Cy()!==-1)}var Sy={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;ki(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Ao&&this.$el.appendChild(e),e.data="about:blank",Ao||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Ao&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function Ty(t,e,n,o,r,i,a,l,s,f){var c=typeof n=="function"?n.options:n;return t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),c._scopeId=o,n}var xy=Sy,Ou=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},Ay=[];Ou._withStripped=!0;var ky=void 0,Ny="data-v-8859cc6c",Ni=Ty({render:Ou,staticRenderFns:Ay},ky,xy,Ny);function Iy(t){t.component("resize-observer",Ni),t.component("ResizeObserver",Ni)}var Oy={version:"1.0.1",install:Iy},_o=null;typeof window<"u"?_o=window.Vue:typeof un<"u"&&(_o=un.Vue),_o&&_o.use(Oy);var Pu={computed:{themeClass(){return _y(this.theme)}}},Py={name:"VPopperContent",components:{ResizeObserver:Ni},mixins:[Pu],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}},Ry=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}],style:t.result?{position:t.result.strategy,transform:"translate3d("+Math.round(t.result.x)+"px,"+Math.round(t.result.y)+"px,0)"}:void 0,attrs:{id:t.popperId,"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0},on:{keyup:function(o){if(!o.type.indexOf("key")&&t._k(o.keyCode,"esc",27,o.key,["Esc","Escape"]))return null;t.autoHide&&t.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(o){t.autoHide&&t.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:t.result?{transformOrigin:t.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[t.mounted?[n("div",[t._t("default")],2),t.handleResize?n("ResizeObserver",{on:{notify:function(o){return t.$emit("resize",o)}}}):t._e()]:t._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])},Ly=[];function yn(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var c=s.render;s.render=function(m,y){return f.call(y),c(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}const Pl={};var Dy=yn(Py,Ry,Ly,!1,My);function My(t){for(let e in Pl)this[e]=Pl[e]}var Ru=(function(){return Dy.exports})(),pa={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},Fy={name:"VPopperWrapper",components:{Popper:Nu(),PopperContent:Ru},mixins:[pa,Pu],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(t=>t!==this.$refs.popperContent.$el)}}},By=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"target-nodes":t.getTargetNodes,"reference-node":function(){return t.$refs.reference},"popper-node":function(){return t.$refs.popperContent.$el}},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,f=o.show,c=o.hide,h=o.handleResize,m=o.onResize,y=o.classes,S=o.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[t.themeClass,{"v-popper--shown":i}]},[t._t("default",null,{shown:i,show:f,hide:c}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":h,classes:y,result:S},on:{hide:c,resize:m}},[t._t("popper",null,{shown:i,hide:c})],2)],2)]}}],null,!0)},"Popper",t.$attrs,!1),t.$listeners))},jy=[];const Rl={};var zy=yn(Fy,By,jy,!1,Hy);function Hy(t){for(let e in Rl)this[e]=Rl[e]}var fa=(function(){return zy.exports})(),Vy=ar(me({},fa),{name:"VDropdown",vPopperTheme:"dropdown"});let Uy,Gy;const Ll={};var Wy=yn(Vy,Uy,Gy,!1,qy);function qy(t){for(let e in Ll)this[e]=Ll[e]}var Ii=(function(){return Wy.exports})(),Xy=ar(me({},fa),{name:"VMenu",vPopperTheme:"menu"});let Ky,Yy;const Dl={};var Zy=yn(Xy,Ky,Yy,!1,Qy);function Qy(t){for(let e in Dl)this[e]=Dl[e]}var Ml=(function(){return Zy.exports})(),Jy=ar(me({},fa),{name:"VTooltip",vPopperTheme:"tooltip"});let t0,e0;const Fl={};var n0=yn(Jy,t0,e0,!1,o0);function o0(t){for(let e in Fl)this[e]=Fl[e]}var Bl=(function(){return n0.exports})(),r0={name:"VTooltipDirective",components:{Popper:Nu(),PopperContent:Ru},mixins:[pa],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return hn(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return hn(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(t){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(e,o)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},i0=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"popper-node":function(){return t.$refs.popperContent.$el}},on:{"apply-show":t.onShow,"apply-hide":t.onHide},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,f=o.hide,c=o.handleResize,h=o.onResize,m=o.classes,y=o.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":t.loading},attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":c,classes:m,result:y},on:{hide:f,resize:h}},[t.html?n("div",{domProps:{innerHTML:t._s(t.finalContent)}}):n("div",{domProps:{textContent:t._s(t.finalContent)}})])]}}])},"Popper",t.$attrs,!1),t.$listeners))},a0=[];const jl={};var s0=yn(r0,i0,a0,!1,l0);function l0(t){for(let e in jl)this[e]=jl[e]}var c0=(function(){return s0.exports})();const Lu="v-popper--has-tooltip";function u0(t,e){let n=t.placement;if(!n&&e)for(const o of ku)e[o]&&(n=o);return n||(n=hn(t.theme||"tooltip","placement")),n}function Du(t,e,n){let o;const r=typeof e;return r==="string"?o={content:e}:e&&r==="object"?o=e:o={content:!1},o.placement=u0(o,n),o.targetNodes=()=>[t],o.referenceNode=()=>t,o}function d0(t,e,n){const o=Du(t,e,n),r=t.$_popper=new G({mixins:[pa],data(){return{options:o}},render(a){const l=this.options,{theme:s,html:f,content:c,loadingContent:h}=l,m=gy(l,["theme","html","content","loadingContent"]);return a(c0,{props:{theme:s,html:f,content:c,loadingContent:h},attrs:m,ref:"popper"})},devtools:{hide:!0}}),i=document.createElement("div");return document.body.appendChild(i),r.$mount(i),t.classList&&t.classList.add(Lu),r}function Mu(t){t.$_popper&&(t.$_popper.$destroy(),delete t.$_popper,delete t.$_popperOldShown),t.classList&&t.classList.remove(Lu)}function zl(t,{value:e,oldValue:n,modifiers:o}){const r=Du(t,e,o);if(!r.content||hn(r.theme||"tooltip","disabled"))Mu(t);else{let i;t.$_popper?(i=t.$_popper,i.options=r):i=d0(t,e,o),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}var p0={bind:zl,update:zl,unbind(t){Mu(t)}};function Hl(t){t.addEventListener("click",Fu),t.addEventListener("touchstart",Bu,He?{passive:!0}:!1)}function Vl(t){t.removeEventListener("click",Fu),t.removeEventListener("touchstart",Bu),t.removeEventListener("touchend",ju),t.removeEventListener("touchcancel",zu)}function Fu(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Bu(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",ju),e.addEventListener("touchcancel",zu)}}function ju(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],o=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function zu(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}var f0={bind(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&Hl(t)},update(t,{value:e,oldValue:n,modifiers:o}){t.$_closePopoverModifiers=o,e!==n&&(typeof e>"u"||e?Hl(t):Vl(t))},unbind(t){Vl(t)}};const Ul=Wt,h0=Ii;function m0(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,xu(Wt,e),t.directive("tooltip",p0),t.directive("close-popper",f0),t.component("v-tooltip",Bl),t.component("VTooltip",Bl),t.component("v-dropdown",Ii),t.component("VDropdown",Ii),t.component("v-menu",Ml),t.component("VMenu",Ml))}const v0={version:"1.0.0-beta.19",install:m0,options:Wt};let yo=null;typeof window<"u"?yo=window.Vue:typeof un<"u"&&(yo=un.Vue),yo&&yo.use(v0);var Hu=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],qo=Hu.join(","),Vu=typeof Element>"u",Ve=Vu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Xo=!Vu&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},Ko=function(t,e){var n;e===void 0&&(e=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),r=o===""||o==="true",i=r||e&&t&&(typeof t.closest=="function"?t.closest("[inert]"):Ko(t.parentNode));return i},g0=function(t){var e,n=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return n===""||n==="true"},Uu=function(t,e,n){if(Ko(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(qo));return e&&Ve.call(t,qo)&&o.unshift(t),o=o.filter(n),o},Yo=function(t,e,n){for(var o=[],r=Array.from(t);r.length;){var i=r.shift();if(!Ko(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,s=Yo(l,!0,n);n.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{var f=Ve.call(i,qo);f&&n.filter(i)&&(e||!t.includes(i))&&o.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),h=!Ko(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&h){var m=Yo(c===!0?i.children:c.children,!0,n);n.flatten?o.push.apply(o,m):o.push({scopeParent:i,candidates:m})}else r.unshift.apply(r,i.children)}}return o},Gu=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Re=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||g0(t))&&!Gu(t)?0:t.tabIndex},_0=function(t,e){var n=Re(t);return n<0&&e&&!Gu(t)?0:n},y0=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},Wu=function(t){return t.tagName==="INPUT"},b0=function(t){return Wu(t)&&t.type==="hidden"},w0=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return e},E0=function(t,e){for(var n=0;nsummary:first-of-type"),s=l?t.parentElement:t;if(Ve.call(s,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof o=="function"){for(var f=t;t;){var c=t.parentElement,h=Xo(t);if(c&&!c.shadowRoot&&o(c)===!0)return Gl(t);t.assignedSlot?t=t.assignedSlot:!c&&h!==t.ownerDocument?t=h.host:t=c}t=f}if(T0(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Gl(t);return!1},A0=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var n=0;n=0)},qu=function(t){var e=[],n=[];return t.forEach(function(o,r){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=_0(a,i),s=i?qu(o.candidates):a;l===0?i?e.push.apply(e,s):e.push(a):n.push({documentOrder:r,tabIndex:l,item:o,isScope:i,content:s})}),n.sort(y0).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(e)},Xu=function(t,e){e=e||{};var n;return e.getShadowRoot?n=Yo([t],e.includeContainer,{filter:Oi.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:k0}):n=Uu(t,e.includeContainer,Oi.bind(null,e)),qu(n)},N0=function(t,e){e=e||{};var n;return e.getShadowRoot?n=Yo([t],e.includeContainer,{filter:Zo.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):n=Uu(t,e.includeContainer,Zo.bind(null,e)),n},Je=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ve.call(t,qo)===!1?!1:Oi(e,t)},I0=Hu.concat("iframe:not([inert]):not([inert] *)").join(","),Xr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ve.call(t,I0)===!1?!1:Zo(e,t)};function Pi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var s=n.next();return a=s.done,s},e:function(s){l=!0,i=s},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw i}}}}function P0(t,e,n){return(e=F0(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function R0(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function L0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ql(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Xl(t){for(var e=1;e0?t[t.length-1]:null},activateTrap:function(t,e){var n=Kt.getActiveTrap(t);e!==n&&Kt.pauseTrap(t);var o=t.indexOf(e);o===-1||t.splice(o,1),t.push(e)},deactivateTrap:function(t,e){var n=t.indexOf(e);n!==-1&&t.splice(n,1),Kt.unpauseTrap(t)},pauseTrap:function(t){var e=Kt.getActiveTrap(t);e?._setPausedState(!0)},unpauseTrap:function(t){var e=Kt.getActiveTrap(t);e&&!e._isManuallyPaused()&&e._setPausedState(!1)}},B0=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},j0=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Hn=function(t){return t?.key==="Tab"||t?.keyCode===9},z0=function(t){return Hn(t)&&!t.shiftKey},H0=function(t){return Hn(t)&&t.shiftKey},Kl=function(t){return setTimeout(t,0)},Pn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:{},v=p.hasFallback,E=v===void 0?!1:v,$=p.params,k=$===void 0?[]:$,C=r[d];if(typeof C=="function"&&(C=C.apply(void 0,D0(k))),C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var A=C;if(typeof C=="string"){try{A=n.querySelector(C)}catch(I){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(I.message,'"'))}if(!A&&!E)throw new Error("`".concat(d,"` as selector refers to no known node"))}return A},c=function(){var d=f("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!Xr(d,r.tabbableOptions))if(s(n.activeElement)>=0)d=n.activeElement;else{var p=i.tabbableGroups[0],v=p&&p.firstTabbableNode;d=v||f("fallbackFocus")}else d===null&&(d=f("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},h=function(){if(i.containerGroups=i.containers.map(function(d){var p=Xu(d,r.tabbableOptions),v=N0(d,r.tabbableOptions),E=p.length>0?p[0]:void 0,$=p.length>0?p[p.length-1]:void 0,k=v.find(function(I){return Je(I)}),C=v.slice().reverse().find(function(I){return Je(I)}),A=!!p.find(function(I){return Re(I)>0});return{container:d,tabbableNodes:p,focusableNodes:v,posTabIndexesFound:A,firstTabbableNode:E,lastTabbableNode:$,firstDomTabbableNode:k,lastDomTabbableNode:C,nextTabbableNode:function(I){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,B=p.indexOf(I);return B<0?N?v.slice(v.indexOf(I)+1).find(function(j){return Je(j)}):v.slice(0,v.indexOf(I)).reverse().find(function(j){return Je(j)}):p[B+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function(d){var p=d.activeElement;if(p)return p.shadowRoot&&p.shadowRoot.activeElement!==null?m(p.shadowRoot):p},y=function(d){if(d!==!1&&d!==m(document)){if(!d||!d.focus){y(c());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,B0(d)&&d.select()}},S=function(d){var p=f("setReturnFocus",{params:[d]});return p||(p===!1?!1:d)},b=function(d){var p=d.target,v=d.event,E=d.isBackward,$=E===void 0?!1:E;p=p||bo(v),h();var k=null;if(i.tabbableGroups.length>0){var C=s(p,v),A=C>=0?i.containerGroups[C]:void 0;if(C<0)$?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if($){var I=i.tabbableGroups.findIndex(function(kt){var Et=kt.firstTabbableNode;return p===Et});if(I<0&&(A.container===p||Xr(p,r.tabbableOptions)&&!Je(p,r.tabbableOptions)&&!A.nextTabbableNode(p,!1))&&(I=C),I>=0){var N=I===0?i.tabbableGroups.length-1:I-1,B=i.tabbableGroups[N];k=Re(p)>=0?B.lastTabbableNode:B.lastDomTabbableNode}else Hn(v)||(k=A.nextTabbableNode(p,!1))}else{var j=i.tabbableGroups.findIndex(function(kt){var Et=kt.lastTabbableNode;return p===Et});if(j<0&&(A.container===p||Xr(p,r.tabbableOptions)&&!Je(p,r.tabbableOptions)&&!A.nextTabbableNode(p))&&(j=C),j>=0){var dt=j===i.tabbableGroups.length-1?0:j+1,ft=i.tabbableGroups[dt];k=Re(p)>=0?ft.firstTabbableNode:ft.firstDomTabbableNode}else Hn(v)||(k=A.nextTabbableNode(p))}}else k=f("fallbackFocus");return k},T=function(d){var p=bo(d);if(!(s(p,d)>=0)){if(Pn(r.clickOutsideDeactivates,d)){a.deactivate({returnFocus:r.returnFocusOnDeactivate});return}Pn(r.allowOutsideClick,d)||d.preventDefault()}},P=function(d){var p=bo(d),v=s(p,d)>=0;if(v||p instanceof Document)v&&(i.mostRecentlyFocusedNode=p);else{d.stopImmediatePropagation();var E,$=!0;if(i.mostRecentlyFocusedNode)if(Re(i.mostRecentlyFocusedNode)>0){var k=s(i.mostRecentlyFocusedNode),C=i.containerGroups[k].tabbableNodes;if(C.length>0){var A=C.findIndex(function(I){return I===i.mostRecentlyFocusedNode});A>=0&&(r.isKeyForward(i.recentNavEvent)?A+1=0&&(E=C[A-1],$=!1))}}else i.containerGroups.some(function(I){return I.tabbableNodes.some(function(N){return Re(N)>0})})||($=!1);else $=!1;$&&(E=b({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(E||i.mostRecentlyFocusedNode||c())}i.recentNavEvent=void 0},x=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var v=b({event:d,isBackward:p});v&&(Hn(d)&&d.preventDefault(),y(v))},L=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&x(d,r.isKeyBackward(d))},R=function(d){j0(d)&&Pn(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),a.deactivate())},W=function(d){var p=bo(d);s(p,d)>=0||Pn(r.clickOutsideDeactivates,d)||Pn(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},V=function(){if(i.active)return Kt.activateTrap(o,a),i.delayInitialFocusTimer=r.delayInitialFocus?Kl(function(){y(c())}):y(c()),n.addEventListener("focusin",P,!0),n.addEventListener("mousedown",T,{capture:!0,passive:!1}),n.addEventListener("touchstart",T,{capture:!0,passive:!1}),n.addEventListener("click",W,{capture:!0,passive:!1}),n.addEventListener("keydown",L,{capture:!0,passive:!1}),n.addEventListener("keydown",R),a},U=function(d){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var p=new Set,v=new Set,E=Wl(d),$;try{for(E.s();!($=E.n()).done;){var k=$.value;p.add(k);for(var C=typeof ShadowRoot<"u"&&k.getRootNode()instanceof ShadowRoot,A=k;A;){p.add(A);var I=A.parentElement,N=[];I?N=I.children:!I&&C&&(N=A.getRootNode().children,I=A.getRootNode().host,C=typeof ShadowRoot<"u"&&I.getRootNode()instanceof ShadowRoot);var B=Wl(N),j;try{for(B.s();!(j=B.n()).done;){var dt=j.value;v.add(dt)}}catch(ft){B.e(ft)}finally{B.f()}A=I}}}catch(ft){E.e(ft)}finally{E.f()}p.forEach(function(ft){v.delete(ft)}),i.adjacentElements=v},q=function(){if(i.active)return n.removeEventListener("focusin",P,!0),n.removeEventListener("mousedown",T,!0),n.removeEventListener("touchstart",T,!0),n.removeEventListener("click",W,!0),n.removeEventListener("keydown",L,!0),n.removeEventListener("keydown",R),a},at=function(d){var p=d.some(function(v){var E=Array.from(v.removedNodes);return E.some(function($){return $===i.mostRecentlyFocusedNode})});p&&y(c())},st=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(at):void 0,ut=function(){st&&(st.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){st.observe(d,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var p=l(d,"onActivate"),v=l(d,"onPostActivate"),E=l(d,"checkCanFocusTrap"),$=Kt.getActiveTrap(o),k=!1;if($&&!$.paused){var C;(C=$._setSubtreeIsolation)===null||C===void 0||C.call($,!1),k=!0}try{E||h(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=m(n),p?.();var A=function(){E&&h(),V(),ut(),r.isolateSubtrees&&a._setSubtreeIsolation(!0),v?.()};if(E)return E(i.containers.concat()).then(A,A),this;A()}catch(N){if($===Kt.getActiveTrap(o)&&k){var I;(I=$._setSubtreeIsolation)===null||I===void 0||I.call($,!0)}throw N}return this},deactivate:function(d){if(!i.active)return this;var p=Xl({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),q(),i.active=!1,i.paused=!1,ut(),Kt.deactivateTrap(o,a);var v=l(p,"onDeactivate"),E=l(p,"onPostDeactivate"),$=l(p,"checkCanReturnFocus"),k=l(p,"returnFocus","returnFocusOnDeactivate");v?.();var C=function(){Kl(function(){k&&y(S(i.nodeFocusedBeforeActivation)),E?.()})};return k&&$?($(S(i.nodeFocusedBeforeActivation)).then(C,C),this):(C(),this)},pause:function(d){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,d)):this},unpause:function(d){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,d)):this},updateContainerElements:function(d){var p=[].concat(d).filter(Boolean);return i.containers=p.map(function(v){return typeof v=="string"?n.querySelector(v):v}),r.isolateSubtrees&&U(i.containers),i.active&&(h(),r.isolateSubtrees&&!i.paused&&a._setSubtreeIsolation(!0)),ut(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(d,p){if(i.paused===d)return this;if(i.paused=d,d){var v=l(p,"onPause"),E=l(p,"onPostPause");v?.(),q(),ut(),a._setSubtreeIsolation(!1),E?.()}else{var $=l(p,"onUnpause"),k=l(p,"onPostUnpause");$?.(),a._setSubtreeIsolation(!0),h(),V(),ut(),k?.()}return this}},_setSubtreeIsolation:{value:function(d){r.isolateSubtrees&&i.adjacentElements.forEach(function(p){var v;d?r.isolateSubtrees==="aria-hidden"?((p.ariaHidden==="true"||((v=p.getAttribute("aria-hidden"))===null||v===void 0?void 0:v.toLowerCase())==="true")&&i.alreadySilent.add(p),p.setAttribute("aria-hidden","true")):((p.inert||p.hasAttribute("inert"))&&i.alreadySilent.add(p),p.setAttribute("inert",!0)):i.alreadySilent.has(p)||(r.isolateSubtrees==="aria-hidden"?p.removeAttribute("aria-hidden"):p.removeAttribute("inert"))})}}}),a.updateContainerElements(t),a};const G0={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$scopedSlots.default?.({attrs:this.triggerAttrs})}},W0=null,q0=null;var X0=Q(G0,W0,q0,!1,null,null);const K0=X0.exports,Y0="_ncPopover_k--Q7",Z0={"material-design-icon":"_material-design-icon_WzKjA",ncPopover:Y0},Yu="nc-popover-8";Ul.themes[Yu]=structuredClone(Ul.themes.dropdown);const Q0={name:"NcPopover",components:{Dropdown:h0,NcPopoverTriggerProvider:K0},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:t=>["menu","listbox","tree","grid","dialog","true"].includes(t)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},noFocusTrap:{type:Boolean,default:!1},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},noAutoReturnFocus:{type:Boolean,default:!1}},emits:["after-show","after-hide","update:shown"],setup(){return{THEME:Yu}},data(){return{internalShown:this.shown}},watch:{shown(t){this.internalShown=t,this.internalShown&&this.checkTriggerA11y()},internalShown(t){this.$emit("update:shown",t)}},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){if(window.OC?.debug){const t=this.getPopoverTriggerButtonElement();(!t||!t.hasAttributes("aria-expanded","aria-haspopup"))&&G.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example.")}},removeFloatingVueAriaDescribedBy(){const t=this.getPopoverTriggerElement().querySelectorAll("[data-popper-shown]");for(const e of t)e.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerElement(){return this.$refs.popover.$refs.reference},getPopoverTriggerButtonElement(){const t=this.getPopoverTriggerElement();return t&&Xu(t)[0]},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap||!this.focusTrap)return;const t=this.getPopoverContentElement();t.tabIndex=-1,t&&(this.$focusTrap=U0(t,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus||!this.noAutoReturnFocus&&this.getPopoverTriggerButtonElement(),trapStack:$i(),fallBackFocus:t}),this.$focusTrap.activate())},clearFocusTrap(t={}){try{this.$focusTrap?.deactivate(t),this.$focusTrap=null}catch(e){aa.warn("Could not clear focus trap",{error:e})}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(t){t.type==="keydown"&&t.key==="Escape"&&t.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-show")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-hide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var J0=function(){var t=this,e=t._self._c;return e("Dropdown",t._g(t._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":[t.$style.ncPopover,t.popoverBaseClass],theme:t.THEME,shown:t.internalShown},on:{"update:shown":function(n){t.internalShown=n},"apply-show":t.afterShow,"apply-hide":t.afterHide},scopedSlots:t._u([{key:"popper",fn:function(n){return[t._t("default",null,null,n)]}}],null,!0)},"Dropdown",t.$attrs,!1),t.$listeners),[e("NcPopoverTriggerProvider",{attrs:{shown:t.internalShown,"popup-role":t.popupRole},scopedSlots:t._u([{key:"default",fn:function(n){return[t._t("trigger",null,null,n)]}}],null,!0)})],1)},tb=[];const Yl={$style:Z0};function eb(t){for(var e in Yl)this[e]=Yl[e]}var nb=Q(Q0,J0,tb,!1,eb,null);const ob=nb.exports,rb={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ib=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ab=[],sb=Q(rb,ib,ab,!1,null,null);const lb=sb.exports;ia(Nm);const cb=".focusable",ub={name:"NcActions",components:{NcButton:sa,NcPopover:ob},provide(){return{"NcActions:isSemanticMenu":St(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(t){return["dialog","menu","expanded","tooltip"].includes(t)}},primary:{type:Boolean,default:!1},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:ra("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("#content-vue")??document.querySelector("body")},container:{type:[Boolean,String,Object,Element],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(){const t=`menu-${Mn()}`,e=`trigger-${t}`;return{randomId:t,triggerRandomId:e}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return(this.type??this.variant)||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId,id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId}}}[this.actionsMenuSemanticType]}},watch:{open(t){t!==this.opened&&(this.opened=t)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){D_(()=>this.opened,{disabled:()=>this.config.withFocusTrap})},methods:{getActionName(t){return t?.componentOptions?.Ctor?.extendOptions?.name??t?.componentOptions?.tag},isValidSingleAction(t){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(t))},isIconUrl(t){try{return!!new URL(t,t.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(t=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:t}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,t&&this.$refs.triggerButton?.$el.focus())},onClosed(){this.$emit("closed")},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover(),this.$emit("opened")})},resizePopover(){const t=this.$refs.menu.closest(".v-popper__inner"),e=this.$refs.menu.clientHeight,n=this.getMaxMenuHeight();if(e>n){let o=0,r=0;for(const i of this.$refs.menuList.children){if(o+i.clientHeight/2>n){t.style.height=`${o-r/2}px`;break}r=i.clientHeight,o+=r}}else t.style.height="fit-content"},getMaxMenuHeight(){const{top:t,bottom:e}=this.$refs.triggerButton?.$el.getBoundingClientRect()??{top:0,bottom:0},{top:n,bottom:o}=this.boundariesElement?.getBoundingClientRect()??{top:0,bottom:window.innerHeight};return Math.max(Math.min(t-84,t-n),Math.min(window.innerHeight-e-34,o-e))},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(cb)},onKeydown(t){if(t.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}t.preventDefault();const e=this.getFocusableMenuItemElements(),n=[...e].indexOf(document.activeElement);if(n===-1)return;const o=t.shiftKey?n-1:n+1;(o<0||o===e.length)&&this.closeMenu(!0),this.focusIndex=o,this.focusAction();return}this.config.withArrowNavigation&&(t.key==="ArrowUp"&&this.focusPreviousAction(t),t.key==="ArrowDown"&&this.focusNextAction(t),t.key==="PageUp"&&this.focusFirstAction(t),t.key==="PageDown"&&this.focusLastAction(t)),this.handleEscapePressed(t)},onTriggerKeydown(t){t.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(t){t.key==="Escape"&&(this.closeMenu(),t.preventDefault())},removeCurrentActive(){const t=this.$refs.menu.querySelector("li.active");t&&t.classList.remove("active")},focusAction(){const t=this.getFocusableMenuItemElements()[this.focusIndex];if(t){this.removeCurrentActive();const e=t.closest("li.action");t.focus(),e&&e.classList.add("active")}},focusPreviousAction(t){this.opened&&(this.focusIndex===0?this.focusLastAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(t){if(this.opened){const e=this.getFocusableMenuItemElements().length-1;this.focusIndex===e?this.focusFirstAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(t){if(this.opened){this.preventIfEvent(t);const e=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=e>-1?e:0,this.focusAction()}},focusLastAction(t){this.opened&&(this.preventIfEvent(t),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(t){t&&(t.preventDefault(),t.stopPropagation())},onFocus(t){this.$emit("focus",t)},onBlur(t){this.$emit("blur",t),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(t){this.$emit("click",t)}},render(t){const e=(this.$slots.default||[]).filter(l=>this.getActionName(l));if(e.length===0)return;let n=e.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(G.util.warn("Specifying forceMenu will ignore any inline actions rendering."),n=[]);const o=n.slice(0,this.inline),r=e.filter(l=>!o.includes(l));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const l=["NcActionInput","NcActionTextEditable"],s=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],f=["NcActionLink","NcActionRouter"],c=r.some(y=>l.includes(this.getActionName(y))),h=r.some(y=>s.includes(this.getActionName(y))),m=r.some(y=>f.includes(this.getActionName(y)));c?this.actionsMenuSemanticType="dialog":h?this.actionsMenuSemanticType="menu":m?this.actionsMenuSemanticType="expanded":e.filter(y=>this.getActionName(y).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const i=l=>{const s=l?.componentOptions?.propsData?.icon,f=l?.data?.scopedSlots?.icon()?.[0]??(this.isIconUrl(s)?t("img",{class:"action-item__menutoggle__icon",attrs:{src:s,alt:""}}):t("span",{class:["icon",s]})),c=l?.data?.attrs||{},h=l?.componentOptions?.listeners?.click,m=l?.componentOptions?.children?.[0]?.text?.trim?.(),y=l?.componentOptions?.propsData?.ariaLabel||m,S=this.forceName?m:"";let b=l?.componentOptions?.propsData?.title;this.forceName||b||(b=m);const T={...l?.componentOptions?.propsData??{}},P=["submit","reset"].includes(T.type)?T.modelValue:"button";return delete T.modelValue,delete T.type,t("NcButton",{class:["action-item action-item--single",l?.data?.staticClass,l?.data?.class],attrs:{...c,"aria-label":y,title:b},ref:l?.data?.ref,props:{...T,disabled:this.disabled||l?.componentOptions?.propsData?.disabled,pressed:l?.componentOptions?.propsData?.modelValue,size:this.size,type:P,variant:(this.type??this.variant)||(S?"secondary":"tertiary")},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":l?.componentOptions?.listeners?.["update:modelValue"]??(()=>{}),...!!h&&{click:x=>{h&&h(x)}}}},[t("template",{slot:"icon"},[f]),S])},a=l=>{const s=this.$slots.icon?.[0]||(this.defaultIcon?t("span",{class:["icon",this.defaultIcon]}):t(lb,{props:{size:20}}));return t("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,noAutoReturnFocus:!this.withFocusTrap,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpened,hide:this.closeMenu,"after-hide":this.onClosed}},[t("NcButton",{class:"action-item__menutoggle",props:{size:this.size,variant:this.triggerButtonVariant,disabled:this.disabled},slot:"trigger",ref:"triggerButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[t("template",{slot:"icon"},[s]),this.menuName]),t("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown},ref:"menu"},[t("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[l])])])};return e.length===1&&n.length===1&&!this.forceMenu?i(e[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),o.length>0&&this.inline>0?t("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...o.map(i),r.length>0?t("div",{class:["action-item",{"action-item--open":this.opened}]},[a(r)]):null]):t("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[a(e)]))}},db=null,pb=null;var fb=Q(ub,db,pb,!1,null,"38a26e61");const hb=fb.exports;var mb="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",vb="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";const gb={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}};function _b(t,e){let n=t.$parent;for(;n;){if(n.$options.name===e)return n;n=n.$parent}}const yb={mixins:[gb],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(t){if(this.$emit("click",t),this.closeAfterClick){const e=_b(this,"NcActions");e&&e.closeMenu&&e.closeMenu(!1)}}}},bb={name:"NcActionButton",components:{NcIconSvgWrapper:vu},mixins:[yb],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:mb,mdiChevronRight:vb}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var wb=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({staticClass:"action-button button-vue",class:{"action-button--active":t.isChecked,focusable:t.isFocusable},attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e("span",{staticClass:"action-button__longtext-wrapper"},[t.name?e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]):t._e(),t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(" "+t._s(t.text)+" ")]),t.description?e("span",{staticClass:"action-button__description",domProps:{textContent:t._s(t.description)}}):t._e()]),t.isMenu?e("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:t.mdiChevronRight}}):t.isChecked?e("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:t.mdiCheck}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},Eb=[],$b=Q(bb,wb,Eb,!1,null,"ab2ff78b");const Cb=$b.exports,Sb={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Tb=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},xb=[],Ab=Ge(Sb,Tb,xb,!1,null);const kb=Ab.exports,Nb={name:"ShieldCheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ib=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon shield-check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Ob=[],Pb=Ge(Nb,Ib,Ob,!1,null);const Rb=Pb.exports,Lb={__name:"AddPolicyButton",props:{policies:null},emits:["add-policy"],setup(t){const e=t,n=["account","sharing"],o=St(()=>n.filter(r=>!(r in e.policies)));return{__sfc:!0,props:e,allPasswordContexts:n,unusedPasswordContexts:o,t:Gt,PolicyHeadings:au,NcActions:hb,NcActionButton:Cb,IconPlus:kb,IconShieldCheck:Rb}}},Db="_container_10xyb_2",Mb={container:Db};var Fb=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{class:t.$style.container},[e(n.NcActions,{attrs:{"menu-name":n.t("password_policy","Add policy set"),"force-menu":""},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconPlus,{attrs:{size:20}})]},proxy:!0}])},t._l(n.unusedPasswordContexts,function(o){return e(n.NcActionButton,{key:o,attrs:{"close-after-click":""},on:{click:function(r){return t.$emit("add-policy",o)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconShieldCheck,{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(n.PolicyHeadings[o])+" ")])}),1)],1)},Bb=[];const Zl={$style:Mb};function jb(t){for(var e in Zl)this[e]=Zl[e]}var zb=Ge(Lb,Fb,Bb,!1,jb);const Hb=zb.exports,Vb={__name:"AdminSettings",setup(t){const e=ti(jh().password_policy.policies),n=St(()=>Object.keys(e.value));function o(a,l){console.debug(`Update password policy ${a}`,l);for(const[s,f]of Object.entries(l))if(f!==e.value[a]?.[s]){const c=typeof f=="boolean"?f?"1":"0":String(f);window.OCP.AppConfig.setValue("password_policy",a==="account"?s:`${s}_${a}`,c)}G.set(e.value,a,l)}function r(a){if(a in e.value){console.warn(`Password context "${a}" already registered`);return}const l=[...Object.keys(e.value),a];window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),G.set(e.value,a,{...Cm})}function i(a){console.debug(`Remove password policy ${a}`);const l=Object.keys(e.value).filter(s=>s!==a);window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),G.delete(e.value,a)}return{__sfc:!0,policies:e,configuredPolicies:n,onUpdatePolicy:o,onAddPolicy:r,onRemovePolicy:i,t:Gt,PolicyHeadings:au,NcSettingsSection:Hm,PasswordPolicy:t_,ComplianceConfig:R_,AddPolicyButton:Hb}}},Ub="_policyWrapper_18ut1_2",Gb={policyWrapper:Ub};var Wb=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcSettingsSection,{attrs:{name:n.t("password_policy","Password policy")}},[e(n.ComplianceConfig),e("div",{class:t.$style.policyWrapper},[t._l(n.configuredPolicies,function(o){return e(n.PasswordPolicy,{key:o,attrs:{"can-remove":o!=="account",heading:n.configuredPolicies.length===1?n.t("password_policy","General password policies"):n.PolicyHeadings[o],"model-value":n.policies[o]},on:{"update:modelValue":function(r){return n.onUpdatePolicy(o,r)},remove:function(r){return n.onRemovePolicy(o)}}})}),n.configuredPolicies.lengtht(Yb)}); +`,jv={__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(t){const e=t;Ui((r,i)=>({"2d1b8583":i.color,"78386a55":i.cx}));const n=Et(()=>e.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),o=Et(()=>e.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return{__sfc:!0,svg:Hv,props:e,color:n,cx:o,NcIconSvgWrapper:xu}}},Vv="_iconToggleSwitch_NggOU",Uv={"material-design-icon":"_material-design-icon_Tdewt",iconToggleSwitch:Vv};var Gv=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcIconSvgWrapper,{class:t.$style.iconToggleSwitch,attrs:{svg:n.svg,size:t.size,inline:t.inline}})},Wv=[];const wl={$style:Uv};function qv(t){for(var e in wl)this[e]=wl[e]}var Xv=Q(jv,Gv,Wv,!1,qv,null);const Kv=Xv.exports,Yv={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(t){return["auto","light","dark"].includes(t)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const t=["#777","#CCC"];return this.appearance==="light"?t:this.appearance==="dark"?t.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var Zv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":t.name,role:"img"}},[e("svg",{attrs:{width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:t.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),e("path",{attrs:{fill:t.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[t.name?e("title",[t._v(t._s(t.name))]):t._e()])])])},Jv=[],Qv=Q(Yv,Zv,Jv,!1,null,"94ff8098");const tg=Qv.exports;function Au(t,e,n=!1){const o=jd().proxy;return n&&o.$props[t]===void 0&&o.$props.modelValue===void 0&&q.util.warn(`Missing required prop: "modelValue" or old "${t}"`),Et({get(){return o.$props[t]!==void 0?o.$props[t]:o.$props.modelValue},set(r){o.$emit("update:modelValue",r),o.$emit("update:model-value",r),o.$emit(e,r)}})}function Dn(t){return Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,5)}const eg=Symbol.for("insideRadioGroup");function ng(){return Sc(eg,void 0)}const og={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ig=[],ag=Q(og,rg,ig,!1,null,null);const sg=ag.exports,lg={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var cg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ug=[],dg=Q(lg,cg,ug,!1,null,null);const pg=dg.exports,fg={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var hg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},mg=[],vg=Q(fg,hg,mg,!1,null,null);const gg=vg.exports,_g={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},bg=[],wg=Q(_g,yg,bg,!1,null,null);const $g=wg.exports,Eg={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Cg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Sg=[],xg=Q(Eg,Cg,Sg,!1,null,null);const Ag=xg.exports,nn="checkbox",Pe="radio",Yt="switch",Fn="button",Tg={name:"NcCheckboxContent",components:{NcLoadingIcon:tg,NcIconToggleSwitch:Kv},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:t=>[nn,Pe,Yt,Fn].includes(t)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},iconSize:{type:Number,default:24},labelId:{type:String,required:!0},descriptionId:{type:String,required:!0}},computed:{isButtonType(){return this.type===Fn},isSwitchType(){return this.type===Yt},checkboxRadioIconElement(){return this.type===Pe?this.isChecked?Ag:$g:this.indeterminate?gg:this.isChecked?pg:sg}}};var kg=function(){var t=this,e=t._self._c;return e("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+t.type]:!0,"checkbox-content--button-variant":t.buttonVariant,"checkbox-content--has-text":!!t.$slots.default}},[e("span",{staticClass:"checkbox-content__icon",class:{"checkbox-content__icon--checked":t.isChecked,[t.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[t._t("icon",function(){return[t.loading?e("NcLoadingIcon"):t.isSwitchType?e("NcIconToggleSwitch",{attrs:{checked:t.isChecked,size:t.iconSize,inline:""}}):t.buttonVariant?t._e():e(t.checkboxRadioIconElement,{tag:"component",attrs:{size:t.iconSize}})]},{checked:t.isChecked,loading:t.loading})],2),t.$slots.default||t.$slots.description?e("span",{staticClass:"checkbox-content__wrapper"},[t.$slots.default?e("span",{staticClass:"checkbox-content__text",class:t.textClass,attrs:{id:t.labelId}},[t._t("default")],2):t._e(),!t.isButtonType&&t.$slots.description?e("span",{staticClass:"checkbox-content__description",attrs:{id:t.descriptionId}},[t._t("description")],2):t._e()]):t._e()])},Ng=[],Og=Q(Tg,kg,Ng,!1,null,"dc2e9d6a");const Ig=Og.exports;ca();const fa={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:Ig},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+Dn(),validator:t=>t.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:t=>[nn,Pe,Yt,Fn].includes(t)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:t=>["no","vertical","horizontal"].includes(t)},checked:{type:[Boolean,Array,String],default:void 0},modelValue:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null},description:{type:String,default:null}},emits:["update:checked","update:modelValue","update:model-value"],setup(t){const e=ng(),n=Et(()=>e?.value?Pe:t.type);Op(()=>e?.value.register(!1));const o=Au("checked","update:checked"),r=Et({get(){return e?.value?e.value.modelValue:o.value},set(i){e?.value?e.value.onUpdate(i):o.value=i}});return{internalType:n,internalModelValue:r,labelId:Dn(),descriptionId:Dn()}},computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>t.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>!t.startsWith("data-")))},isButtonType(){return this.internalType===Fn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},iconSize(){return this.internalType===Yt?36:24},cssIconSize(){return this.iconSize+"px"},cssIconHeight(){return this.internalType===Yt?"16px":this.cssIconSize},inputType(){return[nn,Pe,Fn].includes(this.internalType)?this.internalType:nn},inputRole(){return this.internalType===Yt?"switch":void 0},isChecked(){return this.value!==null?Array.isArray(this.internalModelValue)?[...this.internalModelValue].indexOf(this.value)>-1:this.internalModelValue===this.value:this.internalModelValue===!0},hasIndeterminate(){return[nn,Pe].includes(this.inputType)}},mounted(){if(this.name&&this.internalType===nn&&!Array.isArray(this.internalModelValue))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.internalType===Yt)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.internalModelValue!="boolean"&&this.internalType===Yt)throw new Error("Switches can only be used with boolean as modelValue prop.")},methods:{t:la,n:jm,onToggle(t){if(!(this.disabled||t.target.tagName.toLowerCase()==="a")){if(this.internalType===Pe){this.internalModelValue=this.value;return}if(this.internalType===Yt){this.internalModelValue=!this.isChecked;return}if(typeof this.internalModelValue=="boolean"){this.internalModelValue=!this.internalModelValue;return}this.isChecked?this.internalModelValue=this.internalModelValue.filter(e=>e!==this.value):this.internalModelValue=[...this.internalModelValue,this.value]}}}},$l=()=>{Ui((t,e)=>({"739f019a":t.cssIconSize,"16409f00":t.cssIconHeight}))},El=fa.setup;fa.setup=El?(t,e)=>($l(),El(t,e)):$l;const Pg=fa;var Rg=function(){var t=this,e=t._self._c;return e(t.computedWrapperElement,t._g(t._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+t.internalType]:t.internalType,"checkbox-radio-switch--checked":t.isChecked,"checkbox-radio-switch--disabled":t.disabled,"checkbox-radio-switch--indeterminate":t.hasIndeterminate?t.indeterminate:!1,"checkbox-radio-switch--button-variant":t.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":t.buttonVariant&&t.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":t.buttonVariant&&t.buttonVariantGrouped==="horizontal","button-vue":t.isButtonType},attrs:{id:t.wrapperId,"aria-label":t.isButtonType&&t.ariaLabel?t.ariaLabel:void 0,type:t.isButtonType?"button":null}},"component",t.isButtonType?t.$attrs:t.dataAttrs,!1),t.isButtonType?t.listeners:null),[t.isButtonType?t._e():e("input",t._g(t._b({staticClass:"checkbox-radio-switch__input",attrs:{id:t.id,"aria-labelledby":!t.isButtonType&&!t.ariaLabel?t.labelId:null,"aria-describedby":!t.isButtonType&&(t.description||t.$slots.description)?t.descriptionId:t.nonDataAttrs["aria-describedby"],"aria-label":t.ariaLabel||void 0,disabled:t.disabled,type:t.inputType,role:t.inputRole,required:t.required,name:t.name},domProps:{value:t.value,checked:t.isChecked,indeterminate:t.hasIndeterminate?t.indeterminate:null}},"input",t.nonDataAttrs,!1),t.listeners)),e("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:t.isButtonType?void 0:`${t.id}-label`,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:t.internalType,indeterminate:t.hasIndeterminate?t.indeterminate:!1,"button-variant":t.buttonVariant,"is-checked":t.isChecked,loading:t.loading,"label-id":t.labelId,"description-id":t.descriptionId,"icon-size":t.iconSize},nativeOn:{click:function(n){return t.onToggle.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0},t.$slots.description||t.description?{key:"description",fn:function(){return[t._t("description",function(){return[t._v(" "+t._s(t.description)+" ")]})]},proxy:!0}:null],null,!0)},[t._t("default")],2)],1)},Lg=[],Dg=Q(Pg,Rg,Lg,!1,null,"8cf5299e");const Fg=Dg.exports,Mg={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},zg=[],Hg=Q(Mg,Bg,zg,!1,null,null);const jg=Hg.exports,Vg={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ug=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Gg=[],Wg=Q(Vg,Ug,Gg,!1,null,null);const qg=Wg.exports,Xg={name:"NcInputField",components:{NcButton:da,AlertCircle:jg,Check:qg},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:t=>["text","password","email","tel","url","search","number"].includes(t)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){const t=Au("value","update:value",!0);return{isLegacy32:Go,model:t}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+Dn()},hasTrailingIcon(){return this.success},computedPlaceholder(){if(this.placeholder)return this.placeholder;if(this.label)return Go?this.label:""},isValidLabel(){const t=this.label||this.labelOutside;return t||ua.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),t},ariaDescribedby(){const t=[];return this.helperText.length>0&&t.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&t.push(this.$attrs["aria-describedby"]),t.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(t){const e=this.type==="number"&&typeof this.model=="number"?parseFloat(t.target.value,10):t.target.value;this.model=e},handleTrailingButtonClick(t){this.$emit("trailing-button-click",t)}}};var Kg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-field",class:{"input-field--disabled":t.disabled,"input-field--error":t.error,"input-field--label-outside":t.labelOutside||!t.isValidLabel,"input-field--leading-icon":!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,"input-field--success":t.success,"input-field--trailing-icon":t.showTrailingButton||t.hasTrailingIcon,"input-field--pill":t.pill,"input-field--legacy":t.isLegacy32}},[e("div",{staticClass:"input-field__main-wrapper"},[e("input",t._g(t._b({ref:"input",staticClass:"input-field__input",class:[t.inputClass,{"input-field__input--success":t.success,"input-field__input--error":t.error}],attrs:{id:t.computedId,type:t.type,disabled:t.disabled,placeholder:t.computedPlaceholder,"aria-describedby":t.ariaDescribedby,"aria-live":"polite"},domProps:{value:t.model?.toString()},on:{input:t.handleInput}},"input",t.$attrs,!1),t.$listeners)),!t.labelOutside&&t.isValidLabel?e("label",{staticClass:"input-field__label",attrs:{for:t.computedId}},[t._v(" "+t._s(t.label)+" ")]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,expression:"!!$scopedSlots.icon || !!$scopedSlots.default || !!$slots.default"}],staticClass:"input-field__icon input-field__icon--leading"},[t._t("icon",function(){return[t._t("default")]})],2),t.showTrailingButton?e("NcButton",{staticClass:"input-field__trailing-button",attrs:{"aria-label":t.trailingButtonLabel,disabled:t.disabled,variant:"tertiary-no-background"},on:{click:t.handleTrailingButtonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("trailing-button-icon")]},proxy:!0}],null,!0)}):t.success||t.error?e("div",{staticClass:"input-field__icon input-field__icon--trailing"},[t.success?e("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):t.error?e("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):t._e()],1):t._e()],1),t.helperText.length>0?e("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":t.error,"input-field__helper-text-message--success":t.success},attrs:{id:`${t.inputName}-helper-text`}},[t.success?e("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t.error?e("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t._e(),t._v(" "+t._s(t.helperText)+" ")],1):t._e()])},Yg=[],Zg=Q(Xg,Kg,Yg,!1,null,"17c3f609");const Tu=Zg.exports;function Ge(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var u=s.render;s.render=function(m,y){return f.call(y),u(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}const Jg={name:"TrashCanIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Qg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon trash-can-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},t_=[],e_=Ge(Jg,Qg,t_,!1,null);const n_=e_.exports,o_={__name:"PasswordPolicy",props:{modelValue:null,heading:null,canRemove:{type:Boolean}},emits:["update:modelValue","remove"],setup(t,{emit:e}){const n=t,o=Et({get:()=>n.modelValue.minLength,set:f=>e("update:modelValue",{...n.modelValue,minLength:Number.isNaN(f)?0:f})}),r=Et({get:()=>n.modelValue.enforceHaveIBeenPwned,set:f=>e("update:modelValue",{...n.modelValue,enforceHaveIBeenPwned:f})}),i=Et({get:()=>n.modelValue.enforceNonCommonPassword,set:f=>e("update:modelValue",{...n.modelValue,enforceNonCommonPassword:f})}),a=Et({get:()=>n.modelValue.enforceNumericCharacters,set:f=>e("update:modelValue",{...n.modelValue,enforceNumericCharacters:f})}),l=Et({get:()=>n.modelValue.enforceSpecialCharacters,set:f=>e("update:modelValue",{...n.modelValue,enforceSpecialCharacters:f})}),s=Et({get:()=>n.modelValue.enforceUpperLowerCase,set:f=>e("update:modelValue",{...n.modelValue,enforceUpperLowerCase:f})});return{__sfc:!0,props:n,emit:e,minLength:o,enforceHaveIBeenPwned:r,enforceNonCommonPassword:i,enforceNumericCharacters:a,enforceSpecialCharacters:l,enforceUpperLowerCase:s,t:qt,NcButton:da,NcCheckboxRadioSwitch:Fg,NcInputField:Tu,IconTrashbin:n_}}},r_="_heading_nsb3k_2",i_="_headingWrapper_nsb3k_7",a_="_hint_nsb3k_12",s_="_inputField_nsb3k_17",l_={heading:r_,headingWrapper:i_,hint:a_,inputField:s_};var c_=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{on:{submit:function(o){o.preventDefault()}}},[e("div",{class:t.$style.headingWrapper},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(t.heading)+" ")]),t.canRemove?e(n.NcButton,{attrs:{"aria-label":n.t("password_policy","Remove policy"),title:n.t("password_policy","Remove policy"),type:"tertiary"},on:{click:function(o){return t.$emit("remove")}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconTrashbin,{attrs:{size:20}})]},proxy:!0}],null,!1,3422420218)}):t._e()],1),e(n.NcInputField,{class:t.$style.inputField,attrs:{label:n.t("password_policy","Minimum password length"),type:"number",min:"0"},model:{value:n.minLength,callback:function(o){n.minLength=o},expression:"minLength"}}),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNonCommonPassword,type:"switch"},on:{"update:checked":function(o){n.enforceNonCommonPassword=o}}},[t._v(" "+t._s(n.t("password_policy","Forbid common passwords"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceUpperLowerCase,type:"switch"},on:{"update:checked":function(o){n.enforceUpperLowerCase=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce upper and lower case characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNumericCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceNumericCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce numeric characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceSpecialCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceSpecialCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce special characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":function(o){n.enforceHaveIBeenPwned=o}}},[t._v(" "+t._s(n.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),e("p",{class:t.$style.hint},[t._v(" "+t._s(n.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)},u_=[];const Cl={$style:l_};function d_(t){for(var e in Cl)this[e]=Cl[e]}var p_=Ge(o_,c_,u_,!1,d_);const f_=p_.exports,h_={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var m_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},v_=[],g_=Q(h_,m_,v_,!1,null,null);const Sl=g_.exports,__={name:"AlertDecagramIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var y_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-decagram-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},b_=[],w_=Q(__,y_,b_,!1,null,null);const $_=w_.exports,E_={name:"CheckboxMarkedCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var C_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},S_=[],x_=Q(E_,C_,S_,!1,null,null);const A_=x_.exports,T_={name:"InformationIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var k_=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon information-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},N_=[],O_=Q(T_,k_,N_,!1,null,null);const I_=O_.exports,P_={name:"NcNoteCard",props:{type:{type:String,default:"warning",validator:t=>["success","info","warning","error"].includes(t)},showAlert:{type:Boolean,default:!1},heading:{type:String,default:""},text:{type:String,default:""}},setup(){return{isLegacy32:Go}},computed:{shouldShowAlert(){return this.showAlert||this.type==="error"},icon(){switch(this.type){case"error":return $_;case"success":return A_;case"info":return I_;case"warning":return Sl;default:return Sl}}}};var R_=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notecard",class:{[`notecard--${t.type}`]:t.type,"notecard--legacy":t.isLegacy32},attrs:{role:t.shouldShowAlert?"alert":"note"}},[t._t("icon",function(){return[e(t.icon,{tag:"component",staticClass:"notecard__icon",class:{"notecard__icon--heading":t.heading},attrs:{"fill-color":"var(--note-theme)",size:20}})]}),e("div",[t.heading?e("p",{staticClass:"notecard__heading"},[t._v(" "+t._s(t.heading)+" ")]):t._e(),t._t("default",function(){return[e("p",{staticClass:"notecard__text"},[t._v(" "+t._s(t.text)+" ")])]})],2)],2)},L_=[],D_=Q(P_,R_,L_,!1,null,"4606150f");const F_=D_.exports,M_={__name:"ComplianceConfig",setup(t){const e=ri($i("password_policy","loginConfig")),n=ri($i("password_policy","loginConfig"));Ec(e,o,{deep:!0});function o(){for(const[r,i]of Object.entries(e.value)){let a=Math.max(i||0,0);a=Number.isNaN(a)?0:a,console.debug(a,i,n.value[r]),n.value[r]!==a&&(window.OCP.AppConfig.setValue("password_policy",r,JSON.stringify(a)),n.value[r]=a),e.value[r]!==a&&(e.value[r]=a)}}return{__sfc:!0,config:e,oldConfig:n,saveComplianceConfig:o,t:qt,NcInputField:Tu,NcNoteCard:F_}}},B_="_form_5u8co_2",z_="_heading_5u8co_8",H_="_inputField_5u8co_13",j_={form:B_,heading:z_,inputField:H_};var V_=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{class:t.$style.form,on:{submit:function(o){o.preventDefault()}}},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(n.t("password_policy","Login policies"))+" ")]),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Password history size"),"helper-text":n.t("password_policy","Number of passwords to keep (securely hashed) to prevent users from reusing previously used passwords."),min:"0",type:"number"},model:{value:n.config.historySize,callback:function(o){t.$set(n.config,"historySize",o)},expression:"config.historySize"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Maximum login attempts"),min:"0",type:"number","helper-text":n.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)")},model:{value:n.config.maximumLoginAttempts,callback:function(o){t.$set(n.config,"maximumLoginAttempts",o)},expression:"config.maximumLoginAttempts"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.maximumLoginAttempts>0,expression:"config.maximumLoginAttempts > 0"}],attrs:{heading:n.t("password_policy","Maximum login attempts"),text:n.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."),type:"info"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Number of days until user password expires"),min:"0",type:"number"},model:{value:n.config.expiration,callback:function(o){t.$set(n.config,"expiration",o)},expression:"config.expiration"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.expiration>0,expression:"config.expiration > 0"}],attrs:{heading:n.t("password_policy","Password expiration"),text:n.t("password_policy","Warning: enabling password expiration is nowadays considered a security risk by several security agencies."),type:"warning"}})],1)])},U_=[];const xl={$style:j_};function G_(t){for(var e in xl)this[e]=xl[e]}var W_=Ge(M_,V_,U_,!1,G_);const q_=W_.exports;q.util.warn;function Al(t){return typeof t=="function"?t():Kd(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function Ai(){return window._nc_focus_trap??=[],window._nc_focus_trap}function X_(){let t=[];return{pause(){t=[...Ai()];for(const e of t)e.pause()},unpause(){if(t.length===Ai().length)for(const e of t)e.unpause();t=[]}}}function K_(t,e={}){const n=X_();Ec(t,()=>{Al(e.disabled)||(Al(t)?n.pause():n.unpause())}),Ip(()=>{n.unpause()})}function ae(t){return t.split("-")[0]}function un(t){return t.split("-")[1]}function Jn(t){return["top","bottom"].includes(ae(t))?"x":"y"}function ha(t){return t==="y"?"height":"width"}function Tl(t){let{reference:e,floating:n,placement:o}=t;const r=e.x+e.width/2-n.width/2,i=e.y+e.height/2-n.height/2;let a;switch(ae(o)){case"top":a={x:r,y:e.y-n.height};break;case"bottom":a={x:r,y:e.y+e.height};break;case"right":a={x:e.x+e.width,y:i};break;case"left":a={x:e.x-n.width,y:i};break;default:a={x:e.x,y:e.y}}const l=Jn(o),s=ha(l);switch(un(o)){case"start":a[l]=a[l]-(e[s]/2-n[s]/2);break;case"end":a[l]=a[l]+(e[s]/2-n[s]/2);break}return a}const Y_=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n;let l=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:s,y:f}=Tl({...l,placement:o}),u=o,h={};for(let m=0;m({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t??{},{x:r,y:i,placement:a,rects:l,platform:s}=e;if(n==null)return{};const f=ku(o),u={x:r,y:i},h=ae(a),m=Jn(h),y=ha(m),S=await s.getDimensions({element:n}),w=m==="y"?"top":"left",x=m==="y"?"bottom":"right",I=l.reference[y]+l.reference[m]-u[m]-l.floating[y],T=u[m]-l.reference[m],L=await s.getOffsetParent({element:n}),F=L?m==="y"?L.clientHeight||0:L.clientWidth||0:0,Z=I/2-T/2,rt=f[w],X=F-S[y]-f[x],K=F/2-S[y]/2+Z,W=ki(rt,K,X);return{data:{[m]:W,centerOffset:K-W}}}}),ty={left:"right",right:"left",bottom:"top",top:"bottom"};function qo(t){return t.replace(/left|right|bottom|top/g,e=>ty[e])}function Nu(t,e){const n=un(t)==="start",o=Jn(t),r=ha(o);let i=o==="x"?n?"right":"left":n?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=qo(i)),{main:i,cross:qo(i)}}const ey={start:"end",end:"start"};function Ni(t){return t.replace(/start|end/g,e=>ey[e])}const ny=["top","right","bottom","left"],oy=ny.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function ry(t,e,n){return(t?[...n.filter(o=>un(o)===t),...n.filter(o=>un(o)!==t)]:n.filter(o=>ae(o)===o)).filter(o=>t?un(o)===t||(e?Ni(o)!==o:!1):!0)}const iy=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,r,i,a,l;const{x:s,y:f,rects:u,middlewareData:h,placement:m}=e,{alignment:y=null,allowedPlacements:S=oy,autoAlignment:w=!0,...x}=t;if((n=h.autoPlacement)!=null&&n.skip)return{};const I=ry(y,w,S),T=await ar(e,x),L=(o=(r=h.autoPlacement)==null?void 0:r.index)!=null?o:0,F=I[L],{main:Z,cross:rt}=Nu(F,u);if(m!==F)return{x:s,y:f,reset:{placement:I[0]}};const X=[T[ae(F)],T[Z],T[rt]],K=[...(i=(a=h.autoPlacement)==null?void 0:a.overflows)!=null?i:[],{placement:F,overflows:X}],W=I[L+1];if(W)return{data:{index:L+1,overflows:K},reset:{placement:W}};const it=K.slice().sort((d,p)=>d.overflows[0]-p.overflows[0]),lt=(l=it.find(d=>{let{overflows:p}=d;return p.every(g=>g<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:lt??it[0].placement}}}}};function ay(t){const e=qo(t);return[Ni(t),e,Ni(e)]}const sy=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l}=e;if((n=i.flip)!=null&&n.skip)return{};const{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",flipAlignment:m=!0,...y}=t,S=ae(r),w=u||(S===l||!m?[qo(l)]:ay(l)),x=[l,...w],I=await ar(e,y),T=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(s&&T.push(I[S]),f){const{main:X,cross:K}=Nu(r,a);T.push(I[X],I[K])}if(L=[...L,{placement:r,overflows:T}],!T.every(X=>X<=0)){var F,Z;const X=((F=(Z=i.flip)==null?void 0:Z.index)!=null?F:0)+1,K=x[X];if(K)return{data:{index:X,overflows:L},reset:{placement:K}};let W="bottom";switch(h){case"bestFit":{var rt;const it=(rt=L.slice().sort((lt,d)=>lt.overflows.filter(p=>p>0).reduce((p,g)=>p+g,0)-d.overflows.filter(p=>p>0).reduce((p,g)=>p+g,0))[0])==null?void 0:rt.placement;it&&(W=it);break}case"initialPlacement":W=l;break}return{data:{skip:!0},reset:{placement:W}}}return{}}}};function ly(t){let{placement:e,rects:n,value:o}=t;const r=ae(e),i=["left","top"].includes(r)?-1:1,a=typeof o=="function"?o({...n,placement:e}):o,{mainAxis:l,crossAxis:s}=typeof a=="number"?{mainAxis:a,crossAxis:0}:{mainAxis:0,crossAxis:0,...a};return Jn(r)==="x"?{x:s,y:l*i}:{x:l*i,y:s}}const cy=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(e){const{x:n,y:o,placement:r,rects:i}=e,a=ly({placement:r,rects:i,value:t});return{x:n+a.x,y:o+a.y,data:a}}}};function uy(t){return t==="x"?"y":"x"}const dy=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:x=>{let{x:I,y:T}=x;return{x:I,y:T}}},...s}=t,f={x:n,y:o},u=await ar(e,s),h=Jn(ae(r)),m=uy(h);let y=f[h],S=f[m];if(i){const x=h==="y"?"top":"left",I=h==="y"?"bottom":"right",T=y+u[x],L=y-u[I];y=ki(T,y,L)}if(a){const x=m==="y"?"top":"left",I=m==="y"?"bottom":"right",T=S+u[x],L=S-u[I];S=ki(T,S,L)}const w=l.fn({...e,[h]:y,[m]:S});return{...w,data:{x:w.x-n,y:w.y-o}}}}},py=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n;const{placement:o,rects:r,middlewareData:i}=e,{apply:a,...l}=t;if((n=i.size)!=null&&n.skip)return{};const s=await ar(e,l),f=ae(o),u=un(o)==="end";let h,m;f==="top"||f==="bottom"?(h=f,m=u?"left":"right"):(m=f,h=u?"top":"bottom");const y=Ie(s.left,0),S=Ie(s.right,0),w=Ie(s.top,0),x=Ie(s.bottom,0),I={height:r.floating.height-(["left","right"].includes(o)?2*(w!==0||x!==0?w+x:Ie(s.top,s.bottom)):s[h]),width:r.floating.width-(["top","bottom"].includes(o)?2*(y!==0||S!==0?y+S:Ie(s.left,s.right)):s[m])};return a?.({...I,...r}),{data:{skip:!0},reset:{rects:!0}}}}};function ma(t){return t?.toString()==="[object Window]"}function $e(t){if(t==null)return window;if(!ma(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function sr(t){return $e(t).getComputedStyle(t)}function re(t){return ma(t)?"":t?(t.nodeName||"").toLowerCase():""}function ie(t){return t instanceof $e(t).HTMLElement}function Xo(t){return t instanceof $e(t).Element}function fy(t){return t instanceof $e(t).Node}function Ou(t){const e=$e(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function lr(t){const{overflow:e,overflowX:n,overflowY:o}=sr(t);return/auto|scroll|overlay|hidden/.test(e+o+n)}function hy(t){return["table","td","th"].includes(re(t))}function Iu(t){const e=navigator.userAgent.toLowerCase().includes("firefox"),n=sr(t);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||e&&n.willChange==="filter"||e&&(n.filter?n.filter!=="none":!1)}const kl=Math.min,Mn=Math.max,Ko=Math.round;function hn(t,e){e===void 0&&(e=!1);const n=t.getBoundingClientRect();let o=1,r=1;return e&&ie(t)&&(o=t.offsetWidth>0&&Ko(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ko(n.height)/t.offsetHeight||1),{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function Ee(t){return((fy(t)?t.ownerDocument:t.document)||window.document).documentElement}function cr(t){return ma(t)?{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}:{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Pu(t){return hn(Ee(t)).left+cr(t).scrollLeft}function my(t){const e=hn(t);return Ko(e.width)!==t.offsetWidth||Ko(e.height)!==t.offsetHeight}function vy(t,e,n){const o=ie(e),r=Ee(e),i=hn(t,o&&my(e));let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((re(e)!=="body"||lr(r))&&(a=cr(e)),ie(e)){const s=hn(e,!0);l.x=s.x+e.clientLeft,l.y=s.y+e.clientTop}else r&&(l.x=Pu(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function ur(t){return re(t)==="html"?t:t.assignedSlot||t.parentNode||(Ou(t)?t.host:null)||Ee(t)}function Nl(t){return!ie(t)||getComputedStyle(t).position==="fixed"?null:t.offsetParent}function gy(t){let e=ur(t);for(;ie(e)&&!["html","body"].includes(re(e));){if(Iu(e))return e;e=e.parentNode}return null}function Oi(t){const e=$e(t);let n=Nl(t);for(;n&&hy(n)&&getComputedStyle(n).position==="static";)n=Nl(n);return n&&(re(n)==="html"||re(n)==="body"&&getComputedStyle(n).position==="static"&&!Iu(n))?e:n||gy(t)||e}function Ol(t){return{width:t.offsetWidth,height:t.offsetHeight}}function _y(t){let{rect:e,offsetParent:n,strategy:o}=t;const r=ie(n),i=Ee(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((re(n)!=="body"||lr(i))&&(a=cr(n)),ie(n))){const s=hn(n,!0);l.x=s.x+n.clientLeft,l.y=s.y+n.clientTop}return{...e,x:e.x-a.scrollLeft+l.x,y:e.y-a.scrollTop+l.y}}function yy(t){const e=$e(t),n=Ee(t),o=e.visualViewport;let r=n.clientWidth,i=n.clientHeight,a=0,l=0;return o&&(r=o.width,i=o.height,Math.abs(e.innerWidth/o.scale-o.width)<.01&&(a=o.offsetLeft,l=o.offsetTop)),{width:r,height:i,x:a,y:l}}function by(t){var e;const n=Ee(t),o=cr(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=Mn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Mn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+Pu(t);const s=-o.scrollTop;return sr(r||n).direction==="rtl"&&(l+=Mn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function Ru(t){return["html","body","#document"].includes(re(t))?t.ownerDocument.body:ie(t)&&lr(t)?t:Ru(ur(t))}function Yo(t,e){var n;e===void 0&&(e=[]);const o=Ru(t),r=o===((n=t.ownerDocument)==null?void 0:n.body),i=$e(o),a=r?[i].concat(i.visualViewport||[],lr(o)?o:[]):o,l=e.concat(a);return r?l:l.concat(Yo(ur(a)))}function wy(t,e){const n=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&Ou(n)){let o=e;do{if(o&&t===o)return!0;o=o.parentNode||o.host}while(o)}return!1}function $y(t){const e=hn(t),n=e.top+t.clientTop,o=e.left+t.clientLeft;return{top:n,left:o,x:o,y:n,right:o+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function Il(t,e){return e==="viewport"?Ti(yy(t)):Xo(e)?$y(e):Ti(by(Ee(t)))}function Ey(t){const e=Yo(ur(t)),n=["absolute","fixed"].includes(sr(t).position)&&ie(t)?Oi(t):t;return Xo(n)?e.filter(o=>Xo(o)&&wy(o,n)&&re(o)!=="body"):[]}function Cy(t){let{element:e,boundary:n,rootBoundary:o}=t;const r=[...n==="clippingParents"?Ey(e):[].concat(n),o],i=r[0],a=r.reduce((l,s)=>{const f=Il(e,s);return l.top=Mn(f.top,l.top),l.right=kl(f.right,l.right),l.bottom=kl(f.bottom,l.bottom),l.left=Mn(f.left,l.left),l},Il(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const Sy={getElementRects:t=>{let{reference:e,floating:n,strategy:o}=t;return{reference:vy(e,Oi(n),o),floating:{...Ol(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:t=>_y(t),getOffsetParent:t=>{let{element:e}=t;return Oi(e)},isElement:t=>Xo(t),getDocumentElement:t=>{let{element:e}=t;return Ee(e)},getClippingClientRect:t=>Cy(t),getDimensions:t=>{let{element:e}=t;return Ol(e)},getClientRects:t=>{let{element:e}=t;return e.getClientRects()}},xy=(t,e,n)=>Y_(t,e,{platform:Sy,...n});var Ay=Object.defineProperty,Ty=Object.defineProperties,ky=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertySymbols,Lu=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,Pl=(t,e,n)=>e in t?Ay(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,he=(t,e)=>{for(var n in e||(e={}))Lu.call(e,n)&&Pl(t,n,e[n]);if(Zo)for(var n of Zo(e))Du.call(e,n)&&Pl(t,n,e[n]);return t},dr=(t,e)=>Ty(t,ky(e)),Ny=(t,e)=>{var n={};for(var o in t)Lu.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Zo)for(var o of Zo(t))e.indexOf(o)<0&&Du.call(t,o)&&(n[o]=t[o]);return n};function Fu(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?Fu(t[n],e[n]):t[n]=e[n])}const Xt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function mn(t,e){let n=Xt.themes[t]||{},o;do o=n[e],typeof o>"u"?n.$extend?n=Xt.themes[n.$extend]||{}:(n=null,o=Xt[e]):n=null;while(n);return o}function Oy(t){const e=[t];let n=Xt.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return e.map(o=>`v-popper--theme-${o}`)}function Rl(t){const e=[t];let n=Xt.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return e}let je=!1;if(typeof window<"u"){je=!1;try{const t=Object.defineProperty({},"passive",{get(){je=!0}});window.addEventListener("test",null,t)}catch{}}let Mu=!1;typeof window<"u"&&typeof navigator<"u"&&(Mu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Bu=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),Ll={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Dl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Fl(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Yr(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Ft=[];let Ne=null;const Ml={};function Bl(t){let e=Ml[t];return e||(e=Ml[t]=[]),e}let Ii=function(){};typeof window<"u"&&(Ii=window.Element);function U(t){return function(){const e=this.$props;return mn(e.theme,t)}}const Zr="__floating-vue__popper";var zu=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:U("disabled")},positioningDisabled:{type:Boolean,default:U("positioningDisabled")},placement:{type:String,default:U("placement"),validator:t=>Bu.includes(t)},delay:{type:[String,Number,Object],default:U("delay")},distance:{type:[Number,String],default:U("distance")},skidding:{type:[Number,String],default:U("skidding")},triggers:{type:Array,default:U("triggers")},showTriggers:{type:[Array,Function],default:U("showTriggers")},hideTriggers:{type:[Array,Function],default:U("hideTriggers")},popperTriggers:{type:Array,default:U("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:U("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:U("popperHideTriggers")},container:{type:[String,Object,Ii,Boolean],default:U("container")},boundary:{type:[String,Ii],default:U("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:U("strategy")},autoHide:{type:[Boolean,Function],default:U("autoHide")},handleResize:{type:Boolean,default:U("handleResize")},instantMove:{type:Boolean,default:U("instantMove")},eagerMount:{type:Boolean,default:U("eagerMount")},popperClass:{type:[String,Array,Object],default:U("popperClass")},computeTransformOrigin:{type:Boolean,default:U("computeTransformOrigin")},autoMinSize:{type:Boolean,default:U("autoMinSize")},autoSize:{type:[Boolean,String],default:U("autoSize")},autoMaxSize:{type:Boolean,default:U("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:U("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:U("preventOverflow")},overflowPadding:{type:[Number,String],default:U("overflowPadding")},arrowPadding:{type:[Number,String],default:U("arrowPadding")},arrowOverflow:{type:Boolean,default:U("arrowOverflow")},flip:{type:Boolean,default:U("flip")},shift:{type:Boolean,default:U("shift")},shiftCrossAxis:{type:Boolean,default:U("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:U("noAutoFocus")}},provide(){return{[Zr]:{parentPopper:this}}},inject:{[Zr]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:dr(he({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var t;return(t=this[Zr])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:he(he({shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var o,r;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1,skipAiming:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var t;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(cy({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(iy({alignment:(t=this.placement.split("-")[1])!=null?t:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(dy({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(sy({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Q_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:a})=>{let l;const{centerOffset:s}=a.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(s)>i.reference.width/2:l=Math.abs(s)>i.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:a,middlewareData:l})=>{var s;if((s=l.autoSize)!=null&&s.skip)return{};let f,u;return a.startsWith("top")||a.startsWith("bottom")?f=i.reference.width:u=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=f!=null?`${f}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(py({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const o=await xy(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:he(he({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ne&&this.instantMove&&Ne.instantMove&&Ne!==this.parentPopper){Ne.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ne=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Yr(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Yo(this.$_referenceNode),...Yo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(o.left+n.offsetLeft),i=e.y+e.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,Fl(Ft,this),Ft.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Rl(this.theme)){const o=Bl(n);Fl(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ne===this&&(Ne=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=mn(this.theme,"disposeTimeout");e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Yr(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Ll,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Ll,this.popperTriggers,this.popperShowTriggers,t);const e=n=>o=>{o.usedByTooltip||this.hide({event:o,skipAiming:n})};this.$_registerTriggerListeners(this.$_targetNodes,Dl,this.triggers,this.hideTriggers,e(!1)),this.$_registerTriggerListeners([this.$_popperNode],Dl,this.popperTriggers,this.popperHideTriggers,e(!0))},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(o=>o.addEventListener(e,n,je?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,o,r){let i=n;o!=null&&(i=typeof o=="function"?o(i):o),i.forEach(a=>{const l=e[a];l&&this.$_registerEventListeners(t,l,r)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:r,handler:i}=n;!t||t===r?o.forEach(a=>a.removeEventListener(r,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const o=n.getAttribute(t);o&&(n.removeAttribute(t),n.setAttribute(e,o))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const o=t[n];o==null?e.removeAttribute(n):e.setAttribute(n,o)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$el.getBoundingClientRect();if(Bn>=t.left&&Bn<=t.right&&zn>=t.top&&zn<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Bn-de,o=zn-pe,r=e.left+e.width/2-de+(e.top+e.height/2)-pe+e.width+e.height,i=de+n*r,a=pe+o*r;return $o(de,pe,i,a,e.left,e.top,e.left,e.bottom)||$o(de,pe,i,a,e.left,e.top,e.right,e.top)||$o(de,pe,i,a,e.right,e.top,e.right,e.bottom)||$o(de,pe,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(Mu?(document.addEventListener("touchstart",zl,je?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Py,je?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",zl,!0),window.addEventListener("click",Iy,!0)),window.addEventListener("resize",Dy));function zl(t){for(let e=0;e=0;o--){const r=Ft[o];try{const i=r.$_containsGlobalTarget=Ry(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&Hl(r,i,t)){if(r.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let a=r.parentPopper;for(;a&&Hl(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,e),a=a.parentPopper}})}catch{}}}function Ry(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function Hl(t,e,n){return n.closeAllPopover||n.closePopover&&e||Ly(t,n)&&!e}function Ly(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function Dy(t){for(let e=0;e{de=Bn,pe=zn,Bn=t.clientX,zn=t.clientY},je?{passive:!0}:void 0);function $o(t,e,n,o,r,i,a,l){const s=((a-r)*(e-i)-(l-i)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e)),f=((n-t)*(e-i)-(o-e)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e));return s>=0&&s<=1&&f>=0&&f<=1}function Fy(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var o=t.indexOf("rv:");return parseInt(t.substring(o+3,t.indexOf(".",o)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}var Po;function Pi(){Pi.init||(Pi.init=!0,Po=Fy()!==-1)}var My={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;Pi(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Po&&this.$el.appendChild(e),e.data="about:blank",Po||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Po&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function By(t,e,n,o,r,i,a,l,s,f){var u=typeof n=="function"?n.options:n;return t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),u._scopeId=o,n}var zy=My,ju=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},Hy=[];ju._withStripped=!0;var jy=void 0,Vy="data-v-8859cc6c",Ri=By({render:ju,staticRenderFns:Hy},jy,zy,Vy);function Uy(t){t.component("resize-observer",Ri),t.component("ResizeObserver",Ri)}var Gy={version:"1.0.1",install:Uy},Eo=null;typeof window<"u"?Eo=window.Vue:typeof dn<"u"&&(Eo=dn.Vue),Eo&&Eo.use(Gy);var Vu={computed:{themeClass(){return Oy(this.theme)}}},Wy={name:"VPopperContent",components:{ResizeObserver:Ri},mixins:[Vu],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}},qy=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}],style:t.result?{position:t.result.strategy,transform:"translate3d("+Math.round(t.result.x)+"px,"+Math.round(t.result.y)+"px,0)"}:void 0,attrs:{id:t.popperId,"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0},on:{keyup:function(o){if(!o.type.indexOf("key")&&t._k(o.keyCode,"esc",27,o.key,["Esc","Escape"]))return null;t.autoHide&&t.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(o){t.autoHide&&t.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:t.result?{transformOrigin:t.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[t.mounted?[n("div",[t._t("default")],2),t.handleResize?n("ResizeObserver",{on:{notify:function(o){return t.$emit("resize",o)}}}):t._e()]:t._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])},Xy=[];function bn(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var f;if(r&&(f=r),f)if(s.functional){s._injectStyles=f;var u=s.render;s.render=function(m,y){return f.call(y),u(m,y)}}else{var h=s.beforeCreate;s.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:s}}const jl={};var Ky=bn(Wy,qy,Xy,!1,Yy);function Yy(t){for(let e in jl)this[e]=jl[e]}var Uu=(function(){return Ky.exports})(),va={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},Zy={name:"VPopperWrapper",components:{Popper:zu(),PopperContent:Uu},mixins:[va,Vu],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(t=>t!==this.$refs.popperContent.$el)}}},Jy=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"target-nodes":t.getTargetNodes,"reference-node":function(){return t.$refs.reference},"popper-node":function(){return t.$refs.popperContent.$el}},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,f=o.show,u=o.hide,h=o.handleResize,m=o.onResize,y=o.classes,S=o.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[t.themeClass,{"v-popper--shown":i}]},[t._t("default",null,{shown:i,show:f,hide:u}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":h,classes:y,result:S},on:{hide:u,resize:m}},[t._t("popper",null,{shown:i,hide:u})],2)],2)]}}],null,!0)},"Popper",t.$attrs,!1),t.$listeners))},Qy=[];const Vl={};var t0=bn(Zy,Jy,Qy,!1,e0);function e0(t){for(let e in Vl)this[e]=Vl[e]}var ga=(function(){return t0.exports})(),n0=dr(he({},ga),{name:"VDropdown",vPopperTheme:"dropdown"});let o0,r0;const Ul={};var i0=bn(n0,o0,r0,!1,a0);function a0(t){for(let e in Ul)this[e]=Ul[e]}var Li=(function(){return i0.exports})(),s0=dr(he({},ga),{name:"VMenu",vPopperTheme:"menu"});let l0,c0;const Gl={};var u0=bn(s0,l0,c0,!1,d0);function d0(t){for(let e in Gl)this[e]=Gl[e]}var Wl=(function(){return u0.exports})(),p0=dr(he({},ga),{name:"VTooltip",vPopperTheme:"tooltip"});let f0,h0;const ql={};var m0=bn(p0,f0,h0,!1,v0);function v0(t){for(let e in ql)this[e]=ql[e]}var Xl=(function(){return m0.exports})(),g0={name:"VTooltipDirective",components:{Popper:zu(),PopperContent:Uu},mixins:[va],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return mn(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return mn(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(t){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(e,o)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},_0=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"popper-node":function(){return t.$refs.popperContent.$el}},on:{"apply-show":t.onShow,"apply-hide":t.onHide},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,f=o.hide,u=o.handleResize,h=o.onResize,m=o.classes,y=o.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":t.loading},attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":u,classes:m,result:y},on:{hide:f,resize:h}},[t.html?n("div",{domProps:{innerHTML:t._s(t.finalContent)}}):n("div",{domProps:{textContent:t._s(t.finalContent)}})])]}}])},"Popper",t.$attrs,!1),t.$listeners))},y0=[];const Kl={};var b0=bn(g0,_0,y0,!1,w0);function w0(t){for(let e in Kl)this[e]=Kl[e]}var $0=(function(){return b0.exports})();const Gu="v-popper--has-tooltip";function E0(t,e){let n=t.placement;if(!n&&e)for(const o of Bu)e[o]&&(n=o);return n||(n=mn(t.theme||"tooltip","placement")),n}function Wu(t,e,n){let o;const r=typeof e;return r==="string"?o={content:e}:e&&r==="object"?o=e:o={content:!1},o.placement=E0(o,n),o.targetNodes=()=>[t],o.referenceNode=()=>t,o}function C0(t,e,n){const o=Wu(t,e,n),r=t.$_popper=new q({mixins:[va],data(){return{options:o}},render(a){const l=this.options,{theme:s,html:f,content:u,loadingContent:h}=l,m=Ny(l,["theme","html","content","loadingContent"]);return a($0,{props:{theme:s,html:f,content:u,loadingContent:h},attrs:m,ref:"popper"})},devtools:{hide:!0}}),i=document.createElement("div");return document.body.appendChild(i),r.$mount(i),t.classList&&t.classList.add(Gu),r}function qu(t){t.$_popper&&(t.$_popper.$destroy(),delete t.$_popper,delete t.$_popperOldShown),t.classList&&t.classList.remove(Gu)}function Yl(t,{value:e,oldValue:n,modifiers:o}){const r=Wu(t,e,o);if(!r.content||mn(r.theme||"tooltip","disabled"))qu(t);else{let i;t.$_popper?(i=t.$_popper,i.options=r):i=C0(t,e,o),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}var S0={bind:Yl,update:Yl,unbind(t){qu(t)}};function Zl(t){t.addEventListener("click",Xu),t.addEventListener("touchstart",Ku,je?{passive:!0}:!1)}function Jl(t){t.removeEventListener("click",Xu),t.removeEventListener("touchstart",Ku),t.removeEventListener("touchend",Yu),t.removeEventListener("touchcancel",Zu)}function Xu(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Ku(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",Yu),e.addEventListener("touchcancel",Zu)}}function Yu(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],o=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Zu(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}var x0={bind(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&Zl(t)},update(t,{value:e,oldValue:n,modifiers:o}){t.$_closePopoverModifiers=o,e!==n&&(typeof e>"u"||e?Zl(t):Jl(t))},unbind(t){Jl(t)}};const Ql=Xt,A0=Li;function T0(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,Fu(Xt,e),t.directive("tooltip",S0),t.directive("close-popper",x0),t.component("v-tooltip",Xl),t.component("VTooltip",Xl),t.component("v-dropdown",Li),t.component("VDropdown",Li),t.component("v-menu",Wl),t.component("VMenu",Wl))}const k0={version:"1.0.0-beta.19",install:T0,options:Xt};let Co=null;typeof window<"u"?Co=window.Vue:typeof dn<"u"&&(Co=dn.Vue),Co&&Co.use(k0);var Ju=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Jo=Ju.join(","),Qu=typeof Element>"u",Ve=Qu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qo=!Qu&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},tr=function(t,e){var n;e===void 0&&(e=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),r=o===""||o==="true",i=r||e&&t&&(typeof t.closest=="function"?t.closest("[inert]"):tr(t.parentNode));return i},N0=function(t){var e,n=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return n===""||n==="true"},td=function(t,e,n){if(tr(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Jo));return e&&Ve.call(t,Jo)&&o.unshift(t),o=o.filter(n),o},er=function(t,e,n){for(var o=[],r=Array.from(t);r.length;){var i=r.shift();if(!tr(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,s=er(l,!0,n);n.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{var f=Ve.call(i,Jo);f&&n.filter(i)&&(e||!t.includes(i))&&o.push(i);var u=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),h=!tr(u,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(u&&h){var m=er(u===!0?i.children:u.children,!0,n);n.flatten?o.push.apply(o,m):o.push({scopeParent:i,candidates:m})}else r.unshift.apply(r,i.children)}}return o},ed=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Re=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||N0(t))&&!ed(t)?0:t.tabIndex},O0=function(t,e){var n=Re(t);return n<0&&e&&!ed(t)?0:n},I0=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},nd=function(t){return t.tagName==="INPUT"},P0=function(t){return nd(t)&&t.type==="hidden"},R0=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return e},L0=function(t,e){for(var n=0;nsummary:first-of-type"),s=l?t.parentElement:t;if(Ve.call(s,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof o=="function"){for(var f=t;t;){var u=t.parentElement,h=Qo(t);if(u&&!u.shadowRoot&&o(u)===!0)return tc(t);t.assignedSlot?t=t.assignedSlot:!u&&h!==t.ownerDocument?t=h.host:t=u}t=f}if(B0(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return tc(t);return!1},H0=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var n=0;n=0)},od=function(t){var e=[],n=[];return t.forEach(function(o,r){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=O0(a,i),s=i?od(o.candidates):a;l===0?i?e.push.apply(e,s):e.push(a):n.push({documentOrder:r,tabIndex:l,item:o,isScope:i,content:s})}),n.sort(I0).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(e)},rd=function(t,e){e=e||{};var n;return e.getShadowRoot?n=er([t],e.includeContainer,{filter:Di.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:j0}):n=td(t,e.includeContainer,Di.bind(null,e)),od(n)},V0=function(t,e){e=e||{};var n;return e.getShadowRoot?n=er([t],e.includeContainer,{filter:nr.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):n=td(t,e.includeContainer,nr.bind(null,e)),n},Qe=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ve.call(t,Jo)===!1?!1:Di(e,t)},U0=Ju.concat("iframe:not([inert]):not([inert] *)").join(","),Jr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ve.call(t,U0)===!1?!1:nr(e,t)};function Fi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var s=n.next();return a=s.done,s},e:function(s){l=!0,i=s},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw i}}}}function W0(t,e,n){return(e=Z0(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function q0(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function oc(t){for(var e=1;e0?t[t.length-1]:null},activateTrap:function(t,e){var n=Zt.getActiveTrap(t);e!==n&&Zt.pauseTrap(t);var o=t.indexOf(e);o===-1||t.splice(o,1),t.push(e)},deactivateTrap:function(t,e){var n=t.indexOf(e);n!==-1&&t.splice(n,1),Zt.unpauseTrap(t)},pauseTrap:function(t){var e=Zt.getActiveTrap(t);e?._setPausedState(!0)},unpauseTrap:function(t){var e=Zt.getActiveTrap(t);e&&!e._isManuallyPaused()&&e._setPausedState(!1)}},J0=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Q0=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Hn=function(t){return t?.key==="Tab"||t?.keyCode===9},tb=function(t){return Hn(t)&&!t.shiftKey},eb=function(t){return Hn(t)&&t.shiftKey},rc=function(t){return setTimeout(t,0)},In=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:{},g=p.hasFallback,$=g===void 0?!1:g,E=p.params,N=E===void 0?[]:E,C=r[d];if(typeof C=="function"&&(C=C.apply(void 0,K0(N))),C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var k=C;if(typeof C=="string"){try{k=n.querySelector(C)}catch(O){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(O.message,'"'))}if(!k&&!$)throw new Error("`".concat(d,"` as selector refers to no known node"))}return k},u=function(){var d=f("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!Jr(d,r.tabbableOptions))if(s(n.activeElement)>=0)d=n.activeElement;else{var p=i.tabbableGroups[0],g=p&&p.firstTabbableNode;d=g||f("fallbackFocus")}else d===null&&(d=f("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},h=function(){if(i.containerGroups=i.containers.map(function(d){var p=rd(d,r.tabbableOptions),g=V0(d,r.tabbableOptions),$=p.length>0?p[0]:void 0,E=p.length>0?p[p.length-1]:void 0,N=g.find(function(O){return Qe(O)}),C=g.slice().reverse().find(function(O){return Qe(O)}),k=!!p.find(function(O){return Re(O)>0});return{container:d,tabbableNodes:p,focusableNodes:g,posTabIndexesFound:k,firstTabbableNode:$,lastTabbableNode:E,firstDomTabbableNode:N,lastDomTabbableNode:C,nextTabbableNode:function(O){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,H=p.indexOf(O);return H<0?R?g.slice(g.indexOf(O)+1).find(function(j){return Qe(j)}):g.slice(0,g.indexOf(O)).reverse().find(function(j){return Qe(j)}):p[H+(R?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function(d){var p=d.activeElement;if(p)return p.shadowRoot&&p.shadowRoot.activeElement!==null?m(p.shadowRoot):p},y=function(d){if(d!==!1&&d!==m(document)){if(!d||!d.focus){y(u());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,J0(d)&&d.select()}},S=function(d){var p=f("setReturnFocus",{params:[d]});return p||(p===!1?!1:d)},w=function(d){var p=d.target,g=d.event,$=d.isBackward,E=$===void 0?!1:$;p=p||So(g),h();var N=null;if(i.tabbableGroups.length>0){var C=s(p,g),k=C>=0?i.containerGroups[C]:void 0;if(C<0)E?N=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:N=i.tabbableGroups[0].firstTabbableNode;else if(E){var O=i.tabbableGroups.findIndex(function(At){var bt=At.firstTabbableNode;return p===bt});if(O<0&&(k.container===p||Jr(p,r.tabbableOptions)&&!Qe(p,r.tabbableOptions)&&!k.nextTabbableNode(p,!1))&&(O=C),O>=0){var R=O===0?i.tabbableGroups.length-1:O-1,H=i.tabbableGroups[R];N=Re(p)>=0?H.lastTabbableNode:H.lastDomTabbableNode}else Hn(g)||(N=k.nextTabbableNode(p,!1))}else{var j=i.tabbableGroups.findIndex(function(At){var bt=At.lastTabbableNode;return p===bt});if(j<0&&(k.container===p||Jr(p,r.tabbableOptions)&&!Qe(p,r.tabbableOptions)&&!k.nextTabbableNode(p))&&(j=C),j>=0){var B=j===i.tabbableGroups.length-1?0:j+1,ft=i.tabbableGroups[B];N=Re(p)>=0?ft.firstTabbableNode:ft.firstDomTabbableNode}else Hn(g)||(N=k.nextTabbableNode(p))}}else N=f("fallbackFocus");return N},x=function(d){var p=So(d);if(!(s(p,d)>=0)){if(In(r.clickOutsideDeactivates,d)){a.deactivate({returnFocus:r.returnFocusOnDeactivate});return}In(r.allowOutsideClick,d)||d.preventDefault()}},I=function(d){var p=So(d),g=s(p,d)>=0;if(g||p instanceof Document)g&&(i.mostRecentlyFocusedNode=p);else{d.stopImmediatePropagation();var $,E=!0;if(i.mostRecentlyFocusedNode)if(Re(i.mostRecentlyFocusedNode)>0){var N=s(i.mostRecentlyFocusedNode),C=i.containerGroups[N].tabbableNodes;if(C.length>0){var k=C.findIndex(function(O){return O===i.mostRecentlyFocusedNode});k>=0&&(r.isKeyForward(i.recentNavEvent)?k+1=0&&($=C[k-1],E=!1))}}else i.containerGroups.some(function(O){return O.tabbableNodes.some(function(R){return Re(R)>0})})||(E=!1);else E=!1;E&&($=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y($||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},T=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var g=w({event:d,isBackward:p});g&&(Hn(d)&&d.preventDefault(),y(g))},L=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&T(d,r.isKeyBackward(d))},F=function(d){Q0(d)&&In(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),a.deactivate())},Z=function(d){var p=So(d);s(p,d)>=0||In(r.clickOutsideDeactivates,d)||In(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},rt=function(){if(i.active)return Zt.activateTrap(o,a),i.delayInitialFocusTimer=r.delayInitialFocus?rc(function(){y(u())}):y(u()),n.addEventListener("focusin",I,!0),n.addEventListener("mousedown",x,{capture:!0,passive:!1}),n.addEventListener("touchstart",x,{capture:!0,passive:!1}),n.addEventListener("click",Z,{capture:!0,passive:!1}),n.addEventListener("keydown",L,{capture:!0,passive:!1}),n.addEventListener("keydown",F),a},X=function(d){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var p=new Set,g=new Set,$=ec(d),E;try{for($.s();!(E=$.n()).done;){var N=E.value;p.add(N);for(var C=typeof ShadowRoot<"u"&&N.getRootNode()instanceof ShadowRoot,k=N;k;){p.add(k);var O=k.parentElement,R=[];O?R=O.children:!O&&C&&(R=k.getRootNode().children,O=k.getRootNode().host,C=typeof ShadowRoot<"u"&&O.getRootNode()instanceof ShadowRoot);var H=ec(R),j;try{for(H.s();!(j=H.n()).done;){var B=j.value;g.add(B)}}catch(ft){H.e(ft)}finally{H.f()}k=O}}}catch(ft){$.e(ft)}finally{$.f()}p.forEach(function(ft){g.delete(ft)}),i.adjacentElements=g},K=function(){if(i.active)return n.removeEventListener("focusin",I,!0),n.removeEventListener("mousedown",x,!0),n.removeEventListener("touchstart",x,!0),n.removeEventListener("click",Z,!0),n.removeEventListener("keydown",L,!0),n.removeEventListener("keydown",F),a},W=function(d){var p=d.some(function(g){var $=Array.from(g.removedNodes);return $.some(function(E){return E===i.mostRecentlyFocusedNode})});p&&y(u())},it=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(W):void 0,lt=function(){it&&(it.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){it.observe(d,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var p=l(d,"onActivate"),g=l(d,"onPostActivate"),$=l(d,"checkCanFocusTrap"),E=Zt.getActiveTrap(o),N=!1;if(E&&!E.paused){var C;(C=E._setSubtreeIsolation)===null||C===void 0||C.call(E,!1),N=!0}try{$||h(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=m(n),p?.();var k=function(){$&&h(),rt(),lt(),r.isolateSubtrees&&a._setSubtreeIsolation(!0),g?.()};if($)return $(i.containers.concat()).then(k,k),this;k()}catch(R){if(E===Zt.getActiveTrap(o)&&N){var O;(O=E._setSubtreeIsolation)===null||O===void 0||O.call(E,!0)}throw R}return this},deactivate:function(d){if(!i.active)return this;var p=oc({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),K(),i.active=!1,i.paused=!1,lt(),Zt.deactivateTrap(o,a);var g=l(p,"onDeactivate"),$=l(p,"onPostDeactivate"),E=l(p,"checkCanReturnFocus"),N=l(p,"returnFocus","returnFocusOnDeactivate");g?.();var C=function(){rc(function(){N&&y(S(i.nodeFocusedBeforeActivation)),$?.()})};return N&&E?(E(S(i.nodeFocusedBeforeActivation)).then(C,C),this):(C(),this)},pause:function(d){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,d)):this},unpause:function(d){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,d)):this},updateContainerElements:function(d){var p=[].concat(d).filter(Boolean);return i.containers=p.map(function(g){return typeof g=="string"?n.querySelector(g):g}),r.isolateSubtrees&&X(i.containers),i.active&&(h(),r.isolateSubtrees&&!i.paused&&a._setSubtreeIsolation(!0)),lt(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(d,p){if(i.paused===d)return this;if(i.paused=d,d){var g=l(p,"onPause"),$=l(p,"onPostPause");g?.(),K(),lt(),a._setSubtreeIsolation(!1),$?.()}else{var E=l(p,"onUnpause"),N=l(p,"onPostUnpause");E?.(),a._setSubtreeIsolation(!0),h(),rt(),lt(),N?.()}return this}},_setSubtreeIsolation:{value:function(d){r.isolateSubtrees&&i.adjacentElements.forEach(function(p){var g;d?r.isolateSubtrees==="aria-hidden"?((p.ariaHidden==="true"||((g=p.getAttribute("aria-hidden"))===null||g===void 0?void 0:g.toLowerCase())==="true")&&i.alreadySilent.add(p),p.setAttribute("aria-hidden","true")):((p.inert||p.hasAttribute("inert"))&&i.alreadySilent.add(p),p.setAttribute("inert",!0)):i.alreadySilent.has(p)||(r.isolateSubtrees==="aria-hidden"?p.removeAttribute("aria-hidden"):p.removeAttribute("inert"))})}}}),a.updateContainerElements(t),a};const rb={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$scopedSlots.default?.({attrs:this.triggerAttrs})}},ib=null,ab=null;var sb=Q(rb,ib,ab,!1,null,null);const lb=sb.exports,cb="_ncPopover_2xQGD",ub={"material-design-icon":"_material-design-icon_S8GUm",ncPopover:cb},ad="nc-popover-8";Ql.themes[ad]=structuredClone(Ql.themes.dropdown);const db={name:"NcPopover",components:{Dropdown:A0,NcPopoverTriggerProvider:lb},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:t=>["menu","listbox","tree","grid","dialog","true"].includes(t)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},noFocusTrap:{type:Boolean,default:!1},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},noAutoReturnFocus:{type:Boolean,default:!1}},emits:["after-show","after-hide","update:shown"],setup(){return{THEME:ad}},data(){return{internalShown:this.shown}},watch:{shown(t){this.internalShown=t,this.internalShown&&this.checkTriggerA11y()},internalShown(t){this.$emit("update:shown",t)}},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){if(window.OC?.debug){const t=this.getPopoverTriggerButtonElement();(!t||!t.hasAttributes("aria-expanded","aria-haspopup"))&&q.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example.")}},removeFloatingVueAriaDescribedBy(){const t=this.getPopoverTriggerElement().querySelectorAll("[data-popper-shown]");for(const e of t)e.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerElement(){return this.$refs.popover.$refs.reference},getPopoverTriggerButtonElement(){const t=this.getPopoverTriggerElement();return t&&rd(t)[0]},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap||!this.focusTrap)return;const t=this.getPopoverContentElement();t.tabIndex=-1,t&&(this.$focusTrap=ob(t,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus||!this.noAutoReturnFocus&&this.getPopoverTriggerButtonElement(),trapStack:Ai(),fallBackFocus:t}),this.$focusTrap.activate())},clearFocusTrap(t={}){try{this.$focusTrap?.deactivate(t),this.$focusTrap=null}catch(e){ua.warn("Could not clear focus trap",{error:e})}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(t){t.type==="keydown"&&t.key==="Escape"&&t.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-show")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-hide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var pb=function(){var t=this,e=t._self._c;return e("Dropdown",t._g(t._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":[t.$style.ncPopover,t.popoverBaseClass],theme:t.THEME,shown:t.internalShown},on:{"update:shown":function(n){t.internalShown=n},"apply-show":t.afterShow,"apply-hide":t.afterHide},scopedSlots:t._u([{key:"popper",fn:function(n){return[t._t("default",null,null,n)]}}],null,!0)},"Dropdown",t.$attrs,!1),t.$listeners),[e("NcPopoverTriggerProvider",{attrs:{shown:t.internalShown,"popup-role":t.popupRole},scopedSlots:t._u([{key:"default",fn:function(n){return[t._t("trigger",null,null,n)]}}],null,!0)})],1)},fb=[];const ic={$style:ub};function hb(t){for(var e in ic)this[e]=ic[e]}var mb=Q(db,pb,fb,!1,hb,null);const vb=mb.exports,gb={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var _b=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},yb=[],bb=Q(gb,_b,yb,!1,null,null);const wb=bb.exports;ca(Vm);const $b=".focusable",Eb={name:"NcActions",components:{NcButton:da,NcPopover:vb},provide(){return{"NcActions:isSemanticMenu":Et(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(t){return["dialog","menu","expanded","tooltip"].includes(t)}},primary:{type:Boolean,default:!1},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:la("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("#content-vue")??document.querySelector("body")},container:{type:[Boolean,String,Object,Element],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(){const t=`menu-${Dn()}`,e=`trigger-${t}`;return{randomId:t,triggerRandomId:e}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return(this.type??this.variant)||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId,id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId}}}[this.actionsMenuSemanticType]}},watch:{open(t){t!==this.opened&&(this.opened=t)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){K_(()=>this.opened,{disabled:()=>this.config.withFocusTrap})},methods:{getActionName(t){return t?.componentOptions?.Ctor?.extendOptions?.name??t?.componentOptions?.tag},isValidSingleAction(t){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(t))},isIconUrl(t){try{return!!new URL(t,t.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(t=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:t}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,t&&this.$refs.triggerButton?.$el.focus())},onClosed(){this.$emit("closed")},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover(),this.$emit("opened")})},resizePopover(){const t=this.$refs.menu.closest(".v-popper__inner"),e=this.$refs.menu.clientHeight,n=this.getMaxMenuHeight();if(e>n){let o=0,r=0;for(const i of this.$refs.menuList.children){if(o+i.clientHeight/2>n){t.style.height=`${o-r/2}px`;break}r=i.clientHeight,o+=r}}else t.style.height="fit-content"},getMaxMenuHeight(){const{top:t,bottom:e}=this.$refs.triggerButton?.$el.getBoundingClientRect()??{top:0,bottom:0},{top:n,bottom:o}=this.boundariesElement?.getBoundingClientRect()??{top:0,bottom:window.innerHeight};return Math.max(Math.min(t-84,t-n),Math.min(window.innerHeight-e-34,o-e))},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll($b)},onKeydown(t){if(t.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}t.preventDefault();const e=this.getFocusableMenuItemElements(),n=[...e].indexOf(document.activeElement);if(n===-1)return;const o=t.shiftKey?n-1:n+1;(o<0||o===e.length)&&this.closeMenu(!0),this.focusIndex=o,this.focusAction();return}this.config.withArrowNavigation&&(t.key==="ArrowUp"&&this.focusPreviousAction(t),t.key==="ArrowDown"&&this.focusNextAction(t),t.key==="PageUp"&&this.focusFirstAction(t),t.key==="PageDown"&&this.focusLastAction(t)),this.handleEscapePressed(t)},onTriggerKeydown(t){t.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(t){t.key==="Escape"&&(this.closeMenu(),t.preventDefault())},removeCurrentActive(){const t=this.$refs.menu.querySelector("li.active");t&&t.classList.remove("active")},focusAction(){const t=this.getFocusableMenuItemElements()[this.focusIndex];if(t){this.removeCurrentActive();const e=t.closest("li.action");t.focus(),e&&e.classList.add("active")}},focusPreviousAction(t){this.opened&&(this.focusIndex===0?this.focusLastAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(t){if(this.opened){const e=this.getFocusableMenuItemElements().length-1;this.focusIndex===e?this.focusFirstAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(t){if(this.opened){this.preventIfEvent(t);const e=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=e>-1?e:0,this.focusAction()}},focusLastAction(t){this.opened&&(this.preventIfEvent(t),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(t){t&&(t.preventDefault(),t.stopPropagation())},onFocus(t){this.$emit("focus",t)},onBlur(t){this.$emit("blur",t),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(t){this.$emit("click",t)}},render(t){const e=(this.$slots.default||[]).filter(l=>this.getActionName(l));if(e.length===0)return;let n=e.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(q.util.warn("Specifying forceMenu will ignore any inline actions rendering."),n=[]);const o=n.slice(0,this.inline),r=e.filter(l=>!o.includes(l));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const l=["NcActionInput","NcActionTextEditable"],s=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],f=["NcActionLink","NcActionRouter"],u=r.some(y=>l.includes(this.getActionName(y))),h=r.some(y=>s.includes(this.getActionName(y))),m=r.some(y=>f.includes(this.getActionName(y)));u?this.actionsMenuSemanticType="dialog":h?this.actionsMenuSemanticType="menu":m?this.actionsMenuSemanticType="expanded":e.filter(y=>this.getActionName(y).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const i=l=>{const s=l?.componentOptions?.propsData?.icon,f=l?.data?.scopedSlots?.icon()?.[0]??(this.isIconUrl(s)?t("img",{class:"action-item__menutoggle__icon",attrs:{src:s,alt:""}}):t("span",{class:["icon",s]})),u=l?.data?.attrs||{},h=l?.componentOptions?.listeners?.click,m=l?.componentOptions?.children?.[0]?.text?.trim?.(),y=l?.componentOptions?.propsData?.ariaLabel||m,S=this.forceName?m:"";let w=l?.componentOptions?.propsData?.title;this.forceName||w||(w=m);const x={...l?.componentOptions?.propsData??{}},I=["submit","reset"].includes(x.type)?x.modelValue:"button";return delete x.modelValue,delete x.type,t("NcButton",{class:["action-item action-item--single",l?.data?.staticClass,l?.data?.class],attrs:{...u,"aria-label":y,title:w},ref:l?.data?.ref,props:{...x,disabled:this.disabled||l?.componentOptions?.propsData?.disabled,pressed:l?.componentOptions?.propsData?.modelValue,size:this.size,type:I,variant:(this.type??this.variant)||(S?"secondary":"tertiary")},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":l?.componentOptions?.listeners?.["update:modelValue"]??(()=>{}),...!!h&&{click:T=>{h&&h(T)}}}},[t("template",{slot:"icon"},[f]),S])},a=l=>{const s=this.$slots.icon?.[0]||(this.defaultIcon?t("span",{class:["icon",this.defaultIcon]}):t(wb,{props:{size:20}}));return t("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,noAutoReturnFocus:!this.withFocusTrap,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpened,hide:this.closeMenu,"after-hide":this.onClosed}},[t("NcButton",{class:"action-item__menutoggle",props:{size:this.size,variant:this.triggerButtonVariant,disabled:this.disabled},slot:"trigger",ref:"triggerButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[t("template",{slot:"icon"},[s]),this.menuName]),t("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown},ref:"menu"},[t("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[l])])])};return e.length===1&&n.length===1&&!this.forceMenu?i(e[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),o.length>0&&this.inline>0?t("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...o.map(i),r.length>0?t("div",{class:["action-item",{"action-item--open":this.opened}]},[a(r)]):null]):t("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[a(e)]))}},Cb=null,Sb=null;var xb=Q(Eb,Cb,Sb,!1,null,"38a26e61");const Ab=xb.exports;var Tb="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",kb="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";const Nb={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}};function Ob(t,e){let n=t.$parent;for(;n;){if(n.$options.name===e)return n;n=n.$parent}}const Ib={mixins:[Nb],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(t){if(this.$emit("click",t),this.closeAfterClick){const e=Ob(this,"NcActions");e&&e.closeMenu&&e.closeMenu(!1)}}}},Pb={name:"NcActionButton",components:{NcIconSvgWrapper:xu},mixins:[Ib],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:Tb,mdiChevronRight:kb}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var Rb=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({staticClass:"action-button button-vue",class:{"action-button--active":t.isChecked,focusable:t.isFocusable},attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e("span",{staticClass:"action-button__longtext-wrapper"},[t.name?e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]):t._e(),t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(" "+t._s(t.text)+" ")]),t.description?e("span",{staticClass:"action-button__description",domProps:{textContent:t._s(t.description)}}):t._e()]),t.isMenu?e("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:t.mdiChevronRight}}):t.isChecked?e("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:t.mdiCheck}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},Lb=[],Db=Q(Pb,Rb,Lb,!1,null,"ab2ff78b");const Fb=Db.exports,Mb={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bb=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},zb=[],Hb=Ge(Mb,Bb,zb,!1,null);const jb=Hb.exports,Vb={name:"ShieldCheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ub=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon shield-check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Gb=[],Wb=Ge(Vb,Ub,Gb,!1,null);const qb=Wb.exports,Xb={__name:"AddPolicyButton",props:{policies:null},emits:["add-policy"],setup(t){const e=t,n=["account","sharing"],o=Et(()=>n.filter(r=>!(r in e.policies)));return{__sfc:!0,props:e,allPasswordContexts:n,unusedPasswordContexts:o,t:qt,PolicyHeadings:vu,NcActions:Ab,NcActionButton:Fb,IconPlus:jb,IconShieldCheck:qb}}},Kb="_container_10xyb_2",Yb={container:Kb};var Zb=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{class:t.$style.container},[e(n.NcActions,{attrs:{"menu-name":n.t("password_policy","Add policy set"),"force-menu":""},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconPlus,{attrs:{size:20}})]},proxy:!0}])},t._l(n.unusedPasswordContexts,function(o){return e(n.NcActionButton,{key:o,attrs:{"close-after-click":""},on:{click:function(r){return t.$emit("add-policy",o)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconShieldCheck,{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(n.PolicyHeadings[o])+" ")])}),1)],1)},Jb=[];const ac={$style:Yb};function Qb(t){for(var e in ac)this[e]=ac[e]}var t1=Ge(Xb,Zb,Jb,!1,Qb);const e1=t1.exports,n1={__name:"AdminSettings",setup(t){const e=ri(Jh().password_policy.policies),n=Et(()=>Object.keys(e.value));function o(a,l){console.debug(`Update password policy ${a}`,l);for(const[s,f]of Object.entries(l))if(f!==e.value[a]?.[s]){const u=typeof f=="boolean"?f?"1":"0":String(f);window.OCP.AppConfig.setValue("password_policy",a==="account"?s:`${s}_${a}`,u)}q.set(e.value,a,l)}function r(a){if(a in e.value){console.warn(`Password context "${a}" already registered`);return}const l=[...Object.keys(e.value),a];window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),q.set(e.value,a,{...Fm})}function i(a){console.debug(`Remove password policy ${a}`);const l=Object.keys(e.value).filter(s=>s!==a);window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),q.delete(e.value,a)}return{__sfc:!0,policies:e,configuredPolicies:n,onUpdatePolicy:o,onAddPolicy:r,onRemovePolicy:i,t:qt,PolicyHeadings:vu,NcSettingsSection:ev,PasswordPolicy:f_,ComplianceConfig:q_,AddPolicyButton:e1}}},o1="_policyWrapper_18ut1_2",r1={policyWrapper:o1};var i1=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcSettingsSection,{attrs:{name:n.t("password_policy","Password policy")}},[e(n.ComplianceConfig),e("div",{class:t.$style.policyWrapper},[t._l(n.configuredPolicies,function(o){return e(n.PasswordPolicy,{key:o,attrs:{"can-remove":o!=="account",heading:n.configuredPolicies.length===1?n.t("password_policy","General password policies"):n.PolicyHeadings[o],"model-value":n.policies[o]},on:{"update:modelValue":function(r){return n.onUpdatePolicy(o,r)},remove:function(r){return n.onRemovePolicy(o)}}})}),n.configuredPolicies.lengtht(c1)}); //# sourceMappingURL=password_policy-settings.mjs.map diff --git a/js/password_policy-settings.mjs.license b/js/password_policy-settings.mjs.license index a75789a7..ea385f12 100644 --- a/js/password_policy-settings.mjs.license +++ b/js/password_policy-settings.mjs.license @@ -49,7 +49,7 @@ This file is generated from multiple sources. Included packages: - version: 3.0.3 - license: GPL-3.0-or-later - @nextcloud/vue - - version: 8.39.0 + - version: 8.41.0 - license: AGPL-3.0-or-later - @vitejs/plugin-vue2 - version: 2.3.4 @@ -58,7 +58,7 @@ This file is generated from multiple sources. Included packages: - version: 11.0.3 - license: MIT - dompurify - - version: 3.4.11 + - version: 3.4.14 - license: (MPL-2.0 OR Apache-2.0) - escape-html - version: 1.0.3 diff --git a/js/password_policy-settings.mjs.map b/js/password_policy-settings.mjs.map index 9e830ae1..aff03050 100644 --- a/js/password_policy-settings.mjs.map +++ b/js/password_policy-settings.mjs.map @@ -1 +1 @@ -{"version":3,"file":"password_policy-settings.mjs","sources":["../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","../node_modules/vue/dist/vue.runtime.esm.js","../node_modules/@nextcloud/initial-state/dist/index.js","../node_modules/@nextcloud/capabilities/dist/index.mjs","../node_modules/dompurify/dist/purify.es.mjs","../node_modules/escape-html/index.js","../node_modules/@nextcloud/l10n/dist/chunks/translation-DoG5ZELJ.mjs","../src/constants.ts","../node_modules/@nextcloud/vue/node_modules/@nextcloud/initial-state/dist/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs","../node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/vue/dist/chunks/_l10n-DVz9Qdzk.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSection-Dz_b9rcq.mjs","../node_modules/@nextcloud/vue/dist/chunks/legacy-DV3mGZdh.mjs","../node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js","../node_modules/@nextcloud/event-bus/node_modules/semver/internal/debug.js","../node_modules/@nextcloud/event-bus/node_modules/semver/internal/constants.js","../node_modules/@nextcloud/event-bus/node_modules/semver/internal/re.js","../node_modules/@nextcloud/event-bus/node_modules/semver/internal/parse-options.js","../node_modules/@nextcloud/event-bus/node_modules/semver/internal/identifiers.js","../node_modules/@nextcloud/event-bus/node_modules/semver/classes/semver.js","../node_modules/@nextcloud/event-bus/node_modules/semver/functions/major.js","../node_modules/@nextcloud/event-bus/node_modules/semver/functions/parse.js","../node_modules/@nextcloud/event-bus/node_modules/semver/functions/valid.js","../node_modules/@nextcloud/event-bus/dist/index.mjs","../node_modules/@nextcloud/browser-storage/dist/ScopedStorage.js","../node_modules/@nextcloud/browser-storage/dist/StorageBuilder.js","../node_modules/@nextcloud/browser-storage/dist/index.js","../node_modules/@nextcloud/auth/dist/index.mjs","../node_modules/@nextcloud/logger/dist/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/logger-D3RVzcfQ.mjs","../node_modules/@nextcloud/vue/dist/chunks/useNcFormBox-Djlh582y.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcButton-CCWEL9Ci.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcIconSvgWrapper-Bui9PhAS.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcIconToggleSwitch-0NTw7i-t.mjs","../node_modules/@nextcloud/vue/dist/Components/NcLoadingIcon.mjs","../node_modules/@nextcloud/vue/dist/chunks/useModelMigration-EhAWvqDD.mjs","../node_modules/@nextcloud/vue/dist/chunks/GenRandomId-F5ebeBB_.mjs","../node_modules/@nextcloud/vue/dist/chunks/useNcRadioGroup-D6llQmAl.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch-D4IV4zWy.mjs","../node_modules/@nextcloud/vue/dist/chunks/AlertCircleOutline-DBxbepLy.mjs","../node_modules/@nextcloud/vue/dist/chunks/Check-BkThHPH7.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcInputField-i4Z8nb4b.mjs","../node_modules/vue-material-design-icons/TrashCan.vue","../src/components/PasswordPolicy.vue","../node_modules/@nextcloud/vue/dist/Components/NcNoteCard.mjs","../src/components/ComplianceConfig.vue","../node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/shared/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/focusTrap-HJQ4pqHV.mjs","../node_modules/@nextcloud/vue/dist/chunks/useTrapStackControl-BnLfCgGU.mjs","../node_modules/floating-vue/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","../node_modules/floating-vue/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js","../node_modules/floating-vue/dist/floating-vue.es.js","../node_modules/tabbable/dist/index.esm.js","../node_modules/focus-trap/dist/focus-trap.esm.js","../node_modules/@nextcloud/vue/dist/chunks/NcPopover-UAg26Qdd.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActions-DbPerbGE.mjs","../node_modules/@nextcloud/vue/dist/chunks/mdi-DkJglNiS.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionGlobal-DqVa7c7G.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionText-BMig9Egt.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActionButton-K4jUGMlW.mjs","../node_modules/vue-material-design-icons/Plus.vue","../node_modules/vue-material-design-icons/ShieldCheck.vue","../src/components/AddPolicyButton.vue","../src/AdminSettings.vue","../src/settings.ts"],"sourcesContent":["const global = globalThis || void 0 || self;\n\nexport { global as default, global };\n//# sourceMappingURL=index.js.map\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, replacer, 2)\n : String(val);\n}\nfunction replacer(_key, val) {\n // avoid circular deps from v3\n if (val && val.__v_isRef) {\n return val.value;\n }\n return val;\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock, observeEvenIfShallow) {\n if (observeEvenIfShallow === void 0) { observeEvenIfShallow = false; }\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = shallow ? val && val.__ob__ : observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = shallow ? newVal && newVal.__ob__ : observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n var res = invokeWithErrorHandling(fn, null, args, instance, type);\n if (deep && res && res.__ob__)\n res.__ob__.dep.depend();\n return res;\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n s.__ob__.dep.depend();\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.